sudo apt-get update
sudo apt-get install scons 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
youyeetoo@youyeetoo:~$ tar -zxvf YY3568-Debian11_AMP.tar.gz
youyeetoo@youyeetoo:~$ cd YY3568-Debian11
youyeetoo@youyeetoo:~/YY3568-Debian11$ ./build.sh
loader模式:在Loader模式下,bootloader会进入升级状态,等待主机命令,用于固件升级等。要进入Loader模式,必须让bootloader在启动时检测到RECOVERY(恢复)键按下,且USB处于连接状态。
进入loader模式:
准备工作:板子需要接两个串口:Linux系统(串口2),RT-Thread(串口4)。注意:两个内核的调试串口的波特率:1500000
运行效果: