Re: [PATCH 0/4] rockchip: Add gpio request() ops and drop PCIe reset-gpios workaround

2024-05-21 Thread Mark Kettenis
> Date: Mon, 13 May 2024 00:23:33 +0200 > From: Jonas Karlman Hi Jonas, Sorry for the delayed reply. Last week was a bit busy here... > Hi Mark, > > On 2024-05-12 22:41, Mark Kettenis wrote: > >> Date: Sat, 11 May 2024 22:55:18 +0200 > >> From:

Re: [RFC 02/14] efi_loader: library function efi_dp_merge

2024-05-14 Thread Mark Kettenis
> Date: Tue, 14 May 2024 14:49:47 +0200 > From: Heinrich Schuchardt Hi Heinrich, > On 4/26/24 17:47, Ilias Apalodimas wrote: > > Hi Heinrich > > > > On Fri, 26 Apr 2024 at 17:53, Heinrich Schuchardt > > wrote: > >> > >> On 26.04.24 16:30, Ilias Apalodimas wrote: > >>> Hi Heinrich, > >>> > >>>

Re: [PATCH 0/4] rockchip: Add gpio request() ops and drop PCIe reset-gpios workaround

2024-05-12 Thread Mark Kettenis
> Date: Sun, 12 May 2024 21:49:21 +0200 > From: Alex Bee > > Am 11.05.24 um 20:47 schrieb Jonas Karlman: > > Hi Alex, > > > > On 2024-05-11 19:44, Alex Bee wrote: > >> Hi Jonas, > >> > >> Am 11.05.24 um 13:28 schrieb Jonas Karlman: > >>> This series add gpio request() and pinctrl

Re: [PATCH 0/4] rockchip: Add gpio request() ops and drop PCIe reset-gpios workaround

2024-05-12 Thread Mark Kettenis
> Date: Sat, 11 May 2024 22:55:18 +0200 > From: Jonas Karlman > > Hi Mark, > > On 2024-05-11 21:57, Mark Kettenis wrote: > >> Date: Sat, 11 May 2024 20:47:40 +0200 > >> From: Jonas Karlman > > > > Hi Jonas & Alex, > > > >&g

Re: [PATCH 0/4] rockchip: Add gpio request() ops and drop PCIe reset-gpios workaround

2024-05-11 Thread Mark Kettenis
> Date: Sat, 11 May 2024 20:47:40 +0200 > From: Jonas Karlman Hi Jonas & Alex, > Hi Alex, > > On 2024-05-11 19:44, Alex Bee wrote: > > Hi Jonas, > > > > Am 11.05.24 um 13:28 schrieb Jonas Karlman: > >> This series add gpio request() and pinctrl gpio_request_enable() ops so > >> that a gpio

Re: Distro Boot instructions with examples

2024-05-07 Thread Mark Kettenis
> From: Igor Opaniuk > Date: Tue, 7 May 2024 16:30:17 +0200 > > Hello Antoni, > > On Tue, May 7, 2024 at 4:14 PM Antoni Jankowski > wrote: > > > > Hi, > > > > I've recently learned about the Distro Boot feature of u-boot. This sounds > > interesting, however the official instructions are

Re: [PATCH v2 5/5] arm: apple: Do not list bootflows on boot

2024-04-19 Thread Mark Kettenis
y means the -l should be dropped from the default BOOTCOMMAND for BOOTSTD_FULL. But until that happens: Reviewed-by: Mark Kettenis > > Signed-off-by: Janne Grunau > --- > configs/apple_m1_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configs/apple

Re: [PATCH v2 4/5] arm: apple: Switch to standard boot

2024-04-19 Thread Mark Kettenis
> From: Janne Grunau via B4 Relay > Date: Thu, 18 Apr 2024 21:00:28 +0200 > > From: Janne Grunau > > Use standard boot instead of the distro boot scripts. Use > BOOTSTD_FULL instead of BOOTSTD_DEFAULTS for easier interactive use. > > Signed-off-by: Janne Grunau

Re: [PATCH v3 3/4] efi_loader: add an EFI variable with the file contents

2024-04-18 Thread Mark Kettenis
> From: Ilias Apalodimas > Date: Thu, 18 Apr 2024 15:54:52 +0300 Hi Illias, > > Previous patches enabled SetVariableRT using a RAM backend. > Although EBBR [0] defines a variable format we can teach userspace tools > and write the altered variables, it's better if we skip the ABI >

Re: [PATCH 4/4] arm: apple: Switch to standard boot

2024-04-15 Thread Mark Kettenis
> From: Janne Grunau via B4 Relay > Date: Sun, 17 Mar 2024 15:54:50 +0100 > > From: Janne Grunau > > Use standard boot instead of the distro boot scripts. > > Signed-off-by: Janne Grunau As per a somewhat recent discussion about this for the rockchip SoCs, I think we want BOOTSTD_FULL

Re: [PATCH 3/4] configs: apple: Enable CMD_SELECT_FONT and FONT_16X32

2024-04-15 Thread Mark Kettenis
density so the standard 8x16 font is still used > by default. > > Signed-off-by: Janne Grunau Reviewed-by: Mark Kettenis > --- > configs/apple_m1_defconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/configs/apple_m1_defconfig b/configs/apple_m1

Re: [PATCH 2/4] configs: apple: Use "vidconsole,serial" as stdout/stderr

2024-04-15 Thread Mark Kettenis
gt; > Signed-off-by: Janne Grunau Reviewed-by: Mark Kettenis > --- > include/configs/apple.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/configs/apple.h b/include/configs/apple.h > index 0576bc04c9..a70440b3ad 100644 > --

Re: [PATCH 1/4] apple_m1_defconfig: Turn on CONFIG_SYS_64BIT_LBA

