public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Socrates Socrates" <socrates.socrates@gmail.com>
To: "Socrates Socrates" <socrates.socrates@gmail.com>,
	 	ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Huge memory footprint for a simple "hello world"
Date: Wed, 07 Jun 2006 11:48:00 -0000	[thread overview]
Message-ID: <c3d1d81f0606070447j2d237153ldacb8958ad31433@mail.gmail.com> (raw)
In-Reply-To: <20060607111106.GS15066@lunn.ch>

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 <andrew@lunn.ch> 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

  reply	other threads:[~2006-06-07 11:48 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-06 12:03 Socrates Socrates
2006-06-06 13:38 ` Andrew Lunn
2006-06-06 13:58   ` Socrates Socrates
2006-06-06 14:05     ` Andrew Lunn
2006-06-06 14:19       ` Socrates Socrates
2006-06-06 14:54         ` Andrew Lunn
2006-06-07  8:50           ` Socrates Socrates
2006-06-07  8:58             ` Andrew Lunn
2006-06-07  9:40               ` Socrates Socrates
2006-06-07  9:53                 ` Andrew Lunn
2006-06-07 10:28                   ` Socrates Socrates
2006-06-07 11:11                     ` Andrew Lunn
2006-06-07 11:48                       ` Socrates Socrates [this message]
2006-06-07 11:54                         ` Andrew Lunn
2006-06-08 12:28                           ` Socrates Socrates
2006-06-08 12:35                             ` Andrew Lunn
2006-06-08 12:48                               ` Socrates Socrates
2006-06-08 12:55                                 ` AW: " Ram Sudhir Tadavarthi
2006-06-07 11:57                 ` Gary Thomas
2006-06-07 12:09                   ` [ECOS] Python under eCos Evgeny Belyanco
2006-06-07 12:15                     ` Gary Thomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c3d1d81f0606070447j2d237153ldacb8958ad31433@mail.gmail.com \
    --to=socrates.socrates@gmail.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).