leon3 broken for hello

Sebastian Huber sebastian.huber at embedded-brains.de
Sun Feb 23 09:50:01 UTC 2014


On 02/22/2014 11:56 PM, Joel Sherrill wrote:
> On Feb 22, 2014 4:27 PM, Daniel Hellstrom<daniel at 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().

>
> 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.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list