Firefly开源社区

打印 上一主题 下一主题

[Linux] 按官方wiki步骤编译Buildroot时报./rk3588_sdk/app/rkadk No such file or dir.的问题

12

积分

0

威望

0

贡献

技术小白

积分
12
QQ

按官方wiki步骤编译Buildroot时报./rk3588_sdk/app/rkadk No such file or dir.的问题

发表于 2024-5-9 12:25:24      浏览:2761 | 回复:6        打印      只看该作者   [复制链接] 楼主
问题描述及复现步骤:
按“https://wiki.t-firefly.com/zh_CN ... i-buildroot-gu-jian”  的wiki教程,严格按教程操作,一步步顺利走到下面步骤:

1.5. 编译 Buildroot 固件

我们环境下的实际 SDK版本信息查询如下:

jeff@ubuntu:~/RK3588/rk3588_sdk$ readlink -f .repo/manifest.xml
/home/jeff/RK3588/rk3588_sdk/.repo/manifests/rk3588/rk3588_linux_release_20240412_v1.4.0a.xml


按下面的wiki教程:
1.5.1. 准备工作1.5.1.1. 搭建编译环境sudo apt-get install repo git ssh make gcc libssl-dev liblz4-tool \expect g++ patchelf chrpath gawk texinfo chrpath diffstat binfmt-support \qemu-user-static live-build bison flex fakeroot cmake gcc-multilib g++-multilib \unzip \device-tree-compiler ncurses-dev \



注:上面的步骤我们都做了,各上面所列的应用都正常安装了,没发现什么问题,报了个Note如下,不知是否会有问题? 感觉问题不大:      Note, selecting 'libncurses5-dev' instead of'ncurses-dev'

按wiki教程:
1.5.2. 编译 SDK1.5.2.1. 编译前配置


在 device/rockchip/rk3588/ 目录下,有不同板型的配置文件,选择配置文件:

./build.sh itx-3588j-buildroot.mkor./build.sh tx-3588j-BE45-A1-buildroot.mk # MIPI 屏幕


我们操作用的命令和系统反馈如下,感觉没问题:      
jeff@ubuntu:~/RK3588/rk3588_sdk$ ./build.sh ./device/rockchip/rk3588/itx-3588j-BE45-A1-buildroot.mk
processing option: ./device/rockchip/rk3588/itx-3588j-BE45-A1-buildroot.mk



然后我们再按照wiki的下面指示
1.5.2.2. 编译
1.5.2.2.1. 全自动编译

全自动编译会执行上述编译、打包操作,生成 RK 固件。

./build.sh

打包固件,生成的完整固件会保存到 rockdev/pack/ 目录。



我们执行了下面的操作:
jeff@ubuntu:~/RK3588/rk3588_sdk$ ./build.sh

系统开始运行,第1次,运行了很长时间,有全部重新编译并有下载软件安装的 等等,最后报 下面的 错误log,多次运行(后面几次运行都快了,前面需要的软件都已经编译好了,有些软件已经下载安装好了,所以运行起来比较快乐) 所报错误都是下面的错误log(看2处 红色高亮字的有 Error 的地方),情况一样、不变,问题现象是稳定的:

