public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* Re: [ECOS] Build->Packages WinNT eCos Config Tool Error
@ 2001-05-02  7:05 Sergio Nunes
  0 siblings, 0 replies; 5+ messages in thread
From: Sergio Nunes @ 2001-05-02  7:05 UTC (permalink / raw)
  To: ecos-discuss

Jonathan,

I've resolved my problem. Thanks for your help. As you mentioned in initial
reply, I only get the warning message when I try to add/remove "hardware"
packages.  I'm able to remove other eCos packages without problems.

Sergio




"Sergio Nunes" <snunes@Celestica.com>@sources.redhat.com on 05/02/2001 09:31:50
AM

Sent by:  ecos-discuss-owner@sources.redhat.com


To:   ecos-discuss@sourceware.cygnus.com
cc:

Subject:  Re: [ECOS] Build->Packages WinNT eCos Config Tool Error





I don't really want to edit these templates. What I would like to do is
add/remove packages from an existing eCos Configuration using the eCos
configuration tool. However, when I try to add/remove packages using the
Build->Packages menu option I get the error message mentioned below.  Am I doing
something wrong or is this a bug.  What's the prupose of the Build->Packages
function if it gives you an error/warning everytime you try to change a package.

Thanks,

Sergio





Jonathan Larmour <jlarmour@redhat.com>@sources.redhat.com on 05/01/2001 05:44:11
PM

Sent by:  ecos-discuss-owner@sources.redhat.com


To:   Sergio Nunes <snunes@Celestica.com>
cc:   ecos-discuss@sourceware.cygnus.com

Subject:  Re: [ECOS] Build->Packages WinNT eCos Config Tool Error


Sergio Nunes wrote:
>
> I get the following error/warning message "Add and remove Hardware Packages by
> selecting a new hardware Template" when I try to create a build package using
> the Build->Package option under WinNT version of eCos configuration tool.
>
> I'm unable to locate a GUI method of creating new templates within eCos
> configuration Tool. Any ideas how to workaround this problem manually. I have
> v1.3.1 installed.  I don't necessarily need to create a new template, but
would
> like to edit existing templates to create a specific build configuration.

There's no GUI way to edit templates. They can be found in the
packages/templates directory of your eCos installation and can be carefully
hand-edited there.

But do you really want to do this? If a package is marked as "hardware" and
isn't already in your configuration, it probably doesn't work in any other
hardware.

Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine






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

* Re: [ECOS] Build->Packages WinNT eCos Config Tool Error
  2001-05-02  6:33 Sergio Nunes
@ 2001-05-02  7:00 ` Hugo Tyson
  0 siblings, 0 replies; 5+ messages in thread
From: Hugo Tyson @ 2001-05-02  7:00 UTC (permalink / raw)
  To: ecos-discuss


"Sergio Nunes" <snunes@Celestica.com> writes:

> I don't really want to edit these templates. What I would like to do is
> add/remove packages from an existing eCos Configuration using the eCos
> configuration tool. However, when I try to add/remove packages using the
> Build->Packages menu option I get the error message mentioned below.  Am
> I doing something wrong or is this a bug.  What's the purpose of the
> Build->Packages function if it gives you an error/warning everytime you
> try to change a package?

But it doesn't if the package is not a hardware type package.

For example, you could add or remove the uITRON compatibility package, or
the POSIX package and it would be fine.  Try it please?  If you cannot do
that, then you have indeed found a bug in the Config Tool!

But hardware packages are labelled hardware because they can only be used
on certain hardware.  It makes no sense to add the flash driver for an
EBSA285 board to a build for PowerPC PBX board, so you can't do that.

If you are working on a new platform, and you want to re-use some hardware
packages from a similar existing platform, that's easy.  For your new
platform you must have created a "target" entry in ecos.db - at the very
minimum you will have listed HAL packages for the new target there, so if
you list _all_ the hardware packages to use in the target entry, they will
be included when you select that platform as the build target.

For example

    target nano {
      alias { "nanoEngine StrongARM SA1110 board" nano nanoEngine }
      packages { CYGPKG_HAL_ARM
	  CYGPKG_HAL_ARM_SA11X0
	  CYGPKG_HAL_ARM_SA11X0_NANO
	  CYGPKG_IO_SERIAL_ARM_SA11X0
	  CYGPKG_DEVS_FLASH_NANO
	  CYGPKG_DEVS_FLASH_STRATA
	  CYGPKG_DEVICES_WATCHDOG_ARM_SA11X0
	  CYGPKG_IO_PCI
	  CYGPKG_DEVS_ETH_ARM_NANO
	  CYGPKG_DEVS_ETH_INTEL_I82559
      }
      description "
      The nanoEngine target provides the packages needed to run
      eCos on a Bright Star Engineering nanoEngine StrongARM SA1110 board."
    }

Every one of those packages listed is marked "hardware" because they are
hardware specific; it is pre-defined what targets they can work with, and
selecting one of those targets is the only way to include these packages.

Note that this does not mean that all builds for this target will be
bloated by unused code; many of these platform specific packages
(eg. CYGPKG_DEVS_FLASH_* and CYGPKG_DEVS_ETH_*) will be inactive unless the
generic device driver (CYGPKG_IO_FLASH and CYGPKG_IO_ETH_DRIVERS
respectively) are also included.  And whether to include those generic
drivers is controlled by the Build->Packages facility or the template
chosen or "ecosconfig add", and so on, like any non-hardware-specific
package.

HTH,
	- Huge


> Sergio Nunes wrote:
> >
> > I get the following error/warning message "Add and remove Hardware Packages by
> > selecting a new hardware Template" when I try to create a build package using
> > the Build->Package option under WinNT version of eCos configuration tool.

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

* Re: [ECOS] Build->Packages WinNT eCos Config Tool Error
@ 2001-05-02  6:33 Sergio Nunes
  2001-05-02  7:00 ` Hugo Tyson
  0 siblings, 1 reply; 5+ messages in thread
