[PATCH 3/3] arch/arm/boards/avnet-zedboard/env/nv/linux.bootargs.console: fixed console name

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Jul 14 00:14:52 PDT 2025


Hi,

On 07.07.25 07:53, Gwenhael Goavec-Merou wrote:
> From: Gwenhael Goavec-Merou <gwenhael.goavec-merou at 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 at 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 |



More information about the barebox mailing list