Novice problems with psim powerpc

Thomas Doerfler Thomas.Doerfler at imd-systems.de
Wed May 8 10:23:05 UTC 2002


Hi Jack,

> Hello,
> 
> I am still having problems starting powerpc-rtems-gdb
> and hello.nxe on Linux i686, using psim.

I never worked with the powerpc simulator under RTEMS, but I 
would guess it only works properly if you use the PSIM BSP. 
This is a special BSP interacting with the powerpc simulator 
package.

According to your output, you tried to run an RTEMS system for 
a real hardware card (dmv177 or eth_comm), and the hardware 
accesses to I/O interfaces will not be handled properly in the 
PSIM simulator.

So, if the PSUIM bsp has not yet been built on your machine, 
you should rebuild it and then start something like:

psim ./rtems-obj-20020301/powerpc-
rtems/c/psim/tests/samples/hello/o-optimize/hello.exe

(I would say the ".nxe" files are without symbol information, 
so you can't use them for debugging).

Bye,
	Thomas.



> 
> The output is typically
> 
> psim
> ./rtems-obj-20020301/powerpc-rtems/c/dmv177/tests/samples/hello/o-optimize/hello.nxe
> core_find_mapping() - access to unmaped address, attach a default map to
> handle this - addr=0xf20000af nr_bytes=0x1 processor=0x40156008 cia=0x427b4
> psim
> ./rtems-obj-20020301/powerpc-rtems/c/dmv177/tests/samples/hello/o-optimize/hello.exe
> /openprom/init/stack: Unfinished procedure create_ppc_aix_stack_frame
> psim
> ./rtems-obj-20020301/powerpc-rtems/c/eth_comm/tests/samples/hello/o-optimize/hello.exe
> core_find_mapping() - access to unmaped address, attach a default map to
> handle this - addr=0x800000 nr_bytes=0x4 processor=0x40156008 cia=0x10038 
> 
> Any help would be very much appreciated. Could this be
> a problem with the versions.
> 
> Jack

--------------------------------------------
IMD Ingenieurbuero fuer Microcomputertechnik
Thomas Doerfler           Herbststrasse 8
D-82178 Puchheim          Germany
email:    Thomas.Doerfler at imd-systems.de
PGP public key available at: http://www.imd-
systems.de/pgp_key.htm




More information about the users mailing list