RE: what I am missing here with DVEVM kit? How to solve this issue.

2009-04-28 Thread JayaKumar, PremKumar
Dengyz,

This issue would be most likely due to an incorrect mem setting in the 
bootargs.

Guess mem=64M should work for a cmem insertion at 0x8500

Regards,
Prem
Texas Instruments
India.

-Original Message-
From: davinci-linux-open-source-boun...@linux.davincidsp.com 
[mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of 
dengyz
Sent: Tuesday, April 28, 2009 3:18 PM
To: davinci-linux-open-source@linux.davincidsp.com
Subject: what I am missing here with DVEVM kit? How to solve this issue.

Hi :

I  test the TMX320DM365 for  h264 encode/decode demo by TI TMX320DM365 DVEVM 
kit.

Running the Demos from the Command Line:
Target $ cd /opt/dvsdk/dm365
Target $ ./loadmodules_hd.sh

A issue occur as follows:

Target $ cmemk: no version for struct_module found: kernel tainted.
CMEMK Error: CMEM phys_start (0x8500) overlaps kernel (0x8100 - 
0x85c0)
insmod: error inserting 'cmemk.ko': -1 Invalid parameters

Can anybody please let me know, what I am missing here with DVEVM kit? How to 
solve this issue.
Thanks!

-
If A is success in life, then A equals x plus y plus z. Work is x; y is play; 
and z is keeping your mouth shut.
Albert Einstein (1879 - 1955)
- Original Message -
From: davinci-linux-open-source-requ...@linux.davincidsp.com
To: davinci-linux-open-source@linux.davincidsp.com
Sent: Tuesday, April 28, 2009 10:39 AM
Subject: Davinci-linux-open-source Digest, Vol 40, Issue 180


 Send Davinci-linux-open-source mailing list submissions to
 davinci-linux-open-source@linux.davincidsp.com

 To subscribe or unsubscribe via the World Wide Web, visit
 http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

 or, via email, send a message with subject or body 'help' to
 davinci-linux-open-source-requ...@linux.davincidsp.com

 You can reach the person managing the list at
 davinci-linux-open-source-ow...@linux.davincidsp.com

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Davinci-linux-open-source digest...


 Today's Topics:

   1. Re: [PATCH 3/3 v4] ARM: da830 - Add support for
  DA830/OMAP-L137 EVM (Mark A. Greer)
   2. RE: Problem about DSP server config of DM6446 (Tivy, Robert)
   3. Re: when port a software , bus error (zhenfeng ren)
   4. Re: THS8200 Module and DM6446EVM Initial Setup (Carl Renaud)
   5. Re: is there any LCD Kits for DM355 DVEVM board (Carl Renaud)
   6. RE: Changing Machine ID (Manjunatha AM)


 --

 Message: 1
 Date: Mon, 27 Apr 2009 14:28:42 -0700
 From: Mark A. Greer mgr...@mvista.com
 Subject: Re: [PATCH 3/3 v4] ARM: da830 - Add support for
 DA830/OMAP-L137 EVM
 To: David Brownell davi...@pacbell.net
 Cc: davinci-linux-open-source@linux.davincidsp.com
 Message-ID: 20090427212842.ga19...@mag.az.mvista.com
 Content-Type: text/plain; charset=iso-8859-1

 On Mon, Apr 27, 2009 at 12:49:54PM -0700, David Brownell wrote:
 On Monday 27 April 2009, Mark A. Greer wrote:
   --- a/arch/arm/mach-davinci/include/mach/debug-macro.S
   +++ b/arch/arm/mach-davinci/include/mach/debug-macro.S
   @@ -24,7 +24,14 @@
   tst \rx, #1 @ MMU enabled?
   moveq \rx, #0x0100 @ physical base address
   movne \rx, #0xfe00 @ virtual base
   +#if defined(CONFIG_ARCH_DAVINCI_DA830_EVM)  
   defined(CONFIG_ARCH_DAVINCI_DMx)
  
 
  This should be 'CONFIG_MACH_DAVINCI_DA830_EVM'.

 You man it wouldn't be applicable to DA830 boards other
 than that EVM??

 Maybe, maybe not.

 Same comment in a few other places.  From what you've said,
 these are chip-specific issues, not board-specific ones...

 Well, there are lots of pinmux conflicts on the da830.  For devices
 that aren't used all of the time, it makes sense to allow the driver
 and the resources it requires to come and go on demand--maybe even the
 console if there is a graphic console.

 Either way, what uart is used for the serial console is determined by
 the board not the chip.

 Mark
 --



 --

 Message: 2
 Date: Mon, 27 Apr 2009 17:36:25 -0500
 From: Tivy, Robert rt...@ti.com
 Subject: RE: Problem about DSP server config of DM6446
 To: chensu.main chensu.m...@263.net, davinci-linux-open-source
 davinci-linux-open-source@linux.davincidsp.com
 Message-ID:
 6b8224e84039b140aa662f0bb0361643324d6...@dlee04.ent.ti.com
 Content-Type: text/plain; charset=us-ascii

 I'm not sure about a document, but the number of algorithm objects that you 
 can create depends on the size of the memory block from which the stacks are 
 allocated.  As you've seen, cutting the stack size down allows you to create 
 more.  You might be able to find a formula, but the real answer is as many 
 as you have memory for.

 - Rob

 
 From: davinci-linux-open-source-boun...@linux.davincidsp.com 
 [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of 
 

RE: what I am missing here with DVEVM kit? How to solve this issue.

2009-04-28 Thread Saran, Sajesh Kumar
Try reducing the memory available to Linux kernel (in bootargs set to mem=80M 
or lower).

Regards,
Sajesh

-Original Message-
From: davinci-linux-open-source-boun...@linux.davincidsp.com 
[mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of 
dengyz
Sent: Tuesday, April 28, 2009 5:48 AM
To: davinci-linux-open-source@linux.davincidsp.com
Subject: what I am missing here with DVEVM kit? How to solve this issue.

Hi :

I  test the TMX320DM365 for  h264 encode/decode demo by TI TMX320DM365 DVEVM 
kit.

Running the Demos from the Command Line:
Target $ cd /opt/dvsdk/dm365
Target $ ./loadmodules_hd.sh

A issue occur as follows:

Target $ cmemk: no version for struct_module found: kernel tainted.
CMEMK Error: CMEM phys_start (0x8500) overlaps kernel (0x8100 - 
0x85c0)
insmod: error inserting 'cmemk.ko': -1 Invalid parameters

Can anybody please let me know, what I am missing here with DVEVM kit? How to 
solve this issue.
Thanks!

-
If A is success in life, then A equals x plus y plus z. Work is x; y is play; 
and z is keeping your mouth shut.
Albert Einstein (1879 - 1955)
- Original Message -
From: davinci-linux-open-source-requ...@linux.davincidsp.com
To: davinci-linux-open-source@linux.davincidsp.com
Sent: Tuesday, April 28, 2009 10:39 AM
Subject: Davinci-linux-open-source Digest, Vol 40, Issue 180


 Send Davinci-linux-open-source mailing list submissions to
 davinci-linux-open-source@linux.davincidsp.com

 To subscribe or unsubscribe via the World Wide Web, visit
 http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

 or, via email, send a message with subject or body 'help' to
 davinci-linux-open-source-requ...@linux.davincidsp.com

 You can reach the person managing the list at
 davinci-linux-open-source-ow...@linux.davincidsp.com

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Davinci-linux-open-source digest...


 Today's Topics:

   1. Re: [PATCH 3/3 v4] ARM: da830 - Add support for
  DA830/OMAP-L137 EVM (Mark A. Greer)
   2. RE: Problem about DSP server config of DM6446 (Tivy, Robert)
   3. Re: when port a software , bus error (zhenfeng ren)
   4. Re: THS8200 Module and DM6446EVM Initial Setup (Carl Renaud)
   5. Re: is there any LCD Kits for DM355 DVEVM board (Carl Renaud)
   6. RE: Changing Machine ID (Manjunatha AM)


 --

 Message: 1
 Date: Mon, 27 Apr 2009 14:28:42 -0700
 From: Mark A. Greer mgr...@mvista.com
 Subject: Re: [PATCH 3/3 v4] ARM: da830 - Add support for
 DA830/OMAP-L137 EVM
 To: David Brownell davi...@pacbell.net
 Cc: davinci-linux-open-source@linux.davincidsp.com
 Message-ID: 20090427212842.ga19...@mag.az.mvista.com
 Content-Type: text/plain; charset=iso-8859-1

 On Mon, Apr 27, 2009 at 12:49:54PM -0700, David Brownell wrote:
 On Monday 27 April 2009, Mark A. Greer wrote:
   --- a/arch/arm/mach-davinci/include/mach/debug-macro.S
   +++ b/arch/arm/mach-davinci/include/mach/debug-macro.S
   @@ -24,7 +24,14 @@
   tst \rx, #1 @ MMU enabled?
   moveq \rx, #0x0100 @ physical base address
   movne \rx, #0xfe00 @ virtual base
   +#if defined(CONFIG_ARCH_DAVINCI_DA830_EVM)  
   defined(CONFIG_ARCH_DAVINCI_DMx)
  
 
  This should be 'CONFIG_MACH_DAVINCI_DA830_EVM'.

 You man it wouldn't be applicable to DA830 boards other
 than that EVM??

 Maybe, maybe not.

 Same comment in a few other places.  From what you've said,
 these are chip-specific issues, not board-specific ones...

 Well, there are lots of pinmux conflicts on the da830.  For devices
 that aren't used all of the time, it makes sense to allow the driver
 and the resources it requires to come and go on demand--maybe even the
 console if there is a graphic console.

 Either way, what uart is used for the serial console is determined by
 the board not the chip.

 Mark
 --



 --

 Message: 2
 Date: Mon, 27 Apr 2009 17:36:25 -0500
 From: Tivy, Robert rt...@ti.com
 Subject: RE: Problem about DSP server config of DM6446
 To: chensu.main chensu.m...@263.net, davinci-linux-open-source
 davinci-linux-open-source@linux.davincidsp.com
 Message-ID:
 6b8224e84039b140aa662f0bb0361643324d6...@dlee04.ent.ti.com
 Content-Type: text/plain; charset=us-ascii

 I'm not sure about a document, but the number of algorithm objects that you 
 can create depends on the size of the memory block from which the stacks are 
 allocated.  As you've seen, cutting the stack size down allows you to create 
 more.  You might be able to find a formula, but the real answer is as many 
 as you have memory for.

 - Rob

 
 From: davinci-linux-open-source-boun...@linux.davincidsp.com 
 [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of 
 chensu.main
 Sent: Monday, April 27, 2009 8:03 AM
 To: davinci-linux-open-source
 

RE: what I am missing here with DVEVM kit? How to solve this issue.

2009-04-28 Thread Tivy, Robert
Or, you could reduce the memory to CMEM, increasing the phys_start address on 
the 'insmod' command in loadmodules_hd.sh.  You can start it right at the end 
of the kernel memory.  If the kernel goes up to 0x85c0, you can change to 
use phys_start=0x85c0 .

Regards,

- Rob

 -Original Message-
 From: davinci-linux-open-source-boun...@linux.davincidsp.com
 [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com
 ] On Behalf Of Saran, Sajesh Kumar
 Sent: Tuesday, April 28, 2009 8:00 AM
 To: dengyz; davinci-linux-open-source@linux.davincidsp.com
 Subject: RE: what I am missing here with DVEVM kit? How to
 solve this issue.

 Try reducing the memory available to Linux kernel (in
 bootargs set to mem=80M or lower).

 Regards,
 Sajesh

 -Original Message-
 From: davinci-linux-open-source-boun...@linux.davincidsp.com
 [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com
 ] On Behalf Of dengyz
 Sent: Tuesday, April 28, 2009 5:48 AM
 To: davinci-linux-open-source@linux.davincidsp.com
 Subject: what I am missing here with DVEVM kit? How to solve
 this issue.

 Hi :

 I  test the TMX320DM365 for  h264 encode/decode demo by TI
 TMX320DM365 DVEVM kit.

 Running the Demos from the Command Line:
 Target $ cd /opt/dvsdk/dm365
 Target $ ./loadmodules_hd.sh

 A issue occur as follows:

 Target $ cmemk: no version for struct_module found: kernel tainted.
 CMEMK Error: CMEM phys_start (0x8500) overlaps kernel
 (0x8100 - 0x85c0)
 insmod: error inserting 'cmemk.ko': -1 Invalid parameters

 Can anybody please let me know, what I am missing here with
 DVEVM kit? How to solve this issue.
 Thanks!

 --
 ---
 If A is success in life, then A equals x plus y plus z. Work
 is x; y is play; and z is keeping your mouth shut.
 Albert Einstein (1879 - 1955)
 - Original Message -
 From: davinci-linux-open-source-requ...@linux.davincidsp.com
 To: davinci-linux-open-source@linux.davincidsp.com
 Sent: Tuesday, April 28, 2009 10:39 AM
 Subject: Davinci-linux-open-source Digest, Vol 40, Issue 180


  Send Davinci-linux-open-source mailing list submissions to
  davinci-linux-open-source@linux.davincidsp.com
 
  To subscribe or unsubscribe via the World Wide Web, visit
 
 http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
 
  or, via email, send a message with subject or body 'help' to
  davinci-linux-open-source-requ...@linux.davincidsp.com
 
  You can reach the person managing the list at
  davinci-linux-open-source-ow...@linux.davincidsp.com
 
  When replying, please edit your Subject line so it is more specific
  than Re: Contents of Davinci-linux-open-source digest...
 
 
  Today's Topics:
 
1. Re: [PATCH 3/3 v4] ARM: da830 - Add support for
   DA830/OMAP-L137 EVM (Mark A. Greer)
2. RE: Problem about DSP server config of DM6446 (Tivy, Robert)
3. Re: when port a software , bus error (zhenfeng ren)
4. Re: THS8200 Module and DM6446EVM Initial Setup (Carl Renaud)
5. Re: is there any LCD Kits for DM355 DVEVM board (Carl Renaud)
6. RE: Changing Machine ID (Manjunatha AM)
 
 
 
 --
 
  Message: 1
  Date: Mon, 27 Apr 2009 14:28:42 -0700
  From: Mark A. Greer mgr...@mvista.com
  Subject: Re: [PATCH 3/3 v4] ARM: da830 - Add support for
  DA830/OMAP-L137 EVM
  To: David Brownell davi...@pacbell.net
  Cc: davinci-linux-open-source@linux.davincidsp.com
  Message-ID: 20090427212842.ga19...@mag.az.mvista.com
  Content-Type: text/plain; charset=iso-8859-1
 
  On Mon, Apr 27, 2009 at 12:49:54PM -0700, David Brownell wrote:
  On Monday 27 April 2009, Mark A. Greer wrote:
--- a/arch/arm/mach-davinci/include/mach/debug-macro.S
+++ b/arch/arm/mach-davinci/include/mach/debug-macro.S
@@ -24,7 +24,14 @@
tst \rx, #1 @ MMU enabled?
moveq \rx, #0x0100 @ physical base address movne \rx,
#0xfe00 @ virtual base
+#if defined(CONFIG_ARCH_DAVINCI_DA830_EVM) 
+defined(CONFIG_ARCH_DAVINCI_DMx)
   
  
   This should be 'CONFIG_MACH_DAVINCI_DA830_EVM'.
 
  You man it wouldn't be applicable to DA830 boards other than that
  EVM??
 
  Maybe, maybe not.
 
  Same comment in a few other places.  From what you've
 said, these are
  chip-specific issues, not board-specific ones...
 
  Well, there are lots of pinmux conflicts on the da830.  For devices
  that aren't used all of the time, it makes sense to allow
 the driver
  and the resources it requires to come and go on
 demand--maybe even the
  console if there is a graphic console.
 
  Either way, what uart is used for the serial console is
 determined by
  the board not the chip.
 
  Mark
  --
 
 
 
  --
 
  Message: 2
  Date: Mon, 27 Apr 2009 17:36:25 -0500
  From: Tivy, Robert rt...@ti.com
  Subject: RE: Problem about DSP server config of DM6446
  To: chensu.main chensu.m...@263.net, davinci-linux-open-source