Hello,
We have a custom board based on the imx8mn-ddr3l-evk SOM, except it uses DDR4 instead of DDR3L. We have been able to create a custom BSP (modify uboot & imxboot) and successfully boot Linux based on past imx BSPs, with the latest version being on LF5.15.71_2.2.0 (uboot v2022.04). However, we just attempted to update our BSP to LF6.1.55_2.2.0 (uboot v2023.04), and we are getting the error below when trying to load the generated yocto image using UUU. The full output is attached.
We believe the SPL is not loading, and we don't think it is a DDR init issue. We do not get any output on the UART console, and the PMIC rails voltages are not being configured, which is one of the SPL functions that is called before the DDR init function. We put multiple console messages at different stages within spl.c and are getting nothing. We know the board is okay cause we are able to boot our latest image compiled based on LF5.15.71_2.2.0.
The board files (<machine>.conf, <machine>_defconf, <machine>.dts, spl.c, etc.) in this BSP are very similar to the old working BSP with few changes introduced to match updates introduced to imx8mn_evk board files. We tried multiple configurations and still got nothing out. We basically have the following questions:
Thank you.
Hi @moose
Please refer new BSP to port board files(this is very important),some configurations maybe changed between Uboot2022 and Uboot2023. There are two reasons that may cause this issue:
(1)Some configurations about USB download in Uboot are nor correct and this cause SPL can't be loaded by USB.
(2)SPL configurations issue,please check your porting steps.
@Zhiming_Liu, please answer questions 1-3. Copied here again for reference:
Q1: Yes, these conf files has been tested on corresponding board.
Q2 :You can use Jlink
Q3:Jlink is for load SPL to ocram ,not for debugging ROM events, i don't think you need get ROM events.You load SPL to ocram, then ROM will run from that address and see serial log from SPL.