2024-04-15 Thread Mark Kettenis
is 8TB and we can handle up to 16TiB with that sector size. > Close call. > > Signed-off-by: Hector Martin > Signed-off-by: Janne Grunau Reviewed-by: Mark Kettenis > --- > configs/apple_m1_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configs/a

Re: [PATCH] boot: Pass baud rate to stdout-path

2024-04-11 Thread Mark Kettenis
> From: John Watts > Date: Thu, 11 Apr 2024 15:03:20 +1000 > > Linux might use the wrong baud rate such as 9600 by default, make sure > to specify it when passing the serial port over. > > Signed-off-by: John Watts > --- > On my board at least (a sunxi T113) the serial console will initialize

Re: [PATCH 1/1] tools: use adequate entropy source for initialization vector

2024-04-10 Thread Mark Kettenis
> From: Heinrich Schuchardt > Date: Thu, 11 Apr 2024 01:31:16 +0200 > > The random() function is unsafe to initialize cryptographic data. > Use getrandom() which reads from /dev/urandom instead. > > getrandom() is available on Linux sine release 3.17 and on BSD. NACK getrandom() isn't

Re: [PATCH v1 0/4] Enable SetvariableRT

2024-04-08 Thread Mark Kettenis
> From: Ilias Apalodimas > Date: Sat, 6 Apr 2024 17:01:51 +0300 > > Hi all, Hi Ilias, > This is an updated version of [0]. > > When EFI variables are stored on file we don't allow SetVariableRT, > since the OS doesn't know how to access or write that file. At the same > time keeping the

Re: [PATCH v1 0/4] Enable SetvariableRT

2024-04-07 Thread Mark Kettenis
> From: Ilias Apalodimas > > Hi all, > > This is an updated version of [0]. > > When EFI variables are stored on file we don't allow SetVariableRT, > since the OS doesn't know how to access or write that file. At the same > time keeping the U-Boot drivers alive in runtime sections and

Re: [PATCH v2 1/4] boot: correct the default sequence of boot methods

2024-04-04 Thread Mark Kettenis
> From: Heinrich Schuchardt > Date: Thu, 4 Apr 2024 13:47:39 +0200 > > The default sequence of boot methods is determined by alphabetical sorting > during linkage. > > * efi_mgr must run before efi to be UEFI compliant > * pxe should run as last resort > > Signed-off-by: Heinrich Schuchardt

Re: [RFC PATCH] efi_loader: conditionally enable SetvariableRT

2024-03-29 Thread Mark Kettenis
> From: Ilias Apalodimas > Date: Fri, 29 Mar 2024 09:19:27 +0200 > > When EFI variables are stored on file we don't allow SetVariableRT, > since the OS doesn't know how to access or write that file. At the same > time keeping the U-Boot drivers alive in runtime sections and performing > writes

Re: [PATCH v4] disk: dos: Add all options for EFI System Partitions

2024-03-02 Thread Mark Kettenis
; find their firmware on a FAT partition with an ID of 0xef so also > allow the original FAT12/16/32 partition IDs as they are also > permissable for an ESP. > > Signed-off-by: Peter Robinson Reviewed-by: Mark Kettenis > --- > > v2: > - Add 0x0c option > - Make hex

Re: [PATCH v3] disk: dos: Add all options for EFI System Partitions

2024-03-02 Thread Mark Kettenis
> From: Peter Robinson > Date: Sat, 2 Mar 2024 10:54:36 + Hi Peter, > The EFI spec states that the ESP can be any of FAT12/16/32 but for > compatibility doesn't necssarily require the partition to be the > EFI partition table ID of 0xef. A number of arm devices will not > find their

Re: [PATCH 4/6] usb: kbd: Ignore Yubikeys

2024-02-26 Thread Mark Kettenis
> Date: Sun, 25 Feb 2024 22:57:23 +0100 > From: Marek Vasut > > On 2/25/24 5:07 PM, Janne Grunau wrote: > > Hej, > > > > On Wed, Feb 21, 2024, at 13:41, Marek Vasut wrote: > >> On 2/21/24 08:25, Janne Grunau via B4 Relay wrote: > >>> From: Hector Martin > >>> > >>> We currently only support

Re: [PATCH 2/6] usb: xhci: Set up endpoints for the first 2 interfaces

2024-02-26 Thread Mark Kettenis
> Date: Sun, 25 Feb 2024 22:47:41 +0100 > From: Marek Vasut > > On 2/25/24 4:28 PM, Janne Grunau wrote: > > > > > > On Wed, Feb 21, 2024, at 13:39, Marek Vasut wrote: > >> On 2/21/24 08:25, Janne Grunau via B4 Relay wrote: > >>> From: Janne Grunau > >>> > >>> Apple USB keyboards carry the HID

Re: [PATCH] efi_loader: Don't carve out memory reservations too early

2024-02-26 Thread Mark Kettenis
> Date: Sat, 17 Feb 2024 12:02:56 +0100 > From: Heinrich Schuchardt Hi Heinrich, > On 2/16/24 3:17 PM, Mark Kettenis wrote: > >> Date: Fri, 16 Feb 2024 00:38:25 +0100 > >> From: Heinrich Schuchardt > >> > >> Am 16. Februar 2024 00:25:34 M

[PATCH v2] efi_loader: Don't carve out memory reservations too early

2024-02-26 Thread Mark Kettenis
e415b21b2d ("efi_loader: create memory reservations in ACPI case") Signed-off-by: Mark Kettenis --- ChangeLog: v2: - Call image_setup_libfdt() in the ACPI code path lib/efi_loader/efi_helper.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/lib/efi_l

Re: [PATCH v2] disk: dos: Add all options for EFI System Partitions

