mirror of
git://projects.qi-hardware.com/nn-usb-fpga.git
synced 2025-01-07 15:40:15 +02:00
Adding Flash scripts
This commit is contained in:
parent
885efd836a
commit
f91a9100ac
3
binaries/flash_kernel.sh
Executable file
3
binaries/flash_kernel.sh
Executable 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
2
binaries/load_u-boot.sh
Executable 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
4
binaries/program_rootfs.sh
Executable 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"
|
Loading…
Reference in New Issue
Block a user