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>
Sun, 11 Oct 2020 14:53:20 +0000 (16:53 +0200)
commitc43b45863e38fb18a486601c1601f1485d649c0b
treec032b27614f3285d31e4045ed0594a4617eca9df
parent7c0496f29bed87326f1bf591ca25ace82373cfc7
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>
target/linux/mvebu/image/cortexa53.mk
target/linux/mvebu/image/espressobin.bootscript [new file with mode: 0644]