Author: JF <jf@codingfield.com>
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 +-
diff --git a/bootloader/README.md b/bootloader/README.md index 34846f1bb034e40db0520c3d4b55ae7d11b35b9f..4f08f6099f304a10e5894ffa30adadc5e0712e43 100644 --- a/bootloader/README.md +++ b/bootloader/README.md @@ -67,14 +67,14 @@ - 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 662438314fd2b633bc5436716825c0ce741176c3..cf5685bee68b64543beba33f914f09963915b8c6 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 e9dadb24322106de941bba283c3e261521ee5a80..d2930513a7b98f181c5e36b50d062bc19d0206e1 100644 --- a/doc/filesInReleaseNotes.md +++ b/doc/filesInReleaseNotes.md @@ -18,7 +18,7 @@ **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 4db8d172d2545414efcecfa63838dc301604b26a..0665100a4fe6a45890033583775fab626c79a4fb 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