20260826在Ubuntu22.04系统下编译眺望Pi-RK3572工业派开发板的Ubuntu系统

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572 ll rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:\~/3572 tar zxvf talowe-rk3572-linux6.12.tar.gz
rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572 ll rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:\~/3572 cd talowe-rk3572-linux6.12/
rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572/talowe-rk3572-linux6.12 ll rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:\~/3572/talowe-rk3572-linux6.12 ./build.sh lunch
14. talowe_rk3572_ubuntu_defconfig
Which would you like? 1: 14
rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572/talowe-rk3572-linux6.12$ ./build.sh

20260826在Ubuntu22.04系统下编译眺望Pi-RK3572工业派开发板的Ubuntu系统

2026/8/26 16:34

1、从百度网盘获取SDK,解压缩备用:

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572$

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572$

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572$

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572$ ll

total 10040376

drwxrwxr-x 2 rootroot rootroot 4096 8月 26 14:46 ./

drwxr-x--- 28 rootroot rootroot 12288 8月 26 14:46 ../

-rwxr-xr-x 1 rootroot rootroot 10281314061 8月 19 00:52 talowe-rk3572-linux6.12.tar.gz*
rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572 rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:\~/3572 tar zxvf talowe-rk3572-linux6.12.tar.gz

解压缩完成大概2-3分钟。与您的电脑配置直接相关^_

talowe-rk3572-linux6.12/app/rkipc/common/sysutil/rk_sysfs.c

talowe-rk3572-linux6.12/app/rkipc/common/sysutil/rk_adc.c

talowe-rk3572-linux6.12/app/rkipc/common/sysutil/rk_gpio.c

talowe-rk3572-linux6.12/app/rkipc/common/sysutil/rk_pwm.c

talowe-rk3572-linux6.12/app/rkipc/common/sysutil/rk_adc.h

talowe-rk3572-linux6.12/app/rkipc/common/sysutil/rk_pwm.h

talowe-rk3572-linux6.12/app/rkipc/common/sysutil/iio.c

talowe-rk3572-linux6.12/app/rkipc/common/list.h

talowe-rk3572-linux6.12/app/rkipc/common/venc/

talowe-rk3572-linux6.12/app/rkipc/common/venc/venc.c

talowe-rk3572-linux6.12/app/rkipc/common/venc/venc.h

talowe-rk3572-linux6.12/app/rkipc/common/common.c

talowe-rk3572-linux6.12/app/rkipc/common/audio/

talowe-rk3572-linux6.12/app/rkipc/common/audio/rkaudio_mp3.c

talowe-rk3572-linux6.12/app/rkipc/common/audio/audio.h

talowe-rk3572-linux6.12/app/rkipc/common/audio/rkaudio_mp3.h

talowe-rk3572-linux6.12/app/rkipc/common/audio/audio.c

talowe-rk3572-linux6.12/app/rkipc/common/roi/

talowe-rk3572-linux6.12/app/rkipc/common/roi/roi.h

talowe-rk3572-linux6.12/app/rkipc/common/roi/roi.c

talowe-rk3572-linux6.12/app/rkipc/common/rtmp/

talowe-rk3572-linux6.12/app/rkipc/common/rtmp/rtmp.h

talowe-rk3572-linux6.12/app/rkipc/common/rtmp/rtmp.c

talowe-rk3572-linux6.12/app/rkipc/common/param/

talowe-rk3572-linux6.12/app/rkipc/common/param/iniparser.c

talowe-rk3572-linux6.12/app/rkipc/common/param/dictionary.h

talowe-rk3572-linux6.12/app/rkipc/common/param/iniparser.h

talowe-rk3572-linux6.12/app/rkipc/common/param/param.c

talowe-rk3572-linux6.12/app/rkipc/common/param/param.h

talowe-rk3572-linux6.12/app/rkipc/common/param/dictionary.c

talowe-rk3572-linux6.12/rkflash.sh

talowe-rk3572-linux6.12/common

talowe-rk3572-linux6.12/README.md

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572$

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572$ ll

total 10040380

drwxrwxr-x 3 rootroot rootroot 4096 8月 26 14:48 ./

drwxr-x--- 28 rootroot rootroot 12288 8月 26 14:46 ../

drwxrwxr-x 15 rootroot rootroot 4096 8月 11 08:48 talowe-rk3572-linux6.12/

