ts-7000
[Top] [All Lists]

[ts-7000] Re: Stupid 2.6 kernel question

To:
Subject: [ts-7000] Re: Stupid 2.6 kernel question
From: "wildpossumboy" <>
Date: Mon, 02 Feb 2009 03:18:15 -0000
Hi Matt.

Not a stupid question at all. Remember - the only stupid question
really is the only one not asked!

The initrd is simply a initialisation of a ram disk hence "initrd".
The method of compressing the initial contents to be added to the ram
disk on start up are really a "what you like - use" issue.  Generally,
"gz" is the overall used flavour IMHO.

Reference making a initrd, dependent on the distribution flavour your
running you can usually just execute "mkinitrd" after your generated
the new kernel; which will allow you to select which kernel drivers
(*.ko) to add to the flavour of kernel image your using or have built
for another system - It will also handle the compression itself.  I am
not as get 100% ofay with an embedded ARM setup, so my post is a
general one.  Usually the mkinitrd program will search for each kernel
image (compressed or not) in /boot and add the applicable *.ko
required automagically.  This is my experience under OpenSuSE at least.

"man mkinitrd -k" on your development system will help you further; As
will looking at the kernel source /usr/src/linux/Documentation/ under
(if I remember correctly) either initrd, mkinitrd, or modules.

Hope this assists.
Cheers. Grahame

--- In  Matthew Harrell
<> wrote:
>
> 
> I'm going to be building a 2.6 kernel with Matt's patch shortly for
my 7260
> but I wanted to check and see how the system did with the TS 2.6.21
kernel
> first.  How do I properly create an initrd file for this kernel?  I
need to
> preload the sdcard module to work with my root filesystem and I
notice that
> the old TS 2.4 initrd image is an ext2 filesystem.  The initrd on my
laptop
> (running 2.6) uses a cpio / gz file.  The readmes I've seen are split on
> this and I've never worked with initrd before.  Do I want to create a
> cpio / gz file and will that work with redboot?
> 
> Does anyone happen to have a kernel and initrd image they would mind
sending
> me from Matt's 2.6.27 patches?  I really just want to test how some
of my
> software behaves under the later kernel before investing a lot of
time into
> it
> 
> -- 
>   Matthew Harrell                          Light travels faster than
sound.
>   Bit Twiddlers, Inc.                       That's why some people
seem smart
>                    until you hear them speak
>



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

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