jinbupt 发表于 2022-11-17 20:04:06

rk3399pro_linux_release_v2.5.1_20210304,Build uboot failed!

官方资料文档中,编译linux固件这一步,有个.repo/repo/repo sync -c --no-tags,这一步玩儿了一个多星期,愣是没成功过?

怎么回事?????????

这一步不走的话,build.sh会报:

boot_merger pack: error: unrecognized arguments: --replace tools/rk_tools/ ./ /fire/src/rk3399pro_linux_release_v2.5.1_20210304/rkbin/RKBOOT/RK3399PROMINIALL.ini
====Build uboot failed!====


有没有明白人,指条路。


Liuth 发表于 2022-11-18 10:54:57

这个是网络问题,尝试去掉你系统中的代理

jinbupt 发表于 2022-11-18 14:21:52

root@lnjoying-Standard-PC-i440FX-PIIX-1996:/fire/src/rk3399pro_linux_release_v2.5.1_20210304# pwd
/fire/src/rk3399pro_linux_release_v2.5.1_20210304
root@lnjoying-Standard-PC-i440FX-PIIX-1996:/fire/src/rk3399pro_linux_release_v2.5.1_20210304# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=115 time=44.7 ms
^C
--- 8.8.8.8 ping statistics ---
2 packets transmitted, 1 received, 50% packet loss, time 1001ms
rtt min/avg/max/mdev = 44.798/44.798/44.798/0.000 ms
root@lnjoying-Standard-PC-i440FX-PIIX-1996:/fire/src/rk3399pro_linux_release_v2.5.1_20210304# ping news.sina.com.cn
PING ww1.sinaimg.cn.w.alikunlun.com (61.135.179.237) 56(84) bytes of data.
64 bytes from 61.135.179.237 (61.135.179.237): icmp_seq=1 ttl=59 time=3.75 ms
64 bytes from 61.135.179.237 (61.135.179.237): icmp_seq=2 ttl=59 time=3.89 ms
^C
--- ww1.sinaimg.cn.w.alikunlun.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 3.751/3.822/3.893/0.071 ms
root@lnjoying-Standard-PC-i440FX-PIIX-1996:/fire/src/rk3399pro_linux_release_v2.5.1_20210304# ping gitlab.com
PING gitlab.com (172.65.251.78) 56(84) bytes of data.
64 bytes from 172.65.251.78 (172.65.251.78): icmp_seq=4 ttl=50 time=486 ms
64 bytes from 172.65.251.78 (172.65.251.78): icmp_seq=7 ttl=50 time=486 ms
64 bytes from 172.65.251.78 (172.65.251.78): icmp_seq=8 ttl=50 time=486 ms
64 bytes from 172.65.251.78 (172.65.251.78): icmp_seq=9 ttl=50 time=486 ms
64 bytes from 172.65.251.78 (172.65.251.78): icmp_seq=10 ttl=50 time=486 ms
^C
--- gitlab.com ping statistics ---
11 packets transmitted, 5 received, 54% packet loss, time 10118ms
rtt min/avg/max/mdev = 486.003/486.532/486.966/0.345 ms
root@lnjoying-Standard-PC-i440FX-PIIX-1996:/fire/src/rk3399pro_linux_release_v2.5.1_20210304# .repo/repo/repo sync -c --no-tags
Fetching project external/uvc_app
Fetching project external/rkssd
Fetching project docs-soc_internal
Fetching project app/demo
Fetching project external/rk_webui
Fetching project buildroot-dl
Fetching project external/softapDemo
Fetching project app/qplayer
Fetching project external/minigui
Fetching project external/app
Fetching project prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu
Fetching project external/rockx
Fetching project external/mpp
Fetching project external/wifiAutoSetup
Fetching project app/qcamera
Fetching project external/chromium
Fetching project external/recovery
Fetching project external/bluetooth_bsa
Fetching project external/mpv
Fetching project external/rkscript
Fetching project app/qsetting
Fetching project external/LocalPlayer
Fetching project external/softapServer
Fetching project u-boot
Fetching project buildroot
Fetching project external/ipc_share_memory
Fetching project external/deviceio_release
Fetching project app/QLauncher
Fetching project external/bluez-alsa
Fetching project external/rknn-toolkit
warning: redirecting to https://gitlab.com/firefly-linux/docs-soc_internal.git/
remote: Enumerating objects: 574, done.      
warning: redirecting to https://gitlab.com/firefly-linux/buildroot-dl.git/
remote: Counting objects: 100% (80/80), done.      
remote: Enumerating objects: 46, done.      
remote: Counting objects: 100% (21/21), done.      
remote: Compressing objects: 100% (17/17), done.      
warning: redirecting to https://gitlab.com/firefly-linux/external/rknn-toolkit.git/
remote: Enumerating objects: 95, done.      | 42.00 KiB/s   
remote: Counting objects: 100% (21/21), done.      
remote: Compressing objects: 100% (2/2), done.      
warning: redirecting to https://gitlab.com/firefly-linux/external/chromium.git/
remote: Enumerating objects: 239, done.      
remote: Counting objects: 100% (39/39), done.      
remote: Compressing objects: 100% (13/13), done.      
Receiving objects:69% (166/239), 451.86 KiB | 1024 bytes/s

最后就是个死。。。。。。
页: [1]
查看完整版本: rk3399pro_linux_release_v2.5.1_20210304,Build uboot failed!