From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1062 invoked by alias); 19 Sep 2003 16:25:57 -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 1055 invoked from network); 19 Sep 2003 16:25:56 -0000 Received: from unknown (HELO kermit) (62.67.222.139) by sources.redhat.com with SMTP; 19 Sep 2003 16:25:56 -0000 Received: from pd95121f0.dip.t-dialin.net ([217.81.33.240] helo=synertronixx3) by kermit with asmtp (Exim 3.31 #1 (Debian)) id 1A0O4u-0007tr-00; Fri, 19 Sep 2003 18:25:52 +0200 Received: from konsti by synertronixx3 with local (Exim 3.36 #1 (Debian)) id 1A0O4t-00015I-00; Fri, 19 Sep 2003 18:25:51 +0200 Date: Fri, 19 Sep 2003 16:25:00 -0000 From: Konstantin Kletschke To: =?iso-8859-1?Q?=D8yvind?= Harboe Cc: ecos-discuss@sources.redhat.com Message-ID: <20030919162551.GA4127@synertronixx3> Reply-To: konsti@ludenkalle.de References: <001301c37e7f$1ea51eb0$73dea8c0@lair> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <001301c37e7f$1ea51eb0$73dea8c0@lair> X-PGP-Key: http://www.ludenkalle.de/konsti/pubkey.asc User-Agent: Mutt/1.5.4i Subject: [ECOS] Re: YES! redboot and eb40a success story :) X-SW-Source: 2003-09/txt/msg00338.txt.bz2 Hi! On Fri, Sep 19, 2003 at 09:24:53AM +0200, Øyvind Harboe wrote: > > From the BDI2000 prompt: > -------------------- > EB40A>reset > - TARGET: processing reset request > [output deleted] > - TARGET: processing target startup passedEB40A>erase > Erasing flash at 0x01000000 > [output deleted] > Erasing flash passed > EB40A>prog 0x1000000 > c:\e21\workspace\bootloader\output\rimibootloader.bin bin > Programming c:\e21\workspace\bootloader\output\rimibootloader.bin , > please wait > .... > Programming flash passed > EB40A>go 0x1000000 I used your below mentioned patch and redboot lifes now in both halfes of flash (STD/USER Jumper, angel is dead now) an is in best health!!! -> Works like a charm. > Here is a debug session(notice how I change the PC to account for the > BDI having run the remap command): > > -------------------- > $ arm-elf-gdb bootloader/output/rimibootloader.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-cygwin --target=arm-elf"... > (gdb) target remote 192.168.222.200:2001 > Remote debugging using 192.168.222.200:2001 > 0x00000018 in __rom_vectors_lma () > (gdb) monitor reset > (gdb) set $pc=0x1000000 > (gdb) c > Continuing. > --------------------- See above :) > The flash "prog" command supports bin, elf, srec, but you need to > specify Yes, thats clear to me, I only wondered were BDI2000 or/and arm-elf-gdb gets there start and offset addresses from... > Thats why I wrote the patch below: > > http://sources.redhat.com/ml/ecos-patches/2003-09/msg00049.html OK, many thanks in a first instance, I have to learn using this debugger more on on next days... Konsti -- 2.6.0-test1-mm2 Konstantin Kletschke , GPG KeyID EF62FCEF Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF keulator.homelinux.org up 2:35, 18 users -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss