public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] ECOS 2.0 build help: mips_size.ecc: error
@ 2009-04-11  7:41 netadmin @dslextreme.com
  2009-04-11  8:56 ` Andrew Lunn
  0 siblings, 1 reply; 4+ messages in thread
From: netadmin @dslextreme.com @ 2009-04-11  7:41 UTC (permalink / raw)
  To: ecos-discuss

Hi, I am trying to follow the instruction from Netgear GS108T switch
to build its firmware.
It is MIPS based chip.  I followed the instruction and download and
installed ECOS.
Then I realized the original firmware was based on ECOS 2.0.  So I download from
the ECOS mirror site the 2.0.

After applied the source code, I ran this command:
$ECOS_CORE/tools/bin/ecosconfig --config=../mips_size.ecc
--srcdir=$ECOS_CORE/packages --prefix=$ECOS_CORE/mips_install tree

But I got a lot of errors:

../mips_size.ecc: error
    Attempt to load an unknown package `CYGPKG_HAL_MIPS_BCM47xx'.
../mips_size.ecc: error
    Attempt to load an unknown package `CYGPKG_HAL_MIPS_BCM953710'.
../mips_size.ecc: error
    Attempt to load an unknown package `CYGPKG_IO_SERIAL_MIPS_BCM947xx'.
../mips_size.ecc: error
    Attempt to load an unknown package `CYGPKG_DEVS_FLASH_MIPS_BCM947xx'.
../mips_size.ecc: error
    Attempt to load an unknown package `CYGPKG_LOGGING'.
../mips_size.ecc: error
    The savefile contains a cdl_component command for an unknown
component `CYGBLD_GLOBAL_OPTIONS'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGBLD_GLOBAL_COMMAND_PREFIX'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGBLD_GLOBAL_CFLAGS'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGBLD_GLOBAL_LDFLAGS'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGBLD_BUILD_GDB_STUBS'
../mips_size.ecc: error
    The savefile contains a cdl_component command for an unknown
component `CYGPKG_CYGMON_HAL_OPTIONS'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGBLD_BUILD_CYGMON_BIN'
../mips_size.ecc: error
    The savefile contains a cdl_component command for an unknown
component `CYGPKG_REDBOOT_HAL_OPTIONS'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGBLD_BUILD_REDBOOT_BIN'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGSEM_HAL_USE_ROM_MONITOR'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGSEM_HAL_ROM_MONITOR'
../mips_size.ecc: error
    The savefile contains a cdl_package command for
`CYGPKG_HAL_MIPS_BCM47xx' which has not been loaded.
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGHWR_HAL_MIPS_FPU'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGPKG_HAL_MIPS_LSBFIRST'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGHWR_HAL_MIPS_CPU_FREQ_ACTUAL'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGBLD_LINKER_SCRIPT'
../mips_size.ecc: error
    The savefile contains a cdl_package command for
`CYGPKG_HAL_MIPS_BCM953710' which has not been loaded.
../mips_size.ecc: error
    The savefile contains a cdl_component command for an unknown
component `CYG_HAL_STARTUP'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL_BAUD'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL_BAUD'
../mips_size.ecc: error
    The savefile contains a cdl_component command for an unknown
component `CYGNUM_HAL_RTC_CONSTANTS'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGNUM_HAL_RTC_NUMERATOR'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGNUM_HAL_RTC_DENOMINATOR'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGNUM_HAL_RTC_PERIOD'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGNUM_HAL_BREAKPOINT_LIST_SIZE'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL'
../mips_size.ecc: error
    The savefile contains a cdl_component command for an unknown
component `CYGHWR_MEMORY_LAYOUT'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGHWR_MEMORY_LAYOUT_LDI'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGHWR_MEMORY_LAYOUT_H'
../mips_size.ecc: error
    The savefile contains a cdl_package command for
`CYGPKG_IO_SERIAL_MIPS_BCM947xx' which has not been loaded.
../mips_size.ecc: error
    The savefile contains a cdl_interface command for an unknown
interface `CYGINT_IO_SERIAL_GENERIC_16X5X_REQUIRED'.
../mips_size.ecc: error
    The savefile contains a cdl_component command for an unknown
component `CYGPKG_IO_SERIAL_MIPS_BCM947xx_SERIAL0'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGDAT_IO_SERIAL_MIPS_BCM947xx_SERIAL0_NAME'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGNUM_IO_SERIAL_MIPS_BCM947xx_SERIAL0_BAUD'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGNUM_IO_SERIAL_MIPS_BCM947xx_SERIAL0_BUFSIZE'
../mips_size.ecc: error
    The savefile contains a cdl_component command for an unknown
component `CYGPKG_IO_SERIAL_MIPS_BCM947xx_SERIAL1'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGDAT_IO_SERIAL_MIPS_BCM947xx_SERIAL1_NAME'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGNUM_IO_SERIAL_MIPS_BCM947xx_SERIAL1_BAUD'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGNUM_IO_SERIAL_MIPS_BCM947xx_SERIAL1_BUFSIZE'
../mips_size.ecc: error
    The savefile contains a cdl_component command for an unknown
component `CYGPKG_IO_SERIAL_MIPS_BCM947xx_TESTING'
../mips_size.ecc: error
    The savefile contains a cdl_option for an unknown option
`CYGPRI_SER_TEST_SER_DEV'
../mips_size.ecc: error
    The savefile contains a cdl_package command for
`CYGPKG_DEVS_FLASH_MIPS_BCM947xx' which has not been loaded.
../mips_size.ecc: error
    The savefile contains a cdl_interface command for an unknown
interface `CYGINT_DEVS_FLASH_CFI_REQUIRED'.
../mips_size.ecc: error
    The savefile contains a cdl_package command for `CYGPKG_LOGGING'
which has not been loaded.
Invalid savefile "../mips_size.ecc".


What is wrong with this mips_size.ecc?  Where can I find the correct one?

Thanks for your help!

--
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] ECOS 2.0 build help: mips_size.ecc: error
  2009-04-11  7:41 [ECOS] ECOS 2.0 build help: mips_size.ecc: error netadmin @dslextreme.com
@ 2009-04-11  8:56 ` Andrew Lunn
  2009-04-15 15:48   ` netadmin @dslextreme.com
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Lunn @ 2009-04-11  8:56 UTC (permalink / raw)
  To: netadmin @dslextreme.com; +Cc: ecos-discuss

On Fri, Apr 10, 2009 at 03:52:06PM -0700, netadmin @dslextreme.com wrote:
> Hi, I am trying to follow the instruction from Netgear GS108T switch
> to build its firmware.
> It is MIPS based chip.? I followed the instruction and download and
> installed ECOS.
> Then I realized the original firmware was based on ECOS 2.0.? So I download from
> the ECOS mirror site the 2.0.
> 
> After applied the source code, I ran this command:
> $ECOS_CORE/tools/bin/ecosconfig --config=../mips_size.ecc
> --srcdir=$ECOS_CORE/packages --prefix=$ECOS_CORE/mips_install tree
> 
> But I got a lot of errors:
> 
> ../mips_size.ecc: error
> ??? Attempt to load an unknown package `CYGPKG_HAL_MIPS_BCM47xx'.
> ../mips_size.ecc: error
> ??? Attempt to load an unknown package `CYGPKG_HAL_MIPS_BCM953710'.
> ../mips_size.ecc: error
> ??? Attempt to load an unknown package `CYGPKG_IO_SERIAL_MIPS_BCM947xx'.
> ../mips_size.ecc: error
> ??? Attempt to load an unknown package `CYGPKG_DEVS_FLASH_MIPS_BCM947xx'.
> ../mips_size.ecc: error
> ??? Attempt to load an unknown package `CYGPKG_LOGGING'.
> ../mips_size.ecc: error