2024-05-08T11:39:14 >>>   Copying overlay board/firefly/roc-rk3588s-pc
2024-05-08T11:39:14 >>>   Copying overlay board/firefly/itx-3588j
2024-05-08T11:39:14 >>>   Copying overlay board/firefly/aio-3588sjd4
2024-05-08T11:39:14 >>>   Executing post-build script ../device/rockchip/common/post-build.sh
2024-05-08T11:39:14 Executing post-build.sh...
2024-05-08T11:39:14 Top of tree: /home/jeff/RK3588/rk3588_sdk/device/rockchip/common/../../..
2024-05-08T11:39:14 Adding information to /etc/os-release...
2024-05-08T11:39:16 Traceback (most recent call last):
2024-05-08T11:39:16 File "/home/jeff/RK3588/rk3588_sdk/.repo/repo/git_command.py", line 220, in __init__
2024-05-08T11:39:16 stderr = stderr)
2024-05-08T11:39:16 File "/usr/lib/python3.6/subprocess.py", line 709, in __init__
2024-05-08T11:39:16 restore_signals, start_new_session)
2024-05-08T11:39:16 File "/usr/lib/python3.6/subprocess.py", line 1344, in _execute_child
2024-05-08T11:39:16 raise child_exception_type(errno_num, err_msg, err_filename)
2024-05-08T11:39:16 FileNotFoundError: [Errno 2] No such file or directory: '/home/jeff/RK3588/rk3588_sdk/app/rkadk': '/home/jeff/RK3588/rk3588_sdk/app/rkadk'
2024-05-08T11:39:16
2024-05-08T11:39:16 During handling of the above exception, another exception occurred:
2024-05-08T11:39:16
2024-05-08T11:39:16 Traceback (most recent call last):
2024-05-08T11:39:16 File "/home/jeff/RK3588/rk3588_sdk/.repo/repo/main.py", line 554, in <module>
2024-05-08T11:39:16 _Main(sys.argv[1:])
2024-05-08T11:39:16 File "/home/jeff/RK3588/rk3588_sdk/.repo/repo/main.py", line 529, in _Main
2024-05-08T11:39:16 result = repo._Run(argv) or 0
2024-05-08T11:39:16 File "/home/jeff/RK3588/rk3588_sdk/.repo/repo/main.py", line 191, in _Run
2024-05-08T11:39:16 result = cmd.Execute(copts, cargs)
2024-05-08T11:39:16 File "/home/jeff/RK3588/rk3588_sdk/.repo/repo/subcmds/manifest.py", line 81, in Execute
2024-05-08T11:39:16 self._Output(opt)
2024-05-08T11:39:16 File "/home/jeff/RK3588/rk3588_sdk/.repo/repo/subcmds/manifest.py", line 71, in _Output
2024-05-08T11:39:16 peg_rev_upstream = opt.peg_rev_upstream)
2024-05-08T11:39:16 File "/home/jeff/RK3588/rk3588_sdk/.repo/repo/manifest_xml.py", line 370, in Save
2024-05-08T11:39:16 output_projects(None, root, list(sorted(projects)))
2024-05-08T11:39:16 File "/home/jeff/RK3588/rk3588_sdk/.repo/repo/manifest_xml.py", line 280, in output_projects
2024-05-08T11:39:16 output_project(parent, parent_node, project)
2024-05-08T11:39:16 File "/home/jeff/RK3588/rk3588_sdk/.repo/repo/manifest_xml.py", line 307, in output_project
2024-05-08T11:39:16 value = p.work_git.rev_parse(HEAD + '^0')
2024-05-08T11:39:16 File "/home/jeff/RK3588/rk3588_sdk/.repo/repo/project.py", line 3061, in runner
2024-05-08T11:39:16 capture_stderr=True)
2024-05-08T11:39:16 File "/home/jeff/RK3588/rk3588_sdk/.repo/repo/git_command.py", line 222, in __init__
2024-05-08T11:39:16 raise GitError('%s: %s' % (command[1], e))
2024-05-08T11:39:16 error.GitError: rev-parse: [Errno 2] No such file or directory: '/home/jeff/RK3588/rk3588_sdk/app/rkadk': '/home/jeff/RK3588/rk3588_sdk/app/rkadk'
2024-05-08T11:39:16 Makefile:756: recipe for target 'target-finalize' failed
2024-05-08T11:39:16 make: *** [target-finalize] Error 1
2024-05-08T11:39:16 make: Leaving directory '/home/jeff/RK3588/rk3588_sdk/buildroot'
Please check details in /home/jeff/RK3588/rk3588_sdk/.buildroot/br.log
Command exited with non-zero status 1
you take 1:13.92 to build builroot
ERROR: Running build_buildroot failed!
ERROR: exit code 1 from line 1315:
    /usr/bin/time -f "you take %E to build builroot" $COMMON_DIR/mk-buildroot.sh $RK_CFG_BUILDROOT $DST_DIR
jeff@ubuntu:~/RK3588/rk3588_sdk$
jeff@ubuntu:~/RK3588/rk3588_sdk$
jeff@ubuntu:~/RK3588/rk3588_sdk$



情况大概这样,看怎样能解决掉,能继续往下完成并能生成完整的buildroot的固件,可以烧到开发板上去测试下,用来验证这个开发环境建好了,这样我们可以基于这个基础上去修改代码、开发适应自己板卡的代码;感觉运行快成功了,就缺临门一脚了;注:什么代码也没改过,包括编译环境等都没改过,都是在没改过代码和编译环境的基础上,按wiki流程走下来,然后在上面的地方碰到问题了。

看了下问题好像和app目录下的rkadk应用程序或子目录有关,看了下 app目录下确实没有 rkadk的应用或子目录,信息如下:

jeff@ubuntu:~/RK3588/rk3588_sdk$ ls -l
total 48
drwxr-xr-x  8 jeff jeff 4096 May  7 08:50 app
drwxr-xr-x 18 jeff jeff 4096 May  8 18:58 buildroot
lrwxrwxrwx  1 jeff jeff   31 May  7 08:50 build.sh -> device/rockchip/common/build.sh
drwxr-xr-x  3 jeff jeff 4096 May  7 08:50 device
drwxr-xr-x  7 jeff jeff 4096 May  7 08:50 docs
lrwxrwxrwx  1 jeff jeff   27 May  7 08:50 envsetup.sh -> buildroot/build/envsetup.sh
drwxr-xr-x 23 jeff jeff 4096 May  7 08:51 external
lrwxrwxrwx  1 jeff jeff   40 May  7 08:50 firefly-update.sh -> device/rockchip/common/firefly-update.sh
drwxr-xr-x 27 jeff jeff 4096 May  8 11:37 kernel
lrwxrwxrwx  1 jeff jeff   36 May  7 08:50 mkfirmware.sh -> device/rockchip/common/mkfirmware.sh
drwxr-xr-x  3 jeff jeff 4096 May  7 08:52 prebuilts
drwxr-xr-x 10 jeff jeff 4096 May  8 11:36 rkbin
lrwxrwxrwx  1 jeff jeff   33 May  7 08:50 rkflash.sh -> device/rockchip/common/rkflash.sh
drwxr-xr-x  3 jeff jeff 4096 May  8 20:42 rockdev
drwxr-xr-x  6 jeff jeff 4096 May  7 08:53 tools
drwxr-xr-x 28 jeff jeff 4096 May  8 11:36 u-boot
drwxr-xr-x  6 jeff jeff 4096 May  7 08:53 uefi
jeff@ubuntu:~/RK3588/rk3588_sdk$ cd app
jeff@ubuntu:~/RK3588/rk3588_sdk/app$ ls -l
total 24
drwxr-xr-x 3 jeff jeff 4096 May  7 08:50 multivideoplayer
drwxr-xr-x 3 jeff jeff 4096 May  7 08:50 qcamera
drwxr-xr-x 5 jeff jeff 4096 May  7 08:50 qfm
drwxr-xr-x 5 jeff jeff 4096 May  7 10:31 QLauncher
drwxr-xr-x 3 jeff jeff 4096 May  7 08:50 qplayer
drwxr-xr-x 3 jeff jeff 4096 May  7 08:50 qsetting
jeff@ubuntu:~/RK3588/rk3588_sdk/app$



