Firefly开源社区

打印 上一主题 下一主题

[Linux] 3568J编译recovery 报错

115

积分

0

威望

0

贡献

技术小白

积分
115

3568J编译recovery 报错

发表于 2022-7-1 15:47:58      浏览:5331 | 回复:3        打印      只看该作者   [复制链接] 楼主
问题描述及复现步骤:
3568J 编译 recovery 报如下错误:

ly@ubuntu:~/Desktop/RK3568_ws/Source/Linux-SDK/build_ws/rk356x_linux_release_20211019$ ./build.sh recovery
processing option: recovery
==========Start building recovery==========
TARGET_RECOVERY_CONFIG=rockchip_rk356x_recovery
========================================
config is rockchip_rk356x_recovery
found kernel image
Top of tree: /home/ly/Desktop/RK3568_ws/Source/Linux-SDK/build_ws/rk356x_linux_release_20211019
===========================================

#TARGET_BOARD=rk356x
#OUTPUT_DIR=output/rockchip_rk356x_recovery
#CONFIG=rockchip_rk356x_recovery_defconfig

===========================================
make: Entering directory '/home/ly/Desktop/RK3568_ws/Source/Linux-SDK/build_ws/rk356x_linux_release_20211019/buildroot'
  GEN     /home/ly/Desktop/RK3568_ws/Source/Linux-SDK/build_ws/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/Makefile
/home/ly/Desktop/RK3568_ws/Source/Linux-SDK/build_ws/rk356x_linux_release_20211019/buildroot/build/defconfig_hook.py -m /home/ly/Desktop/RK3568_ws/Source/Linux-SDK/build_ws/rk356x_linux_release_20211019/buildroot/configs/rockchip_rk356x_recovery_defconfig /home/ly/Desktop/RK3568_ws/Source/Linux-SDK/build_ws/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/.rockchipconfig
BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/home/ly/Desktop/RK3568_ws/Source/Linux-SDK/build_ws/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/ly/Desktop/RK3568_ws/Source/Linux-SDK/build_ws/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/ly/Desktop/RK3568_ws/Source/Linux-SDK/build_ws/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/build/buildroot-config/tristate.config BR2_CONFIG=/home/ly/Desktop/RK3568_ws/Source/Linux-SDK/build_ws/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/.config HOST_GCC_VERSION="7" BUILD_DIR=/home/ly/Desktop/RK3568_ws/Source/Linux-SDK/build_ws/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/build SKIP_LEGACY= BR2_DEFCONFIG=/home/ly/Desktop/RK3568_ws/Source/Linux-SDK/build_ws/rk356x_linux_release_20211019/buildroot/configs/rockchip_rk356x_recovery_defconfig /home/ly/Desktop/RK3568_ws/Source/Linux-SDK/build_ws/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/build/buildroot-config/conf --defconfig=/home/ly/Desktop/RK3568_ws/Source/Linux-SDK/build_ws/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/.rockchipconfig Config.in
/home/ly/Desktop/RK3568_ws/Source/Linux-SDK/build_ws/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/.rockchipconfig:57:warning: override: reassigning to symbol BR2_PACKAGE_UPDATE
/home/ly/Desktop/RK3568_ws/Source/Linux-SDK/build_ws/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/.rockchipconfig:58:warning: override: reassigning to symbol BR2_PACKAGE_RKSCRIPT
#
# configuration written to /home/ly/Desktop/RK3568_ws/Source/Linux-SDK/build_ws/rk356x_linux_release_20211019/buildroot/output/rockchip_rk356x_recovery/.config
#
make: Leaving directory '/home/ly/Desktop/RK3568_ws/Source/Linux-SDK/build_ws/rk356x_linux_release_20211019/buildroot'
====Start build rockchip_rk356x_recovery====
2022-07-01T15:35:50 >>> host-binutils 2.36.1 Extracting
Done in 10s  (error code: 2)

Command exited with non-zero status 2
you take 0:11.08 to build recovery




log.zip

995 Bytes, 下载次数: 2, 下载积分: 灯泡 -1 , 经验 -1

回复

使用道具 举报

1306

积分

0

威望

0

贡献

中级创客

Rank: 4

积分
1306
发表于 2022-7-5 10:43:43        只看该作者  沙发
解压缩 SDK/buildroot/dl/binutils-2.36.1.tar.xz 出错了,你可以看下具体的错误信息 SDK/br.log
回复

使用道具 举报

115

积分

0

威望

0

贡献

技术小白

积分
115
发表于 2022-7-5 18:18:56        只看该作者  板凳
时间的蝴蝶 发表于 2022-7-5 10:43
解压缩 SDK/buildroot/dl/binutils-2.36.1.tar.xz 出错了,你可以看下具体的错误信息 SDK/br.log

是有问题,官方给的解压后就这样,你们获取的也能用
最初是
# 解压
mkdir ~/proj/
cd ~/proj/
cat path/to/rk356x_linux_release_v1.2.0_20211019_split_dir/*firefly_split* | tar -xzv

# 导出数据
.repo/repo/repo sync -l

执行这个出错,尝试了好几次才好,这代码是不是又问题。。。。。。
MD5值都计算过了都一样
回复

使用道具 举报

1306

积分

0

威望

0

贡献

中级创客

Rank: 4

积分
1306
发表于 2022-7-6 11:12:49        只看该作者  地板
lanboo 发表于 2022-7-5 18:18
是有问题,官方给的解压后就这样,你们获取的也能用
最初是
# 解压

MD5 一致的话,估计还是解压的问题;可以同步一下最新的代码,.repo/repo/repo sync -c --no-tags
回复

使用道具 举报

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

本版积分规则

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