Page 1 of 1
Lyra Ubuntu SDK
Posted: 2025-01-08 19:36
by Roadfox
Hi colleagues!
I did not find ubuntu in the sdk for lira, but its image can be downloaded. In the ubuntu kernel, CAN bus is disabled. I enabled it in buildroot, everything works, but I would like to use ubuntu, since everything is much simpler in it. When can we expect ubuntu to be included in the sdk?
Re: Lyra Ubuntu SDK
Posted: 2025-01-10 6:35
by Luckfox Taylor
The SDK is expected to be updated soon, and Ubuntu will be included. Please stay tuned for announcements on the forum.
Re: Lyra Ubuntu SDK
Posted: 2025-01-28 10:29
by csezoli21
Hello.
I downloaded the lyra SDK. It only has a ".repo" folder and git directories, the real sdk is not found, I tried the google drive link, the wiki link. Where can I download the buildroot and ubuntu sdk?
Re: Lyra Ubuntu SDK
Posted: 2025-02-01 10:33
by Luckfox Taylor
Re: Lyra Ubuntu SDK
Posted: 2025-02-19 7:37
by Roadfox
Hi, colleagues!
sources.buildroot.net and sources.buildroot.org is 403 forbidden.
Have any instruction to install buildroot in SDK by hand?
Thanks!
Code: Select all
==========================================
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/Lyra-sdk/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(353)
mk-rootfs.sh: main(383)
ERROR: Running /home/Lyra-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(136)
build-helper: try_func(63)
build-helper: try_hook(96)
build-helper: source(165)
99-all.sh: main(147)
ERROR: Running /home/Lyra-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(165)
99-all.sh: main(147)
source.buildroot.org/downloads/
source.buildroot.net/downloads/
is OK
Re: Lyra Ubuntu SDK
Posted: 2025-02-19 9:30
by Crocodile
Hello, the content that the buildroot package will download by default will be stored in the DL folder, and we will plan to upload it to the network disk later.
If you're sure that your network is normal, you can use a temporary workaround
1 Execute ./build.sh config
2 Use "/" to find RK_NETWORK_CHECK
3 Turn it off to skip the network check
Re: Lyra Ubuntu SDK
Posted: 2025-02-19 9:58
by Roadfox
Hi all!
where is the url path to the source buildroot libraries saved? In which file?
Code: Select all
Please check details in /home/Lyra-sdk/output/sessions/2025-02-19_13-02-50/br-rockchip_rk3506_luckfox_2025-02-19_13-03-33.log
ERROR: Running /home/Lyra-sdk/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(353)
mk-rootfs.sh: main(383)
ERROR: Running /home/Lyra-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(136)
build-helper: try_func(63)
build-helper: try_hook(96)
build-helper: source(165)
99-all.sh: main(147)
ERROR: Running /home/Lyra-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(165)
99-all.sh: main(147)
This solution:
If you're sure that your network is normal, you can use a temporary workaround
1 Execute ./build.sh config
2 Use "/" to find RK_NETWORK_CHECK
3 Turn it off to skip the network check
don't work
Re: Lyra Ubuntu SDK
Posted: 2025-02-19 12:50
by Crocodile
The BR2_PRIMARY_SITE in <SDK>/buildroot/configs/rockchip/base/common.config is used to set the download address of the package.
For more details on the failure, share /home/Lyra-sdk/output/sessions/2025-02-19_13-02-50/br-rockchip_rk3506_luckfox_2025-02-19_13-03-33.log
Re: Lyra Ubuntu SDK
Posted: 2025-02-19 17:11
by Roadfox
Hi all!
First:
1 Execute ./build.sh config
2 Use "/" to find RK_NETWORK_CHECK
3 Turn it off to skip the network check
don't have real affect on site ping check. If switched off, ping check anyway.
I comment strings in /Lyra-sdk/common/scripts/check-buildroot.sh
Code: Select all
# Check access to buildroot mirror
#"$RK_SCRIPTS_DIR/check-network.sh" sources.buildroot.net sources.buildroot.net \
# "Please retry later (it could be down for a while) or setup a VPN to bypass the GFW."
Problem solved:
1. Need install
2. right URL in common.config:
Code: Select all
BR2_PRIMARY_SITE="https://sources.buildroot.net"
3. Block site check