mvebu: ClearFog Base: eMMC boot takes ages on v2024.10

Jan Kundrát jan.kundrat at cesnet.cz
Sat Oct 12 01:44:05 CEST 2024


Hi there,
when I ugprade U-Boot from 2021-ish version (WIP/28Jan2021) to v2024.10 
(with some trivial patches [1] [2]), my SolidRun Clearfog Base takes "ages" 
to boot. It looks like this is the same issue as Pali reported last year 
[3]. Apparently, the BootROM loads the SPL, which performs some work and 
passes control back to BootROM, at which time it hangs for about five 
minutes:

BootROM - 1.73

Booting from MMC

U-Boot SPL 2024.10-2-ga2db423a26a (Jan 01 1980 - 00:00:00 +0000)
High speed PHY - Version: 2.0
EEPROM TLV detection failed: Using static config for Clearfog Base.
Detected Device ID 6828
board SerDes lanes topology details:
 | Lane # | Speed |  Type       |
 --------------------------------
 |   0    |   3   | SATA0       |
 |   1    |   0   | SGMII1      |
 |   2    |   5   | PCIe1       |
 |   3    |   5   | USB3 HOST1  |
 |   4    |   5   | USB3 HOST0  |
 |   5    |   0   | SGMII2      |
 --------------------------------
High speed PHY - Ended Successfully
mv_ddr: 14.0.0 
DDR3 Training Sequence - Switching XBAR Window to FastPath Window
mv_ddr: completed successfully
Trying to boot from MMC1
ERROR: Invalid kwbimage v1
mmc_load_image_raw_sector: mmc block read error
spl: mmc: wrong boot mode
Trying to boot from BOOTROM
Returning to BootROM (return address 0xffff05c4)...

*********************************************************
***** this is where it hangs for about five minutes *****
*****    and after that time it continues happily:  *****
*********************************************************

Timeout waiting card ready
BootROM: Image checksum verification PASSED


U-Boot 2024.10-2-ga2db423a26a (Jan 01 1980 - 00:00:00 +0000)

SoC:   MV88F6828-A0 at 1600 MHz
DRAM:  1 GiB (800 MHz, 32-bit, ECC not enabled)
Core:  45 devices, 26 uclasses, devicetree: separate
WDT:   Started watchdog at 20300 with servicing every 1000ms (120s timeout)
MMC:   mv_sdh: 0
Loading Environment from MMC... Reading from MMC(0)... OK
Model: SolidRun Clearfog A1
Board: SolidRun Clearfog Base
Net:   eth1: ethernet at 70000, eth2: ethernet at 30000, eth3: ethernet at 34000
Hit any key to stop autoboot:  0 


-> Can I do something to fix this?

Cheers,
Jan

[1] 
https://gerrit.cesnet.cz/plugins/gitiles/github/trini/u-boot/+/082f86a75b25a3c1bdafd3c5aca407d7622dec65%5E%21/
[2] 
https://gerrit.cesnet.cz/plugins/gitiles/github/trini/u-boot/+/a2db423a26a8990e7f223a55d196f576de6c720c%5E%21/ 
[3] https://lore.kernel.org/u-boot/20230401164345.iwfu7nd5jgbjtpzl@pali/


More information about the U-Boot mailing list