public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] EB40 epk patch
@ 2002-10-23  8:49 Christophe Part
  2002-10-24 14:13 ` [ECOS] " Thomas Koeller
  0 siblings, 1 reply; 3+ messages in thread
From: Christophe Part @ 2002-10-23  8:49 UTC (permalink / raw)
  To: ecos mailing list; +Cc: Thomas Koeller

Hi Thomas,

I have installed your epk patch files.
I have just remove CYGPKG_HAL_ARM_AT91 package and then I have installed your 
3 epk file and applyed succefully your diff file without error.

Now I tryed to understand where in the target EB40, I could choose the flash 
device.

the target is now :
target eb40 {
	alias { "Atmel EB40 evaluation board" }
	packages { CYGPKG_HAL_ARM
                   CYGPKG_HAL_ARM_AT91
		   CYGPKG_HAL_ARM_AT91_EB40
        }
        description "
	    The EB40 target provides the packages needed to run eCos on
	    an Atmel EB40 ARM evaluation board."
}

before the target was :

target eb40 {
	alias { "Atmel EB40 evaluation board" }
	packages { CYGPKG_HAL_ARM
                   CYGPKG_HAL_ARM_AT91
		   CYGPKG_HAL_ARM_AT91_EB40
        }
        description "
	    The EB40 target provides the packages needed to run eCos on
	    an Atmel EB40 ARM evaluation board."
}


If I use your old patch and then the patch from Tim.
I have this :

target eb40 {
        alias { "Atmel evaluation board (EB40)" at91}
        packages { CYGPKG_HAL_ARM
                   CYGPKG_HAL_ARM_AT91
                   CYGPKG_HAL_ARM_AT91_EB40
                   CYGPKG_DEVS_FLASH_AT91
                   CYGPKG_IO_SERIAL_ARM_AT91
                   CYGPKG_DEVICES_WATCHDOG_ARM_AT91
        }
        description "
        The eb40 target provides the packages needed to run eCos on an Atmel
        evaluation board (EB40)."
}

target eb40a {
 	alias { "Atmel evaluation board (EB40A)" at91}
 	packages { CYGPKG_HAL_ARM
                   CYGPKG_HAL_ARM_AT91
                   CYGPKG_HAL_ARM_AT91_EB40A
                   CYGPKG_DEVS_FLASH_EB40A
                   CYGPKG_DEVS_FLASH_ATMEL_AT49XXXX
                   CYGPKG_IO_SERIAL_ARM_AT91
         }
         description "
 	 The eb40a target provides the packages needed to run eCos on an Atmel
 	 evaluation board (EB40A)."
}


Where do you include the flash device in your new target eb40 ?

Thanks for your help,

Christophe


--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

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

* [ECOS] Re: EB40 epk patch
  2002-10-23  8:49 [ECOS] EB40 epk patch Christophe Part
@ 2002-10-24 14:13 ` Thomas Koeller
  2002-10-24 14:26   ` Gary Thomas
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Koeller @ 2002-10-24 14:13 UTC (permalink / raw)
  To: Christophe Part; +Cc: ecos-discuss

Christophe,

I removed from the targets all those packages that not all applications
will want to use. For example, you may want to build a program that
uses the flash as read-only memory and does never reprogram its
contents. In this case, no flash driver would be required.
If you want any of those packages, you can always add
them to your configuration using ecosconfig.

tk

On Mittwoch, 23. Oktober 2002 17:49, you wrote:
> Hi Thomas,
>
> I have installed your epk patch files.
> I have just remove CYGPKG_HAL_ARM_AT91 package and then I have installed
> your 3 epk file and applyed succefully your diff file without error.
>
> Now I tryed to understand where in the target EB40, I could choose the
> flash device.
>
> the target is now :
> target eb40 {
> 	alias { "Atmel EB40 evaluation board" }
> 	packages { CYGPKG_HAL_ARM
>                    CYGPKG_HAL_ARM_AT91
> 		   CYGPKG_HAL_ARM_AT91_EB40
>         }
>         description "
> 	    The EB40 target provides the packages needed to run eCos on
> 	    an Atmel EB40 ARM evaluation board."
> }
>
> before the target was :
>
> target eb40 {
> 	alias { "Atmel EB40 evaluation board" }
> 	packages { CYGPKG_HAL_ARM
>                    CYGPKG_HAL_ARM_AT91
> 		   CYGPKG_HAL_ARM_AT91_EB40
>         }
>         description "
> 	    The EB40 target provides the packages needed to run eCos on
> 	    an Atmel EB40 ARM evaluation board."
> }
>
>
> If I use your old patch and then the patch from Tim.
> I have this :
>
> target eb40 {
>         alias { "Atmel evaluation board (EB40)" at91}
>         packages { CYGPKG_HAL_ARM
>                    CYGPKG_HAL_ARM_AT91
>                    CYGPKG_HAL_ARM_AT91_EB40
>                    CYGPKG_DEVS_FLASH_AT91
>                    CYGPKG_IO_SERIAL_ARM_AT91
>                    CYGPKG_DEVICES_WATCHDOG_ARM_AT91
>         }
>         description "
>         The eb40 target provides the packages needed to run eCos on an
> Atmel evaluation board (EB40)."
> }
>
> target eb40a {
>  	alias { "Atmel evaluation board (EB40A)" at91}
>  	packages { CYGPKG_HAL_ARM
>                    CYGPKG_HAL_ARM_AT91
>                    CYGPKG_HAL_ARM_AT91_EB40A
>                    CYGPKG_DEVS_FLASH_EB40A
>                    CYGPKG_DEVS_FLASH_ATMEL_AT49XXXX
>                    CYGPKG_IO_SERIAL_ARM_AT91
>          }
>          description "
>  	 The eb40a target provides the packages needed to run eCos on an Atmel
>  	 evaluation board (EB40A)."
> }
>
>
> Where do you include the flash device in your new target eb40 ?
>
> Thanks for your help,
>
> Christophe


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

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

* Re: [ECOS] Re: EB40 epk patch
  2002-10-24 14:13 ` [ECOS] " Thomas Koeller
@ 2002-10-24 14:26   ` Gary Thomas
  0 siblings, 0 replies; 3+ messages in thread
From: Gary Thomas @ 2002-10-24 14:26 UTC (permalink / raw)
  To: thomas.koeller; +Cc: Christophe Part, eCos Discussion

On Thu, 2002-10-24 at 15:12, Thomas Koeller wrote:
> Christophe,
> 
> I removed from the targets all those packages that not all applications
> will want to use. For example, you may want to build a program that
> uses the flash as read-only memory and does never reprogram its
> contents. In this case, no flash driver would be required.
> If you want any of those packages, you can always add
> them to your configuration using ecosconfig.
> 

There's really no need to do this.  As long as the FLASH driver
framework (CYGPKG_IO_FLASH) is not included, the low level drivers
won't even be built.  This is why we always include them in the
"target"s that we define.

> tk
> 
> On Mittwoch, 23. Oktober 2002 17:49, you wrote:
> > Hi Thomas,
> >
> > I have installed your epk patch files.
> > I have just remove CYGPKG_HAL_ARM_AT91 package and then I have installed
> > your 3 epk file and applyed succefully your diff file without error.
> >
> > Now I tryed to understand where in the target EB40, I could choose the
> > flash device.
> >
> > the target is now :
> > target eb40 {
> > 	alias { "Atmel EB40 evaluation board" }
> > 	packages { CYGPKG_HAL_ARM
> >                    CYGPKG_HAL_ARM_AT91
> > 		   CYGPKG_HAL_ARM_AT91_EB40
> >         }
> >         description "
> > 	    The EB40 target provides the packages needed to run eCos on
> > 	    an Atmel EB40 ARM evaluation board."
> > }
> >
> > before the target was :
> >
> > target eb40 {
> > 	alias { "Atmel EB40 evaluation board" }
> > 	packages { CYGPKG_HAL_ARM
> >                    CYGPKG_HAL_ARM_AT91
> > 		   CYGPKG_HAL_ARM_AT91_EB40
> >         }
> >         description "
> > 	    The EB40 target provides the packages needed to run eCos on
> > 	    an Atmel EB40 ARM evaluation board."
> > }
> >
> >
> > If I use your old patch and then the patch from Tim.
> > I have this :
> >
> > target eb40 {
> >         alias { "Atmel evaluation board (EB40)" at91}
> >         packages { CYGPKG_HAL_ARM
> >                    CYGPKG_HAL_ARM_AT91
> >                    CYGPKG_HAL_ARM_AT91_EB40
> >                    CYGPKG_DEVS_FLASH_AT91
> >                    CYGPKG_IO_SERIAL_ARM_AT91
> >                    CYGPKG_DEVICES_WATCHDOG_ARM_AT91
> >         }
> >         description "
> >         The eb40 target provides the packages needed to run eCos on an
> > Atmel evaluation board (EB40)."
> > }
> >
> > target eb40a {
> >  	alias { "Atmel evaluation board (EB40A)" at91}
> >  	packages { CYGPKG_HAL_ARM
> >                    CYGPKG_HAL_ARM_AT91
> >                    CYGPKG_HAL_ARM_AT91_EB40A
> >                    CYGPKG_DEVS_FLASH_EB40A
> >                    CYGPKG_DEVS_FLASH_ATMEL_AT49XXXX
> >                    CYGPKG_IO_SERIAL_ARM_AT91
> >          }
> >          description "
> >  	 The eb40a target provides the packages needed to run eCos on an Atmel
> >  	 evaluation board (EB40A)."
> > }
> >
> >
> > Where do you include the flash device in your new target eb40 ?
> >
> > Thanks for your help,
> >
> > Christophe
> 
> 
> -- 
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss

-- 
------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

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

end of thread, other threads:[~2002-10-24 21:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-23  8:49 [ECOS] EB40 epk patch Christophe Part
2002-10-24 14:13 ` [ECOS] " Thomas Koeller
2002-10-24 14:26   ` Gary Thomas

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).