-rwxr-xr-x 1 rootroot rootroot 10281314061 8月 19 00:52 talowe-rk3572-linux6.12.tar.gz*

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572$

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572$

2、在Ubuntu22.04系统下编译眺望Pi-RK3572工业派开发板的Ubuntu系统:

【精简步骤】

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572$ ll

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572$ tar zxvf talowe-rk3572-linux6.12.tar.gz

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572$ ll

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572$ cd talowe-rk3572-linux6.12/

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572/talowe-rk3572-linux6.12$ ll

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572/talowe-rk3572-linux6.12$ ./build.sh lunch

  1. talowe_rk3572_ubuntu_defconfig

Which would you like? 1: 14

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572/talowe-rk3572-linux6.12$ ./build.sh

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572$

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572$ ll

total 10040380

drwxrwxr-x 3 rootroot rootroot 4096 8月 26 14:48 ./

drwxr-x--- 28 rootroot rootroot 12288 8月 26 14:46 ../

drwxrwxr-x 15 rootroot rootroot 4096 8月 11 08:48 talowe-rk3572-linux6.12/

-rwxr-xr-x 1 rootroot rootroot 10281314061 8月 19 00:52 talowe-rk3572-linux6.12.tar.gz*

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572$

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572$

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572$ cd talowe-rk3572-linux6.12/

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572/talowe-rk3572-linux6.12$

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572/talowe-rk3572-linux6.12$ ll

total 60

drwxrwxr-x 15 rootroot rootroot 4096 8月 11 08:48 ./

drwxrwxr-x 3 rootroot rootroot 4096 8月 26 14:48 ../

drwxrwxr-x 7 rootroot rootroot 4096 7月 8 08:53 app/

drwxrwxr-x 20 rootroot rootroot 4096 8月 11 08:47 buildroot/

lrwxrwxrwx 1 rootroot rootroot 39 7月 8 08:53 build.sh -> device/rockchip/common/scripts/build.sh*

lrwxrwxrwx 1 rootroot rootroot 22 7月 8 11:35 common -> device/rockchip/common/

lrwxrwxrwx 1 rootroot rootroot 12 7月 8 08:53 Copyright_Statement.md -> docs/LICENSE*

drwxrwxr-x 10 rootroot rootroot 4096 8月 10 09:04 debian/

drwxrwxr-x 3 rootroot rootroot 4096 7月 8 08:53 device/

drwxrwxr-x 7 rootroot rootroot 4096 7月 8 08:53 docs/

drwxrwxr-x 32 rootroot rootroot 4096 7月 8 08:54 external/

lrwxrwxrwx 1 rootroot rootroot 11 7月 8 08:54 kernel -> kernel-6.12/

drwxrwxr-x 27 rootroot rootroot 4096 8月 11 08:45 kernel-6.12/

lrwxrwxrwx 1 rootroot rootroot 31 7月 8 08:53 Makefile -> device/rockchip/common/Makefile

drwxrwxr-x 3 rootroot rootroot 4096 7月 8 08:54 prebuilts/

lrwxrwxrwx 1 rootroot rootroot 32 7月 8 11:35 README.md -> device/rockchip/common/README.md

drwxrwxr-x 11 rootroot rootroot 4096 8月 11 08:35 rkbin/

lrwxrwxrwx 1 rootroot rootroot 41 7月 8 08:53 rkflash.sh -> device/rockchip/common/scripts/rkflash.sh*

drwxrwxr-x 6 rootroot rootroot 4096 7月 8 08:54 tools/

drwxrwxr-x 27 rootroot rootroot 4096 8月 11 08:48 u-boot/

drwxrwxr-x 2 rootroot rootroot 4096 8月 10 11:51 ubuntu/

drwxrwxr-x 4 rootroot rootroot 4096 7月 8 08:54 yocto/

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572/talowe-rk3572-linux6.12$

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572/talowe-rk3572-linux6.12$ ./build.sh lunch

Log colors: message notice warning error fatal

Log saved at /home/rootroot/3572/talowe-rk3572-linux6.12/output/sessions/2026-08-26_14-51-33

