Add Sunvell R69 as community supported device

This commit is contained in:
ThomasKaiser 2017-10-23 12:28:41 +02:00
parent 52c3d90920
commit 34f4685b66
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,17 @@
# H2+ quad core 1GB SoC WiFi eMMC
BOARD_NAME="Sunvell R69"
LINUXFAMILY="sun8i"
BOOTCONFIG="orangepi_zero_plus2_h3_defconfig"
#
MODULES="xradio_wlan xradio_wlan"
MODULES_NEXT="xradio_wlan"
MODULES_BLACKLIST="dhd"
CPUMIN=240000
CPUMAX=1008000
#
KERNEL_TARGET="default"
CLI_TARGET="jessie,xenial:default"
DESKTOP_TARGET="xenial:default"
CLI_BETA_TARGET="jessie:default"
DESKTOP_BETA_TARGET="xenial:default"

View File

@ -236,7 +236,7 @@ case "$1" in
# relink /etc/network/interfaces on Wi-Fi only boards
cd /etc/network/ && ln -sf interfaces.network-manager interfaces
;;
"Orange Pi Zero"|"NanoPi Duo")
"Orange Pi Zero"|"NanoPi Duo"|"Sunvell R69")
# set XR819 WiFi address permanently based on a random address using Allwinner's MAC prefix
MACADDR=$(printf 'DC:44:6D:%02X:%02X:%02X\n' $[RANDOM%256] $[RANDOM%256] $[RANDOM%256])
echo "options xradio_wlan macaddr=${MACADDR}" >/etc/modprobe.d/xradio_wlan.conf