* Accessing DSP MMU on OMAP SDP2430
@ 2007-01-22 9:55 rajeev s
2007-01-22 13:23 ` Woodruff, Richard
0 siblings, 1 reply; 2+ messages in thread
From: rajeev s @ 2007-01-22 9:55 UTC (permalink / raw)
To: linux_omap_open_source
Hi All,I have an sdp2430 board (OMAP2430 based).I want to access the DSP MMU registers from the ARM side .The Address base of this DSP MMU Register is on the Address range 0x5d000000. To access these registers from ARM to setup the MMU Translation i added the following code in the file:include/asm/arch-omap/io.h (Linux source is 2.6-19):#define IO_VIRT_DSP_L2_RAM 0xED000000 /* va of DSP MMU */I arrived at this address using the following logic :0x5d000000 + 0x90000000 = 0xED000000.When i access the DSP MMU address registers from the Virtual Address base 0xED000000 , i get an kernel crash.Also i have created an entry for this address in the io.c file as well.Could anybody let me know am i following the correct procedure.ThanksRajeev
raj
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: Accessing DSP MMU on OMAP SDP2430
2007-01-22 9:55 Accessing DSP MMU on OMAP SDP2430 rajeev s
@ 2007-01-22 13:23 ` Woodruff, Richard
0 siblings, 0 replies; 2+ messages in thread
From: Woodruff, Richard @ 2007-01-22 13:23 UTC (permalink / raw)
To: rajeev s, linux_omap_open_source
Depending on when you want to access it and how often you will either
chose to create a static map for the device or just ioremap it.
If you don't need to access it much and you don't need it a very early
states of the boot process it is probably just as well to dynamically do
handle it with ioremap.
If you are set on static mapping it you can google up an old mail on
this list where I give a lot of information on a thread about internal
sram.
Regards,
Richard W.
> -----Original Message-----
> From: linux-omap-open-source-bounces@linux.omap.com
[mailto:linux-omap-
> open-source-bounces@linux.omap.com] On Behalf Of rajeev s
> Sent: Monday, January 22, 2007 3:55 AM
> To: linux_omap_open_source
> Subject: Accessing DSP MMU on OMAP SDP2430
>
> Hi All,I have an sdp2430 board (OMAP2430 based).I want to access the
DSP
> MMU registers from the ARM side .The Address base of this DSP MMU
Register
> is on the Address range 0x5d000000. To access these registers from ARM
to
> setup the MMU Translation i added the following code in the
> file:include/asm/arch-omap/io.h (Linux source is 2.6-19):#define
> IO_VIRT_DSP_L2_RAM 0xED000000 /*
va
> of DSP MMU */I arrived at this address using the following
logic
> :0x5d000000 + 0x90000000 = 0xED000000.When i access the DSP MMU
> address registers from the Virtual Address base 0xED000000 , i
get an
> kernel crash.Also i have created an entry for this address in the io.c
> file as well.Could anybody let me know am i following the correct
> procedure.ThanksRajeev
>
> raj
> _______________________________________________
> Linux-omap-open-source mailing list
> Linux-omap-open-source@linux.omap.com
> http://linux.omap.com/mailman/listinfo/linux-omap-open-source
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-22 13:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-22 9:55 Accessing DSP MMU on OMAP SDP2430 rajeev s
2007-01-22 13:23 ` Woodruff, Richard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox