Skip to content

Bootloader recovery and updater tool for StarFive JH71x0 SoCs.

License

Notifications You must be signed in to change notification settings

kprasadvnsi/JH71xx-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JH71xx-tools

Bootloader recovery and updater tool for StarFive JH7100 SoCs.

Screenshot

Command Line Parameters

-D, --device <tty device>      : Serial tty device path.
-r, --recovery <filename>      : Bootloader recovery firmware.
-b, --bootloader <filename>    : Second stage bootloader.
-d, --ddrinit <filename>       : DRAM initialization firmware.
-h, --help                     : Show this help.

Build

gcc -o jh7100-recover jh7100-recover.c

Examples

  1. Update second stage bootloader.
$ ./jh7100-recover -D /dev/ttyUSB0 \
-r jh7100_recovery_boot.bin \
-b bootloader-BEAGLEV-buildroot.bin.out
  1. Update DRAM initialization firmware.
$ ./jh7100-recover -D /dev/ttyUSB0 \
-r jh7100_recovery_boot.bin \
-d ddrinit-2133-buildroot.bin.out
  1. Update both second stage bootloader and DRAM initialization firmware.
$ ./jh7100-recover -D /dev/ttyUSB0 \
-r jh7100_recovery_boot.bin \
-b bootloader-BEAGLEV-buildroot.bin.out \
-d ddrinit-2133-buildroot.bin.out

Tutorial

  1. A very nice tutorial by Lakshantha Dissanayake from Seeed.

    Update bootloader, ddr init boot, u-boot and recover bootloader.

About

Bootloader recovery and updater tool for StarFive JH71x0 SoCs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •