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

Re: [microblaze-uclinux] More details of my problem - uClinux freezestoo



Hi Ivan,

Thanks for the detailed reply - please see my comments below

Ivan wrote:

[snip MHS contents]

Well certainly that looks reasonable - I see from this line
> 
>  PARAMETER C_CLK_FREQ = 50_000_000

that you are using a 50MHz clock - in the kernel config there is a 
parameter to set the system clock speed, and it defaults to 66MHz.  You 
don't mention if you have changed this, but it is necessary.

It's under kernel settings -> processor options -> clock frequency

> This two last gpio are controlled by the bootloader
> program (in LMB memory) to request the memory, because
> the SRAM memory is shared between the host and FPGA
> throw a DMA Arbitrer.
> 
> I use a opb_emc to managed the SRAM memory (the memcon
> is deprecated). Also, i don't have DDR Memory.

That should all be ok - the port was originally done in 1MB of SRAM, so 
your setup should be fine.

>>>(c) take the existing mbvanilla platform, and make 
>>>the absolute minimal changes necessary to make it 
>>>work on your board.  Test it first by writing simple
> 
>>> microblaze programs that spits stuff out on the 
>>>serial port, toggles the LEDs, that sort of thing.
> 
> 
> I hope that my changes was minimal :)

It's something that needs to be addressed - ideally you could just copy 
xparameters.h into the kernel and be done with it, but it doesn't quite 
work that way yet... :-(

> I had executed several programs with this hardware
> configuration as: a image des/IDEA cipher program,
> etc... an all work ok.

OK, that's a good sign.

> These are the actual changes that i done following
> your instructions (but the result is the same):

these look reasonable - check the clock frequency thing and let us know...

Cheers,

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/