[ELDK] EBC error
Stefan Roese
sr at denx.de
Fri Sep 4 09:29:00 CEST 2009
Hi Zaahir Khan,
On Thursday 03 September 2009 14:08:49 Zaahir Khan wrote:
> I am using customized board based on sequoia(ppc440epx).
>
>
> FPGA is connected EBC @C0000000 on board.
>
> at CS2
>
>
> #define CFG_EBC_PB2AP 0x24814580
> #define CFG_EBC_PB2CR (CFG_FPGA_BASE | 0x9C000) //16MB & 32-bit
> Bus
>
> In uboot when I tried
>
> #md C0000000
>
> getting some data and CS2 pulsating.
OK, so this is working fine.
> I written the driver for FPGA in kernel.
>
> Did request_mem_region and ioremap.
Please note that the physical address is 1.c000.0000 (36bit). You should use
the device-tree to correctly describe the device (FPGA) and use of_iomap() to
get the virtual address to access the device from the driver.
Cheers,
Stefan
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de
More information about the eldk
mailing list