public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Configuration Tool
@ 2003-10-03 11:53 James Yates
  2003-10-06  2:07 ` Satish Kumar
  0 siblings, 1 reply; 12+ messages in thread
From: James Yates @ 2003-10-03 11:53 UTC (permalink / raw)
  To: ecos-discuss

I am performing a port for a hardware target using the SH7145 chip. When I create a template in the configuration tool for my target platform, resolve conflict dialog appears as follows:

Item: CYGPKG_HAL_SH_SH7145_PC388  requires CYGPKG_HAL_SH_7145

I have palced CYGPKG_HAL_SH_7145 in the target in the ecos.db as follows, any ideas what I have missed out.

package CYGPKG_HAL_SH_SH7145_PC388 {
        alias           { "Quartz PC388 (sh7145)Board board" hal_sh_pc388 sh_pc388_hal }
        directory       hal/sh/pc388
        script          hal_sh_sh7145_pc388.cdl
        hardware
        description "
           This SH HAL package provides the support needed to run
           eCos on a Quartz PC388 board."
}

target pc388 {
        alias { "Quartz PC388 (7145)" pc388 }
        packages { CYGPKG_HAL_SH
                   CYGPKG_HAL_SH_SH2
                   CYGPKG_HAL_SH_SH7145_PC388
		CYGPKG_HAL_SH_7145
	           CYGPKG_IO_SERIAL_SH_SCI
        }
        description "
           The PC388 target provides the packages needed to run
           eCos on a Quartz PC388 (7145 based) board."
}



Any help would be greatfully received.

	An eCos Newbie but Enthusiast.

		James Yates

--
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] 12+ messages in thread

* Re: [ECOS] Configuration Tool
  2003-10-03 11:53 [ECOS] Configuration Tool James Yates
@ 2003-10-06  2:07 ` Satish Kumar
  0 siblings, 0 replies; 12+ messages in thread
From: Satish Kumar @ 2003-10-06  2:07 UTC (permalink / raw)
  To: James Yates; +Cc: ecos-discuss

well, u got to relook ur hal_sh_sh7145_pc388.cdl file..i think u may not
have declared the parent option.

satish

On Fri, 3 Oct 2003 12:54:47 +0100
"James Yates" <j.yates@quartzuk.com> wrote:

> I am performing a port for a hardware target using the SH7145 chip. When I create a template in the configuration tool for my target platform, resolve conflict dialog appears as follows:
> 
> Item: CYGPKG_HAL_SH_SH7145_PC388  requires CYGPKG_HAL_SH_7145
> 
> I have palced CYGPKG_HAL_SH_7145 in the target in the ecos.db as follows, any ideas what I have missed out.
> 
> package CYGPKG_HAL_SH_SH7145_PC388 {
>         alias           { "Quartz PC388 (sh7145)Board board" hal_sh_pc388 sh_pc388_hal }
>         directory       hal/sh/pc388
>         script          hal_sh_sh7145_pc388.cdl
>         hardware
>         description "
>            This SH HAL package provides the support needed to run
>            eCos on a Quartz PC388 board."
> }
> 
> target pc388 {
>         alias { "Quartz PC388 (7145)" pc388 }
>         packages { CYGPKG_HAL_SH
>                    CYGPKG_HAL_SH_SH2
>                    CYGPKG_HAL_SH_SH7145_PC388
> 		CYGPKG_HAL_SH_7145
> 	           CYGPKG_IO_SERIAL_SH_SCI
>         }
>         description "
>            The PC388 target provides the packages needed to run
>            eCos on a Quartz PC388 (7145 based) board."
> }
> 
> 
> 
> Any help would be greatfully received.
> 
> 	An eCos Newbie but Enthusiast.
> 
> 		James Yates
> 
> -- 
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss

-- 
Satish Kumar <satish@bvt.sc.sanyo.co.jp>


-- 
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] 12+ messages in thread

* Re: [ECOS] Configuration Tool
  2006-01-30 14:56 mirkomassi
  2006-01-30 14:59 ` Gary Thomas
@ 2006-01-30 15:02 ` Andrew Lunn
  1 sibling, 0 replies; 12+ messages in thread
From: Andrew Lunn @ 2006-01-30 15:02 UTC (permalink / raw)
  To: mirkomassi; +Cc: ecos-discuss

On Mon, Jan 30, 2006 at 03:54:20PM +0100, mirkomassi@tiscali.it wrote:
> I want to modify the configtool! How I must make?
> For example if I must add an algorithm of scheduling in the path eCos 
> Kernel/Kernel Schedulers.

