Skip to content

Wip/bhahn/6.18.20 2.0.0 phy initial#11

Open
BHahn42618 wants to merge 9 commits into
6.18.20-2.0.0-phyfrom
WIP/bhahn/6.18.20-2.0.0-phy_initial
Open

Wip/bhahn/6.18.20 2.0.0 phy initial#11
BHahn42618 wants to merge 9 commits into
6.18.20-2.0.0-phyfrom
WIP/bhahn/6.18.20-2.0.0-phy_initial

Conversation

@BHahn42618

Copy link
Copy Markdown
Collaborator

Forwardport patches from 6.12.34-2.1.0-phy branch for initial support.
Split the initial support commit. The first commit now is only a copy of mx95lp5 board and the second commit does the changes to the board needed for libra similar to imx-sm commit. This makes future forwardporting much easier.

This is only a copy of mx95lp5. No changes made so far.

Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
@BHahn42618 BHahn42618 requested a review from ymoog June 24, 2026 12:47
Comment thread boards/mx95libra/ddr/lpddr5_timing.c Outdated
BHahn42618 and others added 6 commits June 26, 2026 16:35
Add changes needed for initial support for imx95libra.
This includes latest 8GB RAM timings. Set board as default in Makefile.

(forwardported from commit 3115113)
(forwardported from commit 0e66435)
Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
Modify README to fit iMX95 Libra board.

(cherry-picked from commit e5f00a9)
Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
ignore build directory and compilation database.

Signed-off-by: Yannic Moog <y.moog@phytec.de>
(cherry-picked from commit 6d3144b)
Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
Add ccache to example CROSS_COMPILE

Signed-off-by: Yannic Moog <y.moog@phytec.de>
(forwardported from commit 1f811bb)
Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
Without the DEBUG option there is no output from OEI, as NXP disables
all printf globally when DEBUG option is not set. Even non DEBUG
messages do not get printed then. Do not disable printf globally, so non
DEBUG messages are still printed.
Note: printf in tcm oei does not work at the moment.

Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
(forwardported from commit 996be58)
Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
Make B0 the default silicon revision. We will base our imx95 release on
this and will use the B0 silicon revision not the A0/A1.

Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
(cherry picked from commit 22e056d)
Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
@BHahn42618 BHahn42618 force-pushed the WIP/bhahn/6.18.20-2.0.0-phy_initial branch from 59af72d to a42fdb6 Compare June 26, 2026 14:36
@BHahn42618 BHahn42618 requested review from jremmet and ymoog and removed request for jremmet June 26, 2026 14:38
@BHahn42618 BHahn42618 marked this pull request as draft June 29, 2026 07:53
Comment thread boards/mx95libra/pin_mux.c Outdated
Comment thread boards/mx95libra/board.c Outdated
@BHahn42618 BHahn42618 marked this pull request as ready for review June 29, 2026 11:02
Remove code for the unused debug UART. Libra can only use LPUART2 as
debug UART.

Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
Remove code in #if 0 as it is never compiled. Also remove the variable
and type conversion, as it is only used once.

Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
@BHahn42618 BHahn42618 requested a review from ymoog July 1, 2026 08:27
IOMUXC_SetPinMux(IOMUXC_PAD_UART1_TXD__LPUART1_TX, 0);
IOMUXC_SetPinConfig(IOMUXC_PAD_UART1_TXD__LPUART1_TX, IOMUXC_PAD_DSE(0xFU));
#elif (BOARD_DEBUG_UART_INSTANCE == 2U)
#if (BOARD_DEBUG_UART_INSTANCE == 2U)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the #if condition. LPUART2 should always be muxed.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why? This is pin muxing for LPUART2. For our board this is currently always applied, as BOARD_DEBUG_UART_INSTANCE is set to 2U for our board. If someone would change that, this pinmuxing should not be applied.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is bad enough to remove the pinmuxing for LPUART1. Our customer has the same relationship to us as we have to NXP. NXP uses LPUART1 for us, we decided to use LPUART2. We have to change some code for that to work, but NXP does not "lay stones in our way". The code is "nicely prepped" by NXP. Why should we now go ahead and actively remove the option to use LPUART1 for our customer. This does not make any sense. This is bad for us, as it will give us merge conflicts when NXP decides to change something in this code. And it will make our customer angry at us, because he will have more work to do, if he decides for any reason he wants or needs to use LPUART1 here (Same as we do in regard to NXP). This code does not hurt anyone and also does not make it harder to read. It is well structured and easy to understand, so I do not see any reason at all to remove it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants