Re: Re: Strange problem with Linux git version. lcd crashes ttyS0 console!

2008-10-28 Thread Steve Chen
David, Try turn on DEBUG_LL in kernel config. Also, apply the attached patch. It may give you additional info to debug. Regards, Steve --- a/kernel/printk.c +++ b/kernel/printk.c @@ -529,6 +529,9 @@ asmlinkage int printk(const char *fmt, . /* cpu currently holding logbuf_lock */ static

Re: Re: Re: Re: Re: Strange problem with Linux git version. lcd crashes ttyS0 console!

2008-10-29 Thread Steve Chen
David, On Tue, 2008-10-28 at 22:20, [EMAIL PROTECTED] wrote: 6Setting Video1 size 720x480, position (0,0) 6Setting OSD0 size 720x480, position (0,0) 6Setting OSD1 size 720x480, position (0,0) 4Unsupported output device! This line seems to correspond to line 1492 of

RE: [PATCH] ARM: DaVinci: Audio: Fix the audio stall problem when doing full-duplex

2008-11-03 Thread Steve Chen
. Since the issue is getting fixed upstream, we can drop including this patch in DaVinci GIT From: Steve Chen [EMAIL PROTECTED] Sent: Friday, October 31, 2008 4:56 PM To: Medisetty, Naresh Cc: davinci-linux-open-source@linux.davincidsp.com Subject: Re

Re: [PATCH v5 09/10] ARM: DaVinci: serial mis-behavior on dm646x

2008-11-13 Thread Steve Chen
Kevin, On Thursday 13 November 2008 13:17:39 Kevin Hilman wrote: Is this misbehavior specific to the DM6467 EVM or common to any DM6467 board? The patch description could be a bit more descriptive in the future. Last month, someone posted on the mailing list about UART2 not working his

RE: Requesting for help:

2008-11-28 Thread Steve Chen
Looks like the Monta Vista toolchain is used. Alternatively, you can try adding /opt/montavista/pro/bin in your search path. There should be a pre-compile mkimage binary there. Regards, Steve On Fri, 2008-11-28 at 17:40 +0530, Jadav, Brijesh R wrote: Hi, I think you need to compile

Re: [PATCH v5] ARM: DaVinci: generalize dm644x pinmux

2008-12-18 Thread Steve Chen
Sudhakar, I see many elements of the patch written by Vladimir Barinov. Some mentioning of his name would be a very nice gesture. Regards, Steve On Thu, 2008-12-18 at 14:32 +0530, Sudhakar Rajashekhara wrote: Generalizes dm644x pinmux. The existing pinmux layer works only when the PINMUX

Re: Tips on creating File system

2008-12-18 Thread Steve Chen
On Thu, 2008-12-18 at 09:48 +, Phil Quiney wrote: In theory you should be able to start with the RPM packages in the MV tree (MontaVista rename the packages as .mvl for reasons unknown but My understanding is the mvl-rpm add/remove packages in the target file system or davinci's case it

RE: [PATCH v5] ARM: DaVinci: generalize dm644x pinmux

2008-12-18 Thread Steve Chen
is not working with MontaVista. But I have retained his name on top the source files. I can mention his name in the patch description if you want. Or if you have any other way of telling that this patch is from Valdimir, I can do that as well. Regards, Sudhakar From: Steve Chen [sc

Re: FW: dm355 spi

2008-12-24 Thread Steve Chen
(spi_eeprom_driver); } module_exit(spi_eeprom_exit); MODULE_LICENSE(GPL); MODULE_AUTHOR(Steve Chen); MODULE_DESCRIPTION(SPI EEPROM driver); 2008-12-24 __ Jammy Dane ___ Davinci

Re: Re: FW: dm355 spi

2008-12-25 Thread Steve Chen
: thanks steve, i have a doubt that why the eeprom is mtd2? 2008-12-25 __ Jammy Dane __ 发件人: Steve Chen 发送时间: 2008-12-24 22:33:20 收件人

Re: Re: Re: FW: dm355 spi

2008-12-31 Thread Steve Chen
人: Steve Chen 发送时间: 2008-12-25 22:07:19 收件人: Jammy Dane 抄送: gasparini; BJ_Opp; davinci-linux-open-source 主题: Re: Re: FW: dm355 spi Jammy, The EEPROM shows up as mtd2 on with my setup. It is very unlikely the EEPROM is mtd2 on your system. That's why in my original e-mail, I

Re: CMEM Error: getPool: Failed to get a pool fitting a size ...

2009-01-04 Thread Steve Chen
This question came up before. http://www.mail-archive.com/davinci-linux-open-source@linux.davincidsp.com/msg08933.html Regards, Steve On Sun, 2009-01-04 at 19:28 +0800, 流之 过 wrote: Hi,everyone: The platform I am using is DM355 .And after installing ,the dvsdk is dvsdk_1_30_00_23. Now I

RE: X11 on dm6467

2009-01-12 Thread Steve Chen
Correct, there is no frame buffer device on DM6467, so can not run X11. Steve On Mon, 2009-01-12 at 09:49 +0530, Jadav, Brijesh R wrote: Hi, That's correct. Dm6467 does not support frame buffer driver. It supports only V4L2 drivers. I have not seen X11 running on V4L2. I am not sure but it

RE: X11 on dm6467

2009-01-12 Thread Steve Chen
On Mon, 2009-01-12 at 11:00 -0500, Benjamin C. Nowak wrote: Steve and Brijesh Thank you, that is what I had feared. That will make things more complicated. Was support for the frame buffer dropped for bandwidth reasons? I only know that there is no frame buffer support in hardware, I don't

Re: [alsa-devel] [PATCH 1/1] ALSA: ASoC: DaVinci: Fix SFFSDR init bug.

2009-01-15 Thread Steve Chen
On Thu, 2009-01-15 at 16:17 -0500, Hugo Villeneuve wrote: On Thu, 15 Jan 2009 21:09:12 + Mark Brown broo...@sirena.org.uk wrote: On Thu, Jan 15, 2009 at 04:02:57PM -0500, Hugo Villeneuve wrote: On Thu, 15 Jan 2009 20:57:53 + Mark Brown broo...@sirena.org.uk wrote: This

Re: omap-L1xxx (WAS: [patch 0/6] EDMA interface updates)

2009-01-21 Thread Steve Chen
On Wed, 2009-01-21 at 15:12 +0300, Sergei Shtylyov wrote: - We (or at least *I*) had no desire to have the same kernel binary run on both a da8xx and a davinci. So, cutting out the davinci runtime code data that was wasting memory was A Good Thing (tm). Kevin seems the

Re: omap-L1xxx

2009-01-21 Thread Steve Chen
On Wed, 2009-01-21 at 10:01 -0800, Kevin Hilman wrote: Steve Chen sc...@mvista.com writes: On Wed, 2009-01-21 at 15:12 +0300, Sergei Shtylyov wrote: - We (or at least *I*) had no desire to have the same kernel binary run on both a da8xx and a davinci. So, cutting out the davinci

Re: Davinci Linux kernel debugger

2009-01-22 Thread Steve Chen
Ashish, KGDBOS and KGDBOE should both be available on the MV 2.6.10 kernel. I noticed kgdb is in the git tree, but never tried it. Regards, Steve On Thu, 2009-01-22 at 12:31 +, ashish pareek wrote: Hi , Which is the easily available davinci's MV linux kernel debugger ? Any thoughts

Re: omap-L1xxx

2009-01-23 Thread Steve Chen
On Fri, 2009-01-23 at 23:45 +0300, Sergei Shtylyov wrote: Mark A. Greer wrote: A somewhat related point, use of cpu_is_*. I think it would be smarter to factor out the use of those calls as much as you can. If you had one overall board.c file that did the cpu_is_*'s and hooked up the

RE: omap-L1xxx

2009-01-23 Thread Steve Chen
On Fri, 2009-01-23 at 15:13 -0600, Steve Chen wrote: On Fri, 2009-01-23 at 14:15 -0600, He, Zhengting wrote: Sergei, Why do you think modifying the drivers for customized boards is a wrong idea? MV or open source cannot support every board that every customer makes, right? Or do

Re: Montavista Kernal Code debugging

2009-01-31 Thread Steve Chen
I'm not sure if kgdb over serial stops before NAND initialization, but it is worth a try. For dm644x and dm355, kgdbos should work. However, dm6467 requires a patch. Of course, as Stjin points out, printk is always available :) Regards, Steve On Sat, 2009-01-31 at 11:31 +0100, Stijn

Re: omap-L1xxx

2009-02-05 Thread Steve Chen
I can think of 2 ways to handle different interrupt handler in entry-macro.S 1. cp_intc has an ID register. We can read it and handle interrupts accordingly. 2. Use a variable (similar to how Lennert used phys_offset in the run-time phys_offset patch) to determine which code to execute. Of

Re: OMAPL137 evm and XDS560

2009-02-06 Thread Steve Chen
On Fri, 2009-02-06 at 16:01 +0800, yang shaobo wrote: I have a spectrum ' s OMAPL137 evm board. I want to connect the evm to my 560PCI emulator. But I can not find proper ccs setup files. Could anyone give me some advice ? You can find CCS setup files and other resources here.

Re: MV 2.6.10 mmc corruption?

2009-02-06 Thread Steve Chen
On Fri, 2009-02-06 at 09:13 -0500, david.kond...@onqlegrand.com wrote: Greetings, I know everyone is really busy trying to swim upstream, but... Just thought I'd shoot this out there and see if anyone experienced with the MMC/SD driver could provide any info. We've recently had a few

Re: [PATCH 2/2] ARM: DaVinci: EMAC: Add PHY mask info to platform data

2009-02-10 Thread Steve Chen
On Tue, 2009-02-10 at 18:09 +0530, chaithr...@ti.com wrote: From: Chaithrika U S chaithr...@ti.com Remove the harcoded PHY mask value, instead obtain PHY address from platform data Signed-off-by: Chaithrika U S chaithr...@ti.com --- arch/arm/mach-davinci/devices.c |2 +

Re: RE: nand_programmer check all nand flash blocks error

2009-02-11 Thread Steve Chen
Try sending a reset command before using it. Micron NAND FLASH comes up in low power state, and you won't be able to access the FLASH in that state. This was the solution used by one of our engineers to resolve Micron NAND FLASH issues a few weeks ago. Regards, Steve On Wed, 2009-02-11 at

RE: [PATCH 2/2] ARM: DaVinci: EMAC: Add PHY mask info to platform data

2009-02-11 Thread Steve Chen
On Wed, 2009-02-11 at 11:20 +0530, Subrahmanya, Chaithrika wrote: On Tue, 2009-02-10 at 18:09 +0530, chaithr...@ti.com wrote: From: Chaithrika U S chaithr...@ti.com @@ -2443,34 +2454,43 @@ static int emac_dev_open(struct net_device *ndev) /* find the first phy */

RE: [PATCH 2/2] ARM: DaVinci: EMAC: Add PHY mask info to platform data

2009-02-11 Thread Steve Chen
On Wed, 2009-02-11 at 11:34 +0530, Subrahmanya, Chaithrika wrote: On Tuesday 10 February 2009, chaithr...@ti.com wrote: #define DAVINCI_I2C_BASE0x01C21000 +#define DAVINCI_EVM_PHY_MASK 0x2 #define DAVINCI_EMAC_BASE 0x01C8 #define

RE: [PATCH 2/2] ARM: DaVinci: EMAC: Add PHY mask info to platform data

2009-02-12 Thread Steve Chen
On Thu, 2009-02-12 at 15:24 +0530, Subrahmanya, Chaithrika wrote: On Wed, 2009-02-11 at 11:34 +0530, Subrahmanya, Chaithrika wrote: Also, it helps tell the driver to not care about any connected PHY (by setting the mask to 0). The OMAP-L137 EVM has a switch connected to the MAC

ALSA: fix excessive background noise introduced by OSS emulation rate shrink

2009-02-21 Thread Steve Chen
Incorrect variable was used to get the next sample which caused S2 to be stuck with the same value resulting in loud background noise. Signed-off-by: Steve Chen schen at mvista.com diff --git a/sound/core/oss/rate.c b/sound/core/oss/rate.c index a466443..2fa9299 100644 --- a/sound/core/oss

Re: Sync with ALSA to fix bugs

2009-03-05 Thread Steve Chen
On Thu, 2009-03-05 at 14:00 -0500, Hugo Villeneuve wrote: On Thu, 05 Mar 2009 09:30:05 -0800 Kevin Hilman khil...@deeprootsystems.com wrote: Hugo Villeneuve h...@hugovil.com writes: Hi Kevin, can you apply those two patches from ALSA to the linux-davinci-2.6.git tree to fix some

Re: Need help

2009-03-09 Thread Steve Chen
On Mon, 2009-03-09 at 17:02 +0530, Prabhu Kalyan Rout wrote: Hi Azam, Currently i will working on DM6446 EVM but in the target board we will be using TLV320AIC33 audio codec from TI. Thanks Azam Ansari wrote: Hi, What is the Codec that you are using? Does it support line mixing?

Re: Need help

2009-03-09 Thread Steve Chen
On Mon, 2009-03-09 at 19:42 +0530, Prabhu Kalyan Rout wrote: Actually i wanted to record from both MIC and LINE IN at the same time. From the It would be difficult to record separate audio streams on mic and line-in since both goes to the same ADC. below code i found that my codec does

RE: Need help

2009-03-11 Thread Steve Chen
-open-source-boun...@linux.davincidsp.com] On Behalf Of Venkatachala Upadhya Sent: Wednesday, March 11, 2009 10:49 AM To: 'Steve Chen' Cc: davinci-linux-open-source@linux.davincidsp.com Subject: RE: Need help Hello Steve, Is the MVL 2.6.18 kernel available for down load? If you have

Re: Need help to play MONO file(.raw) using AIC34 audio codec

2009-03-12 Thread Steve Chen
On Thu, 2009-03-12 at 18:26 +0530, DHAVAL LAKKAD wrote: Hi, I am using dm6467 with AIC34 audio codec. I tried to run an application which reads the raw data from file and writes it to sound device. The sample rate I am setting in application is 44100. Now, if I read STEREO file (with

Re: Need help to play MONO file(.raw) using AIC34 audio codec

2009-03-12 Thread Steve Chen
On Thu, 2009-03-12 at 08:04 -0400, Steve Chen wrote: On Thu, 2009-03-12 at 18:26 +0530, DHAVAL LAKKAD wrote: Hi, I am using dm6467 with AIC34 audio codec. I tried to run an application which reads the raw data from file and writes it to sound device. The sample rate I am setting

Re: Reading out DDR2 configuration registers

2009-03-20 Thread Steve Chen
On Fri, 2009-03-20 at 13:54 +0100, Stijn Devriendt wrote: I'm trying to read out the DDR2 control registers to obtain information about the DDR2 configuration. I currently did something like base = ioremap(0x200, PAGE_SIZE); result = davinci_readl(0x2008); iounmap(base); but

Re: [PATCH 0/4] ARM: DaVinci: DM646x Video: DM646x display driver

2009-03-26 Thread Steve Chen
On Thu, 2009-03-26 at 09:21 -0400, Chaithrika U S wrote: Display driver for TI DM646x EVM Signed-off-by: Chaithrika U S chaithr...@ti.com This patch set has been updated with the review comments for the RFC sent earlier. These patches add the display driver support for TI DM646x EVM.

RE: [PATCH 16/18] ARM: da830 - Add base DA830/OMAP-L137 SoC support

2009-04-01 Thread Steve Chen
and at the same time not having to deal with variations in the actual resource across platforms? If you want to propose a platform-neutral interface for requesting or configuring pins, go for it. :) This is where such discussions usually end :) Let's see what Steve Chen comes up

