mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-03-24 09:36:43 +07:00
Support Orange Pi R1 Plus LTS
This commit is contained in:
11
external/config/boards/orangepir1plus-lts.conf
vendored
Normal file
11
external/config/boards/orangepir1plus-lts.conf
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
# Rockchip RK3328 quad core 1GB 2xGBE USB2
|
||||
BOARD_NAME="OPI R1+ LTS"
|
||||
BOARDFAMILY="rockchip64"
|
||||
BOOTCONFIG="orangepi_r1_plus_lts_rk3328_defconfig"
|
||||
KERNEL_TARGET="current"
|
||||
DEFAULT_CONSOLE="serial"
|
||||
MODULES="g_serial"
|
||||
MODULES_BLACKLIST="rockchipdrm analogix_dp dw_mipi_dsi dw_hdmi gpu_sched lima hantro_vpu"
|
||||
SERIALCON="ttyS2:1500000,ttyGS0"
|
||||
BUILD_DESKTOP="no"
|
||||
BOOT_FDT_FILE="rockchip/rk3328-orangepi-r1-plus-lts.dtb"
|
||||
2
external/config/boards/orangepir1plus.conf
vendored
2
external/config/boards/orangepir1plus.conf
vendored
@@ -8,4 +8,4 @@ MODULES="g_serial"
|
||||
MODULES_BLACKLIST="rockchipdrm analogix_dp dw_mipi_dsi dw_hdmi gpu_sched lima hantro_vpu"
|
||||
SERIALCON="ttyS2:1500000,ttyGS0"
|
||||
BUILD_DESKTOP="no"
|
||||
BOOT_FDT_FILE="rockchip/rk3328-orangepi-r1plus.dtb"
|
||||
BOOT_FDT_FILE="rockchip/rk3328-orangepi-r1-plus.dtb"
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -26,7 +26,7 @@ else # rk3328
|
||||
|
||||
fi
|
||||
|
||||
if [[ $BOARD == orangepir1plus ]]; then
|
||||
if [[ $BOARD =~ orangepir1plus|orangepir1plus-lts ]]; then
|
||||
|
||||
BOOT_USE_BLOBS=yes
|
||||
BOOT_SOC=rk3328
|
||||
@@ -49,7 +49,7 @@ case $BRANCH in
|
||||
current)
|
||||
|
||||
KERNELPATCHDIR='rockchip64-'$BRANCH
|
||||
KERNELBRANCH="branch:orange-pi-5.8-rockchip64"
|
||||
KERNELBRANCH="branch:orange-pi-5.10-rockchip64"
|
||||
LINUXFAMILY=rockchip64
|
||||
LINUXCONFIG='linux-rockchip64-'$BRANCH
|
||||
|
||||
@@ -334,7 +334,7 @@ family_tweaks()
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ $BOARD == orangepir1plus ]]; then
|
||||
if [[ $BOARD =~ orangepir1plus|orangepir1plus-lts ]]; then
|
||||
|
||||
|
||||
# rename USB based network to lan0
|
||||
|
||||
@@ -5,7 +5,7 @@ BOOTPATCHDIR="u-boot-rockchip64-mainline"
|
||||
family_tweaks_bsp()
|
||||
{
|
||||
|
||||
if [[ $BOARD == orangepir1plus ]]; then
|
||||
if [[ $BOARD =~ orangepir1plus|orangepir1plus-lts ]]; then
|
||||
|
||||
install -m 755 $EXTER/packages/blobs/rockchip/set_r1plus_lan_mac.sh $destination/usr/bin/
|
||||
fi
|
||||
@@ -14,9 +14,7 @@ family_tweaks_bsp()
|
||||
family_tweaks_s()
|
||||
{
|
||||
|
||||
if [[ $BOARD == orangepir1plus ]]; then
|
||||
|
||||
chroot $SDCARD /bin/bash -c "apt-get -y -qq install rfkill bluetooth bluez bluez-tools >/dev/null 2>&1"
|
||||
if [[ $BOARD =~ orangepir1plus|orangepir1plus-lts ]]; then
|
||||
|
||||
cat <<-EOF > "${SDCARD}"/etc/rc.local
|
||||
#!/bin/sh -e
|
||||
|
||||
11
external/config/targets.conf
vendored
11
external/config/targets.conf
vendored
@@ -449,3 +449,14 @@ orangepir1plus current focal cli
|
||||
orangepir1plus current buster minimal stable yes
|
||||
orangepir1plus current bionic minimal stable yes
|
||||
orangepir1plus current focal minimal stable yes
|
||||
|
||||
# orangepir1plus-lts
|
||||
|
||||
orangepir1plus-lts current buster cli stable yes
|
||||
orangepir1plus-lts current bionic cli stable yes
|
||||
orangepir1plus-lts current focal cli stable yes
|
||||
|
||||
orangepir1plus-lts current buster minimal stable yes
|
||||
orangepir1plus-lts current bionic minimal stable yes
|
||||
orangepir1plus-lts current focal minimal stable yes
|
||||
|
||||
|
||||
@@ -156,7 +156,8 @@ if [[ -z $BOARD ]]; then
|
||||
options+=("orangepioneplus" "Allwinner H6 quad core 1GB RAM GBE")
|
||||
options+=("orangepizero2" "Allwinner H616 quad core 512MB/1GB RAM WiFi/BT GBE SPI")
|
||||
options+=("orangepi4" "Rockchip RK3399 hexa core 4GB RAM GBE eMMc USB3 USB-C WiFi/BT")
|
||||
options+=("orangepir1plus" "Rockchip RK3328 quad core 1GB RAM 2xGBE USB2 SPI")
|
||||
options+=("orangepir1plus" "Rockchip RK3328 quad core 1GB RAM 2xGBE 8211E USB2 SPI")
|
||||
options+=("orangepir1plus-lts" "Rockchip RK3328 quad core 1GB RAM 2xGBE YT8531C USB2 SPI")
|
||||
|
||||
menustr="Please choose a Board."
|
||||
BOARD=$(whiptail --title "${titlestr}" --backtitle "${backtitle}" \
|
||||
|
||||
Reference in New Issue
Block a user