openwrt/target/linux/ath79/image
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
..
bin ath79: add support for PISEN WMB001N 2019-08-08 21:00:59 +08:00
lzma-loader ath79: move lzma-loader to the end of available RAM 2020-01-23 15:28:03 +01:00
common-buffalo.mk ath79: sort device definitions in image/* 2019-09-21 22:17:39 +02:00
common-mikrotik.mk packages/boot: remove rbcfg 2020-05-28 11:09:10 +02:00
common-netgear.mk treewide: omit IMAGE_SIZE argument from check-size 2020-03-21 20:02:55 +01:00
common-tp-link.mk ath79: image: fix initramfs for safeloader devices 2020-06-22 12:51:22 +02:00
common-yuncore.mk ath79: add support for YunCore TFTP image generation 2019-11-25 17:32:46 +01:00
generic-tp-link.mk ath79: add support for TP-Link CPE610 v2 2020-06-20 13:03:39 +02:00
generic-ubnt.mk ath79: update WA/XC devices UBNT_VERSION to 8.5.3 2020-05-31 15:44:05 +02:00
generic.mk ath79: add support for D-Link DAP-2695-A1 2020-06-11 19:44:45 +03:00
Makefile treewide: simplify inclusion of subtarget image files 2020-06-11 01:44:13 +02:00
mikrotik.mk ath79: add support for MikroTik RouterBOARD 493G (rb4xx series) 2020-06-15 21:16:18 +02:00
nand.mk ath79/nand: add support for Netgear WNDR4300SW 2020-05-24 14:44:00 +02:00
tiny-netgear.mk treewide: omit IMAGE_SIZE argument from check-size 2020-03-21 20:02:55 +01:00
tiny-tp-link.mk ath79: add support for TP-Link TL-WA801ND v3/v4 2020-06-19 15:50:29 +02:00
tiny.mk ath79: Do not build buffalo_whr-g301n by default 2020-05-21 22:16:17 +02:00