i.MX8MM-EVK Boot failure

Peng Fan peng.fan at nxp.com
Wed Dec 11 02:48:34 CET 2019


> Subject: i.MX8MM-EVK Boot failure
> 
> I am trying to run the latest master
> 
> 4b19b89ca4a866b7baa642533e6dbd67cd832d27
> with the clock patches applied for 8mm, but I am getting a boot failure when I
> follow the instructions in the README, which are also a bit wrong.  (the
> firmware versions don't match, and the ./firmware command is missing the
> trailing '.bin', but it's trivial.)
> 
> What comes out of the kit with DEBUG enabled is:
> 
> (bunch of stuff deleted)
> 
> [PMU Major message = 0x000000fe]
> [PMU Major message = 0x00000007]
> Training PASS
> DDRINFO: ddrphy config done
> DDRINFO:ddrphy calibration done
> DDRINFO: ddrmix config done
> >>SPL: board_init_r()
> using memory lx-lx for malloc()
> spl_init
> Normal Boot
> Trying to boot from MMC1
> common/dlmalloc.c:792: do_check_inuse_chunk: Assertion `inuse(p)' failed.
> resetting ...
> 
> The above sequence repeats again and again.  I didn't put all the junk into
> the log because it looked like everything seemed OK until the dlmalloc failure
> at the end.  If someone has any suggestions, I'd like to try the 8mm-evk with
> a modern U-Boot.

What you modified? It boots well with Tom's tree.

U-Boot SPL 2020.01-rc4-00208-g520f955902 (Dec 11 2019 - 10:03:52 +0800)
DDRINFO: start DRAM init
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from MMC1

U-Boot SPL 2020.01-rc4-00208-g520f955902 (Dec 11 2019 - 10:05:20 +0800)
DDRINFO: start DRAM init
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from MMC1


U-Boot 2020.01-rc4-00208-g520f955902 (Dec 11 2019 - 10:05:20 +0800)

CPU:   Freescale i.MX8MMQ rev1.0 at 1200 MHz
Reset cause: POR
Model: FSL i.MX8MM EVK board
DRAM:  2 GiB
MMC:   FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... OK
In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet at 30be0000
Hit any key to stop autoboot:  0


Thanks,
Peng.

> 
> thank you,
> 
> 
> adam


More information about the U-Boot mailing list