mirror of
git://projects.qi-hardware.com/nn-usb-fpga.git
synced 2025-04-21 12:27:27 +03:00
move all reflash scripts to reflash/ folder
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
5
binaries/reflash/flash_rootfs.sh
Executable file
5
binaries/reflash/flash_rootfs.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
ROOTFS=openwrt-xburst-qi_lb60-root.ubi
|
||||
sudo usbboot -f ./usbboot_2gb_nand.cfg -c "boot"
|
||||
sudo usbboot -f ./usbboot_2gb_nand.cfg -c "nerase 16 512 0 0"
|
||||
sudo usbboot -f ./usbboot_2gb_nand.cfg -c "nprog 2048 $ROOTFS 0 0 -n"
|
||||
Reference in New Issue
Block a user