2024-02-25 Thread Mark Kettenis
> From: Peter Robinson > Date: Sun, 25 Feb 2024 14:14:55 + > > The EFI spec states that the ESP can be any of FAT12/16/32 but for > compatibility doesn't necssarily require the partition to be the > EFI partition table ID of 0xef. A number of arm devices will not > find their firmware on a

Re: [PATCH] disk: dos: Add all options for EFI System Partitions

2024-02-19 Thread Mark Kettenis
> From: Peter Robinson > Date: Mon, 19 Feb 2024 09:12:15 + > > The EFI spec states that the ESP can be any of FAT12/16/32 but for > compatibility doesn't necssarily require the partition to be the > EFI partition table ID of 0xef. A number of arm devices will not > find their firmware on a

Re: [PATCH v4] rockchip: spl: Enable caches to speed up checksum validation

2024-02-17 Thread Mark Kettenis
> From: Jonas Karlman > Date: Sat, 17 Feb 2024 12:34:04 + > > FIT checksum validation is very slow in SPL due to D-cache not being > enabled. > > Enable caches in SPL on ARM64 SoCs to speed up FIT checksum validation, > from seconds to milliseconds. > > This change enables caches in SPL on

Re: [PATCH] efi_loader: Don't carve out memory reservations too early

2024-02-16 Thread Mark Kettenis
> Date: Fri, 16 Feb 2024 00:38:25 +0100 > From: Heinrich Schuchardt > > Am 16. Februar 2024 00:25:34 MEZ schrieb Mark Kettenis : > >Moving the efi_carve_out_dt_rsv() call in commit 1be415b21b2d > >("efi_loader: create memory reservations in ACPI case") >

[PATCH] efi_loader: Don't carve out memory reservations too early

2024-02-15 Thread Mark Kettenis
s the case for the rk3588 boards and breaks booting OpenBSD on those boards. Move the call back to its original location and add a call in the code path used for ACPI. Fixes: 1be415b21b2d ("efi_loader: create memory reservations in ACPI case") Signed-off-by: Mark Kettenis --- lib/efi_load

Re: [PATCH v2 09/20] rockchip: merge misc.c into board.c

2024-02-09 Thread Mark Kettenis
> Date: Fri, 09 Feb 2024 18:58:01 +0100 > From: Dragan Simic > > Hello Quentin, > > Please, see my comments below. > > On 2024-02-09 10:50, Quentin Schulz wrote: > > From: Quentin Schulz > > > > The functions aren't used anywhere else than in board.c, therefore, > > let's not expose them

Re: [PATCH 0/2] smbios: fill wake-up type

2024-02-08 Thread Mark Kettenis
> From: Heinrich Schuchardt > Date: Thu, 8 Feb 2024 11:49:50 +0100 > > We should not use the reserved value 0x00 for the wake up type but > use 0x06 (Power Switch). Well, if I look at my collection of boards, many don't even have a power switch. So I think the only sensible default value is

Re: [PATCH v2] rng: Add Turris Mox rWTM RNG driver

2024-02-05 Thread Mark Kettenis
Cheers, Mark > On Mon, 05 Feb 2024 14:46:24 +0100 > Mark Kettenis wrote: > > > > Date: Mon, 5 Feb 2024 12:40:14 +0100 > > > From: Marek Behún > > > > > > Hello Max, > > > > > > Out of curiousity, what is your use case for having the

Re: [PATCH v2] rng: Add Turris Mox rWTM RNG driver

2024-02-05 Thread Mark Kettenis
> Date: Mon, 5 Feb 2024 12:40:14 +0100 > From: Marek Behún > > Hello Max, > > Out of curiousity, what is your use case for having these random > numbers on this platform in U-Boot? It means that U-Boot will implement the EFI RNG protocol. The OpenBSD bootloader will use that to fill an

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-22 Thread Mark Kettenis
> Date: Mon, 22 Jan 2024 16:16:34 +0200 > From: "Ivan T. Ivanov" > > Hi, > > On 01-22 13:57, Ivan T. Ivanov wrote: > > > Am 20.01.24 um 10:48 schrieb Jens Maus: > > >> Hi, > > >> > > >>> Am 20.01.2024 um 10:22 schrieb Stefan Wahren : > > >>> > > >>> Am 19.01.24 um 22:26 schrieb Jens Maus: > >

Re: [PATCH 1/1] lib: support SMBIOS3 table in uuid_guid_get_str()

2024-01-22 Thread Mark Kettenis
> From: Heinrich Schuchardt > Date: Mon, 22 Jan 2024 14:04:35 +0100 > > As we support installing SMBIOS3 tables in U-Boot we need to add this GUID > to the translation table used buy uuid_guid_get_str(). > > Signed-off-by: Heinrich Schuchardt Reviewed-by: Mark Kettenis

Re: [PATCH 2/2] coreboot: Switch to a monospaced font

2024-01-08 Thread Mark Kettenis
> From: Simon Glass > Date: Sun, 7 Jan 2024 17:14:55 -0700 > > The default font is proportional, with different character widths. > Select a monospace font for coreboot so that the 'dm tree' output lines > up correctly. > > Update the coreboot tests to match. To be honest, I think defaulting

Re: [PATCH v3 4/8] dts: Add alternative location for upstream DTB builds

2023-12-31 Thread Mark Kettenis
> Date: Sun, 31 Dec 2023 15:39:53 -0500 > From: Tom Rini > > On Sun, Dec 31, 2023 at 07:28:52AM -0700, Simon Glass wrote: > > Hi Sumit, > > > > On Fri, Dec 29, 2023 at 8:30 AM Sumit Garg wrote: > > > > > > On Fri, 29 Dec 2023 at 01:18, Simon Glass wrote: > > > > > > > > Hi Tom, > > > > > > >

