Merge pull request #730 from jannic/master

Add support for carambola 2 board
This commit is contained in:
Matthias Schiffer 2016-04-22 18:13:10 +02:00
commit db32736d3b
3 changed files with 12 additions and 1 deletions

View File

@ -78,6 +78,10 @@ Supported Devices & Architectures
ar71xx-generic ar71xx-generic
^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
* 8devices
- Carambola 2
* ALFA Network * ALFA Network
- AP121 - AP121

View File

@ -24,7 +24,7 @@ end
if platform.match('ar71xx', 'generic', {'tl-wdr3600', 'tl-wdr4300'}) then if platform.match('ar71xx', 'generic', {'tl-wdr3600', 'tl-wdr4300'}) then
table.insert(try_files, 1, '/sys/class/ieee80211/phy1/macaddress') table.insert(try_files, 1, '/sys/class/ieee80211/phy1/macaddress')
elseif platform.match('ar71xx', 'generic', {'unifi-outdoor-plus'}) then elseif platform.match('ar71xx', 'generic', {'unifi-outdoor-plus', 'carambola2'}) then
table.insert(try_files, 1, '/sys/class/net/eth0/address') table.insert(try_files, 1, '/sys/class/net/eth0/address')
elseif platform.match('ar71xx', 'generic', {'archer-c5', 'archer-c7'}) then elseif platform.match('ar71xx', 'generic', {'archer-c5', 'archer-c7'}) then
table.insert(try_files, 1, '/sys/class/net/eth1/address') table.insert(try_files, 1, '/sys/class/net/eth1/address')

View File

@ -302,3 +302,10 @@ $(eval $(call GluonProfile,MR16,rssileds))
$(eval $(call GluonProfileFactorySuffix,MR16)) $(eval $(call GluonProfileFactorySuffix,MR16))
$(eval $(call GluonModel,MR16,mr16,meraki-mr16)) $(eval $(call GluonModel,MR16,mr16,meraki-mr16))
$(eval $(call GluonModelAlias,MR16,meraki-mr16,meraki-mr66)) $(eval $(call GluonModelAlias,MR16,meraki-mr16,meraki-mr66))
## 8devices
# Carambola 2
$(eval $(call GluonProfile,CARAMBOLA2))
$(eval $(call GluonModel,CARAMBOLA2,carambola2,8devices-carambola2-board))
$(eval $(call GluonProfileFactorySuffix,CARAMBOLA2))