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

Build the image of an Raspi SD card on CI #146

Open
tomaka opened this issue Dec 20, 2019 · 3 comments
Open

Build the image of an Raspi SD card on CI #146

tomaka opened this issue Dec 20, 2019 · 3 comments
Labels
A-standalone-arm Issues specific to ARM

Comments

@tomaka
Copy link
Owner

tomaka commented Dec 20, 2019

Some reference: https://projects.raspberrypi.org/en/projects/raspberry-pi-setting-up/3
Then we can copy the operating system on it.
I'm unsure how the kernel should be named and where it should be located 🤷‍♂️

We might have to do something like arm-???-objcopy /path/to/redshirt-standalone-kernel -O binary kernel.bin in order to remove all the ELF headers, in which case it is probably also necessary to remove the interrupt table at 0x0 in the linker script.

@tomaka tomaka added the A-standalone-arm Issues specific to ARM label Dec 20, 2019
@tomaka
Copy link
Owner Author

tomaka commented Dec 20, 2019

@tomaka
Copy link
Owner Author

tomaka commented Dec 29, 2019

We first need to code some way to check whether that works, such as a framebuffer driver or something.

@tomaka
Copy link
Owner Author

tomaka commented Feb 18, 2020

Some notes: it's probably way easier use raspbian then replace kernel.img with our kernel, as the OSDev wiki recommends.

EDIT: I'm stupid, we can use https://github.com/raspberrypi/firmware instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-standalone-arm Issues specific to ARM
Projects
None yet
Development

No branches or pull requests

1 participant