aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/layerscape/image
diff options
context:
space:
mode:
authorPawel Dembicki <paweldembicki@gmail.com>2020-10-26 10:41:36 +0100
committerPetr Štetiar <ynezz@true.cz>2020-11-23 22:53:15 +0100
commit65f8d7360c041ed90724bcc97673b30ce704cc33 (patch)
treee0e746e019abb7af291b10d8e739b6cd05791451 /target/linux/layerscape/image
parent6e1a4496f58c0eb69280dca7e0ba692bef41fbda (diff)
downloadupstream-65f8d7360c041ed90724bcc97673b30ce704cc33.tar.gz
upstream-65f8d7360c041ed90724bcc97673b30ce704cc33.tar.bz2
upstream-65f8d7360c041ed90724bcc97673b30ce704cc33.zip
layerscape: make initramfs kernel fit packed
This will make developing process easier, because dtb will be included into image. Not need to enable initramfs image by default. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Diffstat (limited to 'target/linux/layerscape/image')
-rw-r--r--target/linux/layerscape/image/armv7.mk1
-rw-r--r--target/linux/layerscape/image/armv8_64b.mk1
2 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/layerscape/image/armv7.mk b/target/linux/layerscape/image/armv7.mk
index 776a6e5ac2..08ef6cb9a1 100644
--- a/target/linux/layerscape/image/armv7.mk
+++ b/target/linux/layerscape/image/armv7.mk
@@ -10,6 +10,7 @@ define Device/Default
FILESYSTEMS := squashfs
IMAGES := firmware.bin sysupgrade.bin
KERNEL := kernel-bin | uImage none
+ KERNEL_INITRAMFS = kernel-bin | gzip | fit gzip $$(DTS_DIR)/$$(DEVICE_DTS).dtb
KERNEL_NAME := zImage
KERNEL_LOADADDR := 0x80008000
KERNEL_ENTRY_POINT := 0x80008000
diff --git a/target/linux/layerscape/image/armv8_64b.mk b/target/linux/layerscape/image/armv8_64b.mk
index 23af3e26a0..bedf272f79 100644
--- a/target/linux/layerscape/image/armv8_64b.mk
+++ b/target/linux/layerscape/image/armv8_64b.mk
@@ -10,6 +10,7 @@ define Device/Default
IMAGES := firmware.bin sysupgrade.bin
FILESYSTEMS := squashfs
KERNEL := kernel-bin | gzip | uImage gzip
+ KERNEL_INITRAMFS = kernel-bin | gzip | fit gzip $$(DTS_DIR)/$$(DEVICE_DTS).dtb
KERNEL_LOADADDR := 0x80080000
KERNEL_ENTRY_POINT := 0x80080000
DEVICE_DTS = freescale/$(subst _,-,$(1))