From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18347 invoked by alias); 12 Jun 2006 13:15:27 -0000 Received: (qmail 18161 invoked by uid 22791); 12 Jun 2006 13:15:22 -0000 X-Spam-Check-By: sourceware.org Received: from wr-out-0506.google.com (HELO wr-out-0506.google.com) (64.233.184.234) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 12 Jun 2006 13:15:12 +0000 Received: by wr-out-0506.google.com with SMTP id 68so1204045wri for ; Mon, 12 Jun 2006 06:15:08 -0700 (PDT) Received: by 10.65.96.17 with SMTP id y17mr4590885qbl; Mon, 12 Jun 2006 06:15:07 -0700 (PDT) Received: by 10.64.180.15 with HTTP; Mon, 12 Jun 2006 06:15:07 -0700 (PDT) Message-ID: Date: Mon, 12 Jun 2006 13:15:00 -0000 From: "Socrates Socrates" To: "Gary Thomas" Cc: "eCos Discussion" In-Reply-To: <1150116432.26392.2.camel@hermes> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060609140944.422D3215E1B@gemmini.netco.de> <1149863603.22880.26.camel@hermes> <1150116432.26392.2.camel@hermes> 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: AW: [ECOS] Huge memory footprint for a simple "hello world" X-SW-Source: 2006-06/txt/msg00107.txt.bz2 > 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