[ELDK] R: R: R: R: Userland memory access

Luigi Rizzi rizzi at algorab.com
Tue Oct 26 14:14:58 CEST 2010


Hello,
Actually no, I wasn't able to fix the bug I have in the driver.
According to your previous email, probably there's something wrong in the
way I call ioremap() (yes.. I still call ioremap), but I don't know what it
is...

Luigi


-----Messaggio originale-----
Da: Detlev Zundel [mailto:dzu at denx.de] 
Inviato: venerdì 22 ottobre 2010 14.15
A: Luigi Rizzi
Cc: 'Wolfgang Grandegger'; eldk at lists.denx.de
Oggetto: Re: R: [ELDK] R: R: Userland memory access

Hi Luigi,

> as you suggested, I used mmap and /dev/mem, and everything seems to work
> properly!

Excellent - although this still does not explain why the mmap did not
work.  Were you able to fix that also?

> Please, could you be more precise about how to proceed in case of kernel
> 2.6?

It _should_ work just as well.

Cheers
  Detlev

-- 
Applied mathematicians do it by computer simulation.
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de



More information about the eldk mailing list