public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Re: Uploading problem in OSK5912
@ 2005-12-03 17:23 Nishanth Menon
  2005-12-07  6:16 ` naga rajan
  0 siblings, 1 reply; 4+ messages in thread
From: Nishanth Menon @ 2005-12-03 17:23 UTC (permalink / raw)
  To: Jose Manuel Cano Garcia; +Cc: naga rajan, Linux OMAP Open Source

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=unknown-8bit, Size: 4472 bytes --]

>>
>>*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@uma.es>
>To: "naga rajan" <nagubk82@gmail.com>, "Linux OMAP Open Source" <linux-omap-open-source@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@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@linux.omap.com
>>>http://linux.omap.com/mailman/listinfo/linux-omap-open-source
>>>    
>>>
>
>_______________________________________________
>Linux-omap-open-source mailing list
>Linux-omap-open-source@linux.omap.com
>http://linux.omap.com/mailman/listinfo/linux-omap-open-source
>
>
---------End of Included Message----------

^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: Re: Uploading problem in OSK5912
@ 2005-12-07 14:53 Menon, Nishanth
  2005-12-09 12:59 ` naga rajan
  0 siblings, 1 reply; 4+ messages in thread
From: Menon, Nishanth @ 2005-12-07 14:53 UTC (permalink / raw)
  To: naga rajan; +Cc: Linux OMAP Open Source

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@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@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@uma.es>
>To: "naga rajan" <nagubk82@gmail.com>, "Linux OMAP Open Source" <
linux-omap-open-source@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@ti.com <mailto:x0nishan@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@linux.omap.com 
>>>http://linux.omap.com/mailman/listinfo/linux-omap-open-source
>>>
>>>
>
>_______________________________________________ 
>Linux-omap-open-source mailing list
>Linux-omap-open-source@linux.omap.com
> http://linux.omap.com/mailman/listinfo/linux-omap-open-source
<http://linux.omap.com/mailman/listinfo/linux-omap-open-source> 
>
>
---------End of Included Message----------



 

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

end of thread, other threads:[~2005-12-09 12:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-03 17:23 Re: Uploading problem in OSK5912 Nishanth Menon
2005-12-07  6:16 ` naga rajan
  -- strict thread matches above, loose matches on Subject: below --
2005-12-07 14:53 Menon, Nishanth
2005-12-09 12:59 ` naga rajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox