Re: [U-Boot] how to apply at91 patch for the current u-boot-2009-06?

2009-09-24 Thread Ravi Kumar Kulkarni
ok. i will try with your suggestion. and one more thing i want to know is how to write a 3-wire SPI driver for atmel SPI controller. any hints how to start with? warm regards, Ravi Kulkarni. On Tue, Sep 22, 2009 at 7:12 PM, Tom wrote: > sunr2007 wrote: > >> Hi all, >> i want to know how to apply

Re: [U-Boot] My SPI driver not working in u-boot.

2009-10-21 Thread Ravi Kumar Kulkarni
On Thu, Oct 22, 2009 at 1:04 AM, Mike Frysinger wrote: > On Wednesday 21 October 2009 15:16:05 sunr2007 wrote: > > Im tryin to write a SPI Driver in u-boot-1.3.4 > > >>upgrade > done. there's actually not much of diff between the drivers version in u-boot-1.3.4 and u-boot-2009-09 with respect t

Re: [U-Boot] My SPI driver not working in u-boot.

2009-10-21 Thread Ravi Kumar Kulkarni
On Thu, Oct 22, 2009 at 10:44 AM, Mike Frysinger wrote: > On Thursday 22 October 2009 00:33:19 Ravi Kumar Kulkarni wrote: > > On Thu, Oct 22, 2009 at 1:04 AM, Mike Frysinger > wrote: > > > On Wednesday 21 October 2009 15:16:05 sunr2007 wrote: > >> > > Im t

Re: [U-Boot] My SPI driver not working in u-boot.

2009-10-22 Thread Ravi Kumar Kulkarni
On Thu, Oct 22, 2009 at 12:03 PM, Magnus Lilja wrote: > >> >>except that there's now a common SPI framework for you to use > >> (drivers/spi/) > >> >>as well as an already existing atmel_spi.c driver > >> > > Yeah exactly . Its also there in u-boot-1.3.4. anyways im using the same > > driver atme

Re: [U-Boot] My SPI driver not working in u-boot.

2009-10-22 Thread Ravi Kumar Kulkarni
On Thu, Oct 22, 2009 at 12:59 PM, Magnus Lilja wrote: > >> >>printf("%s:%d\n", __FILE__, __LINE__);? Given that printf and the > UART > >> >>works on your board that is. > > > > I tried with this > > printf("%s:%d\n", /drivers/spi/spi-new.c, 72); > > 72 is the my line number but im gettin error

Re: [U-Boot] How to enable to print messages on serial port(ttyS0) in u-boot?

2009-10-22 Thread Ravi Kumar Kulkarni
>>Yes, printf(), as you can see by looking at the source. The serial port and printf() support is one of the first things that is >>configured exactly to help debug via print statements. >>If it isn't working on your board, you have more fundamental problems (hardware initialization, serial port c

Re: [U-Boot] How to enable to print messages on serial port(ttyS0) in u-boot?

2009-10-22 Thread Ravi Kumar Kulkarni
On Thu, Oct 22, 2009 at 6:04 PM, Wolfgang Denk wrote: > Dear Ravi Kumar Kulkarni, > > In message <532dd5840910220518h4df2fe9cy7e66f043a2acd...@mail.gmail.com> > you wrote: > > >>> # CONFIG_ATMEL_SPI 1 > correction : its actually #define CONFIG_ATMEL_SPI 1

Re: [U-Boot] How to enable to print messages on serial port(ttyS0) in u-boot?

2009-10-22 Thread Ravi Kumar Kulkarni
>> Please use plain text formatting, not HTML.  Your quoting will be more >> readable and it won't annoy us curmudgeons. sorry was replying by my gmail. now its plain text . I hope it doesnt annoy u anymore. > > >> I see you actually used "#define" yeah its #define CONFIG_ATMEL_SPI 1 . sorry fo