diff --git a/binaries/flash_kernel.sh b/binaries/flash_kernel.sh new file mode 100755 index 0000000..055c50e --- /dev/null +++ b/binaries/flash_kernel.sh @@ -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" diff --git a/binaries/load_u-boot.sh b/binaries/load_u-boot.sh new file mode 100755 index 0000000..daa40c1 --- /dev/null +++ b/binaries/load_u-boot.sh @@ -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" diff --git a/binaries/program_rootfs.sh b/binaries/program_rootfs.sh new file mode 100755 index 0000000..7bdd7c0 --- /dev/null +++ b/binaries/program_rootfs.sh @@ -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"