diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2015-11-10 23:13:09 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2015-11-10 23:13:09 +0000 |
commit | fa137d51f5cbc678922950a6b06883c1d2141ac2 (patch) | |
tree | 410f5ff10ecb345af68628cf3e09703b624ea41e /target/linux/ar71xx/base-files | |
parent | 1bfbf2de6df94a5e62f690bec9999702e3ad4c81 (diff) | |
download | upstream-fa137d51f5cbc678922950a6b06883c1d2141ac2.tar.gz upstream-fa137d51f5cbc678922950a6b06883c1d2141ac2.tar.bz2 upstream-fa137d51f5cbc678922950a6b06883c1d2141ac2.zip |
ar71xx: add Arduino Yun
This is based on patches from Federico Fissore <f.fissore@arduino.cc>
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 <hauke@hauke-m.de>
SVN-Revision: 47451
Diffstat (limited to 'target/linux/ar71xx/base-files')
4 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds index 1db6ad0482..39f472a5bb 100644 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -43,6 +43,11 @@ antminer-s3) ucidef_set_led_default "lan" "LAN" "antminer-s3:yellow:lan" "0" ;; +arduino-yun) + ucidef_set_led_wlan "wlan" "WLAN" "arduino:blue:wlan" "phy0tpt" + ucidef_set_led_usbdev "usb" "USB" "arduino:white:usb" "1-1.1" + ;; + ap113) ucidef_set_led_usbdev "usb" "USB" "ap113:green:usb" "1-1" ;; diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network index 2cba1558a6..2765adb112 100644 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -388,6 +388,7 @@ wp543) ucidef_set_interface_lan "eth0" ;; +arduino-yun | \ dir-505-a1) ucidef_set_interface_lan "eth1" ;; 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 | \ |