-
Notifications
You must be signed in to change notification settings - Fork 82
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
Use for qboot? #145
Comments
If it makes QEMU boot faster, it also makes OSv boot faster under Capstan. |
I'll give it a go once I get it compiling |
qboot does boot linux with separate |
@davedoesdev How much does it improve boot times? Do you know how to build cbfs images? We probably could add a "qemu-cbs" image target in osv.git and upload those in the Capstan repository as part of the release process. |
I did some rough measurements by adding For standard BIOS until first kernel message this gave 0.989, 0.932, 0.988 (average: 0.969) This was unmodified Ubuntu 14.10 qemu. I built the cbfs image per the qboot README: dd if=/dev/zero of=boot.bin bs=4096 count=1
../coreboot-HEAD-44cbe10/util/cbfstool/cbfstool cbfs.rom create -s 8128k -B boot.bin -m x86 -o 0x1000
../coreboot-HEAD-44cbe10/util/cbfstool/cbfstool cbfs.rom add -f ~/Downloads/aboriginal-1.4.1/build/system-image-x86_64/linux -n vmlinuz -t raw
echo 'console=ttyS0' > cmdline
../coreboot-HEAD-44cbe10/util/cbfstool/cbfstool cbfs.rom add -f cmdline -n cmdline -t raw and then ran with: qemu-system-x86_64 -nographic -drive if=pflash,file=bios.bin,readonly=on -drive if=pflash,file=cbfs.rom,readonly=on -no-reboot -S |
Or you can do as @bonzini suggests:
|
Is OSv compiled as multiboot or does it a vmlinuz-style header? cbfs is only supported for vmlinuz, at least for now. |
I was wondering if there's any value in qboot for Capstan?
https://lwn.net/Articles/645455/
BIOS?
The text was updated successfully, but these errors were encountered: