On Mon, Aug 3, 2020 at 5:48 PM Brennan Ashton <bash...@brennanashton.com> wrote:
>
> Robert,
> I ended up with a little less time this weekend than I had hoped for.
>  Getting the "console" working is a little more tricky because of
> restrictions put in place on modern machines that are booting in UEFI
> mode.  I was able to add some logic for booting via UEFI and
> extracting framebuffer information to be able to draw on the screen,
> just need to glue it together and then at least the output bit will
> work with most video hardware.  The input is a little more tricky
> since that usually requires PCI + USB + HID.

Alright I made some progress tonight and was able to boot my laptop
with NuttX and have the PCI enumerate to the screen.  The enumeration
matched what I see when I am booted into Linux.
This is not a real console as I have not implemented the full serial
driver interface for it, but it can be used to debug early boot.  Also
if you want to hook your application without nsh you can just
configure "CONFIG_USER_ENTRYPOINT".

The demo example configuration on my branch is "qemu-intel64:earlyfb".

--Brennan

Reply via email to