RE: Changing Machine ID

2009-04-28 Thread Manjunatha AM

Hi

Now, I could boot the kernel(linux-davinci-2.6-historic)and I am using nfs
filesystem but while booting it get struct at Freeing init memory: 128K
not going further..

The printenv (Board boot arguments) output are

Environment size: 541/65532 bytes
DaVinci EVM # printe
bootdelay=3
baudrate=115200
bootfile=uImage
rootpath=/root/workdir/filesys
subnet=255.255.255.0
filesize=1576a8
fileaddr=8070
nfshost=10.60.3.55
gatewayip=10.60.3.1
bootcmd=run setboot;tftpboot 0x8600 uImage;bootm 0x8600
serverip=10.60.5.129
ipaddr=10.60.5.110
bootargs=console=ttyS0,115200n8 noinitrd rw
ip=10.60.5.110:10.60.5.117:10.60.5.1:255.255.255.0:ELXI1000::off
root=/dev/nfs
nfsroot=10.60.5.117:/home/manju/wo
rkdir/filesys,nolock mem=120M
stdin=serial
stdout=serial
stderr=serial
ethaddr=00:0e:99:02:57:9c
videostd=ntsc

Environment size: 541/65532 bytes


I have attached the complete boot log for reference.

Kindly suggest what could be causing this problem..

Thanks
Manjunath.AM




-Original Message-
From: Steve Chen [mailto:sc...@mvista.com]
Sent: Monday, April 27, 2009 4:29 PM
To: manjunat...@tataelxsi.co.in
Cc: davinci-linux-open-source@linux.davincidsp.com
Subject: Re: Changing Machine ID


On Mon, 2009-04-27 at 11:06 +0530, Manjunatha AM wrote:
 Hi

 I downloaded latest OS (linux-davinci-2.6-historic )from source.mvsta.com

On a separate note, you probably don't want to use linux-davinci-2.6
since it is obsolete.  Instead take a look at the git repository from
kernel.org at

http://git.kernel.org/?p=linux/kernel/git/khilman/linux-davinci.git;a=summar
y

Regards,

Steve



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 proprietary, confidential or privileged 
information. If you are not the intended
 recipient, you should not disseminate, distribute or copy this e-mail. Please 
notify the sender immediately and destroy
 all copies of this message and any attachments contained in it.

U-Boot 1.1.3 (Mar 15 2006 - 11:42:19)

U-Boot code: 8108 - 81097320  BSS: - 810A0230
RAM Configuration:
Bank #0: 8000 256 MB
MY AMD Flash: 16 MB
In:serial
Out:   serial
Err:   serial
ARM Clock :- 283MZ
DDR Clock :- 189MZ
Hit any key to stop autoboot:  0 
## Error: setboot not defined
TFTP from server 10.60.5.129; our IP address is 10.60.5.110
Filename 'uImage'.
Load address: 0x8600
Loading: #
 #
 #
 #
 ###
done
Bytes transferred = 1465040 (165ad0 hex)
## Booting image at 8600 ...
   Image Name:   Linux-2.6.28-davinci1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:1464976 Bytes =  1.4 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing 
Linux
 done, booting the kernel.
5Linux version 2.6.28-davinci1 (r...@localhost.localdomain) (gcc version 
3.4.3 (MontaVista 3.4.3-25.0.30.0501131 2005-07-23)) #8 PREEMPT Mon Apr 27 
08:39:1
6 IST 2009
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: DaVinci DM644x EVM
Memory policy: ECC disabled, Data cache writeback
7On node 0 totalpages: 30720
7free_area_init_node: node 0, pgdat c02e7cd0, node_mem_map c0315000
7  DMA zone: 240 pages used for memmap
7  DMA zone: 0 pages reserved
7  DMA zone: 30480 pages, LIFO batch:7
7  Normal zone: 0 pages used for memmap
7  Movable zone: 0 pages used for memmap
6DaVinci DM6446 variant 0x0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 30480
5Kernel command line: console=ttyS0,115200n8 noinitrd rw 
ip=10.60.5.110:10.60.5.117:10.60.5.1:255.255.255.0:ELXI1000::off root=/dev/nfs 
nfsroot=10.60.5.117
:/home/manju/workdir/filesys,nolock mem=120M
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x30
6Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
6Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
6Memory: 120MB = 120MB total
5Memory: 118512KB available (2708K code, 278K data, 128K init)
6Calibrating delay loop... 141.31 BogoMIPS (lpj=706560)
Mount-cache hash table entries: 512
6CPU: Testing write buffer coherency: ok
6net_namespace: 684 bytes
6NET: Registered protocol family 16
4WARNING: both IDE and Flash are enabled, but they share AEMIF pins.
Disable IDE for NAND/NOR support.
6DaVinci: 71 gpio irqs
6NET: Registered protocol family 2
7Switched to high resolution mode on CPU 0
6IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
6TCP established hash table entries: 4096

