Segmentation fault whie setting up translation table for small pages in ARMv7 MMU
Gedare Bloom
gedare at rtems.org
Sun Jul 26 14:04:44 UTC 2020
On Sun, Jul 26, 2020 at 6:04 AM Utkarsh Rai <utkarsh.rai60 at gmail.com> wrote:
>
> Hello,
> I was facing issues while changing the memory entries for a section. The thread can be viewed here. 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.
> To prevent this, I decided to set up translation table entries in small-page format. 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.
> Can someone please point me in the right direction? This is the final issue that I have to resolve before I send my patches.
You'll want to narrow down where/when the segfault happens.
You might first try to set up TTE in small pages without your changes
(on a clean branch) to reduce the number of moving parts.
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
More information about the devel
mailing list