layerscape: make uImage with zImage for 32-bit kernel
authorYangbo Lu <yangbo.lu@nxp.com>
Mon, 4 Sep 2017 05:42:49 +0000 (13:42 +0800)
committerJohn Crispin <john@phrozen.org>
Sat, 7 Oct 2017 21:13:22 +0000 (23:13 +0200)
uImage should be made with zImage. This patch is to support
making uImage with zImage.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
target/linux/layerscape/Makefile
target/linux/layerscape/armv8_32b/target.mk
target/linux/layerscape/armv8_64b/target.mk
target/linux/layerscape/image/Makefile

index c2d3cc07afb9d772b74e3c612e8c58a3e72a7c9e..9c92bb48962879a5415ad0e40c073e87d8150d3c 100644 (file)
@@ -10,7 +10,6 @@ BOARD:=layerscape
 BOARDNAME:=NXP Layerscape
 DEVICE_TYPE:=developerboard
 KERNEL_PATCHVER:=4.4
-KERNELNAME:=Image dtbs
 FEATURES:=squashfs nand usb pcie gpio
 SUBTARGETS:=armv8_64b armv8_32b
 MAINTAINER:=Yangbo Lu <yangbo.lu@nxp.com>
index ed89d8e4ec284e5fc56b084d13a5c001c26ff50c..e859c071d59d54433124b2680d7c8d0a0ef98ab1 100644 (file)
@@ -8,6 +8,7 @@
 ARCH:=arm
 BOARDNAME:=ARMv8 32-bit based boards
 CPU_TYPE:=cortex-a9
+KERNELNAME:=zImage dtbs
 
 define Target/Description
        Build firmware images for NXP Layerscape ARMv8 32-bit based boards.
index f1db72d973d67b5e51dc003ccbce0acddcfbb643..274a729440bc77b8c367590242283b8b224a4a7a 100644 (file)
@@ -7,6 +7,7 @@
 
 ARCH:=aarch64
 BOARDNAME:=ARMv8 64-bit based boards
+KERNELNAME:=Image dtbs
 
 define Target/Description
        Build firmware images for NXP Layerscape ARMv8 64-bit based boards.
index 7f672d7db5690c819dad9b82d1ab703e1817d76f..38bb06fe3dc4b3f512d6808958b5ecb924642b06 100644 (file)
@@ -33,15 +33,17 @@ endef
 define Device/Default
   PROFILES = Default
   FILESYSTEMS := squashfs
-  KERNEL := kernel-bin | gzip | uImage gzip
   DEVICE_DTS :=
   IMAGES = firmware.bin
 
 ifeq ($(SUBTARGET),armv8_64b)
+  KERNEL := kernel-bin | gzip | uImage gzip
   KERNEL_LOADADDR = 0x80080000
   KERNEL_ENTRY_POINT = 0x80080000
 endif
 ifeq ($(SUBTARGET),armv8_32b)
+  KERNEL := kernel-bin | uImage none
+  KERNEL_NAME := zImage
   KERNEL_LOADADDR = 0x80008000
   KERNEL_ENTRY_POINT = 0x80008000
 endif