From 8d2e56bf00281bb44d7c4a8a903215c62ddff510 Mon Sep 17 00:00:00 2001 From: JF Date: Sun, 20 Sep 2020 11:29:56 +0200 Subject: [PATCH] Update to the latest version of the bootloader (https://github.com/lupyuen/pinetime-rust-mynewt/releases/tag/v5.0.4) --- bootloader/README.md | 4 ++-- bootloader/booloader_app_jlink.ocd | 2 +- doc/filesInReleaseNotes.md | 2 +- docker/post_build.sh.in | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bootloader/README.md b/bootloader/README.md index 34846f1b..4f08f609 100644 --- a/bootloader/README.md +++ b/bootloader/README.md @@ -67,14 +67,14 @@ program pinetime-graphics.bin 0 - Let it run for ~10s (it does nothing for 5 seconds, then write the logo into the SPI memory, then (slowly) displays it on the LCD). ## Bootloader binary -The binary comes from https://github.com/lupyuen/pinetime-rust-mynewt/releases/tag/v4.1.7 +The binary comes from https://github.com/lupyuen/pinetime-rust-mynewt/releases/tag/v5.0.4 It must be flash at address **0x00** in the internal flash memory. Using OpenOCD: ` -program mynewt_nosemi.elf_4.1.7.bin 0 +program bootloader-5.0.4.bin 0 ` ## Application firmware image diff --git a/bootloader/booloader_app_jlink.ocd b/bootloader/booloader_app_jlink.ocd index 66243831..cf5685be 100644 --- a/bootloader/booloader_app_jlink.ocd +++ b/bootloader/booloader_app_jlink.ocd @@ -19,7 +19,7 @@ echo "" # Flashing Bootloader echo "Flashing bootloader..." -program ./mynewt_nosemi_4.1.7.elf verify 0x00000000 +program ./bootloader-5.0.4.elf verify 0x00000000 # Flashing Application echo "Flashing application..." diff --git a/doc/filesInReleaseNotes.md b/doc/filesInReleaseNotes.md index e9dadb24..d2930513 100644 --- a/doc/filesInReleaseNotes.md +++ b/doc/filesInReleaseNotes.md @@ -18,7 +18,7 @@ This firmware is standalone, meaning that it does not need a bootloader to actua **This firmware must be flashed at address 0x00 in the main flash memory** ### Bootloader -The bootloader is maintained by [lupyuen](https://github.com/lupyuen) and is a binary version of [this release](https://github.com/lupyuen/pinetime-rust-mynewt/releases/tag/v4.1.7). +The bootloader is maintained by [lupyuen](https://github.com/lupyuen) and is a binary version of [this release](https://github.com/lupyuen/pinetime-rust-mynewt/releases/tag/v5.0.4). - **bootloader.hex** : Firmware in Intel HEX file format. diff --git a/docker/post_build.sh.in b/docker/post_build.sh.in index 4db8d172..0665100a 100755 --- a/docker/post_build.sh.in +++ b/docker/post_build.sh.in @@ -11,6 +11,6 @@ cp /sources/build/src/*.bin /sources/build/output/ cp /sources/build/src/*.hex /sources/build/output/ cp /sources/build/src/*.out /sources/build/output/ cp /sources/build/src/*.map /sources/build/output/ -cp /sources/bootloader/mynewt_nosemi_4.1.7.elf.bin /sources/build/output/bootloader.bin +cp /sources/bootloader/bootloader-5.0.4.bin /sources/build/output/bootloader.bin