[OLPC-devel] just verified: 2306 + olpc + linux kernel works.

Marcelo Tosatti marcelo at kvack.org
Fri May 26 17:16:35 EDT 2006


On Thu, May 25, 2006 at 05:22:18PM -0600, Ronald G Minnich wrote:
> Marcelo Tosatti wrote:
> 
> >The statically linked program results in 37112 bytes, and compressed
> >ext2 rootfs used as RAMDISK (olpc-boot-loader + necessary /dev files)
> >results in 19458 bytes.
> >
> >bzImage (no PCI, no USB, no networking) is about 380k in size,
> >compressed.
> 
> So we're three, right? Wow, Do you think once usb is in we will still be 
> under (512-64)*1024? This is pretty cool.
> 
> Stupid question: a friend tells me there is a way to get a kernel build 
> that results in a Giant Elf that has kernel, initrd, command line in one 
> blob. Is this true ? I had not seen this (well, I've seen it on Plan 9, 
> but not on Linux).

mkelfImage does that, actually:

mkelfImage is a program that makes an elf boot image for linux kernel
images. The image should work with any i386 multiboot compliant boot
loader, an ELF boot loader that passes no options, a loader compliant
with the linuxBIOS elf booting spec or with the linux kexec kernel
patch.	A key feature here is that nothing relies upon BIOS calls, but
they are made when necessary.  This is useful for systems running
LinuxBIOS

http://rpmfind.net/linux/RPM/suse/9.1/i386/suse/i586/mkelfImage-2.5-57.i586.html



More information about the Devel mailing list