-
Notifications
You must be signed in to change notification settings - Fork 4
How to create u boot spl.bin.normal.out
johnchewyy edited this page Jun 1, 2023
·
3 revisions
- Setup environment
export ARCH=riscv
export CROSS_COMPILE= <RISCV_tool_chain>
<RISCV_tool_chain> - version 10.0.2
- Git clone VisionFive2 U-Boot repository
> git clone https://github.com/starfive-tech/u-boot.git
> cd u-boot
> git checkout VF2_v2.11.5
- Apply patch to U-Boot
Download patch(uboot_spl_patch.zip)from here
> cd u-boot
> git apply < 0001_u-boot_spl_edk2.patch
- Compile U-Boot code
Please refer to this link
- Create U-Boot SPL
Please refer to this link