[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] a.out support for multiboot and freebsd
From: |
Bean |
Subject: |
Re: [PATCH] a.out support for multiboot and freebsd |
Date: |
Mon, 11 Feb 2008 06:28:27 +0800 |
Hi,
The following patch support freebsd a.out and elf, now you can load
the kernel directly.
1. Boot through loader:
set root=(hd0,0,a)
freebsd /boot/loader
It should be able to deduce the root device from the root variable.
2. Booting directly:
freebsd (hd0,0,a)/boot/kernel/kernel
freebsd_loadenv (hd0,0,a)/boot/devices.hints
set FreeBSD.vfs.root.mountfrom=ufs:ad0s1a
environment variable for FreeBSD has the FreeBSD. prefix, the prefix
is removed before jumping to kernel code.
Please note that you need to set root device explicitly using
vfs.root.mountfrom.
--
Bean
a4.diff
Description: Text document
- [PATCH] a.out support for multiboot and freebsd, Bean, 2008/02/09
- Re: [PATCH] a.out support for multiboot and freebsd, walt, 2008/02/09
- Re: [PATCH] a.out support for multiboot and freebsd, Bean, 2008/02/10
- Re: [PATCH] a.out support for multiboot and freebsd, walt, 2008/02/10
- Re: [PATCH] a.out support for multiboot and freebsd,
Bean <=
- Re: [PATCH] a.out support for multiboot and freebsd, walt, 2008/02/11
- Re: [PATCH] a.out support for multiboot and freebsd, Bean, 2008/02/11
- Re: [PATCH] a.out support for multiboot and freebsd, Bean, 2008/02/11
- Re: [PATCH] a.out support for multiboot and freebsd, Bean, 2008/02/11
- Re: [PATCH] a.out support for multiboot and freebsd, Robert Millan, 2008/02/11
- Re: [PATCH] a.out support for multiboot and freebsd, Bean, 2008/02/11
- Re: [PATCH] a.out support for multiboot and freebsd, Robert Millan, 2008/02/12
- Re: [PATCH] a.out support for multiboot and freebsd, walt, 2008/02/11
- Re: [PATCH] a.out support for multiboot and freebsd, Bean, 2008/02/11
- Re: [PATCH] a.out support for multiboot and freebsd, Robert Millan, 2008/02/12