Re: Undocumented silicon bug

2012-12-13 Thread Thomas Lange
On 2012-12-13 14:28, Sekhar Nori wrote: > On 12/13/2012 2:17 AM, Thomas Lange wrote: >> The time drift problem I have been chasing for a while, see >> http://linux.davincidsp.com/pipermail/davinci-linux-open-source/2012-December/025821.html >> , seems to be due to an und

Undocumented silicon bug

2012-12-12 Thread Thomas Lange
The time drift problem I have been chasing for a while, see http://linux.davincidsp.com/pipermail/davinci-linux-open-source/2012-December/025821.html , seems to be due to an undocumented silicon bug. The attached patch to master ( c22cf7755db6500df037cecdd6b290394d82392e Origin: git://gitorious.

Time drift issue with frequent CS

2012-12-06 Thread Thomas Lange
Short version: Doing this in user space: while(1){ usleep(1); } causes kernel time to drift _a lot_. Clock rate seems to become ~1000(!) ppms off. Long version: We have seen some time drift problems for a long time, but they got a lot worse when implementing a new DMA function that increase

[PATCH] Davinci: Do not reset EMAC TX overruns counter on read

2011-03-09 Thread Thomas Lange
Don't reset tx_fifo_errors when reading out current EMAC stats. (tx_fifo_errors shows up as TX overruns in netdev stats.) Without this correction, the old counter value is lost every time stats are read out. Signed-off-by: Thomas Lange --- drivers/net/davinci_emac.c |2 +- 1

[PATCH] Do not reset EMAC TX overruns counter on read

2011-03-09 Thread Thomas Lange
Don't reset tx_fifo_errors when reading out current EMAC stats. (tx_fifo_errors shows up as TX overruns in netdev stats.) Without this correction, the old counter value is lost every time stats are read out. Signed-off-by: Thomas Lange --- drivers/net/davinci_emac.c |2 +- 1

Re: mmap broken on DM644x?

2010-05-31 Thread Thomas Lange
On 2010-05-31 14:52, Nori, Sekhar wrote: On Wed, May 26, 2010 at 19:04:40, Thomas Lange wrote: Short version: mmap does not work for me. I don't think data cache is flushed before and after user space process runs which makes kernel and user space see different data due to dirty cache

mmap broken on DM644x?

2010-05-26 Thread Thomas Lange
Short version: mmap does not work for me. I don't think data cache is flushed before and after user space process runs which makes kernel and user space see different data due to dirty cache lines. Long version: I could not get mmap to work properly on my davinci board. I have narrowed the proble

Re: Flashing NAND for u-boot from Linux - ECC differences?

2008-06-26 Thread Thomas Lange
Bernard Blackham wrote: > [Cc'ing Sergey who has been here before and might know more...] > > Troy Kisky wrote: >> Not only are the ECC bytes stored in different locations in the spare >> area, but the ECC value stored is also different. (davinci-git vs U-boot) >> >> I've modified both the linux k