Do you want to change the confgurtion tool itself, or the information
it shows?

Adding a new scheduler does not require a change to the configtool
itself. What you need to do it modify the kernel cdl file. This file
is used by the configtool to display the different options.

I suggest you read the Componets Writers Guide documentation which you
can find under Documentation on ecos.sourceware.org

        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] 12+ messages in thread

* [ECOS] Configuration Tool
@ 2006-01-30 14:59 mirkomassi
  0 siblings, 0 replies; 12+ messages in thread
From: mirkomassi @ 2006-01-30 14:59 UTC (permalink / raw)
  To: ecos-discuss

I want to modify the configtool! How I must make?
For example if I must add an algorithm of scheduling in the path eCos 
Kernel/Kernel Schedulers.

Thanks.



		
Tiscali ADSL 4 Mega Flat
Naviga senza limiti con l'unica Adsl a 4 Mega di velocità a soli 19,95 € al mese!
Attivala subito e hai GRATIS 2 MESI e l'ATTIVAZIONE. 
http://abbonati.tiscali.it/adsl/sa/4flat_tc/

--
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] 12+ messages in thread

* Re: [ECOS] Configuration Tool
  2006-01-30 14:56 mirkomassi
@ 2006-01-30 14:59 ` Gary Thomas
  2006-01-30 15:02 ` Andrew Lunn
  1 sibling, 0 replies; 12+ messages in thread
From: Gary Thomas @ 2006-01-30 14:59 UTC (permalink / raw)
  To: mirkomassi; +Cc: eCos Discussion

On Mon, 2006-01-30 at 15:54 +0100, mirkomassi@tiscali.it wrote:
> I want to modify the configtool! How I must make?

How so?  What do you want to change in the config tool?

> For example if I must add an algorithm of scheduling in the path eCos 
> Kernel/Kernel Schedulers.

These sort of changes happen when you change the CDL.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


-- 
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] 12+ messages in thread

* [ECOS] Configuration Tool
@ 2006-01-30 14:56 mirkomassi
  2006-01-30 14:59 ` Gary Thomas
  2006-01-30 15:02 ` Andrew Lunn
  0 siblings, 2 replies; 12+ messages in thread
From: mirkomassi @ 2006-01-30 14:56 UTC (permalink / raw)
  To: ecos-discuss

I want to modify the configtool! How I must make?
For example if I must add an algorithm of scheduling in the path eCos 
Kernel/Kernel Schedulers.

Thanks.



		
Tiscali ADSL 4 Mega Flat
Naviga senza limiti con l'unica Adsl a 4 Mega di velocità a soli 19,95 € al mese!
Attivala subito e hai GRATIS 2 MESI e l'ATTIVAZIONE. 
http://abbonati.tiscali.it/adsl/sa/4flat_tc/

--
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] 12+ messages in thread

* Re: [ECOS] Configuration Tool
  2005-05-04 13:15 Yibin Li
@ 2005-05-04 14:01 ` Jokke Ramberg
  0 siblings, 0 replies; 12+ messages in thread
From: Jokke Ramberg @ 2005-05-04 14:01 UTC (permalink / raw)
  To: Yibin Li; +Cc: ecos-discuss

ons 2005-05-04 klockan 14:14 +0100 skrev Yibin Li:
> Dear all:
> 
> i'm trying to install Configuration Tool following  tips from
> ecoscentric, but when I were runing "$HOME/cvs/ecos/host/configure
> --prefix=$HOME/ecos-tools" to build  host infrastructure, I got errors
> as "unable to locate Tcl header file tcl.h" and "failed for  libcdl".
> 
> Does this mean I need to update some library file or something ?
> 
> 
> Thanks
> 
> 
> Yibin
> 

Following istructions for download and isntall on:
http://sourceware.org/ecos/
doesn't seem to give that kind of problems.

Jokke


-- 
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] 12+ messages in thread

* [ECOS] Configuration Tool
@ 2005-05-04 13:15 Yibin Li
  2005-05-04 14:01 ` Jokke Ramberg
  0 siblings, 1 reply; 12+ messages in thread
From: Yibin Li @ 2005-05-04 13:15 UTC (permalink / raw)
  To: ecos-discuss

Dear all:

i'm trying to install Configuration Tool following  tips from
ecoscentric, but when I were runing "$HOME/cvs/ecos/host/configure
--prefix=$HOME/ecos-tools" to build  host infrastructure, I got errors
as "unable to locate Tcl header file tcl.h" and "failed for  libcdl".

Does this mean I need to update some library file or something ?


Thanks


Yibin

--
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] 12+ messages in thread

* RE: [ECOS] Configuration Tool
@ 2003-10-07  8:37 James Yates
  0 siblings, 0 replies; 12+ messages in thread
From: James Yates @ 2003-10-07  8:37 UTC (permalink / raw)
  To: Gary Thomas, Satish Kumar; +Cc: eCos Discussion

Indeed you are right. After much searching this appears to be an issue with certain versions of gcc. I thought that the configuration tool was using the last sh-elf-gcc as configured in the build path. However, my environment had a different version of gcc in the path. I had been using sh-elf-gcc supplied for the sh by KPIT. AS soon as I removed this from my environment PATH, everything kicked into life. I made the assumption that the configuration tool would use the path supplied, but it appears that the system environment can override this.

	Many thanks for your help.

-----Original Message-----
From: Gary Thomas [mailto:gary@mlbassoc.com]
Sent: 07 October 2003 02:57
To: Satish Kumar
Cc: James Yates; eCos Discussion
Subject: Re: [ECOS] Configuration Tool


On Mon, 2003-10-06 at 19:05, Satish Kumar wrote:
> Check out the Global build options in the configuration tool. see what
> compiler options u have given in ur cdl file..also try building with out
> -O2 option.
> 
> satish

What version of GCC is this?  What platform (Windows, Linux)?

This seems like an issue which has been seen before - try searching
the archives.

> 
> 
> 
> On Mon, 6 Oct 2003 11:17:54 +0100
> "James Yates" <j.yates@quartzuk.com> wrote:
> 
> > Many Thanks, seem to have sorted it now.
> > 
> > have another question, when I attempt to build the library, I get the following error.
> > 
> > make[1]: Entering directory `/ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/pc388_build/services/cpuload/v2_0b1'
> > sh-elf-gcc.exe: cannot specify -o with -c or -S and multiple compilations
> > make[1]: Nothing to be done for `headers'.
> > make[1]: *** [/ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/pc388_install/include/cyg/hal/sh_offsets.inc] Error 1
> > make[1]: Leaving directory `/ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/pc388_build/services/cpuload/v2_0b1'
> > make: *** [build] Error 2
> > headers finished
> > 
> > I can't see where the -o -c or -S flags are specified.
> > 
> > My global compiler flags are :
> > 
> > -mb -m2 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority
> > 
> > and my global linker flags are:
> > 
> > -mb -m2 -ggdb -nostdlib -Wl,--gc-sections -Wl,-static
> > 
> > Any ideas?
> > 
> > 
> > -----Original Message-----
> > From: Satish Kumar [mailto:satish@bvt.sc.sanyo.co.jp]
> > Sent: 06 October 2003 03:07
> > To: James Yates
> > Cc: ecos-discuss@sources.redhat.com
> > Subject: Re: [ECOS] Configuration Tool
> > 
> > 
> > well, u got to relook ur hal_sh_sh7145_pc388.cdl file..i think u may not
> > have declared the parent option.
> > 
> > satish
> > 
> > On Fri, 3 Oct 2003 12:54:47 +0100
> > "James Yates" <j.yates@quartzuk.com> wrote:
> > 
> > > I am performing a port for a hardware target using the SH7145 chip. When I create a template in the configuration tool for my target platform, resolve conflict dialog appears as follows:
> > > 
> > > Item: CYGPKG_HAL_SH_SH7145_PC388  requires CYGPKG_HAL_SH_7145
> > > 
> > > I have palced CYGPKG_HAL_SH_7145 in the target in the ecos.db as follows, any ideas what I have missed out.
> > > 
> > > package CYGPKG_HAL_SH_SH7145_PC388 {
> > >         alias           { "Quartz PC388 (sh7145)Board board" hal_sh_pc388 sh_pc388_hal }
> > >         directory       hal/sh/pc388
> > >         script          hal_sh_sh7145_pc388.cdl
> > >         hardware
> > >         description "
> > >            This SH HAL package provides the support needed to run
> > >            eCos on a Quartz PC388 board."
> > > }
> > > 
> > > target pc388 {
> > >         alias { "Quartz PC388 (7145)" pc388 }
> > >         packages { CYGPKG_HAL_SH
> > >                    CYGPKG_HAL_SH_SH2
> > >                    CYGPKG_HAL_SH_SH7145_PC388
> > > 		CYGPKG_HAL_SH_7145
> > > 	           CYGPKG_IO_SERIAL_SH_SCI
> > >         }
> > >         description "
> > >            The PC388 target provides the packages needed to run
> > >            eCos on a Quartz PC388 (7145 based) board."
> > > }
> > > 
> > > 
> > > 
> > > Any help would be greatfully received.
> > > 
> > > 	An eCos Newbie but Enthusiast.
> > > 
> > > 		James Yates
> > > 
> > > -- 
> > > Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> > > and search the list archive: http://sources.redhat.com/ml/ecos-discuss
> > 
> > -- 
> > Satish Kumar <satish@bvt.sc.sanyo.co.jp>
> 
> -- 
> Satish Kumar <satish@bvt.sc.sanyo.co.jp>
-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


--
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] 12+ messages in thread

* Re: [ECOS] Configuration Tool
  2003-10-07  1:06 ` Satish Kumar
