找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 449|回复: 5

R2S自编译问题

[复制链接]
在ubuntu系统上自编译R2S,出现以下错误,检查后发现,下载DL库时有一个叫rk3566_ddr_1056MHz_v1.13.bin始终下载不了,手动下载报错404,不知道怎么办了,故发帖求助,各位大神支支招


echo "uboot-envtools" >> /home/ysx/lede/staging_dir/target-aarch64_generic_musl/pkginfo/uboot-envtools.default.install
make[3]: Leaving directory '/home/ysx/lede/package/boot/uboot-envtools'
time: package/boot/uboot-envtools/compile#3.47#0.80#3.81
make[3]: Entering directory '/home/ysx/lede/package/boot/uboot-rockchip'
mkdir -p /home/ysx/lede/dl
SHELL= flock /home/ysx/lede/tmp/.rk3566_ddr_1056MHz_v1.13.bin.flock -c '          /home/ysx/lede/scripts/download.pl "/home/ysx/lede/dl" "rk3566_ddr_1056MHz_v1.13.bin" "6f165b37640eb876b5f41297bcce6451eb8a86fa56649633d4aca76047136a36" "" "https://raw.githubusercontent.com/rockchip-linux/rkbin/b0c100f1a260d807df450019774993c761beb79d/bin/rk35/"    '
+ wget --tries=5 --timeout=20 --output-document=- https://raw.githubusercontent.co ... r_1056MHz_v1.13.bin
--2023-04-13 21:06:48--  https://raw.githubusercontent.co ... r_1056MHz_v1.13.bin
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 0.0.0.0, ::
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|0.0.0.0|:443... failed: Connection refused.
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|::|:443... failed: Connection refused.
Download failed.
+ wget --tries=5 --timeout=20 --output-document=- https://sources.cdn.openwrt.org/rk3566_ddr_1056MHz_v1.13.bin
--2023-04-13 21:06:48--  https://sources.cdn.openwrt.org/rk3566_ddr_1056MHz_v1.13.bin
Resolving sources.cdn.openwrt.org (sources.cdn.openwrt.org)... 151.101.110.132, 2a04:4e42:1a::644
Connecting to sources.cdn.openwrt.org (sources.cdn.openwrt.org)|151.101.110.132|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-04-13 21:06:49 ERROR 404: Not Found.

Download failed.
+ wget --tries=5 --timeout=20 --output-document=- https://sources.openwrt.org/rk3566_ddr_1056MHz_v1.13.bin
--2023-04-13 21:06:49--  https://sources.openwrt.org/rk3566_ddr_1056MHz_v1.13.bin
Resolving sources.openwrt.org (sources.openwrt.org)... 148.251.151.136, 2a01:4f8:210:5087::2
Connecting to sources.openwrt.org (sources.openwrt.org)|148.251.151.136|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-04-13 21:06:50 ERROR 404: Not Found.

Download failed.
+ wget --tries=5 --timeout=20 --output-document=- https://mirror2.openwrt.org/sources/rk3566_ddr_1056MHz_v1.13.bin
--2023-04-13 21:06:50--  https://mirror2.openwrt.org/sources/rk3566_ddr_1056MHz_v1.13.bin
Resolving mirror2.openwrt.org (mirror2.openwrt.org)... 46.4.11.11, 2a01:4f8:221:3d45::2
Connecting to mirror2.openwrt.org (mirror2.openwrt.org)|46.4.11.11|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-04-13 21:06:51 ERROR 404: Not Found.

Download failed.
No more mirrors to try - giving up.
make[3]: *** [Makefile:295: /home/ysx/lede/dl/rk3566_ddr_1056MHz_v1.13.bin] Error 2
make[3]: Leaving directory '/home/ysx/lede/package/boot/uboot-rockchip'
time: package/boot/uboot-rockchip/nanopi-r2s-rk3328/compile#0.17#0.06#3.08
    ERROR: package/boot/uboot-rockchip failed to build (build variant: nanopi-r2s-rk3328).
