Working TFTP server based OTA updates
Tested with 16MBit flash configuration, two rboot update slots. Closes #10
This commit is contained in:
parent
6887a8119a
commit
19b8383069
8 changed files with 586 additions and 176 deletions
|
@ -8,9 +8,18 @@ PROVIDE ( Wait_SPI_Idle = 0x4000448c );
|
|||
PROVIDE ( Enable_QMode = 0x400044c0 );
|
||||
PROVIDE ( Disable_QMode = 0x40004508 );
|
||||
|
||||
PROVIDE ( Cache_Read_Enable = 0x40004678 );
|
||||
PROVIDE ( rom_Cache_Read_Enable = 0x40004678 );
|
||||
PROVIDE ( Cache_Read_Disable = 0x400047f0 );
|
||||
|
||||
#ifndef OTA
|
||||
/* If not building an OTA image for boot, can use the default (simple)
|
||||
cache enable function from ROM.
|
||||
|
||||
Otherwise, we need an OTA-aware one (see extras/rboot-ota/rboot-cache.S)
|
||||
*/
|
||||
Cache_Read_Enable = rom_Cache_Read_Enable;
|
||||
#endif
|
||||
|
||||
PROVIDE ( lldesc_build_chain = 0x40004f40 );
|
||||
PROVIDE ( lldesc_num2link = 0x40005050 );
|
||||
PROVIDE ( lldesc_set_owner = 0x4000507c );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue