TorizonCore Builder Tool Commands

Hello,

I am trying to use the TorizonCore Builder Tool to create a custom device tree and apply it to my module.

The guide states that torizoncore-builder dt apply will “Compiles a device tree source file and, on success, stores the compiled device tree blob to be deployed as the current device tree of the deployed image”

However, I am not able to even run the command. TorizonCore Builder Tool states that the apply command doesn’t exist.

$ torizoncore-builder dt apply -h
usage: torizoncore-builder dt [-h]
                              {overlay,custom,checkout,list-overlays,list-devicetrees,list-applied-overlays}
                              ...
torizoncore-builder dt: error: argument cmd: invalid choice: 'apply' (choose from 'overlay', 'custom', 'checkout', 'list-overlays', 'list-devicetrees', 'list-applied-overlays')

Is there a way around this? I need to disable the GPIO Wakeup pinctrl and enable it as a normal GPIO.

Thank you.

Greetings @atharvalele,

Apologies this seems to be a small documentation error on our part.

For the alias used to setup TorizonCore Build: alias torizoncore-builder='docker run -it --rm -v $(pwd):/workdir -v storage:/storage -v /deploy --net=host -v /var/run/docker.sock:/var/run/docker.sock torizon/torizoncore-builder:1'

Notice the container tag 1 at the end. Well the latest tag is actually now 2 so please re-alias with this tag. This tag has the dt apply command as far as I can tell. We’re still in the progress of updating the TorizonCore Builder documentation to reflect this change.

Best Regards,
Jeremias