1
0
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:
Xiangfu Liu
2010-08-27 10:35:59 +08:00
parent 1ef32f42c7
commit 80e8ce9f93
6 changed files with 3 additions and 72 deletions

View 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"