尝试过用下面命令,好像没这个应用,没用:
jeff@ubuntu:~/RK3588/rk3588_sdk$ sudo apt list rkadk
Listing... Done
jeff@ubuntu:~/RK3588/rk3588_sdk$ sudo apt install rkadk
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Unable to locate package rkadk
jeff@ubuntu:~/RK3588/rk3588_sdk$












屏幕打印log备份1.txt

57.9 KB, 下载次数: 1, 下载积分: 灯泡 -1 , 经验 -1

回复

使用道具 举报

1万

积分

7

威望

0

贡献

技术大神

Rank: 8Rank: 8

积分
11422

突出贡献

发表于 2024-5-9 13:43:02        只看该作者  沙发
尝试同步一下,看起来像是没同步代码成功
回复

使用道具 举报

12

积分

0

威望

0

贡献

技术小白

积分
12
QQ
发表于 2024-5-10 15:47:42        只看该作者  板凳
799959745 发表于 2024-5-9 13:43
尝试同步一下,看起来像是没同步代码成功

谢谢指点,昨天试过 用:.repo/repo/repo sync 命令重新下载获取到了app/rkadk 模块,以前按 wiki 指导用的是 .repo/repo/repo sync -c --no-tags 的命令,虽然有去 “Fetching project app/rkadk”模块,但实际最终是Skipped 掉了(详见下面红色字符的 截取过来的 部分 log ),但看了下不知前面步骤什么原因,项目的app目录下没有 rkadk的子目录,所以报错,所以尝试用“.repo/repo/repo sync 命令” 替代 “.repo/repo/repo sync -c --no-tags 的命令”,最终看到确实把rkadk 下载到 项目的app的子目录下了,当然附带其它的也一起更新了,造成后面要全部重新编译一遍,问题也不大,多花点时间,然后再重新运行: “./buildroot.sh” 命令,前面报的rkadk目录没有的相关问题消失了,被处理掉了,能再往下运行了。

Fetching project app/rkadk
Fetching projects:  32% (18/55)
Skipped fetching project app/rkadk (already have persistent ref)



运行到最后还有报如下问题,请能帮忙看下什么问题,大概的解决方向?谢谢!

我们执行的命令如下:

jeff@ubuntu:~/RK3588/rk3588_sdk$ ./build.sh itx-3588j-buildroot.mk
processing option: itx-3588j-buildroot.mk
switching to board: /home/jeff/RK3588/rk3588_sdk/device/rockchip/rk3588/itx-3588j-buildroot.mk
/home/jeff/RK3588/rk3588_sdk
/home/jeff/RK3588/rk3588_sdk
jeff@ubuntu:~/RK3588/rk3588_sdk$ ./build.sh
processing option: allff
============================================



。。。。。。。。。。。。。。。  这里  略去 中间的 log



Merging configs/rockchip/wifibt/wireless.config
Merging configs/rockchip/tools/benchmark.config
Merging configs/rockchip/tools/common.config
Merging configs/rockchip/tools/test.config
Merging configs/rockchip/chromium.config
Merging configs/rockchip/npu2.config
Merging configs/rockchip/powermanager.config
Merging configs/rockchip/weston.config
Merging /home/jeff/RK3588/rk3588_sdk/buildroot/configs/firefly_rk3588_defconfig
Value of BR2_TARGET_GENERIC_ROOT_PASSWD is redefined by /home/jeff/RK3588/rk3588_sdk/buildroot/configs/firefly_rk3588_defconfig:
Previous value:        BR2_TARGET_GENERIC_ROOT_PASSWD="rockchip"
New value:        BR2_TARGET_GENERIC_ROOT_PASSWD="firefly"