These packages don't exist in eCos 2.0. I guess Netgear have made some
changes to eCos. Did they supply a patch with these new packages?

        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] ECOS 2.0 build help: mips_size.ecc: error
  2009-04-11  8:56 ` Andrew Lunn
@ 2009-04-15 15:48   ` netadmin @dslextreme.com
  2009-04-15 18:42     ` Gary Thomas
  0 siblings, 1 reply; 4+ messages in thread
From: netadmin @dslextreme.com @ 2009-04-15 15:48 UTC (permalink / raw)
  To: netadmin @dslextreme.com, ecos-discuss

Netgear did provide their code here:
ftp://downloads.netgear.com/files/GPL/GS108T_V1.0.1_03_src.zip
Are you saying those package is missing from their released code?

On Sat, Apr 11, 2009 at 12:41 AM, Andrew Lunn <andrew@lunn.ch> wrote:
> On Fri, Apr 10, 2009 at 03:52:06PM -0700, netadmin @dslextreme.com wrote:
>> Hi, I am trying to follow the instruction from Netgear GS108T switch
>> to build its firmware.
>> It is MIPS based chip.? I followed the instruction and download and
>> installed ECOS.
>> Then I realized the original firmware was based on ECOS 2.0.? So I download from
>> the ECOS mirror site the 2.0.
>>
>> After applied the source code, I ran this command:
>> $ECOS_CORE/tools/bin/ecosconfig --config=../mips_size.ecc
>> --srcdir=$ECOS_CORE/packages --prefix=$ECOS_CORE/mips_install tree
>>
>> But I got a lot of errors:
>>
>> ../mips_size.ecc: error
>> ??? Attempt to load an unknown package `CYGPKG_HAL_MIPS_BCM47xx'.
>> ../mips_size.ecc: error
>> ??? Attempt to load an unknown package `CYGPKG_HAL_MIPS_BCM953710'.
>> ../mips_size.ecc: error
>> ??? Attempt to load an unknown package `CYGPKG_IO_SERIAL_MIPS_BCM947xx'.
>> ../mips_size.ecc: error
>> ??? Attempt to load an unknown package `CYGPKG_DEVS_FLASH_MIPS_BCM947xx'.
>> ../mips_size.ecc: error
>> ??? Attempt to load an unknown package `CYGPKG_LOGGING'.
>> ../mips_size.ecc: error
>
> These packages don't exist in eCos 2.0. I guess Netgear have made some
> changes to eCos. Did they supply a patch with these new packages?
>
>        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] ECOS 2.0 build help: mips_size.ecc: error
  2009-04-15 15:48   ` netadmin @dslextreme.com
@ 2009-04-15 18:42     ` Gary Thomas
  0 siblings, 0 replies; 4+ messages in thread
From: Gary Thomas @ 2009-04-15 18:42 UTC (permalink / raw)
  To: netadmin @dslextreme.com; +Cc: ecos-discuss, eCos Maintainers

netadmin @dslextreme.com wrote:
> Netgear did provide their code here:
> ftp://downloads.netgear.com/files/GPL/GS108T_V1.0.1_03_src.zip
> Are you saying those package is missing from their released code?

This file only contains the files NetGear changed which according to
their install document should be overlaid onto the eCos 2.0 standard
tree.  However, they did *not* provide their changes to 'ecos.db',
nor the sources to any of the packages they added.

IMO, they are not abiding by the GPL :-(

> On Sat, Apr 11, 2009 at 12:41 AM, Andrew Lunn <andrew@lunn.ch> wrote:
>> On Fri, Apr 10, 2009 at 03:52:06PM -0700, netadmin @dslextreme.com wrote:
>>> Hi, I am trying to follow the instruction from Netgear GS108T switch
>>> to build its firmware.
>>> It is MIPS based chip.? I followed the instruction and download and
>>> installed ECOS.
>>> Then I realized the original firmware was based on ECOS 2.0.? So I download from
>>> the ECOS mirror site the 2.0.
>>>
>>> After applied the source code, I ran this command:
>>> $ECOS_CORE/tools/bin/ecosconfig --config=../mips_size.ecc
>>> --srcdir=$ECOS_CORE/packages --prefix=$ECOS_CORE/mips_install tree
>>>
>>> But I got a lot of errors:
>>>
>>> ../mips_size.ecc: error
>>> ??? Attempt to load an unknown package `CYGPKG_HAL_MIPS_BCM47xx'.
>>> ../mips_size.ecc: error
>>> ??? Attempt to load an unknown package `CYGPKG_HAL_MIPS_BCM953710'.
>>> ../mips_size.ecc: error
>>> ??? Attempt to load an unknown package `CYGPKG_IO_SERIAL_MIPS_BCM947xx'.
>>> ../mips_size.ecc: error
>>> ??? Attempt to load an unknown package `CYGPKG_DEVS_FLASH_MIPS_BCM947xx'.
>>> ../mips_size.ecc: error
>>> ??? Attempt to load an unknown package `CYGPKG_LOGGING'.
>>> ../mips_size.ecc: error
>> These packages don't exist in eCos 2.0. I guess Netgear have made some
>> changes to eCos. Did they supply a patch with these new packages?
>>
>>        Andrew
>>
> 


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

end of thread, other threads:[~2009-04-15 16:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-11  7:41 [ECOS] ECOS 2.0 build help: mips_size.ecc: error netadmin @dslextreme.com
2009-04-11  8:56 ` Andrew Lunn
2009-04-15 15:48   ` netadmin @dslextreme.com
2009-04-15 18:42     ` 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).