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

aarch64 startover #641

Open
orangecms opened this issue Dec 6, 2022 · 4 comments
Open

aarch64 startover #641

orangecms opened this issue Dec 6, 2022 · 4 comments

Comments

@orangecms
Copy link
Contributor

orangecms commented Dec 6, 2022

see https://github.com/rust-embedded/aarch64-cpu

Cortex-A has good support in Rust Embedded already. We can build on top of that and port something like a Rockchip or Allwinner ARM SoC. See also #533 and #602.

@orangecms
Copy link
Contributor Author

see #684 for Allwinner H616

@felipebalbi
Copy link
Contributor

Hi,

I would like to help, where possible, with reworking the AArch64 port. It appears that fixing what currently sits in src.broken is not the way to go. Could we get some better description of what the community is wanting to do for the AArch64 port?

Thanks

@orangecms
Copy link
Contributor Author

Hi and welcome to the project!

There is not much of an architecture specific goal for oreboot, so it's your chance to contribute and discuss it, if you feel like there is a need. :)

The general idea is to keep things simple and only do as much as necessary to boot up a kernel without any sort of runtime services a fanciness. We leave it up to the OS or bootloader to do more. See also the notes on the boot flow. That usually boils down to some GPIOs, a UART for debugging, DRAM init, loading a kernel to DRAM and jumping to it. Depending on the platform, that may mean some extra code in order to load the kernel from some storage in the first place, e.g., SPI flash, eMMC or SD card.

@felipebalbi
Copy link
Contributor

Here's a first draft for reviving qemu-aarch64: #732

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

No branches or pull requests

2 participants