Support Orange Pi R1 Plus LTS

This commit is contained in:
orangepi-xunlong
2021-11-23 19:33:55 +08:00
parent 6b47b95b7c
commit 31d8885bd5
7 changed files with 354 additions and 135 deletions

View File

@@ -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