
On 5/8/20 4:56 AM, Fabio Estevam wrote:
Hi Marek,
On Thu, May 7, 2020 at 10:40 PM Marek Vasut marex@denx.de wrote:
Disable tiny printf in SPL, because that's really broken with dm_dump_all(), run dm_dump_all() just after power_init_board() in board/freescale/imx8m{p,q}_evk/spl.c and compare the results. There is likely gonna be a missing driver, my bet would still be on the clock.
That's a good suggestion. Yes, the clock drivers are missing for i.MX8MP.
Here is the comparison against a i.MX8MM EVK: https://pastebin.com/raw/XVc6AAvr
I will activate them on SPL tomorrow.
Great, thanks.
Also, I noticed that i.MX8MM EVK has the following watchdog issues on master:
U-Boot SPL 2020.07-rc1-00387-g67887903af (May 07 2020 - 23:49:27 -0300) Normal Boot WDT: Started without servicing (60s timeout) Trying to boot from MMC1
U-Boot 2020.07-rc1-00387-g67887903af (May 07 2020 - 23:49:27 -0300)
CPU: Freescale i.MX8MMQ rev1.0 at 1200 MHz Reset cause: POR Model: FSL i.MX8MM EVK board DRAM: 2 GiB WDT: Started without servicing (60s timeout) MMC: FSL_SDHC: 1, FSL_SDHC: 2 Loading Environment from MMC... OK In: serial Out: serial Err: serial Net: Warning: ethernet@30be0000 using MAC address from ROM eth0: ethernet@30be0000 Hit any key to stop autoboot: 0 u-boot=>
It reboots after staying 60s in the U-Boot prompt.
Enable CONFIG_WATCHDOG in your U-Boot config, that will enable WDT servicing.