Console driver not working?

James Fitzsimons james.fitzsimons at gmail.com
Mon Apr 28 10:29:19 UTC 2025


Doing a bit more investigation this evening and it appears that the console
driver for the Beaglebone BSP isn't really implemented properly. Comparing
it with the raspraspberrypi and other bsps the console/console-config.c
file looks very different and doesn't implement the POSIX Termios support
per the latest documentation
https://docs.rtems.org/docs/main/bsp-howto/console.html

When I change my test application to use #define
CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER instead of #define
CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER it does accept input (albeit
very unreliably).

It looks like if I want console input support for the Beaglebone BSP I am
going to have to implement a better console driver :-/

Cheers,
James


On Mon, 28 Apr 2025 at 13:30, James Fitzsimons <james.fitzsimons at gmail.com>
wrote:

> Hi Chris,
>
> Thanks for your reply.
>
> On Mon, Apr 28, 2025, 09:50 Chris Johns <chrisj at rtems.org> wrote:
>
>> I suggest you see if the `hello.exe` sample program runs? It would check
>> the low
>> level hardware interface.
>>
>
> The helloworld example works as expected. I actually have a fair amount of
> tracing data printing to the console just fine. It's only when I wanted to
> start reading input (to set some PID parameters) that I encountered
> problems.
>
> The fgets function just returns immediately with no content.
>
> Cheers,
> James
>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20250428/54b8b6de/attachment.htm>


More information about the users mailing list