There is a porting guide at:
which is quite useful. Read the "System time and
timer" section. It describes to some extent
implementing timer services.
--- Nguyen Thanh Binh <firstname.lastname@example.org> wrote:
> Hi Kevin,
> > > When booting Monta Vista Linux on Memec board
> > > (Virtex-4 FX12 LC), it crashed after printing
> > > following message:
> > >
> > > "Calibrating delay loop..."
> > >
> > > By looking at the source code, I found that in
> > > init/main.c the problem came from the
> > calibrate_delay
> > > function: jiffies was not incremented (jiffies
> > > always equal to 0).
> > >
> > > Have anyone get the similar problem or any
> > experience
> > > to fix it?
> > I take it that by "crashed", you mean it hung? If
> > so,
> > it sounds like you aren't getting any timer
> > interrupts.
> You are right. Because jiffies was not incremented
> the below code segment in function calibrate_delay
> file init/mian.c hung:
> ticks = jiffies;
> while (ticks == jiffies) ;
> As I am a newbie, I did not find how to fix it.
> Thank you for any help.
> Binh Nguyen
> Nguyễn Thanh Bình
> How much free photo storage do you get? Store your
> snaps for FREE with Yahoo! Photos