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

use Flattened DeviceTrees to determine the hardware specification #201

Merged
merged 7 commits into from Apr 15, 2023

Conversation

stlankes
Copy link
Contributor

Qemu stores the device tree at the beginning of the RAM. Consequently, we have to move the loader to create space for the device tree. Afterwards, the device tree can be used to determine the UART address and the memory regions.

@stlankes stlankes requested a review from mkroening March 12, 2023 20:25
Copy link
Member

@mkroening mkroening left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. 👍

Qemu stores the device tree at the beginning of the RAM.
Consequently, we have to move the loader to create space for the
device tree. Afterwards, the device tree can be used to determine
the UART address and the memory regions.
The guest loader is able to load the an initial ramdisk and
announce the location by the device tree. The loader checks
if the initrd contains a valid elf file and boot it.

see https://qemu.readthedocs.io/en/latest/system/guest-loader.html
@stlankes
Copy link
Contributor Author

bors r+

@bors bors bot merged commit 2db7c69 into hermit-os:master Apr 15, 2023
12 checks passed
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.

None yet

2 participants