public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Tales Toledo" <toledo.tales@gmail.com>
To: ecos-discuss@ecos.sourceware.org
Subject: [ECOS] Redboot porting memory layout
Date: Wed, 16 May 2007 20:50:00 -0000	[thread overview]
Message-ID: <2308fb0f0705161341h2884cc39j11ed37dc296805a3@mail.gmail.com> (raw)

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

                 reply	other threads:[~2007-05-16 20:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=2308fb0f0705161341h2884cc39j11ed37dc296805a3@mail.gmail.com \
    --to=toledo.tales@gmail.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    /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).