Correct Default SPL_SIZE_LIMIT for Cyclone/Arria V#19
Open
TCWORLD wants to merge 1 commit intoaltera-fpga:socfpga_v2024.01from
Open
Correct Default SPL_SIZE_LIMIT for Cyclone/Arria V#19TCWORLD wants to merge 1 commit intoaltera-fpga:socfpga_v2024.01from
TCWORLD wants to merge 1 commit intoaltera-fpga:socfpga_v2024.01from
Conversation
Refer to the Cyclone V Hard Processor System Technical Reference Manual (same for Arria V), Section A-32, "Loading the Preloader Image". The upper 4kB of the on-chip RAM is reserved by the Boot ROM, meaning only 60kB is available for the preloader. If the SPL extends into this region, it causes the boot ROM to crash.
|
Thanks for this patch that helped me understand why I was not able to boot anymore when upgrading uboot from 2022.07 to 2025.01 on a Terasic DE10-Standard board. My generated SPL was now slightly bigger than the limit. I don't understand why this simple fix is not merged yet. |
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
Sign up for free
to 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.
Refer to the Cyclone V Hard Processor System Technical Reference Manual (same for Arria V), Section A-32, "Loading the Preloader Image". The upper 4kB of the on-chip RAM is reserved by the Boot ROM, meaning only 60kB is available for the preloader. If the SPL extends into this region, it causes the boot ROM to crash.
Proper validation will prevent confusion when the preloader doesn't run due to being too large.