public inbox for ecos-patches@sourceware.org
 help / color / mirror / Atom feed
* HELP : SUPPORT FOR A91SAM7X256
@ 2008-08-25 11:53 vibisreenivasan
  2008-08-25 12:33 ` Andrew Lunn
  0 siblings, 1 reply; 11+ messages in thread
From: vibisreenivasan @ 2008-08-25 11:53 UTC (permalink / raw)
  To: ecos-patches

hello,
	Is there any one working on ecos support for at91sam7x256.
	If there is no one i would like to take it up ,so please give
	me some inputs for doing this.
Thanks & regards
vibi sreenivasan


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

* Re: HELP : SUPPORT FOR A91SAM7X256
  2008-08-25 11:53 HELP : SUPPORT FOR A91SAM7X256 vibisreenivasan
@ 2008-08-25 12:33 ` Andrew Lunn
  2008-08-25 12:34   ` vibisreenivasan
                     ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Andrew Lunn @ 2008-08-25 12:33 UTC (permalink / raw)
  To: vibisreenivasan; +Cc: ecos-patches

On Mon, Aug 25, 2008 at 04:01:00PM +0530, vibisreenivasan wrote:
> hello,
> 	Is there any one working on ecos support for at91sam7x256.
> 	If there is no one i would like to take it up ,so please give
> 	me some inputs for doing this.

It is in anonymous CVS.

   Andrew 

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

* Re: HELP : SUPPORT FOR A91SAM7X256
  2008-08-25 12:33 ` Andrew Lunn
@ 2008-08-25 12:34   ` vibisreenivasan
  2008-08-25 12:42   ` vibisreenivasan
  2008-08-28  6:36   ` vibisreenivasan
  2 siblings, 0 replies; 11+ messages in thread
From: vibisreenivasan @ 2008-08-25 12:34 UTC (permalink / raw)
  To: Andrew Lunn; +Cc: ecos-patches

thanks.
On Mon, 2008-08-25 at 14:22 +0200, Andrew Lunn wrote:
> On Mon, Aug 25, 2008 at 04:01:00PM +0530, vibisreenivasan wrote:
> > hello,
> > 	Is there any one working on ecos support for at91sam7x256.
> > 	If there is no one i would like to take it up ,so please give
> > 	me some inputs for doing this.
> 
> It is in anonymous CVS.
> 
>    Andrew 
> 

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

* Re: HELP : SUPPORT FOR A91SAM7X256
  2008-08-25 12:33 ` Andrew Lunn
  2008-08-25 12:34   ` vibisreenivasan
@ 2008-08-25 12:42   ` vibisreenivasan
  2008-08-25 12:50     ` Andrew Lunn
  2008-08-28  6:36   ` vibisreenivasan
  2 siblings, 1 reply; 11+ messages in thread
From: vibisreenivasan @ 2008-08-25 12:42 UTC (permalink / raw)
  To: Andrew Lunn; +Cc: ecos-patches

hello,
	Thanks for your immediate support.
	What will the runtime memory footprint.

Thanks & regards
vibi sreenivasan


On Mon, 2008-08-25 at 14:22 +0200, Andrew Lunn wrote:
> On Mon, Aug 25, 2008 at 04:01:00PM +0530, vibisreenivasan wrote:
> > hello,
> > 	Is there any one working on ecos support for at91sam7x256.
> > 	If there is no one i would like to take it up ,so please give
> > 	me some inputs for doing this.
> 
> It is in anonymous CVS.
> 
>    Andrew 
> 

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

* Re: HELP : SUPPORT FOR A91SAM7X256
  2008-08-25 12:42   ` vibisreenivasan
@ 2008-08-25 12:50     ` Andrew Lunn
  0 siblings, 0 replies; 11+ messages in thread
From: Andrew Lunn @ 2008-08-25 12:50 UTC (permalink / raw)
  To: vibisreenivasan; +Cc: ecos-patches

On Mon, Aug 25, 2008 at 06:20:50PM +0530, vibisreenivasan wrote:
> hello,
> 	What will the runtime memory footprint.

Depends on which parts of eCos you include and which parts of eCos
your application uses.

     Andrew

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