RE: Changing Machine ID

2009-04-28 Thread Manjunatha AM
Hi Steve,

Thanks for your reply..

I checked in /dev/console and it is present. I am using nfs file system
only...facing this problem while mounting nfs filesystem only...

With the same setup and bootargs,I could boot the device properly with
2.6.10 kernel image but problem is only with 2.6.28 and hence i cant suspect
on filesys..

Is there /sbin/Init is not getting proper support for 2.6.28 kernel since
the filesys used is bit old version???

Thanks
Manjunath.AM

-Original Message-
From: Steve Chen [mailto:sc...@mvista.com]
Sent: Tuesday, April 28, 2009 5:07 PM
To: manjunat...@tataelxsi.co.in
Cc: davinci-linux-open-source@linux.davincidsp.com
Subject: RE: Changing Machine ID


On Tue, 2009-04-28 at 15:52 +0530, Manjunatha AM wrote:
 Hi

 Now, I could boot the kernel(linux-davinci-2.6-historic)and I am using nfs
 filesystem but while booting it get struct at Freeing init memory: 128K
 not going further..


Here is a posting from Yusuf Caglar on this very issue a few days ago.
May want to
try his suggestion

Regards,

Steve

- forwarded e-mail ---
My guess:

Kernel is running, but there is something wrong with filesystem /dev
nodes. AFAIK, this point is where control passes to init and console
is redirected to /dev/console(or /dev/console must be present). This
is also the same for your own application. Maybe your file system is
not EABI?

If I were you, I would try an NFS file system.

Regards,
Caglar





___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


RE: Changing Machine ID

2009-04-28 Thread Manjunatha AM
Thanks a lot steve.. after disabling EABI in my kernel config I could able
to boot the board..

Thanks a lot again..
Manjunath.AM

-Original Message-
From: Steve Chen [mailto:sc...@mvista.com]
Sent: Tuesday, April 28, 2009 6:23 PM
To: manjunat...@tataelxsi.co.in
Cc: davinci-linux-open-source@linux.davincidsp.com
Subject: RE: Changing Machine ID


On Tue, 2009-04-28 at 18:10 +0530, Manjunatha AM wrote:
 Hi Steve,

 Thanks for your reply..

 I checked in /dev/console and it is present. I am using nfs file system
 only...facing this problem while mounting nfs filesystem only...

 With the same setup and bootargs,I could boot the device properly with
 2.6.10 kernel image but problem is only with 2.6.28 and hence i cant
suspect
 on filesys..

 Is there /sbin/Init is not getting proper support for 2.6.28 kernel since
 the filesys used is bit old version???

One of Caglar's suggestions is disable EABI in the kernel config and
re-compile the kernel.  It worked for last poster.  Perhaps you want to
try it as well.

Regards,

Steve




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 proprietary, confidential or privileged 
information. If you are not the intended
 recipient, you should not disseminate, distribute or copy this e-mail. Please 
notify the sender immediately and destroy
 all copies of this message and any attachments contained in it.



___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


RE: Changing Machine ID

2009-04-27 Thread Manjunatha AM
Hi David,

Thanks for your reply, I have changed /arch/arm/tools/mach-types as per
suggestion and kernel started booting...I have some problem in mounting
filesystem..

Thanks

Manjuntah.AM

-Original Message-
From: David Brownell [mailto:davi...@pacbell.net]
Sent: Monday, April 27, 2009 11:41 AM
To: davinci-linux-open-source@linux.davincidsp.com;
manjunat...@tataelxsi.co.in
Subject: Re: Changing Machine ID


On Sunday 26 April 2009, Manjunatha AM wrote:

 Hi

 I downloaded latest OS (linux-davinci-2.6-historic )from source.mvsta.com
 and compiled it for Davinci DM6446 EVM with low level debug option
selected.

You have a pretty old version of U-Boot there ...


 When I boot the board it gives below error;

 *
 Starting kernel ...

 Uncompressing

Linux...
 . done, booting the kernel.

 Error: unrecognized/unsupported machine ID (r1 = 0x0356).

 Available machine support:

 ID (hex)NAME
 0385DaVinci DM644x EVM

 Please check your kernel config and/or bootloader.

 **
 I dont have latest Bootloader source

http://www.denx.de/wiki/U-Boot ... 2009.03 should work.
Though if you're using 1.1 silicion, I'd be paranoid
and stick with that bootloader.


 and hence I need to change the kernel
 source to boot with same machine ID(passed by present bootloader..)which
 file I need to change??

---
 arch/arm/tools/mach-types |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

--- a/arch/arm/tools/mach-types
+++ b/arch/arm/tools/mach-types
@@ -862,7 +862,7 @@ magpie  MACH_MAGPIE MAGPIE  
850
 mx21adsMACH_MX21ADSMX21ADS 
851
 mb87m3400  MACH_MB87M3400  MB87M3400   852
 mguard_delta   MACH_MGUARD_DELTA   MGUARD_DELTA853
-davinci_dvdp   MACH_DAVINCI_DVDP   DAVINCI_DVDP854
+#davinci_dvdp  MACH_DAVINCI_DVDP   DAVINCI_DVDP854
 htcuniversal   MACH_HTCUNIVERSAL   HTCUNIVERSAL855
 tpad   MACH_TPAD   TPAD856
 roverp3MACH_ROVERP3ROVERP3 
857
@@ -908,7 +908,8 @@ nadia2vbMACH_NADIA2VB   NADIA2VB
897
 r1000  MACH_R1000  R1000   898
 hw90250MACH_HW90250HW90250 
899
 omap_2430sdp   MACH_OMAP_2430SDP   OMAP_2430SDP900
-davinci_evmMACH_DAVINCI_EVMDAVINCI_EVM 901
+#davinci_evm   MACH_DAVINCI_EVMDAVINCI_EVM 901
+davinci_evmMACH_DAVINCI_EVMDAVINCI_EVM 854
 omap_tornado   MACH_OMAP_TORNADO   OMAP_TORNADO902
 olocreek   MACH_OLOCREEK   OLOCREEK903
 palmz72MACH_PALMZ72PALMZ72 
904


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 proprietary, confidential or privileged 
information. If you are not the intended
 recipient, you should not disseminate, distribute or copy this e-mail. Please 
notify the sender immediately and destroy
 all copies of this message and any attachments contained in it.



___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Changing Machine ID

2009-04-26 Thread Manjunatha AM

Hi

I downloaded latest OS (linux-davinci-2.6-historic )from source.mvsta.com
and compiled it for Davinci DM6446 EVM with low level debug option selected.

When I boot the board it gives below error;

*
Starting kernel ...

Uncompressing
Linux...
. done, booting the kernel.

Error: unrecognized/unsupported machine ID (r1 = 0x0356).

Available machine support:

ID (hex)NAME
0385DaVinci DM644x EVM

Please check your kernel config and/or bootloader.

**
I dont have latest Bootloader source and hence I need to change the kernel
source to boot with same machine ID(passed by present bootloader..)which
file I need to change??


Thanks
Manjunath.AM




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 proprietary, confidential or privileged 
information. If you are not the intended
 recipient, you should not disseminate, distribute or copy this e-mail. Please 
notify the sender immediately and destroy
 all copies of this message and any attachments contained in it.



___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


booting DVEVM from NAND flash

2008-03-25 Thread Manjunatha AM
Hi
I am trying to  boot my TI TMS320DM6446 DVEVM board through NAND flash,
followed the steps as per TI spraaa0.

when I tried the step 2.2 i.e. loading the flashwriter_nand.out image into
nand flash using Code Composer Studio 3.2 it gives the error as
as follows

Trouble Writing Memory Block at 0x88019428 on Page 0 of Length 0x328:
Error 0xA0002020/-173
Error during: Execution, Control,
Error generated by SD scan controller module

Sequence ID: 16
Error Code: -173
Error Class: 0xA0002020


 i restart the code composer studio and try to load the flashwriter_nand.out
image again into the flash it gives the following the error

data verification failed at address 0x88019100
please verify the target memory and memory map


can anyone give me idea why this is happening

Regards
Manjunath.AM







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 proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments contained in it.

Contact your Administrator for further information.

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Davinci resizer driver in 2.6.20

2008-03-12 Thread Manjunatha AM
Hi,
We have got davinci resizer char device driver which was written for 2.6.10
kernle where devfs was used, but we use  2.6.20 in our TI-Davinci based
custom board which uses udev, how  I can use the same driver with 2.6.20
kernel..Is there any procedure to port/upgrade device driver which uses
devfs to udev.. or any one already ported the same in 2.6.20



Please give your input
Thanks
Manjunath.AM


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 proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments contained in it.

Contact your Administrator for further information.

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


RE:Upgrading NOR flash from 16MB to 32MB

2007-12-25 Thread Manjunatha AM
Hi

You need to change PHYS_FLASH_SIZE   0x100 to PHYS_FLASH_SIZE
0x100 in u-boot/include/configs/davinci.h and in Linux kernel (2.6.20)
linux/arch/arm/mach-davinci/board-evm.c you should  change DAVINCI_CS0_PHYS
+ SZ_16 -1 to DAVINCI_CS0_PHYS + SZ_16 -1

Manjunath.AM
TEL


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 proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments contained in it.

Contact your Administrator for further information.
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


RE:Upgrading NOR flash from 16MB to 32MB

2007-12-25 Thread Manjunatha AM
Hi,

You need to change PHYS_FLASH_SIZE   0x100 to PHYS_FLASH_SIZE
0x200 in u-boot/include/configs/davinci.h and in Linux kernel (2.6.20)
linux/arch/arm/mach-davinci/board-evm.c you should  change DAVINCI_CS0_PHYS
+ SZ_16 -1 to DAVINCI_CS0_PHYS + SZ_32 -1

Manjunath.AM
TEL



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 proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments contained in it.

Contact your Administrator for further information.
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


SPDIF support

2007-12-18 Thread Manjunatha AM


Hi,
 We have to test spdif support in TI-Davinci based custom board, please
suggest me how  I, can enable it in montavista 2.6.10 kernel.
I could find spdif support in /driver/sound/oss/Trident  is having spdif
support.. enabling this option will do ???


Please tell me the steps if any one already tested this feature..

Thanks in advance

Manjunath.AM



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 proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments contained in it.

Contact your Administrator for further information.
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Audio Problem with 2.6.20 kernel

2007-12-02 Thread Manjunatha AM

Hi

We use TI-Davinci based custom board, we use Montavista Linux 2.6.10
presently, since 2.6.10 doesnot supprot flash file system, we moved to
2.6.20, here everything found to be ok, except some audio noise problem.

When we do channel zapping or play some audio file,  there will be an
additional noise heard..

Did anyone faced this kind of problem, can any one help me takle this
problem.

Thanks

Manjunath.AM


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 proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments contained in it.

Contact your Administrator for further information.
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


RE: About [Spca50x-devs] How to increase the packet size (USB)

2007-11-19 Thread Manjunatha AM
Hi
You can try out the following

1.Compile the kernel with usb driver as a module instead of static and
insert it after board is up.

2.Try by plugging the webcam after the board is up and check whether the
webcam is recognised, if recognised it will display the mode and ep nos.

Send me the dmesg

