You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
base-files/etc/hotplug.d/ieee80211 ath79: add mikrotik subtarget 4 years ago
dts ath79: fix input type for TP-Link TL-WR902AC v1 mode switch 4 years ago
files ath79: add Mikrotik rb4xx series drivers 4 years ago
generic ath79: add support for TP-Link CPE610 v2 4 years ago
image ath79: image: fix initramfs for safeloader devices 4 years ago
mikrotik treewide: drop shebang from non-executable target files 4 years ago
nand ath79/nand: add support for Netgear WNDR4300SW 4 years ago
patches-4.19 ath79: add Mikrotik rb4xx series drivers 4 years ago
patches-5.4 ath79: add Mikrotik rb4xx series drivers 4 years ago
tiny ath79: add support for TP-Link TL-WA801ND v3/v4 4 years ago
Makefile ath79: add mikrotik subtarget 4 years ago
config-4.19 ath79: define CONFIG_MFD_RB4XX_CPLD to fix build breakage 4 years ago
config-5.4 ath79: define CONFIG_MFD_RB4XX_CPLD to fix build breakage 4 years ago
modules.mk