[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 22:28:09 +0800 |
On Feb 11, 2008 10:11 PM, walt <address@hidden> wrote:
> Bean wrote:
> > 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.
>
> I still see currdev=disk0s1c but that should be s1a, not s1c.
i found a small bug in the root device calculation, the new patch
below should be ok.
> >
> > 2. Booting directly:
> > freebsd (hd0,0,a)/boot/kernel/kernel
>
> At this point I see 'broken magic at 0x6b30'. I'm running FreeBSD
> CURRENT, not stable. Could that be the problem?
I'm testing FreeBSD 6.3, the 7 series haven't been tried yet. Perhaps
you can upload the kernel file somewhere for me to check.
The patch also contain incomplete support for openbsd kernel, it's not
working yet, you can just ignore it.
--
Bean
a5.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, 2008/02/10
- Re: [PATCH] a.out support for multiboot and freebsd, walt, 2008/02/11
- Re: [PATCH] a.out support for multiboot and freebsd,
Bean <=
- 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
- Re: [PATCH] a.out support for multiboot and freebsd, Bean, 2008/02/12
- Re: [PATCH] a.out support for multiboot and freebsd, Robert Millan, 2008/02/12