[coreboot] LInux kernel in Flash

Harald Gutmann harald.gutmann at gmx.net
Wed Jun 24 18:12:33 CEST 2009


On Wednesday 24 June 2009 17:54:51 Peter Stuge wrote:
> Harald Gutmann wrote:
> > What do I need except a kernel image which has all drivers
> > compilled in?
> > What needs to be done to get this setup working?
>
> Two ways:
>
> 1. Use mkelfImage to get a payload from vmlinux
>    See http://www.coreboot.org/Mkelfimage for download info.
>
> mkelfImage -t vmlinux-i386 --kernel=~/linux-version/vmlinux
> --output=~/linux.elf
>
> ~/linux.elf is your payload. Add ramdisk if you like.
Good starting point, thanks!


> 2. Try using vmlinux as payload directly, it might work, we don't know
>
> It would be interesting to know if vmlinux+initramfs works:
> http://www.coreboot.org/Initramfs
>
> Note that you always want to use the uncompressed vmlinux to start
> with, and enable payload LZMA compression. LZMA compresses better
> than the in-kernel compression used for bzImage.
Thanks, I think I would have missed that.

One open question:
How do I pass the kernel cmd-line? Is it possible to set that on kernel 
compile time?

>
> //Peter
Regards,
Harald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090624/b662139d/attachment.sig>


More information about the coreboot mailing list