This is the mail archive of the ecos-discuss@sourceware.org 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]

Redboot porting memory layout


Hi,
I trying to port redboot to a new powerpc plataform and had some
problems with start address. The flash is mapped at 0x40000000 and
seems that code starts from 0x0...
Any idea,
I could send some files for reference... let me know if needed.
Thx,
TT

root@desktop:/linuxppc/ecos# ./powerpc-linux-gdb -x mpc.init -nw redboot.img
GNU gdb 5.0
Copyright 2000 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=powerpc-linux"...(no debugging symbols found)...
MPCBDM version 1.2.2 / 2001/06/14
got access rights for printer port 0 addr 0x378..0x37A
disabled power at port 0
Power: turned on powering from port 0
adapter version 2 initialized
Waiting freeze:
Target freeze:
*** init
Target cpu PVR=0x00500000 PARTNUM=0x09 MASKNUM=0x00 REV_NUM=0x0000
warning: unknown CPU. Using default register description
BDM initialized
0x100 in ?? ()
(gdb) LOAD
Loading section .vectors, size 0x2000 lma 0x40000000
Loading section .text, size 0x1d8ec lma 0x40002000
Loading section .rodata, size 0x5a04 lma 0x4001f8f0
Loading section .data, size 0x11c8 lma 0x400252f8
Start address 0x40000100 , load size 156856
Transfer rate: 139427 bits/sec, 509 bytes/write.
(gdb) continue
Continuing.
*** run
*** Resume
*** wait freeze
Waiting freeze:
Target freeze:

Program received signal SIGINT, Interrupt.
I!I!I!I!I!CR := (CR0|4CR1|8CR2|12CR3|16CR4|20CR5|24CR6|28CR7)
SPR 2:Condition Register, UM140
CR = 0x40024042 =
(CR0=0x4|CR1=0x0|CR2=0x0|CR3=0x2|CR4=0x4|CR5=0x0|CR6=0x4|CR7=0x2)
ICR := (|RST|CHSTP|MCI||6EXTI|ALI|PRI|FPUVI|DECI||13SYSI|TR||17SEI|ITLBMS|DTBLMS|ITLBER|DTLBER||28LBRK|IBRK|EBRK|DPI)
SPR 148:Interrupt Cause Register, UM994
ICR = 0x00005000 = (SEI|DTBLMS)
0x45a0 in script_timeout ()

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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