From: Adrian Panella <[email protected]>
Date: Thu, 17 Mar 2016 22:05:17 -0600
Subject: [PATCH 7/8] Firmware Image: add configuration for EA8500

Image creation for EA8500. Two factory images are created for flashing usign the
web interface of the respective Linksys firmware versions:
    ...factory_168206.bin
    ...factory_169978.bin

Higher US Firmware versions aren't supported as they are signed.


Signed-off-by: Adrian Panella <[email protected]>
---
 target/linux/ipq806x/image/Makefile     |  22 +++++++++++++++++++++-
 target/linux/ipq806x/image/ea8500_168206.tag | Bin 0 -> 255 bytes
 target/linux/ipq806x/image/ea8500_169978.tag | Bin 0 -> 256 bytes
 3 files changed, 21 insertions(+), 1 deletion(-)
 create mode 100755 target/linux/ipq806x/image/ea8500v1.tag
 create mode 100755 target/linux/ipq806x/image/ea8500v2.tag

diff --git a/target/linux/ipq806x/image/Makefile b/target/linux/ipq806x/image/Makefile
index ff8b2c7..ac27a92 100644
--- a/target/linux/ipq806x/image/Makefile
+++ b/target/linux/ipq806x/image/Makefile
@@ -133,6 +133,26 @@ define Device/R7500
     BOARD_NAME := r7500
 endef

-TARGET_DEVICES += AP148 AP148-legacy D7800 DB149 R7500
+define Device/EA8500
+    $(call Device/LegacyImage)
+    DEVICE_DTS := qcom-ipq8064-ea8500
+    PAGESIZE := 2048
+    BLOCKSIZE := 128KiB
+    KERNEL_SIZE := 3145728
+    FILESYSTEMS := squashfs
+ KERNEL = kernel-bin | append-dtb | uImage none | append-file $(KDIR)/root.dummy
+    PROFILES := Generic EA8500
+    BOARD_NAME := ea8500
+    IMAGES := factory_168206.bin factory_169978.bin sysupgrade.tar
+ IMAGE/factory_168206.bin := append-kernel 3145728 | append-ubi | append-file ea8500_168206.tag + IMAGE/factory_169978.bin := append-kernel 3145728 | append-ubi | append-file ea8500_169978.tag
+    IMAGE/sysupgrade.tar := sysupgrade-nand
+    DEVICE_VARS += DEVICE_DTS KERNEL_SIZE PAGESIZE BLOCKSIZE SUBPAGESIZE
+endef
+
+TARGET_DEVICES += AP148 AP148-legacy D7800 DB149 R7500 EA8500
+ifeq ($(PROFILE),EA8500)
+   TARGET_DEVICES = EA8500
+endif

 $(eval $(call BuildImage))
diff --git a/target/linux/ipq806x/image/ea8500v1.tag b/target/linux/ipq806x/image/ea8500_168206.tag
new file mode 100755
index 0000000000000000000000000000000000000000..aa8c9f4b09d5127c620b48fac8bc1078e73ee27c
GIT binary patch
literal 255
zcmdP%@$~Z!jttf_Ff=eQFflN9b+j-wFi?O2XA4J1Q)6cnn20w}6$rQ)7&<!}8yGMQ
GZ2$m7E)38B

literal 0
HcmV?d00001

diff --git a/target/linux/ipq806x/image/ea8500v2.tag b/target/linux/ipq806x/image/ea8500_169978.tag
new file mode 100755
index 0000000000000000000000000000000000000000..90febaae7e89907aa3b99dd2ec872c166b903203
GIT binary patch
literal 256
zcmdP%@$~Z!jttf_Ff=eQFflN9b+j-wFi?O2GgCuX6DLCxn20w}6$rQ)7&<$fT39d)
GaR2~9*bKq|

literal 0
HcmV?d00001

--
1.9.1
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to