* Re: HELP : SUPPORT FOR A91SAM7X256
  2008-08-25 12:33 ` Andrew Lunn
  2008-08-25 12:34   ` vibisreenivasan
  2008-08-25 12:42   ` vibisreenivasan
@ 2008-08-28  6:36   ` vibisreenivasan
  2008-08-28  7:01     ` Andrew Lunn
  2 siblings, 1 reply; 11+ messages in thread
From: vibisreenivasan @ 2008-08-28  6:36 UTC (permalink / raw)
  To: Andrew Lunn; +Cc: ecos-patches

hello,
	How can i know which all peripherals are already supported for
at91sam7x256.
actually i am looking at 
I2C
SPI
ETHERNET

thanks & regards
vibi sreenivasan


On Mon, 2008-08-25 at 14:22 +0200, Andrew Lunn wrote:
> On Mon, Aug 25, 2008 at 04:01:00PM +0530, vibisreenivasan wrote:
> > hello,
> > 	Is there any one working on ecos support for at91sam7x256.
> > 	If there is no one i would like to take it up ,so please give
> > 	me some inputs for doing this.
> 
> It is in anonymous CVS.
> 
>    Andrew 
> 

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

* Re: HELP : SUPPORT FOR A91SAM7X256
  2008-08-28  6:36   ` vibisreenivasan
@ 2008-08-28  7:01     ` Andrew Lunn
  2008-08-28 14:07       ` Tom Deconinck
  2008-09-01  7:49       ` vibisreenivasan
  0 siblings, 2 replies; 11+ messages in thread
From: Andrew Lunn @ 2008-08-28  7:01 UTC (permalink / raw)
  To: vibisreenivasan; +Cc: ecos-patches

On Thu, Aug 28, 2008 at 11:16:16AM +0530, vibisreenivasan wrote:
> hello,
> 	How can i know which all peripherals are already supported for
> at91sam7x256.
> actually i am looking at 
> I2C
> SPI
> ETHERNET

Look at the source code tree? If you are going to use eCos you will
need to do this anyway. 

This will partially answer your question. It is taken from
packages/ecos.db.

        Andrew

target at91sam7xek {
        alias { "Atmel AT91SAM7XEK evaluation board" at91_at91sam7xek }
        packages { CYGPKG_HAL_ARM
                   CYGPKG_HAL_ARM_AT91
                   CYGPKG_HAL_ARM_AT91SAM7
                   CYGPKG_HAL_ARM_AT91SAM7XEK
                   CYGPKG_IO_SERIAL_ARM_AT91
                   CYGPKG_DEVS_FLASH_AT91
                   CYGPKG_DEVS_SPI_ARM_AT91
                   CYGPKG_DEVICES_WATCHDOG_ARM_AT91WDTC
                   CYGPKG_DEVS_USB_AT91
                   CYGPKG_DEVS_ETH_PHY
                   CYGPKG_DEVS_ETH_ARM_AT91
        }
        description "
        The at91sam7xek target provides the packages needed to run eCos on an 
        Atmel AT91SAM7X-EK evaluation board."
}

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

* Re: HELP : SUPPORT FOR A91SAM7X256
  2008-08-28  7:01     ` Andrew Lunn
@ 2008-08-28 14:07       ` Tom Deconinck
  2008-08-28 15:19         ` vibisreenivasan
  2008-09-08  6:33         ` Peter Korsgaard
  2008-09-01  7:49       ` vibisreenivasan
  1 sibling, 2 replies; 11+ messages in thread
From: Tom Deconinck @ 2008-08-28 14:07 UTC (permalink / raw)
  To: ecos-patches; +Cc: vibisreenivasan