@ 2003-10-07  1:57   ` Gary Thomas
  0 siblings, 0 replies; 12+ messages in thread
From: Gary Thomas @ 2003-10-07  1:57 UTC (permalink / raw)
  To: Satish Kumar; +Cc: James Yates, eCos Discussion

On Mon, 2003-10-06 at 19:05, Satish Kumar wrote:
> Check out the Global build options in the configuration tool. see what
> compiler options u have given in ur cdl file..also try building with out
> -O2 option.
> 
> satish

What version of GCC is this?  What platform (Windows, Linux)?

This seems like an issue which has been seen before - try searching
the archives.

> 
> 
> 
> On Mon, 6 Oct 2003 11:17:54 +0100
> "James Yates" <j.yates@quartzuk.com> wrote:
> 
> > Many Thanks, seem to have sorted it now.
> > 
> > have another question, when I attempt to build the library, I get the following error.
> > 
> > make[1]: Entering directory `/ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/pc388_build/services/cpuload/v2_0b1'
> > sh-elf-gcc.exe: cannot specify -o with -c or -S and multiple compilations
> > make[1]: Nothing to be done for `headers'.
> > make[1]: *** [/ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/pc388_install/include/cyg/hal/sh_offsets.inc] Error 1
> > make[1]: Leaving directory `/ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/pc388_build/services/cpuload/v2_0b1'
> > make: *** [build] Error 2
> > headers finished
> > 
> > I can't see where the -o -c or -S flags are specified.
> > 
> > My global compiler flags are :
> > 
> > -mb -m2 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority
> > 
> > and my global linker flags are:
> > 
> > -mb -m2 -ggdb -nostdlib -Wl,--gc-sections -Wl,-static
> > 
> > Any ideas?
> > 
> > 
> > -----Original Message-----
> > From: Satish Kumar [mailto:satish@bvt.sc.sanyo.co.jp]
> > Sent: 06 October 2003 03:07
> > To: James Yates
> > Cc: ecos-discuss@sources.redhat.com
> > Subject: Re: [ECOS] Configuration Tool
> > 
> > 
> > well, u got to relook ur hal_sh_sh7145_pc388.cdl file..i think u may not
> > have declared the parent option.
> > 
> > satish
> > 
> > On Fri, 3 Oct 2003 12:54:47 +0100
> > "James Yates" <j.yates@quartzuk.com> wrote:
> > 
> > > I am performing a port for a hardware target using the SH7145 chip. When I create a template in the configuration tool for my target platform, resolve conflict dialog appears as follows:
> > > 
> > > Item: CYGPKG_HAL_SH_SH7145_PC388  requires CYGPKG_HAL_SH_7145
> > > 
> > > I have palced CYGPKG_HAL_SH_7145 in the target in the ecos.db as follows, any ideas what I have missed out.
> > > 
> > > package CYGPKG_HAL_SH_SH7145_PC388 {
> > >         alias           { "Quartz PC388 (sh7145)Board board" hal_sh_pc388 sh_pc388_hal }
> > >         directory       hal/sh/pc388
> > >         script          hal_sh_sh7145_pc388.cdl
> > >         hardware
> > >         description "
> > >            This SH HAL package provides the support needed to run
> > >            eCos on a Quartz PC388 board."
> > > }
> > > 
> > > target pc388 {
> > >         alias { "Quartz PC388 (7145)" pc388 }
> > >         packages { CYGPKG_HAL_SH
> > >                    CYGPKG_HAL_SH_SH2
> > >                    CYGPKG_HAL_SH_SH7145_PC388
> > > 		CYGPKG_HAL_SH_7145
> > > 	           CYGPKG_IO_SERIAL_SH_SCI
> > >         }
> > >         description "
> > >            The PC388 target provides the packages needed to run
> > >            eCos on a Quartz PC388 (7145 based) board."
> > > }
> > > 
> > > 
> > > 
> > > Any help would be greatfully received.
> > > 
> > > 	An eCos Newbie but Enthusiast.
> > > 
> > > 		James Yates
> > > 
> > > -- 
> > > Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> > > and search the list archive: http://sources.redhat.com/ml/ecos-discuss
> > 
> > -- 
> > Satish Kumar <satish@bvt.sc.sanyo.co.jp>
> 
> -- 
> Satish Kumar <satish@bvt.sc.sanyo.co.jp>
-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


