X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Flayerscape%2Fimage%2FMakefile;h=a06ae9e65814ac30acc756142ef867b55a02858f;hp=bb94ff863f9dc8dd9b920b3baffc37dcd0049f7c;hb=ad907e1c03a3a1a236f4836cee085d085f280c8d;hpb=76fa771a784312f789f5de3d2216c1765a901818 diff --git a/target/linux/layerscape/image/Makefile b/target/linux/layerscape/image/Makefile index bb94ff863f..a06ae9e658 100644 --- a/target/linux/layerscape/image/Makefile +++ b/target/linux/layerscape/image/Makefile @@ -62,6 +62,21 @@ endif endef TARGET_DEVICES += ls1043ardb +define Device/ls1046ardb + DEVICE_TITLE := ls1046ardb-$(SUBTARGET) + DEVICE_PACKAGES += rcw-layerscape-ls1046ardb uboot-layerscape-$(SUBTARGET)-ls1046ardb fman-layerscape-ls1046ardb +ifeq ($(SUBTARGET),64b) + DEVICE_DTS = freescale/fsl-ls1046a-rdb +endif +ifeq ($(SUBTARGET),32b) + DEVICE_DTS = ../../../arm64/boot/dts/freescale/fsl-ls1046a-rdb +endif + IMAGE/firmware.bin = append-ls-rcw $(1) | pad-to 1M | append-ls-uboot $(1) | pad-to 3M | \ + append-ls-fman $(1) | pad-to 4M | append-ls-dtb $$(DEVICE_DTS) | pad-to 5M | \ + append-kernel | pad-to 10M | append-ls-rootfs-ext4 $(1) 22M | check-size 33554433 +endef +TARGET_DEVICES += ls1046ardb + define Device/ls1012ardb DEVICE_TITLE := ls1012ardb-$(SUBTARGET) DEVICE_PACKAGES += rcw-layerscape-ls1012ardb uboot-layerscape-$(SUBTARGET)-ls1012ardb kmod-ppfe ppfe-ls1012ardb