Firefly开源社区

标题: 3568J编译recovery 报错 [打印本页]

作者: lanboo    时间: 2022-7-1 15:47
标题: 3568J编译recovery 报错
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




tchip_askquestions

log.zip

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


作者: 时间的蝴蝶    时间: 2022-7-5 10:43
解压缩 SDK/buildroot/dl/binutils-2.36.1.tar.xz 出错了,你可以看下具体的错误信息 SDK/br.log

作者: lanboo    时间: 2022-7-5 18:18
时间的蝴蝶 发表于 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值都计算过了都一样
作者: 时间的蝴蝶    时间: 2022-7-6 11:12
lanboo 发表于 2022-7-5 18:18
是有问题,官方给的解压后就这样,你们获取的也能用
最初是
# 解压

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




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1