This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello experts!
We are doing USB DFU flashing.
Once we changed EMMC switch then we are able to see the below logs.
Anything we missing here ? looks like tried with own build filesystem and TI-prebuild filesystem.
U-Boot SPL 2021.01-g3983bffabc (Dec 02 2022 - 00:58:20 +0000)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.5.3--v08.05.03 (Chill Capybar')
SPL initial stack usage: 13424 bytes
Trying to boot from MMC1
Loading Environment from MMC... OK
init_env from device 9 not supported!
Starting ATF on ARM64 core...
NOTICE: BL31: v2.7(release):v2.7.0-359-g1309c6c805-dirty
NOTICE: BL31: Built : 11:40:36, Sep 8 2022
U-Boot SPL 2021.01-g3983bffabc (Dec 02 2022 - 00:58:20 +0000)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.5.3--v08.05.03 (Chill Capybar')
Trying to boot from MMC1
U-Boot 2021.01-g3983bffabc (Dec 02 2022 - 00:58:20 +0000)
SoC: AM62X SR1.0 GP
Model: Texas Instruments AM625 SK
EEPROM not available at 0x50, trying to read at 0x51
Board: AM62-SKEVM rev E3
DRAM: 2 GiB
MMC: mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2
Loading Environment from MMC... OK
In: serial@2800000
Out: serial@2800000
Err: serial@2800000
Net: eth0: ethernet@8000000port@1
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0(part 0) is current device
SD/MMC found on device 0
** Unrecognized filesystem type **
** Unrecognized filesystem type **
** Unrecognized filesystem type **
** Unrecognized filesystem type **
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
Bad Linux ARM64 Image magic!
=>
Let me know if anything we missed here.
Thanks,
Suraj.
Hello,
A few questions about your setup. Where did you flash the u-boot binaries and where did you flash the rootfs. What commands did you use?
AM62x can boot from eMMC 'boot' partitions or the user partition.
regards,
Judith
For flashing the rootfs:
rootfs is written to the user partition. The user partition is first required to be formatted as a ext4 file system and then the rootfs has to be written. You could boot to Linux kernel and write rootfs to user partition after formatting it to ext4. Kernel image and DT are expected to be present in the /boot folder of rootfs.
Here is an example: