* [ECOS] SPI support for AT91SAM7XEK.
@ 2007-02-26 9:48 Chirag shah
2007-02-26 13:52 ` Andrew Lunn
0 siblings, 1 reply; 4+ messages in thread
From: Chirag shah @ 2007-02-26 9:48 UTC (permalink / raw)
To: ecos-discuss
Dear All,
I have successfully accessed uart0 of my SAM7XEK board which was my
previous question on this mailing list.
I have enabled UART0 port in
IO_sub-system
----->serial_device_drivers-->Hardware_serial_devide_drivers----->port0
through ecos configuration tool.
After that I have use /dev/ser0 in cyg_io_lookup().
Now I want to enable my SPI bus in SAM7XEK board.
In ecos package directory structure it is already implemented for SAM7, but
in configuration tool SPI driver package CYGPKG_DEVS_SPI_ARM_AT91 can not
get enabled. It can not be accessed as check Box like serial driver drivers.
So, how I could get SPI header files in cyg/IO/spi_at91.h
Please advice.
Thanks in advance.
Regards,
Chirag Shah
-------------------------------------------------------
Masibus Process Instruments (P) Ltd, Gandhinagar, India
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ECOS] SPI support for AT91SAM7XEK.
2007-02-26 9:48 [ECOS] SPI support for AT91SAM7XEK Chirag shah
@ 2007-02-26 13:52 ` Andrew Lunn
2007-02-28 6:15 ` Chirag shah
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Lunn @ 2007-02-26 13:52 UTC (permalink / raw)
To: Chirag shah; +Cc: ecos-discuss
On Mon, Feb 26, 2007 at 03:17:09PM +0530, Chirag shah wrote:
> Dear All,
> I have successfully accessed uart0 of my SAM7XEK board which was my
> previous question on this mailing list.
>
> I have enabled UART0 port in
> IO_sub-system
> ----->serial_device_drivers-->Hardware_serial_devide_drivers----->port0
> through ecos configuration tool.
> After that I have use /dev/ser0 in cyg_io_lookup().
>
> Now I want to enable my SPI bus in SAM7XEK board.
> In ecos package directory structure it is already implemented for SAM7, but
> in configuration tool SPI driver package CYGPKG_DEVS_SPI_ARM_AT91 can not
> get enabled. It can not be accessed as check Box like serial driver drivers.
> So, how I could get SPI header files in cyg/IO/spi_at91.h
Add the generic SPI package to your configuration.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [ECOS] SPI support for AT91SAM7XEK.
2007-02-26 13:52 ` Andrew Lunn
@ 2007-02-28 6:15 ` Chirag shah
2007-02-28 13:25 ` Andrew Lunn
0 siblings, 1 reply; 4+ messages in thread
From: Chirag shah @ 2007-02-28 6:15 UTC (permalink / raw)
To: ecos-discuss
Dear Andrew Lunn,
Thanks for your guidance. But I know that I have to add package for
generic SPI. But when I am trying to add package from windows based
configuration tool through build ----> packages and trying to add generic
SPI package it is prompting that " Add and Remove hardware packages by
selecting a new hardware template ".
And another way is through Tools---->Administration. When I am going
to Add generic SPI package it is asking for .epk file to be opened. I
searched in my local drives that there is no such extension file is
available.
So, how can I add this package to my configuration. I think this is
the same problem for Ethernet also.
Regards,
Chirag Shah.
-----Original Message-----
From: Andrew Lunn [mailto:andrew@lunn.ch]
Sent: Monday, February 26, 2007 7:22 PM
To: Chirag shah
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] SPI support for AT91SAM7XEK.
On Mon, Feb 26, 2007 at 03:17:09PM +0530, Chirag shah wrote:
> Dear All,
> I have successfully accessed uart0 of my SAM7XEK board which was my
> previous question on this mailing list.
>
> I have enabled UART0 port in
> IO_sub-system
> ----->serial_device_drivers-->Hardware_serial_devide_drivers----->port0
> through ecos configuration tool.
> After that I have use /dev/ser0 in cyg_io_lookup().
>
> Now I want to enable my SPI bus in SAM7XEK board.
> In ecos package directory structure it is already implemented for SAM7,
but
> in configuration tool SPI driver package CYGPKG_DEVS_SPI_ARM_AT91 can not
> get enabled. It can not be accessed as check Box like serial driver
drivers.
> So, how I could get SPI header files in cyg/IO/spi_at91.h
Add the generic SPI package to your configuration.
Andrew
-------------------------------------------------------
Masibus Process Instruments (P) Ltd, Gandhinagar, India
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ECOS] SPI support for AT91SAM7XEK.
2007-02-28 6:15 ` Chirag shah
@ 2007-02-28 13:25 ` Andrew Lunn
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Lunn @ 2007-02-28 13:25 UTC (permalink / raw)
To: Chirag shah; +Cc: ecos-discuss
On Wed, Feb 28, 2007 at 11:43:11AM +0530, Chirag shah wrote:
> Dear Andrew Lunn,
>
> Thanks for your guidance. But I know that I have to add package for
> generic SPI. But when I am trying to add package from windows based
> configuration tool through build ----> packages and trying to add generic
> SPI package it is prompting that " Add and Remove hardware packages by
> selecting a new hardware template ".
The GUI configuration tool does not allow you to add "hardware"
packages to an eCos configuration. ecosconfig does not impose this
restriction and that is what i always use, so i've not seen this
problem before.
This difference has been discussed before, so search the mail archive
for more information.
>
> And another way is through Tools---->Administration. When I am going
> to Add generic SPI package it is asking for .epk file to be opened. I
> searched in my local drives that there is no such extension file is
> available.
This is used to add a package to a repository. SPI is already in the
repository, so you don't need to add it this way. You just want to add
SPI to your configuration.
>
> So, how can I add this package to my configuration. I think this is
> the same problem for Ethernet also.
Use the net template. Or more likely, the lwip_eth template.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-02-28 13:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-26 9:48 [ECOS] SPI support for AT91SAM7XEK Chirag shah
2007-02-26 13:52 ` Andrew Lunn
2007-02-28 6:15 ` Chirag shah
2007-02-28 13:25 ` Andrew Lunn
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).