1#!/bin/bash 2set -x 3 4rm BOOT.BIN 5sync 6wget ftp://192.168.10.1/kernel_boot/output_boot_bin/BOOT.BIN 7sync 8rm uImage 9sync 10wget ftp://192.168.10.1/adi-linux/arch/arm/boot/uImage 11sync 12rm devicetree.dtb 13sync 14wget ftp://192.168.10.1/kernel_boot/devicetree.dtb 15sync 16#slepp 0.5 17mount /dev/mmcblk0p1 /sdcard 18sync 19#sleep 0.5 20cp BOOT.BIN /sdcard/ -f 21cp uImage /sdcard/ -f 22cp devicetree.dtb /sdcard/ -f 23sync 24#sleep 0.5 25umount /sdcard 26sync 27#sleep 3 28sudo reboot now 29 30