ath79: add mikrotik subtarget
authorRoger Pueyo Centelles <roger.pueyo@guifi.net>
Fri, 28 Feb 2020 15:01:02 +0000 (16:01 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 17 Mar 2020 10:50:47 +0000 (11:50 +0100)
commita66eee63368eb5625b359244bfffc9b9eb921875
tree6a76e6a9d54527f8a41b41fa80fbc40d30a240ee
parentb78f61c336542a3658c3b1c595b3bb2810f93500
ath79: add mikrotik subtarget

This commit creates the ath79/mikrotik subtarget in order to support
MikroTik devices based on Qualcomm Atheros MIPS SoCs.

MikroTik devices need a couple of specific features: the split MiNOR
firmware MTD format, which is not used by other devices, and the 4k
sector erase size on SPI NOR storage, which can not be added to the
ath79/generic and ath79/nand subtargets now.

Additionally, the commit moves the two MikroTik devices already in
the generic and nand subtargets to this new one.

Tested on the RB922 board and the wAP AC router.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
26 files changed:
target/linux/ath79/Makefile
target/linux/ath79/base-files/lib/functions/mikrotik-caldata.sh [deleted file]
target/linux/ath79/generic/base-files/etc/board.d/02_network
target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
target/linux/ath79/generic/config-default
target/linux/ath79/generic/target.mk
target/linux/ath79/image/Makefile
target/linux/ath79/image/generic.mk
target/linux/ath79/image/mikrotik.mk [new file with mode: 0644]
target/linux/ath79/image/nand.mk
target/linux/ath79/mikrotik/base-files/etc/board.d/02_network [new file with mode: 0644]
target/linux/ath79/mikrotik/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom [new file with mode: 0644]
target/linux/ath79/mikrotik/base-files/etc/hotplug.d/firmware/11-ath10k-caldata [new file with mode: 0644]
target/linux/ath79/mikrotik/base-files/etc/uci-defaults/04_led_migration [new file with mode: 0644]
target/linux/ath79/mikrotik/base-files/lib/functions/mikrotik-caldata.sh [new file with mode: 0644]
target/linux/ath79/mikrotik/base-files/lib/upgrade/platform.sh [new file with mode: 0644]
target/linux/ath79/mikrotik/config-default [new file with mode: 0644]
target/linux/ath79/mikrotik/profiles/00-default.mk [new file with mode: 0644]
target/linux/ath79/mikrotik/target.mk [new file with mode: 0644]
target/linux/ath79/nand/base-files/etc/board.d/02_network
target/linux/ath79/nand/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
target/linux/ath79/nand/base-files/etc/uci-defaults/04_led_migration [deleted file]
target/linux/ath79/nand/base-files/lib/upgrade/platform.sh
target/linux/ath79/nand/config-default
target/linux/ath79/nand/target.mk