VisionFive2运行UEFI失败

StarFive #
U-Boot SPL 2021.10 (Apr 07 2024 - 13:18:20 +0800)
LPDDR4: 4G version: g8ad50857.
Trying to boot from SPI
Use DBT FV
FindFfsFileAndSection: DBT FV at 0x403A0000
FindFfsFileAndSection: FV at 403A0000 does not have FV header signature
FFVVVUsss eDee BDTDDBBB TFTT VF
F

i
0FnFFiiidnFnndddfFsFFfffFsissFFFlieiilllAeneeAAAdnSnndddeScSSeeetcicctttoiniiooo:n nn:::smiley: B DDDTB BBTTTF V FFF VaVV ta aattt0 x 0004x0xx44430A003330A0AA00000000000
F00

i
FnFFiiidnFnndddfFsFFfffFsissFFFlieiilllAeneeAAAdnSnndddeScSSeeetcicctttoiniiooo:n nn:::F V FFF VaVV ta aattt4 0 44430A003330A0AA00000000000 0d00 odeddooose eesssn o nnnto ootteh a hhhvaeaavvv eFee VF FFVVVh e hhhaedeeaaaedrddeee rsrr isgssiiingaggnnntauaatttrueuurrr
Pee
l

atform Device Tree is not found on boot hart
ASSERT [] /home/john/Documents/00_UEFI/JH7110_John/edk2-platforms/Platform/RISC-V/PlatformPkg/Universal/Sec/SecMain.c(684): ((BOOLEAN)(0==1))
当时把JH7110.fd文件通过tftp烧进flash后,出现了找不到设备树的问题,这个dtb文件应该怎么打包进fd文件中呢

1 Like

我已经是通过jh7110-devkits-recovery-20230918.bin,然后在里面重新烧写了u-boot-spl.bin.normal.out和visionfive2_fw_payload.img,之后通过tftp,把JH7110.fd烧写进了spi flash,但是此时我的flash中,应该是没有linux.efi和dtb的,碰到这个问题应该如何解决呢

1 Like

这个问题是因为visionfive2_fw_payload.img只有3M,spl把它传入内存时是按照3M的大小上传的,但是JH7110.fd有8M,所以会缺少设备树。
你可以使用edk2提供的spl文件
https://github.com/starfive-tech/edk2/releases/download/REL_VF2_JUN2023-stable202302/u-boot-spl.bin.normal.out