public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Re :RE: Accessing DSP MMU on OMAP SDP2430
@ 2007-01-24  5:42 rajeev  s
  2007-01-24 14:21 ` SPI pins on omap5912 zil iram
  0 siblings, 1 reply; 8+ messages in thread
From: rajeev  s @ 2007-01-24  5:42 UTC (permalink / raw)
  To: r-woodruff2; +Cc: linux_omap_open_source

Hi Richard,Since i might not need the address space all the time. I am sticking to doing an ioremap for theAddress space needed.Thanks for the information provided.RegardsRajeev\"Woodruff, Richard\" wroteDepending on when you want to access it and how often you will eitherchose 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 earlystates of the boot process it is probably just as well to dynamically dohandle it with ioremap.If you are set on static mapping it you can google up an old mail onthis list where I give a lot of information on a thread about internalsram.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 b!
 oard (OMAP2430 based).I want to access theDSP> MMU registers from the ARM side .The Address base of this DSP MMURegister> is on the Address range 0x5d000000. To access these registers from ARMto> 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 followinglogic> :0x5d000000 + 0x90000000 = 0xED000000.When i access the DSP MMU> address registers from the Virtual Address base 0xED000000 , iget 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-sour
 ce mailing list> Linux-omap-open-source@linux.omap.com> http://linux.omap.com/mailm!
 an/listinfo/linux-omap-open-source

^ permalink raw reply	[flat|nested] 8+ messages in thread

* SPI pins on omap5912
  2007-01-24  5:42 Re :RE: Accessing DSP MMU on OMAP SDP2430 rajeev  s
@ 2007-01-24 14:21 ` zil iram
  2007-01-24 19:25   ` David Brownell
  0 siblings, 1 reply; 8+ messages in thread
From: zil iram @ 2007-01-24 14:21 UTC (permalink / raw)
  To: linux-omap-open-source

Hi,

I am using linux 2.6.17 on the omap5912 board. I would like to use the spif 
pins, spif_cs0, spif_din, spif_dout, spif_sck on the board and connect them 
to the spi pins on my device. Do I still need to make my own controller 
driver for the spi framework? Or can I use the omap_uwire?

Thanks,
Lizette

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: SPI pins on omap5912
  2007-01-24 14:21 ` SPI pins on omap5912 zil iram
@ 2007-01-24 19:25   ` David Brownell
  2007-01-25  2:06     ` SPI controller " zil iram
  0 siblings, 1 reply; 8+ messages in thread
From: David Brownell @ 2007-01-24 19:25 UTC (permalink / raw)
  To: linux-omap-open-source

On Wednesday 24 January 2007 6:21 am, zil iram wrote:
> Hi,
> 
> I am using linux 2.6.17 on the omap5912 board. I would like to use the spif 
> pins, spif_cs0, spif_din, spif_dout, spif_sck on the board and connect them 
> to the spi pins on my device. Do I still need to make my own controller 
> driver for the spi framework?

yes

> Or can I use the omap_uwire? 

not unless you're using the microwire controller ...

^ permalink raw reply	[flat|nested] 8+ messages in thread

* SPI controller on omap5912
  2007-01-24 19:25   ` David Brownell
@ 2007-01-25  2:06     ` zil iram
  2007-01-25  2:33       ` David Brownell
  0 siblings, 1 reply; 8+ messages in thread
From: zil iram @ 2007-01-25  2:06 UTC (permalink / raw)
  To: david-b, linux-omap-open-source


Okey thanks Dave.

Has anyone used the "spi" controller on omap before? Is there an omap kernel 
which supports the "spi controller?"

Thanks,
Lizette

>From: David Brownell <david-b@pacbell.net>
>To: linux-omap-open-source@linux.omap.com
>CC: "zil iram" <zil_iram@hotmail.com>
>Subject: Re: SPI pins on omap5912
>Date: Wed, 24 Jan 2007 11:25:24 -0800
>
>On Wednesday 24 January 2007 6:21 am, zil iram wrote:
> > Hi,
> >
> > I am using linux 2.6.17 on the omap5912 board. I would like to use the 
>spif
> > pins, spif_cs0, spif_din, spif_dout, spif_sck on the board and connect 
>them
> > to the spi pins on my device. Do I still need to make my own controller
> > driver for the spi framework?
>
>yes
>
> > Or can I use the omap_uwire?
>
>not unless you're using the microwire controller ...

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: SPI controller on omap5912
  2007-01-25  2:06     ` SPI controller " zil iram
@ 2007-01-25  2:33       ` David Brownell
  2007-01-25  5:41         ` 3430/Linux MMC Driver Support Alawala, Jayaprakash
  2007-01-26 10:32         ` SPI controller on omap5912 zil iram
  0 siblings, 2 replies; 8+ messages in thread
From: David Brownell @ 2007-01-25  2:33 UTC (permalink / raw)
  To: zil iram; +Cc: linux-omap-open-source

On Wednesday 24 January 2007 6:06 pm, zil iram wrote:
> 
> Okey thanks Dave.
> 
> Has anyone used the "spi" controller on omap before? 

Almost certainly, or I expect TI would have desupported it by now.

> Is there an omap kernel  
> which supports the "spi controller?"

Do you see a driver for it in the current OMAP GIT tree?
If not, that's probably your answer ... someone may have
some code floating around to use it, though.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* 3430/Linux MMC Driver Support
  2007-01-25  2:33       ` David Brownell
