Support Orange Pi 3B Linux6.6

This commit is contained in:
liuyang 2023-11-08 10:05:10 +08:00
parent 2dbd451489
commit b44a27562b
4 changed files with 10159 additions and 3 deletions

View File

@ -4,7 +4,7 @@ BOARDFAMILY="rockchip-rk356x"
BOOTCONFIG="orangepi-3b-rk3566_defconfig"
MODULES="sprdbt_tty sprdwl_ng"
MODULES_BLACKLIST_LEGACY="bcmdhd"
KERNEL_TARGET="legacy"
KERNEL_TARGET="legacy,current"
BOOT_LOGO="desktop"
BOOT_SUPPORT_SPI="yes"
DISTRIB_TYPE_LEGACY="focal jammy bullseye bookworm raspi"

File diff suppressed because it is too large Load Diff

View File

@ -5,10 +5,14 @@ OVERLAY_PREFIX="rk356x"
case $BRANCH in
legacy)
legacy)
KERNELBRANCH='branch:orange-pi-5.10-rk35xx'
LINUXCONFIG='linux-rockchip-rk356x-legacy'
;;
current)
KERNELBRANCH='branch:orange-pi-6.6-rk35xx'
LINUXCONFIG='linux-rockchip-rk356x-current'
;;
esac
prepare_boot_configuration
@ -37,6 +41,8 @@ family_tweaks_bsp()
family_tweaks_s() {
rsync -a --chown=root:root "${EXTER}"/packages/bsp/rk356x/* ${SDCARD}/
chroot $SDCARD /bin/bash -c "apt-get -y -qq install dnsmasq v4l-utils cheese " >> "${DEST}"/${LOG_SUBPATH}/install.log 2>&1
install_docker
install_balenaEtcher
install_wiringop

View File

@ -7,12 +7,18 @@ if [[ $release =~ focal|bionic|buster ]]; then
sudo apt-get -y install qt5-default qttools5-dev-tools qtbase5-doc-html qt5-assistant qt5-doc
elif [[ $release =~ bullseye|jammy ]]; then
sudo apt-get -y install qttools5-dev-tools qtbase5-doc-html qt5-assistant qt5-doc qt5-qmake qt5-qmake-bin
elif [[ $release =~ bookworm ]]; then
sudo apt-get -y install qttools5-dev-tools qtbase5-doc-html qt5-doc qt5-qmake qt5-qmake-bin
else
echo "Unsupported system!"
exit
fi
sudo apt-get -y install qtcreator qmlscene gdb qtdeclarative5-dev qtbase5-examples cmake
if [[ $release =~ focal|bionic|buster ]]; then
sudo apt-get -y install qtcreator qmlscene gdb qtdeclarative5-dev cmake
else
sudo apt-get -y install qtcreator qmlscene gdb qtdeclarative5-dev qtbase5-examples cmake
fi
sudo chown orangepi:orangepi /usr/lib/aarch64-linux-gnu/qt5/examples -R