diff --git a/bsp/phytium/aarch32/README.md b/bsp/phytium/aarch32/README.md index 947c04d6a7..7c07e019b2 100644 --- a/bsp/phytium/aarch32/README.md +++ b/bsp/phytium/aarch32/README.md @@ -20,6 +20,19 @@ chmod +x get_toolchain.py ci.py python3 ./get_toolchain.py arm ``` +- 注:若拉取aarch32交叉编译链失败,请在网站下载压缩包 +```shell +https://github.com/RT-Thread/toolchains-ci/releases/tag/v1.7 +``` +![aarch32_tools](./figures/aarch32_tools.png) + +- 在tools/目录下新建gnu_gcc文件夹,将下载好的压缩包移至该文件夹下,并使用tar命令解压缩 +```shell +mkdir gun_gcc +cd ./gun_gcc +tar jxvf arm-linux-musleabi_for_x86_64-pc-linux-gnu_stable.tar.bz2 +``` + > RT-Thread 5.0 后必须使用这个带 musl-libc 的编译链,不能使用`arm-none-eabi` - 在 aarch32 目录下下载脚本 smart-env.sh ,然后运行脚本生效环境变量 diff --git a/bsp/phytium/aarch32/figures/aarch32_tools.png b/bsp/phytium/aarch32/figures/aarch32_tools.png new file mode 100644 index 0000000000..1fc5f15725 Binary files /dev/null and b/bsp/phytium/aarch32/figures/aarch32_tools.png differ diff --git a/bsp/phytium/aarch64/README.md b/bsp/phytium/aarch64/README.md index eae008b01a..4c85dc8cd9 100644 --- a/bsp/phytium/aarch64/README.md +++ b/bsp/phytium/aarch64/README.md @@ -20,6 +20,19 @@ chmod +x get_toolchain.py ci.py python3 ./get_toolchain.py aarch64 ``` +- 注:若拉取aarch64交叉编译链失败,请在网站下载压缩包 +```shell +https://github.com/RT-Thread/toolchains-ci/releases/tag/v1.7 +``` +![aarch64_tools](./figures/aarch64_tools.png) + +- 在tools/目录下新建gnu_gcc文件夹,将下载好的压缩包移至该文件夹下,并使用tar命令解压缩 +```shell +mkdir gun_gcc +cd ./gun_gcc +tar jxvf aarch64-linux-musleabi_for_x86_64-pc-linux-gnu_stable.tar.bz2 +``` + > RT-Thread 5.0 后必须使用这个带 musl-libc 的编译链,不能使用`aarch64-none-elf` - 在 aarch64 目录下下载脚本 smart_env.sh ,然后运行脚本生效环境变量 diff --git a/bsp/phytium/aarch64/figures/aarch64_tools.png b/bsp/phytium/aarch64/figures/aarch64_tools.png new file mode 100644 index 0000000000..9d5471d2c5 Binary files /dev/null and b/bsp/phytium/aarch64/figures/aarch64_tools.png differ