[OpenWrt-Devel] [PATCH] ath79: archer-c7-v5: fix initramfs image
Baptiste Jonglez
baptiste at bitsofnetworks.org
Fri Jun 19 04:22:57 EDT 2020
Hi,
On 17-06-20, Petr Štetiar wrote:
> Currently it's not possible to tftpboot initramfs image as the image
> contains tplink-v1-header which leads to:
Out of curiosity, it looks like booting an initramfs image is only
possible with serial access to the bootloader?
> --- 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
This is strange, Device/tplink-safeloader-uimage already defines KERNEL
the same way:
KERNEL := kernel-bin | append-dtb | lzma | uImageArcher lzma
AFAIK, KERNEL_INITRAMFS should default to the same value as KERNEL.
Baptiste
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20200619/67e97d56/attachment.sig>
-------------- next part --------------
_______________________________________________
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