Pick a defconfig:

  1. rockchip_defconfig

  2. rockchip_rk3572_evb1_robot_defconfig

  3. rockchip_rk3572_evb1_v10_ab_defconfig

  4. rockchip_rk3572_evb1_v10_defconfig

  5. rockchip_rk3572_evb2_v10_defconfig

  6. rockchip_rk3572_evb3_v10_defconfig

  7. rockchip_rk3572_iotest_v10_defconfig

  8. rockchip_rk3572_ipc_evb1_v10_defconfig

  9. rockchip_rk3572_test1_v10_defconfig

  10. rockchip_rk3572_test2_v10_defconfig

  11. rockchip_rk3572_test3_v10_defconfig

  12. rockchip_rk3572_uvc_evb1_v10_defconfig

  13. talowe_rk3572_defconfig

  14. talowe_rk3572_ubuntu_defconfig
    Which would you like? 1: 14

Switching to defconfig: /home/rootroot/3572/talowe-rk3572-linux6.12/device/rockchip/.chip/talowe_rk3572_ubuntu_defconfig

mkdir -p /home/rootroot/3572/talowe-rk3572-linux6.12/output/kconf/lxdialog

make CC="/usr/bin/gcc" HOSTCC="/usr/bin/gcc" \

obj=/home/rootroot/3572/talowe-rk3572-linux6.12/output/kconf -C /home/rootroot/3572/talowe-rk3572-linux6.12/device/rockchip/common/kconfig -f Makefile.br conf

make1: Entering directory '/home/rootroot/3572/talowe-rk3572-linux6.12/device/rockchip/common/kconfig'

/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/rootroot/3572/talowe-rk3572-linux6.12/output/kconf -DCONFIG_=\"\" -MM *.c > /home/rootroot/3572/talowe-rk3572-linux6.12/output/kconf/.depend 2>/dev/null || :

/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/rootroot/3572/talowe-rk3572-linux6.12/output/kconf -DCONFIG_=\"\" -c conf.c -o /home/rootroot/3572/talowe-rk3572-linux6.12/output/kconf/conf.o

/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/rootroot/3572/talowe-rk3572-linux6.12/output/kconf -DCONFIG_=\"\" -I. -c /home/rootroot/3572/talowe-rk3572-linux6.12/output/kconf/zconf.tab.c -o /home/rootroot/3572/talowe-rk3572-linux6.12/output/kconf/zconf.tab.o

In file included from /home/rootroot/3572/talowe-rk3572-linux6.12/output/kconf/zconf.tab.c:2518:

./util.c: In function 'file_write_dep':

./util.c:86:26: warning: '%s' directive writing 10 or more bytes into a region of size between 1 and 4097 -Wformat-overflow=

86 | sprintf(buf2, "%s%s", dir, name);

| ^~

./util.c:86:9: note: 'sprintf' output 11 or more bytes (assuming 4107) into a destination of size 4097

86 | sprintf(buf2, "%s%s", dir, name);

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

/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/rootroot/3572/talowe-rk3572-linux6.12/output/kconf -DCONFIG_=\"\" /home/rootroot/3572/talowe-rk3572-linux6.12/output/kconf/conf.o /home/rootroot/3572/talowe-rk3572-linux6.12/output/kconf/zconf.tab.o -o /home/rootroot/3572/talowe-rk3572-linux6.12/output/kconf/conf

rm /home/rootroot/3572/talowe-rk3572-linux6.12/output/kconf/zconf.tab.c

make1: Leaving directory '/home/rootroot/3572/talowe-rk3572-linux6.12/device/rockchip/common/kconfig'

configuration written to /home/rootroot/3572/talowe-rk3572-linux6.12/output/.config

Using current kernel version(6.12)

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572/talowe-rk3572-linux6.12$

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572/talowe-rk3572-linux6.12$ ./build.sh

14点52开始编译 预计一个小时?

编译完成:15点45。

午休结束16:15完成了!

Allocating group tables: done

Writing inode tables: done

Creating journal (1024 blocks): done

Copying files into the device: done

Writing superblocks and filesystem accounting information: done

tune2fs 1.46.5 (30-Dec-2021)

Setting maximal mount count to -1

Setting interval between checks to 0 seconds

Generated /home/rootroot/3572/talowe-rk3572-linux6.12/output/extra-parts/userdata.img

Done packing /home/rootroot/3572/talowe-rk3572-linux6.12/output/extra-parts/userdata.img

Running mk-extra-parts.sh - build_extra_part succeeded.

Packed files:

