嵌入式爱好者

查看: 31|回复: 0

[Linux] 3506B内核编译问题

[复制链接]

1

主题

2

帖子

6

积分

扫一扫,手机访问本帖
发表于 前天 10:47 | 显示全部楼层 |阅读模式
没找到FET3506B的板块,借这边问下

运行 ./build.sh rootfs  会报错,

Your network is not able to access sources.buildroot.net!
Please retry later (it could be down for a while) or setup a VPN to bypass the GFW.
Unset RK_NETWORK_CHECK in the SDK config to continue...

ERROR: Running /workspace/work/OK3506_Linux_Source/device/rockchip/common/build-hooks/30-rootfs.sh - build_buildroot failed!
ERROR: exit code 1 from line 16:
    "$RK_SCRIPTS_DIR/mk-buildroot.sh" $RK_BUILDROOT_CFG "$IMAGE_DIR"
ERROR: call stack:
    30-rootfs.sh: build_buildroot(16)
    30-rootfs.sh: build_hook(297)
    build-helper: try_func(63)
    build-helper: try_hook(96)
    build-helper: source(165)
    30-rootfs.sh: main(321)
ERROR: Running /workspace/work/OK3506_Linux_Source/device/rockchip/common/build-hooks/30-rootfs.sh - try_func build_hook rootfs failed!
ERROR: exit code 1 from line 67:
    build_hook
ERROR: call stack:
    build-helper: try_func(67)
    build-helper: try_hook(96)
    build-helper: source(165)
    30-rootfs.sh: main(321)

但是我是在一个容器内编译的,主机的glibc的版本太低  我在容器内运行 curl -v https://sources.buildroot.net*   Trying 104.26.0.37:443...
* Connected to sources.buildroot.net (104.26.0.37) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS header, Finished (20):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.2 (OUT), TLS header, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
至少应该不是容器内的网络 连接不上的问题导致的,

Your network is not able to access sources.buildroot.net!
Please retry later (it could be down for a while) or setup a VPN to bypass the GFW.
Unset RK_NETWORK_CHECK in the SDK config to continue...

看到有 RK_NETWORK_CHECK=y  的配置
所以 尝试  ./build.sh  config  把 RK_NETWORK_CHECK=N
然后 运行  ./build.sh rootfs  还是报错








回复

使用道具 举报

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

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2025-10-25 07:41

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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