[PKG1] Move 1.0.0 secmon to 0x4002B020

So, it's time to move 1.0.0 secmon.
If we want to continue having a full featured bootloader, this change is a must.

It will move the secmon to 0x4002B000 + 0x20 (to keep the values addresses aligned).
It fixes relocator patch.

So now the payload size limit is 160KB - .bss (~158KB).
This commit is contained in:
Kostas Missos
2018-06-01 19:28:22 +03:00
committed by nwert
parent e2a8b36750
commit 1f501e08ff
3 changed files with 8 additions and 4 deletions

View File

@@ -40,6 +40,7 @@ typedef struct _pkg1_id_t
u32 sec_map[3];
u32 secmon_base;
patch_t *secmon_patchset;
patch_t *kernel_patchset;
} pkg1_id_t;
typedef struct _pk11_hdr_t