20251028在Ubuntu20.04.6上编译AIO-3576Q38开发板的Buildroot系统

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK sudo apt-get install libassimp-dev rootroot@rootroot-X99-Turbo:\~ cd Linux_SDK/
rootroot@rootroot-X99-Turbo:~/Linux_SDK cd base-v1.0.1c/ rootroot@rootroot-X99-Turbo:\~/Linux_SDK/base-v1.0.1c chmod 777 sdk_tools.sh
rootroot@rootroot-X99-Turbo:~/Linux_SDK/base-v1.0.1c mkdir ../Firefly_SDK rootroot@rootroot-X99-Turbo:\~/Linux_SDK/base-v1.0.1c ./sdk_tools.sh --unpack -C ../Firefly_SDK
rootroot@rootroot-X99-Turbo:~/Linux_SDK/base-v1.0.1c ./sdk_tools.sh --sync -C ../Firefly_SDK rootroot@rootroot-X99-Turbo:\~/Linux_SDK/base-v1.0.1c cd ..
rootroot@rootroot-X99-Turbo:~/Linux_SDK cd Firefly_SDK rootroot@rootroot-X99-Turbo:\~/Linux_SDK/Firefly_SDK ll *.7z
-rwx------ 1 rootroot rootroot 25506 10月 22 14:06 rk3576-v1.0.1c-to-v1.0.1d.7z*
-rwx------ 1 rootroot rootroot 179405810 10月 22 14:08 rk3576-v1.0.1d-to-v1.0.1g.7z*
-rwx------ 1 rootroot rootroot 607340352 10月 22 14:13 rk3576-v1.0.1g-to-v1.0.1h.7z*
rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK rootroot@rootroot-X99-Turbo:\~/Linux_SDK/Firefly_SDK 7z x rk3576-v1.0.1c-to-v1.0.1d.7z
rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK 7z x rk3576-v1.0.1d-to-v1.0.1g.7z rootroot@rootroot-X99-Turbo:\~/Linux_SDK/Firefly_SDK 7z x rk3576-v1.0.1g-to-v1.0.1h.7z
rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK ll rootroot@rootroot-X99-Turbo:\~/Linux_SDK/Firefly_SDK ./rk3576-v1.0.1c-to-v1.0.1d/bundle_update.sh
rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK ./rk3576-v1.0.1d-to-v1.0.1g/bundle_update.sh rootroot@rootroot-X99-Turbo:\~/Linux_SDK/Firefly_SDK ./rk3576-v1.0.1g-to-v1.0.1h/bundle_update.sh

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ ln -s .chips/rk3576/ .chip

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK ./build.sh lunch 8. firefly_rk3576_aio-3576q38_buildroot_defconfig Which would you like? \[1\]: 8 rootroot@rootroot-X99-Turbo:\~/Linux_SDK/Firefly_SDK ./build.sh all

【编译打包后的IMG固件!】
rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ cd output/update/
-rw-rw-r-- 1 rootroot rootroot 1968349827 10月 28 15:10 AIO-3576Q38_Buildroot_251028.img

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK/output/update$

20251028在Ubuntu20.04.6上编译AIO-3576Q38开发板的Buildroot系统

2025/10/28 15:45

缘起:对AIO-3576Q38开发板的WIFI模块AP6256进行性能摸底,那就跑半小时的iperf3了!

【一般性测试/非精确】实测网速【平均值】:87.8 Mbits/sec

编译firefly的AIO-3576Q38开发板的Android14。

开动!

https://www.t-firefly.com/doc/download/320.html

AIO-3576C

源代码

https://pan.baidu.com/s/1mGkGxlxodHedXJZqLKRRRg?pwd=1234

Android14.0 bundle

提取码:1234

https://wiki.t-firefly.com/zh_CN/AIO-3576Q38/android_compile_android14.0_firmware.html

AIO-3576Q38

  1. 编译 Android14.0 固件

3.1. 下载 Android14.0 SDK

SDK 源码与 bundle 压缩包均存放在云盘中。如有需要请联系商务 : sales@t-firefly.com

https://wiki.t-firefly.com/zh_CN/AIO-3576C/linux_compile.html

https://wiki.t-firefly.com/zh_CN/AIO-3576Q38/linux_compile.html

1.3.2. 编译前配置

执行 ./build.sh lunch 列出所有可用的配置文件,输入编号选择对应的配置文件,注意要选择带有 ubuntu 字样的配置文件:

./build.sh lunch

############### Rockchip Linux SDK ###############

Manifest: rk3576_linux_release_20250520_v1.0.1f.xml

Log colors: message notice warning error fatal

Log saved at /home2/liuth/project/linux/rk3576/output/sessions/2025-08-06_15-27-20

Pick a defconfig:

  1. rockchip_defconfig

  2. firefly_rk3576_aio-3576c_buildroot_defconfig

  3. firefly_rk3576_aio-3576c_debian_defconfig

  4. firefly_rk3576_aio-3576c_ubuntu_defconfig

  5. firefly_rk3576_aio-3576jd4_buildroot_defconfig

  6. firefly_rk3576_aio-3576jd4_debian_defconfig

  7. firefly_rk3576_aio-3576jd4_ubuntu_defconfig

......

......

  1. firefly_rk3576_roc-rk3576-pc_buildroot_defconfig

  2. firefly_rk3576_roc-rk3576-pc_debian_defconfig

  3. firefly_rk3576_roc-rk3576-pc_ubuntu_defconfig

  4. rockchip_rk3576_evb1_v10_defconfig

  5. rockchip_rk3576_industry_evb_v10_defconfig

  6. rockchip_rk3576_iotest_v10_defconfig

  7. rockchip_rk3576_ipc_evb1_v10_defconfig

  8. rockchip_rk3576_multi_ipc_evb1_v10_defconfig

  9. rockchip_rk3576_test1_v10_defconfig

  10. rockchip_rk3576_test2_v10_defconfig

  11. rockchip_rk3576_vehicle_evb_v10_defconfig

  12. rockchip_rk3576_vehicle_evb_v20_mos_defconfig

Which would you like? [1]:

1.3.3. 编译

1.3.3.1. 完整编译

执行如下命令即可

./build.sh all

编译完成后会生成完整固件 output/update/update.img

Z:\Linux_SDK\readme_cn.md

环境需求

x86_64 Ubuntu20.04 PC (or x86_64 Ubuntu20.04 docker)

解压

* 第 1 步: 下载 base 文件夹中的所有文件。检查压缩分卷的 md5 值

* 第 2 步: 解压 SDK
```bash
chmod +x ./sdk_tools.sh
mkdir ../Firefly_SDK
./sdk_tools.sh --unpack -C ../Firefly_SDK
./sdk_tools.sh --sync -C ../Firefly_SDK
```

更新 SDK

```bash

下载云盘的 bundle 文件夹里的 bundle 文件。

例如:把 sdk 从 v1.0.3c 更新到 v1.0.3d 。必须打入基础版本到目标版本的所有 bundle。

mv rk3576-v1.0.1c-to-v1.0.1d.7z ./Firefly_SDK/
cd ./Firefly_SDK/
7z x rk3576-v1.0.1c-to-v1.0.1d.7z
./rk3576-v1.0.1c-to-v1.0.1d/bundle_update.sh
```

编译

https://www.t-firefly.com/wiki

精简版本的步骤:

rootroot@rootroot-X99-Turbo:~$ cd Linux_SDK/

rootroot@rootroot-X99-Turbo:~/Linux_SDK$ ll

rootroot@rootroot-X99-Turbo:~/Linux_SDK$ cd base-v1.0.1c/

rootroot@rootroot-X99-Turbo:~/Linux_SDK/base-v1.0.1c$ ll

rootroot@rootroot-X99-Turbo:~/Linux_SDK/base-v1.0.1c$ chmod 777 sdk_tools.sh

rootroot@rootroot-X99-Turbo:~/Linux_SDK/base-v1.0.1c$ ll

rootroot@rootroot-X99-Turbo:~/Linux_SDK/base-v1.0.1c$ mkdir ../Firefly_SDK

rootroot@rootroot-X99-Turbo:~/Linux_SDK/base-v1.0.1c$ ./sdk_tools.sh --unpack -C ../Firefly_SDK

rootroot@rootroot-X99-Turbo:~/Linux_SDK/base-v1.0.1c$ ./sdk_tools.sh --sync -C ../Firefly_SDK

rootroot@rootroot-X99-Turbo:~/Linux_SDK/base-v1.0.1c$ ll

rootroot@rootroot-X99-Turbo:~/Linux_SDK/base-v1.0.1c$ cd ..

rootroot@rootroot-X99-Turbo:~/Linux_SDK$ du -sh Firefly_SDK/

rootroot@rootroot-X99-Turbo:~/Linux_SDK$ ll

rootroot@rootroot-X99-Turbo:~/Linux_SDK$ cd Firefly_SDK

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ du -sh

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ du -sh .repo/

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ ll

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ ll *.7z

-rwx------ 1 rootroot rootroot 25506 10月 22 14:06 rk3576-v1.0.1c-to-v1.0.1d.7z*

-rwx------ 1 rootroot rootroot 179405810 10月 22 14:08 rk3576-v1.0.1d-to-v1.0.1g.7z*

-rwx------ 1 rootroot rootroot 607340352 10月 22 14:13 rk3576-v1.0.1g-to-v1.0.1h.7z*

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ 7z x rk3576-v1.0.1c-to-v1.0.1d.7z

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ 7z x rk3576-v1.0.1d-to-v1.0.1g.7z

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ 7z x rk3576-v1.0.1g-to-v1.0.1h.7z

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ ll

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ ./rk3576-v1.0.1c-to-v1.0.1d/bundle_update.sh

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ ./rk3576-v1.0.1d-to-v1.0.1g/bundle_update.sh

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ ./rk3576-v1.0.1g-to-v1.0.1h/bundle_update.sh

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ ln -s .chips/rk3576/ .chip

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ ./build.sh lunch

  1. firefly_rk3576_aio-3576q38_buildroot_defconfig

Which would you like? [1]: 8

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ ./build.sh all

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ cd output/update/

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK/output/update$ ll

total 1922236

drwxrwxr-x 3 rootroot rootroot 4096 10月 28 15:10 ./

drwxrwxr-x 10 rootroot rootroot 4096 10月 28 15:10 ../

-rw-rw-r-- 1 rootroot rootroot 1968349827 10月 28 15:10 AIO-3576Q38_Buildroot_251028.img

drwxrwxr-x 2 rootroot rootroot 4096 10月 28 15:10 Image/

lrwxrwxrwx 1 rootroot rootroot 18 10月 28 15:10 package-file -> Image/package-file

lrwxrwxrwx 1 rootroot rootroot 16 10月 28 15:10 update.img -> Image/update.img

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK/output/update$

详细的LOG:

rootroot@rootroot-X99-Turbo:~$

rootroot@rootroot-X99-Turbo:~$ cd Linux_SDK/

rootroot@rootroot-X99-Turbo:~/Linux_SDK$ ll

total 32

drwx------ 4 rootroot rootroot 4096 10月 24 11:39 ./

drwxr-xr-x 49 rootroot rootroot 12288 10月 24 11:42 ../

drwx------ 3 rootroot rootroot 4096 10月 24 11:37 base-v1.0.1c/

drwx------ 2 rootroot rootroot 4096 10月 24 11:39 bundle/

-rwx------ 1 rootroot rootroot 711 10月 22 14:06 readme_cn.md*

-rwx------ 1 rootroot rootroot 756 10月 22 14:06 readme_en.md*

rootroot@rootroot-X99-Turbo:~/Linux_SDK$

rootroot@rootroot-X99-Turbo:~/Linux_SDK$

rootroot@rootroot-X99-Turbo:~/Linux_SDK$ cd base-v1.0.1c/

rootroot@rootroot-X99-Turbo:~/Linux_SDK/base-v1.0.1c$ ll

total 24

drwx------ 3 rootroot rootroot 4096 10月 24 11:37 ./

drwx------ 4 rootroot rootroot 4096 10月 24 11:39 ../

drwx------ 2 rootroot rootroot 4096 10月 24 11:39 linux_sdk_tar/

-rwx------ 1 rootroot rootroot 490 10月 22 14:06 md5sum.txt*

-rwx------ 1 rootroot rootroot 8184 10月 22 14:06 sdk_tools.sh*

rootroot@rootroot-X99-Turbo:~/Linux_SDK/base-v1.0.1c rootroot@rootroot-X99-Turbo:\~/Linux_SDK/base-v1.0.1c chmod 777 sdk_tools.sh

rootroot@rootroot-X99-Turbo:~/Linux_SDK/base-v1.0.1c$ ll

total 24

drwx------ 3 rootroot rootroot 4096 10月 24 11:37 ./

drwx------ 4 rootroot rootroot 4096 10月 24 11:39 ../

drwx------ 2 rootroot rootroot 4096 10月 24 11:39 linux_sdk_tar/

-rwx------ 1 rootroot rootroot 490 10月 22 14:06 md5sum.txt*
-rwxrwxrwx 1 rootroot rootroot 8184 10月 22 14:06 sdk_tools.sh*

rootroot@rootroot-X99-Turbo:~/Linux_SDK/base-v1.0.1c$

rootroot@rootroot-X99-Turbo:~/Linux_SDK/base-v1.0.1c rootroot@rootroot-X99-Turbo:\~/Linux_SDK/base-v1.0.1c mkdir ../Firefly_SDK
rootroot@rootroot-X99-Turbo:~/Linux_SDK/base-v1.0.1c rootroot@rootroot-X99-Turbo:\~/Linux_SDK/base-v1.0.1c ./sdk_tools.sh --unpack -C ../Firefly_SDK
Start checking MD5
linux_sdk_tar/rk3576_linux_release_20241217_v1.0.1c.sdk.split00: check MD5 success
linux_sdk_tar/rk3576_linux_release_20241217_v1.0.1c.sdk.split01: check MD5 success
linux_sdk_tar/rk3576_linux_release_20241217_v1.0.1c.sdk.split02: check MD5 success
linux_sdk_tar/rk3576_linux_release_20241217_v1.0.1c.sdk.split03: check MD5 success
linux_sdk_tar/rk3576_linux_release_20241217_v1.0.1c.sdk.split04: check MD5 success

Unpack linux sdk:

.repo/

.repo/project-objects/

.repo/project-objects/prebuilts/

.repo/project-objects/prebuilts/gcc/

.repo/project-objects/prebuilts/gcc/linux-x86/

.repo/project-objects/prebuilts/gcc/linux-x86/aarch64/

.repo/project-objects/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu.git/

.repo/project-objects/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu.git/hooks/

rootroot@rootroot-X99-Turbo:~/Linux_SDK/base-v1.0.1c$ ./sdk_tools.sh --sync -C ../Firefly_SDK
I: Running command: pushd ../Firefly_SDK
~/Linux_SDK/Firefly_SDK ~/Linux_SDK/base-v1.0.1c
Success
I: Running command: .repo/repo/repo sync -l
Updating files: 100% (19835/19835), done.files: 60% (12060/19835)
Updating files: 100% (997/997), done.ing files: 30% (307/997)
Updating files: 100% (259/259), done.ing files: 30% (79/259)
Updating files: 100% (106/106), done.ting files: 89% (95/106)
Updating files: 100% (324/324), done.ting files: 97% (315/324)
Updating files: 100% (3773/3773), done.ng files: 17% (673/3773)
Updating files: 100% (178/178), done.ting files: 33% (59/178)
Updating files: 100% (272/272), done.ting files: 8% (22/272)
Updating files: 100% (1183/1183), done.ng files: 0% (11/1183)
Updating files: 100% (5756/5756), done.ng files: 88% (5102/5756)
Updating files: 100% (84097/84097), done. files: 10% (8831/84097)
Updating files: 100% (5939/5939), done.ng files: 18% (1080/5939)
Updating files: 100% (5722/5722), done.ng files: 16% (918/5722)
Updating files: 100% (260/260), done.ting files: 50% (131/260)
Updating files: 100% (13906/13906), done. files: 75% (10534/13906)
Syncing work tree: 100% (58/58), done.

Success

I: Running command: .repo/repo/repo start firefly --all

Success

I: Running command: pushd

~/Linux_SDK/base-v1.0.1c ~/Linux_SDK/Firefly_SDK

Success

rootroot@rootroot-X99-Turbo:~/Linux_SDK/base-v1.0.1c$ ll

total 24

drwx------ 3 rootroot rootroot 4096 10月 24 11:37 ./

drwx------ 5 rootroot rootroot 4096 10月 24 11:43 ../

drwx------ 2 rootroot rootroot 4096 10月 24 11:39 linux_sdk_tar/

-rwx------ 1 rootroot rootroot 490 10月 22 14:06 md5sum.txt*

-rwxrwxrwx 1 rootroot rootroot 8184 10月 22 14:06 sdk_tools.sh*

rootroot@rootroot-X99-Turbo:~/Linux_SDK/base-v1.0.1c$

rootroot@rootroot-X99-Turbo:~/Linux_SDK/base-v1.0.1c$

rootroot@rootroot-X99-Turbo:~/Linux_SDK/base-v1.0.1c$ cd ..

rootroot@rootroot-X99-Turbo:~/Linux_SDK$ ll

total 36

drwx------ 5 rootroot rootroot 4096 10月 24 11:43 ./

drwxr-xr-x 49 rootroot rootroot 12288 10月 24 11:42 ../

drwx------ 3 rootroot rootroot 4096 10月 24 11:37 base-v1.0.1c/

drwx------ 2 rootroot rootroot 4096 10月 24 11:39 bundle/

drwxrwxr-x 14 rootroot rootroot 4096 10月 24 11:46 Firefly_SDK/

-rwx------ 1 rootroot rootroot 711 10月 22 14:06 readme_cn.md*

-rwx------ 1 rootroot rootroot 756 10月 22 14:06 readme_en.md*

rootroot@rootroot-X99-Turbo:~/Linux_SDK$ du -sh Firefly_SDK/

30G Firefly_SDK/

rootroot@rootroot-X99-Turbo:~/Linux_SDK$ ll

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ du -sh

30G .

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ du -sh .repo/

17G .repo/

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ ll

total 768400

drwxrwxr-x 14 rootroot rootroot 4096 10月 24 11:51 ./

drwx------ 5 rootroot rootroot 4096 10月 24 11:43 ../

drwxrwxr-x 7 rootroot rootroot 4096 10月 24 11:44 app/

drwxrwxr-x 17 rootroot rootroot 4096 10月 24 11:44 buildroot/

lrwxrwxrwx 1 rootroot rootroot 39 10月 24 11:44 build.sh -> device/rockchip/common/scripts/build.sh*

drwxrwxr-x 3 rootroot rootroot 4096 10月 24 11:44 device/

drwxrwxr-x 7 rootroot rootroot 4096 10月 24 11:44 docs/

drwxrwxr-x 33 rootroot rootroot 4096 10月 24 11:45 external/

lrwxrwxrwx 1 rootroot rootroot 49 10月 24 11:44 firefly-release.sh -> device/rockchip/common/scripts/firefly-release.sh*

lrwxrwxrwx 1 rootroot rootroot 48 10月 24 11:44 firefly-update.sh -> device/rockchip/common/scripts/firefly-update.sh*

drwxrwxr-x 27 rootroot rootroot 4096 10月 24 11:46 kernel/

