mbed-os/targets/TARGET_Realtek/TARGET_AMEBA/TARGET_RTL8195A/device
Tony Wu 38088716aa 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-12-01 17:01:46 +00:00
..
TOOLCHAIN_ARM_STD Remove lines to improve readability 2017-11-17 14:55:49 +00:00
TOOLCHAIN_GCC_ARM Update HAL library to fix lockup issue 2017-11-17 14:55:49 +00:00
TOOLCHAIN_IAR Update HAL library to fix lockup issue 2017-11-17 14:55:49 +00:00
cmsis.h update lib 2017-06-03 20:14:48 +01:00
cmsis_nvic.h cmsis5\rtx5 put NVIC vector ops in mbed_boot.c 2017-06-03 20:15:04 +01:00
diag.h fix C++11 warning 2017-06-03 20:14:58 +01:00
hal_pinmux.h update other file headers 2017-06-03 20:14:48 +01:00
hal_platform.h update other file headers 2017-06-03 20:14:48 +01:00
platform_autoconf.h Switch off DBG messages 2017-07-27 18:51:57 +08:00
rand.h update other file headers 2017-06-03 20:14:48 +01:00
rtl8195a.h rtl8195am - refactor bootloader and ota support 2017-12-01 17:01:46 +00:00
rtl8195a_adc.h update other file headers 2017-06-03 20:14:48 +01:00
rtl8195a_clk.h add support for REALTEK_RTL8195AM 2017-06-03 20:14:45 +01:00
rtl8195a_compiler.h Correct long call macros for ARMC6 2017-09-19 11:36:37 +01:00
rtl8195a_crypto.h rtl8195am - refactor bootloader and ota support 2017-12-01 17:01:46 +00:00
rtl8195a_dac.h update other file headers 2017-06-03 20:14:48 +01:00
rtl8195a_gdma.h A fix to enum issue 2017-06-03 20:14:54 +01:00
rtl8195a_gpio.h update other file headers 2017-06-03 20:14:48 +01:00
rtl8195a_i2c.h A fix to enum issue 2017-06-03 20:14:54 +01:00
rtl8195a_init.c rtl8195am - fix IAR zero padding issue 2017-11-03 12:59:03 +00:00
rtl8195a_misc.h add support for REALTEK_RTL8195AM 2017-06-03 20:14:45 +01:00
rtl8195a_peri_on.h update other file headers 2017-06-03 20:14:48 +01:00
rtl8195a_platform.h remove unused code 2017-06-03 20:14:49 +01:00
rtl8195a_pwm.h update other file headers 2017-06-03 20:14:48 +01:00
rtl8195a_sdio.h add support for REALTEK_RTL8195AM 2017-06-03 20:14:45 +01:00
rtl8195a_spi_flash.h update other file headers 2017-06-03 20:14:48 +01:00
rtl8195a_ssi.h Restore TCPIP_THREAD_STACKSIZE and thread_stack_main 2017-06-03 20:15:01 +01:00
rtl8195a_sys_on.h update other file headers 2017-06-03 20:14:48 +01:00
rtl8195a_timer.h Update HAL code to resolve ticker lockup issue 2017-11-17 14:55:48 +00:00
rtl8195a_trap.h move network Interface API out 2017-06-03 20:14:49 +01:00
rtl8195a_uart.h A fix to enum issue 2017-06-03 20:14:54 +01:00
rtl8195a_wdt.h A fix to enum issue 2017-06-03 20:14:54 +01:00
rtl_utility.h clean up GPL license with APACHE2.0 2017-06-03 20:15:05 +01:00
system_8195a.h add support for REALTEK_RTL8195AM 2017-06-03 20:14:45 +01:00
va_list.h update other file headers 2017-06-03 20:14:48 +01:00