<div dir="ltr"><div><div><div><div><div><div><div>Hi all,<br><br></div>I would like to port RTEMS to malta mips evaluation board.<br></div>I successfully built RTEMS 4.10.99 with malta BSP. <br></div>I need to load the generated hello.ralf to malta board with YAMON bootloader.<br>
<br></div></div>I edited the MIPS Malta linker script .<br></div>RAM base is changed from 0x80000000 to 0x800c0000. and section start from 0x80010000 to 0x80100000.<br><br>I converted the hello.ralf file to srec format using mips-retms4.11-objcopy and successfully loaded it via tftp. But while running it, exception in TLB occures. the error log is given below.<br>
<br></div>How can i successfully run this rtems-application (hello.ralf) in malta board?<br><div><div><div><br><br>Compilation time =              Dec  7 2006  19:00:35                           <br>Board type/revision =           0x02 (Malta) / 0x00                             <br>
Core board type/revision =      0x01 (CoreLV) / 0x01                            <br>System controller/revision =    Galileo / GT_64120A-B-2                         <br>FPGA revision =                 0x0001                                          <br>
MAC address =                   00.d0.a0.00.05.e9                               <br>Board S/N =                     0000001245                                      <br>PCI bus frequency =             33.33 MHz                                       <br>
Processor Company ID/options =  0x01 (MIPS Technologies, Inc.) / 0x80           <br>Processor ID/revision =         0x90 (MIPS 4KEc) / 0x68                         <br>Endianness =                    Little                                          <br>
CPU/Bus frequency =             240 MHz / 80 MHz                                <br>Flash memory size =             4 MByte                                         <br>SDRAM size =                    128 MByte                                       <br>
First free SDRAM address =      0x800b7350<br><br><div><div><div><div>YAMON> load                                                                     <br>About to load tftp://<a href="http://10.1.125.98/hello.srec">10.1.125.98/hello.srec</a>                                     <br>
Press Ctrl-C to break                                                           <br>...........................                                                     <br>Start = 0x80100024, range = (0x80100000,0x801348a7), format = SREC              <br>
YAMON> go 0x80100024     <br><br>                                                       <br>                                                                                <br>* Exception (user) : TLB (store) *                                              <br>
BadVAddr = 0x00004234  Cause     = 0xd080800c                                   <br>Compare  = 0xced7cdbf  Config    = 0x80250483                                   <br>Config1  = 0xbe994c8e  Config2   = 0x80000000                                   <br>
Config3  = 0x00000020  Context   = 0xdf800020                                   <br>Count    = 0xc21f9d1d  DEPC      = 0xdf5f1e43                                   <br>Debug    = 0x0e017c3f  EBase     = 0x80000000                                   <br>
EPC      = 0x80100050  EntryHi   = 0x000040ff                                   <br>EntryLo0 = 0x01f7f555  EntryLo1  = 0x01bf36d7                                   <br>ErrorEPC = 0xbfc00380  HWREna    = 0x00000000                                   <br>
Index    = 0x80000014  IntCtl    = 0xe0000000                                   <br>PRId     = 0x80019068  PageGrain = 0x00000000                                   <br>PageMask = 0x19ffe000  Random    = 0x0000001e                                   <br>
SRSCtl   = 0x00000000  SRSMap    = 0x00000000                                   <br>Status   = 0x00002c02  WatchHi   = 0x00000000                                   <br>WatchLo  = 0x00000000  Wired     = 0x00000000                                   <br>
Hi       = 0x00000000  Lo        = 0x80100020                                   <br>                                                                                <br>$ 0(zr):0x00000000  $ 8(t0):0x00000000  $16(s0):0x00000000  $24(t8):0x00000000  <br>
$ 1(at):0x00000000  $ 9(t1):0x00000000  $17(s1):0x00000000  $25(t9):0x00000000  <br>$ 2(v0):0x00000000  $10(t2):0x00000000  $18(s2):0x00000000  $26(k0):0x00000000  <br>$ 3(v1):0x00000000  $11(t3):0x00000000  $19(s3):0x00000000  $27(k1):0x800abf20  <br>
$ 4(a0):0x00000001  $12(t4):0x00000000  $20(s4):0x00000000  $28(gp):0x00000000  <br>$ 5(a1):0x800ad268  $13(t5):0x00000000  $21(s5):0x00000000  $29(sp):0x800b7340  <br>$ 6(a2):0x8006dccc  $14(t6):0x00000000  $22(s6):0x00000000  $30(s8):0x800b7340  <br>
$ 7(a3):0x08000000  $15(t7):0x00000000  $23(s7):0x00000000  $31(ra):0x8003ca34  <br><br><br></div><div>Regards,<br></div><div>Chintha<br></div></div></div></div></div></div></div></div>