mirror of
git://projects.qi-hardware.com/nn-usb-fpga.git
synced 2025-01-09 23:30:16 +02:00
80e8ce9f93
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
6 lines
235 B
Bash
Executable File
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"
|