make[2]: *** [package/Makefile:116: package/boot/uboot-rockchip/compile] Error 1
make[2]: Leaving directory '/home/ysx/lede'
make[1]: *** [package/Makefile:110: /home/ysx/lede/staging_dir/target-aarch64_generic_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/ysx/lede'
make: *** [/home/ysx/lede/include/toplevel.mk:231:world] 错误 2

我的恩山、我的无线 The best wifi forum is right here.
 楼主| | 显示全部楼层
又出现新的错误,这次完全看不懂了
make[4]: Entering directory '/home/ysx/lede/build_dir/target-aarch64_generic_musl/u-boot-nanopi-r2s-rk3328/u-boot-2023.04'
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf  --syncconfig Kconfig
.config:2241:warning: override: reassigning to symbol IDENT_STRING
  UPD     include/config.h
  CFG     u-boot.cfg
  GEN     include/autoconf.mk
  GEN     include/autoconf.mk.dep
  CFG     spl/u-boot.cfg
  GEN     spl/include/autoconf.mk
  CFG     tpl/u-boot.cfg
  GEN     tpl/include/autoconf.mk
  UPD     include/config/uboot.release
  UPD     include/generated/version_autogenerated.h
  UPD     include/generated/timestamp_autogenerated.h
  UPD     include/generated/dt.h
  ENVC    include/generated/env.txt
  ENVP    include/generated/env.in
  ENVT    include/generated/environment.h
  CC      lib/asm-offsets.s
  UPD     include/generated/generic-asm-offsets.h
  CC      arch/arm/lib/asm-offsets.s
  UPD     include/generated/asm-offsets.h
make -f ./scripts/Makefile.build obj=scripts/dtc
  SHIPPED scripts/dtc/pylibfdt/libfdt.i
  PYMOD   rebuild
error: command 'swig' failed: No such file or directory
make[6]: *** [scripts/dtc/pylibfdt/Makefile:33: rebuild] Error 1
make[5]: *** [scripts/Makefile.build:397: scripts/dtc/pylibfdt] Error 2
make[4]: *** [Makefile:2003: scripts_dtc] Error 2
make[4]: Leaving directory '/home/ysx/lede/build_dir/target-aarch64_generic_musl/u-boot-nanopi-r2s-rk3328/u-boot-2023.04'
make[3]: *** [Makefile:334: /home/ysx/lede/build_dir/target-aarch64_generic_musl/u-boot-nanopi-r2s-rk3328/u-boot-2023.04/.built] Error 2
make[3]: Leaving directory '/home/ysx/lede/package/boot/uboot-rockchip'
time: package/boot/uboot-rockchip/nanopi-r2s-rk3328/compile#7.62#1.42#8.55
    ERROR: package/boot/uboot-rockchip failed to build (build variant: nanopi-r2s-rk3328).
make[2]: *** [package/Makefile:116: package/boot/uboot-rockchip/compile] Error 1
make[2]: Leaving directory '/home/ysx/lede'
make[1]: *** [package/Makefile:110: /home/ysx/lede/staging_dir/target-aarch64_generic_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/ysx/lede'
make: *** [/home/ysx/lede/include/toplevel.mk:231:world] 错误 2
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

点评

我仔细检查了一下config配置,虽然下面几个文件被注释了,但是编译时可能还是需要读取 # Boot Loaders # CONFIG_PACKAGE_arm-trusted-firmware-rk3328=y # CONFIG_PACKAGE_arm-trusted-firmware-rk3399 is not s  详情 回复 发表于 2023-4-14 17:40
还是不行,一样的错误  详情 回复 发表于 2023-4-14 17:24
好的,我试试 另外,我都是全程全局模式的  详情 回复 发表于 2023-4-14 16:43
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
jjit 发表于 2023-4-14 16:15
挂代.理,或者这个连接:https://ghproxy.com/https://raw.githubusercontent.com/rockchip-linux/rkbin/b0 ...

好的,我试试
另外,我都是全程全局模式的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
本帖最后由 ysx115683308 于 2023-4-14 17:26 编辑
我下载好文件,放到DL文件夹下,重新编译
还是不行,一样的错误
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层

我仔细检查了一下config配置,虽然下面几个文件被注释了,但是编译时可能还是需要读取,问题可能就出在这
# Boot Loaders
#
CONFIG_PACKAGE_arm-trusted-firmware-rk3328=y
# CONFIG_PACKAGE_arm-trusted-firmware-rk3399 is not set
# CONFIG_PACKAGE_arm-trusted-firmware-rk3566 is not set
# CONFIG_PACKAGE_arm-trusted-firmware-rk3568 is not set
# CONFIG_PACKAGE_trusted-firmware-a-rk3328 is not set
# CONFIG_PACKAGE_trusted-firmware-a-rk3399 is not set
# CONFIG_PACKAGE_trusted-firmware-a-rk3568 is not set
CONFIG_PACKAGE_u-boot-nanopi-r2s-rk3328=y
# end of Boot Loaders
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-27 16:15

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表