[ELDK] EBC error

Zaahir Khan kn.zahirkhan at gmail.com
Fri Sep 4 10:23:20 CEST 2009


Thanks Stefan

Its working !!!!!!

Thanks & regards,

Zaahir Khan


On Fri, Sep 4, 2009 at 4:29 PM, Stefan Roese <sr at denx.de> wrote:

> 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