[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu static elf boot
From: |
Nicolas Ollinger |
Subject: |
Re: [Qemu-devel] qemu static elf boot |
Date: |
Thu, 24 Jul 2003 15:08:48 +0200 (CEST) |
Hi,
> A static ELF loader would be easy to add, but I don't know what is the
> standard way to pass command line parameters to an OS. I agree that it
> is an important feature. Do you have images of a complete netbsd system
> (kernel with serial console + small disk image) ?
I put a small disk image, kernels, and some files and instructions to use
them under bochs (for comparison purpose) at the following URL:
http://www.ens-lyon.fr/~nollinge/netbsd_bochs/
It works under bochs but it is quite slow (PII/333 here).
Concerning the boot process, I think the following files are worth
reading, even if they are very NetBSD involved:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/i386/stand/boot/boot2.c?rev=1.1&content-type=text/x-cvsweb-markup
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/i386/stand/lib/exec.c?rev=1.18&content-type=text/x-cvsweb-markup
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/lib/libsa/loadfile.c?rev=1.7.4.2&content-type=text/x-cvsweb-markup
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/i386/stand/lib/startprog.S?rev=1.3&content-type=text/x-cvsweb-markup
=> [bootit] calls [exec_netbsd] calls [loadfile] calls [startprog].
Some involved headers:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/sys/reboot.h?rev=1.20&content-type=text/x-cvsweb-markup
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/sys/boot_flag.h?rev=1.3&content-type=text/x-cvsweb-markup
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/i386/stand/lib/bootinfo.h?rev=1.5&content-type=text/x-cvsweb-markup
A more general source of information concerning multi-OS booting would be
a complex bootloader like GRUB.
Nicolas.
--
- [Qemu-devel] qemu static elf boot, Nicolas Ollinger, 2003/07/23
- Re: [Qemu-devel] qemu static elf boot,
Nicolas Ollinger <=
- Re: [Qemu-devel] qemu static elf boot, Nicolas Ollinger, 2003/07/27
- Re: [Qemu-devel] qemu static elf boot / VGA emulation, Fabrice Bellard, 2003/07/27
- Re: [Qemu-devel] qemu static elf boot / VGA emulation, Stefano Marinelli, 2003/07/27
- Re: [Qemu-devel] qemu static elf boot / VGA emulation, Herbert Pƶtzl, 2003/07/27
- Re: [Qemu-devel] NetBSD is booting :) (was: qemu static elf boot / VGA emulation), Nicolas Ollinger, 2003/07/28
- Re: [Qemu-devel] qemu static elf boot / VGA emulation, Johan Rydberg, 2003/07/28
- Re: [Qemu-devel] qemu static elf boot / VGA emulation, Fabrice Bellard, 2003/07/29