ading2210 / shimboot

Boot a desktop Linux distribution from a Chrome OS RMA shim.
https://shimboot.ading.dev
GNU General Public License v3.0
88 stars 26 forks source link

KExec into octopus kernel #56

Open c0des1ayr opened 2 weeks ago

c0des1ayr commented 2 weeks ago

I'm wondering if maybe kexec'ing into the octopus board kernel would allow for everything to work with shimboot. Maybe kernel modules would be problematic, but I think it might be worth looking into.

ading2210 commented 2 weeks ago

Kexec is disabled in the shim kernel, so this isn't possible. The only way would be to write a custom kernel module with the same functionality, and since I don't have a clue how the internals of the Linux kernel work, I can't do this.

OtterCodes101 commented 2 weeks ago

I'm wondering if maybe kexec'ing into the octopus board kernel would allow for everything to work with shimboot. Maybe kernel modules would be problematic, but I think it might be worth looking into.

what about just using a mainline kernel

ading2210 commented 2 weeks ago

Using the mainline kernel would be more ideal, but it doesn't change the fact that kexec doesn't work.

OtterCodes101 commented 2 weeks ago

i can look around and see if i can find a kernel module that can kexec

c0des1ayr commented 5 days ago

UPDATE: found this repo for a kexec kernel module, I'll make a fork and see if I could make it work on amd64/x86-64