I am working on bring up a new custom i.MX8M board.
Using uuu tool, trying to download flash.bin bootloader image ,
Before writing flash.bin to eMMC card , the board makes an arm64 Fault handler messages like below .
Can you inform me where uboot code throws the abort exception ?
Error: ethernet@30be0000 address not set.
eth-1: ethernet@30be0000
Fastboot: Normal
Boot from USB for mfgtools
*** Warning - Use default environment for mfgtools
, using default environment
Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else booti ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot 0; fi;
Hit any key to stop autoboot: 0
## Checking Image at 43800000 ...
Unknown image format!
Run fastboot ...
dev_get_parent_platdata: null device
"Synchronous Abort" handler, esr 0x96000004
elr: 000000004023b780 lr : 000000004023b77c (reloc)
elr: 00000000fff5b780 lr : 00000000fff5b77c
x0 : d503201fd503201f x1 : 00000000308600b4
x2 : 00000000fff449f8 x3 : 0000000000000001
x4 : 0000000000000020 x5 : 0000000000000000
x6 : d503201fd503201f x7 : 0000000000000008
x8 : 0000000000000008 x9 : 0000000000000002
x10: 0000000000000044 x11: 0000000000000010
x12: 0000000000000000 x13: 0000000000000004
x14: 00000000ff919f28 x15: 0000000000000021
x16: 00000000fff61270 x17: 0000000000000000
x18: 00000000ff91fd68 x19: 0000000000000000
x20: 0000000000000001 x21: 00000000ff919aef
x22: 0000000000000000 x23: 000000000000001d
x24: 0000000000000002 x25: 0000000000000000
x26: 0000000000000000 x27: 0000000000000000
x28: 00000000ff9286f0 x29: 00000000ff919a20
Resetting CPU ...
resetting ...
Working normally..
## Checking Image at 43800000 ...
Unknown image format!
Run fastboot ...
Detect USB boot. Will enter fastboot mode!
flash target is MMC:1
MMC: no card present
MMC card init failed!
MMC: no card present
** Block device MMC 1 not supported
已解决! 转到解答。
Hi. igorpadykov
This problem was related to USB 3.0 PHY.
I disabled usb 3.0 TCPC function from u-boot menuconfig
Thanks
Hi jhpark_vine
"Abort" handler may be due to memory errors, so for new custom i.MX8M board
recommended first to run ddr test and update image as described in its documentation
Best regards
igor