[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux]How to config Petalinux to surport two banks of FLASH memory ?
Hi John:
Thanks a lot :) .
I add codes like the attached in physmap-flash.c several months
ago, but the 2nd flash doese not work at all.
I also add kernel command line like this:
mtdparts=physmap-flash.0:8M(fpga),256K(boot),128K(bootenv),128K(config),5M(image),18M(spare);physmap-flash.1:32M(flash2fs)
So I think I have done the right thing of kernel configurations, I
should check my hardware more carefully.
Rgs.
Childhood.
2009/11/16 John Williams <john.williams@xxxxxxxxxxxxx>:
> Hi Childhood,
>
> On Wed, Nov 11, 2009 at 1:23 PM, Childhood Hwang
> <childhood.hwang@xxxxxxxxx> wrote:
>
>> Does anyone know how to config Petalinux to surport two banks of FLASH
>> memory ? Is petalinux easy in config this
>> ? And how to ? I want to store Petalinux image etc. in one bank of
>> flash , and the other make a
>> file system.
>
> You can do it like this:
>
> * In arch/microblaze/platform/<myplatform>, add a file extra-flash.c
> (see attached)
> * Add it to the Makefile for that directory
>
> You will probably need to tweak some of the parameters in the C file -
> I copied the attachment verbatim from a project of last year. But, it
> will give you the general idea.
>
> Regards,
>
> John
> --
> John Williams, PhD, B.Eng, B.IT
> PetaLogix - Linux Solutions for a Reconfigurable World
> w: www.petalogix.com p: +61-7-30090663 f: +61-7-30090663
>
___________________________
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/