diff options
author | Yousong Zhou <yszhou4tech@gmail.com> | 2019-09-12 07:37:05 +0000 |
---|---|---|
committer | Yousong Zhou <yszhou4tech@gmail.com> | 2019-09-15 15:00:17 +0000 |
commit | c163604b7f34241d09396ee027db526233afdfa2 (patch) | |
tree | e31da816f22795e7e7b3f1dcc91e92919ce96877 /target/linux/imx6/image | |
parent | a75801c89c63f30de698b4c990d286aa25865033 (diff) | |
download | openwrt-c163604b7f34241d09396ee027db526233afdfa2.tar.gz openwrt-c163604b7f34241d09396ee027db526233afdfa2.tar.bz2 openwrt-c163604b7f34241d09396ee027db526233afdfa2.zip |
imx6: install-dtb as separate IMAGE
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'target/linux/imx6/image')
-rw-r--r-- | target/linux/imx6/image/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/target/linux/imx6/image/Makefile b/target/linux/imx6/image/Makefile index b0933d77d2..d1e9e9034e 100644 --- a/target/linux/imx6/image/Makefile +++ b/target/linux/imx6/image/Makefile @@ -158,12 +158,13 @@ define Device/ventana kmod-leds-gpio kmod-pps-gpio \ kobs-ng KERNEL += | boot-overlay - IMAGES := nand.ubi bootfs.tar.gz + IMAGES := nand.ubi bootfs.tar.gz dtb IMAGE_NAME = $$(IMAGE_PREFIX)-$$(1).$$(2) UBINIZE_PARTS = boot=$$(KDIR_KERNEL_IMAGE).boot.ubifs=15 BOOT_SCRIPT := bootscript-ventana IMAGE/nand.ubi := append-ubi - IMAGE/bootfs.tar.gz := bootfs.tar.gz | install-dtb + IMAGE/bootfs.tar.gz := bootfs.tar.gz + IMAGE/dtb := install-dtb IMAGE_NAME = $$(IMAGE_PREFIX)-$$(1)-$$(2) PAGESIZE := 2048 BLOCKSIZE := 128k @@ -194,15 +195,16 @@ TARGET_DEVICES += wandboard define Device/cubox-i DEVICE_VENDOR := SolidRun DEVICE_MODEL := CuBox-i - KERNEL := kernel-bin | install-dtb + KERNEL := kernel-bin UBOOT := mx6cuboxi BOOT_SCRIPT = bootscript-cubox DEVICE_NAME := cubox DEVICE_PACKAGES := kmod-drm-imx kmod-drm-imx-hdmi kmod-usb-hid DEVICE_DTS := imx6q-cubox-i imx6dl-cubox-i imx6q-hummingboard imx6dl-hummingboard - IMAGES := combined.bin + IMAGES := combined.bin dtb FILESYSTEMS := squashfs IMAGE/combined.bin := append-rootfs | pad-extra 128k | imx6-sdcard + IMAGE/dtb := install-dtb endef TARGET_DEVICES += cubox-i |