openwrt/target/linux/mvebu/image
Klaus Kudielka ca1ee39854 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")
(cherry picked from commit afd4375a33)
2020-12-04 17:57:25 +01:00
..
clearfog.bootscript mvebu: image: introduce BOOT_SCRIPT variable 2019-05-11 23:11:04 +02:00
cortex-a9.mk mvebu: Add turris-omnia.bootscript 2020-12-04 17:57:25 +01:00
cortex-a53.mk mvebu: Add bootscript for espressobin to support mainline firmware 2020-10-28 23:22:44 +01:00
cortex-a72.mk mvebu: use device-tree board detection 2019-05-11 23:11:04 +02:00
espressobin.bootscript mvebu: Add bootscript for espressobin to support mainline firmware 2020-10-28 23:22:44 +01:00
gen_mvebu_sdcard_img.sh mvebu: image: don't create unnecessarily shell variables 2019-05-11 23:11:04 +02:00
generic-arm64.bootscript mvebu: image: fix generic-arm64.bootscript mmc selection 2019-06-28 21:52:21 +02:00
Makefile mvebu: use device-tree board detection 2019-05-11 23:11:04 +02:00
turris-omnia.bootscript mvebu: Add turris-omnia.bootscript 2020-12-04 17:57:25 +01:00