I think what we used to say was that you should try to do debugging with sub-hurds where the console port is faked with io ports (I think). We definitely don't want to clutter up ld.so with stuff that is only for debugging early boot. I think it would be better to have serverboot supply a trivial io server on the fd ports it hands to the initial processes, that translates to console device_write calls in a very simple way. I may be misremembering some details of the boot sequence.
- A tale of bootstrap ld.so debugging Ludovic Courtès
- Re: A tale of bootstrap ld.so debugging Roland McGrath
- Re: A tale of bootstrap ld.so debugging Ludovic Courtès
