public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Socrates Socrates" <socrates.socrates@gmail.com>
To: "Gary Thomas" <gary@mlbassoc.com>
Cc: "eCos Discussion" <ecos-discuss@ecos.sourceware.org>
Subject: Re: AW: [ECOS] Huge memory footprint for a simple "hello world"
Date: Mon, 12 Jun 2006 13:15:00 -0000	[thread overview]
Message-ID: <c3d1d81f0606120615j7ff56a46q597c85f8f630bebe@mail.gmail.com> (raw)
In-Reply-To: <1150116432.26392.2.camel@hermes>

> Please keep your replies on the list so that all may benefit (and help).
Being newbie and all...thanks for that advice.

> There are explicit instructions for how to do this in the eCos
> documentation - have you followed them completely?
I am following the instructions
(http://ecos.sourceware.org/docs-latest/redboot/at91.html) to the word
with no sucess. Here are my steps:

1. arm-elf-gdb redboot.elf
~/work/atmel/020606-ARM/install/bin$ arm-elf-gdb redboot.elf
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) tar rdi /dev/ttyS0
Angel Debug Monitor (serial) 1.04 (Advanced RISC Machines SDT 2.5) for
AT91EB40 (2.00)
Angel Debug Monitor rebuilt on Apr 07 2000 at 12:40:31
Serial Rate:   9600
Connected to ARM RDI target.
(gdb) set $cpsr=0xd3
(gdb) load
Loading section .rom_vectors, size 0x40 lma 0x2020000
Loading section .text, size 0xb1bc lma 0x2020040
Loading section .rodata, size 0x1c37 lma 0x202b1fc
Loading section .data, size 0x404 lma 0x202ce34
Start address 0x2020040, load size 53815
Transfer rate: 6425 bits/sec, 498 bytes/write.
(gdb) cont
Continuing.

[3]+  Stopped                 arm-elf-gdb redboot.elf

Here I start minicom so I can load redboot.srec (I even desperately
tried redboot.img/bin)
~/work/atmel/020606-ARM/install/bin$ minicom -o

Welcome to minicom 2.1

OPTIONS: History Buffer, F-key Macros, Search History Buffer, I18n
Compiled on Nov  4 2005, 18:10:30.

Press CTRL-A Z for help on special keys

RedBoot> ver

RedBoot(tm) bootstrap and debug environment [RAM]
Non-certified release, version v2_0 - built 13:29:20, Jun  5 2006

Platform: Atmel AT91/EB40 (ARM7TDMI)
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

RAM: 0x02000000-0x02080000, 0x02033428-0x0207f000 available
FLASH: 0x01010000 - 0x01020000, 256 blocks of 0x00000100 bytes each.

RedBoot> load -m xmodem -b %{FREEMEMLO}

Address offset = 0x00013800
Entry point: 0x02033840, address range: 0x02033800-0x02040a38
xyzModem - CRC mode, 1264(SOH)/0(STX)/0(CAN) packets, 3 retries

RedBoot> fis wr -f 0x01010000 -b %{FREEMEMLO} -l 0xd238

* CAUTION * about to program FLASH

            at 0x01010000..0x0101d2ff from 0x02033800 - continue (y/n)? y

... Erase from 0x01010000-0x0101d300:
............................................................................................................
................................................................................
... Program from 0x02033800-0x02040b00 at 0x01010000:
............................................................................................
................................................................................
RedBoot>

After this step I set SW1 (on the EB40 board) to UPPER MEM then press
restart and nothing happens, meaning no output.


Thanks.

-- 
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-12 13:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <c3d1d81f0606090707m2949968t275a3363b2a49728@mail.gmail.com>
2006-06-09 14:24 ` Ram Sudhir Tadavarthi
2006-06-09 14:33   ` Gary Thomas
     [not found]     ` <c3d1d81f0606120412k17b9f522td7f101256ae41ed4@mail.gmail.com>
2006-06-12 12:49       ` Gary Thomas
2006-06-12 13:15         ` Socrates Socrates [this message]
     [not found] <c3d1d81f0606090521s668a8624v240905456a81fb6e@mail.gmail.com>
2006-06-09 13:45 ` Ram Sudhir Tadavarthi
2006-06-08 12:48 Socrates Socrates
2006-06-08 12:55 ` AW: " Ram Sudhir Tadavarthi

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=c3d1d81f0606120615j7ff56a46q597c85f8f630bebe@mail.gmail.com \
    --to=socrates.socrates@gmail.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=gary@mlbassoc.com \
    /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).