MiniLoaderAll.bin(/home/rootroot/3572/talowe-rk3572-linux6.12/u-boot/rk3572_loader_v1.07.103.bin): 807K

boot.img(/home/rootroot/3572/talowe-rk3572-linux6.12/kernel-6.12/boot.img): 39M

misc.img(/home/rootroot/3572/talowe-rk3572-linux6.12/output/misc.img): 48K

oem.img(/home/rootroot/3572/talowe-rk3572-linux6.12/output/extra-parts/oem.img): 12M

parameter.txt(/home/rootroot/3572/talowe-rk3572-linux6.12/device/rockchip/.chips/rk3572/parameter.txt): 539

recovery.img(/home/rootroot/3572/talowe-rk3572-linux6.12/output/recovery/ramboot.img): 48M

rootfs.img(/home/rootroot/3572/talowe-rk3572-linux6.12/ubuntu/Ubuntu_rootfs.img): 4.8G

uboot.img(/home/rootroot/3572/talowe-rk3572-linux6.12/u-boot/uboot.img): 6.0M

userdata.img(/home/rootroot/3572/talowe-rk3572-linux6.12/output/extra-parts/userdata.img): 8.0M

Making update image...

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

Start packing update image

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

Generating package-file for update:

NAME PATH

package-file package-file

parameter parameter.txt

bootloader MiniLoaderAll.bin

uboot uboot.img

misc misc.img

boot boot.img

recovery recovery.img

backup RESERVED

userdata userdata.img

oem oem.img

rootfs rootfs.img

Packing /home/rootroot/3572/talowe-rk3572-linux6.12/output/firmware/update.img for update...

Android Firmware Package Tool v2.29

------ PACKAGE ------

Add file: ./package-file

package-file,Add file: ./package-file done,offset=0x800,size=0xe1,userspace=0x1

Add file: ./parameter.txt

parameter,Add file: ./parameter.txt done,offset=0x1000,size=0x227,userspace=0x1,flash_address=0x00000000

Add file: ./MiniLoaderAll.bin

bootloader,Add file: ./MiniLoaderAll.bin done,offset=0x1800,size=0xc9a32,userspace=0x194

Add file: ./uboot.img

uboot,Add file: ./uboot.img done,offset=0xcb800,size=0x600000,userspace=0xc00,flash_address=0x00004000

Add file: ./misc.img

misc,Add file: ./misc.img done,offset=0x6cb800,size=0xc000,userspace=0x18,flash_address=0x00008000

Add file: ./boot.img

boot,Add file: ./boot.img done,offset=0x6d7800,size=0x26aaa00,userspace=0x4d56,flash_address=0x0000a000

Add file: ./recovery.img

recovery,Add file: ./recovery.img done,offset=0x2d82800,size=0x2f43400,userspace=0x5e87,flash_address=0x0002a000

Add file: ./userdata.img

userdata,Add file: ./userdata.img done,offset=0x5cc6000,size=0x800000,userspace=0x1000,flash_address=0x0007a000

Add file: ./oem.img

oem,Add file: ./oem.img done,offset=0x64c6000,size=0xc00000,userspace=0x1800,flash_address=0x0047a000

Add file: ./rootfs.img

rootfs,Add file: ./rootfs.img done,offset=0x70c6000,size=0x131c00000,userspace=0x263800,flash_address=0x004ba000

Add CRC...

Make firmware OK!

------ OK ------

********rkImageMaker ver 2.29********

Generating new image, please wait...

Writing head info...

Writing boot file...

Writing firmware...

Generating MD5 data...

MD5 data generated successfully!

New image generated successfully!

Run 'make edit-package-file' if you want to modify the package-file.

Running mk-updateimg.sh - build_updateimg succeeded.

Images under /home/rootroot/3572/talowe-rk3572-linux6.12/output/firmware/ are ready!

Running mk-firmware.sh - build_firmware succeeded.

Running 99-all.sh - build_all succeeded.

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572/talowe-rk3572-linux6.12$

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572/talowe-rk3572-linux6.12$

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572/talowe-rk3572-linux6.12$ find . -name *.img

./rkbin/img/rk1x/rk1806_trust_v1.12.img

./rkbin/bin/rk35/rk3576_mos_resource_syscfg.img

./buildroot/output/talowe_rk3572_ubuntu/rockchip_rk3572_recovery/build/util-linux-2.41.4/tests/ts/cramfs/cramfs-big.img