lrwxrwxrwx 1 rootroot rootroot 31 10月 24 11:44 Makefile -> device/rockchip/common/Makefile

drwxrwxr-x 3 rootroot rootroot 4096 10月 24 11:46 prebuilts/

drwxrwxr-x 7 rootroot rootroot 4096 12月 17 2024 .repo/

-rwx------ 1 rootroot rootroot 25506 10月 22 14:06 rk3576-v1.0.1c-to-v1.0.1d.7z*

-rwx------ 1 rootroot rootroot 179405810 10月 22 14:08 rk3576-v1.0.1d-to-v1.0.1g.7z*

-rwx------ 1 rootroot rootroot 607340352 10月 22 14:13 rk3576-v1.0.1g-to-v1.0.1h.7z*

drwxrwxr-x 10 rootroot rootroot 4096 10月 24 11:46 rkbin/

lrwxrwxrwx 1 rootroot rootroot 41 10月 24 11:44 rkflash.sh -> device/rockchip/common/scripts/rkflash.sh*

drwxrwxr-x 6 rootroot rootroot 4096 10月 24 11:46 tools/

drwxrwxr-x 25 rootroot rootroot 4096 10月 24 11:46 u-boot/

drwxrwxr-x 9 rootroot rootroot 4096 10月 24 11:46 yocto/

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ ll *.7z

-rwx------ 1 rootroot rootroot 25506 10月 22 14:06 rk3576-v1.0.1c-to-v1.0.1d.7z*

-rwx------ 1 rootroot rootroot 179405810 10月 22 14:08 rk3576-v1.0.1d-to-v1.0.1g.7z*

-rwx------ 1 rootroot rootroot 607340352 10月 22 14:13 rk3576-v1.0.1g-to-v1.0.1h.7z*

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK rootroot@rootroot-X99-Turbo:\~/Linux_SDK/Firefly_SDK 7z x rk3576-v1.0.1c-to-v1.0.1d.7z

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21

p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,24 CPUs Genuine Intel(R) CPU @ 2.00GHz (306F1),ASM,AES-NI)

Scanning the drive for archives:

1 file, 25506 bytes (25 KiB)

Extracting archive: rk3576-v1.0.1c-to-v1.0.1d.7z

--

Path = rk3576-v1.0.1c-to-v1.0.1d.7z

Type = 7z

Physical Size = 25506

Headers Size = 384

Method = LZMA2:15

Solid = +

Blocks = 1

Everything is Ok

Folders: 7

Files: 6

Size: 29155

Compressed: 25506

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK rootroot@rootroot-X99-Turbo:\~/Linux_SDK/Firefly_SDK 7z x rk3576-v1.0.1d-to-v1.0.1g.7z

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21

p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,24 CPUs Genuine Intel(R) CPU @ 2.00GHz (306F1),ASM,AES-NI)

Scanning the drive for archives:

1 file, 179405810 bytes (172 MiB)

Extracting archive: rk3576-v1.0.1d-to-v1.0.1g.7z

--

Path = rk3576-v1.0.1d-to-v1.0.1g.7z

Type = 7z

Physical Size = 179405810

Headers Size = 360

Method = LZMA2:24

Solid = +

Blocks = 1

Everything is Ok

Folders: 5

Files: 5

Size: 181199599

Compressed: 179405810

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ ll

total 768408

drwxrwxr-x 16 rootroot rootroot 4096 10月 24 11:51 ./

drwx------ 5 rootroot rootroot 4096 10月 24 11:43 ../

drwxrwxr-x 7 rootroot rootroot 4096 10月 24 11:44 app/

drwxrwxr-x 17 rootroot rootroot 4096 10月 24 11:44 buildroot/

lrwxrwxrwx 1 rootroot rootroot 39 10月 24 11:44 build.sh -> device/rockchip/common/scripts/build.sh*

drwxrwxr-x 3 rootroot rootroot 4096 10月 24 11:44 device/

drwxrwxr-x 7 rootroot rootroot 4096 10月 24 11:44 docs/

drwxrwxr-x 33 rootroot rootroot 4096 10月 24 11:45 external/

lrwxrwxrwx 1 rootroot rootroot 49 10月 24 11:44 firefly-release.sh -> device/rockchip/common/scripts/firefly-release.sh*

lrwxrwxrwx 1 rootroot rootroot 48 10月 24 11:44 firefly-update.sh -> device/rockchip/common/scripts/firefly-update.sh*

drwxrwxr-x 27 rootroot rootroot 4096 10月 24 11:46 kernel/

lrwxrwxrwx 1 rootroot rootroot 31 10月 24 11:44 Makefile -> device/rockchip/common/Makefile

drwxrwxr-x 3 rootroot rootroot 4096 10月 24 11:46 prebuilts/

drwxrwxr-x 7 rootroot rootroot 4096 12月 17 2024 .repo/

drwxrwxr-x 6 rootroot rootroot 4096 2月 20 2025 rk3576-v1.0.1c-to-v1.0.1d/

-rwx------ 1 rootroot rootroot 25506 10月 22 14:06 rk3576-v1.0.1c-to-v1.0.1d.7z*

drwxrwxr-x 5 rootroot rootroot 4096 9月 23 10:56 rk3576-v1.0.1d-to-v1.0.1g/

-rwx------ 1 rootroot rootroot 179405810 10月 22 14:08 rk3576-v1.0.1d-to-v1.0.1g.7z*

-rwx------ 1 rootroot rootroot 607340352 10月 22 14:13 rk3576-v1.0.1g-to-v1.0.1h.7z*

drwxrwxr-x 10 rootroot rootroot 4096 10月 24 11:46 rkbin/

lrwxrwxrwx 1 rootroot rootroot 41 10月 24 11:44 rkflash.sh -> device/rockchip/common/scripts/rkflash.sh*

drwxrwxr-x 6 rootroot rootroot 4096 10月 24 11:46 tools/

drwxrwxr-x 25 rootroot rootroot 4096 10月 24 11:46 u-boot/

drwxrwxr-x 9 rootroot rootroot 4096 10月 24 11:46 yocto/

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK rootroot@rootroot-X99-Turbo:\~/Linux_SDK/Firefly_SDK 7z x rk3576-v1.0.1g-to-v1.0.1h.7z

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21

p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,24 CPUs Genuine Intel(R) CPU @ 2.00GHz (306F1),ASM,AES-NI)

Scanning the drive for archives:

1 file, 607340352 bytes (580 MiB)

Extracting archive: rk3576-v1.0.1g-to-v1.0.1h.7z

--

