linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* How can I get a ramdisk.image for linux2.6 running on ML403?
@ 2007-05-29  7:46 angelalinyao
  2007-05-29 14:01 ` Grant Likely
  0 siblings, 1 reply; 3+ messages in thread
From: angelalinyao @ 2007-05-29  7:46 UTC (permalink / raw)
  To: Linuxppc-embedded

Hi,all
    I used to run linux 2.4 successfully with my ramdisk.image on ML403.Now I'm trying to run linux 2.6 on ML403,however,my ramdisk didn't work. The error was as follow.

RAMDISK: Compressed image found at block 0 
VFS: Mounted root (ext2 filesystem). 
Freeing unused kernel memory: 84k init 
Warning: unable to open an initial console. 

    My ramdisk was provided by MontaVista and suppotted kernel 2.4.Its dev/ is empty because it uses devfs and devfs is selectable in kernel 2.4 while making menuconfig.But in kernel 2.6 devfs is unselectable,so the error occurs with the dev/ empty.
    Is there any ramdisk.image provided for linux 2.6?Or maybe I have to make a ramdisk by myself?If I make a ramdisk by myself,where can I get all the files under dev/?Will the dev/ simply copied from a server or PC which runs linux 2.6 work for ppc405?
    Any help from you is appreciated.Thank you! 
                                                                                                                       linyao

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How can I get a ramdisk.image for linux2.6 running on ML403?
  2007-05-29  7:46 How can I get a ramdisk.image for linux2.6 running on ML403? angelalinyao
@ 2007-05-29 14:01 ` Grant Likely
  2007-05-29 15:20   ` Gerald Ruescher
  0 siblings, 1 reply; 3+ messages in thread
From: Grant Likely @ 2007-05-29 14:01 UTC (permalink / raw)
  To: angelalinyao@163.com; +Cc: Linuxppc-embedded

On 5/29/07, angelalinyao@163.com <angelalinyao@163.com> wrote:
>     Is there any ramdisk.image provided for linux 2.6?Or maybe I have to make a ramdisk by myself?If I make a ramdisk by myself,where can I get all the files under dev/?Will the dev/ simply copied from a server or PC which runs linux 2.6 work for ppc405?
>     Any help from you is appreciated.Thank you!

If you just want an out-of-the-box ramdisk, you can use the one in ELDK

http://www.denx.de/wiki/DULG/ELDK

Or, you can mount your existing ramdisk image on another Linux box and
copy the needed files over.  The /dev entries are the same across all
architectures.

g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: How can I get a ramdisk.image for linux2.6 running on ML403?
  2007-05-29 14:01 ` Grant Likely
@ 2007-05-29 15:20   ` Gerald Ruescher
  0 siblings, 0 replies; 3+ messages in thread
From: Gerald Ruescher @ 2007-05-29 15:20 UTC (permalink / raw)
  To: Linuxppc-embedded

Grant Likely <grant.likely@secretlab.ca> wrote:

> On 5/29/07, angelalinyao@163.com <angelalinyao@163.com> wrote:
>
> > Is there any ramdisk.image provided for linux 2.6?
> > Or maybe I have to make a ramdisk by myself?
> > [...]
> > Any help from you is appreciated.Thank you!
>
> If you just want an out-of-the-box ramdisk, you can use the one in =
ELDK
>=20
> http://www.denx.de/wiki/DULG/ELDK
>=20
> Or, you can mount your existing ramdisk image on another Linux box and
> copy the needed files over.  The /dev entries are the same across all
> architectures.

Additionally I'd like to point out that there is a nice and
well-written O'Reilly book called "Building Embedded Linux System"
by Karim Yaghmour.  It contains a number of useful hints and techniques
for newbies, including a chapter about how to set up a root file
system for an embedded system using tools like BusyBox etc.
Some chapters may not be 100% up-to-date but still recommended=20
reading.

Kind regards,
Gerald

______________________________________________

Gerald R=FCscher
Software Development Engineer
Core Real-Time Implementation

dSPACE GmbH          Tel.:  +49 5251 1638-1826
Technologiepark 25   Fax:   +49 5251 16198-1826
33100 Paderborn      http://www.dspace.de
Germany              mailto:GRuescher@dspace.de
_______________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-05-29 15:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-29  7:46 How can I get a ramdisk.image for linux2.6 running on ML403? angelalinyao
2007-05-29 14:01 ` Grant Likely
2007-05-29 15:20   ` Gerald Ruescher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).