mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-11-20 00:52:47 +07:00
Support Orange Pi 3B Linux6.6
This commit is contained in:
2
external/config/boards/orangepi3b.conf
vendored
2
external/config/boards/orangepi3b.conf
vendored
@@ -4,7 +4,7 @@ BOARDFAMILY="rockchip-rk356x"
|
|||||||
BOOTCONFIG="orangepi-3b-rk3566_defconfig"
|
BOOTCONFIG="orangepi-3b-rk3566_defconfig"
|
||||||
MODULES="sprdbt_tty sprdwl_ng"
|
MODULES="sprdbt_tty sprdwl_ng"
|
||||||
MODULES_BLACKLIST_LEGACY="bcmdhd"
|
MODULES_BLACKLIST_LEGACY="bcmdhd"
|
||||||
KERNEL_TARGET="legacy"
|
KERNEL_TARGET="legacy,current"
|
||||||
BOOT_LOGO="desktop"
|
BOOT_LOGO="desktop"
|
||||||
BOOT_SUPPORT_SPI="yes"
|
BOOT_SUPPORT_SPI="yes"
|
||||||
DISTRIB_TYPE_LEGACY="focal jammy bullseye bookworm raspi"
|
DISTRIB_TYPE_LEGACY="focal jammy bullseye bookworm raspi"
|
||||||
|
|||||||
10144
external/config/kernel/linux-rockchip-rk356x-current.config
vendored
Normal file
10144
external/config/kernel/linux-rockchip-rk356x-current.config
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@@ -5,10 +5,14 @@ OVERLAY_PREFIX="rk356x"
|
|||||||
|
|
||||||
case $BRANCH in
|
case $BRANCH in
|
||||||
|
|
||||||
legacy)
|
legacy)
|
||||||
KERNELBRANCH='branch:orange-pi-5.10-rk35xx'
|
KERNELBRANCH='branch:orange-pi-5.10-rk35xx'
|
||||||
LINUXCONFIG='linux-rockchip-rk356x-legacy'
|
LINUXCONFIG='linux-rockchip-rk356x-legacy'
|
||||||
;;
|
;;
|
||||||
|
current)
|
||||||
|
KERNELBRANCH='branch:orange-pi-6.6-rk35xx'
|
||||||
|
LINUXCONFIG='linux-rockchip-rk356x-current'
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
prepare_boot_configuration
|
prepare_boot_configuration
|
||||||
@@ -37,6 +41,8 @@ family_tweaks_bsp()
|
|||||||
family_tweaks_s() {
|
family_tweaks_s() {
|
||||||
|
|
||||||
rsync -a --chown=root:root "${EXTER}"/packages/bsp/rk356x/* ${SDCARD}/
|
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_docker
|
||||||
install_balenaEtcher
|
install_balenaEtcher
|
||||||
install_wiringop
|
install_wiringop
|
||||||
|
|||||||
@@ -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
|
sudo apt-get -y install qt5-default qttools5-dev-tools qtbase5-doc-html qt5-assistant qt5-doc
|
||||||
elif [[ $release =~ bullseye|jammy ]]; then
|
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
|
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
|
else
|
||||||
echo "Unsupported system!"
|
echo "Unsupported system!"
|
||||||
exit
|
exit
|
||||||
fi
|
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
|
sudo chown orangepi:orangepi /usr/lib/aarch64-linux-gnu/qt5/examples -R
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user