Blame view

RIOT/tests/mcuboot/README.md 974 Bytes
a752c7ab   elopes   add first test an...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  # MCUBoot test application
  This test is intended to compile a hello-world program taking into account
  the existence of the MCUBoot bootloader at the first 32K in the ROM.
  
  For this first support, a pre-compiled mynewt MCUBoot binary is downloaded at
  compile time.
  
  The goal is to produce an ELF file which is linked to be flashed at a
  `BOOTLOADER_OFFSET` offset rather than the beginning of ROM. MCUBoot also
  expects an image padded with some specific headers containing the version
  information, and TLVs with hash and signing information. This is done through
  the imgtool.py application, which is executed automatically by the build
  system.
  
  This test can be called using `make mcuboot` to produce such ELF file,
  which can also be flashed using `make flash-mcuboot`.This command also flashes
  the pre-compiled bootloader.
  
  It's also possible to build and flash MCUBoot by following the instructions on
  the MCUBoot repository either using mynewt or zephyr operating systems.