This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: YES! redboot and eb40a success story :)


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 <konsti@ludenkalle.de>, <konsti@ku-gbr.de>
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]