From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesper Skov To: "amassa@cts.com" Cc: jskov@redhat.com, ecos-discuss@sourceware.cygnus.com, jlarmour@redhat.co.uk Subject: [ECOS] RE: MBX Board Date: Tue, 06 Jun 2000 23:51:00 -0000 Message-id: <14653.61665.763856.375732@thinktwice.zoftcorp.dk> References: <200006061724.KAA77998@batman.cts.com> X-SW-Source: 2000-06/msg00081.html >>>>> "amassa@cts" == amassa@cts com writes: amassa@cts> Sorry for not posting to the discussion list directly, but amassa@cts> as I told Jonathan before, because of my ISP my emails to amassa@cts> the discussion list bounce back with an error thinking amassa@cts> that I am spamming the discussion list. I am trying to amassa@cts> get it straightened out with my ISP but it is a slow amassa@cts> process. So I appologize for not posting to the list amassa@cts> directly, but I will as soon as I can, but for now, I hope amassa@cts> you can help me this way. amassa@cts> As far as my problem goes, the memory region in the amassa@cts> target.ld file is: amassa@cts> MEMORY { ram : ORIGIN = 0, LENGTH = 0x400000 rom : ORIGIN amassa@cts> = 0xfe000000, LENGTH = 0x800000 } Which makes the error message rather confusing since it complained about not being able to fit in 32kB - but neither block has such a small length according to the above. amassa@cts> And I tried a build from scratch on a different system and amassa@cts> I still get the same error message. Try this: thinktwice:> ecosconfig new mbx stubs 7 conflict(s) resolved: CYGBLD_BUILD_GDB_STUBS: Requires constraint not satisfied: CYG_HAL_STARTUP == "ROM" CYGBLD_BUILD_GDB_STUBS: Requires constraint not satisfied: ! CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT CYGBLD_BUILD_GDB_STUBS: Requires constraint not satisfied: CYGSEM_HAL_ROM_MONITOR CYGBLD_BUILD_COMMON_GDB_STUBS: Requires constraint not satisfied: CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS CYGBLD_BUILD_GDB_STUBS: Requires constraint not satisfied: CYGBLD_BUILD_COMMON_GDB_STUBS CYGBLD_BUILD_GDB_STUBS: Requires constraint not satisfied: ! CYGDBG_HAL_COMMON_INTERRUPTS_SAVE_MINIMUM_CONTEXT CYGBLD_BUILD_GDB_STUBS: Requires constraint not satisfied: ! CYGDBG_HAL_COMMON_CONTEXT_SAVE_MINIMUM thinktwice:> ecosconfig remove CYGPKG_IO thinktwice:> ecosconfig remove CYGPKG_IO_SERIAL thinktwice:> ecosconfig remove CYGPKG_ERROR thinktwice:> ecosconfig tree thinktwice:> make And try to get the latest sources from CVS. You were using 1.3.1 sources, right? amassa@cts> One thing I did try is changing the clock speed. My MBX amassa@cts> board has a 40 MHz clock. The default on the stub build amassa@cts> for the MBX board is 50 MHz. I have been building with amassa@cts> the 40 MHz selection. However, last night just for grins amassa@cts> I tried to load into flash a version with the 50 MHz amassa@cts> version. This gave some type of output from the MBX amassa@cts> board, but then the processor crashed. amassa@cts> Do you know of some problem using the 40 MHz selection? amassa@cts> Has a stub been tested on the 40 MHz MBX board? I can build for both 40 and 50 MHz configs, and I know we have boards of both types running eCos. Jesper