Skip to content

Commit e44043f

Browse files
jannicneocturne
authored andcommitted
ar71xx-generic: add support for Carambola 2
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.
1 parent 337b43c commit e44043f

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

docs/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ Supported Devices & Architectures
7878
ar71xx-generic
7979
^^^^^^^^^^^^^^
8080

81+
* 8devices
82+
83+
- Carambola 2
84+
8185
* ALFA Network
8286

8387
- AP121

package/gluon-core/files/lib/gluon/upgrade/010-primary-mac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ end
2424

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

targets/ar71xx-generic/profiles.mk

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,3 +293,10 @@ $(eval $(call GluonProfile,MR16,rssileds))
293293
$(eval $(call GluonProfileFactorySuffix,MR16))
294294
$(eval $(call GluonModel,MR16,mr16,meraki-mr16))
295295
$(eval $(call GluonModelAlias,MR16,meraki-mr16,meraki-mr66))
296+
297+
## 8devices
298+
299+
# Carambola 2
300+
$(eval $(call GluonProfile,CARAMBOLA2))
301+
$(eval $(call GluonModel,CARAMBOLA2,carambola2,8devices-carambola2-board))
302+
$(eval $(call GluonProfileFactorySuffix,CARAMBOLA2))

0 commit comments

Comments
 (0)