mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-11-24 19:12:45 +07:00
Add orange pi 4/4b support
This commit is contained in:
39
external/config/sources/families/rk3399.conf
vendored
Normal file → Executable file
39
external/config/sources/families/rk3399.conf
vendored
Normal file → Executable file
@@ -2,25 +2,39 @@ source "${BASH_SOURCE%/*}/include/rockchip64_common.inc"
|
||||
|
||||
BOOTPATCHDIR="u-boot-rockchip64-mainline"
|
||||
BOOT_SOC="rk3399"
|
||||
ASOUND_STATE="asound.state.rk3399"
|
||||
BOOTBRANCH="branch:v2020.04-rockchip64"
|
||||
LINUXCONFIG='linux-rk3399-'$BRANCH
|
||||
LINUXFAMILY=rk3399
|
||||
|
||||
case $BRANCH in
|
||||
|
||||
legacy)
|
||||
|
||||
KERNELSOURCE='https://github.com/friendlyarm/kernel-rockchip'
|
||||
KERNELBRANCH='branch:nanopi4-linux-v4.4.y'
|
||||
KERNELDIR="${SRC}/kernel"
|
||||
KERNELCONFIG='linux-rockchip64'
|
||||
KERNELBRANCH='branch:orange-pi-4.4-rockchip64'
|
||||
KERNEL_USE_GCC='> 7.0'
|
||||
KERNEL_COMPILER='aarch64-linux-gnu-'
|
||||
|
||||
if [[ $RELEASE == xenial ]]; then
|
||||
PACKAGE_LIST_FAMILY="bison flex libffi-dev libmount-dev libpcre3 libpcre3-dev zlib1g-dev libssl-dev gtk-doc-tools \
|
||||
automake autoconf libtool gettext make autopoint g++ xz-utils net-tools libasound2-dev \
|
||||
libx11-dev unzip libxext-dev libjpeg62-dev gdisk librtmp-dev libxv-dev libpulse-dev libgl1-mesa-dev libgles2-mesa \
|
||||
v4l-utils libpng16-16 cmake make"
|
||||
|
||||
;;
|
||||
PACKAGE_LIST_FAMILY_REMOVE="gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-pulseaudio \
|
||||
gstreamer1.0-plugins-ugly-amr libgstreamer-plugins-base1.0-0 libgstreamer-plugins-good1.0-0 libgstreamer1.0-0"
|
||||
fi
|
||||
|
||||
;;
|
||||
|
||||
current)
|
||||
|
||||
KERNELBRANCH='branch:orange-pi-5.4-rockchip64'
|
||||
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ $BOARD == roc-rk3399-pc ]]; then
|
||||
|
||||
BOOT_USE_MAINLINE_ATF=yes
|
||||
|
||||
elif [[ $BOARD == nanopim4v2 || $BOARD == orangepi4 ]]; then
|
||||
if [[ $BOARD == orangepi4 ]]; then
|
||||
|
||||
BOOT_USE_BLOBS=yes
|
||||
DDR_BLOB='rk33/rk3399_ddr_933MHz_v1.24.bin'
|
||||
@@ -36,6 +50,11 @@ else
|
||||
|
||||
fi
|
||||
|
||||
family_tweaks_s()
|
||||
{
|
||||
:
|
||||
}
|
||||
|
||||
prepare_boot_configuration
|
||||
|
||||
atf_custom_postprocess()
|
||||
|
||||
Reference in New Issue
Block a user