mvebu: Add bootscript for espressobin to support mainline firmware
authorAndre Heider <a.heider@gmail.com>
Sat, 12 Sep 2020 07:32:41 +0000 (09:32 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 28 Oct 2020 22:22:44 +0000 (23:22 +0100)
commit7fbee0c7b2f6eebced44fd2060fbaac6fc5fd9e5
tree56d228595031e761695e95647948050433a42857
parent14903d9d8cb2da2d3c2b793bdad51561dc7bb930
mvebu: Add bootscript for espressobin to support mainline firmware

The generic bootscript is tailored around a downstream firmware and
doesn't work on a firmware built from mainline components.

Add a bootscript which:
* sets $console since mainline u-boot doesn't do that
* uses distro boot variables, so OpenWRT can be booted off any supported
  device when using a mainline firmware
* sets missing distro boot variables for the downstream firmware

Booting with a downstream firmware is unchanged.
Booting with a mainline firmware now works.

Signed-off-by: Andre Heider <a.heider@gmail.com>
(cherry picked from commit c43b45863e38fb18a486601c1601f1485d649c0b)
target/linux/mvebu/image/cortex-a53.mk
target/linux/mvebu/image/espressobin.bootscript [new file with mode: 0644]