I tried it here using the memory location below and I get the same
error. We believe it has something to do with the bootarg for linux:
mem=120M. DDR2 starts at 0x8000_0000. So, 0x8000_0000 + 120M =
0x8780_0000 which is less than the 0x8850_0000 you are using. 

Hope this helps.

Sander


-----Original Message-----
From: Carlos Ojea [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 21, 2006 2:10 PM
To: Sander Huijsen
Cc: [email protected]
Subject: Re: Accesing dsp's memory (ddr2)

Sorry, I made a typo in last mail. I am using MAP_PRIVATE, so the
correct line is:
registros_dsp = mmap (0, 8096, PROT_READ | PROT_WRITE,
                                       MAP_FILE  | MAP_PRIVATE,
                                       fileno(f), 0x88500000);

Thanks,
Carlos
  
--------------------------------------------------------

 
CONFIDENTIALITY NOTICE - This e-mail transmission, and any documents, files or 
previous e-mail messages attached to it may contain information that is 
confidential or legally privileged. If you are not the intended recipient, or a 
person responsible for delivering it to the intended recipient, you are hereby 
notified that you must not read this transmission and that any disclosure, 
copying, printing, distribution or use of any of the information contained in 
or attached to this transmission is STRICTLY PROHIBITED. If you have received 
this transmission in error, please immediately notify Sander Huijsen by 
telephone or [EMAIL PROTECTED] and delete the original transmission and its 
attachments without reading or saving in any manner.
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to