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/
|