-
Notifications
You must be signed in to change notification settings - Fork 500
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
Why ld is leaving a hole in memory? #367
Comments
Any suggestions? |
This is so we can use PMP to protect the read-only part of the firmware. The easiest way to reduce the firmware size is to disable unused drivers in Kconfig ( |
Platform vendors can also keep separate defconfig for such things in their fork of OpenSBI repo. |
Considering future expansion(like adding secure os support, power control, etc), it is not easy to limit the size of the firmware |
Hi
opensbi using a large amount of memory now, and there is a memory hole, is there any way to avoid it?thanks.
opensbi/firmware/fw_base.ldS
Sections sample:
rela.dyn end 0x200674e8, data start 0x20080000, there is a 98K memory hole
The text was updated successfully, but these errors were encountered: