mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2000-11-30 Joel Sherrill <joel@OARcorp.com>
* 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.
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
2000-11-30 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2000-11-27 Joel Sherrill <joel@OARcorp.com>
|
2000-11-27 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* startup/linkcmds: Fix typo and add extra 0 to base address.
|
* startup/linkcmds: Fix typo and add extra 0 to base address.
|
||||||
|
|||||||
@@ -8,16 +8,24 @@ Simulator Invocation
|
|||||||
====================
|
====================
|
||||||
The following is not 100% correct since it does not work. :)
|
The following is not 100% correct since it does not work. :)
|
||||||
|
|
||||||
target sim --board=jmr3904pal --memory-region 0xffff8000,0x900 \
|
target sim --board=jmr3904pal --memory-region 0x8800000,0x100000
|
||||||
--memory-region 0xffffe000,0x4 --memory-region 0xb2100000,0x4
|
|
||||||
--memory-region 0x8800000,0x100000 -memory-region 0x80000000,0x40000 \
|
|
||||||
--memory-region 0xfffff300,0x10
|
|
||||||
|
|
||||||
Status
|
Status
|
||||||
======
|
======
|
||||||
This BSP is not working. It gets to the point where the
|
|
||||||
console_outbyte_polled() routine is called during printf
|
+ printk() works and is being called from bsp_start as prove.
|
||||||
and it locks up checking for a status bit. This is probably
|
|
||||||
a simulator initialization issue related to the setup command.
|
+ There appears to be a compilation problem in _Thread_Handler_initialization
|
||||||
As of 25 Nov 2000, email was sent to the gdb and newlib maintainers
|
where _Thread_Ready_chain[1] is only 1 byte -- not 12 from
|
||||||
asking for advice.
|
_Thread_Ready_chain[0]. I am throwing this to the RTEMS list
|
||||||
|
first before reporting it.
|
||||||
|
|
||||||
|
Made it to bsp_start
|
||||||
|
mips-core: 4 byte write to unaligned address 0x8803bb01 at 0x8800d83c
|
||||||
|
|
||||||
|
Program received signal SIGBUS, Bus error.
|
||||||
|
0x8800d83c in _Chain_Initialize_empty (the_chain=0x8803bb01)
|
||||||
|
at ../../../../../jmr3904/lib/include/rtems/score/chain.inl:222
|
||||||
|
222 the_chain->first = _Chain_Tail( the_chain );
|
||||||
|
(gdb) q
|
||||||
|
|
||||||
|
|||||||
@@ -121,3 +121,10 @@ int console_inbyte_nonblocking(
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#include <bspIo.h>
|
||||||
|
|
||||||
|
void JMR3904_output_char(char c) { console_outbyte_polled( 0, c ); }
|
||||||
|
|
||||||
|
BSP_output_char_function_type BSP_output_char = JMR3904_output_char;
|
||||||
|
BSP_polling_getchar_function_type BSP_poll_char = NULL;
|
||||||
|
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ SECTIONS
|
|||||||
. += _StackSize;
|
. += _StackSize;
|
||||||
_clear_end = .;
|
_clear_end = .;
|
||||||
WorkspaceBase = .;
|
WorkspaceBase = .;
|
||||||
. += 64K; /* reserve some memory for workspace */
|
. += 512K; /* reserve some memory for workspace */
|
||||||
HeapBase = .;
|
HeapBase = .;
|
||||||
. += HeapSize; /* reserve some memory for heap */
|
. += HeapSize; /* reserve some memory for heap */
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user