@ 2007-01-25  5:41         ` Alawala, Jayaprakash
  2007-01-25  5:47           ` Syed Mohammed, Khasim
  2007-01-26 10:32         ` SPI controller on omap5912 zil iram
  1 sibling, 1 reply; 8+ messages in thread
From: Alawala, Jayaprakash @ 2007-01-25  5:41 UTC (permalink / raw)
  To: linux-omap-open-source

Hi,

When I insert a dual voltage MMC card on 3430/Linux, I am getting the
error
<7>mmc0: Data CRC error, bytes left 0
<7>mmc0: Data CRC error, bytes left 0

I am using 2.6.17.13_kernel.cc. We wanted to store our 450MB file system
on MMC.

Could you update if MMC is supported on this kernel. If not, any latest
working Image would be very helpful.

Regards,
JP

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: 3430/Linux MMC Driver Support
  2007-01-25  5:41         ` 3430/Linux MMC Driver Support Alawala, Jayaprakash
@ 2007-01-25  5:47           ` Syed Mohammed, Khasim
  0 siblings, 0 replies; 8+ messages in thread
From: Syed Mohammed, Khasim @ 2007-01-25  5:47 UTC (permalink / raw)
  To: Alawala, Jayaprakash, linux-omap-open-source

Jayprakash,
 
Apart from few common (2430/3430 SDPs) peripheral drivers, we don't have any specific code for 3430 here. 
 
Sorry for the inconvenience :) 
 
Regards,
Khasim

________________________________

From: linux-omap-open-source-bounces@linux.omap.com on behalf of Alawala, Jayaprakash
Sent: Wed 1/24/2007 11:41 PM
To: linux-omap-open-source@linux.omap.com
Subject: 3430/Linux MMC Driver Support



Hi,

When I insert a dual voltage MMC card on 3430/Linux, I am getting the
error
<7>mmc0: Data CRC error, bytes left 0
<7>mmc0: Data CRC error, bytes left 0

I am using 2.6.17.13_kernel.cc. We wanted to store our 450MB file system
on MMC.

Could you update if MMC is supported on this kernel. If not, any latest
working Image would be very helpful.

Regards,
JP
_______________________________________________
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] 8+ messages in thread

* Re: SPI controller on omap5912
  2007-01-25  2:33       ` David Brownell
  2007-01-25  5:41         ` 3430/Linux MMC Driver Support Alawala, Jayaprakash
@ 2007-01-26 10:32         ` zil iram
  1 sibling, 0 replies; 8+ messages in thread
From: zil iram @ 2007-01-26 10:32 UTC (permalink / raw)
  To: david-b; +Cc: linux-omap-open-source



Ok,
       So I was using the microwire controller on omap and used spidev by 
Andrea P. I connected the microwire pins to my device. I performed reads and 
writes to my device but all I get are 0s (same as when I do not attach any 
device to the microwire pins). I probed the pins using a logic analyzer and 
when I perform reads or writes, the CS pin is the only pin that gets signals 
(It goes active low when I perform reads and writes which is correct). The 
other pins do not get any signal at all. Even the clock is always low.

Could anyone tell me what could be the reason for this please?

Thanks,
Lizette


>From: David Brownell <david-b@pacbell.net>
>To: "zil iram" <zil_iram@hotmail.com>
>CC: linux-omap-open-source@linux.omap.com
>Subject: Re: SPI controller on omap5912
>Date: Wed, 24 Jan 2007 18:33:47 -0800
>
>On Wednesday 24 January 2007 6:06 pm, zil iram wrote:
> >
> > Okey thanks Dave.
> >
> > Has anyone used the "spi" controller on omap before?
>
>Almost certainly, or I expect TI would have desupported it by now.
>
> > Is there an omap kernel
> > which supports the "spi controller?"
>
>Do you see a driver for it in the current OMAP GIT tree?
>If not, that's probably your answer ... someone may have
>some code floating around to use it, though.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-01-26 10:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-24  5:42 Re :RE: Accessing DSP MMU on OMAP SDP2430 rajeev  s
2007-01-24 14:21 ` SPI pins on omap5912 zil iram
2007-01-24 19:25   ` David Brownell
2007-01-25  2:06     ` SPI controller " zil iram
2007-01-25  2:33       ` David Brownell
2007-01-25  5:41         ` 3430/Linux MMC Driver Support Alawala, Jayaprakash
2007-01-25  5:47           ` Syed Mohammed, Khasim
2007-01-26 10:32         ` SPI controller on omap5912 zil iram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox