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
On 5/29/07, angelalinyao@163.com [off-list ref] 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
Grant Likely [off-list ref] wrote:
On 5/29/07, angelalinyao@163.com [off-list ref] wrote:
quoted
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
_______________________________________________