-- 
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] 12+ messages in thread

* Re: [ECOS] Configuration Tool
  2003-10-06 10:16 James Yates
@ 2003-10-07  1:06 ` Satish Kumar
  2003-10-07  1:57   ` Gary Thomas
  0 siblings, 1 reply; 12+ messages in thread
From: Satish Kumar @ 2003-10-07  1:06 UTC (permalink / raw)
  To: James Yates; +Cc: ecos-discuss

Check out the Global build options in the configuration tool. see what
compiler options u have given in ur cdl file..also try building with out
-O2 option.

satish



On Mon, 6 Oct 2003 11:17:54 +0100
"James Yates" <j.yates@quartzuk.com> wrote:

> Many Thanks, seem to have sorted it now.
> 
> have another question, when I attempt to build the library, I get the following error.
> 
> make[1]: Entering directory `/ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/pc388_build/services/cpuload/v2_0b1'
> sh-elf-gcc.exe: cannot specify -o with -c or -S and multiple compilations
> make[1]: Nothing to be done for `headers'.
> make[1]: *** [/ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/pc388_install/include/cyg/hal/sh_offsets.inc] Error 1
> make[1]: Leaving directory `/ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/pc388_build/services/cpuload/v2_0b1'
> make: *** [build] Error 2
> headers finished
> 
> I can't see where the -o -c or -S flags are specified.
> 
> My global compiler flags are :
> 
> -mb -m2 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority
> 
> and my global linker flags are:
> 
> -mb -m2 -ggdb -nostdlib -Wl,--gc-sections -Wl,-static
> 
> Any ideas?
> 
> 
> -----Original Message-----
> From: Satish Kumar [mailto:satish@bvt.sc.sanyo.co.jp]
> Sent: 06 October 2003 03:07
> To: James Yates
> Cc: ecos-discuss@sources.redhat.com
> Subject: Re: [ECOS] Configuration Tool
> 
> 
> well, u got to relook ur hal_sh_sh7145_pc388.cdl file..i think u may not
> have declared the parent option.
> 
> satish
> 
> On Fri, 3 Oct 2003 12:54:47 +0100
> "James Yates" <j.yates@quartzuk.com> wrote:
> 
> > I am performing a port for a hardware target using the SH7145 chip. When I create a template in the configuration tool for my target platform, resolve conflict dialog appears as follows:
> > 
> > Item: CYGPKG_HAL_SH_SH7145_PC388  requires CYGPKG_HAL_SH_7145
> > 
> > I have palced CYGPKG_HAL_SH_7145 in the target in the ecos.db as follows, any ideas what I have missed out.
> > 
> > package CYGPKG_HAL_SH_SH7145_PC388 {
> >         alias           { "Quartz PC388 (sh7145)Board board" hal_sh_pc388 sh_pc388_hal }
> >         directory       hal/sh/pc388
> >         script          hal_sh_sh7145_pc388.cdl
> >         hardware
> >         description "
> >            This SH HAL package provides the support needed to run
> >            eCos on a Quartz PC388 board."
> > }
> > 
> > target pc388 {
> >         alias { "Quartz PC388 (7145)" pc388 }
> >         packages { CYGPKG_HAL_SH
> >                    CYGPKG_HAL_SH_SH2
> >                    CYGPKG_HAL_SH_SH7145_PC388
> > 		CYGPKG_HAL_SH_7145
> > 	           CYGPKG_IO_SERIAL_SH_SCI
> >         }
> >         description "
> >            The PC388 target provides the packages needed to run
> >            eCos on a Quartz PC388 (7145 based) board."
> > }
> > 
> > 
> > 
> > Any help would be greatfully received.
> > 
> > 	An eCos Newbie but Enthusiast.
> > 
> > 		James Yates
> > 
> > -- 
> > Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> > and search the list archive: http://sources.redhat.com/ml/ecos-discuss
> 
> -- 
> Satish Kumar <satish@bvt.sc.sanyo.co.jp>

-- 
Satish Kumar <satish@bvt.sc.sanyo.co.jp>


-- 
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] 12+ messages in thread

* RE: [ECOS] Configuration Tool
@ 2003-10-06 10:16 James Yates
  2003-10-07  1:06 ` Satish Kumar
  0 siblings, 1 reply; 12+ messages in thread
