Changeset a9c55f5 in rtems
- Timestamp:
- 12/06/00 15:43:35 (23 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 08940dbe
- Parents:
- d95820d
- Location:
- c/src/lib/libbsp/mips/jmr3904
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/mips/jmr3904/ChangeLog
rd95820d ra9c55f5 1 2000-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 1 6 2000-11-30 Joel Sherrill <joel@OARcorp.com> 2 7 -
c/src/lib/libbsp/mips/jmr3904/README
rd95820d ra9c55f5 7 7 Simulator Invocation 8 8 ==================== 9 The following is not 100% correct since it does not work. :)9 The following is how the simulator is invoked. 10 10 11 target sim --board=jmr3904pal --memory-region 0x8800000,0x100000 11 target sim --board=jmr3904 12 13 GDB must be configured with a target like "tx39-rtems". Otherwise, 14 the simulator will not be built for the correct instruction 15 and peripheral set. 12 16 13 17 Status 14 18 ====== 15 19 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. 17 22 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. 22 24 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 33 33 _etext = .; 34 34 } 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 35 67 . = .; 36 68 .rdata : { … … 45 77 *(.data.*) 46 78 *(.gnu.linkonce.d*) 47 CONSTRUCTORS48 79 } 49 80 . = ALIGN(8); … … 74 105 *(COMMON) 75 106 . = ALIGN (64); 107 _stack_limit = .; 108 . += _StackSize; 109 __stack = .; 76 110 _stack_init = .; 77 . += _StackSize;78 111 _clear_end = .; 79 112 WorkspaceBase = .; … … 88 121 /* Put starting stack in SRAM (8 Kb); this size is the same as the stack from 89 122 the original script (when everything was in SRAM). */ 90 __stack = 0x8000A000;123 /* __stack = 0x8000A000; */ 91 124 /* DWARF debug sections. 92 125 Symbols in the DWARF debugging sections are relative to
Note: See TracChangeset
for help on using the changeset viewer.