openwrt/target/linux/ath79
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
..
base-files/etc/hotplug.d/ieee80211 ath79: add mikrotik subtarget 2020-03-17 11:50:47 +01:00
dts ath79: fix input type for TP-Link TL-WR902AC v1 mode switch 2020-06-21 21:29:51 +02:00
files ath79: add Mikrotik rb4xx series drivers 2020-06-15 21:16:18 +02:00
generic ath79: add support for TP-Link CPE610 v2 2020-06-20 13:03:39 +02:00
image ath79: image: fix initramfs for safeloader devices 2020-06-22 12:51:22 +02:00
mikrotik treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
nand ath79/nand: add support for Netgear WNDR4300SW 2020-05-24 14:44:00 +02:00
patches-4.19 ath79: add Mikrotik rb4xx series drivers 2020-06-15 21:16:18 +02:00
patches-5.4 ath79: add Mikrotik rb4xx series drivers 2020-06-15 21:16:18 +02:00
tiny ath79: add support for TP-Link TL-WA801ND v3/v4 2020-06-19 15:50:29 +02:00
config-4.19 ath79: define CONFIG_MFD_RB4XX_CPLD to fix build breakage 2020-06-17 19:50:54 +02:00
config-5.4 ath79: define CONFIG_MFD_RB4XX_CPLD to fix build breakage 2020-06-17 19:50:54 +02:00
Makefile ath79: add mikrotik subtarget 2020-03-17 11:50:47 +01:00
modules.mk ath79: add new OF only target for QCA MIPS silicon 2018-05-07 08:06:51 +02:00