-
Notifications
You must be signed in to change notification settings - Fork 3k
Add bootloader support for Cypress PSA boards #10055
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
Add bootloader support for Cypress PSA boards #10055
Conversation
Release target? I dont think this is functionality change, rather target update? |
Took a 10s lookover. All of the files are PSOC-specific, thus this qualifies as a target update (aka, can come into a patch). Release label udpated. |
This is required for the 5.12 release for the PSA support on the cypress board. can we target this to RC3 ? |
Fixed the title |
d90defd
to
7156568
Compare
I have added another 2 linker script for the CY8CKIT_062_WIFI_BT_PSA target. Those two works great with default values but needed a fix for nondefault values. |
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.
Please add remarks in linker script for MBED_APP_START & MBED_APP_SIZE.
@ARMmbed/team-cypress please review changes in:
- gpio_api.c,
- serial_api.c
- post-binary hook
Everything else looks OK
..._BOOTLOADER/targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CY8CKIT_062_WIFI_BT_PSA/mbed_lib.json
Outdated
Show resolved
Hide resolved
@orenc17 Does this need an additional review after recent changes? |
No...just from Cypress |
CI started while waiting for final reviews |
Test run: FAILEDSummary: 1 of 13 test jobs failed Failed test jobs:
|
Hi, |
@ARMmbed/mbed-os-maintainers the failure seems to be related to SD, maybe a faulty SD card, could you run it again |
@csd-cypress this is the inital support for pelion bootloader, to allow FW upgrade for the application core. |
"name": "bootloader_CY8CKIT_062_BLE", | ||
"target_overrides": { | ||
"*": { | ||
"target.app_offset": "0x0A400", |
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.
Why these target attributes are added to mbed_lib.json instead of top-level targets.json?
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.
this is a bootloader property.
if a user decide not to use bootloader we don't need this config
@@ -0,0 +1,49 @@ | |||
Permissive Binary License |
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.
Why the LICENSE is added to top-level target directory? The PBL only applies to the hex files, not .c/.h sources.
Can you move the hex files to device/hex, together with existing hex files covered by binary license?
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.
Sorry I just figured out this is features/FEATURE_BOOTLOADER/targets/TARGET_Cypress, not targets/TARGET_Cypress.
ok understood, it will still be good to understand more about the pelion bootloader so that we can integrate it to our bootloader effort. Is it mcuboot based? Do you expect it to come after/before/in-replacement of our bootloader? How will it integrate verification of signed images with the PSoC64 root-of-trust? |
c76a2e0
to
eae884d
Compare
Important update: After the last update, this PR now depends on PR #10034 |
266ac1f
to
e7d6d7a
Compare
…6/TARGET_CY8CKIT_062_WIFI_BT_PSA/mbed_lib.json Co-Authored-By: yossi2le <[email protected]>
…Y8C62XX and TARGET_CY8CKIT_062_BLE linker scripts
…PSA index.json file
e7d6d7a
to
0880f90
Compare
Rebase on top of master with all preceding PRs merged. |
CI started |
You can find our bootloader sources and some docs at https://github.com/ARMmbed/mbed-bootloader-internal |
@yossi2le Above url is internal, not available publicly |
I didn't know that. do we have a link for a bootloader external? otherwise, I should delete my replay. |
Test run: SUCCESSSummary: 13 of 13 test jobs passed |
Description
This PR adds bootloader support for the CY8CKIT_062_WIFI_BT_PSA and CY8CKIT_062_BLE boards in mbed-os.
This PR now depends on PR #10034 - V
Pull request type
Reviewers
Release Notes