From b8b68e55a508042bfce93ef12f242250448ef28a Mon Sep 17 00:00:00 2001 From: Piotr Kubik <piotr.kubik@iopsys.eu> Date: Thu, 16 Jan 2025 16:27:27 +0100 Subject: [PATCH] airoha: Use external data in kernel FIT This is a better approach, that e.g. allows to load much less data into memory in some situations. --- airoha/image/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/airoha/image/Makefile b/airoha/image/Makefile index ae1076a9b..e3cd6fb04 100755 --- a/airoha/image/Makefile +++ b/airoha/image/Makefile @@ -40,8 +40,8 @@ define Device/Default-airoha-common IMAGE_LAST_LINK = -squashfs-sysupgrade.itb IMAGE/sysupgrade.itb = iopsys-fit-upgrade-image | iopsys-sign-image | create-last-link $$(IMAGE_LAST_LINK) last.itb IMAGES := sysupgrade.itb production.img - KERNEL := kernel-bin | lzma | generate-uboot-images | iowrt-kernel-fit lzma - KERNEL_INITRAMFS := kernel-bin | lzma | iowrt-kernel-fit lzma with-initrd + KERNEL := kernel-bin | lzma | generate-uboot-images | iowrt-kernel-fit lzma external-static + KERNEL_INITRAMFS := kernel-bin | lzma | iowrt-kernel-fit lzma external-static-with-initrd KERNEL_NAME := vmlinux DEVICE_UBI_LAYOUT := ubinize.cfg.in UBINIZE_OPTS := -m 2048 -p 131072 -s 2048 @@ -60,7 +60,7 @@ endef define Device/secure-boot SECURE_BOOT := 1 - KERNEL := kernel-bin | lzma | iopsys-secure-boot | squashfs-hash | iowrt-kernel-fit lzma + KERNEL := kernel-bin | lzma | iopsys-secure-boot | squashfs-hash | iowrt-kernel-fit lzma external-static ARTIFACT/keys.tar := copy-keys ARTIFACT/efuse.bin := generate-rotpk-fuse ARTIFACTS += keys.tar efuse.bin -- GitLab