|
|
6 giorni fa | |
|---|---|---|
| .. | ||
| applications | 3 giorni fa | |
| driver | 3 giorni fa | |
| .config | 3 giorni fa | |
| Kconfig | 3 giorni fa | |
| README.md | 3 giorni fa | |
| README_ZH.md | 3 giorni fa | |
| SConscript | 3 giorni fa | |
| SConstruct | 3 giorni fa | |
| rtconfig.h | 3 giorni fa | |
| rtconfig.py | 3 giorni fa | |
中文页 | English
https://www.rock-chips.com/a/cn/product/RK33xilie/index.html
| SoC | Condition | Earlycon |
|---|---|---|
| RK3399Pro | - | - |
| RK3326 | - | - |
| RK3308 | Support | earlycon=uart8250,mmio32,0xff0a0000 |
| RK3328 | - | - |
| RK3399 | - | - |
Use the RT-Thread Smart dedicated toolchain to compile:
wget https://github.com/RT-Thread/rt-thread/releases/download/v5.2.0/aarch64-linux-musleabi_for_x86_64-pc-linux-gnu_242520-979be38cba.tar.bz2
sudo tar -xf aarch64-linux-musleabi_for_x86_64-pc-linux-gnu_242520-979be38cba.tar.bz2 -C /opt
After downloading, extract the toolchain to the /opt directory.Then configure your environment variables:
export RTT_CC="gcc"
export RTT_EXEC_PATH="/opt/aarch64-linux-musleabi_for_x86_64-pc-linux-gnu/bin/"
export RTT_CC_PREFIX="aarch64-linux-musleabi-"
export PATH="$RTT_EXEC_PATH:$PATH"
Navigate to the rt-thread/bsp/rockchip/rk3300 directory and enter:
scons --menuconfig
Select and pull the zlib package in the menu:

Then run the following commands to fetch packages and build the project:
source ~/.env/tools/scripts/pkgs --update
scons