On Thu, Aug 28, 2008 at 5:41 PM, Andrew Lunn <andrew@lunn.ch> wrote:
> On Thu, Aug 28, 2008 at 11:16:16AM +0530, vibisreenivasan wrote:
>> hello,
>>       How can i know which all peripherals are already supported for
>> at91sam7x256.
>> actually i am looking at
>> I2C
>> SPI
>> ETHERNET
>
> Look at the source code tree? If you are going to use eCos you will
> need to do this anyway.
>
> This will partially answer your question. It is taken from
> packages/ecos.db.
>
>        Andrew
>
> target at91sam7xek {
>        alias { "Atmel AT91SAM7XEK evaluation board" at91_at91sam7xek }
>        packages { CYGPKG_HAL_ARM
>                   CYGPKG_HAL_ARM_AT91
>                   CYGPKG_HAL_ARM_AT91SAM7
>                   CYGPKG_HAL_ARM_AT91SAM7XEK
>                   CYGPKG_IO_SERIAL_ARM_AT91
>                   CYGPKG_DEVS_FLASH_AT91
>                   CYGPKG_DEVS_SPI_ARM_AT91
>                   CYGPKG_DEVICES_WATCHDOG_ARM_AT91WDTC
>                   CYGPKG_DEVS_USB_AT91
>                   CYGPKG_DEVS_ETH_PHY
>                   CYGPKG_DEVS_ETH_ARM_AT91
>        }
>        description "
>        The at91sam7xek target provides the packages needed to run eCos on an
>        Atmel AT91SAM7X-EK evaluation board."
> }
>
As stated in Andrew's mail: look in the ecos.db file.

As you can see above:

CYGPKG_DEVS_SPI_ARM_AT91: the SPI peripheral is supported
CYGPKG_DEVS_ETH_PHY and CYGPKG_DEVS_ETH_ARM_AT91: ethernet is supported

The i2c peripheral is not supported, I wrote a driver for it a couple
of months ago, but I changed jobs since and I don't think my previous
employer will be pushing it upstream any time soon.
Be aware that the hardware implementation of i2c (or TWI interface) is
kinda tricky (in Tx mode, you need to be able to get data to it fast
enough!)

Tom

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

* Re: HELP : SUPPORT FOR A91SAM7X256
  2008-08-28 14:07       ` Tom Deconinck
@ 2008-08-28 15:19         ` vibisreenivasan
  2008-09-08  6:33         ` Peter Korsgaard
  1 sibling, 0 replies; 11+ messages in thread
From: vibisreenivasan @ 2008-08-28 15:19 UTC (permalink / raw)
  To: Tom Deconinck; +Cc: ecos-patches

hello,
	thanks for your support.
thanks & regards 
vibi sreenivasan

On Thu, 2008-08-28 at 18:35 +1200, Tom Deconinck wrote:
> On Thu, Aug 28, 2008 at 5:41 PM, Andrew Lunn <andrew@lunn.ch> wrote:
> > On Thu, Aug 28, 2008 at 11:16:16AM +0530, vibisreenivasan wrote:
> >> hello,
> >>       How can i know which all peripherals are already supported for
> >> at91sam7x256.
> >> actually i am looking at
> >> I2C
> >> SPI
> >> ETHERNET
> >
> > Look at the source code tree? If you are going to use eCos you will
> > need to do this anyway.
> >
> > This will partially answer your question. It is taken from
> > packages/ecos.db.
> >
> >        Andrew
> >
> > target at91sam7xek {
> >        alias { "Atmel AT91SAM7XEK evaluation board" at91_at91sam7xek }
> >        packages { CYGPKG_HAL_ARM
> >                   CYGPKG_HAL_ARM_AT91
> >                   CYGPKG_HAL_ARM_AT91SAM7
> >                   CYGPKG_HAL_ARM_AT91SAM7XEK
> >                   CYGPKG_IO_SERIAL_ARM_AT91
> >                   CYGPKG_DEVS_FLASH_AT91
> >                   CYGPKG_DEVS_SPI_ARM_AT91
> >                   CYGPKG_DEVICES_WATCHDOG_ARM_AT91WDTC
> >                   CYGPKG_DEVS_USB_AT91
> >                   CYGPKG_DEVS_ETH_PHY
> >                   CYGPKG_DEVS_ETH_ARM_AT91
> >        }
> >        description "
> >        The at91sam7xek target provides the packages needed to run eCos on an
> >        Atmel AT91SAM7X-EK evaluation board."
> > }
> >
> As stated in Andrew's mail: look in the ecos.db file.
> 
> As you can see above:
> 
> CYGPKG_DEVS_SPI_ARM_AT91: the SPI peripheral is supported
> CYGPKG_DEVS_ETH_PHY and CYGPKG_DEVS_ETH_ARM_AT91: ethernet is supported
> 
> The i2c peripheral is not supported, I wrote a driver for it a couple
> of months ago, but I changed jobs since and I don't think my previous
> employer will be pushing it upstream any time soon.
> Be aware that the hardware implementation of i2c (or TWI interface) is
> kinda tricky (in Tx mode, you need to be able to get data to it fast
> enough!)
> 
> Tom
> 

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

* Re: HELP : SUPPORT FOR A91SAM7X256
  2008-08-28  7:01     ` Andrew Lunn
  2008-08-28 14:07       ` Tom Deconinck
@ 2008-09-01  7:49       ` vibisreenivasan
  1 sibling, 0 replies; 11+ messages in thread
