[Ovmsdev] make apt-flash destination location?
mark at webb-johnson.net
Wed Apr 22 14:28:57 HKT 2020
The app-flash always flashes the ‘factory’ partition. If you ‘make flash’ it will also overwrite the bootloader, partition table, and switch back to factory for you.
You can also tell the module to boot from factory with ‘ota boot factory’ (and ota_0, ota_1 for the ota partitions).
P.S. You can manually flash (using the esptool.py script) to a specific partition, using partitions.csv to tell you the offsets.
> On 22 Apr 2020, at 2:23 PM, Eddy Vromen <eddy_vromen at hotmail.com> wrote:
> Hi All,
> Quick question: I am experimenting with some code changes and i am using the sdcard method to get a new .bin file on the device. It will automatically alternate between the 2 OTA image loactions which is great.
> I would like to make this process a little less labor intensive:
> When i use "make apt-flash", where does the code get flashed? With this method, how can i pick between the 2 OTA image locations?
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com <mailto:OvmsDev at lists.openvehicles.com>
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OvmsDev