From: "'MOESSBAUER, Felix' via isar-users" <isar-users@googlegroups.com>
To: "nt@ilbers.de" <nt@ilbers.de>,
"isar-users@googlegroups.com" <isar-users@googlegroups.com>
Subject: Re: [PATCH] RPi: Enable serial console on RPi 4 B
Date: Mon, 7 Apr 2025 16:39:24 +0000 [thread overview]
Message-ID: <55ff99d858cb8d8db441151ff27f1e7944691698.camel@siemens.com> (raw)
In-Reply-To: <20250407144723.273275-1-nt@ilbers.de>
On Mon, 2025-04-07 at 16:47 +0200, Natalia Tasci wrote:
> Tested with Raspbian Linux 12, baud rate of 115200 bps, 500 lines
> kernel
> log.
I thought about this as well. We should also consider switching the
RPi4b target over to EFI, as done here:
https://github.com/siemens/mtda/commit/37b0349f59b1c608727907c771f047fb72003fa8
By that, things like the kernel cmdline can be done by the imager and
no longer need to come from bsp packages. This would also easily enable
the use of mount-by-uuid to support USB boot and SD boot at the same
time.
Felix
>
> Signed-off-by: Natalia Tasci <nt@ilbers.de>
> ---
> meta-isar/recipes-bsp/bootconfig-rpi/files/config.txt | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/meta-isar/recipes-bsp/bootconfig-rpi/files/config.txt
> b/meta-isar/recipes-bsp/bootconfig-rpi/files/config.txt
> index 417d53f1..6d742f27 100644
> --- a/meta-isar/recipes-bsp/bootconfig-rpi/files/config.txt
> +++ b/meta-isar/recipes-bsp/bootconfig-rpi/files/config.txt
> @@ -1,5 +1,11 @@
> [pi3]
> # Restore UART0/ttyAMA0 over GPIOs 14 & 15
> +# On RPi 3, using mini UART for serial console is unstable.
> +# 1/3 boots produce garbage and doesn't reach login
> dtoverlay=miniuart-bt
>
> +[pi4]
> +# Enable mini UART (UART1/ttyS0) for serial console for RPi 4
> +enable_uart=1
> +
> [all]
> --
> 2.39.5
--
Siemens AG
Linux Expert Center
Friedrich-Ludwig-Bauer-Str. 3
85748 Garching, Germany
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/55ff99d858cb8d8db441151ff27f1e7944691698.camel%40siemens.com.
next prev parent reply other threads:[~2025-04-07 16:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-07 14:47 Natalia Tasci
2025-04-07 16:39 ` 'MOESSBAUER, Felix' via isar-users [this message]
2025-04-10 10:19 ` Natalia Tasci
2025-04-15 7:01 ` Uladzimir Bely
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=55ff99d858cb8d8db441151ff27f1e7944691698.camel@siemens.com \
--to=isar-users@googlegroups.com \
--cc=felix.moessbauer@siemens.com \
--cc=nt@ilbers.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