[OpenWrt-Devel] [PATCH] ath79: archer-c7-v5: fix initramfs image
Petr Štetiar
ynezz at true.cz
Wed Jun 17 17:56:57 EDT 2020
Currently it's not possible to tftpboot initramfs image as the image
contains tplink-v1-header which leads to:
ath> bootm
## Booting image at 81000000 ...
Bad Magic Number
Fix this by using uImage wrapped initramfs image.
Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
target/linux/ath79/image/generic-tp-link.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/linux/ath79/image/generic-tp-link.mk b/target/linux/ath79/image/generic-tp-link.mk
index bd7eb3fc7608..abb24bfb9a9e 100644
--- a/target/linux/ath79/image/generic-tp-link.mk
+++ b/target/linux/ath79/image/generic-tp-link.mk
@@ -197,6 +197,7 @@ define Device/tplink_archer-c7-v5
TPLINK_BOARD_ID := ARCHER-C7-V5
BOARDNAME := ARCHER-C7-V5
SUPPORTED_DEVICES += archer-c7-v5
+ KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | uImageArcher lzma
endef
TARGET_DEVICES += tplink_archer-c7-v5
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list