:thinking: How to identify the versions SW/FW com...
# help
k
- ESP-IDF - Jaguar VM - containers Is there a way to find out that information with the jag tools ? Would it be helpful to have command to provide them ?
- 1. connect USB link and start jag monitor
f
For Jaguar you would use
jag container list
to get the containers that are installed.
Otherwise (and even with Jaguar), you can get a lot of information from the envelope that was used to flash a device.
The
tools/firmware
tool can list the SDK version, what containers are installed, ...
(
tools/firmware
in the SDK folder)
For example:
Copy code
ᐅ ~/.cache/jaguar/sdk/tools/firmware show --envelope ~/.cache/jaguar/v2.0.0-alpha.99/envelopes/firmware-esp32.envelope 
Envelope format version: 6
SDK version: v2.0.0-alpha.99
Containers: 
  system: 
    Kind: snapshot
    Id: f7f04f48-4d83-78fe-da65-4b16dcec9b79
    Size: 212070
    Flags: 
      - trigger=boot
      - critical
The SDK version can then lead you to the esp-idf that is used by looking at the
.gitmodules
of the corresponding SDK release.
Actually... The
.gitmodules
file seems to have a different branch in it. 😦
So there isn't a super easy way to figure out which esp-idf is used.
k
That means, if I only have the controller (flashed in the past and no further info) it is only possible to monitor the output to get some info ?
f
If you write
jag scan name-or-ip
you can get some information about the installed versions.
Together with
jag container list
that should give you a good picture of what is running.
k
That is what i wanted ! 👍🏻 Thank you. (📝 should be documented in jag scan --help)

https://cdn.discordapp.com/attachments/1151487277021798460/1151951484733374526/image.png

I don't understand the difference between container Image and 31db8e31-4d46-5eca-aa84-4ad179ba4dae.snapshot

https://cdn.discordapp.com/attachments/1151487277021798460/1151955726772731925/image.png

f
I'm not sure the container id corresponds to the snapshot id. Will have to check. And if it doesn't I will try to find a way to get to it.
I think the UUID of the snapshot isn't exposed yet. It would require a few (small) changes to the Jaguar service and Jaguar CLI.
2 Views