From fa137d51f5cbc678922950a6b06883c1d2141ac2 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Tue, 10 Nov 2015 23:13:09 +0000 Subject: ar71xx: add Arduino Yun This is based on patches from Federico Fissore especially this one: https://github.com/arduino/openwrt-yun/commit/7e2976fa83fb0d72a955574499178c387a1b3c92 The console is running with 250000 baud which is a non standard baud rate and needs an extra patch to be applied, I will try to get this patch upstream or something else which accomplish the same. Some upstream code looks like there are many different versions of this SoC, are these only internal versions and all versions on the consumer market are the same? I saw different GPIO configuration and flash sizes of 8MB and 16MB? Signed-off-by: Hauke Mehrtens SVN-Revision: 47451 --- target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++ target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 1 + 2 files changed, 4 insertions(+) (limited to 'target/linux/ar71xx/base-files/lib') diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 8f3bf1d2b4..0e92ee7912 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -359,6 +359,9 @@ ar71xx_board_detect() { *Antminer-S3) name="antminer-s3" ;; + *"Arduino Yun") + name="arduino-yun" + ;; *AP113) name="ap113" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 78630931b2..b97c076519 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -173,6 +173,7 @@ platform_check_image() { ;; alfa-ap96 | \ alfa-nx | \ + arduino-yun | \ ap113 | \ ap121 | \ ap121-mini | \ -- cgit v1.2.3