mirror of
https://github.com/InfiniTimeOrg/InfiniTime.git
synced 2024-11-23 03:38:29 +03:00
Update to the latest version of the bootloader (https://github.com/lupyuen/pinetime-rust-mynewt/releases/tag/v5.0.4)
This commit is contained in:
parent
d45cf23611
commit
8d2e56bf00
@ -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
|
||||
|
@ -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..."
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user