20240521在Ubuntu20.04下编译RK3588平台的IPC方案
2024/5/21 15:27
viewpro@viewpro-ThinkBook-16-G5-IRH:~$
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ md5sum RK3588_IPC_SDK.tar.gz
7481cc8d59f697a5fa4fd655de866707 RK3588_IPC_SDK.tar.gz
viewpro@viewpro-ThinkBook-16-G5-IRH:~$
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ time tar --use-compress-program=pigz -xvpf RK3588_IPC_SDK.tar.gz
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ cd RK3588_IPC_SDK/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$ ll
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$ sudo apt-get install texinfo
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$ ll *.sh
lrwxrwxrwx 1 viewpro viewpro 16 5月 13 10:15 build.sh -> project/build.sh*
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$ cat readme_cn.txt
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$ ll
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$ ./build.sh lunch
Which would you like? [0]: 3
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$ ./build.sh
1、RK3588的ICP方案,build.sh lunch选项3用哪一种开发板?或者 对应 toybrick哪一片开发板?
2、生成的update.img只有300MB+,正常吗?以前 编译 Buildroot生成的update.img都是800MB - 1.2GB左右的
3、使用啥刷机工具呢?RKDevTool_Release_v2.92导入异常了?
lunch 选3 刷机工具V3.15版本可以刷机了 OK3588-C
串口波特率 1.5Mbps
不停地打印。看字面意思应该是 默认的IPC应用不停地调用声卡。
请问 在哪里关掉?
adb 可以用
详细LOG:
viewpro@viewpro-ThinkBook-16-G5-IRH:~$
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ ll *.tar.gz
-rwx------ 1 viewpro viewpro 36691949769 5月 16 15:31 3588Lv1.21repo230810.tar.gz*
-rwx------ 1 viewpro viewpro 85185450 4月 5 19:18 jdk1.6.0_45.tar.gz*
-rwx------ 1 viewpro viewpro 3895102985 5月 21 13:38 RK3588_IPC_SDK.tar.gz*
-rwxrwxrwx 1 viewpro viewpro 52165431332 11月 21 19:49 RK3588_V1.43.tar.gz*
viewpro@viewpro-ThinkBook-16-G5-IRH:~$
viewpro@viewpro-ThinkBook-16-G5-IRH:~$
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ time tar --use-compress-program=pigz -xvpf RK3588_IPC_SDK.tar.gz
RK3588_IPC_SDK/
RK3588_IPC_SDK/project/
RK3588_IPC_SDK/project/app/
RK3588_IPC_SDK/project/app/Makefile
RK3588_IPC_SDK/project/app/Makefile.param
RK3588_IPC_SDK/project/app/component/
RK3588_IPC_SDK/.repo/manifests/rv1126_ipc_linux/rv1126_ipc_linux_v1.1.0_20230908.xml
RK3588_IPC_SDK/.repo/manifests/rv1126_ipc_linux/rv1126_ipc_linux_v1.2.0_20231117.xml
RK3588_IPC_SDK/.repo/manifests/rv1106_ipc_linux_release.xml
RK3588_IPC_SDK/.repo/manifests/rv1126_cvr_linux/
RK3588_IPC_SDK/.repo/manifests/rv1126_cvr_linux/rv1126_cvr_linux_v1.1.0_20231129.xml
RK3588_IPC_SDK/.repo/manifests/rv1126_cvr_linux/rv1126_cvr_linux_v1.0.0_20230427.xml
RK3588_IPC_SDK/.repo/.repo_fetchtimes.json
real 0m20.505s
user 0m19.594s
sys 0m7.905s
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ ll
total 148695408
drwxr-xr-x 42 viewpro viewpro 4096 5月 21 14:19 ./
drwxr-xr-x 3 root root 4096 1月 14 04:39 ../
drwxr-xr-x 21 viewpro viewpro 4096 4月 22 20:00 15在4K分辨率绿屏不闪退OK3588_Linux_fs/
drwxrwxrwx 10 viewpro viewpro 4096 4月 3 11:24 20240403FriendlyElec-H3/
drwxr-xr-x 21 viewpro viewpro 4096 4月 30 15:51 24可以挂载OV5645了i2c1_ok3588c_ov5645/
-rwx------ 1 viewpro viewpro 36691949769 5月 16 15:31 3588Lv1.21repo230810.tar.gz*
drwxrwxr-x 3 viewpro viewpro 4096 5月 20 16:29 85repo/
-rw------- 1 viewpro viewpro 26003 5月 21 12:05 .bash_history
-rw-r--r-- 1 viewpro viewpro 220 1月 14 04:39 .bash_logout
-rw-r--r-- 1 viewpro viewpro 4064 4月 5 19:24 .bashrc
drwxr-xr-x 19 viewpro viewpro 4096 5月 20 10:47 .buildroot-ccache/
drwxr-xr-x 10 viewpro viewpro 4096 5月 18 13:36 .cache/
drwx------ 22 viewpro viewpro 4096 4月 6 18:10 .config/
drwxrwxr-x 4 viewpro viewpro 4096 1月 16 11:34 dataset/
-rw-r--r-- 1 viewpro viewpro 114405743 1月 16 17:57 dataset.zip
drwxr-xr-x 2 viewpro viewpro 4096 1月 14 04:55 Desktop/
drwxr-xr-x 2 viewpro viewpro 4096 1月 14 04:55 Documents/
drwxr-xr-x 2 viewpro viewpro 4096 4月 2 17:02 Downloads/
drwxr-xr-x 21 viewpro viewpro 4096 5月 15 15:34 fpga_ov3588_lane2ov5645/
-rwx------ 1 viewpro viewpro 108539 4月 15 15:11 'FPGA刷机1 c170c200e0d4118e1b959b897b5ce6cd.png'*
-rwx------ 1 viewpro viewpro 75339 4月 15 17:00 'FPGA刷机2实战 企业微信截图_1713171604352.png'*
drwxrwxr-x 3 viewpro viewpro 4096 4月 8 10:53 fuse/
drwx------ 3 viewpro viewpro 4096 4月 8 11:13 .gnupg/
drwxrwxrwx 19 viewpro viewpro 4096 4月 9 15:34 H3/
-rwx------ 1 viewpro viewpro 2270529 4月 17 10:56 i2c1.7z*
-rwx------ 1 viewpro viewpro 85185450 4月 5 19:18 jdk1.6.0_45.tar.gz*
-rw-r--r-- 1 viewpro viewpro 1435 1月 16 14:12 .labelmerc
drwxr-xr-x 5 viewpro viewpro 4096 1月 15 14:55 .local/
drwx------ 2 viewpro viewpro 4096 5月 6 21:04 MiniLoader-烧录Linux镜像才需要用到的东西/
drwx------ 4 viewpro viewpro 4096 1月 15 11:51 .mozilla/
drwxr-xr-x 2 viewpro viewpro 4096 1月 14 04:55 Music/
-rw-rw-r-- 1 viewpro viewpro 211476 4月 6 18:10 my_photo-10.jpg
-rw-rw-r-- 1 viewpro viewpro 214553 4月 6 18:10 my_photo-11.jpg
-rw-rw-r-- 1 viewpro viewpro 216376 4月 6 18:10 my_photo-12.jpg
-rw-rw-r-- 1 viewpro viewpro 208244 4月 6 18:10 my_photo-1.jpg
-rw-rw-r-- 1 viewpro viewpro 209646 4月 6 18:10 my_photo-2.jpg
-rw-rw-r-- 1 viewpro viewpro 207564 4月 6 18:10 my_photo-3.jpg
-rw-rw-r-- 1 viewpro viewpro 209547 4月 6 18:10 my_photo-4.jpg
-rw-rw-r-- 1 viewpro viewpro 212030 4月 6 18:10 my_photo-5.jpg
-rw-rw-r-- 1 viewpro viewpro 211844 4月 6 18:10 my_photo-6.jpg
-rw-rw-r-- 1 viewpro viewpro 211485 4月 6 18:10 my_photo-7.jpg
-rw-rw-r-- 1 viewpro viewpro 212121 4月 6 18:10 my_photo-8.jpg
-rw-rw-r-- 1 viewpro viewpro 207713 4月 6 18:10 my_photo-9.jpg
-rw-rw-r-- 1 viewpro viewpro 51714046 4月 6 18:11 my_video-1.mkv
drwx------ 3 viewpro viewpro 4096 1月 16 18:23 .nv/
drwx------ 7 viewpro viewpro 4096 5月 16 20:13 'OK3588-C_Linux5.10.66+Qt5.15.2_用户资料_R4(更新日期_20240321)'/
-rwx------ 1 viewpro viewpro 6584268 4月 16 16:22 OK3588-C底板_V1.1_原理图.pdf*
-rwx------ 1 viewpro viewpro 3065072 4月 10 14:58 OK3588-C开发板产品资料发布记录_2024.03.21.pdf*
-rwx------ 1 viewpro viewpro 8932092237 5月 17 15:26 OK3588_Linux_fs.tar.bz2*
drwx------ 2 viewpro viewpro 12288 4月 5 09:33 Openwrt支持移远4G模块过程记录/
drwxrwxr-x 4 viewpro viewpro 4096 5月 4 14:43 opi5_rk3588/
drwxrwxr-x 3 viewpro viewpro 4096 5月 20 16:13 opt/
-rwx------ 1 viewpro viewpro 3210526 4月 22 09:53 OrangePi5_RK3588S_原理图_v1.2.pdf*
-rwx------ 1 viewpro viewpro 32660960 4月 22 09:53 OrangePi_5_RK3588S_用户手册_v2.0.pdf*
drwxr-xr-x 2 viewpro viewpro 4096 5月 8 11:10 output/
drwxr-xr-x 2 viewpro viewpro 4096 4月 11 18:09 Pictures/
-rw-r--r-- 1 viewpro viewpro 807 1月 14 04:39 .profile
drwxr-xr-x 2 viewpro viewpro 4096 1月 14 04:55 Public/
-rw------- 1 viewpro viewpro 284 4月 2 17:07 .python_history
drwxrwxr-x 5 viewpro viewpro 4096 5月 2 17:00 quectel-CM/
drwxr-xr-x 21 viewpro viewpro 4096 5月 21 09:43 R3_OK3588_Linux_fs/
-rw-rw-r-- 1 viewpro viewpro 9346031549 5月 17 15:54 R3_OK3588_Linux_fs_1553.tgz
-rw-rw-r-- 1 viewpro viewpro 21622469576 5月 18 10:09 repo1_RK3588_V1.43.tgz
-rw-rw-r-- 1 viewpro viewpro 2 5月 20 16:26 .repo_.gitconfig.json
drwxrwxr-x 17 viewpro viewpro 4096 5月 18 20:47 repo_RK3588_buildroot20230810/
drwxrwxr-x 16 viewpro viewpro 4096 5月 20 18:07 repo_RK3588_Buildroot20240508/
-rw-rw-r-- 1 viewpro viewpro 7218952227 5月 20 16:50 repo_RK3588_Buildroot20240508_1648.tgz
drwxr-xr-x 16 viewpro viewpro 4096 5月 18 17:55 RK3588/
-rw-rw-r-- 1 viewpro viewpro 12085160197 5月 18 16:17 RK3588_20230810_1616.tgz
-rwx------ 1 viewpro viewpro 4560 5月 10 11:02 RK3588+GPIO.txt*
drwxr-xr-x 9 viewpro viewpro 4096 5月 13 10:15 RK3588_IPC_SDK/
-rwx------ 1 viewpro viewpro 3895102985 5月 21 13:38 RK3588_IPC_SDK.tar.gz*
-rwxrwxrwx 1 viewpro viewpro 52165431332 11月 21 19:49 RK3588_V1.43.tar.gz*
drwxr-xr-x 16 viewpro viewpro 4096 5月 20 11:54 Rockchip_RK3588_Linux5.10_SDK_Release_V1.4.0_20240508/
-rwx------ 1 viewpro viewpro 13042 4月 20 09:22 sdk版本记录-20231226.txt*
drwx------ 3 viewpro viewpro 4096 1月 15 09:12 snap/
-rwx------ 1 viewpro viewpro 18370 3月 31 09:46 SOFT.txt*
drwx------ 2 viewpro viewpro 4096 1月 16 13:48 .ssh/
-rw-r--r-- 1 viewpro viewpro 0 1月 14 05:01 .sudo_as_admin_successful
drwxr-xr-x 2 viewpro viewpro 4096 1月 14 04:55 Templates/
drwxr-xr-x 2 viewpro viewpro 4096 1月 14 04:55 Videos/
drwxr-xr-x 21 viewpro viewpro 4096 5月 16 20:29 wang_OK3588_Linux_fs/
-rw-rw-r-- 1 viewpro viewpro 1215 5月 18 19:19 .wget-hsts
-rwx------ 1 viewpro viewpro 4691683 4月 8 11:23 win32diskimager.rar*
-rw------- 1 viewpro viewpro 292 5月 21 14:19 .Xauthority
-rwx------ 1 viewpro viewpro 799 4月 19 19:25 '新建 文本文档.txt'*
drwx------ 2 viewpro viewpro 4096 4月 30 17:29 荣品4K/
viewpro@viewpro-ThinkBook-16-G5-IRH:~$
viewpro@viewpro-ThinkBook-16-G5-IRH:~$
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ cd RK3588_IPC_SDK/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$ ll
total 36
drwxr-xr-x 9 viewpro viewpro 4096 5月 13 10:15 ./
drwxr-xr-x 42 viewpro viewpro 4096 5月 21 14:19 ../
lrwxrwxrwx 1 viewpro viewpro 16 5月 13 10:15 build.sh -> project/build.sh*
drwxr-xr-x 3 viewpro viewpro 4096 5月 13 10:15 docs/
drwxr-xr-x 15 viewpro viewpro 4096 5月 13 10:15 media/
drwxr-xr-x 5 viewpro viewpro 4096 5月 13 10:15 project/
lrwxrwxrwx 1 viewpro viewpro 21 5月 13 10:15 readme_cn.txt -> project/readme_cn.txt
lrwxrwxrwx 1 viewpro viewpro 21 5月 13 10:15 readme_en.txt -> project/readme_en.txt
drwxr-xr-x 7 viewpro viewpro 4096 5月 13 10:15 .repo/
drwxr-xr-x 9 viewpro viewpro 4096 5月 13 10:08 repo/
drwxr-xr-x 5 viewpro viewpro 4096 5月 13 10:15 sysdrv/
drwxr-xr-x 4 viewpro viewpro 4096 5月 13 10:15 tools/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$ ll *.sh
lrwxrwxrwx 1 viewpro viewpro 16 5月 13 10:15 build.sh -> project/build.sh*
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$ cat readme_cn.txt
SDK build.sh使用说明
选择参考的板级配置
./build.sh lunch
You're building on Linux
Lunch menu...pick a combo:
BoardConfig-*.mk naming rules:
BoardConfig-"启动介质"-"电源方案"-"硬件版本"-"应用场景".mk
BoardConfig-"boot medium"-"power solution"-"hardware version"-"applicaton".mk
- BoardConfig-EMMC-ALL-2xRK806-HW_V10-IPC_MULTI_SENSOR.mk
boot medium(启动介质): EMMC
power solution(电源方案): 2xRK806
hardware version(硬件版本): HW_V10
applicaton(应用场景): IPC_MULTI_SENSOR
- BoardConfig-SPI_NAND-ALL-RK806-HW_V10-IPC_SINGLE_SENSOR.mk
boot medium(启动介质): SPI_NAND
power solution(电源方案): RK806
hardware version(硬件版本): HW_V10
applicaton(应用场景): IPC_SINGLE_SENSOR
Which would you like? [0]:
输入对应的序号选择对应的参考板级。
一键自动编译
./build.sh lunch # 选择参考板级
./build.sh # 一键自动编译
编译U-Boot
./build.sh clean uboot
./build.sh uboot
生成镜像文件:
output/image/MiniLoaderAll.bin
output/image/uboot.img
编译kernel
./build.sh clean kernel
./build.sh kernel
生成镜像文件:
output/image/boot.img
编译rootfs
./build.sh clean rootfs
./build.sh rootfs
编译后使用`./build.sh firmware`命令打包成rootfs.img
生成镜像文件:output/image/rootfs.img
编译media
./build.sh clean media
./build.sh media
生成文件的存放目录:
output/out/media_out
编译参考应用
./build.sh clean app
./build.sh app
生成文件的存放目录:
output/out/app_out
注:app依赖media
固件打包
./build.sh firmware
生成文件的存放目录:
output/image
SDK目录结构说明:
```shell
├── build.sh -> project/build.sh ---- SDK编译脚本
├── media --------------------------- 多媒体编解码、ISP等算法相关(可独立SDK编译)
├── sysdrv -------------------------- U-Boot、kernel、rootfs目录(可独立SDK编译)
├── project ------------------------- 参考应用、编译配置以及脚本目录
├── output -------------------------- SDK编译后镜像文件存放目录
├── docs ---------------------------- SDK文档目录
└── tools --------------------------- 烧录镜像打包工具以及烧录工具
```
镜像存放目录说明
编译完的文件存放在output目录下
```shell
output/
├── image
│?? ├── download.bin ---------------- 烧录工具升级通讯的设备端程序,只会下载到板子内存
│?? ├── env.img --------------------- 包含分区表和启动参数
│?? ├── uboot.img ------------------- uboot镜像
│?? ├── idblock.img ----------------- loader镜像
│?? ├── boot.img -------------------- kernel镜像
│?? ├── rootfs.img ------------------ kernel镜像
│?? └── userdata.img ---------------- userdata镜像
└── out
├── app_out --------------------- 参考应用编译后的文件
├── media_out ------------------- media相关编译后的文件
├── rootfs_xxx ------------------ 文件系统打包目录
├── S20linkmount ---------------- 分区挂载脚本
├── sysdrv_out ------------------ sysdrv编译后的文件
└── userdata -------------------- userdata
```
注意事项
在windows下复制源码包时,linux下的可执行文件可能变为非可执行文件,或者软连接失效导致无法编译使用。
因此使用时请注意不要在windows下复制源代码包。
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$ ll
total 36
drwxr-xr-x 9 viewpro viewpro 4096 5月 13 10:15 ./
drwxr-xr-x 42 viewpro viewpro 4096 5月 21 14:19 ../
lrwxrwxrwx 1 viewpro viewpro 16 5月 13 10:15 build.sh -> project/build.sh*
drwxr-xr-x 3 viewpro viewpro 4096 5月 13 10:15 docs/
drwxr-xr-x 15 viewpro viewpro 4096 5月 13 10:15 media/
drwxr-xr-x 5 viewpro viewpro 4096 5月 13 10:15 project/
lrwxrwxrwx 1 viewpro viewpro 21 5月 13 10:15 readme_cn.txt -> project/readme_cn.txt
lrwxrwxrwx 1 viewpro viewpro 21 5月 13 10:15 readme_en.txt -> project/readme_en.txt
drwxr-xr-x 7 viewpro viewpro 4096 5月 13 10:15 .repo/
drwxr-xr-x 9 viewpro viewpro 4096 5月 13 10:08 repo/
drwxr-xr-x 5 viewpro viewpro 4096 5月 13 10:15 sysdrv/
drwxr-xr-x 4 viewpro viewpro 4096 5月 13 10:15 tools/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$ ./build.sh lunch
ls: cannot access 'BoardConfig_*/BoardConfig*.mk': No such file or directory
You're building on Linux
Lunch menu...pick a combo:
BoardConfig-*.mk naming rules:
BoardConfig-"启动介质"-"电源方案"-"硬件版本"-"应用场景".mk
BoardConfig-"boot medium"-"power solution"-"hardware version"-"applicaton".mk
- BoardConfig-EMMC-2xRK806-HW_V10-IPC_6X_SENSOR.mk
boot medium(启动介质): EMMC
power solution(电源方案): 2xRK806
hardware version(硬件版本): HW_V10
applicaton(应用场景): IPC_6X_SENSOR
- BoardConfig-EMMC-2xRK806-HW_V10-IPC_8X_SENSOR.mk
boot medium(启动介质): EMMC
power solution(电源方案): 2xRK806
hardware version(硬件版本): HW_V10
applicaton(应用场景): IPC_8X_SENSOR
- BoardConfig-EMMC-2xRK806-HW_V10-IPC_SINGLE_SENSOR.mk
boot medium(启动介质): EMMC
power solution(电源方案): 2xRK806
hardware version(硬件版本): HW_V10
applicaton(应用场景): IPC_SINGLE_SENSOR
- BoardConfig-EMMC-RK806-HW_V10-IPC_SINGLE_SENSOR.mk
boot medium(启动介质): EMMC
power solution(电源方案): RK806
hardware version(硬件版本): HW_V10
applicaton(应用场景): IPC_SINGLE_SENSOR
Which would you like? [0]: 3
[build.sh:info] switching to board: /home/viewpro/RK3588_IPC_SDK/project/cfg/BoardConfig-EMMC-RK806-HW_V10-IPC_SINGLE_SENSOR.mk
[build.sh:info] Running build_select_board succeeded.
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$ ./build.sh
**************************************
Check [OK]: dtc --version
**************************************
Please install makeinfo first
sudo apt-get install texinfo
**************************************
Check [OK]: gperf --version
**************************************
Please install dpkg first
sudo apt-get install g++-multilib
**************************************
Please install dpkg first
sudo apt-get install gcc-multilib
**************************************
Check [OK]: make -v
GLOBAL_PARTITIONS: 0x8000@0x0(env),0x80000@0x8000(idblock),0x400000@0x88000(uboot),0x2000000@0x488000(boot),0x80000000@0x2488000(rootfs),0x40000000@0x82488000(oem),0x80000000@0xC2488000(userdata),-@0x142488000(media)
[build.sh:info] Partition Filesystem Type Configure: rootfs@IGNORE@ext4,userdata@/userdata@ext4,oem@/oem@ext4
============================================
TARGET_ARCH=arm64
TARGET_UBOOT_CONFIG=rk3588_defconfig rk3588-ipc.config
TARGET_SPL_CONFIG=
TARGET_KERNEL_CONFIG=rockchip_linux_defconfig rk3588_linux.config
TARGET_KERNEL_DTS=rk3588-nvr-demo-v10-ipc-4x-linux.dts
TARGET_RECOVERY_CONFIG=
TARGET_RAMBOOT_CONFIG=
============================================
============Start building sysdrv============
make: Entering directory '/home/viewpro/RK3588_IPC_SDK/sysdrv'
==sysdrv== build uboot
make[1]: Entering directory '/home/viewpro/RK3588_IPC_SDK/sysdrv/source/uboot/u-boot'
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:867,
from scripts/kconfig/zconf.tab.c:82:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 1 or more bytes (assuming 4104) into a destination of size 4097
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __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:867,
from scripts/kconfig/zconf.tab.c:82:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 4119 bytes into a destination of size 4097
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HOSTLD scripts/kconfig/conf
configuration written to .config
Using .config as base
Merging ./arch/../configs/rk3588-ipc.config
Value of CONFIG_BASE_DEFCONFIG is redefined by fragment ./arch/../configs/rk3588-ipc.config:
Previous value: CONFIG_BASE_DEFCONFIG=""
New value: CONFIG_BASE_DEFCONFIG="rk3588_defconfig"
Value of CONFIG_CMD_GPT is redefined by fragment ./arch/../configs/rk3588-ipc.config:
Previous value: CONFIG_CMD_GPT=y
New value: # CONFIG_CMD_GPT is not set
Value of CONFIG_CMD_SCRIPT_UPDATE is redefined by fragment ./arch/../configs/rk3588-ipc.config:
Previous value: # CONFIG_CMD_SCRIPT_UPDATE is not set
New value: CONFIG_CMD_SCRIPT_UPDATE=y
Value of CONFIG_EFI_PARTITION is redefined by fragment ./arch/../configs/rk3588-ipc.config:
Previous value: CONFIG_EFI_PARTITION=y
New value: # CONFIG_EFI_PARTITION is not set
Value of CONFIG_ENVF is redefined by fragment ./arch/../configs/rk3588-ipc.config:
Previous value: # CONFIG_ENVF is not set
New value: CONFIG_ENVF=y
Value of CONFIG_ENV_PARTITION is redefined by fragment ./arch/../configs/rk3588-ipc.config:
Previous value: # CONFIG_ENV_PARTITION is not set
New value: CONFIG_ENV_PARTITION=y
Value of CONFIG_LOADER_INI is redefined by fragment ./arch/../configs/rk3588-ipc.config:
Previous value: CONFIG_LOADER_INI="RK3588MINIALL.ini"
New value: CONFIG_LOADER_INI="RK3588MINIALL_IPC.ini"
Value of CONFIG_SPL_EFI_PARTITION is redefined by fragment ./arch/../configs/rk3588-ipc.config:
Previous value: CONFIG_SPL_EFI_PARTITION=y
New value: # CONFIG_SPL_EFI_PARTITION is not set
Value of CONFIG_SPL_ENV_PARTITION is redefined by fragment ./arch/../configs/rk3588-ipc.config:
Previous value: # CONFIG_SPL_ENV_PARTITION is not set
New value: CONFIG_SPL_ENV_PARTITION=y
merged configuration written to .config (needs make)
scripts/kconfig/conf --oldconfig Kconfig
*
* Restart config...
*
*
* Environment
*
Select the location of the environment
> 1. Environment is not stored (ENV_IS_NOWHERE)
-
Environment in EEPROM (ENV_IS_IN_EEPROM)
-
Environment is in a FAT filesystem (ENV_IS_IN_FAT)
-
Environment in flash memory (ENV_IS_IN_FLASH)
-
Environment in an MMC device (ENV_IS_IN_MMC)
-
Environment in a NAND device (ENV_IS_IN_NAND)
-
Environment in a non-volatile RAM (ENV_IS_IN_NVRAM)
-
Environment is in OneNAND (ENV_IS_IN_ONENAND)
-
Environment is in remove memory space (ENV_IS_IN_REMOTE)
-
Environment is in SPI flash (ENV_IS_IN_SPI_FLASH)
-
Environment in a UBI volume (ENV_IS_IN_UBI)
-
Environment in a block device (ENV_IS_IN_BLK_DEV)
choice[1-12?]: 1
Environment fragment is store in envf partition (ENVF) [Y/n/?] y
Environment fragment is store in envf partition in SPL (SPL_ENVF) [Y/n/?] y
Specific environments white list of env fragment (ENVF_LIST) [blkdevparts mtdparts sys_bootargs app reserved ipaddr serverip netmask gatewayip ethaddr] blkdevparts mtdparts sys_bootargs app reserved ipaddr serverip netmask gatewayip ethaddr
AES-128 encryption for stored environment (DEPRECATED) (ENV_AES) [N/y/?] n
Environment offset (ENV_OFFSET) [0x0] (NEW)
Environment size (ENV_SIZE) [0x8000] 0x8000
Environment redundant(backup) offset (ENV_OFFSET_REDUND) [0x0] (NEW)
Environment offset in Nand (ENV_NAND_OFFSET) [0x0] (NEW)
Environment redundant(backup) offset in Nand (ENV_NAND_OFFSET_REDUND) [0x0] (NEW)
Environment size in Nand (ENV_NAND_SIZE) [0x40000] (NEW)
Environment offset in Nor (ENV_NOR_OFFSET) [0x0] (NEW)
Environment redundant(backup) offset in Nor (ENV_NOR_OFFSET_REDUND) [0x0] (NEW)
Environment size in Nor (ENV_NOR_SIZE) [0x10000] (NEW)
configuration written to .config
make[1]: Leaving directory '/home/viewpro/RK3588_IPC_SDK/sysdrv/source/uboot/u-boot'
pushd /home/viewpro/RK3588_IPC_SDK/sysdrv/source/uboot/u-boot;/home/viewpro/RK3588_IPC_SDK/sysdrv/source/uboot/u-boot/make.sh --spl-new CROSS_COMPILE=aarch64-rockchip1031-linux-gnu-;popd
~/RK3588_IPC_SDK/sysdrv/source/uboot/u-boot ~/RK3588_IPC_SDK/sysdrv
make[1]: Entering directory '/home/viewpro/RK3588_IPC_SDK/sysdrv/source/uboot/u-boot'
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config.h
UPD include/config.h
CFG u-boot.cfg
GEN include/autoconf.mk.dep
CFG spl/u-boot.cfg
CFG tpl/u-boot.cfg
GEN include/autoconf.mk
GEN spl/include/autoconf.mk
GEN tpl/include/autoconf.mk
CHK include/config/uboot.release
CHK include/generated/timestamp_autogenerated.h
UPD include/generated/timestamp_autogenerated.h
HOSTCC scripts/dtc/dtc.o
HOSTCC scripts/dtc/flattree.o
HOSTCC scripts/dtc/fstree.o
HOSTCC scripts/dtc/data.o
HOSTCC scripts/dtc/livetree.o
HOSTCC scripts/dtc/treesource.o
HOSTCC scripts/dtc/srcpos.o
HOSTCC scripts/dtc/checks.o
HOSTCC scripts/dtc/util.o
SHIPPED scripts/dtc/dtc-lexer.lex.c
SHIPPED scripts/dtc/dtc-parser.tab.h
SHIPPED scripts/dtc/dtc-parser.tab.c
HOSTCC scripts/dtc/dtc-lexer.lex.o
checking where to find the target c++ for libstdc++... pre-installed
checking where to find the target dlltool... pre-installed
checking where to find the target gcc... pre-installed
checking where to find the target gfortran... pre-installed
checking where to find the target gccgo... pre-installed
checking where to find the target ld... pre-installed in /home/viewpro/RK3588_IPC_SDK/tools/linux/toolchain/aarch64-rockchip1031-linux-gnu/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/../../../../aarch64-none-linux-gnu/bin
checking where to find the target lipo... pre-installed
checking where to find the target nm... pre-installed in /home/viewpro/RK3588_IPC_SDK/tools/linux/toolchain/aarch64-rockchip1031-linux-gnu/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/../../../../aarch64-none-linux-gnu/bin
checking where to find the target objcopy... pre-installed in /home/viewpro/RK3588_IPC_SDK/tools/linux/toolchain/aarch64-rockchip1031-linux-gnu/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/../../../../aarch64-none-linux-gnu/bin
checking where to find the target objdump... pre-installed in /home/viewpro/RK3588_IPC_SDK/tools/linux/toolchain/aarch64-rockchip1031-linux-gnu/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/../../../../aarch64-none-linux-gnu/bin
checking where to find the target ranlib... pre-installed in /home/viewpro/RK3588_IPC_SDK/tools/linux/toolchain/aarch64-rockchip1031-linux-gnu/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/../../../../aarch64-none-linux-gnu/bin
checking where to find the target readelf... pre-installed in /home/viewpro/RK3588_IPC_SDK/tools/linux/toolchain/aarch64-rockchip1031-linux-gnu/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/../../../../aarch64-none-linux-gnu/bin
checking where to find the target strip... pre-installed in /home/viewpro/RK3588_IPC_SDK/tools/linux/toolchain/aarch64-rockchip1031-linux-gnu/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/../../../../aarch64-none-linux-gnu/bin
checking where to find the target windres... pre-installed
checking where to find the target windmc... pre-installed
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
configure: WARNING:
*** Makeinfo is missing. Info documentation will not be built.
configure: WARNING: decimal float is not supported for this target, ignored
configure: cross-compiling for aarch64-rockchip1031-linux-gnu is not supported
configure: WARNING: cannot check signal handling if cross compiling -- defaulting to no
configure: WARNING: cannot check for sigsetjmp/siglongjmp if cross-compiling -- defaulting to missing
configure: WARNING: cannot check strcoll if cross compiling -- defaulting to no
configure: WARNING: cannot check ctype macros if cross compiling -- defaulting to no
configure: WARNING: result yes guessed because of cross compilation
configure: WARNING: result yes guessed because of cross compilation
configure: WARNING: result yes guessed because of cross compilation
configure: WARNING: libipt is missing or unusable; some features may be unavailable.
configure: WARNING: libipt is missing or unusable; some features may be unavailable.
configure: WARNING: using cross tools not prefixed with host triplet
configure: WARNING: libdebuginfod is missing or unusable; some features may be unavailable.
configure: WARNING: MPFR support disabled; some features may be unavailable.
configure: WARNING: python support disabled; some features may be unavailable.
libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries
libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries
configure: WARNING: result yes guessed because of cross compilation
configure: WARNING: libipt is missing or unusable; some features may be unavailable.
configure: WARNING: babeltrace is missing or unusable; GDB is unable to read CTF data.
arm-tdep.c: In function 'CORE_ADDR arm_skip_prologue(gdbarch*, CORE_ADDR)':
arm-tdep.c:1279:37: warning: 'offset' may be used uninitialized in this function [-Wmaybe-uninitialized]
1279 | = read_code_unsigned_integer (pc + offset, 2, byte_order_for_code);
| ^~~~~~
arm-tdep.c:1258:7: note: 'offset' was declared here
1258 | int offset;
| ^~~~~~
arm-tdep.c:1284:32: warning: 'basereg' may be used uninitialized in this function [-Wmaybe-uninitialized]
1284 | if (bits (insn, 3, 5) != basereg)
| ^~~~~~~
arm-tdep.c:1256:16: note: 'basereg' was declared here
1256 | unsigned int basereg;
| ^~~~~~~
linespec.c: In function 'std::vector<symtab_and_line> convert_linespec_to_sals(linespec_state*, linespec_p)':
linespec.c:4234:19: warning: 'want_start_sal' may be used uninitialized in this function [-Wmaybe-uninitialized]
4234 | if (is_function && want_start_sal)
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
linespec.c:4216:8: note: 'want_start_sal' was declared here
4216 | bool want_start_sal;
| ^~~~~~~~~~~~~~
/home/viewpro/RK3588_IPC_SDK/sysdrv/tools/board/gdb/gdb-10.2/missing: 81: makeinfo: not found
/home/viewpro/RK3588_IPC_SDK/sysdrv/tools/board/gdb/gdb-10.2/missing: 81: makeinfo: not found
/home/viewpro/RK3588_IPC_SDK/sysdrv/tools/board/gdb/gdb-10.2/missing: 81: makeinfo: not found
WARNING: 'makeinfo' is missing on your system.
You should only need it if you modified a '.texi' file, or
any other file indirectly affecting the aspect of the manual.
You might want to install the Texinfo package:
<http://www.gnu.org/software/texinfo/\>
The spurious makeinfo call might also be the consequence of
using a buggy 'make' (AIX, DU, IRIX), in which case you might
want to install GNU make:
<http://www.gnu.org/software/make/\>
WARNING: 'makeinfo' is missing on your system.
You should only need it if you modified a '.texi' file, or
any other file indirectly affecting the aspect of the manual.
You might want to install the Texinfo package:
<http://www.gnu.org/software/texinfo/\>
The spurious makeinfo call might also be the consequence of
using a buggy 'make' (AIX, DU, IRIX), in which case you might
want to install GNU make:
<http://www.gnu.org/software/make/\>
make[6]: *** [Makefile:490: gdb.info] Error 127
make[6]: *** Waiting for unfinished jobs....
make[6]: *** [Makefile:569: stabs.info] Error 127
WARNING: 'makeinfo' is missing on your system.
You should only need it if you modified a '.texi' file, or
any other file indirectly affecting the aspect of the manual.
You might want to install the Texinfo package:
<http://www.gnu.org/software/texinfo/\>
The spurious makeinfo call might also be the consequence of
using a buggy 'make' (AIX, DU, IRIX), in which case you might
want to install GNU make:
<http://www.gnu.org/software/make/\>
make[6]: *** [Makefile:613: annotate.info] Error 127
make[5]: *** [Makefile:1963: subdir_do] Error 1
make[4]: *** [Makefile:1613: all] Error 2
make[3]: *** [Makefile:10066: all-gdb] Error 2
make[2]: *** [Makefile:854: all] Error 2
make[1]: *** [Makefile:29: all] Error 255
make[1]: Leaving directory '/home/viewpro/RK3588_IPC_SDK/sysdrv/tools/board/gdb'
make: *** [Makefile:479: boardtools] Error 2
make: Leaving directory '/home/viewpro/RK3588_IPC_SDK/sysdrv'
[build.sh:error] Running build_sysdrv failed!
[build.sh:error] exit code 2 from line 506:
[build.sh:info] make -C ${SDK_SYSDRV_DIR}
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$ sudo apt-get install makeinfo
[sudo] password for viewpro:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package makeinfo
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$ sudo apt-get install textinfo
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package textinfo
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$ sudo apt-get install textinfo
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package textinfo
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$ sudo apt install textinfo
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package textinfo
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$ sudo apt-get install texinfo
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libtext-unidecode-perl libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-expat-perl libxml-sax-perl tex-common
Suggested packages:
libxml-sax-expatxs-perl debhelper texlive-base texlive-latex-base texlive-plain-generic texlive-fonts-recommended
The following NEW packages will be installed:
libtext-unidecode-perl libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-expat-perl libxml-sax-perl tex-common texinfo
0 upgraded, 8 newly installed, 0 to remove and 29 not upgraded.
Need to get 1,925 kB of archives.
After this operation, 13.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 tex-common all 6.13 [32.7 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libtext-unidecode-perl all 1.30-1 [99.0 kB]
Get:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main amd64 libxml-namespacesupport-perl all 1.12-1 [13.2 kB]
Get:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main amd64 libxml-sax-base-perl all 1.09-1 [18.8 kB]
Get:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main amd64 libxml-sax-perl all 1.02+dfsg-1 [56.2 kB]
Get:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main amd64 libxml-libxml-perl amd64 2.0134+dfsg-1build1 [320 kB]
Get:7 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/main amd64 libxml-sax-expat-perl all 0.51-1 [10.5 kB]
Get:8 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 texinfo amd64 6.7.0.dfsg.2-5 [1,375 kB]
Fetched 1,925 kB in 23s (83.9 kB/s)
Selecting previously unselected package tex-common.
(Reading database ... 198669 files and directories currently installed.)
Preparing to unpack .../0-tex-common_6.13_all.deb ...
Unpacking tex-common (6.13) ...
Selecting previously unselected package libtext-unidecode-perl.
Preparing to unpack .../1-libtext-unidecode-perl_1.30-1_all.deb ...
Unpacking libtext-unidecode-perl (1.30-1) ...
Selecting previously unselected package libxml-namespacesupport-perl.
Preparing to unpack .../2-libxml-namespacesupport-perl_1.12-1_all.deb ...
Unpacking libxml-namespacesupport-perl (1.12-1) ...
Selecting previously unselected package libxml-sax-base-perl.
Preparing to unpack .../3-libxml-sax-base-perl_1.09-1_all.deb ...
Unpacking libxml-sax-base-perl (1.09-1) ...
Selecting previously unselected package libxml-sax-perl.
Preparing to unpack .../4-libxml-sax-perl_1.02+dfsg-1_all.deb ...
Unpacking libxml-sax-perl (1.02+dfsg-1) ...
Selecting previously unselected package libxml-libxml-perl.
Preparing to unpack .../5-libxml-libxml-perl_2.0134+dfsg-1build1_amd64.deb ...
Unpacking libxml-libxml-perl (2.0134+dfsg-1build1) ...
Selecting previously unselected package libxml-sax-expat-perl.
Preparing to unpack .../6-libxml-sax-expat-perl_0.51-1_all.deb ...
Unpacking libxml-sax-expat-perl (0.51-1) ...
Selecting previously unselected package texinfo.
Preparing to unpack .../7-texinfo_6.7.0.dfsg.2-5_amd64.deb ...
Unpacking texinfo (6.7.0.dfsg.2-5) ...
Setting up libxml-namespacesupport-perl (1.12-1) ...
Setting up tex-common (6.13) ...
update-language: texlive-base not installed and configured, doing nothing!
Setting up libxml-sax-base-perl (1.09-1) ...
Setting up libtext-unidecode-perl (1.30-1) ...
Setting up libxml-sax-perl (1.02+dfsg-1) ...
update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10...
update-perl-sax-parsers: Updating overall Perl SAX parser modules info file...
Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version
Setting up libxml-libxml-perl (2.0134+dfsg-1build1) ...
update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50...
update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50...
update-perl-sax-parsers: Updating overall Perl SAX parser modules info file...
Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version
Setting up libxml-sax-expat-perl (0.51-1) ...
update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::Expat with priority 50...
update-perl-sax-parsers: Updating overall Perl SAX parser modules info file...
Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version
Setting up texinfo (6.7.0.dfsg.2-5) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for install-info (6.7.0.dfsg.2-5) ...
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$ ./build.sh
**************************************
Check [OK]: dtc --version
**************************************
Check [OK]: makeinfo --version
**************************************
Check [OK]: gperf --version
**************************************
Please install dpkg first
sudo apt-get install g++-multilib
**************************************
Please install dpkg first
sudo apt-get install gcc-multilib
**************************************
Check [OK]: make -v
GLOBAL_PARTITIONS: 0x8000@0x0(env),0x80000@0x8000(idblock),0x400000@0x88000(uboot),0x2000000@0x488000(boot),0x80000000@0x2488000(rootfs),0x40000000@0x82488000(oem),0x80000000@0xC2488000(userdata),-@0x142488000(media)
[build.sh:info] Partition Filesystem Type Configure: rootfs@IGNORE@ext4,userdata@/userdata@ext4,oem@/oem@ext4
============================================
TARGET_ARCH=arm64
TARGET_UBOOT_CONFIG=rk3588_defconfig rk3588-ipc.config
TARGET_SPL_CONFIG=
TARGET_KERNEL_CONFIG=rockchip_linux_defconfig rk3588_linux.config
TARGET_KERNEL_DTS=rk3588-nvr-demo-v10-ipc-4x-linux.dts
TARGET_RECOVERY_CONFIG=
TARGET_RAMBOOT_CONFIG=
============================================
============Start building sysdrv============
make: Entering directory '/home/viewpro/RK3588_IPC_SDK/sysdrv'
==sysdrv== build uboot
make[1]: Entering directory '/home/viewpro/RK3588_IPC_SDK/sysdrv/source/uboot/u-boot'
configuration written to .config
Using .config as base
Merging ./arch/../configs/rk3588-ipc.config
Value of CONFIG_BASE_DEFCONFIG is redefined by fragment ./arch/../configs/rk3588-ipc.config:
Previous value: CONFIG_BASE_DEFCONFIG=""
New value: CONFIG_BASE_DEFCONFIG="rk3588_defconfig"
Value of CONFIG_CMD_GPT is redefined by fragment ./arch/../configs/rk3588-ipc.config:
Previous value: CONFIG_CMD_GPT=y
New value: # CONFIG_CMD_GPT is not set
Value of CONFIG_CMD_SCRIPT_UPDATE is redefined by fragment ./arch/../configs/rk3588-ipc.config:
Previous value: # CONFIG_CMD_SCRIPT_UPDATE is not set
New value: CONFIG_CMD_SCRIPT_UPDATE=y
Value of CONFIG_EFI_PARTITION is redefined by fragment ./arch/../configs/rk3588-ipc.config:
Previous value: CONFIG_EFI_PARTITION=y
New value: # CONFIG_EFI_PARTITION is not set
Value of CONFIG_ENVF is redefined by fragment ./arch/../configs/rk3588-ipc.config:
Previous value: # CONFIG_ENVF is not set
New value: CONFIG_ENVF=y
Value of CONFIG_ENV_PARTITION is redefined by fragment ./arch/../configs/rk3588-ipc.config:
Previous value: # CONFIG_ENV_PARTITION is not set
New value: CONFIG_ENV_PARTITION=y
Value of CONFIG_LOADER_INI is redefined by fragment ./arch/../configs/rk3588-ipc.config:
Previous value: CONFIG_LOADER_INI="RK3588MINIALL.ini"
New value: CONFIG_LOADER_INI="RK3588MINIALL_IPC.ini"
Value of CONFIG_SPL_EFI_PARTITION is redefined by fragment ./arch/../configs/rk3588-ipc.config:
Previous value: CONFIG_SPL_EFI_PARTITION=y
New value: # CONFIG_SPL_EFI_PARTITION is not set
Value of CONFIG_SPL_ENV_PARTITION is redefined by fragment ./arch/../configs/rk3588-ipc.config:
Previous value: # CONFIG_SPL_ENV_PARTITION is not set
New value: CONFIG_SPL_ENV_PARTITION=y
merged configuration written to .config (needs make)
scripts/kconfig/conf --oldconfig Kconfig
*
* Restart config...
*
*
* Environment
*
Select the location of the environment
> 1. Environment is not stored (ENV_IS_NOWHERE)
-
Environment in EEPROM (ENV_IS_IN_EEPROM)
-
Environment is in a FAT filesystem (ENV_IS_IN_FAT)
-
Environment in flash memory (ENV_IS_IN_FLASH)
-
Environment in an MMC device (ENV_IS_IN_MMC)
-
Environment in a NAND device (ENV_IS_IN_NAND)
-
Environment in a non-volatile RAM (ENV_IS_IN_NVRAM)
-
Environment is in OneNAND (ENV_IS_IN_ONENAND)
-
Environment is in remove memory space (ENV_IS_IN_REMOTE)
-
Environment is in SPI flash (ENV_IS_IN_SPI_FLASH)
-
Environment in a UBI volume (ENV_IS_IN_UBI)
-
Environment in a block device (ENV_IS_IN_BLK_DEV)
choice[1-12?]: 1
Environment fragment is store in envf partition (ENVF) [Y/n/?] y
Environment fragment is store in envf partition in SPL (SPL_ENVF) [Y/n/?] y
Specific environments white list of env fragment (ENVF_LIST) [blkdevparts mtdparts sys_bootargs app reserved ipaddr serverip netmask gatewayip ethaddr] blkdevparts mtdparts sys_bootargs app reserved ipaddr serverip netmask gatewayip ethaddr
AES-128 encryption for stored environment (DEPRECATED) (ENV_AES) [N/y/?] n
Environment offset (ENV_OFFSET) [0x0] (NEW)
Environment size (ENV_SIZE) [0x8000] 0x8000
Environment redundant(backup) offset (ENV_OFFSET_REDUND) [0x0] (NEW)
Environment offset in Nand (ENV_NAND_OFFSET) [0x0] (NEW)
Environment redundant(backup) offset in Nand (ENV_NAND_OFFSET_REDUND) [0x0] (NEW)
Environment size in Nand (ENV_NAND_SIZE) [0x40000] (NEW)
Environment offset in Nor (ENV_NOR_OFFSET) [0x0] (NEW)
Environment redundant(backup) offset in Nor (ENV_NOR_OFFSET_REDUND) [0x0] (NEW)
Environment size in Nor (ENV_NOR_SIZE) [0x10000] (NEW)
configuration written to .config
make[1]: Leaving directory '/home/viewpro/RK3588_IPC_SDK/sysdrv/source/uboot/u-boot'
pushd /home/viewpro/RK3588_IPC_SDK/sysdrv/source/uboot/u-boot;/home/viewpro/RK3588_IPC_SDK/sysdrv/source/uboot/u-boot/make.sh --spl-new CROSS_COMPILE=aarch64-rockchip1031-linux-gnu-;popd
~/RK3588_IPC_SDK/sysdrv/source/uboot/u-boot ~/RK3588_IPC_SDK/sysdrv
make[1]: Entering directory '/home/viewpro/RK3588_IPC_SDK/sysdrv/source/uboot/u-boot'
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config.h
CFG u-boot.cfg
GEN include/autoconf.mk.dep
CFG spl/u-boot.cfg
CFG tpl/u-boot.cfg
GEN include/autoconf.mk
GEN spl/include/autoconf.mk
GEN tpl/include/autoconf.mk
CHK include/config/uboot.release
CHK include/generated/timestamp_autogenerated.h
UPD include/generated/timestamp_autogenerated.h
CHK include/generated/version_autogenerated.h
CHK include/generated/generic-asm-offsets.h
CHK include/generated/asm-offsets.h
HOSTCC tools/mkenvimage.o
CHK include/config.h
HOSTCC tools/fit_image.o
CFG u-boot.cfg
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/btn_blue_02.9.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/yt_icon_k_02.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/left_icon_a_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/yt_icon_f_02.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/left_icon_h_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/play_icon_e_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/top_icon_i_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/yt_icon_a_02.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/left_icon_e_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/yt_icon_s_02.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/icon_play_l_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/ptz-icons.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/play_icon_i_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/yt_icon_t_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/play_icon_c_02.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/left_icon_d_02.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/yt_icon_c_02.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/left_icon_c_02.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/left_icon_g_02.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/light-on.gif
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/yt_icon_b_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/top_icon_user_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/play_icon_h_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/icon_choice_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/btn_blue_01.9.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/left_icon_d_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/icon_triangle_s_b_02-12.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/left_icon_i_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/top_icon_quit_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/yt_icon_c_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/yt_icon_o_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/left_icon_j_02.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/play_icon_f_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/icon_triangle_s_b_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/play_icon_i_02.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/yt_icon_u_02.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/left_icon_g_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/icon_play_l_02.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/yt_icon_o_02.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/play_icon_d_02.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/icon_triangle_s_b_01-12.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/left_icon_f_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/yt_icon_q_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/yt_icon_p_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/yt_icon_s_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/play_icon_h_02.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/left_icon_a_02.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/yt_icon_t_02.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/play_icon_b_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/yt_icon_j_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/yt_icon_p_02.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/m-logo.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/yt_icon_f_01.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/yt_icon_b_02.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/top_icon_quit_02.png
-- Installing: /home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/out/www/assets/images/yt_icon_i_02.png
make[2]: Leaving directory '/home/viewpro/RK3588_IPC_SDK/project/app/ipcweb/build'
~/RK3588_IPC_SDK/project/app/ipcweb
(mkdir -p out/usr;mv out/www out/usr;);
[INSTALL] out
TO /home/viewpro/RK3588_IPC_SDK/project/app/out
build ipcweb-backend done
make[1]: Leaving directory '/home/viewpro/RK3588_IPC_SDK/project/app/ipcweb'
[INSTALL] /home/viewpro/RK3588_IPC_SDK/project/app/out
TO /home/viewpro/RK3588_IPC_SDK/output/out/app_out
make: Leaving directory '/home/viewpro/RK3588_IPC_SDK/project/app'
[build.sh:info] Running build_app succeeded.
[build.sh:info] ============Start building env============
[build.sh:info] 32K(env),512K@32K(idblock),4M(uboot),32M(boot),2G(rootfs),1G(oem),2G(userdata),-(media)
[build.sh:info] Running build_env succeeded.
[build.sh:info] ============Start building meta============
[build.sh:info] Running build_meta succeeded.
Build SDK version: rk3588_ipc_linux_v1.1.1_20221115.xml
[build.sh:warn] Please check path [/home/viewpro/RK3588_IPC_SDK/output/out/app_out/root] [/home/viewpro/RK3588_IPC_SDK/output/out/rootfs_glibc_rk3588] again
make: Entering directory '/home/viewpro/RK3588_IPC_SDK/sysdrv'
==sysdrv== build tools which run on pc
make -C /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/e2fsprogs
make[1]: Entering directory '/home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/e2fsprogs'
cp -f /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/e2fsprogs/mkfs.ext2 /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc;
cp -f /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/e2fsprogs/mkfs.ext3 /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc;
cp -f /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/e2fsprogs/mkfs.ext4 /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc;
cp -f /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/e2fsprogs/mke2fs /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc;
cp -f /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/e2fsprogs/fsck.ext2 /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc;
cp -f /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/e2fsprogs/fsck.ext3 /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc;
cp -f /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/e2fsprogs/fsck.ext4 /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc;
cp -f /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/e2fsprogs/e2fsck /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc;
cp -f /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/e2fsprogs/resize2fs /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc;
cp -f /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/e2fsprogs/tune2fs /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc;
cp -f /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/e2fsprogs/mkfs_ext4.sh /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc;
make[1]: Leaving directory '/home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/e2fsprogs'
make -C /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/genromfs
make[1]: Entering directory '/home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/genromfs'
cp -f /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/genromfs/genromfs /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc;
cp -f /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/genromfs/mkfs_romfs.sh /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc;
make[1]: Leaving directory '/home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/genromfs'
make -C /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/mtd-utils
make[1]: Entering directory '/home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/mtd-utils'
cp -f /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/mtd-utils/mkfs.jffs2 /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc;
cp -f /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/mtd-utils/mkfs.ubifs /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc;
cp -f /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/mtd-utils/ubinize /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc;
cp -f /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/mtd-utils/mkfs_ubi.sh /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc;
cp -f /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/mtd-utils/mkfs_jffs2.sh /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc;
make[1]: Leaving directory '/home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/mtd-utils'
make -C /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/uboot_tools
make[1]: Entering directory '/home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/uboot_tools'
cp -f /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/uboot_tools/mkimage /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc;
cp -f /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/uboot_tools/mkenvimage /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc;
make[1]: Leaving directory '/home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/uboot_tools'
make -C /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/mksquashfs
make[1]: Entering directory '/home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/mksquashfs'
cp -f /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/mksquashfs/mksquashfs /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc;
cp -f /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/mksquashfs/unsquashfs /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc;
cp -f /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/mksquashfs/mkfs_squashfs.sh /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc;
make[1]: Leaving directory '/home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/mksquashfs'
make -C /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/cramfs_tool
make[1]: Entering directory '/home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/cramfs_tool'
cp -f /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/cramfs_tool/mkfs.cramfs /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc;
make[1]: Leaving directory '/home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/cramfs_tool'
make -C /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/toolkits
make[1]: Entering directory '/home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/toolkits'
cp -f /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/toolkits/get_part_info.sh /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc;
cp -f /home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/toolkits/lz4 /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc;
make[1]: Leaving directory '/home/viewpro/RK3588_IPC_SDK/sysdrv/tools/pc/toolkits'
chmod a+x /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc/*
[INSTALL] /home/viewpro/RK3588_IPC_SDK/sysdrv/out/bin/pc
TO /home/viewpro/RK3588_IPC_SDK/output/out/sysdrv_out
make: Leaving directory '/home/viewpro/RK3588_IPC_SDK/sysdrv'
[build.sh:info] Running build_tool succeeded.
[build.sh:info] start to strip /home/viewpro/RK3588_IPC_SDK/output/out/rootfs_glibc_rk3588
[build.sh:info] src=/home/viewpro/RK3588_IPC_SDK/output/out/rootfs_glibc_rk3588
[build.sh:info] dst=/home/viewpro/RK3588_IPC_SDK/output/image/rootfs.img
[build.sh:info] fs_type=ext4
[build.sh:info] part_name=rootfs
[build.sh:info] part_size=2048MB
mkfs.ext4 -d /home/viewpro/RK3588_IPC_SDK/output/out/rootfs_glibc_rk3588 -r 1 -N 0 -m 5 -L "" -O ^64bit,^huge_file /home/viewpro/RK3588_IPC_SDK/output/image/rootfs.img "2048M"
mke2fs 1.43.9 (8-Feb-2018)
Creating regular file /home/viewpro/RK3588_IPC_SDK/output/image/rootfs.img
Creating filesystem with 524288 4k blocks and 131072 inodes
Filesystem UUID: 291f54f1-e9d0-4420-bb41-faa093f9a63f
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Copying files into the device: done
Writing superblocks and filesystem accounting information: done
resize2fs -M /home/viewpro/RK3588_IPC_SDK/output/image/rootfs.img
resize2fs 1.43.9 (8-Feb-2018)
Resizing the filesystem on /home/viewpro/RK3588_IPC_SDK/output/image/rootfs.img to 64550 (4k) blocks.
The filesystem on /home/viewpro/RK3588_IPC_SDK/output/image/rootfs.img is now 64550 (4k) blocks long.
e2fsck -fy /home/viewpro/RK3588_IPC_SDK/output/image/rootfs.img
e2fsck 1.43.9 (8-Feb-2018)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/home/viewpro/RK3588_IPC_SDK/output/image/rootfs.img: 1023/16384 files (0.1% non-contiguous), 55274/64550 blocks
tune2fs -m 5 /home/viewpro/RK3588_IPC_SDK/output/image/rootfs.img
tune2fs 1.43.9 (8-Feb-2018)
Setting reserved blocks percentage to 5% (3227 blocks)
resize2fs -M /home/viewpro/RK3588_IPC_SDK/output/image/rootfs.img
resize2fs 1.43.9 (8-Feb-2018)
Resizing the filesystem on /home/viewpro/RK3588_IPC_SDK/output/image/rootfs.img to 55934 (4k) blocks.
The filesystem on /home/viewpro/RK3588_IPC_SDK/output/image/rootfs.img is now 55934 (4k) blocks long.
[build.sh:info] Running build_mkimg succeeded.
[build.sh:info] start to strip /home/viewpro/RK3588_IPC_SDK/output/out/userdata
[build.sh:info] src=/home/viewpro/RK3588_IPC_SDK/output/out/userdata
[build.sh:info] dst=/home/viewpro/RK3588_IPC_SDK/output/image/userdata.img
[build.sh:info] fs_type=ext4
[build.sh:info] part_name=userdata
[build.sh:info] part_size=2048MB
mkfs.ext4 -d /home/viewpro/RK3588_IPC_SDK/output/out/userdata -r 1 -N 0 -m 5 -L "" -O ^64bit,^huge_file /home/viewpro/RK3588_IPC_SDK/output/image/userdata.img "2048M"
mke2fs 1.43.9 (8-Feb-2018)
Creating regular file /home/viewpro/RK3588_IPC_SDK/output/image/userdata.img
Creating filesystem with 524288 4k blocks and 131072 inodes
Filesystem UUID: a0264371-e109-4e30-b7c3-8aee439e3196
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Copying files into the device: done
Writing superblocks and filesystem accounting information: done
resize2fs -M /home/viewpro/RK3588_IPC_SDK/output/image/userdata.img
resize2fs 1.43.9 (8-Feb-2018)
Resizing the filesystem on /home/viewpro/RK3588_IPC_SDK/output/image/userdata.img to 25437 (4k) blocks.
The filesystem on /home/viewpro/RK3588_IPC_SDK/output/image/userdata.img is now 25437 (4k) blocks long.
e2fsck -fy /home/viewpro/RK3588_IPC_SDK/output/image/userdata.img
e2fsck 1.43.9 (8-Feb-2018)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/home/viewpro/RK3588_IPC_SDK/output/image/userdata.img: 11/8192 files (0.0% non-contiguous), 17033/25437 blocks
tune2fs -m 5 /home/viewpro/RK3588_IPC_SDK/output/image/userdata.img
tune2fs 1.43.9 (8-Feb-2018)
Setting reserved blocks percentage to 5% (1271 blocks)
resize2fs -M /home/viewpro/RK3588_IPC_SDK/output/image/userdata.img
resize2fs 1.43.9 (8-Feb-2018)
Resizing the filesystem on /home/viewpro/RK3588_IPC_SDK/output/image/userdata.img to 17049 (4k) blocks.
The filesystem on /home/viewpro/RK3588_IPC_SDK/output/image/userdata.img is now 17049 (4k) blocks long.
[build.sh:info] Running build_mkimg succeeded.
/home/viewpro/RK3588_IPC_SDK/output/out/sysdrv_out/pc/mk-tftp_sd_update.sh: Partition Name (media) is growup partiton, ignore!!!
[build.sh:info] Running build_tftp_sd_update succeeded.
[mk-update_pack.sh:info] image input dir: /home/viewpro/RK3588_IPC_SDK/output/image
[mk-update_pack.sh:info] partition file name: env.img
[mk-update_pack.sh:info] start to package update.img...
[mk-update_pack.sh:error] Not found image file: /home/viewpro/RK3588_IPC_SDK/output/image/oem
[mk-update_pack.sh:info] partitions:
env env.img
idblock idblock.img
uboot uboot.img
boot boot.img
rootfs rootfs.img
userdata userdata.img
package-file package-file
bootloader download.bin
TOOL_PATH=/home/viewpro/RK3588_IPC_SDK/tools/linux/Linux_Pack_Firmware
Android Firmware Package Tool v2.2
------ PACKAGE ------
Add file: /home/viewpro/RK3588_IPC_SDK/output/image/env.img
env,Add file: /home/viewpro/RK3588_IPC_SDK/output/image/env.img done,offset=0x800,size=0x8000,userspace=0x10,flash_address=0x00000000
Add file: /home/viewpro/RK3588_IPC_SDK/output/image/idblock.img
idblock,Add file: /home/viewpro/RK3588_IPC_SDK/output/image/idblock.img done,offset=0x8800,size=0x46800,userspace=0x8d,flash_address=0x00000040
Add file: /home/viewpro/RK3588_IPC_SDK/output/image/uboot.img
uboot,Add file: /home/viewpro/RK3588_IPC_SDK/output/image/uboot.img done,offset=0x4f000,size=0x400000,userspace=0x800,flash_address=0x00000440
Add file: /home/viewpro/RK3588_IPC_SDK/output/image/boot.img
boot,Add file: /home/viewpro/RK3588_IPC_SDK/output/image/boot.img done,offset=0x44f000,size=0xe67200,userspace=0x1ccf,flash_address=0x00002440
Add file: /home/viewpro/RK3588_IPC_SDK/output/image/rootfs.img
rootfs,Add file: /home/viewpro/RK3588_IPC_SDK/output/image/rootfs.img done,offset=0x12b6800,size=0xda7e000,userspace=0x1b4fc,flash_address=0x00012440
Add file: /home/viewpro/RK3588_IPC_SDK/output/image/userdata.img
userdata,Add file: /home/viewpro/RK3588_IPC_SDK/output/image/userdata.img done,offset=0xed34800,size=0x4299000,userspace=0x8532,flash_address=0x00612440
Add file: /home/viewpro/RK3588_IPC_SDK/output/image/package-file
package-file,Add file: /home/viewpro/RK3588_IPC_SDK/output/image/package-file done,offset=0x12fcd800,size=0x99,userspace=0x1
Add file: /home/viewpro/RK3588_IPC_SDK/output/image/download.bin
bootloader,Add file: /home/viewpro/RK3588_IPC_SDK/output/image/download.bin done,offset=0x12fce000,size=0x6e9c0,userspace=0xde
Add CRC...
Make firmware OK!
------ OK ------
********rkImageMaker ver 2.2********
Generating new image, please wait...
Writing head info...
Writing boot file...
Writing firmware...
Generating MD5 data...
MD5 data generated successfully!
New image generated successfully!
[mk-update_pack.sh:info] Making -RK3588 update.img OK.
[build.sh:info] Running build_updateimg succeeded.
[build.sh:info] Running build_firmware succeeded.
[build.sh:info] Running build_all succeeded.
Saved manifest to /home/viewpro/RK3588_IPC_SDK/manifest_20240521.1444.xml
save to /home/viewpro/RK3588_IPC_SDK/IMAGE/EMMC_RK3588-NVR-DEMO-V10-IPC-4X-LINUX.DTS_20240521.1444_RELEASE_TEST
[build.sh:info] Running build_save succeeded.
Not Found io-domains in rk3588-nvr-demo-v10-ipc-4x-linux.dts
[build.sh:info] Running build_allsave succeeded.
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$ ll
total 48
drwxr-xr-x 11 viewpro viewpro 4096 5月 21 14:45 ./
drwxr-xr-x 42 viewpro viewpro 4096 5月 21 14:19 ../
lrwxrwxrwx 1 viewpro viewpro 62 5月 21 14:21 .BoardConfig.mk -> project/cfg/BoardConfig-EMMC-RK806-HW_V10-IPC_SINGLE_SENSOR.mk
lrwxrwxrwx 1 viewpro viewpro 16 5月 13 10:15 build.sh -> project/build.sh*
drwxr-xr-x 3 viewpro viewpro 4096 5月 13 10:15 docs/
drwxrwxr-x 3 viewpro viewpro 4096 5月 21 14:44 IMAGE/
drwxr-xr-x 16 viewpro viewpro 4096 5月 21 14:44 media/
drwxrwxr-x 4 viewpro viewpro 4096 5月 21 14:23 output/
drwxr-xr-x 5 viewpro viewpro 4096 5月 13 10:15 project/
lrwxrwxrwx 1 viewpro viewpro 21 5月 13 10:15 readme_cn.txt -> project/readme_cn.txt
lrwxrwxrwx 1 viewpro viewpro 21 5月 13 10:15 readme_en.txt -> project/readme_en.txt
drwxr-xr-x 7 viewpro viewpro 4096 5月 13 10:15 .repo/
drwxr-xr-x 9 viewpro viewpro 4096 5月 13 10:08 repo/
drwxr-xr-x 6 viewpro viewpro 4096 5月 21 14:23 sysdrv/
drwxr-xr-x 4 viewpro viewpro 4096 5月 13 10:15 tools/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/RK3588_IPC_SDK$
[END] 2024/5/21 15:26:37