Value of BR2_ROOTFS_OVERLAY is redefined by /home/jeff/RK3588/rk3588_sdk/buildroot/configs/firefly_rk3588_defconfig:
Previous value:        BR2_ROOTFS_OVERLAY="board/rockchip/common/base board/rockchip/rk3588/fs-overlay/"
Modify value:        BR2_ROOTFS_OVERLAY+="board/firefly/roc-rk3588s-pc board/firefly/itx-3588j board/firefly/aio-3588sjd4"
New value:        BR2_ROOTFS_OVERLAY="board/rockchip/common/base board/rockchip/rk3588/fs-overlay/ board/firefly/roc-rk3588s-pc board/firefly/itx-3588j board/firefly/aio-3588sjd4"

#
# merged configuration written to /home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/.config.in (needs make)
#
BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/build/buildroot-config/tristate.config BR2_CONFIG=/home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/.config HOST_GCC_VERSION="7" BASE_DIR=/home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588 SKIP_LEGACY= CUSTOM_KERNEL_VERSION="5.10" BR2_DEFCONFIG=/home/jeff/RK3588/rk3588_sdk/buildroot/configs/firefly_rk3588_defconfig /home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/build/buildroot-config/conf --defconfig=/home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/.config.in Config.in
#
# configuration written to /home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/.config
#
make: Leaving directory '/home/jeff/RK3588/rk3588_sdk/buildroot'
2024-05-10T00:30:53 >>> pixman 0.42.2 Building
Done in 27s  (error code: 2)
Failed to build /home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/.config:
2024-05-09T11:57:09 | ^~~~~~~~~~~~~~
2024-05-09T11:57:09 pixman-access.c:504:30: warning: '__dummy__r8g8b8a8' defined but not used [-Wunused-const-variable=]
2024-05-09T11:57:09 504 |     static const void *const __dummy__ ## format
2024-05-09T11:57:09 |                              ^~~~~~~~~
2024-05-09T11:57:09 pixman-access.c:514:1: note: in expansion of macro 'MAKE_ACCESSORS'
2024-05-09T11:57:09 514 | MAKE_ACCESSORS(r8g8b8a8);
2024-05-09T11:57:09 | ^~~~~~~~~~~~~~
2024-05-09T11:57:09 pixman-access.c:504:30: warning: '__dummy__r8g8b8x8' defined but not used [-Wunused-const-variable=]
2024-05-09T11:57:09 504 |     static const void *const __dummy__ ## format
2024-05-09T11:57:09 |                              ^~~~~~~~~
2024-05-09T11:57:09 pixman-access.c:513:1: note: in expansion of macro 'MAKE_ACCESSORS'
2024-05-09T11:57:09 513 | MAKE_ACCESSORS(r8g8b8x8);
2024-05-09T11:57:09 | ^~~~~~~~~~~~~~
2024-05-09T11:57:09 pixman-access.c:504:30: warning: '__dummy__b8g8r8x8' defined but not used [-Wunused-const-variable=]
2024-05-09T11:57:09 504 |     static const void *const __dummy__ ## format
2024-05-09T11:57:09 |                              ^~~~~~~~~
2024-05-09T11:57:09 pixman-access.c:512:1: note: in expansion of macro 'MAKE_ACCESSORS'
2024-05-09T11:57:09 512 | MAKE_ACCESSORS(b8g8r8x8);
2024-05-09T11:57:09 | ^~~~~~~~~~~~~~
2024-05-09T11:57:09 pixman-access.c:504:30: warning: '__dummy__b8g8r8a8' defined but not used [-Wunused-const-variable=]
2024-05-09T11:57:09 504 |     static const void *const __dummy__ ## format
2024-05-09T11:57:09 |                              ^~~~~~~~~
2024-05-09T11:57:09 pixman-access.c:511:1: note: in expansion of macro 'MAKE_ACCESSORS'
2024-05-09T11:57:09 511 | MAKE_ACCESSORS(b8g8r8a8);
2024-05-09T11:57:09 | ^~~~~~~~~~~~~~
2024-05-09T11:57:09 pixman-access.c:504:30: warning: '__dummy__x14r6g6b6' defined but not used [-Wunused-const-variable=]
2024-05-09T11:57:09 504 |     static const void *const __dummy__ ## format
2024-05-09T11:57:09 |                              ^~~~~~~~~
2024-05-09T11:57:09 pixman-access.c:510:1: note: in expansion of macro 'MAKE_ACCESSORS'
2024-05-09T11:57:09 510 | MAKE_ACCESSORS(x14r6g6b6);
2024-05-09T11:57:09 | ^~~~~~~~~~~~~~
2024-05-09T11:57:09 pixman-access.c:504:30: warning: '__dummy__x8b8g8r8' defined but not used [-Wunused-const-variable=]
2024-05-09T11:57:09 504 |     static const void *const __dummy__ ## format
2024-05-09T11:57:09 |                              ^~~~~~~~~
2024-05-09T11:57:09 pixman-access.c:509:1: note: in expansion of macro 'MAKE_ACCESSORS'
2024-05-09T11:57:09 509 | MAKE_ACCESSORS(x8b8g8r8);
2024-05-09T11:57:09 | ^~~~~~~~~~~~~~
2024-05-09T11:57:09 pixman-access.c:504:30: warning: '__dummy__a8b8g8r8' defined but not used [-Wunused-const-variable=]
2024-05-09T11:57:09 504 |     static const void *const __dummy__ ## format
2024-05-09T11:57:09 |                              ^~~~~~~~~
2024-05-09T11:57:09 pixman-access.c:508:1: note: in expansion of macro 'MAKE_ACCESSORS'
2024-05-09T11:57:09 508 | MAKE_ACCESSORS(a8b8g8r8);
2024-05-09T11:57:09 | ^~~~~~~~~~~~~~
2024-05-09T11:57:09 pixman-access.c:504:30: warning: '__dummy__x8r8g8b8' defined but not used [-Wunused-const-variable=]
2024-05-09T11:57:09 504 |     static const void *const __dummy__ ## format
2024-05-09T11:57:09 |                              ^~~~~~~~~
2024-05-09T11:57:09 pixman-access.c:507:1: note: in expansion of macro 'MAKE_ACCESSORS'
2024-05-09T11:57:09 507 | MAKE_ACCESSORS(x8r8g8b8);
2024-05-09T11:57:09 | ^~~~~~~~~~~~~~
2024-05-09T11:57:09 pixman-access.c:504:30: warning: '__dummy__a8r8g8b8' defined but not used [-Wunused-const-variable=]
2024-05-09T11:57:09 504 |     static const void *const __dummy__ ## format
2024-05-09T11:57:09 |                              ^~~~~~~~~
2024-05-09T11:57:09 pixman-access.c:506:1: note: in expansion of macro 'MAKE_ACCESSORS'
2024-05-09T11:57:09 506 | MAKE_ACCESSORS(a8r8g8b8);
2024-05-09T11:57:09 | ^~~~~~~~~~~~~~
2024-05-09T11:57:16 make[3]: Leaving directory '/home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/build/pixman-0.42.2/pixman'
2024-05-09T11:57:16 Makefile:515: recipe for target 'all-recursive' failed
2024-05-09T11:57:16 make[2]: *** [all-recursive] Error 1
2024-05-09T11:57:16 make[2]: Leaving directory '/home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/build/pixman-0.42.2'
2024-05-09T11:57:16 Makefile:422: recipe for target 'all' failed
2024-05-09T11:57:16 make[1]: *** [all] Error 2
2024-05-09T11:57:16 make[1]: Leaving directory '/home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/build/pixman-0.42.2'
2024-05-09T11:57:16 package/pkg-generic.mk:313: recipe for target '/home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/build/pixman-0.42.2/.stamp_built' failed
2024-05-09T11:57:16 make: *** [/home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/build/pixman-0.42.2/.stamp_built] Error 2
2024-05-09T11:57:16 make: Leaving directory '/home/jeff/RK3588/rk3588_sdk/buildroot'
2024-05-10T00:30:32 make: Entering directory '/home/jeff/RK3588/rk3588_sdk/buildroot'
2024-05-10T00:30:51 /usr/bin/make -j1 O=/home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588 HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" syncconfig
2024-05-10T00:30:51 make[1]: Entering directory '/home/jeff/RK3588/rk3588_sdk/buildroot'
2024-05-10T00:30:52 GEN     /home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/Makefile
2024-05-10T00:30:52 make[1]: Leaving directory '/home/jeff/RK3588/rk3588_sdk/buildroot'
2024-05-10T00:30:53 >>> pixman 0.42.2 Building
2024-05-10T00:30:53 PATH="/home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/host/bin:/home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"  /usr/bin/make -j5  -C /home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/build/pixman-0.42.2/
2024-05-10T00:30:53 make[1]: Entering directory '/home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/build/pixman-0.42.2'
2024-05-10T00:30:53 /usr/bin/make  all-recursive
2024-05-10T00:30:53 make[2]: Entering directory '/home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/build/pixman-0.42.2'
2024-05-10T00:30:53 Making all in pixman
2024-05-10T00:30:53 make[3]: Entering directory '/home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/build/pixman-0.42.2/pixman'
2024-05-10T00:30:53 CC       pixman.lo
2024-05-10T00:30:53 CC       pixman-conical-gradient.lo
2024-05-10T00:30:53 CC       pixman-combine-float.lo
2024-05-10T00:30:53 CC       pixman-filter.lo
2024-05-10T00:30:53 CC       pixman-x86.lo
2024-05-10T00:30:54 In file included from pixman.c:36:
2024-05-10T00:30:54 /home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/host/lib/gcc/aarch64-buildroot-linux-gnu/12.3.0/include-fixed/rga/RgaApi.h:42:10: fatal error: drmrga.h: No such file or directory
2024-05-10T00:30:54 42 | #include "drmrga.h"
2024-05-10T00:30:54 |          ^~~~~~~~~~
2024-05-10T00:30:54 compilation terminated.
2024-05-10T00:30:54 Makefile:934: recipe for target 'pixman.lo' failed
2024-05-10T00:30:54 make[3]: *** [pixman.lo] Error 1
2024-05-10T00:30:54 make[3]: *** Waiting for unfinished jobs....
2024-05-10T00:30:59 make[3]: Leaving directory '/home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/build/pixman-0.42.2/pixman'
2024-05-10T00:30:59 Makefile:515: recipe for target 'all-recursive' failed
2024-05-10T00:30:59 make[2]: *** [all-recursive] Error 1
2024-05-10T00:30:59 make[2]: Leaving directory '/home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/build/pixman-0.42.2'
2024-05-10T00:30:59 Makefile:422: recipe for target 'all' failed
2024-05-10T00:30:59 make[1]: *** [all] Error 2
2024-05-10T00:30:59 make[1]: Leaving directory '/home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/build/pixman-0.42.2'
2024-05-10T00:30:59 package/pkg-generic.mk:313: recipe for target '/home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/build/pixman-0.42.2/.stamp_built' failed
2024-05-10T00:30:59 make: *** [/home/jeff/RK3588/rk3588_sdk/buildroot/output/firefly_rk3588/build/pixman-0.42.2/.stamp_built] Error 2
2024-05-10T00:30:59 make: Leaving directory '/home/jeff/RK3588/rk3588_sdk/buildroot'
Please check details in /home/jeff/RK3588/rk3588_sdk/.buildroot/br.log
Command exited with non-zero status 1
you take 0:33.92 to build builroot
ERROR: Running build_buildroot failed!
ERROR: exit code 1 from line 1376:
    /usr/bin/time -f "you take %E to build builroot" $COMMON_DIR/mk-buildroot.sh $RK_CFG_BUILDROOT $DST_DIR





