mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-01-22 19:16:19 +07:00
Support Orange Pi 3B Linux6.6
This commit is contained in:
parent
2dbd451489
commit
b44a27562b
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"
|
||||
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"
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user