Support Orange Pi 3 LTS
This commit is contained in:
parent
31d8885bd5
commit
9f400f169d
|
|
@ -0,0 +1,9 @@
|
|||
# Allwinner H6 quad core 2GB RAM SoC GBE USB3
|
||||
BOARD_NAME="OPI 3 LTS"
|
||||
BOARDFAMILY="sun50iw6"
|
||||
BOOTCONFIG="orangepi_3_lts_defconfig"
|
||||
KERNEL_TARGET="legacy,current"
|
||||
MODULES="uwe5622_bsp_sdio sprdbt_tty sprdwl_ng"
|
||||
MODULES_BLACKLIST_LEGACY="bcmdhd"
|
||||
FULL_DESKTOP="yes"
|
||||
ATFBRANCH="tag:v2.2"
|
||||
|
|
@ -2397,7 +2397,7 @@ CONFIG_MICREL_PHY=m
|
|||
CONFIG_MICROCHIP_PHY=m
|
||||
CONFIG_MICROCHIP_T1_PHY=m
|
||||
# CONFIG_MICROSEMI_PHY is not set
|
||||
CONFIG_MOTORCOMM_PHY=m
|
||||
CONFIG_MOTORCOMM_PHY=y
|
||||
CONFIG_NATIONAL_PHY=m
|
||||
# CONFIG_NXP_TJA11XX_PHY is not set
|
||||
CONFIG_AT803X_PHY=m
|
||||
|
|
|
|||
|
|
@ -1611,6 +1611,7 @@ CONFIG_FIXED_PHY=y
|
|||
# CONFIG_MICREL_PHY is not set
|
||||
# CONFIG_MICROCHIP_PHY is not set
|
||||
# CONFIG_MICROSEMI_PHY is not set
|
||||
CONFIG_MOTORCOMM_PHY=y
|
||||
# CONFIG_NATIONAL_PHY is not set
|
||||
# CONFIG_QSEMI_PHY is not set
|
||||
# CONFIG_REALTEK_PHY is not set
|
||||
|
|
@ -1755,7 +1756,22 @@ CONFIG_BCMDHD_OOB=y
|
|||
# CONFIG_BCMDHD_SDIO_IRQ is not set
|
||||
CONFIG_RTL8723CS=m
|
||||
# CONFIG_RTL8723BS_VQ0 is not set
|
||||
CONFIG_RTL8822BS=m
|
||||
CONFIG_SPARD_WLAN_SUPPORT=y
|
||||
|
||||
#
|
||||
# UNISOC WCN Device Drivers(for new chip...)
|
||||
#
|
||||
# CONFIG_SC23XX is not set
|
||||
# CONFIG_WCN_BSP_DRIVER_BUILDIN is not set
|
||||
# CONFIG_RK_WIFI_DEVICE_UWE5621 is not set
|
||||
# CONFIG_RK_WIFI_DEVICE_UWE5622 is not set
|
||||
CONFIG_AW_WIFI_DEVICE_UWE5622=y
|
||||
CONFIG_AW_BIND_VERIFY=y
|
||||
CONFIG_WLAN_UWE5622=m
|
||||
CONFIG_SPRDWL_NG=m
|
||||
CONFIG_UNISOC_WIFI_PS=y
|
||||
CONFIG_TTY_OVERY_SDIO=m
|
||||
# CONFIG_RTL8822BS is not set
|
||||
|
||||
#
|
||||
# Enable WiMAX (Networking options) to see the WiMAX drivers
|
||||
|
|
@ -1787,6 +1803,7 @@ CONFIG_INPUT_EVDEV=y
|
|||
CONFIG_INPUT_KEYRESET=y
|
||||
CONFIG_INPUT_KEYCOMBO=y
|
||||
CONFIG_INPUT_SENSORINIT=y
|
||||
# CONFIG_INPUT_POWERKEY is not set
|
||||
|
||||
#
|
||||
# Input Device Drivers
|
||||
|
|
|
|||
|
|
@ -29,6 +29,15 @@ case $BRANCH in
|
|||
ASOUND_STATE='asound.state.sun50iw6-legacy'
|
||||
BOOT_FDT_FILE=sunxi/sun50i-h6-orangepi-${BOARD:8}.dtb
|
||||
;;
|
||||
|
||||
current)
|
||||
|
||||
if [[ ${BOARD} == orangepi3-lts ]]; then
|
||||
|
||||
KERNELBRANCH="branch:orange-pi-5.10"
|
||||
LINUXCONFIG=linux-5.10-sunxi64-current
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
family_tweaks_s()
|
||||
|
|
@ -67,4 +76,6 @@ family_tweaks_bsp()
|
|||
cp $EXTER/packages/bsp/sunxi/ap6255-bluetooth.service $destination/lib/systemd/system/
|
||||
[[ $BRANCH == legacy ]] && cp $EXTER/packages/bsp/sunxi/ap6255-wifi.service $destination/lib/systemd/system/
|
||||
fi
|
||||
|
||||
install -m 755 $EXTER/packages/blobs/bt/hciattach/hciattach_opi_$ARCH $destination/usr/bin/hciattach_opi
|
||||
}
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ prepare_board() {
|
|||
|
||||
# IRQ distribution based on $BOARDFAMILY and/or $BOARD_NAME
|
||||
case ${BOARD} in
|
||||
orangepizero2)
|
||||
orangepizero2|orangepi3-lts)
|
||||
rfkill unblock all
|
||||
/usr/bin/hciattach_opi -n -s 1500000 /dev/ttyBT0 sprd &
|
||||
;;
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
1881
external/packages/pack-uboot/sun50iw6/bin/sys_config/sys_config_orangepi3-lts.fex
vendored
Executable file
1881
external/packages/pack-uboot/sun50iw6/bin/sys_config/sys_config_orangepi3-lts.fex
vendored
Executable file
File diff suppressed because it is too large
Load Diff
|
|
@ -394,6 +394,7 @@ compile_kernel()
|
|||
# store kernel config in easily reachable place
|
||||
display_alert "Exporting new kernel config" "$DEST/config/$LINUXCONFIG.config" "info"
|
||||
cp .config "${DEST}/config/${LINUXCONFIG}.config"
|
||||
cp .config "${EXTER}/config/kernel/${LINUXCONFIG}.config"
|
||||
# export defconfig too if requested
|
||||
if [[ $KERNEL_EXPORT_DEFCONFIG == yes ]]; then
|
||||
eval CCACHE_BASEDIR="$(pwd)" env PATH="${toolchain}:${PATH}" \
|
||||
|
|
|
|||
|
|
@ -151,7 +151,8 @@ if [[ -z $BOARD ]]; then
|
|||
options+=("orangepiprime" "Allwinner H5 quad core 2GB RAM GBE WiFi/BT")
|
||||
options+=("orangepizeroplus" "Allwinner H5 quad core 512MB RAM GBE WiFi SPI")
|
||||
options+=("orangepizeroplus2h5" "Allwinner H5 quad core 512MB RAM WiFi/BT eMMC")
|
||||
options+=("orangepi3" "Allwinner H6 quad core 1GB/2GB RAM GBE WiFi/BT eMMC USB3")
|
||||
options+=("orangepi3" "Allwinner H6 quad core 1GB/2GB RAM GBE WiFi/BT-AP6256 eMMC USB3")
|
||||
options+=("orangepi3-lts" "Allwinner H6 quad core 2GB RAM GBE WiFi/BT-AW859A eMMC USB3")
|
||||
options+=("orangepilite2" "Allwinner H6 quad core 1GB RAM WiFi/BT USB3")
|
||||
options+=("orangepioneplus" "Allwinner H6 quad core 1GB RAM GBE")
|
||||
options+=("orangepizero2" "Allwinner H616 quad core 512MB/1GB RAM WiFi/BT GBE SPI")
|
||||
|
|
|
|||
Loading…
Reference in New Issue