From: James Yates @ 2003-10-06 10:16 UTC (permalink / raw)
  To: Satish Kumar; +Cc: ecos-discuss

Many Thanks, seem to have sorted it now.

have another question, when I attempt to build the library, I get the following error.

make[1]: Entering directory `/ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/pc388_build/services/cpuload/v2_0b1'
sh-elf-gcc.exe: cannot specify -o with -c or -S and multiple compilations
make[1]: Nothing to be done for `headers'.
make[1]: *** [/ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/pc388_install/include/cyg/hal/sh_offsets.inc] Error 1
make[1]: Leaving directory `/ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/pc388_build/services/cpuload/v2_0b1'
make: *** [build] Error 2
headers finished

I can't see where the -o -c or -S flags are specified.

My global compiler flags are :

-mb -m2 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority

and my global linker flags are:

-mb -m2 -ggdb -nostdlib -Wl,--gc-sections -Wl,-static

Any ideas?


-----Original Message-----
From: Satish Kumar [mailto:satish@bvt.sc.sanyo.co.jp]
Sent: 06 October 2003 03:07
To: James Yates
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Configuration Tool


well, u got to relook ur hal_sh_sh7145_pc388.cdl file..i think u may not
have declared the parent option.

satish

On Fri, 3 Oct 2003 12:54:47 +0100
"James Yates" <j.yates@quartzuk.com> wrote:

> I am performing a port for a hardware target using the SH7145 chip. When I create a template in the configuration tool for my target platform, resolve conflict dialog appears as follows:
> 
> Item: CYGPKG_HAL_SH_SH7145_PC388  requires CYGPKG_HAL_SH_7145
> 
> I have palced CYGPKG_HAL_SH_7145 in the target in the ecos.db as follows, any ideas what I have missed out.
> 
> package CYGPKG_HAL_SH_SH7145_PC388 {
>         alias           { "Quartz PC388 (sh7145)Board board" hal_sh_pc388 sh_pc388_hal }
>         directory       hal/sh/pc388
>         script          hal_sh_sh7145_pc388.cdl
>         hardware
>         description "
>            This SH HAL package provides the support needed to run
>            eCos on a Quartz PC388 board."
> }
> 
> target pc388 {
>         alias { "Quartz PC388 (7145)" pc388 }
>         packages { CYGPKG_HAL_SH
>                    CYGPKG_HAL_SH_SH2
>                    CYGPKG_HAL_SH_SH7145_PC388
> 		CYGPKG_HAL_SH_7145
> 	           CYGPKG_IO_SERIAL_SH_SCI
>         }
>         description "
>            The PC388 target provides the packages needed to run
>            eCos on a Quartz PC388 (7145 based) board."
> }
> 
> 
> 
> Any help would be greatfully received.
> 
> 	An eCos Newbie but Enthusiast.
> 
> 		James Yates
> 
> -- 
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss

-- 
Satish Kumar <satish@bvt.sc.sanyo.co.jp>


--
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] 12+ messages in thread

end of thread, other threads:[~2006-01-30 15:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-03 11:53 [ECOS] Configuration Tool James Yates
2003-10-06  2:07 ` Satish Kumar
2003-10-06 10:16 James Yates
2003-10-07  1:06 ` Satish Kumar
2003-10-07  1:57   ` Gary Thomas
2003-10-07  8:37 James Yates
2005-05-04 13:15 Yibin Li
2005-05-04 14:01 ` Jokke Ramberg
2006-01-30 14:56 mirkomassi
2006-01-30 14:59 ` Gary Thomas
2006-01-30 15:02 ` Andrew Lunn
2006-01-30 14:59 mirkomassi

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