From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
Received: from wip-ectls-mx3.wipro.com (wip-ectls-mx3.wipro.com
[203.101.113.41])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "wip-ectls-mx3.wipro.com",
Issuer "certserv.wipro.com" (not verified))
by ozlabs.org (Postfix) with ESMTP id 62C9667A81
for ;
Thu, 17 Feb 2005 16:20:13 +1100 (EST)
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C514B0.57A1C90E"
Date: Thu, 17 Feb 2005 10:50:06 +0530
Message-ID:
From:
To:
Cc: linuxppc-embedded@ozlabs.org
Subject: RE: Mounta Vista Linux prompt on serial console
List-Id: Linux on Embedded PowerPC Developers Mail List
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
This is a multi-part message in MIME format.
------_=_NextPart_001_01C514B0.57A1C90E
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sorry if I am eating away your time .. but now it has come to some stage=
..able to decompress image of ramdisk image ( with ext2 in it)
=0D
But the problem is that it was stopping at
"No init found. Try passing init=3D option to kernel". Before that there=
were no errors. Everthing looks fine Mounted VFS root file system was also=
seen. From the net I understood is that the fstab file was the cause. So=
edited the filesytem parameter for / as /dev/ram earlier it used to be=
/dev/root.
=0D
The fstab file is like this.=0D
=0D
/dev/ram / auto defaults,errors=3Dremount-ro
/proc /proc proc defaults
=0D
So please tell me whether the given fstab file will suffice? The filesystem=
image was build for ext2. I tried wih CRAMFS but some decompressing error=
was coming where as the ext2 filesystem image was working fine.
=0D
=0D
2. I have one more doubt /sbin/init utility comes with what package?=
Because in /sbin directory although the init binary is present, not shown=
in the file system heirarchy view. For eg. if I select DHCPD package then=
able to see dhcpd related binary in the /sbin similarly my question was=
which package has to be selected to have init included.
=0D
Thanks & Regards
Surabhi Srinivas
________________________________
From: Wolfgang Denk [mailto:wd@denx.de]
Sent: Thu 2/17/2005 1:30 AM
To: Srinivas Surabhi (WT01 - EMBEDDED & PRODUCT ENGINEERING SOLUTIONS)
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Mounta Vista Linux prompt on serial console=0D
In message =
you wrote:
>
> cramfs is 2.7MB where as the RAM size is 32MB. While building ofcourse
> the RAMDISK size was told as 8MB. This I mentioned in the devrocket
What has the ramdisk to do here? Either you are using a cramfs
filesystem, or a ramdisk (probably with an ext2 filesystem in it).
Putting cramfs filesystem in a ramdisk image is a pretty bad idea.
> Here I have one doubt while building the uBoot image using mkImage with
> multi option where was the FileSystem image getting downloaded ? and how
A multi-file image in U-Boot indeed requires a ramdisk image. Then
you should not use a cramfs filesystem. The method for loading tha
ramdisk image is described in the U-Boot "README" file; search for
"positioning of initrd images".
> the downloaded location was known to the kernel Image for pointing out
> the File System image location. The options -a and -e are applicable
> only for first image, isn't it? First image I mean the kernel Image. I
Yes. Only the kernel is executable code and has an entry point.
> YES. You are right I am building the image on x86 (Windows platform).
> But I checked the build log it used the -r option. The default build was
> cpio format and after that using fstool converting to CRAMS and the
> option -r was present .I believe that devrocket of MountaVista has
> makefiles specific to OS i.e for Windows, because while installation it
> asks for what type of OS do you want to have the Image Development
> environment.
Maybe you should ask MV support, then.
Best regards,
Wolfgang Denk
--
See us @ Embedded World, Nuremberg, Feb 22 - 24, Hall 10.0 Booth 310
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
It is clear that the individual who persecutes a man, his brother,
because he is not of the same opinion, is a monster. - Voltaire
Confidentiality Notice=0D
The information contained in this electronic message and any attachments to=
this message are intended
for the exclusive use of the addressee(s) and may contain confidential or=
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or=
Mailadmin@wipro.com immediately
and destroy all copies of this message and any attachments.
------_=_NextPart_001_01C514B0.57A1C90E
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Re: Mounta Vista Linux prompt on serial console
Sorry if I am=
eating away=0D
your time .. but now it has come to some stage ..able to decompress image=
of=0D
ramdisk image ( with ext2 in it)
But the problem is that it was stopping=
at
"No init found. =0D
Try passing init=3D option to kernel". Before that there were no=
errors.=0D
Everthing looks fine Mounted VFS root file system was also seen. From the=
net I=0D
understood is that the fstab file was the cause. So edited the filesytem=0D
parameter for / as /dev/ram earlier it used to be=0D
/dev/root.
The fstab file is like this.=
/dev/ram / =0D
auto =0D
defaults,errors=3Dremount-ro
/proc =0D
/proc =0D
proc =0D
defaults
So please tell me whether the given fstab file will=
suffice?=0D
The filesystem image was build for ext2. I tried wih CRAMFS but some=0D
decompressing error was coming where as the ext2 filesystem image was=
working=0D
fine.
2. I have one more doubt /sbin/init utility=
comes with=0D
what package? Because in /sbin directory although the init binary is=
present,=0D
not shown in the file system heirarchy view. For eg. if I select DHCPD=
package=0D
then able to see dhcpd related binary in the /sbin similarly my question=
was=0D
which package has to be selected to have init included.
Thanks & Regards
Surabhi Srinivas
From: Wolfgang Denk=0D
[mailto:wd@denx.de]
Sent: Thu 2/17/2005 1:30 AM
To:=
Srinivas=0D
Surabhi (WT01 - EMBEDDED & PRODUCT ENGINEERING SOLUTIONS)
Cc:=
=0D
linuxppc-embedded@ozlabs.org
Subject: Re: Mounta Vista Linux=
prompt on=0D
serial console
In message=0D
<EF9B29C78F41FA488927FCBC7750AF0E011DA5D1@hyd-mdp-msg.wipro.com> you=
=0D
wrote:
>
> cramfs is 2.7MB where as the RAM size is 32MB. While=
=0D
building ofcourse
> the RAMDISK size was told as 8MB. This I=
mentioned in=0D
the devrocket
What has the ramdisk to do here? =
Either =0D
you are using a cramfs
filesystem, or a ramdisk=
=0D
(probably with an ext2 filesystem in it).
Putting cramfs filesystem=
in a=0D
ramdisk image is a pretty bad idea.
> Here I have one doubt while=
=0D
building the uBoot image using mkImage with
> multi option where was=
the=0D
FileSystem image getting downloaded ? and how
A multi-file image in=
=0D
U-Boot indeed requires a ramdisk image. Then
you =
=0D
should not use a cramfs filesystem. The method for loading=0D
tha
ramdisk image is described in the U-Boot "README" file; =
=0D
search for
"positioning of initrd images".
> the=
downloaded=0D
location was known to the kernel Image for pointing out
> the File=
System=0D
image location. The options -a and -e are applicable
> only for first=
=0D
image, isn't it? First image I mean the kernel Image. I
Yes. Only=
the=0D
kernel is executable code and has an entry point.
> YES. You are=
right=0D
I am building the image on x86 (Windows platform).
> But I checked=
the=0D
build log it used the -r option. The default build was
> cpio format=
and=0D
after that using fstool converting to CRAMS and the
> option -r was=0D
present .I believe that devrocket of MountaVista has
> makefiles=
specific=0D
to OS i.e for Windows, because while installation it
> asks for what=
type=0D
of OS do you want to have the Image Development
>=0D
environment.
Maybe you should ask MV support, then.
Best=0D
regards,
Wolfgang Denk
--
See us @ Embedded World,=
Nuremberg,=0D
Feb 22 - 24, Hall 10.0 Booth 310
Phone: (+49)-8142-66989-10 Fax:=0D
(+49)-8142-66989-80 Email: wd@denx.de
It is clear that the individual=
who=0D
persecutes a man, his brother,
because he is not of=
the=0D
same opinion, is a monster. -=0D
Voltaire
Confidentiality Notice
The information contained in this electronic message and any attachments to=
this message are intended
for the exclusive use of the addressee(s) and may contain confidential or=
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or=
Mailadmin@wipro.com immediately
and destroy all copies of this message and any attachments.
|
------_=_NextPart_001_01C514B0.57A1C90E--