This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM335X: bitbake tisdk-rootfs-image 出現do_fetch 的錯誤

Part Number: PROCESSOR-SDK-AM335X
Other Parts Discussed in Thread: AM3358,

Hi All:

我最近剛開始使用am3358 開發平台, 而我在使用yocto 的Bitbake 下

MACHINE=am335x-evm bitbake tisdk-rootfs-image

的時候出現了以下錯誤

ERROR: mobile-broadband-provider-info-1_20170310-r0 do_fetch: Fetcher failure: Unable to find revision befcbbc9867e742ac16415660b0b7521218a530c in branch master even from upstream
ERROR: mobile-broadband-provider-info-1_20170310-r0 do_fetch: Fetcher failure for URL: 'git://github.com/GNOME/mobile-broadband-provider-info.git;protocol=https'. Unable to fetch URL from any source.
ERROR: mobile-broadband-provider-info-1_20170310-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/zh/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/mobile-broadband-provider-info/1_20170310-r0/temp/log.do_fetch.26992
ERROR: Task (/home/zh/tisdk/sources/oe-core/meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb:do_fetch) failed with exit code '1'

我透過git 檢查https://github.com/GNOME/mobile-broadband-provider-info.git , 這個連結看起來是有效的, 不知道哪裡出現了問題.

不知道是否有人遇到相同的問題.

或是有人能指點我該如何解決這個問題

謝謝!!

  • 您使用的是哪个版本的linux sdk?

  • 你好 Nancy:
    感謝您的回覆


    linux sdk 是指 coresdk 的版本嗎 ?

    我使用 coresdk-2019.06, 或是我該提供哪個檔案的資訊?

    我是根據官網教學 https://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Overview_Building_the_SDK.html

    試著建立我的環境, 但內容似乎與實際操作有點出入.

    發現 官網提供的連結

    原本是

     git://arago-project.org/git/projects/oe-layersetup.git

    但似乎已經失效, 網路搜尋了一下 發現他似乎已經移轉到

    git://git.ti.com/git/arago-project-org/oe-layersetup.git tisdk

    所以我透過以下方式下載

    git clone git://git.ti.com/git/arago-project-org/oe-layersetup.git tisdk

    meta-arago,git://git.ti.com/arago-project/meta-arago.git,thud,ti2019.06,layers=meta-arago-distro:meta-arago-extras

    現在使用的arago-version 為 coresdk-2019.06

    以下為我bitbake所出現的資訊
    Build Configuration:
    BB_VERSION = "1.40.0"
    BUILD_SYS = "x86_64-linux"
    NATIVELSBSTRING = "ubuntu-18.04"
    TARGET_SYS = "arm-linux-gnueabi"
    MACHINE = "am335x-evm"
    DISTRO = "arago"
    DISTRO_VERSION = "2019.11"
    TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
    TARGET_FPU = "hard"
    meta-arago-distro
    meta-arago-extras = "HEAD:59ed26d26e1658e138ad4191126ba1de2d6e96d0"
    meta-browser = "HEAD:5f365ef0f842ba4651efe88787cf9c63bc8b6cb3"
    meta-qt5 = "HEAD:1520d5b2b2beec5e1c3209d3178219e93ef08bca"
    meta-virtualization = "HEAD:7685c7d415e0002c448007960837ae8898cd57a5"
    meta-networking
    meta-python
    meta-oe
    meta-gnome
    meta-filesystems = "HEAD:446bd615fd7cb9bc7a159fe5c2019ed08d1a7a93"
    meta-ti = "HEAD:aa7bc18ca835e1ab6520790fc5e21ba54b792c55"
    meta-linaro-toolchain
    meta-optee = "HEAD:615ea7561b844a3867cee4299d83d605c10b02ab"
    meta = "HEAD:e68991ceb5933f7d03b96697e8a0ba0829feb320"

    謝謝你

  • 我建议您升级到最新的linux sdk Version: 08.02.00.24,再编译看看,如果仍然有问题我们再帮您看一下。

    ti.com/tool/PROCESSOR-SDK-AM335X

  • 好的, 我發現 搜尋引擎 預設找到的網頁 是07_03_00_005 的版本, 我找到 08_02_00_24的網頁, 我再試試 謝謝您的回覆

  • 好的,不客气。

  • Hi Nancy :

    我試圖使用08.02.00.24

    以下是我所下的指令

    $ git clone https://git.ti.com/git/arago-project/oe-layersetup.git tisdk
    $ cd tisdk
    $ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-08.02.00.24-config.txt
    $ cd build
    $ . conf/setenv
    $ export TOOLCHAIN_PATH_ARMV7=$HOME/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf
    $ export TOOLCHAIN_PATH_ARMV8=$HOME/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu

    $ MACHINE=am335x-evm bitbake tisdk-base-image

    當在do_fetch mobile-broadband-provider-info-1_20201225-r0的時候會發生以下錯誤

    ERROR: mobile-broadband-provider-info-1_20201225-r0 do_fetch: Fetcher failure: Unable to find revision 90f3fe28aa25135b7e4a54a7816388913bfd4a2a in branch master even from upstream
    ERROR: mobile-broadband-provider-info-1_20201225-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://gitlab.gnome.org/GNOME/mobile-broadband-provider-info.git;protocol=https;branch=master')
    ERROR: Logfile of failure stored in: /home/zh/workspace/tisdk/build/arago-tmp-external-arm-glibc/work/armv7at2hf-neon-linux-gnueabi/mobile-broadband-provider-info/1_20201225-r0/temp/log.do_fetch.14364
    ERROR: Task (/home/zh/workspace/tisdk/sources/oe-core/meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb:do_fetch) failed with exit code '1'

    我有試著從官網 下載 相對應的 revesion  然後取名 git2_gitlab.gnome.org.GNOME.mobile-broadband-provider-info.git.tar.gz 再放到donwloads, 然後重新bitbake一次, 還是有一樣的問題

    如果我將此package跳過即可完成 bitbake,

    想請教你我該如何正確的解決do_fetch mobile-broadband-provider-info-1_20201225-r0失敗的問題.

    謝謝您

  • Cherry 你好, 

    謝謝你的回覆, 我再嘗試看看. :)

  • 您好,

    请问您这边的问题是否得到了解决?