Re: [PATCH 16/18] ARM: da830 - Add base DA830/OMAP-L137 SoC support

2009-04-07 Thread Steve Chen
Dave, There are dozens of e-mails going back and forth, and we are still unable to bridge the gap. If you don't mind, lets take a step back and see if we can find some common grounds before moving forward. Here are a few observations. 1. Pinmux conflict should never happen on a correctly

Re: board definition

2009-04-09 Thread Steve Chen
On Thu, 2009-04-09 at 13:20 +0200, Ondrej Pindroch wrote: Hi We are working on new board with DM6446 I am interested if there is a guide how to create board definition files for kernel (like evm_board.c ..) I'm not aware of other forms of documentation other then the code itself.

Re: moved on to a kernel cmem problem

2009-04-12 Thread Steve Chen
On Sun, 2009-04-12 at 10:08 +0300, Yusuf Caglar AKYUZ wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mat Laibowitz wrote: In order to debug my mpeg4dec app side program I was looking dmai to see how it accessed the viddec2 ce interface. Along the way I decided to try and

Re: gcc error

2009-04-12 Thread Steve Chen
On Sun, 2009-04-12 at 17:37 +0530, amol bankhele wrote: hi, i am amol from INDIA , while upgrading kernel after this command make menuconfig get this following error May want to do something like make ARCH=arm CROSS_COMPILE=arm_v5t_le- menuconfig and make sure your toolchain is in

