[Ovmsdev] Firmware size approaching 4 MB limit

Michael Balzer dexter at expeedo.de
Fri Feb 27 04:57:43 HKT 2026


Am 26.02.26 um 21:51 schrieb Michael Balzer via OvmsDev:
> Mark,
>
> Am 26.02.26 um 01:47 schrieb Mark Webb-Johnson:
>> My only concern is renaming the existing store to store-old (or 
>> something like that) while it is mounted. But that will be necessary 
>> to ensure that the new store is accessible directly after reboot.
>
> That could be avoided: `OvmsConfig::mount()` could try mounting 
> "store-v35" (or whatever the new name is) first, then fall back to 
> "store".
>
> Same scheme can be applied to `module_perform_factoryreset()`.
>
> That way "store" doesn't need to be relabeled at all, the system 
> automatically uses the new partition if available.

Btw, we also don't need a store rollback command then, as "store" 
remains intact until step #3 does the final update of the partition table.

Step #3 would then also rename "store-v35" to "store", to recover 
compatibility with older firmware builds.


>
> Regards,
> Michael
>
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev

-- 
Michael Balzer * Am Rahmen 5 * D-58313 Herdecke
Fon 02330 9104094 * Handy 0176 20698926


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20260226/e40fcc80/attachment.sig>


More information about the OvmsDev mailing list