openwrt/target/linux
Petr Štetiar b14eeccdfe ath79: image: fix initramfs for safeloader devices
Currently it's not possible to tftpboot initramfs image on archer-c7-v5
as the image contains tplink-v1-header which leads to:

 ath> bootm
 ## Booting image at 81000000 ...
 Bad Magic Number

as U-Boot expects uImage wrapped image. This is caused by following
inheritance issue:

  define Device/Init
    KERNEL_INITRAMFS = $$(KERNEL)

  define Device/tplink-v1
    KERNEL := kernel-bin | append-dtb | lzma
    KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | tplink-v1-header

  define Device/tplink-safeloader
    $(Device/tplink-v1)

  define Device/tplink-safeloader-uimage
    $(Device/tplink-safeloader)
    KERNEL := kernel-bin | append-dtb | lzma | uImageArcher lzma

  define Device/tplink_archer-c7-v5
    $(Device/tplink-safeloader-uimage)

where tplink-v1 defines KERNEL_INITRAMFS with tplink-v1-header and it's
then used by all devices inheriting from tplink-safeloader. Fix this by
overriding KERNEL_INITRAMFS to KERNEL variable again.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit ceeece9ffa)
2020-12-17 15:51:43 +01:00
..
apm821xx kernel: Update kernel 4.14 to version 4.14.195 2020-08-27 00:27:56 +02:00
ar71xx kernel: bump 4.14 to 4.14.212 2020-12-16 22:23:52 +01:00
arc770 treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
archs38 treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
armvirt armvirt,x86: fix build breakage of crypto ccp module 2020-07-05 13:33:31 +02:00
at91 at91: disable legacy PTYs and virtual terminals 2019-12-17 11:27:20 +02:00
ath25 kernel: bump 4.14 to 4.14.171 2020-02-24 14:20:14 +01:00
ath79 ath79: image: fix initramfs for safeloader devices 2020-12-17 15:51:43 +01:00
bcm53xx kernel: backport GD25Q256 support from 4.15 2020-12-01 21:59:30 +01:00
brcm47xx kernel: bump 4.14 to 4.14.209 2020-12-01 21:57:55 +01:00
brcm63xx kernel: Update to version 4.14.199 2020-09-28 01:04:35 +02:00
brcm2708 kernel: bump 4.14 to 4.14.206 2020-11-16 09:35:05 +01:00
cns3xxx kernel: bump 4.14 to 4.14.212 2020-12-16 22:23:52 +01:00
gemini kernel: bump 4.14 to 4.14.156 2019-11-29 10:00:35 +01:00
generic kernel: bump 4.14 to 4.14.212 2020-12-16 22:23:52 +01:00
imx6 treewide: remove 4.19 leftovers 2019-10-08 12:45:13 +02:00
ipq40xx kernel: bump 4.14 to 4.14.212 2020-12-16 22:23:52 +01:00
ipq806x kernel: backport GD25Q256 support from 4.15 2020-12-01 21:59:30 +01:00
kirkwood kirkwood: support for button in Pogoplug V4 2020-07-10 13:55:54 +02:00
lantiq kernel: Update to version 4.14.199 2020-09-28 01:04:35 +02:00
layerscape kernel: bump 4.14 to 4.14.212 2020-12-16 22:23:52 +01:00
malta malta: remove CONFIG_LEGACY_PTY from kernel config 2019-12-17 11:27:30 +02:00
mediatek kernel: bump 4.14 to 4.14.206 2020-11-16 09:35:05 +01:00
mpc85xx kernel: bump 4.14 to 4.14.206 2020-11-16 09:35:05 +01:00
mvebu mvebu: fixup Turris Omnia U-Boot environment 2020-12-04 17:57:25 +01:00
mxs kernel: bump 4.14 to 4.14.178 2020-05-04 21:05:21 +02:00
octeon kernel: bump 4.14 to 4.14.206 2020-11-16 09:35:05 +01:00
octeontx kernel: bump 4.14 to 4.14.176 2020-04-16 13:23:52 +02:00
omap treewide: use new procd sysupgrade $UPGRADE_BACKUP variable 2019-09-12 13:27:29 +02:00
oxnas kernel: bump 4.14 to 4.14.206 2020-11-16 09:35:05 +01:00
pistachio kernel: backport GD25Q256 support from 4.15 2020-12-01 21:59:30 +01:00
ramips ramips: enable LED VCC for Asus RT-AC51U 2020-12-10 13:41:10 +01:00
rb532 kernel: bump 4.14 to 4.14.206 2020-11-16 09:35:05 +01:00
samsung kernel: fix nand_release() usage. 2020-07-04 21:04:11 +02:00
sunxi kernel: bump 4.14 to 4.14.169 2020-02-04 18:11:26 +01:00
tegra tegra: correct cpu subtype 2020-04-18 00:18:13 +02:00
uml kernel: bump 4.14 to 4.14.201 2020-10-14 17:18:54 +02:00
x86 x86: Add CONFIG_EFI_CUSTOM_SSDT_OVERLAYS 2020-08-11 20:44:31 +02:00
zynq zynq: make title consistent for all devices 2019-05-17 21:41:43 +02:00
Makefile