Adding Flash scripts

This commit is contained in:
Carlos Camargo 2010-08-09 08:06:44 -05:00
parent 885efd836a
commit f91a9100ac
3 changed files with 9 additions and 0 deletions

3
binaries/flash_kernel.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
sudo usbboot -f ./usbboot_2gb_nand.cfg -c "boot"
sudo usbboot -f ./usbboot_2gb_nand.cfg -c "nprog 1024 openwrt-xburst-qi_lb60-uImage.bin 0 0 -n"

2
binaries/load_u-boot.sh Executable file
View File

@ -0,0 +1,2 @@
sudo usbboot -f ./usbboot_2gb_nand.cfg -c "boot"
sudo usbboot -f ./usbboot_2gb_nand.cfg -c "nprog 0 openwrt-xburst-qi_lb60-u-boot.bin 0 0 -n"

4
binaries/program_rootfs.sh Executable file
View File

@ -0,0 +1,4 @@
#!/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 "nprog 2048 $ROOTFS 0 0 -n"