addshore
09/26/2025, 8:11 AMError: Firmware is too big to fit in designated partition (1844624 > 1835008) for example
Is there a command line tool / way that I can get the size of an envelope file? without having to try and flash it?
I thought perhaps jag toit tool firmware -e apps.envelope show | yq '.Containers | .[] as $item ireduce (0; . + $item.Size)', but that returns only 396868 (far below the limit)?addshore
09/26/2025, 8:17 AMfloitsch
09/26/2025, 8:33 AMtoit tool firmware extract --image ... should give you a file with the correct size.addshore
09/26/2025, 9:08 AMjag toit tool firmware -e apps.envelope extract -o /tmp/foo
ls -la /tmp | grep foo
-rw-r--r-- 1 adam adam 1844624 Sep 26 10:07 foo