imx8mn SPL serial output does not work after powerup

Peng Fan (OSS) peng.fan at oss.nxp.com
Tue Jun 14 03:45:56 CEST 2022



在 2022/6/14 3:49, Heiko Thiery 写道:
> Am Mo., 13. Juni 2022 um 21:43 Uhr schrieb Heiko Thiery
> <heiko.thiery at gmail.com>:
>> Hi,
>>
>> Am Mo., 13. Juni 2022 um 21:28 Uhr schrieb Fabio Estevam <festevam at gmail.com>:
>>> Hi Heiko,
>>>
>>> On Mon, Jun 13, 2022 at 4:16 PM Heiko Thiery <heiko.thiery at 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.

Regards,
Peng.

>
>> --
>> Heiko



More information about the U-Boot mailing list