Path = rk3576-v1.0.1g-to-v1.0.1h.7z

Type = 7z

Physical Size = 607340352

Headers Size = 481

Method = LZMA2:24

Solid = +

Blocks = 1

Everything is Ok

Folders: 11

Files: 9

Size: 613389994

Compressed: 607340352

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ ll

total 768412

drwxrwxr-x 17 rootroot rootroot 4096 10月 24 11:52 ./

drwx------ 5 rootroot rootroot 4096 10月 24 11:43 ../

drwxrwxr-x 7 rootroot rootroot 4096 10月 24 11:44 app/

drwxrwxr-x 17 rootroot rootroot 4096 10月 24 11:44 buildroot/

lrwxrwxrwx 1 rootroot rootroot 39 10月 24 11:44 build.sh -> device/rockchip/common/scripts/build.sh*

drwxrwxr-x 3 rootroot rootroot 4096 10月 24 11:44 device/

drwxrwxr-x 7 rootroot rootroot 4096 10月 24 11:44 docs/

drwxrwxr-x 33 rootroot rootroot 4096 10月 24 11:45 external/

lrwxrwxrwx 1 rootroot rootroot 49 10月 24 11:44 firefly-release.sh -> device/rockchip/common/scripts/firefly-release.sh*

lrwxrwxrwx 1 rootroot rootroot 48 10月 24 11:44 firefly-update.sh -> device/rockchip/common/scripts/firefly-update.sh*

drwxrwxr-x 27 rootroot rootroot 4096 10月 24 11:46 kernel/

lrwxrwxrwx 1 rootroot rootroot 31 10月 24 11:44 Makefile -> device/rockchip/common/Makefile

drwxrwxr-x 3 rootroot rootroot 4096 10月 24 11:46 prebuilts/

drwxrwxr-x 7 rootroot rootroot 4096 12月 17 2024 .repo/

drwxrwxr-x 6 rootroot rootroot 4096 2月 20 2025 rk3576-v1.0.1c-to-v1.0.1d/

-rwx------ 1 rootroot rootroot 25506 10月 22 14:06 rk3576-v1.0.1c-to-v1.0.1d.7z*

drwxrwxr-x 5 rootroot rootroot 4096 9月 23 10:56 rk3576-v1.0.1d-to-v1.0.1g/

-rwx------ 1 rootroot rootroot 179405810 10月 22 14:08 rk3576-v1.0.1d-to-v1.0.1g.7z*

drwxrwxr-x 8 rootroot rootroot 4096 10月 22 11:05 rk3576-v1.0.1g-to-v1.0.1h/

-rwx------ 1 rootroot rootroot 607340352 10月 22 14:13 rk3576-v1.0.1g-to-v1.0.1h.7z*

drwxrwxr-x 10 rootroot rootroot 4096 10月 24 11:46 rkbin/

lrwxrwxrwx 1 rootroot rootroot 41 10月 24 11:44 rkflash.sh -> device/rockchip/common/scripts/rkflash.sh*

drwxrwxr-x 6 rootroot rootroot 4096 10月 24 11:46 tools/

drwxrwxr-x 25 rootroot rootroot 4096 10月 24 11:46 u-boot/

drwxrwxr-x 9 rootroot rootroot 4096 10月 24 11:46 yocto/

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK rootroot@rootroot-X99-Turbo:\~/Linux_SDK/Firefly_SDK ./rk3576-v1.0.1c-to-v1.0.1d/bundle_update.sh

#####################################################

#####################################################

PRO: /home/rootroot/Linux_SDK/Firefly_SDK/external/security/rk_tee_user

#####################################################

CMD: git branch

* firefly

PAS: 0

CMD: git tag rk3576/linux_release_v1.0.1d rk3576/linux_release_v1.0.1c

PAS: 0

#####################################################

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ ./rk3576-v1.0.1d-to-v1.0.1g/bundle_update.sh

Not such Overlay List, SKIP

#####################################################

#####################################################

PRO: /home/rootroot/Linux_SDK/Firefly_SDK/external/security/rk_tee_user

#####################################################

CMD: git branch

* firefly

PAS: 0

CMD: git tag rk3576/linux_release_v1.0.1g rk3576/linux_release_v1.0.1d

PAS: 0

#####################################################

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ ./rk3576-v1.0.1g-to-v1.0.1h/bundle_update.sh

Not such Overlay List, SKIP

#####################################################

#####################################################

PRO: /home/rootroot/Linux_SDK/Firefly_SDK/external/security/rk_tee_user

#####################################################

CMD: git branch

* firefly

PAS: 0

CMD: git tag rk3576/linux_release_v1.0.1h rk3576/linux_release_v1.0.1g

PAS: 0

#####################################################

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ ln -s .chips/rk3576/ .chip

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK rootroot@rootroot-X99-Turbo:\~/Linux_SDK/Firefly_SDK ./build.sh lunch

Log colors: message notice warning error fatal

Log saved at /home/rootroot/Linux_SDK/Firefly_SDK/output/sessions/2025-10-24_11-59-19