从上面log看,明面上 问题 好像 和 “2024-05-10T00:30:53 >>> pixman 0.42.2 Building”  有关,实际不知是否 还是和有些 东西 没 完全 下载 下来 有关?  怎样才能完整下载完全? 用 wiki 指导 中 说的 “方法二”重新弄一次 ?

网页:https://wiki.t-firefly.com/zh_CN ... i-buildroot-gu-jian

上的wiki的指导信息 摘要如下:


方法二

通过 repo 拉取代码,此方法对网络要求较高,有条件可以使用

可选择获取完整 SDK 或者 BSP:

mkdir ~/proj/rk3588_sdk/
cd ~/proj/rk3588_sdk/

## 完整 SDK
repo init --no-clone-bundle --repo-url https://gitlab.com/firefly-linux/git-repo.git -u https://gitlab.com/firefly-linux/manifests.git -b master -m rk3588_linux_release.xml

## BSP ( 只包含基础仓库和编译工具 )
## BSP 包括 device/rockchip 、docs 、 kernel 、 u-boot 、 rkbin 、 tools 和交叉编译链
repo init --no-clone-bundle --repo-url https://gitlab.com/firefly-linux/git-repo.git -u https://gitlab.com/firefly-linux/manifests.git -b master -m rk3588_linux_bsp_release.xml



