mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Gwenhael Goavec-Merou <gwenj@trabucayre.com>,
	barebox@lists.infradead.org
Cc: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>,
	Johannes Roith <johannes@gnu-linux.rocks>,
	Sascha Hauer <sha@pengutronix.de>
Subject: Re: [PATCH 3/3] arch/arm/boards/avnet-zedboard/env/nv/linux.bootargs.console: fixed console name
Date: Mon, 14 Jul 2025 09:14:52 +0200	[thread overview]
Message-ID: <652347d4-0f1f-4219-aa0a-3f17d7bcb947@pengutronix.de> (raw)
In-Reply-To: <20250707055331.2355809-3-gwenj@trabucayre.com>

Hi,

On 07.07.25 07:53, Gwenhael Goavec-Merou wrote:
> From: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
> 
> When trying to boot Linux no output from Linux is printed in the
> console. Linux devicetree only enables one UART (connected to USB<->UART
> interface) and has specified in Linux devicetree this one is called
> ttyPS0 instead of ttyPS1.
> This patch changes console name.
> 
> Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>

Thanks for your patch. The modern way is to have the serial driver record the
TTY name used by Linux and removed hardcoded console= settings altogether.

I just Cc'd you on a patch that does that followed by one that removes this
environment file here. The series is untested, so would be nice if you
could give it a test.

Cheers,
Ahmad

> ---
>  arch/arm/boards/avnet-zedboard/env/nv/linux.bootargs.console | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boards/avnet-zedboard/env/nv/linux.bootargs.console b/arch/arm/boards/avnet-zedboard/env/nv/linux.bootargs.console
> index 6c9f9dabcf..ebb44efc48 100644
> --- a/arch/arm/boards/avnet-zedboard/env/nv/linux.bootargs.console
> +++ b/arch/arm/boards/avnet-zedboard/env/nv/linux.bootargs.console
> @@ -1 +1 @@
> -console=ttyPS1,115200
> +console=ttyPS0,115200


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



  reply	other threads:[~2025-07-14  7:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-07  5:53 [PATCH 1/3] arch/arm/boards/avnet-zedboard/zedboard.zynqcfg: removed everything but stop instruction to fix barebox boot Gwenhael Goavec-Merou
2025-07-07  5:53 ` [PATCH 2/3] arch/arm/boards/avnet-zedboard/lowlevel.c: added SDIO clk frequency configuration Gwenhael Goavec-Merou
2025-07-14  7:20   ` Ahmad Fatoum
2025-07-07  5:53 ` [PATCH 3/3] arch/arm/boards/avnet-zedboard/env/nv/linux.bootargs.console: fixed console name Gwenhael Goavec-Merou
2025-07-14  7:14   ` Ahmad Fatoum [this message]
2025-07-14  6:08 ` [PATCH 1/3] arch/arm/boards/avnet-zedboard/zedboard.zynqcfg: removed everything but stop instruction to fix barebox boot Ahmad Fatoum

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=652347d4-0f1f-4219-aa0a-3f17d7bcb947@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=gwenhael.goavec-merou@trabucayre.com \
    --cc=gwenj@trabucayre.com \
    --cc=johannes@gnu-linux.rocks \
    --cc=sha@pengutronix.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