Lyra Ubuntu SDK

  • The SDK is expected to be updated soon, and Ubuntu will be included. Please stay tuned for announcements on the forum.
  • 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?
  • 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
    Last edited by Roadfox on 2025-02-19 8:35, edited 2 times in total.
  • 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
  • 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
    Last edited by Roadfox on 2025-02-19 10:07, edited 1 time in total.
  • 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
  • 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

    Code: Select all

    sudo apt file
    2. right URL in common.config:

    Code: Select all

    BR2_PRIMARY_SITE="https://sources.buildroot.net"
    3. Block site check
    Last edited by Roadfox on 2025-02-19 18:24, edited 3 times in total.