ar71xx: Add Gainstrong MiniBox v1.0 support to 15.05
authorJohn Crispin <john@openwrt.org>
Mon, 19 Oct 2015 17:58:05 +0000 (17:58 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 19 Oct 2015 17:58:05 +0000 (17:58 +0000)
commite696165546d15bf67fcb1d932bfa0b5e49e8c17d
tree10c22d4fc3070cc5c70b6fe625d5e8c544f23e09
parent35604185dc41d8e68b7a4a1f08e46ab9044a568f
ar71xx: Add Gainstrong MiniBox v1.0 support to 15.05

This patch supersedes the v1 from September 17th.

Bumping the patch version - the MiniBox profile showed up under M, but
since it's called 'Gainstrong MiniBox v1.0' now it looks out of place.
Renamed the profile to gs-minibox-v1.mk to fix that.

The following patch adds support for the Gainstrong MiniBox to 15.05
Chaos Calmer.

Fixed items:

- Inverted LED polarity (OOLITE seems to suffer from the same problem).
- Changed uppercase MINIBOX_V1_ prefix as requested.
- Prefixes are now gs_minibox_ similar to gs_oolite_ (same vendor).
- Mention the vendor (Gainstrong) in code headers.

Compiles fine, has been confirmed working by owners.

Question: I've seen some boards use tools/firmware-utils/src/mktplinkfw.c,
the MiniBox images build fine without, so I'm wondering: do I need to add
it in there as well? Any added benefit?

Thank you

Signed-off by: Stijn Segers <francesco.borromini@inventati.org>

SVN-Revision: 47235
target/linux/ar71xx/base-files/etc/diag.sh
target/linux/ar71xx/base-files/etc/uci-defaults/02_network
target/linux/ar71xx/base-files/lib/ar71xx.sh
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
target/linux/ar71xx/config-3.18
target/linux/ar71xx/files/arch/mips/ath79/mach-gs-minibox-v1.c [new file with mode: 0644]
target/linux/ar71xx/generic/profiles/gs-minibox-v1.mk [new file with mode: 0644]
target/linux/ar71xx/image/Makefile
target/linux/ar71xx/patches-3.18/799-MIPS-ath79-add-minibox-v1-support.patch [new file with mode: 0644]