Re: -rt on DaVinci

2008-07-07 Thread Andy Ngo
if I want to switch to using glibc 2.5. If this is the case, does anyone know if the source to the MVL toochain is available for rebuilding a toolchain using the latest GCC, glibc, etc? Thanks. Regards, Andy Ngo - Original Message From: Dirk Behme [EMAIL PROTECTED] To: davinci

MVL patch pro-1687

2008-07-03 Thread Andy Ngo
Hi, I just went to the Montavista support site and noticed that it has the following patch, which I want to use to apply to the GIT 2.6.25-davinci1 kernel: (pro-1687) ti_davinci_mv_1_0_audio_mcbsp_init_fix_and_null_buf_implementation_034: This patch implements the null buffer playback

Building cmemk.ko/dsplink.ko for 2.6.26 GIT using DVEVM 1.10

2008-07-02 Thread Andy Ngo
Hi Kevin / Chris / everyone, I just finished porting our old kernel (2.6.20-omap1) to the latest GIT kernel (2.6.26-davinci1). I'm now trying to rebuild cmemk.ko and dsplinkk.ko to work with the new kernel. I'm still using the old dvevm version (1.10) which uses cmem 1.01 and dsplink

Re: Building cmemk.ko/dsplink.ko for 2.6.26 GIT using DVEVM 1.10

2008-07-02 Thread Andy Ngo
in dsplink hal_object.c and hal_rtc.c to resolve IO_ADDRESS reference. Regards, Andy - Original Message From: Bernard Blackham [EMAIL PROTECTED] To: Andy Ngo [EMAIL PROTECTED] Cc: davinci-linux-open-source davinci-linux-open-source@linux.davincidsp.com Sent: Wednesday, July 2, 2008 9:43:04

Re: Re: Re: RE: Buggy Audio Driver

2008-06-25 Thread Andy Ngo
the McASP as the master, it is so bad. I think set which is master is not the point to caused the problem, but I have not confirm it yet. [EMAIL PROTECTED] 2008-06-25 - Original Message - From: Andy Ngo To: jp_liu,Andrew Armstrong,PQuiney,davinci

Problem build latest GIT kernel with MV toolchain

2008-06-24 Thread Andy Ngo
Hi, I trying to build the latest GIT tree (2.6.25-davinci1) with the Montavista toolchain we bought from TI 2 years ago (MV Pro 4.0) and I'm getting the following error: make ARCH=arm CROSS_COMPILE=arm_v5t_le- uImage   CHK include/linux/version.h make[1]: `include/asm-arm/mach-types.h' is up

Re: Problem build latest GIT kernel with MV toolchain

2008-06-24 Thread Andy Ngo
Oops, nevermind, I saw someone posted the same problem and someone else replied.  Sorry for not reading first.  I'm still interested in building a new toolchain with glibc 2.5 though.  Thanks. Regards, Andy - Original Message From: Andy Ngo [EMAIL PROTECTED] To: davinci-linux-open

Re: Problem build latest GIT kernel with MV toolchain

2008-06-24 Thread Andy Ngo
Thanks David.  Do you know what are the differences between MV 4.0 and MV 4.0.1?  We're still using MV 4.0 (dvevm 1.10, bios 5.30, cmem 1.01, CE 1.02, dsplink 1.30.08.02, etc).  I was able to build the latest GIT kernel using using our current MV 4.0 development tools.  Can I rebuild cmemk and

Re: RE: Buggy Audio Driver

2008-06-24 Thread Andy Ngo
Andrew, I spent many a day debugging the audio driver write lockup issue and to this day, I still haven't figured it out.  However, I did pinpoint the hanging problem when closing the device to an audio_sync call in the audio_release function in davinci-audio.c.  Try this, comment out the call

Re: Re: RE: Buggy Audio Driver

2008-06-24 Thread Andy Ngo
] To: Andy Ngo [EMAIL PROTECTED]; Andrew Armstrong [EMAIL PROTECTED]; PQuiney [EMAIL PROTECTED]; davinci-linux-open-source davinci-linux-open-source@linux.davincidsp.com Sent: Tuesday, June 24, 2008 7:25:08 PM Subject: Re: Re: RE: Buggy Audio Driver Mail Andy Ngo,Andrew Armstrong,PQuiney,davinci-linux

Re: OSS audio driver under-run breakthrough

2008-05-27 Thread Andy Ngo
Hi David, Just wondering... did the fix you suggested below permanently fix the audio write stall problem? For our project, we're now at the point in which we're fixing issues we put hold on when we first started our code development; one of these issues is the write (and read) stall problems

Wake-On-Lan support?

2008-02-22 Thread Andy Ngo
Hi, Does anyone know if the ethernet driver on the DVEVM board support Wake-On-Lan? I'm still using GIT 2.6.20 kernel. We want to automatically put the PHY chip into sleep mode when there is no ethernet data activity and put it back to normal power mode when data activity is detected. This

Re: OSS audio driver under-run breakthrough

2008-01-14 Thread Andy Ngo
Wow, thanks. I gotta try this out! Regards, Andy - Original Message From: David A Kondrad [EMAIL PROTECTED] To: davinci-linux-open-source@linux.davincidsp.com Sent: Monday, January 14, 2008 1:21:39 PM Subject: OSS audio driver under-run breakthrough Greetings, I've seen quite a few

Fw: USB over Ethernet (RNDIS / CDC Ethernet) driver for Windows CE

2008-01-07 Thread Andy Ngo
Hi, Happy New Year! We have been able to use the Ethernet over USB (CDC Ethernet / RNDIS) driver provided at http://www.linux-usb.org/gadget to hook up our Davinci development board to an XP host to create a network connection. However, now we need to do the same with a WinCE (Windows CE)

RNDIS (usbnet) driver for Windows CE

2007-12-10 Thread Andy Ngo
Hi, Does anyone know if there's a RNDIS (usbnet) driver available for Windows CE. I'm trying to hook up our davinci-board to a Windows CE PDA that is a USB host? I've tested our board with PCs running Windows 2K and XP without any issues. Thanks,

mii-tool / ethtool

2007-09-05 Thread Andy Ngo
Hi, I'm trying to force a setting on the ethernet interface on the DVEVM using the mii-tool or ethtool without any luck. When I tried to dump the eth0's existing settings, I get a Bad address error for both mii-tool and ethtool. # mii-tool eth0 SIOCGMIIPHY on 'eth0' failed: Bad address #

Re: Audio Driver Lockup Issue

2007-09-04 Thread Andy Ngo
. Hopefully, this will resolve the audio lockup problem that everyone is seeing. Comments? Regards, Andy - Original Message From: Praveen K H [EMAIL PROTECTED] To: Andy Ngo [EMAIL PROTECTED] Cc: Praveen K H [EMAIL PROTECTED] Sent: Friday, August 31, 2007 4:17:42 AM Subject: Re: Audio Driver

Re: Audio Driver Lockup Issue

2007-08-31 Thread Andy Ngo
suggestions, anyone? Thanks. Regards, Andy - Original Message From: Bhatnagar, Mukul [EMAIL PROTECTED] To: Andy Ngo [EMAIL PROTECTED] Sent: Thursday, August 30, 2007 1:38:37 PM Subject: RE: Audio Driver Lockup Issue Andy Brad Griffis asked you to check the EMR registers, can you also

Re: git tree updated to v2.6.23-rc3

2007-08-25 Thread Andy Ngo
b369695ca587d9f2a03bc79631d5c98ebe0e1b16 while processing commit 13a84affcb049791eb931dd8900554931aae7596. progress: 7 objects, 89032521 bytes cg-fetch: objects fetch failed Oh well, I'll wait until it's fixed. Regards, Andy - Original Message From: Andy Ngo [EMAIL PROTECTED] To: Kevin Hilman [EMAIL PROTECTED

Re: git tree updated to v2.6.23-rc3

2007-08-24 Thread Andy Ngo
Hi Kevin, I'm wondering if I'm doing something wrong but I keep getting the following error trying to get the latest git tree (I tried 5 times; each time, it's downloading fine for around 15 mintutes before I get the error below): # cg-clone http://source.mvista.com/git/linux-davinci-2.6.git

Re: git tree updated to v2.6.23-rc3

2007-08-24 Thread Andy Ngo
far I just remove the linux-davinci-2.6 directory and restarted it just to get the same error 15 minutes later =( Regards, Andy - Original Message From: Andy Ngo [EMAIL PROTECTED] To: Kevin Hilman [EMAIL PROTECTED]; davinci-linux-open-source @linux.davincidsp.com davinci-linux-open

Re: Audio Driver Lockup Issue

2007-08-22 Thread Andy Ngo
Hi, I have similar audio stalling problems that have been nagging me for a couple months! Like you, I've have playback stalling problem (in which my application hangs on writing to the audio device - i.e. the call to write(dspFd,...) doesn't return) as well as record stalling problem (in

Re: HR timers

2007-08-15 Thread Andy Ngo
it if I can directly use the 2.6.20 one to patch the 2.6.20 GIT tree. Thanks, Andy - Original Message From: Kevin Hilman [EMAIL PROTECTED] To: Dirk Behme [EMAIL PROTECTED] Cc: Andy Ngo [EMAIL PROTECTED]; davinci-linux-open-source @linux.davincidsp.com davinci-linux-open-source

HR timers

2007-08-14 Thread Andy Ngo
Hi, I'm trying to enable high resolution timers support in the kernel (2.6.20 GIT tree) but I don't see the option via the kernel configuration. I went through all the categories without any luck. Do I need a special patch or something like that to enable HR timers? Thanks. Regards,

Audio read stall problem

2007-08-13 Thread Andy Ngo
it. Thanks. Regards, Andy Ngo /*** * * audio_read(): Exposed as read() function * **/ static int audio_read(struct file *file, char *buffer

Not having to copy ramdisk.gz from flash to RAM

2007-08-09 Thread Andy Ngo
Hi, I'm trying to reduce the boot up time as much as possible and one of the things I noticed is that for a ramdisk (ramdisk.gz), you have to copy it to RAM before booting the Linux kernel to use it. Here's my configuration: * u-boot is programmed in flash at 0x0200 * kernel is

Re: Not having to copy ramdisk.gz from flash to RAM

2007-08-09 Thread Andy Ngo
it takes to copy the ramdisk.gz to RAM before the real uncompression to RAM occurs)? Regards, Andy - Original Message From: AndyLu [EMAIL PROTECTED] To: Andy Ngo [EMAIL PROTECTED]; davinci-linux-open-source @linux.davincidsp.com davinci-linux-open-source@linux.davincidsp.com Sent

Optimizing bootup time

2007-07-09 Thread Andy Ngo
Hi all, I'm trying to optimize the bootup/load time (from power up to when the kernel and rc scripts finish loading) on our custom Davinci board. Our goal is to get it down to 10 seconds to close to that. I have tried a few stuff: 1) Remove/disable unnecessary features in u-boot 2)

Re: Optimizing bootup time

2007-07-09 Thread Andy Ngo
the boot time a lot? Thanks, Andy - Original Message From: Constantine Shulyupin [EMAIL PROTECTED] To: Andy Ngo [EMAIL PROTECTED] Cc: davinci-linux-open-source @linux.davincidsp.com davinci-linux-open-source@linux.davincidsp.com Sent: Monday, July 9, 2007 2:30:30 PM Subject: Re: Optimizing

duplex sound problem on custom board

2007-06-20 Thread Andy Ngo
Hi, I wonder if anyone can help me. I was able to use sound driver (GIT kernel 2.6.20 version) in full duplex mode on the DVEVM board with any problems (I can just do cat /dev/dsp /dev/dsp and let it run forever without any issues). However, when I do this on our custom Davinci (which

Re: git kernel boot problem: Solved: Able to boot with USB built in: patch attached

2007-05-24 Thread Andy Ngo
Great find! Regards, Andy - Original Message From: Meher [EMAIL PROTECTED] To: Constantine Shulyupin [EMAIL PROTECTED]; [EMAIL PROTECTED]; davinci-linux-open-source@linux.davincidsp.com Sent: Thursday, May 24, 2007 8:49:33 AM Subject: git kernel boot problem: Solved: Able to boot with

Re: git 2.6.20 kernel NOR flash

2007-05-21 Thread Andy Ngo
Yogesh, a) Are you booting to the filesystem partition on the hard drive? It would seem like that is the case since you say you can't mount your NOR filesystem. Remember, if you are using the DVEVM board, you have to disable IDE in the kernel to use the NOR flash (they're muxed such that

Re: git kernel boot problem

2007-05-15 Thread Andy Ngo
Yogesh, I had the same problem a while back but found the solution here from this post: http://www.mail-archive.com/davinci-linux-open-source@linux.davincidsp.com/msg02045.html Regards, Andy - Original Message From: Yogesh Kumar M [EMAIL PROTECTED] To: davinci-linux-open-source

Re: NOR flash erase/write time

2007-05-14 Thread Andy Ngo
George, The memory controller settings (CS2 on AEMIF) for the NOR flash are not optimal. You will need to tweak it under u-boot to get it working optimal. Refer to my post last month: http://www.mail-archive.com/davinci-linux-open-source@linux.davincidsp.com/msg02321.html If you want a

User space interrupt handler

2007-05-14 Thread Andy Ngo
Hi, This is a general linux question so hopefully so you hopefully you don't mind me posting it. I have a trigger source that is hooked up to GPIO1; it triggers every 8ms. How do I write a user space interrupt handler that wakes up every time the trigger occurs? This is how I currently

Re: mmap issue

2007-05-11 Thread Andy Ngo
post. We had a similar, but not identical problem. In our case, CPU writes to control registers in an external FPGA were not being propagated correctly. Still, the same solution may work (dummy writes followed by reads?) Also: Andy Ngo wrote: 1) If I need the writes to be real-time

mmap issue

2007-05-10 Thread Andy Ngo
Hi, This is more of a Linux question than anything. Hopefully someone can help me. Our custom board has the Davinci exchanging data with a Xilinx Virtex 5 Pro FPGA Microblaze processor via a shared (Dual-Port) RAM interface. The shared RAM is 128Kb and is hooked us to CS4 on the AEMIF. In

Re: mmap issue

2007-05-10 Thread Andy Ngo
Thanks, but how do I set the range uncacheable? I don't see such an option for mmap. Please advise. Thanks! Regards, Andy - Original Message From: YunChuan Qin [EMAIL PROTECTED] To: Andy Ngo [EMAIL PROTECTED] Sent: Thursday, May 10, 2007 9:38:46 PM Subject: Re: mmap issue set

Re: GPIO interrupts in kernel 2.6.10

2007-05-04 Thread Andy Ngo
Looks like you already figured out your issue but this was how I did mine when I wrote a simple kernel module: void init_interrupt(void) { . . . request_irq( DAVINCI_GPIO_IRQ(1), (irq_handler_t)my_handler, IRQF_DISABLED | IRQF_TRIGGER_FALLING,

Re: External interrupt

2007-04-20 Thread Andy Ngo
); Dave, thanks for your help. Regards, Andy - Original Message From: Amol Lad [EMAIL PROTECTED] To: Andy Ngo [EMAIL PROTECTED]; David Brownell [EMAIL PROTECTED]; davinci-linux-open-source @linux.davincidsp.com davinci-linux-open-source@linux.davincidsp.com Sent: Thursday, April 19, 2007 11

Re: Audio Volume Control

2007-04-16 Thread Andy Ngo
Will, If you look at files (speech.c, ctrl.c) in dvevm_1_10/demos/ encode and decode directories, I believe it shows examples of how the input gain, volume, etc is controlled. Regards, Andy Will Tucker [EMAIL PROTECTED] wrote: Has Any one been able to control the Audio volume on the

Re: USB_VBUS issue

2007-04-13 Thread Andy Ngo
switching on/off the 5V to VBUS and now the DVEVM USB driver code (with minor mods on my part) works! I tested it in both host and client modes. Regards, Andy - Original Message From: David Brownell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Andy Ngo [EMAIL PROTECTED] Sent: Friday, April 13

USB_VBUS issue

2007-04-12 Thread Andy Ngo
Hi, I'm getting further along on bringing up our custom Davinci board. I hope there's a USB expert out there that can help me with this. We’re now trying to get the USB host controller on our custom board to work. Our hardware layout is exactly like the DVEVM with exception of the

Re: NOR flash file system on Davinci

2007-04-11 Thread Andy Ngo
LDR R1, ACFG2_VAL STR R1, [R0] . . . Then at the bottom, change ACFG2_VAL from 0x3FFD to 0x0030650D: ACFG2_VAL: .word 0x0030650D Regards, Andy - Original Message From: Andrew Armstrong [EMAIL PROTECTED] To: Andy Ngo [EMAIL PROTECTED] Cc: davinci-linux

Re: NOR flash file system on Davinci

2007-04-11 Thread Andy Ngo
value, maybe someone can tweak it even more to get ever better performance. Regards, Andy - Original Message From: Kim Klaiman [EMAIL PROTECTED] To: Andrew Armstrong [EMAIL PROTECTED]; Andy Ngo [EMAIL PROTECTED] Cc: davinci-linux-open-source @linux.davincidsp.com davinci-linux-open

Re: NOR flash file system on Davinci

2007-04-11 Thread Andy Ngo
comment, any TI tech expert out there. Regards, Andy - Original Message From: Andy Ngo [EMAIL PROTECTED] To: Andrew Armstrong [EMAIL PROTECTED] Cc: davinci-linux-open-source@linux.davincidsp.com Sent: Wednesday, April 11, 2007 8:59:12 AM Subject: Re: NOR flash file system on Davinci

Audio driver DMA problems on custom board

2007-04-05 Thread Andy Ngo
Hi all, In the past week, I finally got our custom Davinci board up and running (u-boot and GIT kernel). Our custom board is pretty much based on the DVEVM design with a few differences. At this point, I'm trying to get audio working and I'm having problems. As mentioned before, everything

Re: XDS510 JTAG emulator setup

2007-03-27 Thread Andy Ngo
well at this point. That said, UART boot mode is very desirable (more convenient than JTAG ) at manufacturing time, as you can load firmware (e.g. u-boot, u-image) via UART rather than JTAG. Regards, Andy - Original Message From: Andy Ngo [EMAIL PROTECTED] To: davinci-linux-open

Source code for flashwriter_nor.out

2007-03-26 Thread Andy Ngo
Hi Daniel, I downloaded dvflasher 1.11 but couldn't find the source code and instructions to generate flashwriter_nor.out. I want to use CCS to debug flashwriter_nor.out for our custom Davinci with our 32MB Spansion NOR flash. flashwriter_nor.out was included as part of nor_flash_package.zip

180Mhz is minimal ARM clock required for USB 2.0

2007-03-22 Thread Andy Ngo
is 60Mhz. Guess, I gotta go bump up that ARM speed a little and tell my hardware engineer there's no but's about it. Regards, Andy - Original Message From: Andy Ngo [EMAIL PROTECTED] To: Amol Lad [EMAIL PROTECTED]; Kevin Hilman [EMAIL PROTECTED]; davinci-linux-open-source

Re: USB port not working in GIT kernel?

2007-03-21 Thread Andy Ngo
is SYSCLK5, which is based on the system clock. So if I changed the system clock, I must somehow adjust the divider (PLLDIV5). Regards, Andy - Original Message From: Andy Ngo [EMAIL PROTECTED] To: Amol Lad [EMAIL PROTECTED]; Kevin Hilman [EMAIL PROTECTED]; davinci-linux-open-source

Re: USB port not working in GIT kernel?

2007-03-20 Thread Andy Ngo
and sorry it took me this long to realize it was what I did to u-boot that caused the USB problems. Regards, Andy - Original Message From: Amol Lad [EMAIL PROTECTED] To: Andy Ngo [EMAIL PROTECTED]; Kevin Hilman [EMAIL PROTECTED]; davinci-linux-open-source@linux.davincidsp.com Sent: Monday

Re: USB port not working in GIT kernel?

2007-03-15 Thread Andy Ngo
going to re-download the current GIT tree again and redo this. ***Sigh Regards, Andy - Original Message From: Kevin Hilman [EMAIL PROTECTED] To: Andy Ngo [EMAIL PROTECTED]; Amol Lad [EMAIL PROTECTED]; davinci-linux-open-source@linux.davincidsp.com Sent: Thursday, March 15, 2007 3:21

USB port not working in GIT kernel?

2007-03-14 Thread Andy Ngo
0xbf025000 (F) cmemk 13468 0 - Live 0xbf02 usbcore 126560 2 pegasus,usb_storage, Live 0xbf00 Anyone else has this problem? Thanks. Regards, Andy - Original Message From: Andy Ngo [EMAIL PROTECTED] To: Jitendra Jain [EMAIL PROTECTED]; davinci-linux-open-source

Re: USB port not working in GIT kernel?

2007-03-14 Thread Andy Ngo
] To: Andy Ngo [EMAIL PROTECTED]; davinci-linux-open-source@linux.davincidsp.com Sent: Wednesday, March 14, 2007 7:09:50 PM Subject: RE: USB port not working in GIT kernel? DIV { MARGIN:0px;} Andy, The default defconfig for DaVinci has the USB driver built as a module and more

Re: USB port not working in GIT kernel?

2007-03-14 Thread Andy Ngo
. Any clues? Regards, Andy - Original Message From: Andy Ngo [EMAIL PROTECTED] To: Kevin Hilman [EMAIL PROTECTED]; davinci-linux-open-source@linux.davincidsp.com Sent: Wednesday, March 14, 2007 7:22:47 PM Subject: Re: USB port not working in GIT kernel? Kevin, Thanks. I saw that going

Re: Sementation fault

2007-03-13 Thread Andy Ngo
Make sure you link in the necessary CE libraries with your ARM application. This is what I had to link in with my ARM application: export CE_DIR = /opt/dvevm_1_10/codec_engine_1_02/packages export DSPLINK_DIR= /opt/dvevm_1_10/dsplink_1_30_08_02/packages export CMEM_DIR =

Re: Sementation fault

2007-03-13 Thread Andy Ngo
and hard to use and I found it very difficult to merge the CE part with my standalone ARM application. - Original Message From: Ring, Chris [EMAIL PROTECTED] To: Andy Ngo [EMAIL PROTECTED]; Subhash [EMAIL PROTECTED]; davinci-linux-open-source@linux.davincidsp.com Sent: Tuesday, March 13

Re: About ... Instructions to set up a NOR JFFS2 filesystem.

2007-03-12 Thread Andy Ngo
Hi, For the NOR device, I built the JFFS2 image via the following command: mkfs.jffs2 -d [root_folder] -o rootfs_image.jffs2 -e 0x1 The last part (-e 0x1) is the erase sector size of the flash device. You can get mkfs.jffs2 utility from MTD utils at

Re: Using boundary scan tool to program NOR flash

2007-03-12 Thread Andy Ngo
Thanks Daniel, I will definitely try your DVFlasher; I just hope the custom board boots up without problems to begin with ;) - Original Message From: Allred, Daniel [EMAIL PROTECTED] To: Andy Ngo [EMAIL PROTECTED]; Peter Wippich [EMAIL PROTECTED] Cc: davinci-linux-open-source

Re: Problem compiling cmemk with GIT kernel

2007-03-12 Thread Andy Ngo
to it in GIT kernel so I forced #define DM642_PCI at the top of kfile.c and the error went away. Both cmemk.ko and dsplinkko.ko loaded fine but I have yet to test my application. Regards, Andy - Original Message From: Kevin Hilman [EMAIL PROTECTED] To: Andy Ngo [EMAIL PROTECTED]; Bobby

Problem compiling cmemk with GIT kernel

2007-03-11 Thread Andy Ngo
Hi, I recently switched from the Montavista kernel to the GIT kernel. I need to rebuild cmemk.ko and dsplinkk.ko with the GIT kernel. When I build cmemk.ko, I get undefined references to class_simple_*: # make make -C

Re: How to create the algorithm packages with a pre-built library?

2007-03-11 Thread Andy Ngo
Hi, I don't know exactly what you're asking but if you're trying to link your own pre-built libraries with a CE server executable, you can refer to my posting I did in the past for help (refer to http://www.mail-archive.com/davinci-linux-open-source@linux.davincidsp.com/msg01726.html). The one

Re: Using boundary scan tool to program NOR flash

2007-03-10 Thread Andy Ngo
. Regards, Andy - Original Message From: Peter Wippich [EMAIL PROTECTED] To: Andy Ngo [EMAIL PROTECTED] Cc: davinci-linux-open-source @linux.davincidsp.com davinci-linux-open-source@linux.davincidsp.com Sent: Saturday, March 10, 2007 6:12:54 AM Subject: Re: Using boundary scan tool

Re: ROOT file system from Flash

2007-03-09 Thread Andy Ngo
sannapaneni [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 9, 2007 1:52:10 AM Subject: Re: ROOT file system from Flash HI You cannot use both of them at same time. They are pin multiplexed. From: Andy Ngo [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL

GIT kernel boot up stalls at INIT: until I hit Enter several times

2007-03-09 Thread Andy Ngo
Hi, I recently switched over from the Montavista Linux Pro edition to the GIT kernel. After building the kernel with the default configuration: make ARCH=arm CROSS_COMPILE=arm_v5t_le- davinci_evm_dm644x_defconfig make ARCH=arm CROSS_COMPILE=arm_v5t_le- uImage I loaded the new kernel

Re: GIT kernel boot up stalls at INIT: until I hit Enter several times

2007-03-09 Thread Andy Ngo
Thanks Kevin, that fixes the problem. == Andy, This is a known issue which the attached patch to the 8250 serial driver fixes (special thanks to Dave Brownell for the patch.) The standard 8250 serial driver does some probing of the hardware which

ramdisk ctrl+c and telnet login

2007-03-09 Thread Andy Ngo
Hi, Now that I got a NOR JFFS2 blank filesystem going, I trying to figure out what I need to put on it. So I'm using the contents in the ramdisk.gz example from the spraah2.pdf (Building a Small Embedded Linux Kernel Example) as my baseline filesystem. Is this a good start? I know I have

Using boundary scan tool to program NOR flash

2007-03-09 Thread Andy Ngo
Hi, Next week, our custom Davinci bread board will be in for me to start bringing it up. The memory parts (NOR flash, DDR) are different than those of the DVEVM. I plan to use the XDS510 or XDS560 JTAG emulator to test those components first to make sure they work. As for flashing the u-boot

re: ROOT file system from Flash

2007-03-08 Thread Andy Ngo
Hi Kishore, I saw your posting last August and was wondering how you get the kernel to recognize the NOR flash as different partitions. I read a few documents recommended by T Ziomek on how to enable MTD JFFS2 in the kernel and did exactly as stated. I followed the instructions exactly and

Request: working .config file for Linux GIT kernel

2007-03-08 Thread Andy Ngo
Hi, After searching more through the list, someone mentioned that we should use the GIT version of the kernel for the updated MTD drivers. I'm going to try to build the GIT version to see if I can get the kernel to recognize the NOR flash (I've been trying to setup a JFFS2 filesystem under

Re: Request: working .config file for Linux GIT kernel

2007-03-08 Thread Andy Ngo
Oops, never mind. I found the default configuration file in the GIT source tree: linux-davinci-2.6/arch/arm/configs/davinci_evm_dm644x_defconfig The name is different for the Montavista kernel version, which has no evm: davinci_dm644x_defconfig. - Original Message From: Andy Ngo

Re: ROOT file system from Flash

2007-03-08 Thread Andy Ngo
failed - Original Message From: Andy Ngo [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: davinci-linux-open-source @linux.davincidsp.com davinci-linux-open-source@linux.davincidsp.com Sent: Thursday, March 8, 2007 1:03:41 AM Subject: re: ROOT file system

Re: Cache coherency issue?

2007-03-02 Thread Andy Ngo
- Original Message From: Ring, Chris [EMAIL PROTECTED] To: Andy Ngo [EMAIL PROTECTED]; Gary, Scott [EMAIL PROTECTED]; Adam Dawidziuk [EMAIL PROTECTED] Cc: davinci-linux-open-source @linux.davincidsp.com davinci-linux-open-source@linux.davincidsp.com Sent: Friday, March 2, 2007 9:19:04 AM

Cache coherency issue?

2007-02-28 Thread Andy Ngo
According to a previous post (http://www.mail-archive.com/davinci-linux-open-source@linux.davincidsp.com/msg00960.html), the XDAIS Framework is suppose to handle cache coherency automatically (points 1-4 in the post above). Recently, I have been adding more and more code and data to my DSP

How do I rebuild dsplinkk.ko

2007-02-15 Thread Andy Ngo
I just recently patched the MV Pro Edition (linux-2.6.10_mvl401) from patches released at MV. Now cmemk.ko wouldn't load correctly: cmemk: disagrees about version of symbol struct_module insmod: error inserting './cmemk.ko': -1 Invalid module format I was able to track down where the cmemk

Re: USB storage, USB-to-nic support

2007-02-15 Thread Andy Ngo
working! I guess I still can't figure out why my SanDisk USB Flash drive isn't working (see errors above). Regards, Andy - Original Message From: T Ziomek [EMAIL PROTECTED] To: Andy Ngo [EMAIL PROTECTED] Cc: davinci-linux davinci-linux-open-source@linux.davincidsp.com Sent: Wednesday

Re: USB storage, USB-to-nic support

2007-02-15 Thread Andy Ngo
kernel. Regards, Andy - Original Message From: Andy Ngo [EMAIL PROTECTED] To: T Ziomek [EMAIL PROTECTED] Cc: davinci-linux davinci-linux-open-source@linux.davincidsp.com Sent: Thursday, February 15, 2007 3:40:57 PM Subject: Re: USB storage, USB-to-nic support OK, I finally got my usb

USB storage, USB-to-nic support

2007-02-14 Thread Andy Ngo
Hi, I'm trying to mount a SanDisk USB flash drive to the DVEVM but have no luck in accessing it. I'm using linux-2.6.10_mvl401 (from DVSDK) and manually loaded the usb-storage module. Did a tail -f /var/log/messages when I connect the drive but did not see any USB activity. I know the DVEVM

DVSDK Montavista Professional Linux distribution - free to use or require licensing fee?

2007-02-14 Thread Andy Ngo
I recently talked to a Montavista sales rep about whether the Professional Linux distribution that comes with the DVSDK is free to use on our custom Davinci board and he says yes; he says there are no royalty fees and that only the Mobilinux version have licensing fees. The only licensing fee is

Re: USB storage, USB-to-nic support

2007-02-14 Thread Andy Ngo
Ngo [EMAIL PROTECTED] Cc: davinci-linux davinci-linux-open-source@linux.davincidsp.com Sent: Wednesday, February 14, 2007 4:07:32 PM Subject: Re: USB storage, USB-to-nic support On Wed, 14 Feb 2007, Andy Ngo wrote: Similarly, I have a smartBridges USB to NIC dongle that I want to use to create

Re: Finally figured out how to link my own libraries into ARM executable using XDC

2007-02-09 Thread Andy Ngo
custom libraries. I couldn’t believe that the XDC User’s Guide or any other document didn’t mention this. Regards, Andy - Original Message From: Andy Ngo [EMAIL PROTECTED] To: Davinci-linux-open-source@linux.davincidsp.com Sent: Thursday, February 8, 2007 2:37:04 PM Subject: Finally

Finally figured out how to link my own libraries into ARM executable using XDC

2007-02-08 Thread Andy Ngo
I don't know if any of you had faced this issue before but I, for the longest time, couldn't figure how to link my own libraries into the ARM application using XDC until now. Hopefully it helps you. I wanted to link -lm -lc -lrt -ldl and my own library myLib.a into the app.x470MV. After

Re: Problem with root file system in flash

2007-02-06 Thread Andy Ngo
Hi, I'm really interested in doing what you guys are doing, in particular, getting a JFFS2 filesystem working in the NOR flash. I posted early for help or instructions on setting up such a filesystem (I have a 4 ramdisk.gz that I like to convert to JFFS2 on the NOR flash) on the DVEVM.

Instructions to set up a NOR JFFS2 filesystem?

2007-02-04 Thread Andy Ngo
Hi all, I've been skimming through all the posts that talked about creating a JFFS2 filesystem on the NOR flash. I got bits here and there from all you posts but I'm still confused and unclear as how to do it. Is there a TI document that talks about this and shows us how to do so? In

Re: Linking/mapping data to IRAM or L1SDRAM on the DSP

2007-01-29 Thread Andy Ngo
/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/armv5tl-montavista-linux eabi/lib I added lopts: ../mylib.a -lm -lc -lrt -ldl , to Pkg.addExecutable in package bld. Thanks. Regards, Andy - Original Message From: Wan, Vincent [EMAIL PROTECTED] To: Andy Ngo [EMAIL PROTECTED

Packed data structure across CMEMK not working

2007-01-26 Thread Andy Ngo
the __attribute__ ((packed)) or else the DSP compiler won't compile correctly. Please advise. Thanks! Regards, Andy - Original Message From: Wan, Vincent [EMAIL PROTECTED] To: Andy Ngo [EMAIL PROTECTED] Cc: davinci-linux-open-source davinci-linux-open-source@linux.davincidsp.com Sent

Changing ARM clock

2007-01-22 Thread Andy Ngo
Hi, I need to change the ARM clock speed (currently at 283Mhz) to a lower speed (168Mhz) to match what we're planning to use on our custom board. I know the change is somewhere in u-boot; does anyone one know what file in u-boot I need to modify? Also, unlike the kernel, I can't seem to

Re: Changing ARM clock

2007-01-22 Thread Andy Ngo
Never mind, I figured it out by looking through the Makefile; to build: 1) cd u-boot 2) make davinci_config 3) make all The file to change the ARM clock is in u-boot/board/davinci/platform.S Regards, Andy - Original Message From: Andy Ngo [EMAIL PROTECTED] To: davinci-linux

Small footprint filesystem

2007-01-22 Thread Andy Ngo
Hi, The DVEVM board comes with a HUGE filesystem on the 2.5” hard drive. On boot up, the Linux kernel mounts the partition (/dev/hda1) to be used as the root filesystem. The filesystem is 1.9GB! This is good for development purposes but when we have our custom board, we will only have a

Re: Can the DSP be a master besides being a slave in the CE API

2007-01-17 Thread Andy Ngo
. Thanks! - Original Message From: Andy Ngo [EMAIL PROTECTED] To: Ring, Chris [EMAIL PROTECTED]; Jean-Michel Mercier [EMAIL PROTECTED]; davinci-linux-open-source@linux.davincidsp.com Sent: Monday, January 15, 2007 1:23:54 PM Subject: Can the DSP be a master besides being a slave

Can the ARM and DSP accessing the RAM simulatenously?

2007-01-17 Thread Andy Ngo
I have question that I wanted to ask. The DVEVM board has 256 MB DDR RAM available to the ARM and DSP; according to the document that comes with codec examples, this RAM is partitioned as follows: · 0x8000 .. 0x8780 (0-120MB; size 120MB): Linux, booted with MEM=120M ·

Size of byte on DSP

2007-01-15 Thread Andy Ngo
What is the size of a byte or char on the DSP side? Is it 1 or is it 2 (data aligned at even boundary)? Thanks, Andy ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com

Re: How to enable DSP tracing

2007-01-11 Thread Andy Ngo
Hi, Does anyone know what this error means? ERROR: assertion violation: sphenc_stubs.c, line 157 I get it after calling: /* encode the frame */ status = SPHENC_process(enc, inBufDesc, encodedBufDesc, encInArgs, encOutArgs); Thanks,

Re: How to enable DSP tracing

2007-01-11 Thread Andy Ngo
. Sorry for overposting with every little problem I have. =( Regards, Andy Ngo - Original Message From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: davinci-linux-open-source@linux.davincidsp.com Sent: Wednesday, January 10, 2007 9:50:46 PM Subject: How to enable DSP tracing Hi, I followed

Re: Sample AIC33 loopback test

2007-01-04 Thread Andy Ngo
-- I guess for now, I will have to do audio processing on the ARM side and only offload encoding/decoding responsibility to the DSP side. Regards, Andy - Original Message From: Andy Ngo [EMAIL PROTECTED] To: Ring

Merging enc and dec codecs

2007-01-04 Thread Andy Ngo
I'm trying to implement the open-source Speex codec (www.speex.org) into a Code Engine Server. The Speex library has both the encoding and decoding support functions. Does that mean I have to link the library to the CE enc codec and also to the CE dec codec? I want to save memory resources

Re: ***SPAM*** Score/Req: 10.50/05.00 - Fwd: Sound driver full duplex problem?

2007-01-04 Thread Andy Ngo
George, the new driver patch by DDV works great. My full duplex loopback application works fine now. - Original Message From: George Gu [EMAIL PROTECTED] To: AndyNgo [EMAIL PROTECTED]; davinci-linux-open-source@linux.davincidsp.com Sent: Thursday, January 4, 2007 4:48:56 PM Subject:

Sound driver full duplex problem?

2007-01-03 Thread Andy Ngo
Hi, I'm trying to do an audio loopback by reading a sample from /dev/dsp and writing it back to /dev/dsp in a while loop; it will work for about 1 to 2 minutes and then no more audio (stalls on the read). I've seen other posts where the solution is to increase intermediate buffer but it

Re: Sample AIC33 loopback test

2007-01-01 Thread Andy Ngo
Hi, Anyone know of a sample program to do a simple audio loopback as I described below? Thanks. Regards, Andy --- Andy Ngo [EMAIL PROTECTED] wrote: Hi, Does anyone have or know if there's a sample DSP loopback program that samples the AIC33 mic input (like say 8Khz, mono, 16-bit

  1   2   >