./buildroot/output/talowe_rk3572_ubuntu/rockchip_rk3572_recovery/build/util-linux-2.41.4/tests/ts/cramfs/cramfs-little.img

./buildroot/output/talowe_rk3572_ubuntu/rockchip_rk3572_recovery/build/util-linux-libs-2.41.4/tests/ts/cramfs/cramfs-big.img

./buildroot/output/talowe_rk3572_ubuntu/rockchip_rk3572_recovery/build/util-linux-libs-2.41.4/tests/ts/cramfs/cramfs-little.img

./buildroot/output/talowe_rk3572_ubuntu/rockchip_rk3572_recovery/build/host-util-linux-2.41.4/tests/ts/cramfs/cramfs-big.img

./buildroot/output/talowe_rk3572_ubuntu/rockchip_rk3572_recovery/build/host-util-linux-2.41.4/tests/ts/cramfs/cramfs-little.img

./buildroot/output/talowe_rk3572_ubuntu/rockchip_rk3572_recovery/build/linux-headers-custom/boot.img

./buildroot/output/talowe_rk3572_ubuntu/rockchip_rk3572_recovery/build/linux-headers-custom/zboot.img

./buildroot/output/talowe_rk3572_ubuntu/rockchip_rk3572_recovery/build/linux-headers-custom/resource.img

./output/recovery-kernel.img

./output/recovery-resource.img

./output/recovery-kernel/boot.img

./output/recovery-kernel/zboot.img

./output/recovery-kernel/resource.img

./output/extra-parts/oem.img

./output/extra-parts/userdata.img

./output/update/update.img

./output/update/Image/rootfs.img

./output/update/Image/boot.img

./output/update/Image/recovery.img

./output/update/Image/uboot.img

./output/update/Image/oem.img

./output/update/Image/update.img

./output/update/Image/update.raw.img

./output/update/Image/misc.img

./output/update/Image/userdata.img

./output/recovery/ramboot.img

./output/recovery/ramdisk.img

./output/recovery/kernel.img

./output/recovery/second.img

./output/firmware/rootfs.img

./output/firmware/boot.img

./output/firmware/recovery.img

./output/firmware/uboot.img

./output/firmware/oem.img

./output/firmware/update.img

./output/firmware/misc.img

./output/firmware/userdata.img

./output/misc.img

./u-boot/uboot.img

./debian/overlay-firmware/usr/share/npu_fw_pcie/boot.img

./debian/overlay-firmware/usr/share/npu_fw_pcie/trust.img

./debian/overlay-firmware/usr/share/npu_fw_pcie/uboot.img

./debian/overlay-firmware/usr/share/npu_fw/boot.img

./debian/overlay-firmware/usr/share/npu_fw/trust.img

./debian/overlay-firmware/usr/share/npu_fw/uboot.img

./kernel-6.12/boot.img

./kernel-6.12/zboot.img

./kernel-6.12/resource.img

./app/rkipc/src/rv1106_wakeup_ipc/meta.img

./ubuntu/Ubuntu_rootfs.img

rootroot@rootroot-HP-245-14-inch-G10-Notebook-PC:~/3572/talowe-rk3572-linux6.12$

Y:\3572\talowe-rk3572-linux6.12\output\update\Image\update.img

相关推荐
仍然.42 分钟前
Redis---String
数据库·redis·缓存
tg_xianheyun1 小时前
2026BytePlus CDN加速应用场景全面解析
服务器·数据库·阿里云·云计算·cdn·全球访问优化·云直播
2401_894915531 小时前
GEO 优化源码性能调优:高并发地域请求缓存与索引优化
java·服务器·网络·数据库·缓存
疯狂打码的少年1 小时前
【数据库技术】数据库三级模式结构(外模式/模式/内模式)
数据库·笔记·oracle
叫我:松哥1 小时前
基于 Flask 框架的学校信息管理系统,技术栈flask+MySQL+boostrap
数据库·flask
冰暮流星1 小时前
MySQL 流程函数详解
数据库·sql·mysql
Darling噜啦啦2 小时前
从零搭建单词管理系统:Next.js + Supabase + Drizzle ORM 全栈实战
数据库·orm·next.js
数据狐(Datafox)2 小时前
1688商品详情API技术解析与落地应用(含标准 JSON 示例)
java·数据库·json