* [U-Boot-Users] bug in at91rm9200 interrupt.c [udelay()] ?
@ 2005-07-20 12:52 Mirco Fuchs
2005-07-20 13:18 ` Anders Larsen
0 siblings, 1 reply; 5+ messages in thread
From: Mirco Fuchs @ 2005-07-20 12:52 UTC (permalink / raw)
To: u-boot
Thank you for your fast reply,
i didn't check the list archive on csb637 because i downloaded u-boot version 1.1.2 and thought that it was the newest version available - this thought was obvioulsy wrong ...
But i did check the list now and i couldn't find any patch. The only entry i found was that there was a patch added (on 3.rd May) , but i couldn't find the patch itself.
I also browsed the CVS Repository, but it seems that there is no folder csb637 in the /board directory.
So what do i have to do to download the patch???
(Sorry if this question sounds stupid, but i'm new to this mailing list)
best regards
Mirco
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] bug in at91rm9200 interrupt.c [udelay()] ?
2005-07-20 12:52 [U-Boot-Users] bug in at91rm9200 interrupt.c [udelay()] ? Mirco Fuchs
@ 2005-07-20 13:18 ` Anders Larsen
2005-07-20 15:32 ` Wolfgang Denk
0 siblings, 1 reply; 5+ messages in thread
From: Anders Larsen @ 2005-07-20 13:18 UTC (permalink / raw)
To: u-boot
Mirco Fuchs <mircofuchs@web.de> schreibt:
>i didn't check the list archive on csb637 because i downloaded u-boot
>version 1.1.2 and thought that it was the newest version available - this
>thought was obvioulsy wrong ...
Indeed - you should use top-of-CVS whenever possible.
>
>But i did check the list now and i couldn't find any patch. The only
>entry i found was that there was a patch added (on 3.rd May) , but i
>couldn't find the patch itself.
Bummers - it seems SourceForge does not store attachments.
I'll send you a copy of the patches per private e-mail.
>
>I also browsed the CVS Repository, but it seems that there is no folder
>csb637 in the /board directory.
Like I wrote - the patches haven't been merged yet.
>
Cheers
Anders
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] bug in at91rm9200 interrupt.c [udelay()] ?
2005-07-20 13:18 ` Anders Larsen
@ 2005-07-20 15:32 ` Wolfgang Denk
0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2005-07-20 15:32 UTC (permalink / raw)
To: u-boot
In message <fc.004c4e48003562c23b9aca00c0e693d5.3562c7@rea.de> you wrote:
>
> Bummers - it seems SourceForge does not store attachments.
But the gmane archive does.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"A complex system that works is invariably found to have evolved from
a simple system that worked." - John Gall, _Systemantics_
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] bug in at91rm9200 interrupt.c [udelay()] ?
@ 2005-07-20 10:04 Mirco Fuchs
2005-07-20 11:25 ` Anders Larsen
0 siblings, 1 reply; 5+ messages in thread
From: Mirco Fuchs @ 2005-07-20 10:04 UTC (permalink / raw)
To: u-boot
hello,
i'm porting u-boot to the csb637 board from cogent.
I think i found a bug in the udelay (); function in file interrupt.c (at91rm9200).
Assume the following C code:
...
start = get_timer(0);
/* some code */
udelay(1500) // delay of about 1500us
next = get_timer(start);
...
what we expect is that the value of next holds the difference between next and start in milliseconds. This works fine without the udelay() function between the get_timer() function calls. But in udelay() the global variable timestamp is reset to zero and so there is no longer any relationship between next and start. The effect will be that any time measurements will fail.
I allready looked in some other interrupt.c files, but the udelay() function is handled in a similar way.
Maybe i'm wrong with my assumption, but i don't think so. I'm very interested in your answers.
Regards
Mirco
_________________________________________________________________________
Mit der Gruppen-SMS von WEB.DE FreeMail k?nnen Sie eine SMS an alle
Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] bug in at91rm9200 interrupt.c [udelay()] ?
2005-07-20 10:04 Mirco Fuchs
@ 2005-07-20 11:25 ` Anders Larsen
0 siblings, 0 replies; 5+ messages in thread
From: Anders Larsen @ 2005-07-20 11:25 UTC (permalink / raw)
To: u-boot
Mirco Fuchs <mircofuchs@web.de> schreibt:
>i'm porting u-boot to the csb637 board from cogent.
Did you check the list archives?
U-Boot already runs on the csb637 board - the patches were submitted
to the list on the 3.rd of May (but alas, haven't been merged yet).
This was mentioned again on this list less than one week ago.
Cheers
Anders
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-07-20 15:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-20 12:52 [U-Boot-Users] bug in at91rm9200 interrupt.c [udelay()] ? Mirco Fuchs
2005-07-20 13:18 ` Anders Larsen
2005-07-20 15:32 ` Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2005-07-20 10:04 Mirco Fuchs
2005-07-20 11:25 ` Anders Larsen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.