PineTime Software Images
#3
I'm planning to release binaries for wasp-os once I've finished the M2 features. I recently got OTA bootloader updates working (*don't* play with this feature just yet if you have glued the back on). There are a couple of features I might delay until M3 but I definitely want to get the device to remember the current time through reset.

(05-02-2020, 08:13 PM)lupyuen Wrote: Also in the doc is a proposed Flash ROM Layout that I hope all PineTime Developers will adopt, to make it easy to switch firmware platforms.

Here's the work in progress:

https://lupyuen.github.io/pinetime-rust-...ticles/dfu

mcuboot is an excellent place to start from.

However I think the flash layout would be dramatically better if it took advantage of the SPI flash. Only code that will be executed need go in the internal flash (e.g. bootloader and active firmware image) everything else can be offloaded to the SPI flash which will more than double the maximum application size. In the current proposal, 232KB is way to small for a real application. I'm sure there is tuning and weightloss possible but some of the littlevgl firmwares are already 250K code size *excluding* the BT stack.

The other thing about the flash layout that would be worth considering is whether it can be made softdevice compatible. The softdevice is linked to run at 0x1000 so the bootloader partition would likely have to be split into a vector table at 0x0 and a main bootloader at the end of the flash).

Supporting softdevice is clearly not required to run the free software BLE stacks. However a universal bootloader isn't actually universal would mean having to write "reloader" applications to to nuke the universal bootloader and replace it with a softdevice bootloader and vice versa so that users can experiment with any softdevice firmwares that are available.
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye


Messages In This Thread
PineTime Software Images - by VMMainFrame - 05-02-2020, 06:58 PM
PineTime Software Images - by lupyuen - 05-02-2020, 08:13 PM
RE: PineTime Software Images - by danielt - 05-04-2020, 03:39 AM
RE: PineTime Software Images - by JF002 - 05-04-2020, 11:58 AM
RE: PineTime Software Images - by danielt - 05-05-2020, 06:09 AM
PineTime Software Images - by lupyuen - 05-04-2020, 05:03 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinetime Black Screen philipallmon 0 138 11-11-2024, 12:47 AM
Last Post: philipallmon
  PineTime charging issues - connecting pins black gsoundsgood 2 461 09-15-2024, 02:59 PM
Last Post: gsoundsgood
  How do I clear all personal data from the pinetime smartwatch? taltamir 7 620 08-23-2024, 04:44 AM
Last Post: 67man
  [SOLVED] Gadgetbridge not pairing with pinetime zoof 3 5,129 06-25-2024, 12:21 AM
Last Post: Amen
  PineTime at FOSDEM jmlich 5 1,864 02-07-2024, 11:48 PM
Last Post: tllim
  PineTime turns off when removed from cradle tynstar 0 575 01-31-2024, 11:57 AM
Last Post: tynstar
  PineTime and Amazfish on Ubuntu Touch jmlich 1 1,232 10-14-2023, 04:12 PM
Last Post: tllim
  PineTime is dead!! Markdanni123 12 16,295 09-18-2023, 10:17 PM
Last Post: ccchan234
  PineTime Sleep Tracking any_mouse 12 15,330 07-10-2023, 05:41 PM
Last Post: davidair
  PineTime Dead out of box? henkery 1 1,653 03-12-2023, 04:34 PM
Last Post: henkery

Forum Jump:


Users browsing this thread: 2 Guest(s)