On 02/23/2014 10:50 AM, Sebastian Huber wrote:
On 02/22/2014 11:56 PM, Joel Sherrill wrote:
On Feb 22, 2014 4:27 PM, Daniel Hellstrom<dan...@gaisler.com>  wrote:
>
>I guess the quick fix until its sorted out would be to depend on GPTIMER[0].timer0 (system clock timer) and remove the AMBA scanning. If Sebastian requires more accuracy he could add a read to the prescaler counter too. Of course, if an IRQ is received inbetween or a wraparound happens the value could not be trusted, however I believe a loop could be added that compares values between register reads...
>
>Joel, would you like me to propose a temporary patch?
Please. This has had us stopped dead since it was merged.

For a quick fix you can comment out leon3_cpu_counter_initialize() in 
bsp_start().

Ok, then that's the temporary fix.


As far as I am concerned it can be committed since it fixes a breakage. When 
Sebastian has a working solution, we can test that.

I would have helped if someone tried to answer my questions.  I will send a 
patch on Monday that hopefully satisfies everyone.

I will focus on answering your email instead. It might be hard to satisfy 
everyone though, I'm not convinced what to do in this case my self at the 
moment.

Daniel

_______________________________________________
rtems-devel mailing list
rtems-devel@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-devel

Reply via email to