请指点下,谢谢!

回复

使用道具 举报

1万

积分

7

威望

0

贡献

技术大神

Rank: 8Rank: 8

积分
11422

突出贡献

发表于 2024-5-11 09:52:48        只看该作者  地板
代码同步好像没同步完。正常同步完是显示 100% 的。
回复

使用道具 举报

12

积分

0

威望

0

贡献

技术小白

积分
12
QQ
发表于 2024-5-11 20:06:08        只看该作者  5#
799959745 发表于 2024-5-11 09:52
代码同步好像没同步完。正常同步完是显示 100% 的。

谢谢回复!

昨晚我按wiki上的方案二的方式,重新下载了SDK源码,再重新弄,可以了,最后能正常运行 ./build.sh 并 生成 img,谢谢支持!  按方案 一 弄 为什么会碰到不少问题,就不清楚了,先这样,能有办法能弄好,能进行下去 就可以了。

方法二

通过 repo 拉取代码,此方法对网络要求较高,有条件可以使用

可选择获取完整 SDK 或者 BSP:

mkdir ~/proj/rk3588_sdk/
cd ~/proj/rk3588_sdk/

## 完整 SDK
repo init --no-clone-bundle --repo-url https://gitlab.com/firefly-linux/git-repo.git -u https://gitlab.com/firefly-linux/manifests.git -b master -m rk3588_linux_release.xml

## BSP ( 只包含基础仓库和编译工具 )
## BSP 包括 device/rockchip 、docs 、 kernel 、 u-boot 、 rkbin 、 tools 和交叉编译链
repo init --no-clone-bundle --repo-url https://gitlab.com/firefly-linux/git-repo.git -u https://gitlab.com/firefly-linux/manifests.git -b master -m rk3588_linux_bsp_release.xml


回复

使用道具 举报

13

积分

0

威望

0

贡献

技术小白

积分
13
发表于 2024-8-21 14:07:29        只看该作者  6#
陈教峰Jeff 发表于 2024-5-11 20:06
谢谢回复!

昨晚我按wiki上的方案二的方式,重新下载了SDK源码,再重新弄,可以了,最后能正常运行 ./ ...

我也遇到相同的问题了;目前正在尝试方案二,但是下载很慢
回复

使用道具 举报

12

积分

0

威望

0

贡献

技术小白

积分
12
QQ
发表于 2024-11-14 20:56:32        只看该作者  7#
stsimon 发表于 2024-8-21 14:07
我也遇到相同的问题了;目前正在尝试方案二,但是下载很慢

ok
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表