Openwrt/target/linux
Petr Štetiar ceeece9ffa 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>
2020-06-22 12:51:22 +02:00
..
apm821xx treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
ar71xx
arc770 treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
archs38 treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
armvirt
at91 treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
ath25 treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
ath79 ath79: image: fix initramfs for safeloader devices 2020-06-22 12:51:22 +02:00
bcm27xx treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
bcm47xx treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
bcm53xx treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
bcm63xx bcm63xx: DGND3700v1: fix port order 2020-06-19 13:54:16 +02:00
cns3xxx treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
gemini treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
generic
imx6 treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
ipq40xx treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
ipq806x treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
ipq807x
kirkwood
lantiq lantiq: fritz7312: set maximum speed to 100 mbit on 5.4 2020-06-21 21:30:36 +02:00
layerscape kernel: bump 5.4 to 5.4.46 2020-06-16 23:36:26 +02:00
malta
mediatek mediatek: mt7623: refresh kernel 5.4 config 2020-06-16 15:54:58 +02:00
mpc85xx treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
mvebu mvebu: fix bootloader kernel commandline mangling 2020-06-16 23:36:26 +02:00
mxs
octeon treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
octeontx kernel: bump 5.4 to 5.4.45 2020-06-09 16:59:33 +02:00
omap treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
oxnas
pistachio treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
ramips ramips: add support for ELECOM WRC-2533GST2 2020-06-21 20:56:42 +02:00
rb532
rockchip
samsung
sunxi
tegra
uml
x86 treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
zynq
Makefile