leon3 broken for hello
Daniel Hellstrom
daniel at gaisler.com
Mon Feb 24 09:51:30 UTC 2014
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<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().
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
More information about the devel
mailing list