Commit Graph

15 Commits (8b6d0920a8df97e00e84c54cb521ed6d177b5662)

Author SHA1 Message Date
Martin Kojtal eaa5102358
Merge pull request #8014 from M-ichae-l/realtek-rtl8195am-lib-updates
realtek rtl8195am lib updates
2018-09-26 13:09:28 +02:00
zzw b06553fa25 rtl8195am lib updates
1, rtl8195am lib updates. Preparation for the low power features.
2018-09-06 14:28:34 +08:00
rklaassen 58667e67d9 Added ARM Permissive Binary License to MTS bootloaders 2018-09-04 16:05:14 -05:00
klaas019 b368ec8f21 Add MTS Dragonfly bootloader back after accidental removal from pr #7131 2018-07-19 10:19:39 -05:00
klaas019 da0a8dddc4
Add files via upload 2018-06-05 11:43:06 -05:00
klaas019 499034ccc1
Delete bootloader.bin 2018-06-05 11:42:19 -05:00
Cruz Monrreal 47a128a5e5
Merge pull request #5882 from ashok-rao/br-MTB_Dragonfly
Add MTB MTS_Dragonfly as a new target.
2018-01-19 13:58:03 -06:00
Ashok Rao 9ee69854ff Adding MTB MTS_Dragonfly as a new target 2018-01-18 17:08:59 +00:00
chrisyang c9fc52166a rtl8195am - reorder some defines properly in ota header file 2018-01-16 13:52:16 +08:00
chrisyang a1b4b8f10a rtl8195am - move region headers to 0xb000 and 0xc000
The new layout is as follows:

0x000000 - 0x008000  => bootloader
0x008000 - 0x00b000  => system sectors
0x00b000 - 0x00c000  => region1 header
0x00c000 - 0x00d000  => region2 header
0x00d000 - 0x010000  => reserved
0x010000 - 0x040000  => mbed file system
0x040000 - 0x120000  => region1 image
0x120000 - 0x200000  => region2 image

This is to ensure when daplink erases sections, both regions' headers
are erased properly.
2018-01-15 15:08:13 +08:00
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
Tony Wu c9ecb2749d rtl8195am - adjust memory layout and enable fota support
1. Rearrange SDRAM and SRAM layout. Move timing critical code to SRAM,
   and the rest to SDRAM.

2. Add bootloader that's capable of FOTA over mbed cloud.

Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-07-27 13:55:45 +08:00
Yuguo Zou f8019f4526 Mute RAM1 messages 2017-06-03 20:14:52 +01:00
Yuguo Zou 53e837bce2 add support for REALTEK_RTL8195AM 2017-06-03 20:14:45 +01:00
Mihail Stoyanov 3d45b2cdbb Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +01:00