Create a u-boot port for the VisionFive 2 RISC-V SBC.
A small tweak to the default configuration is required to work with the
OpenSBI binary provided by sysutils/opensbi.
Sponsored by: The FreeBSD Foundation
Differential D43517
sysutils/u-boot-starfive-visionfive2: new port mhorne on Jan 19 2024, 8:21 PM. Authored by Tags None Referenced Files
Subscribers
Details
Create a u-boot port for the VisionFive 2 RISC-V SBC. A small tweak to the default configuration is required to work with the Sponsored by: The FreeBSD Foundation Tested on real hardware using the exact commands described in the description.
Diff Detail
Event TimelineComment Actions Hm, OpenSBI is supposed to be built as a PIE by default if the toolchain supports it, which LLVM should, and thus it shouldn't matter where the SPL loads OpenSBI. Debian doesn't override this as far as I can tell, yet also uses its generic OpenSBI binary package. Comment Actions If I had simply tried this I would have saved myself a few hours... I think I was thrown by the emphasis of setting FW_TEXT_START when building opensbi in the u-boot documentation. The PIE binary does work; update incoming. u-boot seems to always demand a sacrifice from me, in one way or another. |