[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] uClinux boot problem



Hi Fabrice,

SERRANO Fabrice wrote:

> I'm new to uClinux and I'm trying to run it on an Avnet board (SpartanIIE
> evaluation Kit (xc2s200e) with the Communication/memory Module).

Anyone else got a port for this board?

> Your work have been really helpful but I'm having difficulties booting the
> kernel. In fact boot sequence seems to stop at "Calibrating delay loop..." .

This is where the kernel first enables interrupts.  A freeze there 
usually means that the system timer is not ticking, or at least that the 
interrupt is not being generated or handled properly.  The calibration 
loop terminates when the jiffies counter reaches a certain value.  The 
jiffies counter is updated in the system timer interrupt handler.  Thus, 
no interrupt, no jiffies -> we hang :(

> I've also join the system.mhs file of my board.

excerpt:

BEGIN microblaze
  PARAMETER INSTANCE = my_microblaze
  PARAMETER HW_VER = 2.10.a
  PARAMETER C_USE_BARREL = 0
  PARAMETER C_USE_DIV = 0

You've disabled the hardware divider - did you change also the kernel 
configuration for this?  make menuconfig -> customise kernel -> 
processor features -> hardware divider...

Also your mhs doesn't specify hardware multiplier either - does platgen 
make it on or off by dfault?  Eitherway, try removing that setting in 
the kernel config as well.

Hope this helps.  If it does, it's a FAQ candidate!

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/