Page 1 of 1

Luckfox-Lyra SDK system building issue with buildroot downloading

Posted: 2025-07-14 17:27
by Raisa
Hi, first of all, I like the Lyra boards and have a lot of fun with them. I currently try to develop here in Germany, could downdload the SDK and have it running so far that it builds the bootloader and kernel, but when its the time to pull things from sources.buildroot.net, i get the error that is 403 (forbidden) ... I would love to develop further and had good experience with the other SDK for the Luckfox-Pico, but here I am a bit stuck. Perhaps you can tell me how to get the remaining build sources her. Would really appreciate it :)... here my output from the build.sh:

+ ln -rsf kernel/zboot.img /home/harley/luckfox-lyra/output/firmware/boot.img
Not Found io-domains in kernel/arch/arm/boot/dts/rk3506g-luckfox-lyra.dts
Running mk-kernel.sh - build_kernel succeeded.
==========================================
Start building rootfs(buildroot)
==========================================
==========================================
Start building buildroot(2024.02)
==========================================

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 /home/harley/luckfox-lyra/device/rockchip/common/scripts/mk-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:
mk-rootfs.sh: build_buildroot(16)
mk-rootfs.sh: build_hook(311)
mk-rootfs.sh: main(340)
ERROR: Running /home/harley/luckfox-lyra/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(136)
build-helper: try_func(63)
build-helper: try_hook(96)
build-helper: source(165)
99-all.sh: main(147)
ERROR: Running /home/harley/luckfox-lyra/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(165)
99-all.sh: main(147)

Re: Luckfox-Lyra SDK system building issue with buildroot downloading

Posted: 2025-07-15 7:08
by Raisa
Hello,
I think I found a way around it without VPN and such: The main issue was that the check-network.sh checks just the site header and that is going to be forbidden (403 error)... when I go directly to a file with curl like busybox, then it downloads successfully. So I had to work around the check-network.sh by letting it pass (echo 0). Now it can fetch the buildroot files.

I hope this will help others who encounter perhaps a similar issue :)

Best regards,
Raisa

Re: Luckfox-Lyra SDK system building issue with buildroot downloading

Posted: 2025-07-24 5:31
by RaptorSDS
Hello Raise

thank you for this info , i am sitting also in Germany , and start building with sdk and ubuntu 20.04 .
maybe we can support each other
i got the problem that sdk runs fine but all files in output folder only 1kb
my goal it to integrate/active wifi driver

Moin aus dem Norden von Deutschland
Habe auch gerade angefangen mit der SDK images zu bauen , vielleicht kann man sich gegenseitig unterstützen