[PATCH v2 0/2] powerpc/shared/console: Console baud rate fixes
Joel Sherrill
joel at rtems.org
Thu Apr 15 12:55:27 UTC 2021
No one has posted publicly about these in 5 days and asking privately a
group of mvme users, I only got feedback from Heinz
==============
I can only note that we have some (many) users who would like to stay at
the fixed 9600 baud because that is what
they have been used to since "forever”.
I had received feedback on the MVME2500. There I had set the console of
this QorIQ based system to the typical
125600 baud for arm (also with the option BSP_CONSOLE_BAUD). Some were not
happy that there are two different
baud rates for the different MVME boards.
I personally find Paul's approach ok and if the default value
(bsp-defaults) eventually stays at 9600 baud on all
these boards could everyone be happy?
==============
This patch series makes all the mvme BSPs consistent so I plan to
merge these today.
--joel
On Sat, Apr 10, 2021 at 7:41 AM <dufault at hda.com> wrote:
> From: Peter Dufault <dufault at hda.com>
>
> The "powerpc/shared/console" code has the start-up console value fixed
> at 9600 baud. This changes the hard-wired constant "9600" in the code
> to the configuration setting "BSP_CONSOLE_BAUD" and adds configuration
> support in both the "waf" and the legacy configuration systems.
>
> In addition, once the shared console baud rate can be set to start at
> anything other than 9600 the termios code will reset it to 9600 at the
> first open.
>
> Peter Dufault (2):
> powerpc/shared/console: Make console baud rate configurable.
> powerpc/shared/console: "termios" first open sets console baud to 9600
>
> bsps/powerpc/shared/console/console.c | 4 ++--
> bsps/powerpc/shared/console/uart.c | 5 ++++-
> c/src/lib/libbsp/powerpc/beatnik/configure.ac | 4 ++++
> c/src/lib/libbsp/powerpc/haleakala/configure.ac | 4 ++++
> c/src/lib/libbsp/powerpc/motorola_powerpc/configure.ac | 4 ++++
> c/src/lib/libbsp/powerpc/mvme3100/configure.ac | 4 ++++
> c/src/lib/libbsp/powerpc/mvme5500/configure.ac | 4 ++++
> spec/build/bsps/optconsolebaud.yml | 5 +++++
> spec/build/bsps/powerpc/beatnik/bspbeatnik.yml | 2 ++
> spec/build/bsps/powerpc/haleakala/bsphaleakala.yml | 2 ++
> spec/build/bsps/powerpc/motorola_powerpc/obj.yml | 4 +++-
> spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml | 2 ++
> spec/build/bsps/powerpc/mvme5500/bspmvme5500.yml | 2 ++
> 13 files changed, 42 insertions(+), 4 deletions(-)
>
> --
> 1.8.3.1
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210415/c7cb98d4/attachment.html>
More information about the devel
mailing list