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

Re: [microblaze-uclinux] Re: [microblaze-uclinux] LMB usage



Hi Mickael and John,

> Hi Mickael,
> 
> Haudebourg, Mickael (Silica) wrote:
>>  
>>   thanks . But why do we have to map the DDR in this place. What is put
>> by linux in this place ? Var directory ?
>> I want to put the flash at 0
> 
> You can put flash at zero if you want to - but you will obviously have
> to make sure the contents are sensible before the CPU boots.
> 
> You will need to do a bit of kernel and u-boot customisation to support
> this configuration.  For example kernel early startup in
> arch/microblaze/kernel.setup.c does things like copying
> reset/interrupt/exception vectors down to addresses 0x0 ->0x20.  In your
> system these will have to be written into flash before boot somehow.

If you want to use U-BOOT from denx.de you will have to use non interrupt
version because interrupt version use vectors as John wrote for linux.

> Similarly the PetaLinux autoconfigured u-boot target makes some
> assumptions about memory layout, which you'll need to modify.
> 
> So, not impossible at all, but you have some work to do to make it happen.

Yes. It is not impossible but if you want to use you will have to do some work.

If you want to use one kernel in final product it is no problem to do it. But
for developing is this way improper because on every cycle you will have to
rewrite first flash block. I know todays flash has million rewriting cycles but ...

Your first sentence in your email was you want to remove LMB. Yes you can do it.
And you can use bram blocks on OPB(PLB - it is not so hard to write this IP
core) and placed it from zero.

Regards,
Michal

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