Hi Nicolas,

On 4/4/21 7:56 PM, Giulio Benetti wrote:
Would you have any idea what is going on?

I've just entered debugging and two things came out:
1) in board/freescale/imxrt-1020-evk/imxrt1020-evk.c when calling
spl_dram_init() there is some printf() inside that gets called, but that
happens before calling preloader_console_init() that set serial up, so
this is the reason why there is no output at all.

Can you please try to apply this patch [1] to check if uart starts to work and giving you this message [2]?

[1]: https://patchwork.ozlabs.org/project/uboot/patch/20210404182135.1243077-1-giulio.bene...@benettiengineering.com/
[2]: ```
U-Boot SPL 2021.04-rc5-00518-ga0da06d2f8-dirty (Apr 04 2021 - 19:49:47 +0200)
Could not initialize timer (err -19)
     ```

Thank you
--
Giulio Benetti
Benetti Engineering sas

2) I've completely ignored(wrongly) having a timer and at that time
u-boot allowed it getting a tick-count always at 0, so every delay
called return immediatly with 0. This is not possible anymore and I need
to finish writing gpt-timer driver I was writing.

So please let me finish that gpt-driver timer and I'll send patches to
fix imxrt1020/50-evk.

I really appreciate your help, sorry to bother you, but I'm breaking my
mind thinking why this doesn't run on my EVK.

Many thanks.

Best regards
and happy easter! :-)


Reply via email to