mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-11-23 10:32:45 +07:00
Support RK3588 Orange Pi 5 Plus
This commit is contained in:
@@ -16,6 +16,8 @@ case $BRANCH in
|
||||
|
||||
KERNELBRANCH='branch:orange-pi-5.10-rk3588'
|
||||
KERNELPATCHDIR='rockchip-rk3588-legacy'
|
||||
LINUXCONFIG="linux-rockchip-rk3588-legacy"
|
||||
|
||||
KERNEL_USE_GCC='> 10.0'
|
||||
|
||||
;;
|
||||
@@ -72,6 +74,12 @@ family_tweaks_s() {
|
||||
rsync -a --chown=root:root "${EXTER}"/packages/bsp/rk3588/* ${SDCARD}/
|
||||
fi
|
||||
|
||||
if [[ ${BOARD} == orangepi5plus ]]; then
|
||||
|
||||
rsync -a --chown=root:root "${EXTER}"/packages/bsp/orangepi5plus/* ${SDCARD}/
|
||||
cp /home/orangepi/orangepi-build/external/cache/sources/linuxpg "${SDCARD}"/opt/ -rfa
|
||||
fi
|
||||
|
||||
[[ ${RELEASE} == jammy ]] && rm ${SDCARD}/etc/profile.d/orangepi-ssh-title.sh # for adbd
|
||||
|
||||
if [[ -f "${SDCARD}"/etc/profile.d/im-config_wayland.sh && ${DESKTOP_ENVIRONMENT} =~ xfce|kde-plasma ]]; then
|
||||
@@ -80,6 +88,7 @@ family_tweaks_s() {
|
||||
|
||||
# enable additional services
|
||||
chroot "${SDCARD}" /bin/bash -c "systemctl --no-reload enable usbdevice.service >/dev/null 2>&1"
|
||||
#[[ $BOARD == orangepi5plus ]] && chroot "${SDCARD}" /bin/bash -c "systemctl --no-reload enable pwm-fan.service >/dev/null 2>&1"
|
||||
|
||||
sed "s/^SIZE=.*/SIZE=200M/" -i "${SDCARD}"/etc/default/orangepi-ramlog
|
||||
chroot "${SDCARD}" /bin/bash -c "ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime"
|
||||
|
||||
Reference in New Issue
Block a user