Novice problems with psim powerpc

Joel Sherrill joel.sherrill at OARcorp.com
Wed May 8 11:24:10 UTC 2002



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

You are running code linked for a particular piece of
hardware on the simulator.  Wrong BSP.  The first two
are for the DY-4 DMV177 board, the next for an
eth_comm board

> 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.

You need to configure RTEMS with --enable-rtemsbsp=psim to avoid
building
all the BSPs you don't need.  And you only need to run executables on
psim that were built for that bsp.

> Jack

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985



More information about the users mailing list