Orange Pi Manual Copy right by Shenzhen Xunlong Software Co., Ltd
www.orangepi.org
58
www.xunlong.tv
$ cd /lichee
$ busybox unix2dos sys_config.fex
$ cp ../tools/pack/chips/sun8iw7p1/bin/boot0_sdcard_sun8iw7p1.bin ./
$ cp ../tools/pack/chips/sun8iw7p1/bin/u-boot-sun8iw7p1.bin ./
$ tools/pack/pctools/linux/mod_update/script sys_config.fex >/dev/null
$tools/pack/pctools/linux/mod_update/update_boot0boot0_sdcard_sun8iw7p
1.bin sys_config.bin SDMMC_CARD >/dev/null
$tools/pack/pctools/linux/mod_update/update_ubootu-boot-sun8iw7p1.bin
sys_config.bin >/dev/null
$ mv sys_config.bin script.bin
2.
Update Boot and U-boot
If the mount of written system is “/dev/sdb”, update u-boot, boot and
script. Bin by execute command at the terminal:
$ dd if=boot0_sdcard_sun8iw7p1.bin of=/dev/sdb bs=1024 seek=8
$ dd if=u-boot-sun8iw7p1.bin of=/dev/sdb bs=1024 seek=16400
U-boot and boot will update after complete the above steps, however, the
project configuration of the binary file is not updated yet.
Please copy the new generated script. bin to boot partition, take a
reference at the following command:
$ cd /lichee/
$ cp script.bin /media/*/boot/ -rf
At this point, the project configuration file update is completed, the
OrangePi running system will be used to initialize the new configuration
items.
3.
Samples