基于docker搭建Omni3576 SDK环境遇到的问题
Posted: 2024-11-12 2:46
本人在docker环境中编译镜像是遇到以下问题
设置环境变量
以下是报错信息
这里一直提示我的网络无法访问镜像源,但是在容器中是可以ping通这个网址的。求解答
设置环境变量
Code: Select all
export RK_ROOTFS_SYSTEM=debian
Code: Select all
./build.sh lunch
Code: Select all
./build.sh
Code: Select all
+ ln -rsf kernel/boot.img /work/Omni3576-sdk/output/firmware/boot.img
Not Found io-domains in kernel/arch/arm64/boot/dts/rockchip/luckfox-omni3576.dts
Running mk-kernel.sh - build_kernel succeeded.
==========================================
Start building rootfs(debian)
==========================================
/usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.
/usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.
Your network is not able to access the mirror source:
mirrors.ustc.edu.cn
ERROR: Running /work/Omni3576-sdk/device/rockchip/common/scripts/mk-rootfs.sh - build_debian failed!
ERROR: exit code 1 from line 133:
"$RK_SCRIPTS_DIR/check-debian.sh"
ERROR: call stack:
mk-rootfs.sh: build_debian(133)
mk-rootfs.sh: build_hook(291)
mk-rootfs.sh: main(321)
ERROR: Running /work/Omni3576-sdk/device/rockchip/common/build-hooks/99-all.sh - build_all failed!
ERROR: exit code 1 from line 21:
"$RK_SCRIPTS_DIR/mk-rootfs.sh"
ERROR: call stack:
99-all.sh: build_all(21)
99-all.sh: build_hook(128)
build-helper: try_func(63)
build-helper: try_hook(96)
build-helper: source(174)
99-all.sh: main(139)
ERROR: Running /work/Omni3576-sdk/device/rockchip/common/build-hooks/99-all.sh - try_func build_hook all 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(174)
99-all.sh: main(139)