Pick a defconfig:

  1. rockchip_defconfig

  2. firefly_rk3576_aio-3576c_buildroot_defconfig

  3. firefly_rk3576_aio-3576c_debian_defconfig

  4. firefly_rk3576_aio-3576c_ubuntu_defconfig

  5. firefly_rk3576_aio-3576jd4_buildroot_defconfig

  6. firefly_rk3576_aio-3576jd4_debian_defconfig

  7. firefly_rk3576_aio-3576jd4_ubuntu_defconfig

  8. firefly_rk3576_aio-3576q38_buildroot_defconfig

  9. firefly_rk3576_aio-3576q38_debian_defconfig

  10. firefly_rk3576_aio-3576q38_ubuntu_defconfig

  11. firefly_rk3576_aio-3576q_buildroot_defconfig

  12. firefly_rk3576_aio-3576q_debian_defconfig

  13. firefly_rk3576_aio-3576q_ubuntu_defconfig

  14. firefly_rk3576_cs-b1-3576-jd4-sub-minimal_buildroot_defconfig

  15. firefly_rk3576_cs-b1-3576-jd4-sub-minimal_debian_defconfig

  16. firefly_rk3576_cs-b1-3576-jd4-sub-minimal_ubuntu_defconfig

  17. firefly_rk3576_ext-icore-3576q38_buildroot_defconfig

  18. firefly_rk3576_ext-icore-3576q38_debian_defconfig

  19. firefly_rk3576_ext-icore-3576q38_ubuntu_defconfig

  20. firefly_rk3576_gs1-n1-3576jd4_buildroot_defconfig

  21. firefly_rk3576_gs1-n1-3576jd4_debian_defconfig

  22. firefly_rk3576_gs1-n1-3576jd4_ubuntu_defconfig

  23. firefly_rk3576_gs1-n2-3576jd4-res_debian_defconfig

  24. firefly_rk3576_gs1-n2-3576jd4_buildroot_defconfig

  25. firefly_rk3576_gs1-n2-3576jd4_debian_defconfig

  26. firefly_rk3576_gs1-n2-3576jd4_ubuntu_defconfig

  27. firefly_rk3576_rk3576-aibox_buildroot_defconfig

  28. firefly_rk3576_rk3576-aibox_debian_defconfig

  29. firefly_rk3576_rk3576-aibox_ubuntu_defconfig

  30. firefly_rk3576_roc-rk3576-pc-ext_buildroot_defconfig

  31. firefly_rk3576_roc-rk3576-pc-ext_debian_defconfig

  32. firefly_rk3576_roc-rk3576-pc-ext_ubuntu_defconfig

  33. firefly_rk3576_roc-rk3576-pc_buildroot_defconfig

  34. firefly_rk3576_roc-rk3576-pc_debian_defconfig

  35. firefly_rk3576_roc-rk3576-pc_ubuntu_defconfig

  36. rockchip_rk3576_evb1_v10_defconfig

  37. rockchip_rk3576_industry_evb_v10_defconfig

  38. rockchip_rk3576_iotest_v10_defconfig

  39. rockchip_rk3576_ipc_evb1_v10_defconfig

  40. rockchip_rk3576_multi_ipc_evb1_v10_defconfig

  41. rockchip_rk3576_test1_v10_defconfig

  42. rockchip_rk3576_test2_v10_defconfig

  43. rockchip_rk3576_vehicle_evb_v10_defconfig

  44. rockchip_rk3576_vehicle_evb_v20_mos_defconfig
    Which would you like? [1]: 8

Switching to defconfig: /home/rootroot/Linux_SDK/Firefly_SDK/device/rockchip/.chip/firefly_rk3576_aio-3576q38_buildroot_defconfig

Parsing defconfig: firefly_rk3576_aio-3576q38_buildroot_defconfig

Using ./firefly.config as base

Merging firefly_rk3576_aio-3576q38_buildroot_defconfig

Value of RK_KERNEL_DTS_NAME is redefined by firefly_rk3576_aio-3576q38_buildroot_defconfig:

Previous value: RK_KERNEL_DTS_NAME="rk3576-firefly-roc-rk3576-pc"

New value: RK_KERNEL_DTS_NAME="rk3576-firefly-aio-3576q38"

Value of RK_PRODUCT_MODEL is redefined by firefly_rk3576_aio-3576q38_buildroot_defconfig:

Previous value: RK_PRODUCT_MODEL="ROC-RK3576-PC"

New value: RK_PRODUCT_MODEL="AIO-3576Q38"

merged configuration written to merge_defconfig (needs make)

mkdir -p /home/rootroot/Linux_SDK/Firefly_SDK/output/kconf/lxdialog

make CC="gcc" HOSTCC="gcc" \

obj=/home/rootroot/Linux_SDK/Firefly_SDK/output/kconf -C /home/rootroot/Linux_SDK/Firefly_SDK/device/rockchip/common/kconfig -f Makefile.br conf

make[1]: Entering directory '/home/rootroot/Linux_SDK/Firefly_SDK/device/rockchip/common/kconfig'

gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/rootroot/Linux_SDK/Firefly_SDK/output/kconf -DCONFIG_=\"\" -MM *.c > /home/rootroot/Linux_SDK/Firefly_SDK/output/kconf/.depend 2>/dev/null || :

gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/rootroot/Linux_SDK/Firefly_SDK/output/kconf -DCONFIG_=\"\" -c conf.c -o /home/rootroot/Linux_SDK/Firefly_SDK/output/kconf/conf.o

gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/rootroot/Linux_SDK/Firefly_SDK/output/kconf -DCONFIG_=\"\" -I. -c /home/rootroot/Linux_SDK/Firefly_SDK/output/kconf/zconf.tab.c -o /home/rootroot/Linux_SDK/Firefly_SDK/output/kconf/zconf.tab.o

gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/rootroot/Linux_SDK/Firefly_SDK/output/kconf -DCONFIG_=\"\" /home/rootroot/Linux_SDK/Firefly_SDK/output/kconf/conf.o /home/rootroot/Linux_SDK/Firefly_SDK/output/kconf/zconf.tab.o -o /home/rootroot/Linux_SDK/Firefly_SDK/output/kconf/conf

rm /home/rootroot/Linux_SDK/Firefly_SDK/output/kconf/zconf.tab.c

make[1]: Leaving directory '/home/rootroot/Linux_SDK/Firefly_SDK/device/rockchip/common/kconfig'

configuration written to /home/rootroot/Linux_SDK/Firefly_SDK/output/.config

RK_DEFCONFIG="firefly_rk3576_aio-3576q38_buildroot_defconfig"

/home/rootroot/Linux_SDK/Firefly_SDK/output/.config

Using current kernel version(6.1)

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK rootroot@rootroot-X99-Turbo:\~/Linux_SDK/Firefly_SDK ./build.sh all

Log colors: message notice warning error fatal

Log saved at /home/rootroot/Linux_SDK/Firefly_SDK/output/sessions/2025-10-24_11-59-53

RK_DEFCONFIG="firefly_rk3576_aio-3576q38_buildroot_defconfig"

/home/rootroot/Linux_SDK/Firefly_SDK/output/.config

Using last kernel version(6.1)

==========================================

Final configs

==========================================

RK_BOOT_FIT_ITS=/home/rootroot/Linux_SDK/Firefly_SDK/device/rockchip/.chip/bootramdisk.its

RK_BOOT_IMG=extboot.img

RK_BUILDROOT=y

RK_BUILDROOT_CFG=rockchip_rk3576

RK_CHIP=rk3576

RK_CHIP_FAMILY=rk3576

RK_CHIP_HAS_GPU=y

RK_DEBIAN=y

RK_DEBIAN_ARCH=arm64

RK_DEBIAN_BOOKWORM=y

RK_DEBIAN_MIRROR=mirrors.ustc.edu.cn

RK_DEBIAN_VERSION=bookworm

RK_DEFCONFIG=firefly_rk3576_aio-3576q38_buildroot_defconfig

RK_EXTRA_PARTITION_NUM=2

RK_EXTRA_PARTITION_STR=auto:oem:auto:ext4:defaults:normal:auto:@auto:userdata:auto:ext4:defaults:normal:auto:@@@