Re: Help: about mcbsq aic23b on dm6446

2009-04-13 Thread Steve Chen
On Mon, 2009-04-13 at 21:46 +0800, airpla...@yahoo.com.cn wrote: Hi, i work with dm6446 on Linux 2.6.10 MV Kernel. Now i test the audio, but i have some trouble. the aic23b is the master mode. the msbsq is the slave mode. when play music , i only hear a lot of noise but

Re: UBL uploading and Ubuntu problems

2009-04-15 Thread Steve Chen
On Wed, 2009-04-15 at 09:27 -0700, David Brownell wrote: On Wednesday 15 April 2009, Young, Joseph wrote: Is anyone aware of any issues with Ubuntu and transmitting a UBL? Is there a simple set-up issue I am not aware of that could cause something like this? Is there a way to monitor the

Re: PCI kernel problem

2009-04-20 Thread Steve Chen
On Mon, 2009-04-20 at 20:23 +0530, Dhaval Vadhar wrote: Hi, I am using TI's DVEVM DM6467 kernel linux-2.6.10_mvl401_LSP_01_30_00_082. I compiled the kernel with DM6467 defconfig. I used the compiled uImage to booting my custom board through PCI boot. It crashes the host kernel. But

Re: Communicating with an external audio codec chip over UART

2009-04-24 Thread Steve Chen
On Fri, 2009-04-24 at 19:17 +0530, Kapil Pendse wrote: Hello, I have a very basic questions to clear up the confusion that has built up in my head. I hope someone here will help me out. I have a DM355 EVM board, and a daughter board is to be connected to it. The daughter board will have a

Re: Communicating with an external audio codec chip over UART

2009-04-26 Thread Steve Chen
On Sun, 2009-04-26 at 00:40 +0530, Kapil Pendse wrote: Hello, Thanks for the inputs Steve. I'm using an older version of MVista, with OSS. But your suggestion made be think in the right direction. I'll be writing the voice processor's (ForteMedia 1182) driver within the OSS framework. Also,

Re: Changing Machine ID

2009-04-27 Thread Steve Chen
On Mon, 2009-04-27 at 05:59 -0500, Steve Chen wrote: 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 I mean linux-davinci-2.6

Re: Changing Machine ID

2009-04-27 Thread Steve Chen
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

Re: McBSP DMA Event [DM355]

2009-04-27 Thread Steve Chen
On Mon, 2009-04-27 at 14:20 +0530, Azam Ansari wrote: Hi, I have enabled McBSP0 in the board-dm355-evm.c file. I have configure McBSP0 for audio but it is not working( Currently I am using McBSP0 for only recording purpose...). May want to check the pinmux settings.. just a thought.

Re: McBSP DMA Event [DM355]

2009-04-27 Thread Steve Chen
, 2009 at 5:18 PM, Steve Chen sc...@mvista.com wrote: On Mon, 2009-04-27 at 14:20 +0530, Azam Ansari wrote: Hi, I have enabled McBSP0 in the board-dm355-evm.c file. I have configure McBSP0 for audio but it is not working( Currently I

RE: Changing Machine ID

2009-04-28 Thread Steve Chen
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

RE: Changing Machine ID

2009-04-28 Thread Steve Chen
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

Re: Audio Driver Problem

2009-04-28 Thread Steve Chen
On Tue, 2009-04-28 at 15:19 +0300, amr ali wrote: AA, I am running VLC on my DM6446 and using MVL 2.6.10. After a while of playback, the audio playback stalls. VLC is still running, but no audio playback. I tried to rerun VLC and still no audio. I preasume that the audio device driver locked

RE: Audio Driver Problem

2009-04-28 Thread Steve Chen
On Tue, 2009-04-28 at 17:15 +0300, amr ali wrote: AA, Same thing happens when I run VLC from NFS or Ramdisk. My audio files are stored on USB in both cases. I disabled the hardidsk to use the NOR flash on both systems. One would expect similar results since USB performance would be identical.

RE: Audio Driver Problem

2009-04-28 Thread Steve Chen
On Tue, 2009-04-28 at 17:33 +0300, amr ali wrote: AA, My final commercial product is supposed to play audio from USB. Do you think it is a driver problem?? If a sound file on ramdisk works while a sound file from USB hangs, then it is very likely a driver/DMA issue. Of course, it is

RE: [PATCH 2/3] ARM: da830 - Add base DA830/OMAP-L137 SoC support

2009-04-28 Thread Steve Chen
On Tue, 2009-04-28 at 11:15 -0500, Ambrose, Martin wrote: On Wed, Apr 22, 2009 at 12:58:12, Ambrose, Martin wrote: On Tue, Apr 21, 2009 at 05:05:14PM -0700, Mark A. Greer wrote: From: Mark A. Greer mgr...@mvista.com Thanks for this. It builds for me but hangs after uncompressing

Re: [PATCH] ARM DaVinci: Adding CONFIG options for NAND ALE and CLE

2009-04-28 Thread Steve Chen
On Tue, 2009-04-28 at 16:33 -0400, s-paul...@ti.com wrote: The CLE and ALE for DaVinci DM644x is not the same as DM646x. This patch adds 2 CONFIG_ options to the config.h header files to all the DM6446 based boards. These values are then used by the driver. This has been tested on the DM644x,

Re: McBSP DMA Event [DM355]

2009-04-29 Thread Steve Chen
On Wed, 2009-04-29 at 11:47 +0530, Azam Ansari wrote: Hi Steve, After looking into the PINMUX I found that the pinmux setting is being done when I call board_setup_psc(DAVINCI_GPSC_ARMDOMAIN, DAVINCI_LPSC_McBSP0, 1); This does the PINMUX settings for McBSP0. I found two patchs on the

Re: McBSP DMA Event [DM355]

2009-04-29 Thread Steve Chen
On Wed, 2009-04-29 at 23:57 +0530, Azam Ansari wrote: Hi Steve, Were you getting frame sync before the change? No. I was not getting frame sync before the change either. Does it mean that PINMUX setup is not correct? Currently is set PINMUX3 = 0x3F. Did you try the suggestions in my

Re: DM355 and DM9000 Ethernet

2009-05-02 Thread Steve Chen
On Fri, 2009-05-01 at 11:47 -0700, David Brownell wrote: On Friday 01 May 2009, Kevin Hilman wrote: In debugging this, I've noticed that only using the banked IRQ along with some strategically placed printk's also gets things working without the direct IRQ. This suggests there's a timing

Re: about audio driver stalls.

2009-05-04 Thread Steve Chen
On Mon, 2009-05-04 at 18:34 +0800, Jeff wrote: All, I found there was a serious stalls bug from DAVINCI OSS/ALSA audio driver EDMA driver. I have asked many times but I have no gotten any news from forum as well as TI support team. Any help is appreciated. Don't know much about

RE: Compiling EDMA, ASP, and I2C as modules

2009-05-04 Thread Steve Chen
On Mon, 2009-05-04 at 13:58 +0300, amr ali wrote: Hi Steve, I guess you are right about EDMA and I2C. But where is the source code of the EDMA in the kernel source tree? I found the I2C. Regarding ASP, how can I compile EDMA is in arch/arm/mach-davinci/dma.c Regards, Steve

Re: about audio driver stalls.

2009-05-04 Thread Steve Chen
On Mon, 2009-05-04 at 06:01 -0500, Steve Chen wrote: On Mon, 2009-05-04 at 18:34 +0800, Jeff wrote: All, I found there was a serious stalls bug from DAVINCI OSS/ALSA audio driver EDMA driver. I have asked many times but I have no gotten any news from forum as well as TI support

RE: Compiling EDMA, ASP, and I2C as modules

2009-05-04 Thread Steve Chen
On Mon, 2009-05-04 at 13:29 +0300, amr ali wrote: Well, I am trying to do this because I have a problem in playing back audio. Playback stalls and does not work again unless I restart my board. I found a document describing the driver heirarchy. I am trying to load and unload each module

Re: 答复: about audio driver stalls.

2009-05-04 Thread Steve Chen
redone. However, the dm9000 and video drivers are largely unchanged. Regards, Steve BR Jeff -邮件原件- 发件人: Steve Chen [mailto:sc...@mvista.com] 发送时间: 2009年5月4日 19:14 收件人: Jeff 抄送: Davinci-Linux-Source 主题: Re: about audio driver stalls. On Mon, 2009-05-04 at 06:01 -0500

Re: 答复: 答复: about audio driver stalls.

2009-05-04 Thread Steve Chen
the issue by lowering the I/O thread priority using nice. Replace gstreamer_demo/shared/run_pipe.sh, $CMD with nice -n 15 $CMD Regards, Steve Jeff -邮件原件- 发件人: Steve Chen [mailto:sc...@mvista.com] 发送时间: 2009年5月4日 20:50 收件人: Jeff 抄送: Davinci-Linux-Source 主题: Re: 答复: about audio

Re: about audio driver stalls.

2009-05-04 Thread Steve Chen
On Mon, 2009-05-04 at 07:49 -0700, David Brownell wrote: On Monday 04 May 2009, Steve Chen wrote: Actually, I need to correct myself. GStreamer and TI's decode demo has some performance issuess on the dm355 EVM. Ditto basic playback on the GIT kernels. Chip errata say that DMA to/from

Re: SPI driver about Davinci DM6446

2009-05-05 Thread Steve Chen
On Tue, 2009-05-05 at 09:13 -0500, Brian Rhodes wrote: 邹卫军 wrote: Hello! I am doing a project which involes in the use of Davinci DM6446. I need the SPI device of DM6446 to finish the communication with other devices. But I have poor knowledge about the SPI driver under the DM6446.

RE: Audio Driver Problem

2009-05-06 Thread Steve Chen
On Wed, 2009-05-06 at 14:51 +0300, amr ali wrote: Hi folks, I tried OSS on MVL 2.6.18 and it seems working fine. In addition, it supports mono :D Did you port OSS driver from MVL 2.6.10 to MVL 2.6.18? Regards, Steve -- Amr Ali.

RE: Audio Driver Problem

2009-05-06 Thread Steve Chen
On Wed, 2009-05-06 at 15:08 +0300, amr ali wrote: Nope, I just ran OSS on MVL 2.6.18 on my board with my application. I see. MVL 2.6.18 uses ALSA, and ALSA provides an OSS emulation layer. The ALSA layer handles all of the mono/stereo conversion. It also handles all of the sample rate

RE: Audio Driver Problem

2009-05-06 Thread Steve Chen
On Wed, 2009-05-06 at 15:21 +0300, amr ali wrote: Well, I just checked my kernel. I have both device /dev/audio and /dev/dsp. I enabled both of them during kernel compilation and disabled the OSS emulation. My VLC runs on OSS not ALSA. The entire oss directory was deleted from the mvl 2.6.18

Re: 答复: Audio Driver Problem

2009-05-06 Thread Steve Chen
On Wed, 2009-05-06 at 20:07 +0800, Jeff wrote: I ported OSS driver from MVL 2.6.10 to 2.6.18. I still got stalls when playing video with audio. On MVL 2.6.18, I ran TI's decode demo playing The DaVinci effect on DM6446 EVM. While the video/audio is playing, I also record using arecord (at

Re: 答复: 答复: Audio Driver Problem

2009-05-06 Thread Steve Chen
On Wed, 2009-05-06 at 20:32 +0800, Jeff wrote: I am working on DM355 EVM. Before I changed the dma.c code, I can not get work for playing video while playing audio. I changed dma.c code as below: static unsigned long param_entry_arm[] = { #ifdef CONFIG_ARCH_DAVINCI_DM355 0xu,

Re: 答复: 答复: 答复: Audio Driver Problem

2009-05-06 Thread Steve Chen
件- 发件人: Steve Chen [mailto:sc...@mvista.com] 发送时间: 2009年5月6日 20:55 收件人: Jeff 抄送: Davinci-Linux-Source 主题: Re: 答复: 答复: Audio Driver Problem On Wed, 2009-05-06 at 20:32 +0800, Jeff wrote: I am working on DM355 EVM. Before I changed the dma.c code, I can not get work for playing video

Re: 答复: 答复: 答复: 答复: AudioDriver Problem

2009-05-07 Thread Steve Chen
. In addition, if you are using a large partition (or no partition), you may want to try a smaller partition (say 256 or 512M) and see if that helps. Regards, Steve BR, Jeff -邮件原件- 发件人: Steve Chen [mailto:sc...@mvista.com] 发送时间: 2009年5月6日 21:58 收件人: Jeff 抄送: davinci forum 主题: Re: 答复

[patch davinci-git] Simplify code to calculate MMC/SD memory clock divide

2009-05-08 Thread Steve Chen
From: Steve Chen sc...@mvista.com Simplify code to calculate MMC/SD memory clock divide. In the original code, much of the logic were dedicated to rounding up the memory clock divide (mmc_push_pull). The code can be simplified by rounding up in the algorithm itself. Original code has

Re: SPI on DM355

2009-05-08 Thread Steve Chen
On Fri, 2009-05-08 at 17:41 +0100, Kieran Bingham wrote: Hi guys, I'm using the Montavista kernel for 2.6.18_pro500, but this is more of a generic SPI question. I'm trying to write a peripheral driver which uses the SPI. I have set up the SPI bus on SPI1, and I can initiate transfers over

Re: multiple nand on dm355

2009-05-13 Thread Steve Chen
On Tue, 2009-05-12 at 17:07 -0700, Vijay Soni wrote: Does anyone know what code changes would be required to have multiple nand flash support on dm355 based hardware. The different nand flash will have different nand base addresses (due to external chip select multiplexer) and all need to

Re: I can't boot linux2.6.18 uImage in dm355

2009-05-13 Thread Steve Chen
On Wed, 2009-05-13 at 12:51 +0800, zuowenping wrote: dear all: I used the DaVinciLSP-01_20_00_014 in the past ,now i want to use the DaVinciLSP_02_00_00_110 because i want to use the linux2.6.18 kernel, so i use toolchains mvltools5_0_0 to compile the new kernel and it produced a

Re: Can JPEG and MPEG4 run on DM355 simultaneity

2009-05-13 Thread Steve Chen
On Wed, 2009-05-13 at 23:14 +0800, Jammy Dane wrote: Hi all, I want to run JPEG and MPEG4 encode on DM355 board, and I wrote a demo referencing the code in ../DVSDK_1_00_30_xx/demo/encode/* and the code in ../DVSDK_1_00_30_xx/examples/jpegenc/*. After I run the demo, it said on the

Re: DM355 SDIO performance or sd card clock over 27mhz

2009-05-14 Thread Steve Chen
On Thu, 2009-05-14 at 10:51 +0800, Liu Yebo wrote: Hi, I've been doing some testing with SD card writes on the our dm355 board.That looks that the performance is dismal, that is pretty poor. i was getting speeds of around 2-3MB/s for write. Now i have enable high speed SD support.Note

Re: about IRQ issue.

2009-05-14 Thread Steve Chen
On Thu, 2009-05-14 at 18:41 +0800, Jeff wrote: All, I used kernel 2.6.18, when I run a application on kernel, I got a error as below: “BUG: unbalanced irq-handler preempt count in dma_irq_handler_l +0x0/0x24!” Sounds like a bug in dma_irq_handler... may not be preemption safe. What

Re: 答复: about IRQ issue.

2009-05-14 Thread Steve Chen
On Thu, 2009-05-14 at 20:12 +0800, Jeff wrote: My application did DMA copy. Thanks. I can think of two options before you. 1. Try debugging the problem yourself and post specific questions on this list. There are a lot of very helpful folks here. 2. Send your application and error message

Re: I can't boot linux2.6.18 uImage in dm355

2009-05-14 Thread Steve Chen
On Thu, 2009-05-14 at 13:49 +0800, zuowenping wrote: My develop envirment : DaVinciLSP_02_00_00_110 ,mvltools5_0_0801921 and dm355 evm I have built the kernel by reference the pdf TMS320DM355 DVEVM v1.30 Getting Started Guide , DM355 EVM # printenv bootdelay=3 baudrate=115200

Re: How to make automatic maount of SDcard

2009-05-14 Thread Steve Chen
On Thu, 2009-05-14 at 17:05 +0200, Ondrej Pindroch wrote: Hi How can I make that when I put SDcard in slot it will autoamticaly be mounted for example in /mnt/SDcard. Suppose that the directory exist. Is there some way to do that. I have seen this in standard distributions for PC.

Re: Re: I can't boot linux2.6.18 uImage in dm355

2009-05-15 Thread Steve Chen
On Fri, 2009-05-15 at 09:09 +0800, zuowenping wrote: thanks Deepak: I have configed kernel by the command : make ARCH=arm CROSS_COMPILE=arm_v5t_le- davinci_dm355_defconfig make ARCH=arm CROSS_COMPILE=arm_v5t_le- uImage This looks ok. use the default configs for dm355,the kernel

Re: RE: I can't boot linux2.6.18 uImage in dm355

2009-05-15 Thread Steve Chen
On Fri, 2009-05-15 at 16:24 +0530, Deepak Mundra wrote: Dear zuowenping, can you please check if following patch is applied.. even i had faced same issue in my dm6446 board when i was trying to boot 2.6.23 kernel .. some 1 gave me this patch and it worked for me.. Just check if this patch

RE: I can't boot linux2.6.18 uImage in dm355

2009-05-15 Thread Steve Chen
On Fri, 2009-05-15 at 09:23 +0530, B, Ravi wrote: Hi Go to menuconfig, kernel Features- select “allow old ABI binaries to run with this kernel” or disable the “ARM EABI to compile the kernel”. Then do clean build. This should resolve the issue. The file systems should be build

Re: OMAP-L137/DA830 Issues

2009-05-15 Thread Steve Chen
On Fri, 2009-05-15 at 15:15 +0200, Tobias Knutsson wrote: Hello, I am trying to build a kernel for the OMAP-L137 EVM board, but have not yet succeeded. I am using the bootloader provided by MV, and booting their 2.6.18 kernel works fine. When compiling my own version i have taken the

Re: mkimage command not found - U-Boot images will not be built

2009-05-18 Thread Steve Chen
On Mon, 2009-05-18 at 21:01 +0200, Bjørn Forsman wrote: 2009/5/18 elbert shiang elbertshi...@yahoo.com Hi,all i am developing the dm355 evm now and i found a problem of rebuilding new linux kernel. when i use make command to build a new kernel,

Re: 14 pins JTAG cable

2009-05-21 Thread Steve Chen
On Thu, 2009-05-21 at 11:09 -0700, elbert shiang wrote: Dear All: Can you help me to find the JTAG solution? my questions is followed. 1. which vendor and how can I get the 14 pins JTAG cable other than TI? 2. Can I download the Linux based CCStudio? 3. Can the CCStudia run well on

Re: [PATCH] RFC: ARM: DaVinci: ASoc use iram to buffer sound

2009-05-22 Thread Steve Chen
On Thu, 2009-05-21 at 22:43 -0700, Troy Kisky wrote: Rajashekhara, Sudhakar wrote: Rajashekhara, Sudhakar wrote: Troy, I tried this patch on DM644x EVM and following are my observations: 1. Playback works fine. 2. Record has some issues. Recorded stream has Loud volume on the

Re: Supporting multiple codecs

2009-05-28 Thread Steve Chen
On Thu, 2009-05-28 at 19:06 +0530, Azam Ansari wrote: Hi Steve, Does latest version support OSS with multiple codecs? There is multiple codec support for McASP (dm6467). However, to the best of my knowledge, there is no multiple codec support for McBSP (dm644x/dm355). We are using OSS

Re: where I can get the patch support for DM355 SDHC ?

2009-06-03 Thread Steve Chen
On Wed, 2009-06-03 at 18:04 +0800, taco wrote: Jean-Philippe François wrote: e-eo a écrit : hi, everyone: I use DM355 EVM board, and it has two SD slot. The kernel version I am using is linux-2.6.1, and it just only support SD that less than 2 G. Now, my project need two SDs

Re: OTG support for dm355 MUSB in 2.6.30rc?

2009-06-03 Thread Steve Chen
On Wed, 2009-06-03 at 13:16 +0200, Koen Kooi wrote: Hi, While going through menuconfig for dm355-leopard I noticed that MUSB lacks an OTG option, it's either host or gadget. Is this a hardware limitation? I'd like to use it as OTG and switch roles at runtime either using sysfs nodes or

Re: terminal question!

2009-06-04 Thread Steve Chen
On Thu, 2009-06-04 at 11:59 +0300, Serkan Erdogan wrote: Hii all, Could you tell me the reason of that why i cant interrupt any command from teminal by pressing CTRL+C, CTRL+Z or CTRL+Q; when i login with nfs using reduced file system dm355 . For example if i give ping 192.168.2.11command,

RE: osd0 goes black after 5 minutes

2009-06-04 Thread Steve Chen
On Thu, 2009-06-04 at 13:11 -0700, BJ Opp wrote: So am I really the only one in the world that's having this issue? Not really. There was a very nice write up on the mailing list regarding this topic before. In summary, 5 minutes is when screen saver kicks in. Regards, Steve

Re: where I can get the patch support for DM355 SDHC ?

2009-06-11 Thread Steve Chen
Hi, Have you find the patches? I started an inquiry within Monta Vista. Unfortunately, it took this long to find the patches that are accidentally deleted from the server. Please let me know if you still need the patches. Regards, Steve ___

  1   2   3   >