[ELDK] Kernel exception when trying memset

Zaahir Khan kn.zahirkhan at gmail.com
Wed Jul 15 04:03:14 CEST 2009

Hi  Wolfgang Denk,

Thanks for your support.

As u suggested the driver is using u32 , looking for chages.

To use resource_size_t instead of u32, do I need to select
CONFIG_RESOURCES_64BIT in kernel config .
If not, resource_size_t  is again typedef to u32. Any other changes, pls

Driver will be doing dma_alloc_coherent of 4MB size. Kernel support for 2MB
In kernel config changing  CONSISTENT_SIZE to 4MB enough or some other

Pls suggest.

Thanks & regards,

Zaahir Khan

On Tue, Jul 14, 2009 at 5:31 PM, Wolfgang Denk <wd at denx.de> wrote:

> Dear Zaahir Khan,
> In message <f970d83a0907140110jbb363fcyabc9ddc8d340baab at mail.gmail.com>
> you wrote:
> >
> > We implemented the codec driver for sequoia board  linux kernel .
> Then plese debug your driver.  Most  likely  there  are  issues  like
> endianess  problems  and/or dealing with PCI addresses - keep in mind
> that physical addresses on Sequoia are longer than 32  bit,  so  they
> don't  fit  into  a  "u32" as many drivers (incorrectly) assume - you
> must use resource_size_t instead of unsigned long and u32 etc.
> > I am using eldk 4.2 (Linux-2.6.24)
> And you want to update and use a current Linux kernel. Many bugs have
> been fixed since 2.6.24.
> Best regards,
> Wolfgang Denk
> --
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> Of all the things I've lost, I miss my mind the most.

More information about the eldk mailing list