aboutsummaryrefslogtreecommitdiff
path: root/configs/orangepi_zero_plus2_defconfig
diff options
context:
space:
mode:
authorGravatar Sergey Matyukevich <geomatsi@gmail.com>2018-02-11 18:56:49 +0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-02-14 22:04:25 +0100
commit53ae154c77228b36d1d9ae0cad057de8879ad2bc (patch)
tree11315cf29ecf016e781e21304a267988bfcd8ac1 /configs/orangepi_zero_plus2_defconfig
parent5c5f274601902c9faa585233b774a5926b6105ce (diff)
downloadbuildroot-53ae154c77228b36d1d9ae0cad057de8879ad2bc.tar.gz
buildroot-53ae154c77228b36d1d9ae0cad057de8879ad2bc.tar.bz2
configs/orange-pi-zero-plus2: enable WiFi support
Orange-Pi Zero Plus2 board has AP6212 WiFi/BT combo, but does not have ethernet port. So it makes sense to enable wireless networking by default: - add DTS patch enabling AP6212 WiFi/BT combo support -- this patch is on its way to mainline Linux v4.16 - enable WiFi support in kernel config - enable Broadcom brcmfmac kernel driver in kernel config - add Broadcom wireless firmware package to image - add basic wireless tools to image - add mdev to image to enable module autoloading - add rootfs overlay with proper NVRAM file for on-board AP6212 chip Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'configs/orangepi_zero_plus2_defconfig')
-rw-r--r--configs/orangepi_zero_plus2_defconfig17
1 files changed, 16 insertions, 1 deletions
diff --git a/configs/orangepi_zero_plus2_defconfig b/configs/orangepi_zero_plus2_defconfig
index 7906dba5c7..5ca6cf0fe2 100644
--- a/configs/orangepi_zero_plus2_defconfig
+++ b/configs/orangepi_zero_plus2_defconfig
@@ -2,8 +2,10 @@ BR2_aarch64=y
BR2_cortex_a53=y
BR2_ARM_FPU_VFPV4=y
-# Linux headers same as kernel, a 4.15 series
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_15=y
+BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
+BR2_GLOBAL_PATCH_DIR="board/orangepi/orangepi-zero-plus2/patches"
+BR2_ROOTFS_OVERLAY="board/orangepi/orangepi-zero-plus2/rootfs_overlay"
# Firmware
BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
@@ -35,6 +37,19 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.15.2"
BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h5-orangepi-zero-plus2"
+BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/orangepi/orangepi-zero-plus2/linux-extras.config"
+
+# wireless firmware
+BR2_PACKAGE_LINUX_FIRMWARE=y
+BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX=y
+
+# wireless tools
+BR2_PACKAGE_IW=y
+BR2_PACKAGE_WIRELESS_TOOLS=y
+BR2_PACKAGE_WIRELESS_TOOLS_LIB=y
+BR2_PACKAGE_WPA_SUPPLICANT=y
+BR2_PACKAGE_WPA_SUPPLICANT_NL80211=y
+BR2_PACKAGE_WPA_SUPPLICANT_CLI=y
# Filesystem
BR2_TARGET_GENERIC_ISSUE="Welcome to Orangepi Zero Plus2"