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:
- 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!
- 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