From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7041 invoked by alias); 2 Dec 2003 16:38:15 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 7032 invoked from network); 2 Dec 2003 16:38:14 -0000 Received: from unknown (HELO londo.lunn.ch) (80.238.139.98) by sources.redhat.com with SMTP; 2 Dec 2003 16:38:14 -0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1ARDXR-0004W5-00; Tue, 02 Dec 2003 17:38:13 +0100 Date: Tue, 02 Dec 2003 16:38:00 -0000 To: Ricardo Andrino Cc: ecos-discuss@ecos.sourceware.org Message-ID: <20031202163813.GI21590@lunn.ch> Mail-Followup-To: Ricardo Andrino , ecos-discuss@ecos.sourceware.org References: <200312021613.hB2GD6Q30319@mailgate5.cinetic.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200312021613.hB2GD6Q30319@mailgate5.cinetic.de> User-Agent: Mutt/1.5.4i From: Andrew Lunn Subject: Re: [ECOS] Error in run tests X-SW-Source: 2003-12/txt/msg00033.txt.bz2 On Tue, Dec 02, 2003 at 05:13:06PM +0100, Ricardo Andrino wrote: > Hello again, > I have now chosen the RAM start up but when i try to run the tests the program or the examples these programs hang up.See please the following: > *************************************************************************** > Run started > (gdb) set height 0 > set height 0 > (gdb) set debug remote 0 > set debug remote 0 > (gdb) set remotebaud 38400 > set remotebaud 38400 > (gdb) target rdi /dev/ttyS1 > target rdi /dev/ttyS1 > Angel Debug Monitor (serial) 1.04 (Advanced RISC Machines SDT 2.5) for AT91EB40A (1.00) > Angel Debug Monitor rebuilt on Feb 03 2002 at 16:09:59 > Serial Rate: 38400 > (gdb) load > load > Loading section .rom_vectors, size 0x40 lma 0xc000 > Loading section .text, size 0x6dec lma 0xc040 > Loading section .rodata, size 0x448 lma 0x12e2c > Loading section .data, size 0x2bc lma 0x13274 > Start address 0xc040, load size 30000 > Transfer rate: 26666 bits/sec, 491 bytes/write. > (gdb) break cyg_test_exit > break cyg_test_exit > Breakpoint 1 at 0xead0: file /opt/ecos/ecos-snapshot-2003-11-25/packages/infra/current/src/tcdiag.cxx, line 267. > (gdb) break cyg_assert_fail > break cyg_assert_fail > Function "cyg_assert_fail" not defined. > (gdb) break cyg_test_init > break cyg_test_init > Breakpoint 2 at 0xe9e0: file /opt/ecos/ecos-snapshot-2003-11-25/packages/infra/current/src/tcdiag.cxx, line 192. > (gdb) cont > cont > Continuing. > **************************************************************************** > I don't really know why i can not run the test.It's suppose that it is easy isn't it? and that is only the beginnig!!!!!!! Oh God!!! > > Any idea? First of, do what we have all suggested. Swap to redboot. Thats how eCos has been tested and thats the configuration we know it works in. Its quite possible the setup you are using now the application is using the same memory as Angel. > Another question, i have added the Redboot package in the ecos > configuration tool but if i clicked in Built Redboot ROM elf image, > there are 2 error and the target.ld is not created, When i disable > this option there is no problem why? I will need this file to > download redboot won't i? That is not the correct way to build Redboot. Read the documentation. Andrew -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss