Changeset c1a24fbe in rtems


Ignore:
Timestamp:
11/30/00 14:10:38 (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
40b05974
Parents:
43b6f75
Message:

2000-11-30 Joel Sherrill <joel@…>

  • README: Updated to reflect current status. Misaligned reference during initialization may be compiler problem.
  • console/console-io.c: Added support for printk().
  • startup/linkcmds: Reserve 512K for RTEMS Workspace.
Location:
c/src/lib/libbsp/mips/jmr3904
Files:
4 edited

Legend:

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

    r43b6f75 rc1a24fbe  
     12000-11-30      Joel Sherrill <joel@OARcorp.com>
     2
     3        * README: Updated to reflect current status.  Misaligned reference
     4        during initialization may be compiler problem.
     5        * console/console-io.c: Added support for printk().
     6        * startup/linkcmds: Reserve 512K for RTEMS Workspace.
     7
    182000-11-27      Joel Sherrill <joel@OARcorp.com>
    29
  • c/src/lib/libbsp/mips/jmr3904/README

    r43b6f75 rc1a24fbe  
    99The following is not 100% correct since it does not work.   :)
    1010
    11 target sim --board=jmr3904pal --memory-region 0xffff8000,0x900 \
    12   --memory-region 0xffffe000,0x4 --memory-region 0xb2100000,0x4
    13   --memory-region 0x8800000,0x100000 -memory-region 0x80000000,0x40000 \
    14   --memory-region 0xfffff300,0x10
     11target sim --board=jmr3904pal --memory-region 0x8800000,0x100000
    1512
    1613Status
    1714======
    18 This BSP is not working.  It gets to the point where the
    19 console_outbyte_polled() routine is called during printf
    20 and it locks up checking for a status bit.  This is probably
    21 a simulator initialization issue related to the setup command.
    22 As of 25 Nov 2000, email was sent to the gdb and newlib maintainers
    23 asking for advice.
     15
     16+ printk() works and is being called from bsp_start as prove.
     17
     18+ There appears to be a compilation problem in _Thread_Handler_initialization
     19where _Thread_Ready_chain[1] is only 1 byte -- not 12 from
     20_Thread_Ready_chain[0].   I am throwing this to the RTEMS list
     21first before reporting it.
     22
     23Made it to bsp_start
     24mips-core: 4 byte write to unaligned address 0x8803bb01 at 0x8800d83c
     25
     26Program received signal SIGBUS, Bus error.
     270x8800d83c in _Chain_Initialize_empty (the_chain=0x8803bb01)
     28    at ../../../../../jmr3904/lib/include/rtems/score/chain.inl:222
     29222       the_chain->first          = _Chain_Tail( the_chain );
     30(gdb) q
     31
  • c/src/lib/libbsp/mips/jmr3904/console/console-io.c

    r43b6f75 rc1a24fbe  
    122122}
    123123
     124#include <bspIo.h>
     125
     126void JMR3904_output_char(char c) { console_outbyte_polled( 0, c ); }
     127
     128BSP_output_char_function_type           BSP_output_char = JMR3904_output_char;
     129BSP_polling_getchar_function_type       BSP_poll_char = NULL;
     130
  • c/src/lib/libbsp/mips/jmr3904/startup/linkcmds

    r43b6f75 rc1a24fbe  
    7878    _clear_end = .;
    7979    WorkspaceBase = .;
    80     . += 64K;    /* reserve some memory for workspace */
     80    . += 512K;    /* reserve some memory for workspace */
    8181    HeapBase = .;
    8282    . += HeapSize;    /* reserve some memory for heap */
Note: See TracChangeset for help on using the changeset viewer.