diff options
author | Klaus Kudielka <klaus.kudielka@gmail.com> | 2019-12-23 08:34:49 +0100 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2020-11-26 21:52:04 -1000 |
commit | afd4375a33840fa949c898fb6bc603e8645edd61 (patch) | |
tree | f1541c33546a6acd4c1010f5a327d0ca2b51fc51 /target/linux/mvebu/base-files/lib/upgrade/sdcard.sh | |
parent | 2b1d92f134e9b6c5744a3cc2d0e22273a7a5fe03 (diff) | |
download | upstream-afd4375a33840fa949c898fb6bc603e8645edd61.tar.gz upstream-afd4375a33840fa949c898fb6bc603e8645edd61.tar.bz2 upstream-afd4375a33840fa949c898fb6bc603e8645edd61.zip |
mvebu: Add turris-omnia.bootscript
In contrast to the U-Boot version shipped with older versions of Turris
Omnia (CZ11NIC13, CZ11NIC20), the version shipped with Turris Omnia 2019
(CZ11NIC23) relies on the existence of /boot.scr.
Consequently, add a suitable boot script to the sysupgrade image.
Flash instructions for Turris Omnia 2019:
- Download openwrt-...-sysupgrade.img.gz, gunzip it, and copy the resulting
.img file to the root of a USB flash drive (FAT32 or ext2/3/4).
- Enter a rescue shell: Either via 5-LED reset and ssh root@192.168.1.1
on LAN port 4, or via 7-LED reset and the serial console.
- Insert the USB drive and mount it:
mkdir /mnt; mount /dev/sda1 /mnt
- Flash the OpenWrt image to eMMC:
dd if=/mnt/openwrt-...-sysupgrade.img of=/dev/mmcblk0 bs=4096 conv=fsync
- Reboot.
Flash instructions using a temporary "medkit" installation were written for
the older versions of Turris Omnia, and will *not* work on the Turris Omnia
2019.
Signed-off-by: Klaus Kudielka <klaus.kudielka@gmail.com>
Reviewed-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
Tested-by: W. Michael Petullo <mike@flyn.org> (Turris Omnia "2020")
Diffstat (limited to 'target/linux/mvebu/base-files/lib/upgrade/sdcard.sh')
0 files changed, 0 insertions, 0 deletions