This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

address maps in PSIM


Hello.  I am working powerpc-eabi with gcc-2.95.3, binutils-2.12.1,
gdb-5.2, newlib-1.10.0 on SuSE 7.2.  I have been working successfully
with "-e bug", the MOTBUG OEA environment.  I now want to progress 
to a custom environment, starting with the "com" device.  When I run
a sample program I get the following error:

  $ powerpc-eabi-run -f tree.kos5b load5
  core_find_mapping() - access to unmaped address,
      attach a default map to handle this
      - addr=0xf0003005 nr_bytes=0x1 processor=0x40141008 cia=0x57c0

The file tree.kos5b (with some cruft from trial-n-error) is ...

  /#address-cells 2
  /cpus/cpu@0
  /openprom/options
      ./oea-memory-size 0x400000
  /memory@0/available 0 0x400000
  /memory@0/reg 0 0x400000
  /chosen
  /packages
  /iobus@0xf0000000
  /iobus@0xf0000000/reg 0xf0000000 0x01000000
  /iobus@0xf0000000/com@0xf0004000/reg 0xf0004000 8
  /iobus@0xf0000000/com@0xf0004000 > 0 int /cpus/cpu@0x0

My guess is that I need to add memory map for the iobus.
If this is this right, how do I do it?
If not, what do I need to do?

Any help would be appreciated.

Thanks,
Matt

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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