Uploading problem in OSK5912

naga rajan nagubk82 at gmail.com
Fri Dec 9 06:59:32 CST 2005


Hi Nishanth,

              I tried to mount the nfs between two linux machines with
  "mount -t nfs <serverpath>:<mntpath> -o.............as you mentioned with
server ip and export path.But could not able to mount the file system.I m
getting the error stated as *RPC:timed* *out*.Please provide a solution as
we got struck with this particular step.

Thanks and regards,
B.Nagarajan,
SANDS.


On 12/7/05, Menon, Nishanth <x0nishan at ti.com> wrote:
>
>  Hi Nagarajan,
>
> I Use something as follows:
>
> setenv bootargs 'mem=32M console=ttyS0,115200n8 noinitrd root=/dev/nfs rw
> nfsroot=<serverIP>:<MntPath>,vers=2,rsize=1024,wsize=1024 ip=dhcp
> devfs=mount'
>
> for a 2.4 kernel.
>
> Check if you are able to do a "mount –t nfs '<serverIP>:<MntPath>' –o
> 'vers=2,rsize=1024,wsize=1024'" from another linux box. If this works, then
> the above boot args should work.
>
> Note: the vers argument is needed for some nfs servers..
>
> Regards,
>
> Nishanth Menon
>
>
>
>
>   ------------------------------
>
> *From:* naga rajan [mailto:nagubk82 at gmail.com]
> *Sent:* Wednesday, December 07, 2005 12:17 AM
> *To:* Menon, Nishanth
> *Cc:* Jose Manuel Cano Garcia; Linux OMAP Open Source
> *Subject:* Re: Re: Uploading problem in OSK5912
>
>
>
> Hi,
>
>
>  While mounting the filesystem using NFS, the following error occurred.
> DHCP configures the IP address properly(192.168.0.150). What could be the
> problem?
>
>
>
> Looking up port of RPC 100003/2 on 192.168.0.121
>
> Looking up port of RPC 100005/1 on 192.168.0.121
>
> Root-NFS: Server returned error -13 while mounting
> /tftpboot/serverip:/home/sach
>
> in/montavista/filesys
>
> VFS: Unable to mount root fs via NFS, trying floppy.
>
> VFS: Cannot open root device "nfs" or 02:00
>
> Please append a correct "root=" boot option
>
> Kernel panic: VFS: Unable to mount root fs on 02:00
>
>
>
> Please provide a solution for this problem.
>
> Thanks in advance,
>
> B.Nagarajan,
>
> SANDS.
>
>
>
>
>
>
> On 12/3/05, *Nishanth Menon* <x0nishan at dlemailx.itg.ti.com> wrote:
>
> >>
> >>*mount fs type jffs2 not supported by the kernel.*
> >>
> Please read the section on how to enable Jffs2 in the kernel - make
> menuconfig, filesystem, check for MTD if flash driver is enabled etc..
>
> If u dont have jffs2 available consider using ramdisk option too if ur
> filesystem is small and you dont care about files generated/modified after
> bootup.
>
> ---------Included Message----------
> >Date: Sat, 3 Dec 2005 06:19:45 -0600
> >From: "Jose Manuel Cano Garcia" <jcgarcia at uma.es>
> >To: "naga rajan" <nagubk82 at gmail.com>, "Linux OMAP Open Source" <
> linux-omap-open-source at linux.omap.com>
> >Subject: Re: Uploading problem in OSK5912
> >
> >Hi,
> >
> >In the howto from oskfordummies a 2.6 kernel is recommended. Anyway, I
> >supose you just have to recompile the kernel with jffs2 filesystem
> >support and reflash it to the osk 5912 board.
> >
> >Nevertheless...why are you reflashing the board if you are using the
> >original montavista preview kit? Why not just download a .tar file with
> >your application to the board original filesystem?
> >
> >
> >naga rajan wrote:
> >
> >>Dear Nishanth,
> >>
> >>
> >>
> >>                        I followed up  the steps in the mail what u have
> >>sent for my query. I went through the documentation and copied the
> >>filesystem to the flash. I m using the kernel 2.4.20-8.While mounting
> the
> >>filesystem to */mnt/flash*, the following error occurred.
> >>
> >>
> >>
> >>*mount fs type jffs2 not supported by the kernel.*
> >>
> >>
> >>
> >>            In the OSK5912 guide, it is mentioned to use redhat
> 7/9.Could
> >>you tell me the way to get jffs2 for kernel 2.4.20-8 or any changes to
> be
> >>done to get the solution for the above problem? Waiting for your
> positive
> >>reply.
> >>
> >>
> >>
> >>Thanks and regards….
> >>
> >>B.Nagarajan,
> >>
> >>SANDS.
> >>
> >>
> >>On 12/2/05, Menon, Nishanth < x0nishan at ti.com> wrote:
> >>
> >>
> >>>This is a generic issue,
> >>>
> >>>
> >>>>*(i)how to upload and execute the applications in the kernel without
> >>>>
> >>>>
> >>>using
> >>>
> >>>
> >>>>network server access ?*
> >>>>
> >>>>
> >>>Without using ethernet, You have lots of options:
> >>>jtag/flash/uart/usb(ost host) etc.. One excellent documentation I have
> >>>seen for osk is: http://oskfordummies.hp.infoseek.co.jp/howto.html .
> Also
> >>>u might be interested in checking out
> >>>http://linux.omap.com/pub/documentation/ for more data (some docs from
> >>>other platforms might be generic enough to be useful). Ofcourse, google
>
> >>>is a nice place to start off, and surely you can try checking this
> >>>mailing list and the arm linux mailing list archives too..
> >>>
> >>>
> >>>
> >>>>*(ii) how to fuse my application into the flash?*.
> >>>>
> >>>>
> >>>>
> >>>To flash it use the uboot itself(if u already have one uboot on board)
> -
> >>>it should support flashing options. Protect off, erase , cp commands
> >>>should be good enough for NOR flash. There is help for the same within
> >>>uboot itself (type help at uboot command prompt)
> >>>Or u can use the ost host tool as described in the oskfordummies.
> >>>
> >>>
> >>>
> >>>>*(iii)Is there any terminal program(like minicom,hyperterminal) to
> >>>>
> >>>>
> >>>upload
> >>>
> >>>
> >>>>the executable file into the kernel for "tftp"?*.
> >>>>
> >>>>
> >>>Ok.. I assume that u would like to download kernel? Or do u want to
> >>>download a filesystem? Let me try either one of them
> >>>Onboard, u can use the loadb command that can take a file
> >>>(uImage/uboot.bin/some bin) over serial port using Kermit. Once u have
> a
> >>>filesystem (either ramdisk/jffs2 based flash/nfs filesystem) u can boot
>
> >>>ur kernel. But a kernel alone will not be of much use to u. the apps
> >>>need to reside on the filesystem. Once u have the filesystem is
> >>>available and u have some sort of prompt, check the filesystem apps
> >>>available. They should behave as if you are on a normal linux box.
> >>>
> >>>Regards,
> >>>Nishanth Menon
> >>>
> >>>
> >>>
> >>>------------------------------------------------------------------------
>
> >>>
> >>>_______________________________________________
> >>>Linux-omap-open-source mailing list
> >>>Linux-omap-open-source at linux.omap.com
> >>>http://linux.omap.com/mailman/listinfo/linux-omap-open-source
> >>>
> >>>
> >
> >_______________________________________________
> >Linux-omap-open-source mailing list
> >Linux-omap-open-source at linux.omap.com
> > http://linux.omap.com/mailman/listinfo/linux-omap-open-source
> >
> >
> ---------End of Included Message----------
>
>
>


More information about the Linux-omap-open-source mailing list