Skip to content
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

🧪 Shrink bootloader ISA and RAM requirements #1118

Merged
merged 7 commits into from
Dec 12, 2024
Merged

Conversation

stnolting
Copy link
Owner

@stnolting stnolting commented Dec 11, 2024

The default bootloader is now compiled using the minimal rv32e ISA (rv32_e_zicsr_zifencei actually). Furthermore, the minimal RAM requirements are lowered to 256 bytes. Thus, the bootloader can also operate on tiny processor configurations. Additionally, these constraints also reduce the total bootloader image size.

@stnolting stnolting added enhancement New feature or request experimental Experimental feature labels Dec 11, 2024
@stnolting stnolting self-assigned this Dec 11, 2024
@stnolting stnolting marked this pull request as ready for review December 11, 2024 20:21
@LukasP46
Copy link
Contributor

And also I guess this PR is a good place to remove the bootloader.c sanity check as mentioned here: #1108 (comment)

Thanks for trying it out!

@stnolting stnolting marked this pull request as draft December 12, 2024 18:41
@stnolting stnolting marked this pull request as ready for review December 12, 2024 18:41
@stnolting stnolting merged commit 64d7699 into main Dec 12, 2024
10 checks passed
@stnolting stnolting deleted the bootloader_minimal branch December 12, 2024 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request experimental Experimental feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants