Re: SD card usage

2009-04-01 Thread Andrew Armstrong
Try mounting it with the sync option and seeing how long it takes to unmount then. Andrew Ondrej Pindroch wrote: Hi I am using sd card to store pictures and other relevant data in my system. I hoped it will copy faster, but it is not a problem. I have pretty bigger problem to umount sdcard.

tvp5146 Driver bug?

2008-10-29 Thread Andrew Armstrong
I was having an issue using a black and white camera with a DM6446 board. I think I may have found the issue, the problem is in the Ti Driver, it seems it always the colour subcarrier lock to be present or else it thinks there is a problem! So line 161 of tvp5146.c (/drivers/media/video) which

Re: SD card support in U-Boot

2008-09-04 Thread Andrew Armstrong
Jitendra, You might find logging onto the Neuros OSD SVN and downloading their version of UBOOT more useful, it has SD card, framebuffer and a bunch of other things working. You should be able to get their mode working on a UBOOT release of at least 1.3.4 Regards, Andrew On Thu, 2008-09-04

Re: [Fwd: SD card support in U-Boot?]

2008-07-24 Thread Andrew Armstrong
Ivan, Was this code ever tidied up or posted upstream? Best Regards, Andrew On Fri, 2007-08-31 at 06:09 +0300, Ivan Tonchev wrote: OK Guys, Here's the SD card support from u-boot. I received permission from TI (thanks Roger!) to release this code under the Common Public Licence. I

Re: Re: Re: RE: Buggy Audio Driver

2008-06-25 Thread Andrew Armstrong
will probably revisit this in the near future. Best Regards, Andrew On Wed, 2008-06-25 at 11:19 +0800, jp_liu wrote: Andy Ngo,Andrew Armstrong,PQuiney,davinci-linux-open-source, yes, I changed it base david's version(btw, thanks david). the sound is bad because commented out

Buggy Audio Driver

2008-06-24 Thread Andrew Armstrong
Hi Guys, I have been playing with the audio driver. All I want to do is a simple loopthrough function, however, I am finding that the driver locks up quite randomly when its file handles are being closed. Has anyone else come up with this issue? I have attached the function I am playing with, if

Re: Hard Disk DMA Problem

2008-06-11 Thread Andrew Armstrong
I was wondering if any resolution to this problem was ever found? I am seeing exactly the same message. The drive works with PIO, but not with IDE. Regards, Andrew On Fri, 2007-01-05 at 16:02 +0800, gao yuechao wrote: I encountered the following error when I use hard disk in DMA mode:

Re: Hard Disk DMA Problem

2008-06-11 Thread Andrew Armstrong
at 18:26 +0800, gao yuechao wrote: Please check your hardware design, especially your pcb layout: 1. Check whether your PCB layout follows IDE design rules; 2. use proper resistors. Regards Gao (www.ruiva.com.cn) 2008/6/11 Andrew Armstrong [EMAIL PROTECTED]: I was wondering if any

Re: Hard Disk DMA Problem

2008-06-11 Thread Andrew Armstrong
annoying! Regards, Andrew On Wed, 2008-06-11 at 18:26 +0800, gao yuechao wrote: Please check your hardware design, especially your pcb layout: 1. Check whether your PCB layout follows IDE design rules; 2. use proper resistors. Regards Gao (www.ruiva.com.cn) 2008/6/11 Andrew

Re: DM355: Unacceptable SD card write performance

2008-04-23 Thread Andrew Armstrong
This sounds familiar . On Wed, 2008-04-23 at 14:52 -0400, Peter Sommerfeld wrote: Hi, I've been doing some testing with SD card writes on the DM355 devkit. The performance is dismal. I am using a kernel retrieved from TI's site on Apr 20/08. I built the kernel with the only change to

DVFlasher

2008-04-18 Thread Andrew Armstrong
Hi Guys, Does anyone know if there is a native Linux (or just vanilla C) version of DVFlasher in existence? If so, please let me know! Andrew ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com

RE: Please help me for SDIO Driver

2008-02-01 Thread Andrew Armstrong
Message- From: Andrew Armstrong [mailto:[EMAIL PROTECTED] Sent: Thursday, January 31, 2008 11:30 AM To: Maupin, Chase Cc: davinci-linux-open-source@linux.davincidsp.com Subject: RE: Please help me for SDIO Driver Chase, I thought this might be the case, however issuing a sync does

RE: DV Flasher

2008-02-01 Thread Andrew Armstrong
Catalog DSP / Emerging End Equipment -Original Message- From: Andrew Armstrong [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008 5:04 AM To: Allred, Daniel Cc: Davinci-linux-open-source@linux.davincidsp.com Subject: DV Flasher Daniel, I am trying to program a recent

RE: Please help me for SDIO Driver

2008-01-31 Thread Andrew Armstrong
All, I am using possibly an earlier version of this driver, writing to an SD card. I have noticed that system memory gets progressively smaller and smaller during writing and is only freed when I unmount the device. Does anyone have any idea where this memory is ending up? Is there a way to stop

RE: Please help me for SDIO Driver

2008-01-31 Thread Andrew Armstrong
. Sincerely, Chase Maupin Software Applications Catalog DSP Products e-mail: [EMAIL PROTECTED] phone: (281) 274-3285 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Armstrong Sent: Thursday, January 31, 2008 10:47 AM To: davinci-linux-open

Re: CMEMK Error: GETPHYS: Failed to convert virtual 0x8425c050 to phy sical.

2007-09-10 Thread Andrew Armstrong
Hi, I would really like to try out this module, but do not have the means of compiling it at the moment (not in the office). I would be really grateful is someone could send me the latest patched version (for standard EVM ddr configuration) to try. I periodically see CMEMK errors and would like

Re: Framebuffer Console

2007-08-30 Thread Andrew Armstrong
Ivan, That does the trick nicely!! Regards, Andrew On Thu, 2007-08-30 at 15:57 +0300, Ivan Tonchev wrote: Hi Anrew, mknod /dev/console c 5 1 BR, Ivan ___ Davinci-linux-open-source mailing list

I2C blocking issue

2007-08-20 Thread Andrew Armstrong
Hi Guys, I have a little question, I am sure will be easily answered. I am currently trying to access certain I2C devices, such as the AIC33, by opening up the /dev/I2C/0 port. This does not seem to want to work, as I assume the AIC33 driver is somehow locking communications to this I2C device.

Re: RTC on DaVinci based board.

2007-08-14 Thread Andrew Armstrong
Hi, look in the kernel source /char/rtc-davinci.c everything you need should be in there. Andrew On Tue, 2007-08-14 at 19:21 +0530, Jitendra wrote: Hello all, I am using DaVinci based custom board. We are using M41T81S RTC chip. Can anyone guide me how to make driver for above chip

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

2007-08-10 Thread Andrew Armstrong
, Andy - Original Message From: Andrew Armstrong [EMAIL PROTECTED] To: Andy Ngo [EMAIL PROTECTED] Cc: Roberto Waltman [EMAIL PROTECTED]; davinci-linux-open-source @linux.davincidsp.com davinci-linux-open-source@linux.davincidsp.com Sent: Friday, August 10, 2007 8:14:37 AM Subject: Re

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

2007-08-10 Thread Andrew Armstrong
Here is another interesting take on this problem, once booted into Linux (from whatever means), can you access the NOR directly without having to use the MTD interface? Andrew On Fri, 2007-08-10 at 10:48 -0400, Roberto Waltman wrote: Andy Ngo wrote: ... ... Why does the ramdisk.gz image

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

2007-08-10 Thread Andrew Armstrong
Andy, Through my own tests, I find a large uncompressed image copy is way way faster than a compressed one with a decompress stage. It is worth doing if you can fit it in your NOR. (make sure you se cp.l rather an cp.b in UBOOT!) Regards, Andrew On Fri, 2007-08-10 at 08:10 -0700, Andy Ngo

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

2007-08-10 Thread Andrew Armstrong
Andy, I have a brief look at this myself, Im afriad I could not spend too much time on it, but I think it was something to do with the memory map. I think you can specify this somewhere in the kernel?? Regards, Andrew On Thu, 2007-08-09 at 22:11 -0700, Andy Ngo wrote: Hi Andy, Thanks for

RE: DaVinci I2C Speed

2007-08-06 Thread Andrew Armstrong
. The main 'problem' is that a bit-bang driver takes CPU time while the hardware version should be faster. But with a transfer of 100 us per byte the overhead of an IRQ driven system is about the same. Arie de Muijnck -Original Message- From: Andrew Armstrong [mailto:[EMAIL

DaVinci I2C Speed

2007-08-03 Thread Andrew Armstrong
Has anyone else noticed that the DaVinci I2C bus runs at an extrememly slow speed? The code appears to acknowledge that it should run faster but it has been set to run at only a fraction of its potential? Setting it higher just kills the interface. Regards, Andrew

RE: DaVinci I2C Speed

2007-08-03 Thread Andrew Armstrong
. The driver seems to wait for a system tick somewhere. We just replaced it with a bit-banging driver - 'problem solved' until we have time to dig into the DaVinci driver. Arie de Muijnck -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Armstrong

Re: DaVinci I2C Speed

2007-08-03 Thread Andrew Armstrong
-03 at 16:03 +0200, Peter Wippich wrote: Hi Andrew, On Fri, 3 Aug 2007, Andrew Armstrong wrote: Has anyone else noticed that the DaVinci I2C bus runs at an extrememly slow speed? The code appears to acknowledge that it should run faster but it has been set to run at only a fraction

Re: DaVinci 2.6.20 Development Forum = What about a Wiki/FAQ ?

2007-06-21 Thread Andrew Armstrong
their stuff. Regards, Andrew On Thu, 2007-06-21 at 12:54 +0300, Ivan Tonchev wrote: Hi Andrew, Your wiki is beautiful! I created a new entry on the main page -- Undocumented Findings -- and one article -- DaVinci RBL Thanks, Ivan Andrew Armstrong wrote: You could try the unofficial wiki

Re: Accessing Tvp5146 through i2c

2007-05-22 Thread Andrew Armstrong
Srikanth, Are you sure the kernel driver isnt blocking userspace access to the device. I suspect it could be. You should be able to access those registers via ioctl calls. Have a look at the drive under /drivers/media/video Regards, Andrew On Mon, 2007-05-21 at 18:05 +0530, srikanth bomma

Re: Re: MMC Performance Issue - where are you Ti?

2007-05-16 Thread Andrew Armstrong
, I feel that you are getting this results because of low freq. Can you try and increase freq. I think you will get information for how to increase freq in manual. (you will need to set couple of reg.s) Regards, Viral On 5/11/07, Andrew Armstrong

Re: MMC Performance Issue - where are you Ti?

2007-05-16 Thread Andrew Armstrong
been great for the EVM to have a site like this one (randomly googled):- http://wiki.neurostechnology.com/index.php/Neuros_OSD Anyways thats enough of my rant - its a love/hate relationship at the moment! Andrew T Ziomek wrote: On Wed, 16 May 2007, Andrew Armstrong wrote: . . . I think

Re: MMC Performance Issue

2007-05-11 Thread Andrew Armstrong
to getting this upto any reasonable speed is increase the rate at which the kernel services this device. Any ideas? Andrew On Thu, 2007-05-10 at 10:04 +0100, Andrew Armstrong wrote: Hi Guys, I have been experimenting with the MMC/SD interface. I am finding that transfers are really slow

MMC Performance Issue

2007-05-10 Thread Andrew Armstrong
Hi Guys, I have been experimenting with the MMC/SD interface. I am finding that transfers are really slow, with figures like 3.96 mbit/s (async) and 2.94 mbit/s (sync). Does anyone know anything about the MMC driver and where the bottleneck is? I am considering modifying it accordingly, but I do

Re: DV Flasher

2007-05-10 Thread Andrew Armstrong
Philip, If you read the readme file included with DV flasher it describes using mono under a linux machine to enable you to execute it. Andrew Philip Balister wrote: Does anyone know if there is a Linux DV Flasher program? I'm reading SPRAAI0 and 4 at the moment and it would be handy avoid

Re: NOR flash file system on Davinci

2007-04-11 Thread Andrew Armstrong
From: Andrew Armstrong [EMAIL PROTECTED] To: Andy Ngo [EMAIL PROTECTED] Sent: Wednesday, April 11, 2007 12:18:14 AM Subject: Re: NOR flash file system on Davinci Hi Andy, Glad to hear you are solving some of these difficult issues! I have a question for you, I feel you are probably the most

Re: How to detect MMC-SD Card from an ARM application ?

2007-04-11 Thread Andrew Armstrong
Sweta, Sorry to hijack your thread a little. I myself have has reasonable success with MMC cards, but cannot read or write to SD cards (the system does not detect them), am I missing a patch for this? I have asked on the forum a few times but no definite answer, it would be great if you knew the

Davinci Audio OSS

2007-03-29 Thread Andrew Armstrong
Hi Guys, Has anyone made head or tails of the OSS Audio driver (for AIC33) on the EVM? I am currently trying to figure out which drivers do what but it would be a lot easier with some sort of schematic! Regards, Andrew ___ Davinci-linux-open-source

Re: External I2C device (Solved)

2007-03-16 Thread Andrew Armstrong
Ignore this! Completely a lame mistake by me! My script that compiles the kernel runs a make clean, which applies montavista patches, hence overwrites my code!! Only discovered it after losing all my changes! When it doubt, its something simple! Andrew Andrew Armstrong wrote: Guys, Amol

UBOOT Compilation

2007-03-08 Thread Andrew Armstrong
Hi Guys, Have any of you managed to compile and get running U-BOOT via the source available on the Ti website? (u-boot-1.1.3_rel_00.05.04-tisb.tar.gz) As far as I am aware I have correctly configured and made the project (for default NOR), however the uboot.bin file generated, once uploaded via

Re: UBOOT Compilation

2007-03-08 Thread Andrew Armstrong
the time to clean up my code I'll send a patch for some actual u-boot for davinci here. Maybe within the next two weeks. Ciao, Peter On Thu, 8 Mar 2007, Andrew Armstrong wrote: Hi Guys, Have any of you managed to compile and get running U-BOOT via the source available

Re: UBOOT Compilation

2007-03-08 Thread Andrew Armstrong
this is describing the process you mentioned. Regards, Andrew On Thu, 2007-03-08 at 11:30 +0100, Peter Wippich wrote: Hi Andrew, On Thu, 8 Mar 2007, Andrew Armstrong wrote: Peter, I will have a more detailed look at this! I assumed that the Ti DVserialboot was essentially providing

Re: SD-Card support for DaVinci

2007-02-19 Thread Andrew Armstrong
Hi Guys, Is there any update to the SD card status? Ive been using MMC Plus cards without a problem, but cannot see the SD cards. Andrew On Wed, 2007-01-17 at 15:38 +1300, Robert Melchers wrote: Does anyone know if there is driver support for SD-Cards available? Rather than the standard

Scratchbox

2007-01-25 Thread Andrew Armstrong
Hi Guys, Does anyone out there have a scratchbox setup for cross compiling on the EVM? I think scratchbox might be a great time-saver, however I am not sure that the standard cross compiling tools it comes with are compatible with the EVM? (well, my hello world causes an illegal instruction on

Re: I2CCompilation

2007-01-11 Thread Andrew Armstrong
I sure someone out there has played with the I2C libraries?!? On Wed, 2007-01-10 at 14:58 +, Andrew Armstrong wrote: Hi Guys, I am experimenting with I2C and trying to compile some code using the i2c.h header file found in the usual directories. The problem is on compilation I get

I2CCompilation

2007-01-10 Thread Andrew Armstrong
Hi Guys, I am experimenting with I2C and trying to compile some code using the i2c.h header file found in the usual directories. The problem is on compilation I get a bunch of errors, of which I include a sample. Has anyone had the same experience? it does seem to complain of a missing file,

Re: Filesystem on Nand

2007-01-04 Thread Andrew Armstrong
James, Two interesting things, 1): jffs2: Erase block size too small (16KiB). Using virtual blocks size (32KiB) instead I recall is is caused by not specifying the correct option when setting up the flash, does not seem to be a big deal on read only. 2): VFS: Mounted root (jffs2 filesystem)

Re: Using initrd

2006-12-13 Thread Andrew Armstrong
Guys, I would like to tag something alond to this request, I myself am in the position of having a working self-contained NAND setup (boot, kernel and filesys) and a step-by-step procedure, however, am having difficulty doing the same in NOR. I have the UBOOT and Kernel running as it should, but

Re: Video Encoding Buffers

2006-10-31 Thread Andrew Armstrong
Cheers, Yes, this was easier done than said, thanks! Andrew On Mon, 2006-10-30 at 13:50 -0600, T Ziomek wrote: In particular I was wondering if it is possible to modify a file such as ceapp.c to access the input buffer prior to encoding. Certainly it appears you can see the buffer, but

Video Encoding Buffers

2006-10-30 Thread Andrew Armstrong
Hi Guys, Have any of you started to play with video encoding? In particular I was wondering if it is possible to modify a file such as ceapp.c to access the input buffer prior to encoding. Certainly it appears you can see the buffer, but as of yet, its format remains unknown to me. Regards,

Re: uboot splash screen

2006-10-24 Thread Andrew Armstrong
More specifically try bootlogo.h, that has a whole bunch of stuff in it that suspiciously looks like a bitmap array. Andrew On Mon, 2006-10-23 at 17:22 +0200, Carlos Ojea wrote: I thought those boot splash (i.e. the montavista logo) were hardcoded in arrays in one of the

Re: Minimal Configuration

2006-10-24 Thread Andrew Armstrong
If only it were ;) I just need to find out at what point does the console come up. I assume its something to do with the inittab and getty, but I cant prove or disprove its even getting that far! Andrew On Tue, 2006-10-24 at 10:56 +0200, Carlos Ojea wrote: Can anyone advise on how to make the

Minimal Configuration

2006-10-23 Thread Andrew Armstrong
Hi Guys, I am about to start a little project to workout the minimal install of Linux required for a basic functioning system. I was wondering if anyone would be interested in collaborating in an effort? I have started with a minimal bin,dev,etc,lib type structure, but the Kernel Panics! Does

Re: Minimal Configuration

2006-10-23 Thread Andrew Armstrong
With the sbin added, it seems to lock up. I will have to start getting the debugging logs etc. I was hoping to get a minimal busybox type system running. It would be cool to get it all onto 16 or 32mb Andrew On Mon, 2006-10-23 at 13:24 +0200, Carlos Ojea wrote: I have started with a minimal

Re: uboot splash screen

2006-10-23 Thread Andrew Armstrong
I thought those boot splash (i.e. the montavista logo) were hardcoded in arrays in one of the header files? On Mon, 2006-10-23 at 15:47 +0200, Carlos Ojea wrote: Does somebody know if davinci's uboot is capable of displaying a splash screen? I modified include/configs/davinci.h to add 'bmp'

Re: I2C Compliation Problem

2006-10-12 Thread Andrew Armstrong
. It would have been nice if they included this functionality in the first place! Andrew On Thu, 2006-10-12 at 14:00 +0200, Lorenzo Lutti wrote: From: Andrew Armstrong [EMAIL PROTECTED] That did the trick! Have you hacked up your EVM yet to see if it works as an 'IN' yet? Im considering my

Update _1_10 NAND and SW3

2006-10-12 Thread Andrew Armstrong
Quite a few people have come across the Failed to open codec engine error and supposedly can sort this out by setting COUT3 to ON. Here is an interesting one, once you have the EVM using NAND instead of NOR (mine at least) refuses to boot with this jumper set to ON and goes back to the

I2C Compliation Problem

2006-10-11 Thread Andrew Armstrong
Greetings guys, I am trying to compile a pretty simple program that supposedly will flash some of the EVM's LEDS (Basic I2C interfacing). When I try to compile this on either the EMV or via the crosscompiler on my host machine I get a several screenfuls of complaints. I have checked my

Re: I2C Compliation Problem

2006-10-11 Thread Andrew Armstrong
That did the trick! Have you hacked up your EVM yet to see if it works as an 'IN' yet? Im considering my options for adding a button! Andrew On Wed, 2006-10-11 at 14:26 +0200, Lorenzo Lutti wrote: From: Andrew Armstrong [EMAIL PROTECTED] I am trying to compile a pretty simple program

UART UBL

2006-10-05 Thread Andrew Armstrong
Greetings All, I managed to corrupt the UBOOT on my EVM recently and I am still waiting for delivery of my SDK to fix this. So I decided to look at UART booting. I have written a nice graphical application in Linux that can hopefully be used to to restore the UBL via UART. I am being a little