Hi Tobias,

On 28.05.2012 12:56, Tobias Börtitz wrote:
> This is a decision that has still to be made. Thank you for providing
> these facts. In the next days I will try to prepare a pro-and-con list
> for this, so a well-founded decision can be made (first of all
> concerning the libc).
> Whether it should be a hybrid system or not in general is another
> question which should be discussed. I for my part would not consider
> using the complete HelenOS userland necessary. But for example opening
> the possibility to incorporate the one or another device driver from the
> HelenOS userland could be quite useful. What do you think?

I think you should follow your timeline, and not consume too much time
for developing HelenOS/Genode side by side scenarios. At least during
the short coding period os GSoC, after that you'll possibly have more
time when further developing your diploma thesis?

With respect to the libc question, I would advise against the usage of
the HelenOS libc. As I already recommended to you beforehand, it's much
better to build the Genode base abstractions on top of the kernel's
syscalls only. We've always circumvented to include any libc functions
into our framework, to not clash with the libc we provide to legacy unix
applications like vim, gcc, and so on. Moreover, we've even put a lot of
efforts into getting rid of the host's libc (catchword: C++ support
library of the host compiler) that always made problems in the past. For
more details please refer to:


http://genode.org/documentation/release-notes/11.11#New_tool_chain_based_on_GCC_4.6.1

In your situation, I would either use the klog_write functionality
proposed by Martin together with the kernel patch Vojta presented to you
that turns kernel messages to the serial line, or you re-use your serial
driver's code from base-spartan, but enable the I/O port beforehand via
the SYS_IOSPACE_ENABLE syscall that Martin proposed to you. In my eyes
the last step is preferable, just to not depend on further kernel
modifications, but anyway.

Whatever you'll do I strongly recommend you to put your efforts in
enabling printf in a straightforward manner just to meet your timeline,
instead of producing pro-and-con list on a theoretical level now.

Sorry, for my late reply, but we had to prepare our upcoming release today.

Regards
Stefan

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/cgi-bin/listinfo/helenos-devel

Reply via email to