From: Sergio Nunes @ 2001-05-02  6:33 UTC (permalink / raw)
  To: ecos-discuss

I don't really want to edit these templates. What I would like to do is
add/remove packages from an existing eCos Configuration using the eCos
configuration tool. However, when I try to add/remove packages using the
Build->Packages menu option I get the error message mentioned below.  Am I doing
something wrong or is this a bug.  What's the prupose of the Build->Packages
function if it gives you an error/warning everytime you try to change a package.

Thanks,

Sergio





Jonathan Larmour <jlarmour@redhat.com>@sources.redhat.com on 05/01/2001 05:44:11
PM

Sent by:  ecos-discuss-owner@sources.redhat.com


To:   Sergio Nunes <snunes@Celestica.com>
cc:   ecos-discuss@sourceware.cygnus.com

Subject:  Re: [ECOS] Build->Packages WinNT eCos Config Tool Error


Sergio Nunes wrote:
>
> I get the following error/warning message "Add and remove Hardware Packages by
> selecting a new hardware Template" when I try to create a build package using
> the Build->Package option under WinNT version of eCos configuration tool.
>
> I'm unable to locate a GUI method of creating new templates within eCos
> configuration Tool. Any ideas how to workaround this problem manually. I have
> v1.3.1 installed.  I don't necessarily need to create a new template, but
would
> like to edit existing templates to create a specific build configuration.

There's no GUI way to edit templates. They can be found in the
packages/templates directory of your eCos installation and can be carefully
hand-edited there.

But do you really want to do this? If a package is marked as "hardware" and
isn't already in your configuration, it probably doesn't work in any other
hardware.

Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine



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

* Re: [ECOS] Build->Packages WinNT eCos Config Tool Error
  2001-05-01 13:51 Sergio Nunes
@ 2001-05-01 14:44 ` Jonathan Larmour
  0 siblings, 0 replies; 5+ messages in thread
From: Jonathan Larmour @ 2001-05-01 14:44 UTC (permalink / raw)
  To: Sergio Nunes; +Cc: ecos-discuss

Sergio Nunes wrote:
> 
> I get the following error/warning message "Add and remove Hardware Packages by
> selecting a new hardware Template" when I try to create a build package using
> the Build->Package option under WinNT version of eCos configuration tool.
> 
> I'm unable to locate a GUI method of creating new templates within eCos
> configuration Tool. Any ideas how to workaround this problem manually. I have
> v1.3.1 installed.  I don't necessarily need to create a new template, but would
> like to edit existing templates to create a specific build configuration.

There's no GUI way to edit templates. They can be found in the
packages/templates directory of your eCos installation and can be carefully
hand-edited there.

But do you really want to do this? If a package is marked as "hardware" and
isn't already in your configuration, it probably doesn't work in any other
hardware.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

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

* [ECOS] Build->Packages WinNT eCos Config Tool Error
@ 2001-05-01 13:51 Sergio Nunes
  2001-05-01 14:44 ` Jonathan Larmour
  0 siblings, 1 reply; 5+ messages in thread
From: Sergio Nunes @ 2001-05-01 13:51 UTC (permalink / raw)
  To: ecos-discuss

I get the following error/warning message "Add and remove Hardware Packages by
selecting a new hardware Template" when I try to create a build package using
the Build->Package option under WinNT version of eCos configuration tool.

I'm unable to locate a GUI method of creating new templates within eCos
configuration Tool. Any ideas how to workaround this problem manually. I have
v1.3.1 installed.  I don't necessarily need to create a new template, but would
like to edit existing templates to create a specific build configuration.

Thanks,

Sergio


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

end of thread, other threads:[~2001-05-02  7:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-02  7:05 [ECOS] Build->Packages WinNT eCos Config Tool Error Sergio Nunes
  -- strict thread matches above, loose matches on Subject: below --
2001-05-02  6:33 Sergio Nunes
2001-05-02  7:00 ` Hugo Tyson
2001-05-01 13:51 Sergio Nunes
2001-05-01 14:44 ` Jonathan Larmour

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