Unable to fetch Toradex repo

I sent this inquiry to Toradex Support earlier today (ticket#44586), but the acknowledgement message encouraged me to post it to the community as well.

I’m building a software image for a product based on the Verdin AM62 SoM. The image is based on Yocto 4.0 (Kirkstone) and includes the Toradex BSP layers ‘meta-toradex-bsp-common’ and ‘meta-toradex-ti’ (kirkstone-6.x.y branch). Note that it is a “home-grown” build, not a Torizon build.

During a build, our build server is unable to fetch the u-boot-toradex repository via https:

ERROR: u-boot-toradex-ti-1_2023.04+gitAUTOINC+cb8bbcf8e3-r0 do_fetch: Bitbake Fetcher Error: FetchError(‘Unable to fetch URL from any source.’, ‘git://git.toradex.com/u-boot-toradex.git;protocol=https;branch=toradex_ti-u-boot-2023.04’)

I tried to clone this repository on my local machine, and saw the following:

$ git clone https://git.toradex.com/u-boot-toradex.git

Cloning into ‘u-boot-toradex’…

error: select/poll on SSL socket, errno: 4 (curl_result = 35, http_code = 0, sha1 = 9616ec1bd51e1aecf0b03f1483f60bffbfa339ab)

error: Unable to find 9616ec1bd51e1aecf0b03f1483f60bffbfa339ab under https://git.toradex.com/u-boot-toradex.git

Fetching objects: 845, done.

Cannot obtain needed tree 9616ec1bd51e1aecf0b03f1483f60bffbfa339ab

while processing commit ad1751240353ea6964a42016015ca7bb0b293609.

error: fetch failed.

As an experiment, I attempted to clone the repo via git, and was successful:

$ git clone git://git.toradex.com/u-boot-toradex.git

Cloning into ‘u-boot-toradex’…

remote: Enumerating objects: 1203362, done.

remote: Counting objects: 100% (25430/25430), done.

remote: Compressing objects: 100% (11776/11776), done.

remote: Total 1203362 (delta 17029), reused 17646 (delta 13526), pack-reused 1177932

Receiving objects: 100% (1203362/1203362), 263.35 MiB | 4.63 MiB/s, done.

Resolving deltas: 100% (998169/998169), done.

Updating files: 100% (36907/36907), done.

I then updated the Yocto manifest for our build to fetch this repo via git rather than https:

OLD:

NEW:

However, the subsequent server build failed:

Repo command failed due to the following `SyncError` errors:

GitCommandError: ‘fetch --quiet repo --prune --recurse-submodules=no --tags +refs/heads/*:refs/remotes/repo/* +refs/heads/kirkstone-6.x.y:refs/remotes/repo/kirkstone-6.x.y +refs/tags/*:refs/tags/*’ on meta-toradex-bsp-common.git failed

stdout: fatal: remote error: access denied or repository not exported: /u-boot-toradex.git/meta-toradex-bsp-common.git

GitCommandError: ‘fetch --quiet repo --prune --recurse-submodules=no --tags +refs/heads/*:refs/remotes/repo/* +refs/heads/kirkstone-6.x.y:refs/remotes/repo/kirkstone-6.x.y +refs/tags/*:refs/tags/*’ on meta-toradex-demos.git failed

stdout: fatal: remote error: access denied or repository not exported: /u-boot-toradex.git/meta-toradex-demos.git

GitCommandError: ‘fetch --quiet repo --prune --recurse-submodules=no --tags +refs/heads/*:refs/remotes/repo/* +refs/heads/kirkstone-6.x.y:refs/remotes/repo/kirkstone-6.x.y +refs/tags/*:refs/tags/*’ on meta-toradex-distro.git failed

stdout: fatal: remote error: access denied or repository not exported: /u-boot-toradex.git/meta-toradex-distro.git

GitCommandError: ‘fetch --quiet repo --prune --recurse-submodules=no --tags +refs/heads/*:refs/remotes/repo/* +refs/heads/kirkstone-6.x.y:refs/remotes/repo/kirkstone-6.x.y +refs/tags/*:refs/tags/*’ on meta-toradex-ti.git failed

stdout: fatal: remote error: access denied or repository not exported: /u-boot-toradex.git/meta-toradex-ti.git

Note that the build has completed successfully in the recent past (two days ago).

Is there anything that I can do to resolve this issue? Thanks.

Hi, I’m the Toradex AI Assistant.

I might make mistakes or occasionally get you wrong. Our support team will step in if needed.


U-Boot Repository Access Issues for Verdin AM62

Based on your error logs, you’re experiencing connectivity issues with the Toradex U-Boot repository over HTTPS. This appears to be a network-related problem that has been reported by other users in the community (1).

Root Cause Analysis

The error you’re seeing suggests either:

  1. Network connectivity issues - SSL/TLS handshake failures or firewall restrictions
  2. Temporary server issues - As noted in community discussions, these can be transient (1) (2)
  3. Repository URL changes - The manifest may need updates

Recommended Solutions

1. Verify Network Connectivity

First, test if you can access the repository directly:

# Test HTTPS access
curl -I https://git.toradex.com/u-boot-toradex.git

# Test git protocol access  
git ls-remote git://git.toradex.com/u-boot-toradex.git

2. Update Your Build Configuration

For TI AM62x-based modules like Verdin AM62, the correct U-Boot source should be fetched from the downstream repository (3) (4):

  • U-Boot Source: Downstream
  • U-Boot Git Branch: toradex_ti-u-boot-2024.04 (for BSP 7.x.y) (3)
  • Repository: https://git.toradex.com/u-boot-toradex.git (4)

3. Check BSP Version Compatibility

Since you’re using Kirkstone (6.x.y), ensure your BSP layers are compatible. The community has reported successful builds with proper configuration (1). Consider updating to a more recent BSP version if possible, as BSP 7.1.0 includes improvements for AM62-based modules (5).

4. Alternative Repository Access

If HTTPS continues to fail, you can modify your Yocto recipes to use the git protocol. However, be careful with manifest changes as they can affect other repositories.

5. Build Environment Verification

Ensure your build environment has:

  • Stable internet connection
  • No proxy/firewall blocking git.toradex.com
  • Sufficient disk space (120GB recommended) (2)
  • All required dependencies installed (3)

Immediate Workaround

If the issue persists, try:

  1. Clean your build cache: bitbake -c cleansstate u-boot-toradex-ti
  2. Retry the build - Network issues are often transient (1) (2)
  3. Check for updated manifests - Toradex regularly updates repository configurations

Long-term Recommendation

Consider migrating to a more recent BSP version (7.1.0 or later) which includes updated repository configurations and improved support for Verdin AM62 modules (5).

Best regards, Toradex AI Assistant.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.

Just a brief follow-up: I noticed that some text was inadvertently omitted from my original message:

I then updated the Yocto manifest for our build to fetch this repo via git rather than https:

OLD: remote alias=“repo” fetch=https://git.toradex.com name=“tdx”/

NEW: remote alias=“repo” fetch=“git://git.toradex.com/u-boot-toradex.git” name=“tdx”/

The AI Assistant suggested verifying network connectivity:

$ curl -I Index of /u-boot-toradex.git
HTTP/1.1 200 OK
Date: Fri, 17 Oct 2025 20:49:27 GMT
Server: Apache/2.4.52 (Ubuntu)
Content-Type: text/html;charset=UTF-8

$ git ls-remote git://git.toradex.com/u-boot-toradex.git
bf1d8c1fec863b7da2f0d1ed4bd5526275d70dc2 HEAD
5017686683f7c2eb12bb966924c857622e9cdb94 refs/heads/2011.12-colibri_vf
0260e62f008aa292d87da7c1a9fbe1051a793518 refs/heads/2014.04-toradex
73b99ed96be527c482e63f8d0aac4e6188b1f7e0 refs/heads/2014.10-toradex

et al.

@drlangnh

I’ve successfully cloned the U-Boot repository, and everything is working as expected on my end.
Please check your network infrastructure and firewall settings — they may be blocking access.

This request was closed and merged into request #44586 “Unable to fetch Toradex repo”.