ts-7000
[Top] [All Lists]

[ts-7000] Re: TS-7800: increasing size of ramdisk for initrd

To:
Subject: [ts-7000] Re: TS-7800: increasing size of ramdisk for initrd
From: Alexander Clouter <>
Date: Mon, 21 Jul 2008 12:27:13 +0100
Hi,

Theodore A. Roth <> [20080714 12:04:22 -0700]:
>
> I have been trying unsuccessfully to create an initrd on a 2-GB sd
> card that is larger than 4-MB.
> 
I do not think you can have more than a 4MB initrd loaded by the TS 
bootloader, however that's just me guessing.  Best to ask TS support directly 
regarding this.

> So, now for my questions:
> 
> * Is my suspicion true?
> * Is there a way to tell the bootloader the size of the image to load
> into the ramdisk?
> * Why doesn't the bootloader read the partition table and just copy
> the entire partition in to the ramdisk?
> * Is it even possible to use an initrd that is more than 4-MB?
> 
I would suggest you use initramfs (not initrd), ignore that 4MB partition on 
the SD card as a waste of space/time and then pivot root into a an image you 
yank off the SD card and put into a RAM disk that gives you everything you 
need.  I personally would probably use initramfs, mount the third partition 
read-only, untar a file from there into / and pivot root into it's-self.

Hopefully thats clear, that way the least amount of memory (initramfs is 
tmpfs and it dynamically grows and shrinks iirc) is used and you avoid 
playing with image re-preperation all the time.

Cheers

Alex

-- 
 _______________________________________
/ Things are not always what they seem. \
|                                       |
\ -- Phaedrus                           /
 ---------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU