[bsp/phytium]更新readme说明 (#8381)

This commit is contained in:
zhangyan 2023-12-18 20:27:12 +08:00 committed by GitHub
parent 04b2c81745
commit d92cd77117
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 0 deletions

View File

@ -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 ,然后运行脚本生效环境变量

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@ -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 ,然后运行脚本生效环境变量

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB