1
0
mirror of git://projects.qi-hardware.com/nn-usb-fpga.git synced 2025-01-10 01:00:14 +02:00
nn-usb-fpga/binaries/reflash/flash_rootfs.sh
Xiangfu Liu 80e8ce9f93 move all reflash scripts to reflash/ folder
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-08-27 10:35:59 +08:00

6 lines
235 B
Bash
Executable File

#!/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"