[U-Boot] [PATCH 0/1] i.MX8QM ROM 7720 a1 board won't boot

Oliver Graute oliver.graute at kococonnector.com
Mon Aug 19 10:57:03 UTC 2019


On 16/08/19, Oliver Graute wrote:
> I'am currently working on the following patch to get the imx8qm-rom7720-a1
> board working with recent u-boot v2019.07. Unfortunaly I get no output on my
> serial line.
> 
> I'am not sure if something in my patch is just missing or if my composition of
> "SCFW + ATF + uboot" which is necessary for this imx8qm board, is not working
> the right way.
> 
> Perhaps somebody can guide me in the right direction to debug this further.
> 
> Currently I'am applying the patch and building u-boot this way:
> 
> $ export ATF_LOAD_ADDR=0x80000000
> $ export BL33_LOAD_ADDR=0x80020000
> $ make imx8qm_rom7720_a1_4G_defconfig
> $ make flash.bin
> $ dd if=u-boot.itb of=flash.bin bs=512 seek=854
> $ sudo dd if=flash.bin of=/dev/sd[x] bs=1k seek=32 conv=fsync
> 
> Then I put the SD card into the board and power it on. But no output ony my
> serial line.

ok I got this working by using the u-boot.bin

$ make u-boot.bin

and put it into the imx-mkimage repo from here:

https://source.codeaurora.org/external/imx/imx-mkimage

to create the full bootstream with scfw + atf + u-boot.

I thought that I could create the full bootsteam directly in u-boot repo
with:

> $ make flash.bin

as seen for other imx8 boards. Perhaps that is possible too but I don't
got it working that way.

U-Boot 2019.07-00001-g5854ff8d0e (Aug 19 2019 - 11:12:49 +0200)

CPU:   NXP i.MX8QM RevB A53 at 1200 MHz

Model: Advantech iMX8QM Qseven series
Board: ROM-7720-A1 4GB
Build: SCFW 65afe5f6
Boot:  SD2
DRAM:  3.9 GiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 2
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial at 5a060000
Out:   serial at 5a060000
Err:   serial at 5a060000
Net:
Error: ethernet at 5b040000 address not set.
eth-1: ethernet at 5b040000
Error: ethernet at 5b040000 address not set.
Can't find FEC0 clk rate: -22
Could not get PHY for FEC1: addr 1
, eth-1: ethernet at 5b050000
Hit any key to stop autoboot:  0

Best regards,

Oliver


More information about the U-Boot mailing list