os/* : Adjust partition size for bk7239n#7267
Conversation
jylee9613
left a comment
There was a problem hiding this comment.
SS partition size meets with our requirement
| import sys | ||
|
|
||
|
|
||
| DEFAULT_PRIMARY_TFM_S_BYTES = 0x30000 |
There was a problem hiding this comment.
The TFM flash region is fixed? 0x3000?
is it include resolved size also?
bk7239n will not change TFM size?
There was a problem hiding this comment.
Yes, TFM has already reserved space.
| #define CONFIG_SECONDARY_ALL_VIRTUAL_CODE_SIZE 0x193000 | ||
|
|
||
| #define CONFIG_COMMON_B_PHY_PARTITION_OFFSET 0x54c000 | ||
| #define CONFIG_COMMON_B_PHY_PARTITION_OFFSET 0x52c000 |
There was a problem hiding this comment.
if we change common or app1 partition size, do we have to change here?
if this file is generated from build, Please remove this file in git
There was a problem hiding this comment.
No need, these are automatically generated by scripts.However, for the closed-source version, we uploaded this file for the convenience of subsequent debugging.
There was a problem hiding this comment.
I didn't get this point, For what purpose is this debugging intended?
When auto-generated files are uploaded to Git, it becomes more inconvenient because many developers manually ignore them.
If it is madantory for bk7239n, Could you please remove and exclude it?
There was a problem hiding this comment.
Okay, I will delete this file.
96e92c3 to
87bd56f
Compare
-Adjust the partition size in the following way ss partition: 532K –> 404K remove the redundant usrconfig and system_data partitions -Due to the modification of the security partition, the first address of the non-secure partition is referenced, and ld needs to be adjusted accordingly. -Added a new script for automatically obtaining insecure starting addresses. -Due to security partition adjustments, it is necessary to synchronously update the TFM closed-source library
-Adjust the partition size in the following way
ss partition: 532K –> 404K
remove the redundant usrconfig and system_data partitions
-Due to the modification of the security partition, the first address
of the non-secure partition is referenced, and ld needs to be adjusted accordingly.
-Added a new script for automatically obtaining insecure starting addresses.
-Due to security partition adjustments, it is necessary to synchronously update the TFM closed-source library