Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2012 07:33:20 -0800
From:      Stephen Hurd <shurd@sasktel.net>
To:        Oleksandr Tymoshenko <gonzo@freebsd.org>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: svn commit: r244758 - head/sys/arm/broadcom/bcm2835
Message-ID:  <50DDBBC0.7070306@sasktel.net>
In-Reply-To: <201212280138.qBS1chFm022181@svn.freebsd.org>
References:  <201212280138.qBS1chFm022181@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Oleksandr Tymoshenko wrote:
> Author: gonzo
> Date: Fri Dec 28 01:38:43 2012
> New Revision: 244758
> URL: http://svnweb.freebsd.org/changeset/base/244758
>
> Log:
>   Fix event timer on Raspberry Pi
>   
>   - Disable interrupt when updating compare value in order to
>      make this operation atomical
>   
>   - Increase minimum period for event timer. Systimer on BCM2835
>       is compare timer, so if minimum period is too small it might
>       be less then fraction of time between "read current value" and
>       "set compare timer" operations. It means that when timer is armed
>       actual counter value is more then compare value and it will take
>       whole cycle (~32sec for 1MHz timer) to fire interrupt.
>   
>   Submitted by:	Daisuke Aoyama <aoyama at peach.ne.jp>

This seems to have fixed the long hang issue I was having... package
building ran overnight without the clock losing time or any hangs occuring.

Thanks!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50DDBBC0.7070306>