<div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jul 26, 2020 at 2:04 PM Utkarsh Rai <<a href="mailto:utkarsh.rai60@gmail.com">utkarsh.rai60@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr">Hello,<br><div>I was facing issues while changing the memory entries for a section. The thread can be viewed <a href="https://lists.rtems.org/pipermail/devel/2020-July/060884.html" target="_blank">here</a>. The error is most probably due to the fact that while I change the memory entry of my desired region it ends up changing the memory permission of the entire 1Mb section, which causes fatal errors.</div><div>To prevent this, I decided to set up translation table entries in small-page format. </div></div></blockquote><div dir="auto">To do so, you need multi-level page tables for 4K pages. I doubt you’ve added support to do so. </div><div dir="auto"><br></div><div dir="auto">You also want to make sure that your block of memory isn’t already part of an ELF section that is already statically mapped at boot time. </div><div dir="auto"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr"><div>Unfortunately, during the static initialization of the translation table, the qemu hangs up (I am using Xilinx-zynq BSP). On stepping through the debugger I encounter a segmentation fault.</div><div>Can someone please point me in the right direction? This is the final issue that I have to resolve before I send my patches.</div></div>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a></blockquote></div></div>