mbed-os/tools/bootloaders
Tony Wu a4575a965f rtl8195am - refactor bootloader and ota support
1. move ota region 1 from 0x00b000 to 0x040000
2. move ota region 2 from 0x0c0000 to 0x120000
3. refactor bootloader header as follows:

   uint32_t tag;
   uint32_t ver;
   uint64_t timestamp;
   uint32_t size;
   uint8_t hash[32];
   uint8_t campaign[16];
   uint32_t crc32;

   where,
   a. hash is the sha256 checksum of the payload.
   b. crc32 is the crc32 checksum of headers from tag to campaign.

4. Call NVIC_SystemReset for soft reset.

Signed-off-by: Tony Wu <tung7970@gmail.com>
2017-11-28 21:33:51 +08:00
..
MTS_DRAGONFLY_F411RE Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +01:00
MTS_MDOT_F411RE Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +01:00
REALTEK_RTL8195AM rtl8195am - refactor bootloader and ota support 2017-11-28 21:33:51 +08:00