FreeBSD/arm image question

Olivier Houchard mlfbsd at ci0.org
Mon Nov 13 12:03:15 UTC 2006


On Mon, Nov 13, 2006 at 10:05:43AM +0800, Doug Brewer wrote:
> On 11/13/06, M. Warner Losh wrote:
> >In message: <b2ec5cad0611121740s5d4fcf59nd45a8a5dfc308a63 at mail.gmail.com>
> >            "Doug Brewer" <brewer.doug at 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


More information about the freebsd-arm mailing list