Update bootlogo and pinetime-app with OTA/DFU
#3
(11-22-2020, 04:58 AM)JF002 Wrote: Boot logo
The bootloader fetches the boot logo from the external SPI memory. It does not support PNG or any compressed format. The byte array must contain a raw bitmap of RGB565 pixels (115200 bytes). I recommend you use this converter tool fro lvgl to convert your picture into a byte array.
Then, you need to actually flash it in this external SPI flash memory. You're right, pinetime-graphics is the tool you should use but... It is not designed to be flashed and run by the bootloader. The only way to use this tool is to flash it using a SWD flasher, run it, and then re-flash the bootloader and InfiniTime (yes, pinetime-graphics will overwrite the bootloader and the firmware).

Recent versions of wasp-reloader will also write a boot logo although it's not really designed to be user modifiable... it is simply to put back a logo when switching from wasp-bootloader to mcuboot. If you try a more recent build you will see this behavior:
https://github.com/daniel-thompson/wasp-...h%3Amaster

If will program this graphic, which was chosen because this version of the logo is reasonably elegant but it compresses down to less than 800 bytes which means I can easily fit it into the reloader images):
https://github.com/daniel-thompson/wasp-..._small.png
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye


Messages In This Thread
RE: Update bootlogo and pinetime-app with OTA/DFU - by danielt - 11-22-2020, 05:55 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PineTime display and micropython danielt 17 6,095 05-07-2021, 12:15 PM
Last Post: danielt
Heart wasp-os: MicroPython for PineTime! danielt 104 56,640 05-04-2021, 02:43 PM
Last Post: Msaulnier1
  Using Pine64 to install Wasp-os on PineTime Mpoint 1 385 04-30-2021, 02:39 AM
Last Post: danielt
  Star Trek computer themed wasp-os on PineTime graynada 13 6,385 12-14-2020, 07:10 PM
Last Post: tllim
  PineTime Simulation Feature gjoyet 3 1,324 11-15-2020, 11:42 AM
Last Post: gjoyet
  Pinetime and P8 Integration testing framework maiden 7 2,921 10-23-2020, 03:25 PM
Last Post: maiden
  Article: Create Your Own PineTime Watch Face in Rust... And Publish on crates.io lupyuen 2 1,562 10-18-2020, 09:24 PM
Last Post: lupyuen
  Article: Bluetooth Time Sync and LVGL on PineTime Mynewt lupyuen 0 795 10-15-2020, 05:51 PM
Last Post: lupyuen
  Remote PineTime for flashing and testing firmware remotely lupyuen 5 1,976 10-06-2020, 12:03 AM
Last Post: lupyuen
  Rust on PineTime at RIOT Summit lupyuen 3 2,050 09-25-2020, 05:05 PM
Last Post: lupyuen

Forum Jump:


Users browsing this thread: 1 Guest(s)