aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/image
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2018-10-18 20:43:42 +0200
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2018-10-29 11:21:23 +0100
commitf89fc43a50998a69bd401268020ab78b90ff7a34 (patch)
tree1526afdbd570174bd4f2afb09eaea18bd67415d5 /target/linux/ar71xx/image
parent374e64672447e2c0af7a4cd2d10baa71757a0dd9 (diff)
downloadupstream-f89fc43a50998a69bd401268020ab78b90ff7a34.tar.gz
upstream-f89fc43a50998a69bd401268020ab78b90ff7a34.tar.bz2
upstream-f89fc43a50998a69bd401268020ab78b90ff7a34.zip
ar71xx: move OCEDO Koala to generic and use dynamic partitioning
This changes the OCEDO Koala flash-layout to a unified firmware partition, thus making the ar71xx-generic kernel fit in flash. Compile and runtested on OCEDO Koala. Signed-off-by: David Bauer <mail@david-bauer.net> [small title reword] Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/ar71xx/image')
-rw-r--r--target/linux/ar71xx/image/generic.mk9
-rw-r--r--target/linux/ar71xx/image/tiny-senao.mk13
2 files changed, 9 insertions, 13 deletions
diff --git a/target/linux/ar71xx/image/generic.mk b/target/linux/ar71xx/image/generic.mk
index 9834e199ae..fedd37e219 100644
--- a/target/linux/ar71xx/image/generic.mk
+++ b/target/linux/ar71xx/image/generic.mk
@@ -822,6 +822,15 @@ define Device/jwap230
endef
TARGET_DEVICES += jwap230
+define Device/koala
+ DEVICE_TITLE := OCEDO Koala
+ BOARDNAME := KOALA
+ DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
+ IMAGE_SIZE := 7424k
+ MTDPARTS := spi0.0:256k(u-boot)ro,64k(u-boot-env),7424k(firmware),1536k(kernel2),5888k(rootfs2),1088k(data)ro,64k(id)ro,64k(art)ro
+endef
+TARGET_DEVICES += koala
+
define Device/r36a
DEVICE_TITLE := ALFA Network R36A
DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport -swconfig
diff --git a/target/linux/ar71xx/image/tiny-senao.mk b/target/linux/ar71xx/image/tiny-senao.mk
index a241e4a6f5..3a7f6776b3 100644
--- a/target/linux/ar71xx/image/tiny-senao.mk
+++ b/target/linux/ar71xx/image/tiny-senao.mk
@@ -26,16 +26,3 @@ define Device/ens202ext
IMAGE/sysupgrade.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE)
endef
TARGET_DEVICES += ens202ext
-
-define Device/koala
- DEVICE_TITLE := OCEDO Koala
- BOARDNAME := KOALA
- DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
- KERNEL_SIZE := 1536k
- IMAGE_SIZE := 7424k
- MTDPARTS := spi0.0:256k(u-boot)ro,64k(u-boot-env),1536k(kernel),5888k(rootfs),1536k(kernel2),5888k(rootfs2),1088k(data)ro,64k(id)ro,64k(art)ro,7424k@0x50000(firmware)
- KERNEL := kernel-bin | patch-cmdline | lzma | uImage lzma
- KERNEL_INITRAMFS := $$(KERNEL)
- IMAGE/sysupgrade.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
-endef
-TARGET_DEVICES += koala