zhangyin26825 发表于 2025-10-23 10:47:44

3506B内核编译问题

没找到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.shconfig把 RK_NETWORK_CHECK=N
然后 运行./build.sh rootfs还是报错








kunyi 发表于 6 天前

是网路问题
看叙述是连不到
sources.buildroot.net
要透过VPN 等其他方法绕过牆
页: [1]
查看完整版本: 3506B内核编译问题