-
Notifications
You must be signed in to change notification settings - Fork 8.3k
update cyw20829 integration #81121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update cyw20829 integration #81121
Conversation
b305e9f to
97f4a22
Compare
97f4a22 to
881bb90
Compare
|
Hi @carlescufi, we added openocd flashloader (boards/infineon/cyw920829m2evk_02) and Compliance Checks fail as binary file not allowed. Regards, |
17013c3 to
b1bd9df
Compare
7105457 to
0501d89
Compare
0501d89 to
c70347d
Compare
|
The following west manifest projects have changed revision in this Pull Request:
✅ All manifest checks OK Note: This message is automatically posted and updated by the Manifest GitHub Action. |
c70347d to
224f48f
Compare
7f37a95 to
8109c99
Compare
544d5d5 to
9916b14
Compare
e714793 to
ffd79a1
Compare
|
@nordicjm Please review |
You should click the re-request review buttons next to the names in the review list, otherwise this comment could get easily missed like just now when I lost this PR and suddenly remembered then had to search through every PR I've reviewed looking for "cy" to find it |
| config CYW20829_FLASH_SAHB_ADDR | ||
| hex | ||
| default $(dt_nodelabel_reg_addr_hex,flash_sahb) | ||
|
|
||
| config CYW20829_FLASH_CBUS_ADDR | ||
| hex | ||
| default $(dt_nodelabel_reg_addr_hex,flash_cbus) | ||
|
|
||
| config CYW20829_SRAM_SAHB_ADDR | ||
| hex | ||
| default $(dt_nodelabel_reg_addr_hex,sram_sahb) | ||
|
|
||
| config CYW20829_SRAM_CBUS_ADDR | ||
| hex | ||
| default $(dt_nodelabel_reg_addr_hex,sram_cbus) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these need to move to Kconfig file as they have no use in sysbuild (and there is no devicetree even)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not resolved (fix in original commit, no fixup commits)
|
|
||
| if(CONFIG_INFINEON_SECURE_LCS OR CONFIG_BOOTLOADER_MCUBOOT) | ||
| # Check cysecuretools | ||
| find_program(CYSECURETOOLS cysecuretools) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should just use the required flag in find_program() rather then re-inventing the wheel
| ${CONFIG_INFINEON_SECURE_POLICY} | ||
| ${default_policy_name} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 space indent not 4 for cmake
| ) | ||
|
|
||
| if(NOT default_policy) | ||
| message(FATAL_ERROR "Can't find policy:${CONFIG_INFINEON_SECURE_POLICY}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing space after :
| The following configuration options can be used to build for a device which has been provisioned | ||
| to SECURE LCS and configured to use an encrypted flash interface: | ||
|
|
||
| - ``CONFIG_INFINEON_SECURE_LCS=y``: Enable if the target device is in SECURE LCS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use
:kconfig:option:`CONFIG_blah...`
and just say to set them not with the =blah part, so that they have links to the actual Kconfig descriptions
| :west-args: -p always | ||
| :gen-args: -DCONFIG_BOOTLOADER_MCUBOOT=y -DCONFIG_MCUBOOT_SIGNATURE_KEY_FILE=\"/path/to/cypress/mcuboot/boot/cypress/keys/cypress-test-ec-p256.pem\" | ||
|
|
||
| If you use ``CONFIG_MCUBOOT_ENCRYPTION_KEY_FILE`` to generate an encrypted image then the final |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as above
I am not seeing that button on this PR, Probably because I was not the initial author of this PR? |
16dd263 to
80341d3
Compare
Add custom flashloader (for openocd) with 64k of erase block size. Default one has 512, which cause MCUbootloader overwrite during flash primary application. Signed-off-by: Sreeram Tatapudi <[email protected]>
825575f to
24b1b1a
Compare
Instead of using app_header.c generate the app header using python script and merge with final binary post build Signed-off-by: Sreeram Tatapudi <[email protected]>
24b1b1a to
017a2b0
Compare
Enable support of SECURE LCS stage. In this stage, the protection state is set to “secure”. A secured device will boot only when the authentication of its flash boot and application code succeeds Signed-off-by: Sreeram Tatapudi <[email protected]>
Added custom mcuboot cmake for sign/encrypt by using cysecuretools Signed-off-by: Sreeram Tatapudi <[email protected]> Signed-off-by: Nazar Palamar <[email protected]>
017a2b0 to
0204cd2
Compare
|
kartben
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doc changes look ok - thanks!




Boards: cyw20829: add custom flashloaded with 64k of erase block size
soc: cyw20829: add support of Secure LCS
state is set to “secure”. A secured device will boot only when the authentication of its flash boot and application code succeeds.
soc: cyw20829: Initial integrate Cypress MCUBoot for 20829