imx-oei: use git repository and drop local patches
Remove the local ccimx95 patch series from imx-oei bbappend and fetch the DEY-specific changes directly from the Digi fork. https://onedigi.atlassian.net/browse/DEL-10009 Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
3f4a8a410c
commit
fe54927861
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -1,56 +0,0 @@
|
|||
From: Isaac Hermida <isaac.hermida@digi.com>
|
||||
Date: Mon, 15 Sep 2025 11:38:55 +0200
|
||||
Subject: [PATCH] ccimx95: configure console on LPUART6
|
||||
|
||||
Upstream-Status: Inappropriate [DEY specific]
|
||||
|
||||
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
|
||||
---
|
||||
boards/ccimx95/config_board.h | 2 +-
|
||||
boards/ccimx95/pin_mux.c | 7 +++++++
|
||||
devices/MIMX95/oei/soc_clock.c | 2 ++
|
||||
3 files changed, 10 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/boards/ccimx95/config_board.h b/boards/ccimx95/config_board.h
|
||||
index 3095ebf1d8ce..ec97626a2a28 100644
|
||||
--- a/boards/ccimx95/config_board.h
|
||||
+++ b/boards/ccimx95/config_board.h
|
||||
@@ -52,7 +52,7 @@
|
||||
/* Defines */
|
||||
|
||||
/*! Config for UART instance */
|
||||
-#define BOARD_DEBUG_UART_INSTANCE 2U
|
||||
+#define BOARD_DEBUG_UART_INSTANCE 6U
|
||||
/*! Config for UART baudrate */
|
||||
#define BOARD_DEBUG_UART_BAUDRATE 115200U
|
||||
|
||||
diff --git a/boards/ccimx95/pin_mux.c b/boards/ccimx95/pin_mux.c
|
||||
index a8c15513b578..3cb33909f740 100644
|
||||
--- a/boards/ccimx95/pin_mux.c
|
||||
+++ b/boards/ccimx95/pin_mux.c
|
||||
@@ -29,5 +29,12 @@ void BOARD_InitPins(void)
|
||||
|
||||
IOMUXC_SetPinMux(IOMUXC_PAD_UART2_TXD__LPUART2_TX, 0);
|
||||
IOMUXC_SetPinConfig(IOMUXC_PAD_UART2_TXD__LPUART2_TX, IOMUXC_PAD_DSE(0xFU));
|
||||
+#elif (BOARD_DEBUG_UART_INSTANCE == 6U)
|
||||
+ /* Configure LPUART 6 */
|
||||
+ IOMUXC_SetPinMux(IOMUXC_PAD_GPIO_IO05__LPUART6_RX, 0);
|
||||
+ IOMUXC_SetPinConfig(IOMUXC_PAD_GPIO_IO05__LPUART6_RX, IOMUXC_PAD_PD(1U));
|
||||
+
|
||||
+ IOMUXC_SetPinMux(IOMUXC_PAD_GPIO_IO04__LPUART6_TX, 0);
|
||||
+ IOMUXC_SetPinConfig(IOMUXC_PAD_GPIO_IO04__LPUART6_TX, IOMUXC_PAD_DSE(0xFU));
|
||||
#endif
|
||||
}
|
||||
diff --git a/devices/MIMX95/oei/soc_clock.c b/devices/MIMX95/oei/soc_clock.c
|
||||
index 17493b08e1b8..c1f5cecfa9b6 100644
|
||||
--- a/devices/MIMX95/oei/soc_clock.c
|
||||
+++ b/devices/MIMX95/oei/soc_clock.c
|
||||
@@ -25,6 +25,8 @@ static struct clk_root_cfg clk_root_cfgs[] = {
|
||||
{ CLOCK_ROOT_LPUART1, CLOCK_SRC_OSC24M, 1}, /* 24MHz */
|
||||
#elif (BOARD_DEBUG_UART_INSTANCE == 2)
|
||||
{ CLOCK_ROOT_LPUART2, CLOCK_SRC_OSC24M, 1}, /* 24MHz */
|
||||
+#elif (BOARD_DEBUG_UART_INSTANCE == 6)
|
||||
+ { CLOCK_ROOT_LPUART6, CLOCK_SRC_OSC24M, 1}, /* 24MHz */
|
||||
#endif
|
||||
#endif
|
||||
};
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,37 +0,0 @@
|
|||
From: Hector Palacios <hector.palacios@digi.com>
|
||||
Date: Wed, 14 Jan 2026 17:11:28 +0100
|
||||
Subject: [PATCH] ccimx95: configure console on LPUART1
|
||||
|
||||
On version 2 of the SOM, the console has been changed
|
||||
to LPUART1.
|
||||
|
||||
Upstream-Status: Inappropriate [DEY specific]
|
||||
|
||||
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
|
||||
|
||||
https://onedigi.atlassian.net/browse/DEL-9915
|
||||
---
|
||||
boards/ccimx95/config_board.h | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/boards/ccimx95/config_board.h b/boards/ccimx95/config_board.h
|
||||
index ec97626a2a28..e666575ae6e8 100644
|
||||
--- a/boards/ccimx95/config_board.h
|
||||
+++ b/boards/ccimx95/config_board.h
|
||||
@@ -2,6 +2,7 @@
|
||||
** ###################################################################
|
||||
**
|
||||
** Copyright 2023-2024 NXP
|
||||
+** Copyright 2025-2026 Digi International Inc.
|
||||
**
|
||||
** Redistribution and use in source and binary forms, with or without modification,
|
||||
** are permitted provided that the following conditions are met:
|
||||
@@ -52,7 +53,7 @@
|
||||
/* Defines */
|
||||
|
||||
/*! Config for UART instance */
|
||||
-#define BOARD_DEBUG_UART_INSTANCE 6U
|
||||
+#define BOARD_DEBUG_UART_INSTANCE 1U
|
||||
/*! Config for UART baudrate */
|
||||
#define BOARD_DEBUG_UART_BAUDRATE 115200U
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,16 +1,12 @@
|
|||
# Copyright (C) 2025,2026 Digi International Inc.
|
||||
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:"
|
||||
# Select internal or Github imx-oei repo
|
||||
IMX_OEI_URI_STASH = "${DIGI_MTK_GIT}/emp/imx-oei.git;protocol=ssh"
|
||||
IMX_OEI_URI_GITHUB = "${DIGI_GITHUB_GIT}/imx-oei.git;protocol=https"
|
||||
IMX_OEI_SRC:dey = "${@oe.utils.conditional('DIGI_INTERNAL_GIT', '1', '${IMX_OEI_URI_STASH}', '${IMX_OEI_URI_GITHUB}', d)}"
|
||||
|
||||
SRC_URI:append:dey = " \
|
||||
file://0001-boards-ccimx95-add-platform-as-a-clone-of-mx95lp5.patch \
|
||||
file://0002-ddr-add-DDR-configuration-file-for-ccimx95.patch \
|
||||
file://0003-ccimx95-configure-console-on-LPUART6.patch \
|
||||
file://0004-ccimx95-add-DDR-configuration-file-for-ccimx95-B0-si.patch \
|
||||
file://0005-ccimx95-configure-console-on-LPUART1.patch \
|
||||
file://0006-ccimx95-add-DDR-configuration-file-for-2GB-mem.patch \
|
||||
"
|
||||
# NXP's 'lf-6.6.52_2.2.2' release
|
||||
SRCREV = "49bfaa93e9d1fe213866bcb9507927a59a9ede5a"
|
||||
SRCBRANCH:dey = "dey/scarthgap/lf-6.6.52-2.2.2"
|
||||
# NXP's 'lf-6.6.52_2.2.2' release + patches
|
||||
SRCREV:dey = "0a1fbc5ce9c4bed08d0add95c911749e56a7d57a"
|
||||
|
||||
OEI_DEBUG:dey = "1"
|
||||
|
|
|
|||
Loading…
Reference in New Issue