Support Orange Pi Zero2 B

This commit is contained in:
orangepi-xunlong
2021-12-21 15:30:42 +08:00
parent e421a98158
commit 990c7dafa4
6 changed files with 6815 additions and 2 deletions

7
external/config/boards/orangepizero2-b.conf vendored Executable file
View File

@@ -0,0 +1,7 @@
# Allwinner H616 quad core 1GB RAM
BOARD_NAME="OPI Zero2 B"
BOARDFAMILY="sun50iw9"
BOOTCONFIG="orangepi_zero2_b_defconfig"
KERNEL_TARGET="legacy,current"
MODULES="uwe5622_bsp_sdio sprdwl_ng sprdbt_tty"
MODULES_BLACKLIST_LEGACY="bcmdhd"

View File

@@ -45,7 +45,7 @@ esac
family_tweaks_s()
{
if [[ $BOARD =~ orangepizero2|orangepizero2-lts ]]; then
if [[ $BOARD =~ orangepizero2|orangepizero2-lts|orangepizero2-b ]]; then
chroot $SDCARD /bin/bash -c "apt-get -y -qq install rfkill bluetooth bluez bluez-tools" >/dev/null 2>&1
fi