-
Notifications
You must be signed in to change notification settings - Fork 3k
Add bootloader support for the LPC55S69 board #10086
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
Conversation
5.12.0-rc3 - is that correct? |
tools/arm_pack_manager/index.json
Outdated
"size": "0x58000" | ||
} | ||
} | ||
}, |
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.
We have PR 10068 for this, can you please remove this section
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.
@mmahadevan108 AFAIK #10068 is not destined for 5.12, while this one is, so I can't have this PR depend on it.
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.
@david, is the index.json
here same as in #10068?
@mmahadevan108 as this PR more urgent for rc3, is it possible to make #10068 dependent on this PR?
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 the same. I can make it the same (which is the largest part of that PR).
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.
@davidsaada @mmahadevan108 Then I suggest you sync with each other
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 delete this change from this PR.
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.
@mmahadevan108 This certainly needs to be deleted. However, as I explained below, our tools won't build the bootloader well without this change. This should currently be on hold until resolved.
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.
👍 . Would you like to try with the changes from #10068 to ensure it works fine with the tools.
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 if I wasn't clear - this requires a change in the bootloader build tools, by which index.json should be ignored in such cases. Until then, this PR will fail if we use the values from #10068. In other words, this PR should be on hold until these tools changes are introduced.
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.
👍 , got it.
needs to be rebased on top of #10047 |
986c20a
to
ffd64d1
Compare
ffd64d1
to
25b8267
Compare
Please disregard my force pushes for the time being. Having some hard time with this rebase. Will update when done. |
25b8267
to
b9b2050
Compare
"*": { | ||
"target.app_offset": "0x8400", | ||
"target.header_offset": "0x8000", | ||
"target.bootloader_img": "mbed-bootloader-lpc55s69-v1_0_0.hex" |
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.
What does this bootloader do?
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 see https://os.mbed.com/docs/mbed-os/v5.11/tutorials/bootloader.html (Prebuilt bootloaders section)
b9b2050
to
5b1715f
Compare
I think this can be rebased when able. |
@mmahadevan108 This is the Pelion firmware update bootloader. Is able to verify and retrieve a downloaded image from external storage into rom and replace current application with the new one. All this is happening in the NSPE. |
@davidsaada already rebased, ready for review? |
Not yet. Got a small issue I need to resolve. Will update. |
a5ccb96
to
7e1e983
Compare
Rebased on top of master. Sorry for the noise. |
Is there tracking issue for this? |
No. |
@ARMmbed/mbed-os-tools has this been addressed or in progress? |
efa4f5f
to
7bfdf30
Compare
Rebased on top of master. However, taking the changes from #10113 doesn't work. |
Please do. #10113 was integrated |
7bfdf30
to
9ac262e
Compare
OK, it appears that the mistake was mine - used a wrong configuration option when building the application with the bootloader. Thanks @theotherjimmy for the help here. |
9ac262e
to
8d32064
Compare
@davidsaada Thanks for the update fixing Travis CI pytest 😉 |
8d32064
to
eb5cef8
Compare
Sorry, old index.json slipped in. Fixed now. |
Will restart CI once Travis completes. |
CI started |
Test run: SUCCESSSummary: 13 of 13 test jobs passed |
|
Description
This PR adds bootloader support for the LPC55S69 board.
Pull request type
Reviewers
Release Notes