Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. General Questions
  3. QRB5165 Kernel Build Docker - how (or possible) to build sysroot and sdk

QRB5165 Kernel Build Docker - how (or possible) to build sysroot and sdk

Scheduled Pinned Locked Moved Unsolved General Questions
kernel
1 Posts 1 Posters 812 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gavincude1
    wrote on last edited by
    #1

    Machine: M0104 (VOXL2 Mini)
    Distro: qti-distro-ubuntu-fullstack-perf
    Tag: v1.8.02 (SDK 1.4.0)

    Git Branch: qrb5165-ubun1.0-14.1a

    Hello,

    I was wondering how (or if its possible with the kernel build docker) to generate a sysroot and SDK via bitbake.
    I have some kernel modules that are built (adding in our own meta-layer), and are currently manually installing them.
    I know we can just package these up into .debs and deploy them by tacking onto the flash process used by a VOXL SDK package. But, it would be nice to be able to generate a sysroot with that bundled therein.
    The Kernel Build docker very specifically calls bitbake qti-ubuntu-robotics-image -fc do_make_bootimg, which just creates the bootable .img file, without a sysroot.

    Trying to do other tasks generally results in some build errors:
    bitbake qti-ubuntu-robotics-image (to attempt to just build everything) fails on edk2 needing clang under the hood, which is not part of the docker.

    bitbake qti-ubuntu-robotics-image -c do_makesystem fails with:
    WARNING: libcutils-git-r1 do_package_qa: QA Issue: libcutils rdepends on mv-voxl, but it isn't a build dependency, missing mv in DEPENDS or PACKAGECONFIG? [build-deps]
    ERROR: libcutils-git-r1 do_package_qa: QA Issue: /usr/lib/libcutils.so.0.0.0 contained in package libcutils requires liblog.so.0()(64bit), but no providers found in RDEPENDS_libcutils? [file-rdeps]
    ERROR: libcutils-git-r1 do_package_qa: QA run found fatal errors. Please consider fixing them.
    ERROR: libcutils-git-r1 do_package_qa: Function failed: do_package_qa

    bitbake qti-ubuntu-robotics-image -c do_populate_sdk fails with:
    e2fsprogs: 49 installed and not shipped files. [installed-vs-shipped]
    ERROR: nativesdk-libarchive-3.3.3-r0 do_configure: Function failed: do_configure (log file is located at /home/user/build_mount/lu.um.1.2.1/apps_proc/build-qti-distro-ubuntu-fullstack-perf/tmp-glibc/work/x86_64-nativesdk-oesdk-linux/nativesdk-libarchive/3.3.3-r0/temp/log.do_configure.1439096)
    ERROR: Logfile of failure stored in: /home/user/build_mount/lu.um.1.2.1/apps_proc/build-qti-distro-ubuntu-fullstack-perf/tmp-glibc/work/x86_64-nativesdk-oesdk-linux/nativesdk-libarchive/3.3.3-r0/temp/log.do_configure.1439096
    ...
    cp: cannot stat '/home/user/build_mount/lu.um.1.2.1/apps_proc/build-qti-distro-ubuntu-fullstack-perf/tmp-glibc/work/x86_64-nativesdk-oesdk-linux/nativesdk-libarchive/3.3.3-r0/recipe-sysroot-native/usr/include/ext2fs': No such file or directory

    Before getting too in the weeds I wanted to ask how you generate these and if you use the Kernel Build Docker or some other environment.
    My understanding of the various tasks may be incorrect as well. My experience has been mostly with Petalinux so this is a bit of a different lens to look through - apologies if I missed obvious things.

    Let me know if I can clarify anything.

    Thanks

    1 Reply Last reply
    0

    Reading along? Create a free ModalAI Forum account to join in.

    With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.

    Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    ModalAI
    Categories Recent Tags ModalAI.com Docs
    © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups