Skip to content

Commit

Permalink
ar71xx-generic: add support for Carambola 2
Browse files Browse the repository at this point in the history
Device information can be found at:
http://www.8devices.com/products/carambola-2
https://wiki.openwrt.org/toh/8devices/carambola2

I only did some minimal testing of gluon on the carambola 2 development
board:

 - Config mode works
 - Connects to Wifi Mesh
 - Allows clients to connect

Notably, autoupgrade has not yet been tested.

Change to 010-primary-mac is necessary as the mac address printed
on the sticker is the one of eth0, not the wifi mac.
  • Loading branch information
jannic authored and neocturne committed Apr 25, 2016
1 parent 337b43c commit e44043f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ Supported Devices & Architectures
ar71xx-generic
^^^^^^^^^^^^^^

* 8devices

- Carambola 2

* ALFA Network

- AP121
Expand Down
2 changes: 1 addition & 1 deletion package/gluon-core/files/lib/gluon/upgrade/010-primary-mac
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ end

if platform.match('ar71xx', 'generic', {'tl-wdr3600', 'tl-wdr4300'}) then
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')
elseif platform.match('ar71xx', 'generic', {'archer-c5', 'archer-c7'}) then
table.insert(try_files, 1, '/sys/class/net/eth1/address')
Expand Down
7 changes: 7 additions & 0 deletions targets/ar71xx-generic/profiles.mk
Original file line number Diff line number Diff line change
Expand Up @@ -293,3 +293,10 @@ $(eval $(call GluonProfile,MR16,rssileds))
$(eval $(call GluonProfileFactorySuffix,MR16))
$(eval $(call GluonModel,MR16,mr16,meraki-mr16))
$(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))

0 comments on commit e44043f

Please sign in to comment.