Re: Proposal: U-Boot memory management

2023-12-29 Thread Mark Kettenis
> Date: Fri, 29 Dec 2023 11:17:44 -0500 > From: Tom Rini > > On Fri, Dec 29, 2023 at 05:05:17PM +0100, Heinrich Schuchardt wrote: > > > > > > Am 29. Dezember 2023 16:43:07 MEZ schrieb Tom Rini : > > >On Fri, Dec 29, 2023 at 05:36:09AM +, Simon Glass wrote: > > >> Hi, > > >> > > >> On Sat,

Re: [PATCH v4 4/7] smbios: Use SMBIOS 3.0 to support an address above 4GB

2023-12-28 Thread Mark Kettenis
> From: Simon Glass > Date: Thu, 28 Dec 2023 13:37:03 + > > Hi Ilias, > > On Wed, Dec 27, 2023 at 11:05 AM Ilias Apalodimas > wrote: > > > > Hi Simon, > > > > On Wed, 27 Dec 2023 at 09:40, Simon Glass wrote: > > > > > > When the SMBIOS table is written to an address above 4GB a 32-bit

Re: [RFC PATCH 2/2] common: console: Add support of passing the saved console log to the OS

2023-12-27 Thread Mark Kettenis
> From: Bence Cs > Date: Thu, 28 Dec 2023 00:30:12 +0100 > > CONFIG_CONSOLE_RECORD_SAVE option allows for the recorded console log to > be saved to a memory location, along with some metadata. This memory > address is then passed to the booted OS via command line. Hi, Sorry, but I fear the

Re: [PATCH] arm: apple: Disable SMBIOS again

2023-12-24 Thread Mark Kettenis
> Date: Sun, 24 Dec 2023 20:37:47 +0100 > From: Heinrich Schuchardt > > On 12/24/23 19:12, Mark Kettenis wrote: > > Apple machines do not have memory below 4G. Since U-Boot does > > not support the SMBIOS 3 header structures this means we can't > > su

[PATCH] arm: apple: Disable SMBIOS again

2023-12-24 Thread Mark Kettenis
alled SMBIOS tables") Signed-off-by: Mark Kettenis --- configs/apple_m1_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/apple_m1_defconfig b/configs/apple_m1_defconfig index d58a9030db..b868d0e319 100644 --- a/configs/apple_m1_defconfig +++

Re: Passing boot logs to Linux?

2023-12-20 Thread Mark Kettenis
> Date: Tue, 19 Dec 2023 23:45:48 -0500 > From: Sean Anderson > > On 12/19/23 23:11, Simon Glass wrote: > > Hi Csókás, > > > > On Tue, 19 Dec 2023 at 13:15, Csókás Bence wrote: > >> > >> Hi! > >> > >> Is passing the U-Boot boot log to Linux supported yet? We are working > >> with a third-party

Re: Adding EFI runtime support to the Arm's FF-A bus

2023-12-19 Thread Mark Kettenis
> From: Michael Walle > Date: Tue, 19 Dec 2023 11:11:24 +0100 > > Hi Heinrich, Hi Michael, > > Any runtime device drivers for variable storage should not be in the > > U-Boot runtime but live in the secure world (e.g. OP-TEE) FF-A is the > > new ARM protocol for talking to the secure world and

Re: Adding EFI runtime support to the Arm's FF-A bus

2023-12-14 Thread Mark Kettenis
> Date: Thu, 14 Dec 2023 15:53:46 + > From: Abdellatif El Khlifi Hi Abdellatif, > Hi guys, > > I'd like to ask for advice regarding adding EFI RT support to the Arm's FF-A > bus > in U-Boot. > > The objective is to enable the FF-A messaging APIs in EFI RT to be > used for comms with the

Re: [PATCH 2/2 v3] smbios: Fallback to the default DT if sysinfo nodes are missing

2023-12-13 Thread Mark Kettenis
> Date: Wed, 13 Dec 2023 15:56:34 -0500 > From: Tom Rini > > On Wed, Dec 13, 2023 at 01:41:04PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 13 Dec 2023 at 13:17, Tom Rini wrote: > > > > > > On Wed, Dec 13, 2023 at 12:51:33PM -0700, Simon Glass wrote: > > > > Hi Ilias, > > > > > > > >

Re: [PATCH 2/2 v2] smbios: Fallback to the default DT if sysinfo nodes are missing

2023-12-13 Thread Mark Kettenis
> From: Simon Glass > Date: Wed, 13 Dec 2023 13:41:05 -0700 > > Hi Tom, > > On Wed, 13 Dec 2023 at 13:19, Tom Rini wrote: > > > > On Wed, Dec 13, 2023 at 12:50:03PM -0700, Simon Glass wrote: > > > Hi Ilias, > > > > > > On Mon, 11 Dec 2023 at 00:49, Ilias Apalodimas > > > wrote: > > > > > > >

Re: [PATCH v2] bootstd: Fix a memory leak in the efi manager bootflow

2023-12-07 Thread Mark Kettenis
mgr.c | 2 ++ > 1 file changed, 2 insertions(+) Oops! Reviewed-by: Mark Kettenis > diff --git a/boot/bootmeth_efi_mgr.c b/boot/bootmeth_efi_mgr.c > index e6c42d41fb80..6428c096d7f8 100644 > --- a/boot/bootmeth_efi_mgr.c > +++ b/boot/bootmeth_efi_mgr.c > @@ -16,6 +16,7 @@ >

Re: [PATCH 1/1] efi_loader: boot options should relate to the ESP

