create fit image & add fit image to sdcard image. Signed-off-by: Sandeep Sheriker M <[email protected]> --- target/linux/at91/image/Makefile | 2 ++ target/linux/at91/image/sama5.mk | 8 +++----- 2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/target/linux/at91/image/Makefile b/target/linux/at91/image/Makefile index 3b01d42..adb7c6d 100644 --- a/target/linux/at91/image/Makefile +++ b/target/linux/at91/image/Makefile @@ -63,6 +63,8 @@ define Device/evaluation-dtb $(Device/evaluation-zImage) IMAGES += dtb IMAGE/dtb := install-dtb + KERNEL_SUFFIX := -fit-zImage.itb + KERNEL := kernel-bin | gzip | fit gzip $$(DTS_DIR)/$$(DEVICE_DTS).dtb endef define Device/evaluation-fit diff --git a/target/linux/at91/image/sama5.mk b/target/linux/at91/image/sama5.mk index bce89a0..ed01787 100644 --- a/target/linux/at91/image/sama5.mk +++ b/target/linux/at91/image/sama5.mk @@ -11,11 +11,9 @@ define Build/at91-sdcard rm -f [email protected] mkfs.fat -C [email protected] $(FAT32_BLOCKS) - mcopy -i [email protected] $(KDIR)/zImage ::zImage - - $(foreach dts,$(DEVICE_DTS), \ - mcopy -i [email protected] $(DTS_DIR)/$(dts).dtb \ - ::$(dts).dtb) + mcopy -i [email protected] \ + $(KDIR)/$(DEVICE_NAME)-fit-zImage.itb \ + ::$(DEVICE_NAME:at91-%=%)-fit.itb mcopy -i [email protected] \ $(BIN_DIR)/u-boot-$(DEVICE_NAME:at91-%=%)_mmc*/u-boot.bin \ -- 2.7.4 _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
