<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Oct 14, 2013 at 4:02 PM, Sebastian Huber <span dir="ltr"><<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 2013-10-14 15:34, Hesham AL-Matary wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
diff --git a/c/src/lib/libbsp/arm/<u></u>raspberrypi/startup/mm_config_<u></u>table.c b/c/src/lib/libbsp/arm/<u></u>raspberrypi/startup/mm_config_<u></u>table.c<br>
index 5436a76..2b748b2 100644<br>
--- a/c/src/lib/libbsp/arm/<u></u>raspberrypi/startup/mm_config_<u></u>table.c<br>
+++ b/c/src/lib/libbsp/arm/<u></u>raspberrypi/startup/mm_config_<u></u>table.c<br>
@@ -42,7 +42,7 @@ bsp_mm_config_table[] = {<br>
}, {<br>
.begin = (uint32_t) bsp_section_text_begin,<br>
.end = (uint32_t) bsp_section_text_end,<br>
- .flags = ARMV7_MMU_CODE_CACHED<br>
+ .flags = ARMV7_MMU_READ_WRITE<br>
</blockquote>
<br></div>
What is the problem with the cache? Did the cache previously work?</blockquote><div>There is a problem with applying a Read-Only permissions in general to this</div><div>area for RaspberryPi BSP.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
}, {<br>
.begin = (uint32_t) bsp_section_rodata_begin,<br>
.end = (uint32_t) bsp_section_rodata_end,<br>
@@ -63,8 +63,12 @@ bsp_mm_config_table[] = {<br>
.begin = (uint32_t) bsp_section_stack_begin,<br>
.end = (uint32_t) bsp_section_stack_end,<br>
.flags = MMU_DATA_READ_WRITE<br>
+ }, {<br>
+ .begin = 0x20000000,<br>
+ .end = 0x20FFFFFF,<br>
+ .flags = ARMV7_MMU_DATA_READ_WRITE<br>
</blockquote>
<br></div>
What is this for an area?<br></blockquote><div>It's for Raspberry GPIO pins and other registers (defined at raspbberrypi.h).</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
}<br>
};<br>
</blockquote>
<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>
______________________________<u></u>_________________<br>
rtems-devel mailing list<br>
<a href="mailto:rtems-devel@rtems.org" target="_blank">rtems-devel@rtems.org</a><br>
<a href="http://www.rtems.org/mailman/listinfo/rtems-devel" target="_blank">http://www.rtems.org/mailman/<u></u>listinfo/rtems-devel</a><br>
</blockquote></div><br></div></div>