alpernebbi / depthcharge-tools

Tools to manage the Chrome OS bootloader
GNU General Public License v2.0
27 stars 3 forks source link

Support for x86 machines #2

Closed alpernebbi closed 1 year ago

alpernebbi commented 4 years ago

I want to extend this project to x86 machines as well, but I don't know exactly how to build images for them. For now, I've added a 'zimage' format to mkdepthcharge that just passes the vmlinuz to vbutil_kernel without an initramfs. If you've already made a machine work this way, please tell me if images built with mkdepthcharge can boot on yours.

I've looked at the depthcharge sources a little, there are config options for 'multiboot' and 'bootdata' kernels -- by which they probably mean yet another image boot stuff are packaged in (like FIT in ARM). They seem to support having initramfs ramdisks, but I haven't figured out how to create such boot images yet. Any information on this part is greatly appreciated.

alpernebbi commented 1 year ago

x86 boards are very well supported as of v0.6.2 now that I have managed to hack initramfs support into the zimage format with minimal padding.