public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: John Watts <contact@jookia.org>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: trini@konsulko.com, u-boot@lists.denx.de
Subject: Re: [PATCH] boot: Pass baud rate to stdout-path
Date: Fri, 12 Apr 2024 07:03:50 +1000	[thread overview]
Message-ID: <ZhhQNhUdeTdp_1Eg@titan> (raw)
In-Reply-To: <87r0fcgci5.fsf@bloch.sibelius.xs4all.nl>

On Thu, Apr 11, 2024 at 05:11:46PM +0200, Mark Kettenis wrote:
> You probably should fix this by making sure the device tree you're
> using has the appropriate stdout-path node.  Because I think the
> functionality you're trying to use here is deprecated:

Hi Mark,

Interesting, I'll go with that approach instead.

> ...
> 
> A particular case that I'm dealing with is the default speed of
> 1500000 that the various Rockchip SoCs use.  This doesn't work with
> many of the USB-to-serial interfaces on the market and is also rather
> susceptible to line noise.  So for OpenBSD packages I've decide to use
> 115200 instead.  But that means I have to patch all the device trees
> in addition to changing the CONFIG_BAUDRATE setting.  If U-Boot would
> tweak the stdout-path property based on CONFIG_BAUDRATE that would
> make things easier.

That's an interesting use case! Would you mind testing this patch if possible?

> Cheers,
> 
> Mark

John.

      reply	other threads:[~2024-04-11 21:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-11  5:03 [PATCH] boot: Pass baud rate to stdout-path John Watts
2024-04-11 15:11 ` Mark Kettenis
2024-04-11 21:03   ` John Watts [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZhhQNhUdeTdp_1Eg@titan \
    --to=contact@jookia.org \
    --cc=mark.kettenis@xs4all.nl \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox