Getting started with an Old PineTime dev kit (flash procedure?)
#1
Hello,

So i've dusted of my old pinetime dev kit. Beforte the infinitime 0.7 firmware. Just the closed source firmware.

Here is my plan. Will it work or will it brick?

-> Flash new bootloader with BLE with the DaFlasher App
Like described on the WaspOS tutorial*:
1) flash 'hacked'
2) flash 'dafit..'
3) and then?

The documantation says flash 'bootloader-daflasher.zip'. But i can't find that file anywhere.
I think that, finishing stages 1 and 2 will give me a 'unlocked' pinetime. And i can flash the waspos 4.1 firmware. 
? Is this correct?

Or can i then follow the infinitime instructions**
1) flash inifitime 1.x
2) flash bootloader
3) flash recovery

I expect that i have to flash a wasp/infinitime bootloader first. That 'bootloader-daflasher' that seems missing..

Help appreciated!

*Installation Guide — WASP-OS documentation
**InfiniTime/gettingStarted-1.0.md at 1.2.0 · JF002/InfiniTime · GitHub
  Reply
#2
I can't recall anyone going through that process. Might be doable but you're on your own mostly.

It's significantly easier to simply use a hardware programmer (not a ST-Link v2) and flash it that way, it is a devkit after all.
  Reply
#3
(07-01-2021, 04:13 AM)Avamander Wrote: I can't recall anyone going through that process. Might be doable but you're on your own mostly.

It's significantly easier to simply use a hardware programmer (not a ST-Link v2) and flash it that way, it is a devkit after all.

Stlink won't work right away, as the bootloader on the initial kit is locked. I'll need a rasp pi. However, daflasher and the man bevind daflasher found the way to fix that (in a ota blue way, nice!)

https://wiki.pine64.org/wiki/PineTime_FA...tection.3F
  Reply
#4
Follow the wasp-os instructions to completion with one exception. Instead of installing micropython.zip install reloader-factory.zip instead. That will leave you running Infinitime Light. From there you can following the Infinitime OTA upgrade docs to get the latest Infinitime running.

I would suggest using the latest CI binaries for the wasp-os parts of the process. If you use the wasp-os v0.4 binaries you will end up with much older version of mcuboot.

For the specific instructions you want from the wasp-os documentation see:

* Install the wasp-bootloader: https://wasp-os.readthedocs.io/en/latest...or-android
* Install reloader-factory.zip: https://wasp-os.readthedocs.io/en/latest...-daflasher
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye
  Reply
#5
(07-01-2021, 06:55 AM)danielt Wrote: Follow the wasp-os instructions to completion with one exception. Instead of installing micropython.zip install reloader-factory.zip instead. That will leave you running Infinitime Light. From there you can following the Infinitime OTA upgrade docs to get the latest Infinitime running.

I would suggest using the latest CI binaries for the wasp-os parts of the process. If you use the wasp-os v0.4 binaries you will end up with much older version of mcuboot.

For the specific instructions you want from the wasp-os documentation see:

* Install the wasp-bootloader: https://wasp-os.readthedocs.io/en/latest...or-android
* Install reloader-factory.zip: https://wasp-os.readthedocs.io/en/latest...-daflasher

Thanks for the reaction and suggestion!

In the instructions there's the part of 
'Click Select DFU file again and select bootloader-daflasher.zip. Once the update is complete the watch will show the wasp-os logo and some additional on-screen prompt.'

But i'm lost at the 'bootloader-daflasher.zip'. Where can i find this file/bootloader?
It is off course in the binary zip / zip you create when compiling.

Thanks for the help Daniel
  Reply
#6
(07-01-2021, 12:30 PM)Meurton Wrote: In the instructions there's the part of 
'Click Select DFU file again and select bootloader-daflasher.zip. Once the update is complete the watch will show the wasp-os logo and some additional on-screen prompt.'

But i'm lost at the 'bootloader-daflasher.zip'. Where can i find this file/bootloader?
It is off course in the binary zip / zip you create when compiling.

Thanks for the help Daniel

No worries.

BTW bootloader-daflasher.zip is also included every binary release too.

wasp-os uses a different packaging approach to Infinitime. For wasp-os you don't download each file individually. Instead there is a single file called wasp-os-<version-number>.zip (or .tar.gz if you prefer) which contains everything related to that release. You download the single file, extract everything from it and find the binaries appropriate for your device (which for PineTime are in build-pinetime/ ). CI builds are structured a tiny bit differently but the same idea applies... download a single file and extract it.
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye
  Reply
#7
(07-01-2021, 04:32 AM)Meurton Wrote:
(07-01-2021, 04:13 AM)Avamander Wrote: It's significantly easier to simply use a hardware programmer (not a ST-Link v2) and flash it that way, it is a devkit after all.
Stlink won't work right away, as the bootloader on the initial kit is locked.

Yes, that's what I wrote.

(07-01-2021, 04:32 AM)Meurton Wrote: I'll need a rasp pi.

There are other, better options as well.
  Reply
#8
(07-01-2021, 04:32 AM)Meurton Wrote: Stlink won't work right away, as the bootloader on the initial kit is locked. I'll need a rasp pi. However, daflasher and the man bevind daflasher found the way to fix that (in a ota blue way, nice!)

https://wiki.pine64.org/wiki/PineTime_FA...tection.3F

Code to remove the hardware lock is present in the wasp-reloader too (although if Aaron has it working in Daflasher then I doubt you will need it). Thus if you only have a STLink but you can get the BLE OTA sequence to work then there should be no need to set up another SWD programmer!
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Import charges for Pinetime CrowdOfOne 12 6,171 09-07-2021, 12:14 PM
Last Post: panomaki
  Is my PineTime lost? norfolk_uk 4 254 09-07-2021, 04:07 AM
Last Post: norfolk_uk
  Pinetime won't reconnect to gadgetbridge after being disconnected for a while kelbot 7 514 09-06-2021, 10:47 PM
Last Post: ajack2001my
  Pinetime not charging/switching on anymore crashingdutchman 3 154 09-06-2021, 02:38 AM
Last Post: danielt
  PineTime - Navigation ajack2001my 5 167 09-01-2021, 03:18 AM
Last Post: ajack2001my
  [SOLVED] Gadgetbridge not pairing with pinetime zoof 1 270 08-22-2021, 10:41 AM
Last Post: zoof
  Getting started hrleno 6 429 08-21-2021, 01:46 PM
Last Post: Ralechner
  PineTime bricked? pag-r 2 123 08-17-2021, 02:12 PM
Last Post: pag-r
Video Bad apple (video) playing on a pinetime TT-392 6 603 08-14-2021, 07:00 AM
Last Post: TT-392
  PineTime suitable for wake-up alarms? hadfg 2 437 08-07-2021, 10:25 PM
Last Post: scott_VYuCAbn3k1NFK

Forum Jump:


Users browsing this thread: 1 Guest(s)