https://toitlang.org/ logo
Remove jaguar from FW envelope
# help
a
Looking at the list of containers in a default toit built fw envelope, I see one called system
Copy code
system: 
  Kind: snapshot
  Id: 2ee8a16f-3df6-a81f-7174-7347ab9a8108
  Size: 165638
  Flags: 
    - trigger=boot
    - critical
Is removing this essentially the same as building my own fw image without jaguar? (I'm guessing not, as I removed this, and also added my own container, flashed a device and seemingly it doesnt start up)
Ultimately I just end up seeing
Copy code
[toit] INFO: starting <v2.0.0-alpha.184>
[toit] DEBUG: clearing RTC memory: invalid checksum
[toit] INFO: running on ESP32C6 - revision 0.0
WARNING: unhandled system message 3
Aaah perhaps https://discord.com/channels/918498540232253480/1327209253756207115/1370127377816096990 is a link toward the docs I need to be reading though I didnt end up there as I'm not doing an OTA at all 😛
Linking to benefit when this chat lands in google searchable place 😄 https://docs.toit.io/tutorials/misc/ota/#preparing-the-new-firmware
f
You probably still want to use
system
🙂 The Jaguar container is installed during flashing and OTA updates. You can even tell
jag
not to add it.
a
oh right 😆
> You can even tell jag not to add it.
--exclude-jaguar
I see it now 😄
Oh, does
jag toit tool firmware flash
already not include jaguar?
f
jag toit
is just calling to
toit
. And
toit
has no idea of Jaguar.
a
Right, thats the connection that wasn't linked in my brain yet then Perfect, in which case I was already ready to flash it without jag! 😄
2 Views