PINE64
Build PineTime Firmware in the Cloud - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PineTime (https://forum.pine64.org/forumdisplay.php?fid=134)
+--- Forum: Development Discussion on PineTime (https://forum.pine64.org/forumdisplay.php?fid=136)
+--- Thread: Build PineTime Firmware in the Cloud (/showthread.php?tid=10862)



Build PineTime Firmware in the Cloud - lupyuen - 07-26-2020

Hi All: We have a new way to build JF's FreeRTOS firmware in the Cloud, using GitHub Actions.

(FYI this is the firmware that will be loaded to the next batch of PineTime, assuming that the factory testing goes OK)

I noticed that newcomers to PineTime often run into problems building PineTime firmware. So I hope this will make it easier to get started with PineTime programming.

Please try this out, lemme know if it works for you. Thanks!

Build PineTime Firmware in the Cloud with GitHub Actions


RE: Build PineTime Firmware in the Cloud - wibble - 07-27-2020

That's an interesting approach. Giving it a go...comments only if something unexpected happens, and trying to think like someone who hasn't done this sort of thing before so more pedantic than usual. 

Step 2.6 - 'Start Commit' button is at the top right of my browser window, not at the bottom.

Step 4.1 - my 'Update Clock.cpp' job was 'in progress' with a spinning orange icon for a few minutes, rather than the green tick. It then failed (red cross icon) with the error that's mentioned a few steps later. Since it's an expected outcome I suggest mentioning it at this stage rather than relying on people reading forward a few steps.

Step 4.4 - after doing the fix and commit then going back to 'Actions' the new job status was 'queued' and the icon was an orange dot (not spinning). It then went to 'in progress' as before for ~10 minutes before finishing successfully.

I've downloaded the pinetime-app.out.zip but haven't tried flashing it yet - the Pi's been in use for the other things, and it wouldn't really be testing your instructions anyway. All in all it went pretty smoothly - the comments above are minor expectation management.

I should have grabbed some screenshots, but didn't think of it until I'd finished - sorry.


RE: Build PineTime Firmware in the Cloud - tomthetaffer - 07-27-2020


.png   Screenshot_20200727-203607.png (Size: 315.95 KB / Downloads: 493) Got an error earlier today. Sorry for the screenshot, I'm away from my Raspberry Pi.



[/url]

  Edit   Delete [url=https://forum.pine64.org/newreply.php?tid=10862&replyto=73212]



RE: Build PineTime Firmware in the Cloud - lupyuen - 07-27-2020

(07-27-2020, 11:12 AM)wibble Wrote: I should have grabbed some screenshots, but didn't think of it until I'd finished - sorry.

No worries this is great feedback. Updated my doc. Thanks! :-)

(07-27-2020, 01:40 PM)tomthetaffer Wrote: Got an error earlier today. Sorry for the screenshot, I'm away from my Raspberry Pi.


[/url]

  Edit   Delete 

Hi: Sorry about that... Can you try this fix:

[url=https://lupyuen.github.io/pinetime-rust-mynewt/articles/cloud#our-first-pinetime-firmware-build]https://lupyuen.github.io/pinetime-rust-mynewt/articles/cloud#our-first-pinetime-firmware-build

Look for "If we see this error..."

I'll work with JF to fix the source. Thanks! :-)