一、 Download source code
二、 Decompress source code
cat YY3568-Android11.tar.gz0* | tar -xzv
cd YY3568-Android11
.repo/repo/repo sync -l
sudo apt-get update
sudo apt-get install git gnupg flex bison gperf libsdl1.2-dev \
libesd-java libwxgtk3.0-dev squashfs-tools build-essential zip curl \
libncurses5-dev zlib1g-dev pngcrush schedtool libxml2 libxml2-utils \
xsltproc lzop libc6-dev schedtool g++-multilib lib32z1-dev lib32ncurses5-dev \
lib32readline-dev gcc-multilib libswitch-perl libssl-dev unzip zip device-tree-compiler \
liblz4-tool python-pyelftools python3-pyelftools -y
cd YY3568-Android11
vim kernel/arch/arm64/boot/dts/rockchip/rk3568-evb1-ddr4-v10.dts
#Find #define DISPLAY_ SWITCH 0/* 0: DSI0 1: DSI1 2: EDP */This line
#Change to # define DISPLAY according to your own needs_ SWITCH 0 or # define DISPLAY_ SWITCH 1
source build/envsetup.sh
lunch YY3568-userdebug
./build.sh -UKAu
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
sudo apt update
apt-cache policy docker-ce
sudo apt install docker-ce
sudo groupadd docker
sudo usermod -aG docker $USER
sudo reboot
sudo systemctl status docker
./docker/docker-start.sh
cd YY3568-Android11
vim kernel/arch/arm64/boot/dts/rockchip/rk3568-evb1-ddr4-v10.dts
#Find #define DISPLAY_ SWITCH 0/* 0: DSI0 1: DSI1 2: EDP */This line
#Change to # define DISPLAY according to your own needs_ SWITCH 0 or # define DISPLAY_ SWITCH 1
source build/envsetup.sh
lunch YY3568-userdebug
./build.sh -UKAu
一、 Download source code
二、 Decompress source code
cat YY3568-Debian10.tar.gz.0* | tar -xzv
cd YY3568-Debian
git reset --hard HEAD
sudo apt-get install repo git ssh make gcc libssl-dev liblz4-tool \
expect g++ patchelf chrpath gawk texinfo chrpath diffstat binfmt-support \
qemu-user-static live-build bison flex fakeroot cmake gcc-multilib g++-multilib
unzip \
device-tree-compiler python-pip ncurses-dev pyelftools \
./build.sh YY3568-Debian10.mk
./build.sh
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
sudo apt update
apt-cache policy docker-ce
sudo apt install docker-ce
sudo groupadd docker
sudo usermod -aG docker $USER
sudo reboot
sudo systemctl status docker
./docker/docker-start.sh
./build.sh YY3568-Debian10.mk
./build.sh