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
