1
0
mirror of git://projects.qi-hardware.com/nn-usb-fpga.git synced 2025-01-10 09:50:14 +02:00
nn-usb-fpga/binaries/reflash/flash_rootfs.sh

6 lines
235 B
Bash
Raw Normal View History

#!/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"