2023-12-06 Thread Mark Kettenis
> From: Peter Robinson > Date: Wed, 6 Dec 2023 10:44:59 + > > On Wed, Dec 6, 2023 at 9:31 AM Heinrich Schuchardt > wrote: > > > > On 05.12.23 07:23, Masahisa Kojima wrote: > > > Hi Heinrich, > > > > > > On Tue, 5 Dec 2023 at 11:38, Heinrich Schuchardt > > > wrote: > > >> > > >> * Only

Re: [PATCH 00/21] Qualcomm generic board support

2023-12-06 Thread Mark Kettenis
> From: Ilias Apalodimas > Date: Wed, 6 Dec 2023 12:31:15 +0200 > > Hi Caleb, > > Late to the party, but I'll respond to as much as I can > > On Tue, 21 Nov 2023 at 19:09, Caleb Connolly > wrote: > > > > Historically, Qualcomm boards in U-Boot have all had their own > > board/qualcomm/xyz

Re: [PATCH 01/18] bootm: netbds: Drop passing of arguments

2023-12-04 Thread Mark Kettenis
> From: Simon Glass > Date: Sun, 3 Dec 2023 17:26:17 -0700 Hi Simon, There is a typo in first line of the commit message: s/netbds/netbsd/. > It isn't clear how useful it is to pass the arguments of bootm to the > OS. For example, if "bootm 1000 2000 3000" is used, the three arguments > at

Re: [PATCH v2] arm: apple: t602x: Add missing MMIO regions to memmap

2023-12-01 Thread Mark Kettenis
unau > --- > Changes in v2: > - use SZ_1G as block size > - Link to v1: > https://lore.kernel.org/r/20231130-apple_t602x_extend_memmap-v1-1-cd96b251d...@jannau.net > --- > arch/arm/mach-apple/board.c | 48 > +++++ > 1 file chang

Re: [PATCH] arm: apple: t602x: Add missing MMIO regions to memmap

2023-11-30 Thread Mark Kettenis
> Date: Thu, 30 Nov 2023 23:04:36 +0100 > From: "Janne Grunau" > > Hej Mark, > > On Thu, Nov 30, 2023, at 21:45, Mark Kettenis wrote: > >> From: Janne Grunau via B4 Relay > >> Date: Thu, 30 Nov 2023 13:42:22 +0100 > >> > >> From:

Re: [PATCH] arm: apple: t602x: Add missing MMIO regions to memmap

2023-11-30 Thread Mark Kettenis
> From: Janne Grunau via B4 Relay > Date: Thu, 30 Nov 2023 13:42:22 +0100 > > From: Janne Grunau > > The memory maps for Apple's M2 Pro/Max/Ultra left MMIO space out which > was not used by any driver at the time. The display out exposed as > simple-framebuffer use a power-domain controlled by

Re: [PATCH 1/1] usb: USB_XHCI_PCI depends on PCI

2023-11-20 Thread Mark Kettenis
missing Kconfig dependency. > > Signed-off-by: Heinrich Schuchardt Reviewed-by: Mark Kettenis > --- > drivers/usb/host/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig > index b501ea514b.

Re: bootstd: Support for distro specific EFI folders

2023-11-19 Thread Mark Kettenis
> Date: Sat, 18 Nov 2023 23:52:11 +0100 > From: Heinrich Schuchardt Hi Heinrich, > On 11/18/23 22:28, Shantur Rathore wrote: > > Hi Heinrich, > > > > On Fri, Nov 17, 2023 at 3:12 PM Heinrich Schuchardt > > wrote: > >> > >> On 11/16/23 19:45, Shantur Rathore wrote: > >>> On Thu, Nov 16, 2023

Re: [PATCH 1/1] risc-v: qemu: imply NVME_PCI

2023-11-16 Thread Mark Kettenis
32 ("riscv: qemu: Enable e1000 and nvme support") > Signed-off-by: Heinrich Schuchardt > --- > board/emulation/qemu-riscv/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed by: Mark Kettenis > diff --git a/board/emulation/qemu-riscv/Kconfi

Re: [PATCH v4 09/12] x86: Enable SSE in 64-bit mode

2023-11-15 Thread Mark Kettenis
> From: Simon Glass > Date: Tue, 14 Nov 2023 17:48:25 -0700 > > Hi, > > On Tue, 14 Nov 2023 at 17:44, Bin Meng wrote: > > > > Hi Tom, > > > > On Wed, Nov 15, 2023 at 12:22 AM Tom Rini wrote: > > > > > > On Tue, Nov 14, 2023 at 09:49:08AM +0800, Bin Meng wrote: > > > > Hi Tom, > > > > > > > >

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-11-14 Thread Mark Kettenis
> From: Simon Glass > Date: Fri, 3 Nov 2023 13:17:18 -0600 > > Hi, > > On Mon, 23 Oct 2023 at 11:06, Mark Kettenis wrote: > > > > > Date: Mon, 23 Oct 2023 12:34:55 -0400 > > > From: Tom Rini > > > > > > On Mon, Oct 23, 2023 at 05:37:

Re: [PATCH v4 1/1] efi_loader: expose the device-tree file name

2023-10-25 Thread Mark Kettenis
> Date: Wed, 25 Oct 2023 21:57:44 +0200 > From: Heinrich Schuchardt > > On 10/25/23 20:23, Simon Glass wrote: > > Hi Heinrich, > > > > On Tue, 24 Oct 2023 at 18:02, Simon Glass wrote: > >> > >> Hi Heinrich, > >> > >> On Mon, 23 Oct 2023 at 23:20, Heinrich Schuchardt > >> wrote: > >>> > >>>

Re: [PATCH] smbios: arm64: Allow table to be written at a fixed addr

2023-10-25 Thread Mark Kettenis
> Date: Tue, 24 Oct 2023 18:34:05 -0400 > From: Tom Rini > > On Mon, Oct 23, 2023 at 05:31:19PM +0200, Mark Kettenis wrote: > > > From: Simon Glass > > > Date: Mon, 23 Oct 2023 00:04:14 -0700 > > > > > > Hi Caleb, > > > > &g

Re: [PATCH] arm: init: add an option to use FDT from previous bootloader

2023-10-25 Thread Mark Kettenis
> From: Simon Glass > Date: Tue, 24 Oct 2023 12:34:39 -0700 > > > This mechanism of retrieving the DTB is also used on the apple M1 I > > think, and any other board where we're booting U-Boot as a drop-in for > > the kernel on arm64. > > I believe M1 is an open source project so perhaps they

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-10-23 Thread Mark Kettenis
> Date: Mon, 23 Oct 2023 12:34:55 -0400 > From: Tom Rini > > On Mon, Oct 23, 2023 at 05:37:34PM +0200, Mark Kettenis wrote: > > > From: Simon Glass > > > Date: Mon, 23 Oct 2023 00:08:40 -0700 > > > > > > > > fdt_node_check_compatible() do

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-10-23 Thread Mark Kettenis
> From: Simon Glass > Date: Mon, 23 Oct 2023 00:08:40 -0700 > > > > fdt_node_check_compatible() does most of the work...then you need to > > > check which FDT has the most specific match (i.e. latest in the string > > > list). That handles things like board revisions, variants, etc. > > > > > >

Re: [PATCH] smbios: arm64: Allow table to be written at a fixed addr

2023-10-23 Thread Mark Kettenis
> From: Simon Glass > Date: Mon, 23 Oct 2023 00:04:14 -0700 > > Hi Caleb, > > On Sat, 21 Oct 2023 at 01:43, Caleb Connolly > wrote: > > > > Hi Simon, > > > > On 21/10/2023 01:45, Simon Glass wrote: > > > U-Boot typically sets up its malloc() pool near the top of memory. On > > > ARM64 systems

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-10-19 Thread Mark Kettenis
> From: Simon Glass > Date: Thu, 19 Oct 2023 07:55:49 -0600 > > Hi Heinrich, > > On Wed, 18 Oct 2023 at 02:15, Heinrich Schuchardt > wrote: > > > > On 10/18/23 05:33, Simon Glass wrote: > > > Hi Heinrich, > > > > > > On Tue, 17 Oct 2023 at 07:50, Heinrich Schuchardt > > > wrote: > > >> > > >>

Re: [PATCH] efi_loader: fix efi_bootmgr_enumerate_boot_option

2023-10-17 Thread Mark Kettenis
> From: Heinrich Schuchardt > Date: Tue, 17 Oct 2023 19:51:48 +0200 > > Only auto-generate boot options for removable media. > > For testing the different handling of removable and non-removable devices > an emulated USB device can be used: > > make qemu-riscv64_smode_defconfig; make >

Re: [PATCH 1/1] efi_loader: expose the device-tree file name

