Skip to content

Conversation

TCWORLD
Copy link

@TCWORLD TCWORLD commented Nov 14, 2024

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.

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.
@Zlika
Copy link

Zlika commented Jun 23, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants