starfive-tech / VisionFive2

438 stars 78 forks source link

address of the fdt is invalid (NULL) #92

Open rdunkle34 opened 4 months ago

rdunkle34 commented 4 months ago

booting from sdcard image U-Boot SPL 2021.10 (Mar 14 2024 - 19:21:18 +0800) LPDDR4: 8G version: g8ad50857. Trying to boot from MMC2

always see this error message Scanning mmc 1:4... The address of the fdt is invalid (NULL)

Dasimaladaima commented 4 months ago

could you please show some entire log?

Dasimaladaima commented 4 months ago

or you can try to boot from QSPI mode (update the spl and uboot to latest in QSPI)

rdunkle34 commented 4 months ago

Here is log from spi boot and mmc boot.

fdt_issue_1.txt

Dasimaladaima commented 3 months ago

Did you use the same board? When you start from QSPI there are no maessages in eeprom, but when you start from MMC there are some messages. Maybe you could eraseenv under the uboot and have a try

rdunkle34 commented 3 months ago

I am using the same board. I did this: env default -f -a env save poweroff That appeared to be the fix.

Dasimaladaima commented 3 months ago

great