Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-133090

Building custom Boot to Qt image fails with jetson-agx-orin-devkit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • None
    • 6.9.0 Beta2
    • Device Creation
    • 9c901fffe (styhead), e6fb296e8 (master)

    Description

      When trying to build an image for jetson-agx-orin-devkit:

       curl https://storage.googleapis.com/git-repo-downloads/repo > repo
      chmod a+rx repo
      python3 ./repo init -u git://code.qt.io/yocto/boot2qt-manifest --groups all -m 6.9.xml
      python3 ./repo sync -d -j1
      
      # handle lfs repos which need manual lfs pull
      # Mainly needed for Renesas builds
       LFS_REPOS=$(grep filter=lfs -l sources/*/.gitattributes 2>/dev/null || true)
       for REPO in ${LFS_REPOS}; do
         ( cd $(dirname ${REPO}); git lfs pull )
       done
      
      export MACHINE=jetson-agx-orin-devkit
      . ./setup-environment.sh
      sed -i -e '/internal-build/d' conf/local.conf
      bitbake meta-b2qt-embedded-qbsp
      SDKMACHINE=x86_64-mingw32 bitbake meta-b2qt-embedded-qbsp

      it fails with:

      ERROR: nvidia-kernel-oot-36.4.0-r0 do_fetch: Fetcher failure for URL: 'https://developer.download.nvidia.com/embedded/L4T/r36_Release_v4.0/sources/public_sources.tbz2;downloadfilename=Jetson-public_sources-36.4.0.tbz2'. Checksum mismatch!
      File: '/home/qt/RTA/downloads/Jetson-public_sources-36.4.0.tbz2.tmp' has sha256 checksum '6e95abdf9195052b8d6b63777b9b1417a758248b2cf1a82c469ab75d2c4af754' when 'a99cb9176a96cff19ddeb928c9e4a2c5d5bf45787b2c2941fd3e942ee7540292' was expected
      If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:
      SRC_URI[sha256sum] = "6e95abdf9195052b8d6b63777b9b1417a758248b2cf1a82c469ab75d2c4af754"
      Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.
      ERROR: nvidia-kernel-oot-36.4.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'https://developer.download.nvidia.com/embedded/L4T/r36_Release_v4.0/sources/public_sources.tbz2;downloadfilename=Jetson-public_sources-36.4.0.tbz2')
      ERROR: Logfile of failure stored in: /home/qt/RTA/build-jetson-agx-orin-devkit/tmp/work/jetson_agx_orin_devkit-poky-linux/nvidia-kernel-oot/36.4.0/temp/log.do_fetch.3756480
      ERROR: Task (/home/qt/RTA/sources/meta-tegra/recipes-kernel/nvidia-kernel-oot/nvidia-kernel-oot_36.4.0.bb:do_fetch) failed with exit code '1' 

      Attachments

        For Gerrit Dashboard: QTBUG-133090
        # Subject Branch Project Status CR V

        Activity

          People

            sapiippo Samuli Piippo
            mipohjan Milla Pohjanheimo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes