Skip to content

Instantly share code, notes, and snippets.

@ZiTAL
Last active April 8, 2025 07:09
Show Gist options
  • Select an option

  • Save ZiTAL/f3dee2a4d13aa346ac665f4bc3db3464 to your computer and use it in GitHub Desktop.

Select an option

Save ZiTAL/f3dee2a4d13aa346ac665f4bc3db3464 to your computer and use it in GitHub Desktop.
Vision Five 2: firmware upgrade script
#!/bin/bash
# RELEASES: https://github.com/starfive-tech/VisionFive2/releases/
VERSION="5.14.0"
rm -rf *.out
rm -rf *.img
wget https://github.com/starfive-tech/VisionFive2/releases/download/JH7110_VF2_515_v${VERSION}/u-boot-spl.bin.normal.out
wget https://github.com/starfive-tech/VisionFive2/releases/download/JH7110_VF2_515_v${VERSION}/visionfive2_fw_payload.img
flashcp -v u-boot-spl.bin.normal.out /dev/mtd0
flashcp -v visionfive2_fw_payload.img /dev/mtd2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment