<div dir="ltr">Dear Sebastian,<div><br></div><div>I used lastest RTEMS source on <a href="https://github.com/RTEMS/rtems">https://github.com/RTEMS/rtems</a>.</div><div><br></div><div>Is there initialization code(start.S) for handling SCTLR.A bit on current source tree ?</div><div><br></div><div>Best Regards,</div><div>Thomas Kim</div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-02 19:27 GMT+09:00 Sebastian Huber <span dir="ltr"><<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
you use a BSP that is not included in the main RTEMS sources, so I can only guess.<br>
<br>
On 02/12/14 11:16, Thomas Kim wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear  Sir.<br>
<br>
I completed to port RTEMS on Cortex-A8 board using below option.<br>
  CPU_CFLAGS = -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp<br>
At this time, RTEMS sample example(ticker.exe) is working very well.<br>
<br>
Because there is a problem for executing C++ exception example using "-mfloat-abi=softfp", I changed below option.<br>
  CPU_CFLAGS = -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=hard<br>
<br>
After I rebuild RTEMS using "-mfloat-abi=hard", I am tring to test both ticker.exe and cxx_throw.exe.<br>
But, both examples are crashed in mount() function of rtems_filesystem_initialize().<br>
In detailly, memcpy() of alloc_mount_table_entry() is called, exception is ocurred.<br>
</blockquote>
<br>
There are many exceptions and some provide extra information, so "exception is occurred" is a very vague description.<br>
<br>
You probably use the wrong memory attributes.  Make sure misaligned memory access is possible.  See SCTLR.A bit (ARM_CP15_CTRL_A).<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Sebastian Huber, embedded brains GmbH<br>
<br>
Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
Phone   : +49 89 189 47 41-16<br>
Fax     : +49 89 189 47 41-09<br>
E-Mail  : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-<u></u>brains.de</a><br>
PGP     : Public key available on request.<br>
<br>
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
<br>
</font></span></blockquote></div><br></div>