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


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

mips and libgloss/mips/tx39 simulator questions



I think I am looking for some very basic setup/startup
user instructions. :)  Target is mips64orion-rtems.

I am trying to put together a simple RTEMS BSP based 
on the tx39 code in libgloss.  How is the simulator
invoked to make these executables run?  I have worked
my way up to this based on various net resources:

target sim --board=jmr3904pal \
  --memory-region 0xffff8000,0x900 \
  --memory-region 0xffffe000,0x4 \
  --memory-region 0xb2100000,0x4 \
  --memory-region=0x8800000,0x1000000

load produces the following output:

Loading section .text, size 0x12fe0 vma 0x8800000
Loading section .reginfo, size 0x18 vma 0x8812fe0
Loading section .rdata, size 0xfc0 vma 0x8813000
Loading section .data, size 0x6b0 vma 0x8813fc0
Loading section .lit8, size 0x20 vma 0x8814670
Loading section .sdata, size 0x90 vma 0x8814690
Start address 0x8800004
Transfer rate: 669888 bits in <1 sec.
(gdb) r
Starting program:
/usr1/rtems/build/build-mips-rtems/mips-rtems/jmr3904/tests/hello.exe 
mips-core: 8 byte write to unmapped address 0x80009ff8 at 0x0

Advice would be greatly appreciated.  

Also any comments on using what cpu models the simulator supports
would be welcome.

Thanks. 


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

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