Re: Does HaRET pass the initrd size?

From: Kevin O'Connor <kevin_at_koconnor.net>
Date: Sat, 30 Aug 2008 16:33:21 -0400

On Sat, Aug 30, 2008 at 04:20:39PM -0400, Tom Talpey wrote:
> I'm trying to boot a kernel with a 13MB initrd from HaRET 0.5.1
> on my H1940 and the kernel doesn't seem to be getting the
> proper size tag at startup. It creates a default 4MB ramdisk
> and the image becomes truncated. If I change the kernel's
> ramdisk size to 16MB, or manually add a brd.rd_size=16384
> parameter, everything's fine.

Haret sets it in the "tags" passed to the kernel. See:

http://git.linuxtogo.org/?p=kevin/haret.git;a=blob;f=src/linboot.cpp;h=d44ea116e2b67d8a6ee089e9050e9f238416a38e;hb=HEAD#l127

That said, I'm not sure how large an initrd that Linux can practically
use.

> Is this pilot error, i.e. can I add some extra field to my startup.txt
> so that HaRET can pass this to the kernel? Thanks.

-Kevin
Received on Sat Aug 30 2008 - 16:33:29 EDT

This archive was generated by hypermail 2.2.0 : Sat Aug 30 2008 - 16:34:12 EDT