When I was originally developing the kernel mode, I wrote this: https://cwiki.apache.org/confluence/display/NUTTX/Memory+Configurations

That was mostly my notes of what I had worked on and my roadmap that was guiding me through the kernel mode development.  I burned out on that before finishing everything and since then several other people have worked with this build mode.  I don't know the current state.

I would be great to have a similar, updated document.  Although this old Wiki page is out of date, it still might answer some questions about what's there and why. There is even a section on "Partially Linked vs. Fully Linked Objects" in the section of things not finished.


On 4/24/2023 7:27 PM, Andrew Dennison wrote:
Are there any examples of a gdb setup to debug a userspace process? One key
issue is to setup the section offsets to match the final application
location once it has been loaded.

I was actually quite surprised that Nuttx applications are still partially
linked with a protected build and that all sections overlap (start at 0) in
the elf file. I had expected the application would be fully linked to
virtual addresses as per linux and another RTOS I used previously. Is this
something that can be changed relatively easily, or are there some
significant challenges?

Kind regards,

Andrew


Reply via email to