TDA4VM
boot flow : SBL(tiboot3) --> BL31.bin --> u-boot-spl.bin --> u-boot.img
1. About one boot failure in a hundred times
2. success log and failed log
success log
NOTICE: BL31: v2.4(release):07.03.00.005-dirty
NOTICE: BL31: Built : 00:15:40, Apr 10 2021
ERROR: GTC_CNTFID0 is 0! Assuming 200000000 Hz. Fix Bootloader
U-Boot SPL 2020.01-dirty (May 24 2022 - 11:56:02 +0800)
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
Trying to boot from MMC1
U-Boot 2020.01-tda4hozonpdcu8g (Aug 29 2022 - 12:47:43 +0000)
SoC: J721E SR2.0
Model: Texas Instruments K3 J721E SoC
Board: Hirain-TDA4 rev V1.1
DRAM: 8 GiB
Flash: 64 MiB
MMC: sdhci@4f80000: 0, sdhci@4fb0000: 1
Press key-code to abort autoboot in 2 seconds
13 bytes read in 1 ms (12.7 KiB/s)
13 bytes written
RstCounter is error[set default 0]
17 bytes written
20 bytes read in 1 ms (19.5 KiB/s)
PartitionStartCfg is B
14 bytes read in 1 ms (13.7 KiB/s)
RollBackCfg is 1
16 bytes read in 0 ms
RstThreshhold is bigger
switch to partitions #0, OK
mmc0(part 0) is current device
Core 1 is already in use. No rproc commands work
Core 2 is already in use. No rproc commands work
5261624 bytes read in 38 ms (132 MiB/s)
Load Remote Processor 2 with data@addr=0x82000000 5261624 bytes: Success!
2045920 bytes read in 16 ms (121.9 MiB/s)
Load Remote Processor 3 with data@addr=0x82000000 2045920 bytes: Success!
157516 bytes read in 3 ms (50.1 MiB/s)
Load Remote Processor 4 with data@addr=0x82000000 157516 bytes: Success!
157516 bytes read in 2 ms (75.1 MiB/s)
Load Remote Processor 5 with data@addr=0x82000000 157516 bytes: Success!
2795900 bytes read in 20 ms (133.3 MiB/s)
Load Remote Processor 6 with data@addr=0x82000000 2795900 bytes: Success!
2795900 bytes read in 21 ms (127 MiB/s)
Load Remote Processor 7 with data@addr=0x82000000 2795900 bytes: Success!
12946280 bytes read in 89 ms (138.7 MiB/s)
Load Remote Processor 8 with data@addr=0x82000000 12946280 bytes: Success!
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
7 bytes read in 0 ms
10073204 bytes read in 55 ms (174.7 MiB/s)
failed log
NOTICE: BL31: v2.4(release):07.03.00.005-dirty
NOTICE: BL31: Built : 00:15:40, Apr 10 2021
ERROR: GTC_CNTFID0 is 0! Assuming 200000000 Hz. Fix Bootloader
3. the "U-Boot SPL 2020.01-dirty (May 24 2022 - 11:56:02 +0800)" log miss when boot failed , I want to know if this missing LOG is the content of the u-boot-spl.bin program, And where can I see the source code for u-boot-spl.bin