
Hi Peng,
Am Di., 14. Juni 2022 um 03:46 Uhr schrieb Peng Fan (OSS) peng.fan@oss.nxp.com:
在 2022/6/14 3:49, Heiko Thiery 写道:
Am Mo., 13. Juni 2022 um 21:43 Uhr schrieb Heiko Thiery heiko.thiery@gmail.com:
Hi,
Am Mo., 13. Juni 2022 um 21:28 Uhr schrieb Fabio Estevam festevam@gmail.com:
Hi Heiko,
On Mon, Jun 13, 2022 at 4:16 PM Heiko Thiery heiko.thiery@gmail.com wrote:
Can anyone confirm the behavior?
imx8mn ddr4 evk prints the SPL part just fine.
Take a look at arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi .
It passes:
&uart2 { u-boot,dm-spl; };
&pinctrl_uart2 { u-boot,dm-spl; };
Are you doing the same for the imx8mn ddr3 u-boot dtsi?
Indeed these are missing. Now I see the whole output from U-Boot but the output from SPL is still missing. When enabloing SPL_DM_SERIAL the board does not start.
I now did include the whole "imx8mn-ddr4-evk-u-boot.dtsi" like it is done in "imx8mn-evk-u-boot.dtsi". Then it works.
make sure preload_console_init is called after spl_early_init or spl_init, not before.
The board init code is used from imx8mn_evk [1]. So the init sequence seems to be correct.
[1] https://source.denx.de/u-boot/u-boot/-/blob/master/board/freescale/imx8mn_ev...
-- Heiko