From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17643 invoked by alias); 7 Jun 2006 11:48:30 -0000 Received: (qmail 17619 invoked by uid 22791); 7 Jun 2006 11:48:28 -0000 X-Spam-Check-By: sourceware.org Received: from wr-out-0506.google.com (HELO wr-out-0506.google.com) (64.233.184.235) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 07 Jun 2006 11:47:08 +0000 Received: by wr-out-0506.google.com with SMTP id 68so152764wri for ; Wed, 07 Jun 2006 04:47:05 -0700 (PDT) Received: by 10.65.152.9 with SMTP id e9mr281067qbo; Wed, 07 Jun 2006 04:47:04 -0700 (PDT) Received: by 10.64.180.15 with HTTP; Wed, 7 Jun 2006 04:47:04 -0700 (PDT) Message-ID: Date: Wed, 07 Jun 2006 11:48:00 -0000 From: "Socrates Socrates" To: "Socrates Socrates" , ecos-discuss@ecos.sourceware.org In-Reply-To: <20060607111106.GS15066@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060606133735.GH15066@lunn.ch> <20060606140356.GJ15066@lunn.ch> <20060606142838.GM15066@lunn.ch> <20060607085706.GP15066@lunn.ch> <20060607095227.GR15066@lunn.ch> <20060607111106.GS15066@lunn.ch> X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Huge memory footprint for a simple "hello world" X-SW-Source: 2006-06/txt/msg00071.txt.bz2 Correct that's what I needed. Now problem is the tests work; it just hangs (or does nothing as seen from the last ine below), I followed the example from the website you sent. Here are my steps using the simulator: (The results are the same even when I connect to the board) ~/work/atmel/060606$ rm -rf * socrates@would:~/work/atmel/060606$ ecosconfig new eb40 socrates@would:~/work/atmel/060606$ ecosconfig tree socrates@would:~/work/atmel/060606$ make -s headers finished build finished socrates@would:~/work/atmel/060606$ make -s tests headers finished build finished tests finished socrates@would:~/work/atmel/060606$ arm-elf-gdb -nw install/tests/kernel/v2_0/tests/bin_sem0 GNU gdb 5.3 (eCosCentric) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-elf"... (gdb) target bin Undefined target command: "bin". Try "help target". (gdb) target sim Connected to the simulator. (gdb) load Loading section .rom_vectors, size 0x40 vma 0x2020000 Loading section .text, size 0x6764 vma 0x2020040 Loading section .rodata, size 0x394 vma 0x20267a4 Loading section .data, size 0x2b4 vma 0x2026b38 Start address 0x2020040 Transfer rate: 225120 bits in <1 sec. (gdb) continue Continuing. The program is not being run. (gdb) run Starting program: /home/socrates/work/atmel/060606/install/tests/kernel/v2_0/tests/bin_sem0 On 6/7/06, Andrew Lunn wrote: > On Wed, Jun 07, 2006 at 12:27:13PM +0200, Socrates Socrates wrote: > > Thank you for all that info you provided me with. > > > > The first 3 steps are fine but "make -s tests" fails: > > > > :~/work/atmel/060606$ make -s tests > > headers finished > > build finished > > /home/socrates/work/atmel/060606/install/lib/libtarget.a(redboot_main.o): > > O.K. > > I missed a step. you need to first > > rm -fr > > you Redboot tree, or work in a different directory. You cannot convert > a tree from one template to another. > > 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