[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] ML402 kernel config : option missing "CFI Flash device PetaLinux AutoConfig"
Hi Nicolas,
On Tue, May 5, 2009 at 6:49 AM, Nicolas Herve <nicolas.herve@xxxxxxxxx> wrote:
> I am tempting to install petalinux on a Xilinx ML402 board.
> I am following the "PetaLinux Platform From Scratch" tutorial from
> page http://developer.petalogix.com/wiki/BoardGuides/Custom/Tutorial
> but when configuring kernel for "Mapping drivers for chip access" I do
> not have the option reported on the tutorial : "CFI Flash device
> PetaLinux AutoConfig"
> (neither the "Generic uClinux RAM/ROM filesystem support"), so I did
> use theses options :
> [*] CFI Flash device in physical memory map
> (0x88800000) Physical start address of flash mapping
> (0x00800000) Physical length of flash mapping
> (4) Bank width in octets
> (Addresses are those found in the EDK or Kconfig.auto)
You should set the start and length to zero. We detect these
automatically (at compile time) in the platform driver
archx/microblaze/platform/common/flash.c
Here are sample settings for MTD:
CONFIG_MTD_COMPLEX_MAPPINGS=y
CONFIG_MTD_PHYSMAP=y
CONFIG_MTD_PHYSMAP_START=0x0
CONFIG_MTD_PHYSMAP_LEN=0x0
CONFIG_MTD_PHYSMAP_BANKWIDTH=2
CONFIG_MTD_UCLINUX=y
CONFIG_MTD_UCLINUX_EBSS=y
Hope this helps,
,
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/