TorizonCore-Builder error

When I follow the tutorial Device Tree Overlays on Torizon the simple command below returned with error report as follow.

$ torizoncore-builder dt checkout
An unexpected Exception occured. Please provide the following stack trace to
the Toradex TorizonCore support team:

Traceback (most recent call last):
  File "/builder/torizoncore-builder", line 204, in <module>
  File "/builder/tcbuilder/cli/", line 44, in do_dt_checkout
    checkout_git_repo(storage_dir, None, None)
  File "/builder/tcbuilder/backend/", line 346, in checkout_git_repo
    git_branch = get_branch_from_metadata(storage_dir)
  File "/builder/tcbuilder/backend/", line 331, in get_branch_from_metadata
    src_sysroot = ostree.load_sysroot(src_sysroot_dir)
  File "/builder/tcbuilder/backend/", line 46, in load_sysroot
gi.repository.GLib.GError: g-io-error-quark: loading sysroot: opendir(/storage/sysroot): No such file or directory (1)

Greetings @ierturk

Did you run the image command and unpack an Easy Installer Torizon image into the tool as described here: TorizonCore Builder Tool - Commands Manual | Toradex Developer Center

You need to run this prior to running dt checkout so that the command knows which version of the kernel you’re working with.

Best Regards,

thanks @jeremias.tx , it is OK

Glad I was able to help clear this up. We’re working the error message for such issues more clear in the future.

Best Regards,