On Tue, Sep 25, 2007 at 12:12:17AM +0200, svn@openbios.org wrote:
This patch makes sure that specifying an initrd in the LAB config file is actually respected (that was a bug).
It also moves the LAB config file to /lab.conf on the first partition. The kexec binary is now also expected to live in /kexec on the first partition.
Both should be a config option of course, as this is heavily dependent on the respective setup you use.
The reason for putting the LAB config file and kexec binary in / on partition 1 rather than /etc and /sbin respectively, is that often (at least in our setups) /boot is the first partition, and is a simple software raid-1 across however many disks there are in the system. The rest of the partitions can be software raid-5, LVM on sw raid, etc. We do things this way because GRUB does not understand software raid nor LVM.
Which could change with GRUB2, I think there were some plans at least.
Not needing MD or LVM drivers in the kernel that lives in rom makes it smaller, which is desirable. Putting a static kexec in / on the first partition means
This may be a stupid question, but is it possible to put kexec in the ROM, too? Yes, it consumes some space, but I'm curious if it would be possible.
Uwe.
On 9/24/07, Uwe Hermann uwe@hermann-uwe.de wrote:
This may be a stupid question, but is it possible to put kexec in the ROM, too? Yes, it consumes some space, but I'm curious if it would be possible.
not stupid at all. On OLPC that's how I did it originally.
ron
On Mon, Sep 24, 2007 at 05:37:30PM -0700, ron minnich wrote:
On 9/24/07, Uwe Hermann uwe@hermann-uwe.de wrote:
This may be a stupid question, but is it possible to put kexec in the ROM, too? Yes, it consumes some space, but I'm curious if it would be possible.
not stupid at all. On OLPC that's how I did it originally.
OK, great. How big does kexec get when put in the ROM? Is there still enough room for a kernel in that case (1MB chip)?
Uwe.
On Fri, Sep 28, 2007 at 03:34:52PM +0200, Uwe Hermann wrote:
On Mon, Sep 24, 2007 at 05:37:30PM -0700, ron minnich wrote:
On 9/24/07, Uwe Hermann uwe@hermann-uwe.de wrote:
This may be a stupid question, but is it possible to put kexec in the ROM, too? Yes, it consumes some space, but I'm curious if it would be possible.
not stupid at all. On OLPC that's how I did it originally.
OK, great. How big does kexec get when put in the ROM? Is there still enough room for a kernel in that case (1MB chip)?
I tried this briefly while working on the m57sli and s2891 additions to buildrom, and could not fit the kexec binary and lab in less than 1MB.
But I didn't investigate exactly how the kexec binary is built in buildrom, and there might be some more trimming of the kernel config that can be done.
Thanks, Ward.
On 28/09/07 14:54 -0400, Ward Vandewege wrote:
On Fri, Sep 28, 2007 at 03:34:52PM +0200, Uwe Hermann wrote:
On Mon, Sep 24, 2007 at 05:37:30PM -0700, ron minnich wrote:
On 9/24/07, Uwe Hermann uwe@hermann-uwe.de wrote:
This may be a stupid question, but is it possible to put kexec in the ROM, too? Yes, it consumes some space, but I'm curious if it would be possible.
not stupid at all. On OLPC that's how I did it originally.
OK, great. How big does kexec get when put in the ROM? Is there still enough room for a kernel in that case (1MB chip)?
I tried this briefly while working on the m57sli and s2891 additions to buildrom, and could not fit the kexec binary and lab in less than 1MB.
But I didn't investigate exactly how the kexec binary is built in buildrom, and there might be some more trimming of the kernel config that can be done.
I've said it before, and I'll say it again. We need a minimal version of Kconfig for 32bit x86 a ukexec if you will (but please don't use that name). It can be either tied into Busybox, or stand on its own - I don't really think it matters.
Jordan
On 9/28/07, Jordan Crouse jordan.crouse@amd.com wrote:
I've said it before, and I'll say it again. We need a minimal version of Kconfig for 32bit x86 a ukexec if you will (but please don't use that name). It can be either tied into Busybox, or stand on its own - I don't really think it matters.
Anybody know what happened to the trimmed-down one I did for OLPC? I nuked my tree a while back, maybe someone else has it.
ron
On 28.09.2007 22:16, ron minnich wrote:
On 9/28/07, Jordan Crouse jordan.crouse@amd.com wrote:
I've said it before, and I'll say it again. We need a minimal version of Kconfig for 32bit x86 a ukexec if you will (but please don't use that name). It can be either tied into Busybox, or stand on its own - I don't really think it matters.
Anybody know what happened to the trimmed-down one I did for OLPC? I nuked my tree a while back, maybe someone else has it.
Did it ever hit the official OLPC git tree?
Carl-Daniel