diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2025-03-02 09:15:56 +0000 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2025-03-02 10:18:36 +0100 |
commit | 5b29aec0b565aaebe618d7e480e7d6013c9516ba (patch) | |
tree | bc847ded280ad59e811da8134d24177f042ee20c | |
parent | c1e4b81e2b59cabf89a0cf1fa60418739171330f (diff) |
arcturus-ucbf54x: add kernel compression support
-rw-r--r-- | target/bfin/Makefile | 4 | ||||
-rw-r--r-- | target/bfin/systems/arcturus-ucbf54x | 2 | ||||
-rw-r--r-- | target/config/Config.in.kernelfmt | 4 |
3 files changed, 10 insertions, 0 deletions
diff --git a/target/bfin/Makefile b/target/bfin/Makefile index 084de21d1..9c28ea4d0 100644 --- a/target/bfin/Makefile +++ b/target/bfin/Makefile @@ -5,7 +5,11 @@ include $(ADK_TOPDIR)/rules.mk include $(ADK_TOPDIR)/mk/kernel-build.mk include $(ADK_TOPDIR)/mk/image.mk +ifeq ($(ADK_TARGET_KERNEL_IMAGE_GZ),y) +KERNEL:=$(LINUX_DIR)/arch/blackfin/boot/vmlinux.bin.gz +else KERNEL:=$(LINUX_DIR)/$(ADK_TARGET_KERNEL) +endif # target helper text ifeq ($(ADK_TARGET_FS),archive) diff --git a/target/bfin/systems/arcturus-ucbf54x b/target/bfin/systems/arcturus-ucbf54x index e9e2bf430..fc5d87829 100644 --- a/target/bfin/systems/arcturus-ucbf54x +++ b/target/bfin/systems/arcturus-ucbf54x @@ -2,6 +2,8 @@ config ADK_TARGET_SYSTEM_ARCTURUS_UCBF54X bool "Arcturus uCBF54x" select ADK_TARGET_CPU_BFIN_BF548 select ADK_TARGET_WITH_NETDEVICE + select ADK_TARGET_KERNEL_WITH_COMPRESSION + select ADK_TARGET_KERNEL_IMAGE_GZ select ADK_TARGET_PACKAGE_TXZ help Arcturus uCBF54x. diff --git a/target/config/Config.in.kernelfmt b/target/config/Config.in.kernelfmt index b80853385..1a0b3f7af 100644 --- a/target/config/Config.in.kernelfmt +++ b/target/config/Config.in.kernelfmt @@ -13,6 +13,9 @@ config ADK_TARGET_KERNEL_LINUXBIN config ADK_TARGET_KERNEL_IMAGE bool +config ADK_TARGET_KERNEL_IMAGE_GZ + bool + config ADK_TARGET_KERNEL_UIMAGE bool @@ -55,6 +58,7 @@ config ADK_TARGET_KERNEL_LOADER config ADK_TARGET_KERNEL string default "loader" if ADK_TARGET_KERNEL_LOADER + default "vmImage.gz" if ADK_TARGET_KERNEL_IMAGE_GZ default "uImage" if ADK_TARGET_KERNEL_UIMAGE default "uImage.bin" if ADK_TARGET_KERNEL_UIMAGEBIN default "uImage.gz" if ADK_TARGET_KERNEL_UIMAGEGZ |