Regards
Manjunath.AM


  -Original Message-
  From: Albert Burbea [mailto:[EMAIL PROTECTED]
  Sent: Monday, November 19, 2007 7:47 PM
  To: [EMAIL PROTECTED]
  Subject: Re: About [Spca50x-devs] How to increase the packet size (USB)


  HI
  any hints about connecting a USB webcam to a DaVinci EVM?
  Thanks for your help
  Albert


  On 11/19/07, Manjunatha AM [EMAIL PROTECTED] wrote:
Hi kashin,

My webcam was using mode 2 and endpoint 3  and hence I, have cheanged as
below in(Linux) drivers/usb/musb/plat_uds.c
static struct fifo_cfg __initdata mode_2_cfg[] = {

{ .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 256, .mode =
BUF_DOUBLE,},

{ .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 256, .mode =
BUF_DOUBLE, },

{ .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 512, },

{ .hw_ep_num = 2, .style = FIFO_RX, .maxpacket = 512, },

{ .hw_ep_num = 3, .style = FIFO_RXTX, .maxpacket = 1024,},

{ .hw_ep_num = 4, .style = FIFO_RXTX, .maxpacket = 256, },

};

As overall FIFO Size is only 4KB, I have gave max size of 1024 to EP3
and rest is distributed to all others.

Let me know the status.

Thanks
Manjunath.AM


  -Original Message-
  From: kashin Lin [mailto: [EMAIL PROTECTED]
  Sent: Saturday, November 17, 2007 12:18 AM
  To: [EMAIL PROTECTED]
  Subject: About [Spca50x-devs] How to increase the packet size (USB)


  Hi,

  i seen your posts on the mailinglist regarding using webcam on Davinci
EVM.
  (
http://linux.omap.com/pipermail/davinci-linux-open-source/2007-July/003602.h
tml )
  and i think the problem i encounter is the same as yours. so i send
this mail for more
  help.

  i use 2.6.23(montavista) kernel for my TI-DAVINCI based board,
gspcav1-20070508 as my
  webcam driver and spcaview-20061208 as the application to test. i
got -ENOSPC when submit
  urb, so it seems FIFO size isn't big enough.

  i wonder how you reslove it? how to increase the FIFO size?
  i am not familiar with the usb host controller driver. can you show me
detail to achieve it?


  p.s. currently, i change .maxpacket in fifo mode 2 of ep1  ep2 RX
from 512 - 1024.
 and the ENOSPC error msg disappear but i got  Couldnt get
videopict params with VIDIOCGPICT
 when i use spcaview...
 so i think the way i change FIFO size is wrong... so i really
need your help.

  Thanks in advance


  Best regard,

  kashin lin


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 proprietary, confidential or privileged information. If you are
not the intended recipient, you should not disseminate, distribute or copy
this e-mail. Please notify the sender immediately and destroy all copies of
this message and any attachments contained in it. Contact your Administrator
for further information.


___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source





  --
  Albert Burbea
  Harishonim 8
  Ramat Gan 52502, Israel
  Tel/Fax + 972-3-7526016
  Mobile: +972-52-3541842

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 proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments contained in it.

Contact your Administrator for further information.
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


RE: About [Spca50x-devs] How to increase the packet size (USB)

2007-11-18 Thread Manjunatha AM
Hi kashin,

My webcam was using mode 2 and endpoint 3  and hence I, have cheanged as
below in(Linux) drivers/usb/musb/plat_uds.c
static struct fifo_cfg __initdata mode_2_cfg[] = {

{ .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 256, .mode = BUF_DOUBLE,},

{ .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 256, .mode = BUF_DOUBLE, },

{ .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 512, },

{ .hw_ep_num = 2, .style = FIFO_RX, .maxpacket = 512, },

{ .hw_ep_num = 3, .style = FIFO_RXTX, .maxpacket = 1024,},

{ .hw_ep_num = 4, .style = FIFO_RXTX, .maxpacket = 256, },

};

As overall FIFO Size is only 4KB, I have gave max size of 1024 to EP3 and
rest is distributed to all others.

Let me know the status.

Thanks
Manjunath.AM


  -Original Message-
  From: kashin Lin [mailto:[EMAIL PROTECTED]
  Sent: Saturday, November 17, 2007 12:18 AM
  To: [EMAIL PROTECTED]
  Subject: About [Spca50x-devs] How to increase the packet size (USB)


  Hi,

  i seen your posts on the mailinglist regarding using webcam on Davinci
EVM.
  (
http://linux.omap.com/pipermail/davinci-linux-open-source/2007-July/003602.h
tml )
  and i think the problem i encounter is the same as yours. so i send this
mail for more
  help.

  i use 2.6.23(montavista) kernel for my TI-DAVINCI based board,
gspcav1-20070508 as my
  webcam driver and spcaview-20061208 as the application to test. i
got -ENOSPC when submit
  urb, so it seems FIFO size isn't big enough.

  i wonder how you reslove it? how to increase the FIFO size?
  i am not familiar with the usb host controller driver. can you show me
detail to achieve it?


  p.s. currently, i change .maxpacket in fifo mode 2 of ep1  ep2 RX from
512 - 1024.
 and the ENOSPC error msg disappear but i got  Couldnt get
videopict params with VIDIOCGPICT
 when i use spcaview...
 so i think the way i change FIFO size is wrong... so i really need
your help.

  Thanks in advance


  Best regard,

  kashin lin


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 proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments contained in it.

Contact your Administrator for further information.
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source