2023-10-17 Thread Mark Kettenis
> From: Heinrich Schuchardt > Date: Tue, 17 Oct 2023 10:55:07 +0200 > > Forward and backward compatibility of Linux kernel device-trees is > sometimes missing. One solution approach is to load a kernel specific > device-tree. This can either be done via a U-Boot scripts (like the one > generated

Re: [PATCH] arm: mach-apple: Move M1/M2 specifics into a separate folder

2023-10-15 Thread Mark Kettenis
ton > of Apple SoCs, as if M1 is the only apple SoC in existence. > > On 10/11/23 00:17, Mark Kettenis wrote: > >> Date: Tue, 29 Aug 2023 22:13:53 +0300 > >> From: Ivaylo Ivanov > >> > >> I'm currently working on S5L8950X. I also have some T7000 and T8010 &g

Re: [PATCH] arm: mach-apple: Move M1/M2 specifics into a separate folder

2023-10-10 Thread Mark Kettenis
we can see how to integrate it. > > On 8/29/23 20:43, Mark Kettenis wrote: > >> From: ivo.iva...@null.net > >> Date: Tue, 29 Aug 2023 20:25:19 +0300 > >> > >> From: Ivaylo Ivanov > >> > >> Currently, mach-apple assumes we're working with

Re: [PATCH v1 1/7] rockchip: dts: rk3568: Resync from kernel-4.19

2023-10-10 Thread Mark Kettenis
> From: Elaine Zhang > Date: Tue, 10 Oct 2023 16:51:49 +0800 > > Resync from kernel-4.19: > (a6cf6aca12c0 drivers: rkflash: Ajudst the dll strategy) Linux 4.19 is ancient; why are you not synching from 6.5 or a 6.6 release candidate? > Change-Id: I7b7134946b76dbd8963cfaafdc5b56750622855e >

Re: [PATCH] lmb: remove overlapping region with next range

2023-09-25 Thread Mark Kettenis
> Date: Mon, 25 Sep 2023 11:21:26 -0400 > From: Tom Rini > > On Sun, Sep 24, 2023 at 04:48:32PM +0530, Udit Kumar wrote: > > > In case of new memory range to be added is coalesced > > with any already added non last lmb region. > > > > And there is possibility that, then region in which new

Re: [PATCH v4] board: rockchip: Add Bananapi R2Pro Board

2023-09-18 Thread Mark Kettenis
> Date: Mon, 18 Sep 2023 20:09:54 +0200 > From: Frank Wunderlich > > Am 18. September 2023 19:52:31 MESZ schrieb Mark Kettenis > : > >> From: Frank Wunderlich > >> Date: Mon, 18 Sep 2023 19:36:24 +0200 > > Hi Mark, Hello Frank, > >> --- /dev

Re: [PATCH v4] board: rockchip: Add Bananapi R2Pro Board

2023-09-18 Thread Mark Kettenis
> From: Frank Wunderlich > Date: Mon, 18 Sep 2023 19:36:24 +0200 > > Add Bananapi R2 Pro board. > > tested: > - sdcard > - both front usb-ports > - sata > - wan-port > > lan-ports are connected to mt7531 switch where driver needs to be separated > from mtk ethernet-driver. > > Signed-off-by:

Re: [PATCH v2] bootstd: Make efi_mgr bootmeth work for non-sandbox setups

2023-09-12 Thread Mark Kettenis
> From: Simon Glass > Date: Sun, 10 Sep 2023 13:13:16 -0600 > > Hi Mark, > > On Sun, 10 Sept 2023 at 08:57, Mark Kettenis wrote: > > > > > From: Simon Glass > > > Date: Thu, 7 Sep 2023 09:57:34 -0600 > > > > > > Hi Mark, > >

Re: [PATCH] arm: apple: Add initial Apple M2 Ultra support

2023-09-11 Thread Mark Kettenis
Janne Grunau Reviewed-by: Mark Kettenis > --- > arch/arm/mach-apple/board.c | 183 > > 1 file changed, 183 insertions(+) > > diff --git a/arch/arm/mach-apple/board.c b/arch/arm/mach-apple/board.c > index d50194811843..47

Re: [PATCH] arm: apple: Add initial Apple M2 Ultra support

2023-09-11 Thread Mark Kettenis
> From: Simon Glass > Date: Sun, 10 Sep 2023 16:36:48 -0600 > > Hi, > > On Wed, 6 Sept 2023 at 15:50, Janne Grunau wrote: > > > > Apple's M2 Ultra SoC are somewhat similar to the M1 Ultra but needs > > a tweaked memory map as the M2 Pro/Max SoCs. USB, NVMe, UART, WDT > > and PCIe are working

Re: [PATCH v2] bootstd: Make efi_mgr bootmeth work for non-sandbox setups

2023-09-10 Thread Mark Kettenis
> From: Simon Glass > Date: Thu, 7 Sep 2023 09:57:34 -0600 > > Hi Mark, > > On Thu, 7 Sept 2023 at 07:08, Mark Kettenis wrote: > > > > > From: Simon Glass > > > Date: Thu, 7 Sep 2023 06:23:10 -0600 > > > > > > Hi Mark, &g

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-08 Thread Mark Kettenis
> From: Jassi Brar > Date: Fri, 8 Sep 2023 09:37:12 -0500 > > Hi Simon, > > On Thu, Sep 7, 2023 at 3:08 PM Simon Glass wrote: > > On Wed, 6 Sept 2023 at 23:20, Ilias Apalodimas > > > > > > > > I beg to differ. Devicetree is more than just hardware and always has > > > > > been. See, for

Re: [PATCH v2] bootstd: Make efi_mgr bootmeth work for non-sandbox setups

2023-09-07 Thread Mark Kettenis
> From: Simon Glass > Date: Thu, 7 Sep 2023 06:23:10 -0600 > > Hi Mark, > > On Sun, 3 Sept 2023 at 14:40, Mark Kettenis wrote: > > > > Enable the bootflow based on this bootmeth if the BootOrder EFI > > variable is set. > > > > Signed-

[PATCH v2] bootstd: Make efi_mgr bootmeth work for non-sandbox setups

2023-09-03 Thread Mark Kettenis
Enable the bootflow based on this bootmeth if the BootOrder EFI variable is set. Signed-off-by: Mark Kettenis --- ChangeLog: v2: - Initialize EFI subsystem to populate EFI variables boot/bootmeth_efi_mgr.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] arm: mach-apple: Move M1/M2 specifics into a separate folder

2023-08-29 Thread Mark Kettenis
> From: ivo.iva...@null.net > Date: Tue, 29 Aug 2023 20:25:19 +0300 > > From: Ivaylo Ivanov > > Currently, mach-apple assumes we're working with M1/M2. Make room for > adding support for other Apple SoCs by moving everything from the M1/M2 > SoC family in "mach-apple/" into "mach-apple/m1/".

Re: [PATCH v5 00/13] Add video damage tracking

2023-08-29 Thread Mark Kettenis
> Date: Tue, 29 Aug 2023 08:20:49 +0200 > From: Alexander Graf > > On 28.08.23 23:54, Heinrich Schuchardt wrote: > > On 8/28/23 22:24, Alexander Graf wrote: > >> > >> On 28.08.23 19:54, Simon Glass wrote: > >>> Hi Alex, > >>> > >>> On Wed, 23 Aug 2023 at 02:56, Alexander Graf wrote: > Hey

Re: [PATCH 17/19] Make DISTRO_DEFAULTS as deprecated

2023-08-28 Thread Mark Kettenis
> From: Simon Glass > Date: Thu, 24 Aug 2023 13:59:08 -0600 > > Encourage people to move to distro boot. Add a short migration guide. Doesn't this commit message say the exact opposite of what the patch does? > Signed-off-by: Simon Glass > --- > > boot/Kconfig| 7 ++- >

Re: [PATCH 18/18] riscv: qemu: Enable usb keyboard as an input device

2023-07-23 Thread Mark Kettenis
> Date: Sun, 23 Jul 2023 11:30:31 +0200 > From: Heinrich Schuchardt > > Am 23. Juli 2023 10:38:00 MESZ schrieb Mark Kettenis > : > >> From: Bin Meng > >> Date: Sun, 23 Jul 2023 12:40:41 +0800 > >> > >> This brings PCI xHCI support

Re: [PATCH 18/18] riscv: qemu: Enable usb keyboard as an input device

2023-07-23 Thread Mark Kettenis
> From: Bin Meng > Date: Sun, 23 Jul 2023 12:40:41 +0800 > > This brings PCI xHCI support to QEMU RISC-V and uses a usb keyboard > as one of the input devices. > > Signed-off-by: Bin Meng > > --- > > board/emulation/qemu-riscv/Kconfig | 5 + >

Re: [PATCH] Makefile: Use sort shortopts

2023-07-20 Thread Mark Kettenis
> From: Marek Vasut > Date: Thu, 20 Jul 2023 14:50:42 +0200 > > POSIX does not defined longopts for sort, use shortops > for even more compatibility. Even though OpenBSD's sort does implement the long options this is still good to have! Reviewed-by: Mark Kettenis > F

Re: [PATCH] bootstd: Make efi_mgr bootmeth work for non-sandbox setups

2023-07-15 Thread Mark Kettenis
> Date: Fri, 14 Jul 2023 22:21:04 +0200 > From: Heinrich Schuchardt Hi Heinrich, > Am 14. Juli 2023 21:56:02 MESZ schrieb Mark Kettenis : > >Enable the bootflow based on this bootmeth if the BootOrder EFI > >variable is set. > > > >Signed-off-b

Re: [PATCH 3/3] usb: xhci-pci: Load ASMedia XHCI controller firmware

2023-07-15 Thread Mark Kettenis
easily diff the two drivers to pick up improvements. Changing things the way you suggest would make that harder. Cheers, Mark > On 7/14/23 22:43, Mark Kettenis wrote: > > The ASMedia XHCI controller found on some of the Apple Silicon > > machines needs firmware to operate.

Re: [PATCH 1/3] apple: Set up file system firmware loader

2023-07-15 Thread Mark Kettenis
> Date: Fri, 14 Jul 2023 23:27:42 +0200 > From: Marek Vasut > > On 7/14/23 22:43, Mark Kettenis wrote: > > Find the appropriate EFI system partition on the internal NVMe > > storage and set the U-Boot environment variables such that > > the file system firmware

Re: [PATCH 2/3] iopoll: Add readb_poll_sleep_timeout

2023-07-15 Thread Mark Kettenis
> Date: Fri, 14 Jul 2023 23:22:00 +0200 > From: Marek Vasut > > On 7/14/23 22:43, Mark Kettenis wrote: > > Add a variant of readl_poll_sleep_timeout that reads a single > > byte to match the readb_poll_timeout API that Linux has. > > > > Signed-off-by: Mark K

[PATCH 3/3] usb: xhci-pci: Load ASMedia XHCI controller firmware

2023-07-14 Thread Mark Kettenis
. Signed-off-by: Mark Kettenis --- MAINTAINERS | 1 + drivers/usb/host/Kconfig| 11 + drivers/usb/host/Makefile | 1 + drivers/usb/host/xhci-pci-asmedia.c | 394 drivers/usb/host/xhci-pci.c | 9 + include/usb

[PATCH 2/3] iopoll: Add readb_poll_sleep_timeout

2023-07-14 Thread Mark Kettenis
Add a variant of readl_poll_sleep_timeout that reads a single byte to match the readb_poll_timeout API that Linux has. Signed-off-by: Mark Kettenis --- include/linux/iopoll.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/iopoll.h b/include/linux/iopoll.h index 0ee2bddaa8

[PATCH 1/3] apple: Set up file system firmware loader

2023-07-14 Thread Mark Kettenis
Find the appropriate EFI system partition on the internal NVMe storage and set the U-Boot environment variables such that the file system firmware loader can load firmware from it. Signed-off-by: Mark Kettenis --- arch/arm/mach-apple/board.c | 60 + 1 file

[PATCH 0/3] Load ASMedia XHCI controller firmware

2023-07-14 Thread Mark Kettenis
driver that uploads this firmware to the controller. With this series, users can use USB devices (such as a keyboard) when they are connected to USB ports handled by the ASMedia XHCI controller. This includes the type-A ports on the M2 Mac mini for example. Mark Kettenis (3): apple: Set up

[PATCH] phy: Add support for the Apple Type-C PHY

2023-07-14 Thread Mark Kettenis
This is merely a dummy driver that makes sure the DWC3 XHCI driver finds its reset and PHY controllers. We rely on iBoot to set up the PHY for us. Signed-off-by: Mark Kettenis --- MAINTAINERS | 1 + arch/arm/Kconfig| 1 + configs/apple_m1_defconfig | 1

[PATCH] bootstd: Make efi_mgr bootmeth work for non-sandbox setups

2023-07-14 Thread Mark Kettenis
Enable the bootflow based on this bootmeth if the BootOrder EFI variable is set. Signed-off-by: Mark Kettenis --- boot/bootmeth_efi_mgr.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/boot/bootmeth_efi_mgr.c b/boot/bootmeth_efi_mgr.c index e9d973429f

[PATCH] pci: apple: Enable CONFIG_SYS_PCI_64BIT

2023-07-14 Thread Mark Kettenis
The Apple hardware supports 64-bit prefetchable memory windows so enable CONFIG_SYS_PCI_64BIT. This fixes BAR assignments for the Broadcom Ethernet controller used in some of the desktop machines. Signed-off-by: Mark Kettenis --- drivers/pci/Kconfig | 1 + 1 file changed, 1 insertion(+) diff

Re: [PATCH] menu: Re-enable the ANSI codes

2023-06-13 Thread Mark Kettenis
Correct this by enabling ANSI again. > > Signed-off-by: Simon Glass > Reported-by: Pali Rohár > Reported-by: Mark Kettenis > Reported-by: Frank Wunderlich > Fixes: 32bab0eae51b ("menu: Make use of CLI character processing") Tested-by: Mark Kettenis Reviewed-by: M

  1   2   3   4   5   6   7   8   >