<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr">On Thu, Jun 7, 2018, 9:01 PM Chris Johns <<a href="mailto:chrisj@rtems.org">chrisj@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 08/06/2018 01:50, Amaan Cheval wrote:<br>
> <br>
> Joel, Chris, I'd appreciate guidance on what I ought to work on next<br>
<br>
I would like to see the focus on the kernel context switcher, FPU support, and<br>
then interrupts so we have the basic drivers we need like a tick interrupt running.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">+1</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
This assumes the loader issues we have not resolved do not effect this work.<br>
<br>
> and what<br>
> discussions we need to have to decide between the "bundled kernel.so approach"<br>
> (the one implemented here) vs. the "FreeBSD loader.efi+hello.exe" approach. Let<br>
> me know!<br>
> <br>
<br>
I do not think I can help too much here. I understand the loader.efi+exe<br>
solution and it should work because all RTEMS applications we have are<br>
statically linked (I am assuming it is here). I have not looked at the details<br>
being used with the -fPIC and .so solution so I cannot comment. I do have some<br>
concerns the relocatable exe might expose some dark corners and issues in the<br>
host tools we have, for example how does GDB find the base address of the image<br>
so you can debug it? and is this just working or is it really suppose to work<br>
this way?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">All I can say is that with Deos/RTEMS, we use PIC on arm, PowerPC, and x86. We have spent a lot of time debugging with gdb attached to qemu. I haven't seen any tools issues yet. </div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Chris<br>
</blockquote></div></div></div>