[ELDK] R: Kernel access of bad area

Luigi Rizzi rizzi at algorab.com
Fri Sep 10 09:53:41 CEST 2010


Hello Stefano,

actually I didn't know that this address is already in use for PCI, since
TQM885D doesn't have PCI or PCMCIA at all.

Can you tell me in which files you find the address already mapped? (in
particular 0x80000000 mapped for PCI) 

Thanks,

Luigi





-----Messaggio originale-----
Da: Stefano Babic [mailto:sbabic at denx.de] 
Inviato: giovedì 9 settembre 2010 19.10
A: Luigi Rizzi
Cc: eldk at lists.denx.de
Oggetto: Re: [ELDK] Kernel access of bad area

Luigi Rizzi wrote:
> Hello,
> 

Hi,

> on my system I'm using a TQM885D module with U-boot 1.3.0-rc2 and
> Linux 2.4.25 (DENX ELDK 3.1.1).

Really very old...

> I connected to  this module an
> external SRAM (actually a dual port SRAM that act as interface with
> another system...) and than I configured in U-boot the chip select
> for this memory. I mapped the Memory starting from 0x80000000.

How do you mapped it ? Which ioremap() function do you use it ?

> 
> When I try to access this memory everything seem to works fine till
> address 0x8000FFFF. Above this address kernel displays this error:
> 
> Oops: Kernel access of bad area, Sig: 11

The SRAM is not mapped by MMU. As I see in code, the address is already
used for PCI and only 64KB are mapped. It is exactly the RAM you can see.

Best regards,
Stefano Babic

-- 
=====================================================================
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