From: vibisreenivasan @ 2008-09-01  7:49 UTC (permalink / raw)
  To: Andrew Lunn; +Cc: ecos-patches

hello,
	Is there any document or links on how to configure ecos on 
	linux host.
thanks & regards
vibi sreenivasan


On Thu, 2008-08-28 at 07:41 +0200, Andrew Lunn wrote:
> On Thu, Aug 28, 2008 at 11:16:16AM +0530, vibisreenivasan wrote:
> > hello,
> > 	How can i know which all peripherals are already supported for
> > at91sam7x256.
> > actually i am looking at 
> > I2C
> > SPI
> > ETHERNET
> 
> Look at the source code tree? If you are going to use eCos you will
> need to do this anyway. 
> 
> This will partially answer your question. It is taken from
> packages/ecos.db.
> 
>         Andrew
> 
> target at91sam7xek {
>         alias { "Atmel AT91SAM7XEK evaluation board" at91_at91sam7xek }
>         packages { CYGPKG_HAL_ARM
>                    CYGPKG_HAL_ARM_AT91
>                    CYGPKG_HAL_ARM_AT91SAM7
>                    CYGPKG_HAL_ARM_AT91SAM7XEK
>                    CYGPKG_IO_SERIAL_ARM_AT91
>                    CYGPKG_DEVS_FLASH_AT91
>                    CYGPKG_DEVS_SPI_ARM_AT91
>                    CYGPKG_DEVICES_WATCHDOG_ARM_AT91WDTC
>                    CYGPKG_DEVS_USB_AT91
>                    CYGPKG_DEVS_ETH_PHY
>                    CYGPKG_DEVS_ETH_ARM_AT91
>         }
>         description "
>         The at91sam7xek target provides the packages needed to run eCos on an 
>         Atmel AT91SAM7X-EK evaluation board."
> }
> 

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

* Re: HELP : SUPPORT FOR A91SAM7X256
  2008-08-28 14:07       ` Tom Deconinck
  2008-08-28 15:19         ` vibisreenivasan
@ 2008-09-08  6:33         ` Peter Korsgaard
  1 sibling, 0 replies; 11+ messages in thread
From: Peter Korsgaard @ 2008-09-08  6:33 UTC (permalink / raw)
  To: ecos-patches

>>>>> "Tom" == Tom Deconinck <t.deconinck@gmail.com> writes:

Hi Tom,

Tom> The i2c peripheral is not supported, I wrote a driver for it a couple
Tom> of months ago, but I changed jobs since and I don't think my previous
Tom> employer will be pushing it upstream any time soon.

You never know ;)

Tom> Be aware that the hardware implementation of i2c (or TWI interface) is
Tom> kinda tricky (in Tx mode, you need to be able to get data to it fast
Tom> enough!)

Yeah, the I2C core is pretty broken. That's also why they are removing
the Linux driver and telling people to use the bitbang driver instead:

http://thread.gmane.org/gmane.linux.drivers.i2c/2234

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2008-09-08  6:33 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-25 11:53 HELP : SUPPORT FOR A91SAM7X256 vibisreenivasan
2008-08-25 12:33 ` Andrew Lunn
2008-08-25 12:34   ` vibisreenivasan
2008-08-25 12:42   ` vibisreenivasan
2008-08-25 12:50     ` Andrew Lunn
2008-08-28  6:36   ` vibisreenivasan
2008-08-28  7:01     ` Andrew Lunn
2008-08-28 14:07       ` Tom Deconinck
2008-08-28 15:19         ` vibisreenivasan
2008-09-08  6:33         ` Peter Korsgaard
2008-09-01  7:49       ` vibisreenivasan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).