RK_KERNEL=y

RK_KERNEL_ARCH=arm64

RK_KERNEL_CFG=rockchip_linux_defconfig

RK_KERNEL_CFG_FRAGMENTS=firefly-linux.config firefly-docker.config

RK_KERNEL_DTS=kernel/arch/arm64/boot/dts/rockchip/rk3576-firefly-aio-3576q38.dts

RK_KERNEL_IMG=kernel/arch/arm64/boot/Image

RK_KERNEL_VERSION=6.1

RK_KERNEL_VERSION_RAW=6.1

RK_LOADER=y

RK_MISC=y

RK_MISC_RECOVERY=y

RK_MISC_RECOVERY_ARG=--wipe_all

RK_NETWORK_CHECK=y

RK_OVERLAY=y

RK_OWNER=rootroot

RK_OWNER_UID=1000

RK_PARAMETER=parameter-buildroot-fit.txt

RK_PRODUCT_MODEL=AIO-3576Q38

RK_RAMDISK_IMG=kernel/ramdisk.img

RK_RECOVERY=y

RK_RECOVERY_CFG=rockchip_rk3576_recovery

RK_RECOVERY_CPIO_GZ=y

RK_RECOVERY_FIT_ITS=/home/rootroot/Linux_SDK/Firefly_SDK/device/rockchip/.chip/boot4recovery.its

RK_RECOVERY_INITRD_TYPE=cpio.gz

RK_RECOVERY_RAMDISK=rk3576-recovery-arm64.cpio.gz

RK_ROOTFS=y

RK_ROOTFS_ASYNC_COMMIT=y

RK_ROOTFS_DEBUG_INFO=y

RK_ROOTFS_EXT4=y

RK_ROOTFS_FSTRIM=y

RK_ROOTFS_FSTRIM_INTERVAL=3600

RK_ROOTFS_GENERATE_LOGS=y

RK_ROOTFS_INPUT_EVENT_DAEMON=y

RK_ROOTFS_IRQBALANCE=y

RK_ROOTFS_LD_CACHE=y

RK_ROOTFS_LOG_GUARDIAN=y

RK_ROOTFS_LOG_GUARDIAN_INTERVAL=10m

RK_ROOTFS_LOG_GUARDIAN_LOG_DIRS=/var/log/,/tmp/

RK_ROOTFS_LOG_GUARDIAN_MIN_SIZE=100M

RK_ROOTFS_OVERLAY=y

RK_ROOTFS_PREBUILT_TOOLS=y

RK_ROOTFS_STRIP_MODULES=y

RK_ROOTFS_SYSTEM=buildroot

RK_ROOTFS_TYPE=ext4

RK_ROOTFS_UDEV_RULES=y

RK_SAVE_TRACKED=y

RK_SESSION=2025-10-24_11-59-53

RK_UBOOT_ARCH=arm64

RK_UBOOT_CFG=rk3576

RK_UBOOT_CFG_FRAGMENTS=firefly-linux

RK_UBOOT_SPL=y

RK_UPDATE=y

RK_USB_ADBD=y

RK_USB_ADBD_SHELL=/bin/bash

RK_USB_ADBD_TCP_PORT=5555

RK_USB_FW_VER=0x0310

RK_USB_GADGET=y

RK_USB_MANUFACTURER=Rockchip

RK_USB_PID=0

RK_USB_PRODUCT=rk3xxx

RK_USB_VID=0x2207

RK_USE_FIT_IMG=y

RK_WIFIBT=y

RK_WIFIBT_MODULES=ALL_AP

RK_WIFIBT_RTK_AP=y

RK_YOCTO=y

RK_YOCTO_CHROMIUM=y

RK_YOCTO_DISPLAY_PLATFORM=wayland

RK_YOCTO_MACHINE=rockchip-rk3576-evb

RK_YOCTO_USBMOUNT=y

==========================================

Start building all images

==========================================

13+0 records in

13+0 records out

13 bytes copied, 0.000145111 s, 89.6 kB/s

19+0 records in

19+0 records out

19 bytes copied, 8.6655e-05 s, 219 kB/s

Generated recovery misc with: --wipe_all

Done packing /home/rootroot/Linux_SDK/Firefly_SDK/output/firmware/misc.img

Running mk-misc.sh - build_misc succeeded.

Toolchain for loader (U-Boot):

/home/rootroot/Linux_SDK/Firefly_SDK/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-

==========================================

Start building loader

==========================================

  • cd u-boot

  • ./make.sh CROSS_COMPILE=/home/rootroot/Linux_SDK/Firefly_SDK/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- rk3576 firefly-linux --spl-new

grep: .config: No such file or directory

grep: .config: No such file or directory

make rk3576_defconfig -j48

HOSTCC scripts/basic/fixdep

HOSTCC scripts/kconfig/conf.o

SHIPPED scripts/kconfig/zconf.tab.c

SHIPPED scripts/kconfig/zconf.lex.c

SHIPPED scripts/kconfig/zconf.hash.c

HOSTCC scripts/kconfig/zconf.tab.o

In file included from scripts/kconfig/zconf.tab.c:2468:

scripts/kconfig/confdata.c: In function 'conf_write':

scripts/kconfig/confdata.c:771:19: warning: '%s' directive writing likely 7 or more bytes into a region of size between 1 and 4097 [-Wformat-overflow=]

771 | sprintf(newname, "%s%s", dirname, basename);

| ^~~~~~

scripts/kconfig/confdata.c:771:19: note: assuming directive output of 7 bytes

In file included from /usr/include/stdio.h:894,

from scripts/kconfig/zconf.tab.c:82:

/usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 1 or more bytes (assuming 4104) into a destination of size 4097

38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

39 | __glibc_objsize (__s), __fmt,

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

40 | __va_arg_pack ());

| ~~~~~~~~~~~~~~~~~

In file included from scripts/kconfig/zconf.tab.c:2468:

scripts/kconfig/confdata.c:774:20: warning: '.tmpconfig.' directive writing 11 bytes into a region of size between 1 and 4097 [-Wformat-overflow=]

774 | sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid());

| ^~~~~~~~~~~~~~~~~

In file included from /usr/include/stdio.h:894,

from scripts/kconfig/zconf.tab.c:82:

/usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 13 and 4119 bytes into a destination of size 4097

38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

39 | __glibc_objsize (__s), __fmt,

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

40 | __va_arg_pack ());

| ~~~~~~~~~~~~~~~~~

HOSTLD scripts/kconfig/conf

configuration written to .config

sed: read error on configs/: Is a directory

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK/buildroot$ cd ..

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK$ ll

total 56

drwxrwxr-x 14 rootroot rootroot 4096 10月 28 15:10 ./

drwx------ 9 rootroot rootroot 4096 10月 28 15:24 ../

drwxrwxr-x 7 rootroot rootroot 4096 10月 24 11:44 app/

drwxrwxr-x 19 rootroot rootroot 4096 10月 28 15:24 buildroot/

lrwxrwxrwx 1 rootroot rootroot 39 10月 24 11:44 build.sh -> device/rockchip/common/scripts/build.sh*

lrwxrwxrwx 1 rootroot rootroot 22 10月 28 10:53 common -> device/rockchip/common/

drwxrwxr-x 3 rootroot rootroot 4096 10月 24 11:44 device/

drwxrwxr-x 7 rootroot rootroot 4096 10月 24 11:44 docs/

drwxrwxr-x 33 rootroot rootroot 4096 10月 24 11:45 external/

lrwxrwxrwx 1 rootroot rootroot 49 10月 24 11:44 firefly-release.sh -> device/rockchip/common/scripts/firefly-release.sh*

lrwxrwxrwx 1 rootroot rootroot 48 10月 24 11:44 firefly-update.sh -> device/rockchip/common/scripts/firefly-update.sh*

drwxrwxr-x 28 rootroot rootroot 4096 10月 28 15:10 kernel/

lrwxrwxrwx 1 rootroot rootroot 31 10月 24 11:44 Makefile -> device/rockchip/common/Makefile

drwxrwxr-x 10 rootroot rootroot 4096 10月 28 15:10 output/

drwxrwxr-x 3 rootroot rootroot 4096 10月 24 11:46 prebuilts/

lrwxrwxrwx 1 rootroot rootroot 32 10月 28 10:53 README.md -> device/rockchip/common/README.md

drwxrwxr-x 10 rootroot rootroot 4096 10月 28 10:56 rkbin/

lrwxrwxrwx 1 rootroot rootroot 41 10月 24 11:44 rkflash.sh -> device/rockchip/common/scripts/rkflash.sh*

lrwxrwxrwx 1 rootroot rootroot 15 10月 28 15:10 rockdev -> output/firmware/

drwxrwxr-x 6 rootroot rootroot 4096 10月 24 11:46 tools/

drwxrwxr-x 28 rootroot rootroot 4096 10月 28 10:56 u-boot/

drwxrwxr-x 9 rootroot rootroot 4096 10月 24 11:46 yocto/

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK cd output/update/ rootroot@rootroot-X99-Turbo:\~/Linux_SDK/Firefly_SDK/output/update ll
total 1922236
drwxrwxr-x 3 rootroot rootroot 4096 10月 28 15:10 ./
drwxrwxr-x 10 rootroot rootroot 4096 10月 28 15:10 ../
-rw-rw-r-- 1 rootroot rootroot 1968349827 10月 28 15:10 AIO-3576Q38_Buildroot_251028.img

drwxrwxr-x 2 rootroot rootroot 4096 10月 28 15:10 Image/

lrwxrwxrwx 1 rootroot rootroot 18 10月 28 15:10 package-file -> Image/package-file

lrwxrwxrwx 1 rootroot rootroot 16 10月 28 15:10 update.img -> Image/update.img

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK/output/update$ cd Image/

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK/output/update/Image$ ll

total 3843720

drwxrwxr-x 2 rootroot rootroot 4096 10月 28 15:10 ./

drwxrwxr-x 3 rootroot rootroot 4096 10月 28 15:10 ../

lrwxrwxrwx 1 rootroot rootroot 27 10月 28 15:10 boot.img -> ../../../kernel/extboot.img

lrwxrwxrwx 1 rootroot rootroot 47 10月 28 15:10 MiniLoaderAll.bin -> ../../../u-boot/rk3576_spl_loader_v1.09.107.bin

lrwxrwxrwx 1 rootroot rootroot 14 10月 28 15:10 misc.img -> ../../misc.img

lrwxrwxrwx 1 rootroot rootroot 25 10月 28 15:10 oem.img -> ../../extra-parts/oem.img

-rw-rw-r-- 1 rootroot rootroot 225 10月 28 15:10 package-file

lrwxrwxrwx 1 rootroot rootroot 66 10月 28 15:10 parameter.txt -> ../../../device/rockchip/.chips/rk3576/parameter-buildroot-fit.txt

lrwxrwxrwx 1 rootroot rootroot 26 10月 28 15:10 recovery.img -> ../../recovery/ramboot.img

lrwxrwxrwx 1 rootroot rootroot 60 10月 28 15:10 rootfs.img -> ../../../buildroot/output/rockchip_rk3576/images/rootfs.ext2

lrwxrwxrwx 1 rootroot rootroot 25 10月 28 15:10 uboot.img -> ../../../u-boot/uboot.img

-rw-rw-r-- 1 rootroot rootroot 1968349827 10月 28 15:10 update.img

-rw-rw-r-- 1 rootroot rootroot 1967583236 10月 28 15:10 update.raw.img

lrwxrwxrwx 1 rootroot rootroot 30 10月 28 15:10 userdata.img -> ../../extra-parts/userdata.img

rootroot@rootroot-X99-Turbo:~/Linux_SDK/Firefly_SDK/output/update/Image$

相关推荐
FreeBuf_3 小时前
Ubuntu内核曝严重UAF漏洞,可致攻击者获取Root权限
linux·运维·ubuntu
武子康3 小时前
大数据-139 ClickHouse MergeTree 最佳实践:Replacing 去重、Summing 求和、分区设计与物化视图替代方案
大数据·后端·nosql
Jason_zhao_MR3 小时前
RK3576机器人核心:三屏异显+八路摄像头,重塑机器人交互与感知
linux·人工智能·嵌入式硬件·计算机视觉·机器人·嵌入式·交互
我要升天!3 小时前
Git的原理与使用 -- 分支管理
大数据·git·elasticsearch
☆璇3 小时前
【Linux】数据链路层
linux·服务器·网络
阿巴~阿巴~5 小时前
线程局部存储(Thread-Local Storage, TLS)
linux·服务器·开发语言·c++·线程·虚拟地址空间·线程局部存储
BAGAE5 小时前
MQTT 与 HTTP 协议对比
java·linux·http·https·硬件工程
培培说证5 小时前
2025年高职大数据技术专业需要什么基础?
大数据
北邮-吴怀玉5 小时前
1.4.2 大数据方法论与实践指南-质量治理(准确性&及时性)
大数据·数据治理