Skip to content

MaaXBoard loader address fix#206

Merged
Ivan-Velickovic merged 2 commits intomainfrom
maaxboard_fix
Aug 16, 2024
Merged

MaaXBoard loader address fix#206
Ivan-Velickovic merged 2 commits intomainfrom
maaxboard_fix

Conversation

@Ivan-Velickovic
Copy link
Copy Markdown
Collaborator

It was seen on larger Microkit systems that the loader data was
overlapping with the code for the loader itself when the loader
attempted to copy the data to the appropriate location before
jumping to seL4 and starting the system.

I believe the root cause of this problem is not gone and will involve
changing the tool to be smarter with how it allocates physical memory,
my current attempts to do so lead to other issues. I'll have to make a
follow up fix to prevent this from happening again, but for now this
will allow users of the MaaXBoard to run larger Microkit systems.

This PR also adds a patch to make sure that if overlapping does occur,
we find it at build time instead of having weird errors at runtime.

Signed-off-by: Ivan Velickovic <i.velickovic@unsw.edu.au>
It was seen on larger Microkit systems that the loader data was
overlapping with the code for the loader itself when the loader
attempted to copy the data to the appropriate location before
jumping to seL4 and starting the system.

I believe the root cause of this problem is not gone and will involve
changing the tool to be smarter with how it allocates physical memory,
my current attempts to do so lead to other issues. I'll have to make a
follow up fix to prevent this from happening again, but for now this
will allow users of the MaaXBoard to run larger Microkit systems.

Signed-off-by: Ivan Velickovic <i.velickovic@unsw.edu.au>
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.

1 participant