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

Documentation for how C4 image is built #6

Closed
jernst opened this issue Dec 14, 2021 · 1 comment
Closed

Documentation for how C4 image is built #6

jernst opened this issue Dec 14, 2021 · 1 comment

Comments

@jernst
Copy link

jernst commented Dec 14, 2021

I'm attempting to understand how the images on https://archdroid.org/en/images/odroidc4/ were built.

There is script https://github.com/archdroid-org/alarm-image-generator/blob/master/platform/c4.sh and I can see the TOBETTER_KERNEL path, but it appears to install kernel linux-odroid-512 rather than linux-odroid-panfrost which I find on the image.

There is no mention of linux-odroid-panfrost in the scripts that I can find. Where does it come from?

Also, how is the boot loader configured / installed?

@jgmdev
Copy link
Member

jgmdev commented Feb 10, 2025

There is no mention of linux-odroid-panfrost in the scripts that I can find. Where does it come from?
At some time in the past while testing various kernel config combinations, that was the one that made it on to the image but later was dropped from the scripts.

If still of interest, updated the image generator to also support building images using a x86_64 host #8. Since mainline kernel support has improved for these boards the generated images will now use the latest linux-aarch64 kernel package by default, the following should be enough to build a minimal c4 image that is also compatible with hc4:

./build.sh build c4

@jgmdev jgmdev closed this as completed Feb 10, 2025
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