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

Re: [microblaze-uclinux] uClinux boot problem



Yasushi SHOJI wrote:

> SERRANO Fabrice wrote:

>>Here is the complete bootlog :
>>Linux version 2.4.26-uc0 (fabrice@localhost.localdomain) (gcc version
>>2.95.3-4 X
>>ilinx EDK 6.2.1 Build EDK_Gm.12.3) #24 ven jun 4 10:24:25 CEST 2004
> 
> seems like you are using the new compiler.
> 
>>On node 0 totalpages: 8192
>>zone(0): 8192 pages.
>>zone(1): 0 pages.
>>zone(2): 0 pages.
>>CPU: MICROBLAZE
>>Console: xmbserial on UARTLite
>>Kernel command line:
>>Calibrating delay loop...
> 
> 
> I just tested suzaku with msrset/msrclr enabled, suzaku stopped the
> same place. I haven't dig any deeper to see what's causing this.
> obviously interrupt is not working as John said in the other mail.

Sorry for the obvious question - but have you enabled the new MSR 
instructions in the hardware build (and platgen tweak) - as per below?

John

===== begin quote ====
The only catch is that a gremlin in EDK6.2 (and also SP1 alas) means 
that you have to twiddle your microblaze.mpd file to allow you to set 
the C_USE_MSR_INSTR parameter.  It's trivial:

edit
/edk6.2/hw/XilinxProcessorIPLib/pcores/microblaze_v2_10_a/data/microblaze_v2_1_0.mpd

add a new line (somewhere around line 50, among the other PARAMETER 
declarations, doesn't matter):

PARAMETER C_USE_MSR_INSTR = 0, DT = integer

Finally, edit the system.mhs file of your favourite mbvanilla target, 
and add the following in the microblaze_0 block:

PARAMETER C_USE_MSR_INSTR = 1

___________________________
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/