20220513-rk3568编译linux4.19的buildroot-4(rootfs)

20220513-rk3568编译linux4.19的buildroot

2022/5/13 15:20


1、SourceHanSansCN.zip这个包找不到,

Z:\rk3568_linux4.19\buildroot\dl

https://raw.githubusercontent.com/adobe-fonts/source-han-sans/2.001R/SubsetOTF/SourceHanSansCN.zip

百度可以知道:思源字体 SourceHanSansCN

这个链接应该是失效了或者是外网链接!可以适用迅雷下载或者115下载。

2、unixbench-master.tar.gz找不到!

http://sources.buildroot.net/unixbench-master.tar.gz

这个就更加可恶了,迅雷和115都没有办法!

最后是在码云找到了!

https://gitee.com/caesar-wang/buildroot-download/tree/master

caesar wang / buildroot-download

希望Rockchip原厂的工程师,定期(比如每季度)自己重新编译一下buildroot,如果存在库下载不了的情况,就直接上传到服务器上!工程师何苦为难工程师呢?




2022-05-10T20:03:01 >>> source-han-sans-cn 2.001R Downloading

2022-05-10T20:02:57 test "npu2" = "npu2" && /usr/bin/install -D -m 0755 /home/rootroot/rk3568_linux4.19/buildroot/output/rockchip_rk3568/build/rockchip_test-20220105/npu2_aarch64/rknn_mobilenet_demo /home/rootroot/rk3568_linux4.19/buildroot/output/rockchip_rk3568/target/rockchip_test/npu2/ || true

2022-05-10T20:02:57 /usr/bin/install: target '/home/rootroot/rk3568_linux4.19/buildroot/output/rockchip_rk3568/target/rockchip_test/npu2/' is not a directory: No such file or directory

2022-05-10T20:03:01 >>> source-han-sans-cn 2.001R Downloading

2022-05-10T20:03:01 --2022-05-10 20:03:01--  https://raw.githubusercontent.com/adobe-fonts/source-han-sans/2.001R/SubsetOTF/SourceHanSansCN.zip

2022-05-10T20:03:01 Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 0.0.0.0, ::

2022-05-10T20:03:01 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|0.0.0.0|:443... failed: Connection refused.

2022-05-10T20:03:01 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|::|:443... failed: Connection refused.

2022-05-10T20:03:01 --2022-05-10 20:03:01--  http://sources.buildroot.net/SourceHanSansCN.zip

2022-05-10T20:03:01 Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.0.37, 104.26.1.37, 172.67.72.56, ...

2022-05-10T20:03:01 Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.0.37|:80... connected.

2022-05-10T20:03:01 HTTP request sent, awaiting response... 404 Not Found

2022-05-10T20:03:01 2022-05-10 20:03:01 ERROR 404: Not Found.

2022-05-10T20:03:01

2022-05-10T20:03:01 make[1]: *** [package/pkg-generic.mk:140: /home/rootroot/rk3568_linux4.19/buildroot/output/rockchip_rk3568/build/source-han-sans-cn-2.001R/.stamp_downloaded] Error 1

2022-05-10T20:03:01 make: *** [/home/rootroot/rk3568_linux4.19/buildroot/output/rockchip_rk3568/Makefile:16: _all] Error 2

Command exited with non-zero status 1

you take 1:40:49 to build builroot

ERROR: Running build_buildroot failed!

ERROR: exit code 1 from line 628:

    /usr/bin/time -f "you take %E to build builroot" $COMMON_DIR/mk-buildroot.sh $BOARD_CONFIG

rootroot@rootroot-System-Product1:~/rk3568_linux4.19$

rootroot@rootroot-System-Product1:~/rk3568_linux4.19$ ./build.sh rootfs

2022-05-11T10:47:41 >>> unixbench master Downloading

2022-05-11T10:48:48 Doing shallow clone

2022-05-11T10:48:48 Cloning into 'unixbench-master'...

2022-05-11T10:53:06 fatal: unable to access 'https://github.com/kdlucas/byte-unixbench/': gnutls_handshake() failed: Error in the pull function.

2022-05-11T10:53:06 Shallow clone failed, falling back to doing a full clone

2022-05-11T10:53:06 Doing full clone

2022-05-11T10:53:06 Cloning into 'unixbench-master'...

2022-05-11T10:55:07 fatal: unable to access 'https://github.com/kdlucas/byte-unixbench/': GnuTLS recv error (-110): The TLS connection was non-properly terminated.

2022-05-11T10:55:07 --2022-05-11 10:55:07--  http://sources.buildroot.net/unixbench-master.tar.gz

2022-05-11T10:55:12 Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.0.37, 104.26.1.37, 172.67.72.56, ...

2022-05-11T10:55:12 Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.0.37|:80... connected.

2022-05-11T10:55:12 HTTP request sent, awaiting response... 404 Not Found

2022-05-11T10:55:12 2022-05-11 10:55:12 ERROR 404: Not Found.

2022-05-11T10:55:12

2022-05-11T10:55:12 make[1]: *** [package/pkg-generic.mk:140: /home/rootroot/rk3568_linux4.19/buildroot/output/rockchip_rk3568/build/unixbench-master/.stamp_downloaded] Error 1

2022-05-11T10:55:12 make: *** [/home/rootroot/rk3568_linux4.19/buildroot/output/rockchip_rk3568/Makefile:16: _all] Error 2

Command exited with non-zero status 1

you take 11:25.79 to build builroot

ERROR: Running build_buildroot failed!

ERROR: exit code 1 from line 628:

    /usr/bin/time -f "you take %E to build builroot" $COMMON_DIR/mk-buildroot.sh $BOARD_CONFIG

rootroot@rootroot-System-Product1:~/rk3568_linux4.19$

参考资料:

https://blog.csdn.net/Neutionwei/article/details/122262078

[ROC-RK3568-PC] 手把手教你编译Linux_SDK并打包Buildroot系统固件

你可能感兴趣的:(20220513-rk3568编译linux4.19的buildroot-4(rootfs))