Boot time out while reading eMMC

Hello everyone,

I’m having this timeout error after booting BBAI-64:

U-Boot SPL 2023.04-ti-gf9b966c67473 (Jun 10 2024 - 06:13:20 +0000)
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
Timeout during frequency handshake
### ERROR ### Please RESET the board ###

After this error my BBAI-64 stop booting from the SDCard and it gets stuck at “Starting kernel …”. Below you will find the complete boot log:

U-Boot SPL 2023.04-ti-gf9b966c67473 (Jun 10 2024 - 06:13:20 +0000)
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
Timeout during frequency handshake
### ERROR ### Please RESET the board ###

U-Boot SPL 2021.01-gea96725b (Feb 16 2023 - 17:13:47 +0000)
Model: BeagleBoard.org BeagleBone AI-64 R5
Board: BBONEAI-64-B0- rev B0
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.9.1--v2021.09a (Terrific Lla')
Trying to boot from MMC1
init_env from device 17 not supported!
Starting ATF on ARM64 core...

NOTICE:  BL31: v2.5(release):0588523
NOTICE:  BL31: Built : 17:13:47, Feb 16 2023

U-Boot SPL 2021.01-gea96725b (Feb 16 2023 - 17:13:47 +0000)
Model: Texas Instruments K3 J721E SoC
Board: BBONEAI-64-B0- rev B0
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.9.1--v2021.09a (Terrific Lla')
Trying to boot from MMC1


U-Boot 2021.01-gea96725b (Feb 16 2023 - 17:13:47 +0000)

SoC:   J721E SR1.1 GP
Model: Texas Instruments K3 J721E SoC
Board: BBONEAI-64-B0- rev B0
DRAM:  4 GiB
Flash: 0 Bytes
MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
Net:   eth0: ethernet@46000000port@1
Press SPACE to abort autoboot in 2 seconds
=> mms   c dev 1
i2c_write: error waiting for data ACK (status=0x116)
pca953x gpio@22: Error reading output register
switch to partitions #0, OK
mmc1 is current device
=> mmc list
sdhci@4f80000: 0 (eMMC)
sdhci@4fb0000: 1 (SD)
=> mmc   fatload mmc 1:1 0x0000000880000000 Image-initramfs-beaglebone-ai64.bin
160465408 bytes read in 6649 ms (23 MiB/s)
=> fatload mmc 1:1 0x00000008A0000000 k3-j721e-beagleboneai64.dtb
103269 bytes read in 13 ms (7.6 MiB/s)
=> setenv bootargs console=ttyO0,115200 root=/dev/mmcblk2p1 ro rootfstype=ext4
=> booti 0x0000000880000000 - 0x00000008A0000000
## Flattened Device Tree blob at 8a0000000
   Booting using the fdt blob at 0x8a0000000
   Loading Device Tree to 000000008ffe3000, end 000000008ffff364 ... OK

Starting kernel ...


Once this happens I press RST button and the board boots again and seems to read from SDCard. I wonder whats wrong with the board?

Any idea is welcome and appreciated.

Ulises

Notice the two versions of u-boot… This will cause endless problems… Make sure you sync microSD/eMMC’s version of u-boot…

All shiping images should have this package installed:

/opt/u-boot/bb-u-boot-beagleboneai64/

Run both

sudo ./install-microsd.sh

and

sudo ./install-emmc.sh

Regards,

1 Like