Changeset a9c55f5 in rtems


Ignore:
Timestamp:
Dec 6, 2000, 3:43:35 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
08940dbe
Parents:
d95820d
Message:

2000-12-06 Joel Sherrill <joel@…>

  • README: Updated to reflect status.
  • startup/linkcmds: Added .ctor and .dtor sections to no avail.
Location:
c/src/lib/libbsp/mips/jmr3904
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/mips/jmr3904/ChangeLog

    rd95820d ra9c55f5  
     12000-12-06      Joel Sherrill <joel@OARcorp.com>
     2
     3        * README: Updated to reflect status.
     4        * startup/linkcmds: Added .ctor and .dtor sections to no avail.
     5
    162000-11-30      Joel Sherrill <joel@OARcorp.com>
    27
  • c/src/lib/libbsp/mips/jmr3904/README

    rd95820d ra9c55f5  
    77Simulator Invocation
    88====================
    9 The following is not 100% correct since it does not work.   :)
     9The following is how the simulator is invoked.
    1010
    11 target sim --board=jmr3904pal --memory-region 0x8800000,0x100000
     11target sim --board=jmr3904
     12
     13GDB must be configured with a target like "tx39-rtems".  Otherwise,
     14the simulator will not be built for the correct instruction
     15and peripheral set.
    1216
    1317Status
    1418======
    1519
    16 + printk() works and is being called from bsp_start as prove.
     20+ hello.exe locks up while running the global destructors.  This almost
     21  has to be a linkcmds issue.
    1722
    18 + There appears to be a compilation problem in _Thread_Handler_initialization
    19 where _Thread_Ready_chain[1] is only 1 byte -- not 12 from
    20 _Thread_Ready_chain[0].   I am throwing this to the RTEMS list
    21 first before reporting it.
     23+ There is no clock tick device driver.
    2224
    23 Made it to bsp_start
    24 mips-core: 4 byte write to unaligned address 0x8803bb01 at 0x8800d83c
    25 
    26 Program received signal SIGBUS, Bus error.
    27 0x8800d83c in _Chain_Initialize_empty (the_chain=0x8803bb01)
    28     at ../../../../../jmr3904/lib/include/rtems/score/chain.inl:222
    29 222       the_chain->first          = _Chain_Tail( the_chain );
    30 (gdb) q
    31 
     25+ There is no timer device driver.
  • c/src/lib/libbsp/mips/jmr3904/startup/linkcmds

    rd95820d ra9c55f5  
    3333       _etext  =  .;
    3434    } 
     35  .ctors    :
     36  {
     37    /* gcc uses crtbegin.o to find the start of
     38       the constructors, so we make sure it is
     39       first.  Because this is a wildcard, it
     40       doesn't matter if the user does not
     41       actually link against crtbegin.o; the
     42       linker won't look for a file to match a
     43       wildcard.  The wildcard also means that it
     44       doesn't matter which directory crtbegin.o
     45       is in.  */
     46
     47    KEEP (*crtbegin.o(.ctors))
     48
     49    /* We don't want to include the .ctor section from
     50       from the crtend.o file until after the sorted ctors.
     51       The .ctor section from the crtend file contains the
     52       end of ctors marker and it must be last */
     53
     54    KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
     55    KEEP (*(SORT(.ctors.*)))
     56    KEEP (*(.ctors))
     57  }
     58
     59  .dtors    :
     60  {
     61    KEEP (*crtbegin.o(.dtors))
     62    KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
     63    KEEP (*(SORT(.dtors.*)))
     64    KEEP (*(.dtors))
     65  }
     66
    3567    . = .;
    3668  .rdata : {
     
    4577    *(.data.*)
    4678    *(.gnu.linkonce.d*)
    47     CONSTRUCTORS
    4879  }
    4980  . = ALIGN(8);
     
    74105    *(COMMON)
    75106    . = ALIGN (64);
     107    _stack_limit = .;
     108    . += _StackSize;
     109    __stack = .;
    76110    _stack_init = .;
    77     . += _StackSize;
    78111    _clear_end = .;
    79112    WorkspaceBase = .;
     
    88121/* Put starting stack in SRAM (8 Kb); this size is the same as the stack from
    89122      the original script (when everything was in SRAM). */
    90    __stack = 0x8000A000;
     123   /* __stack = 0x8000A000; */
    91124  /* DWARF debug sections.
    92125     Symbols in the DWARF debugging sections are relative to
Note: See TracChangeset for help on using the changeset viewer.