Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 2006 13:16:50 +0100
From:      Olivier Houchard <mlfbsd@ci0.org>
To:        Doug Brewer <brewer.doug@gmail.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: FreeBSD/arm image question
Message-ID:  <20061113121650.GA20731@ci0.org>
In-Reply-To: <b2ec5cad0611121805y79674d19pc9abac3683d005f9@mail.gmail.com>
References:  <b2ec5cad0611121740s5d4fcf59nd45a8a5dfc308a63@mail.gmail.com> <20061112.184546.514366287.imp@bsdimp.com> <b2ec5cad0611121805y79674d19pc9abac3683d005f9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 13, 2006 at 10:05:43AM +0800, Doug Brewer wrote:
> On 11/13/06, M. Warner Losh wrote:
> >In message: <b2ec5cad0611121740s5d4fcf59nd45a8a5dfc308a63@mail.gmail.com>
> >            "Doug Brewer" <brewer.doug@gmail.com> writes:
> >: Hello,
> >:
> >: I have an i80321 customized board and I'm new to FreeBSD/arm.
> >: My bootloader loads Linux zImage. My question is FreeBSD kernel.bin =
> >: Linux zImage?
> >: I think FreeBSD kernel.bin is a raw binary with no program headers.
> >
> >That is correct.
> >
> >You can do a 'make kernel.tramp' and get a kernel.gz.bin as well,
> >which more closely matches zImage.
> 
> You mean I can run "make kernel.tramp KERNCONF=mykernel" ?
> I used gzip -c kernel.bin > kernel.bin.gz to generate compressed raw binary.
> 
> Thank you very much.
> 
> >Warner
> 

Hi Doug,

The real target is "make trampoline", which will generate kernel.tramp,
kernel.tramp.bin, kernel.gz.tramp and kernel.gz.tramp.bin.
kernel.gz.tramp.bin will be I think what look the most like zImage, as it's
a raw binary, able to uncompress the gzipped kernel embedded.
Unfortunately, you can't, afaik, do it with the "buildkernel/installkernel"
method, so you'll have to use the old config + make depend all method.

Cheers,

Olivier



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061113121650.GA20731>