Appendix C: Recovering the Bootloader

The bootloader is stored inside the SPI flash storage. There may be situations where you accidentally emptied the flash or if the flash is damaged on your VisionFive. In these situations, it's better to reset the bootloader. Follow the steps below to load JH7100_recovery_boot.bin to on-chip SRAM, run it, and then flash bootloader, ddr init, and u-boot.