Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork219
RPC/OpenAMP: Support loading sketches to SDRAM.#934
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
facchinm requested changesAug 1, 2024
Uh oh!
There was an error while loading.Please reload this page.
If the Cortex-M4 core is booting from SDRAM, the memory region must beconfigured as Strongly Ordered. Note that the Cortex-M4 core does notseem to implement speculative prefetching, so there is no need to protectthe whole region from speculative prefetching with a second MPU region.Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
dfe850a to9c74080CompareThis patch allows removing the Open-AMP section used for the resource tableby loading it manually. The Open-AMP ELF loader would attempt to load thissection if the firmware is built for SDRAM.Note that since we're not using copy tables or ARM CC, the resource tablehas always been copied manually.Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
…irmware.To load the M4 firmware into SDRAM, we must ensure the linker script does notinclude any loadable sections that are placed in the shared memory region. Ifsuch sections exist, the ELF loader will overwrite the shared memory regionwhen loading the firmware.Additionally, the Open-AMP section is no longer required, as the resource tableis now populated manually in resource_table_init. Therefore, this section canbe removed.Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
9c74080 to6ffb9a3CompareSigned-off-by: Martino Facchin <m.facchin@arduino.cc>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To use this with MicroPython, to load Arduino sketches to SDRAM, it requiresmicropython/micropython#15499
Which has been merged, so a nightly build will work.