Re: amd64 serial console changes, part 2

2022-07-13 Thread Mark Kettenis
> Date: Tue, 12 Jul 2022 20:03:15 +0200 > From: Denis Fondras > > Le Wed, Jul 06, 2022 at 10:45:39PM +0200, Mark Kettenis a écrit : > > Now that the kernel supports the extended BOOTARG_CONSDEV struct and > > snaps with that change are out there, here is the diff that changes > > the amd64 bootlo

Re: amd64 serial console changes, part 2

2022-07-12 Thread Denis Fondras
Le Wed, Jul 06, 2022 at 10:45:39PM +0200, Mark Kettenis a écrit : > Now that the kernel supports the extended BOOTARG_CONSDEV struct and > snaps with that change are out there, here is the diff that changes > the amd64 bootloaders to switch to the extended struct and provide the > parameters necess

Re: amd64 serial console changes, part 2

2022-07-08 Thread Hrvoje Popovski
On 6.7.2022. 22:45, Mark Kettenis wrote: > Now that the kernel supports the extended BOOTARG_CONSDEV struct and > snaps with that change are out there, here is the diff that changes > the amd64 bootloaders to switch to the extended struct and provide the > parameters necessary for using the non-sta

amd64 serial console changes, part 2

2022-07-06 Thread Mark Kettenis
Now that the kernel supports the extended BOOTARG_CONSDEV struct and snaps with that change are out there, here is the diff that changes the amd64 bootloaders to switch to the extended struct and provide the parameters necessary for using the non-standard UART on the AMD Ryzen Embedded V1000 SoCs.

Re: amd64 serial console changes

2022-06-30 Thread Hrvoje Popovski
On 30.6.2022. 17:03, Stuart Henderson wrote: > On 2022/06/30 16:55, Hrvoje Popovski wrote: >> On 30.6.2022. 16:48, Hrvoje Popovski wrote: >>> On 30.6.2022. 15:14, Anton Lindqvist wrote: On Thu, Jun 30, 2022 at 01:07:46PM +0200, Mark Kettenis wrote: > Ah right. Please commit! Here's t

Re: amd64 serial console changes

2022-06-30 Thread Stuart Henderson
On 2022/06/30 16:55, Hrvoje Popovski wrote: > On 30.6.2022. 16:48, Hrvoje Popovski wrote: > > On 30.6.2022. 15:14, Anton Lindqvist wrote: > >> On Thu, Jun 30, 2022 at 01:07:46PM +0200, Mark Kettenis wrote: > >>> Ah right. Please commit! > >> Here's the complete diff, ok? > > > > > > Hi, > > > >

Re: amd64 serial console changes

2022-06-30 Thread Jeremie Courreges-Anglas
On Thu, Jun 30 2022, Hrvoje Popovski wrote: > On 30.6.2022. 16:48, Hrvoje Popovski wrote: >> On 30.6.2022. 15:14, Anton Lindqvist wrote: >>> On Thu, Jun 30, 2022 at 01:07:46PM +0200, Mark Kettenis wrote: Ah right. Please commit! >>> Here's the complete diff, ok? >> >> >> Hi, >> >> with th

Re: amd64 serial console changes

2022-06-30 Thread Hrvoje Popovski
On 30.6.2022. 16:48, Hrvoje Popovski wrote: > On 30.6.2022. 15:14, Anton Lindqvist wrote: >> On Thu, Jun 30, 2022 at 01:07:46PM +0200, Mark Kettenis wrote: >>> Ah right. Please commit! >> Here's the complete diff, ok? > > > Hi, > > with this diff : > > dell r620 - serial console > com1 at acpi

Re: amd64 serial console changes

2022-06-30 Thread Hrvoje Popovski
On 30.6.2022. 15:14, Anton Lindqvist wrote: > On Thu, Jun 30, 2022 at 01:07:46PM +0200, Mark Kettenis wrote: >> Ah right. Please commit! > Here's the complete diff, ok? Hi, with this diff : dell r620 - serial console com1 at acpi0 COMA addr 0x2f8/0x8 irq 3: ns16550a, 16 byte fifo com1: console

Re: amd64 serial console changes

2022-06-30 Thread Mark Kettenis
Forget about efi32 and efi64 (I just got permission from mlarkin to remove those). The efiboot and stand/libsa bits are ok kettenis@ > Op 30-06-2022 15:14 schreef Anton Lindqvist : > > > On Thu, Jun 30, 2022 at 01:07:46PM +0200, Mark Kettenis wrote: > > Ah right. Please commit! > > Here's th

Re: amd64 serial console changes

2022-06-30 Thread Hrvoje Popovski
On 30.6.2022. 10:26, Mark Kettenis wrote: > Hi Hrvoje, > > I assume it was faster before? What hardware are you seeing this on? Hi, yes, it was faster before. dell r620 - serial console com1 at acpi0 COMA addr 0x2f8/0x8 irq 3: ns16550a, 16 byte fifo com1: console com0 at acpi0 COMB addr 0x3f8/

Re: amd64 serial console changes

2022-06-30 Thread Anton Lindqvist
On Thu, Jun 30, 2022 at 01:07:46PM +0200, Mark Kettenis wrote: > Ah right. Please commit! Here's the complete diff, ok? diff --git sys/arch/amd64/stand/efi32/exec_i386.c sys/arch/amd64/stand/efi32/exec_i386.c index 8349d97fefb..21f13cd273b 100644 --- sys/arch/amd64/stand/efi32/exec_i386.c +++ s

Re: amd64 serial console changes

2022-06-30 Thread Mark Kettenis
Ah right. Please commit! > Op 30-06-2022 11:55 schreef Anton Lindqvist : > > > On Thu, Jun 30, 2022 at 08:52:33AM +0200, Hrvoje Popovski wrote: > > On 27.6.2022. 23:44, Mark Kettenis wrote: > > > The Ryzen Embedded V1000 processors have an arm64-style Synposys > > > DesignWare UART instead if

Re: amd64 serial console changes

2022-06-30 Thread Anton Lindqvist
On Thu, Jun 30, 2022 at 08:52:33AM +0200, Hrvoje Popovski wrote: > On 27.6.2022. 23:44, Mark Kettenis wrote: > > The Ryzen Embedded V1000 processors have an arm64-style Synposys > > DesignWare UART instead if a PC-compatible NS16x50 UART. To make this > > UART work as a serial console, we need to

Re: amd64 serial console changes

2022-06-30 Thread Mark Kettenis
Hi Hrvoje, I assume it was faster before? What hardware are you seeing this on? Thanks, Mark > Op 30-06-2022 08:52 schreef Hrvoje Popovski : > > > On 27.6.2022. 23:44, Mark Kettenis wrote: > > The Ryzen Embedded V1000 processors have an arm64-style Synposys > > DesignWare UART instead if a

Re: amd64 serial console changes

2022-06-29 Thread Hrvoje Popovski
On 27.6.2022. 23:44, Mark Kettenis wrote: > The Ryzen Embedded V1000 processors have an arm64-style Synposys > DesignWare UART instead if a PC-compatible NS16x50 UART. To make this > UART work as a serial console, we need to pass some more information > from the bootloader to the kernel. This dif

amd64 serial console changes

2022-06-27 Thread Mark Kettenis
The Ryzen Embedded V1000 processors have an arm64-style Synposys DesignWare UART instead if a PC-compatible NS16x50 UART. To make this UART work as a serial console, we need to pass some more information from the bootloader to the kernel. This diff adds the logic to handle that information to the