Re: Device Tree Overlays and FIT Images - Are they supported together fully?

2022-02-10 Thread Heinrich Schuchardt
On 2/11/22 08:19, Westermann, Oliver wrote: On Tue, 1 Feb 2022 at 10:50, Oliver Westermann wrote: Hey, Is my doubt reasonable or am I missing a step somewhere? You can pass the name of a configuration and overlays to apply to the bootm command. See doc/uImage.FIT/overlay-fdt-boot.txt Here

[PATCH 2/2] test/py: efi_secboot: adjust secure boot tests to code changes

2022-02-10 Thread Ilias Apalodimas
The previous patch is changing U-Boot's behavior wrt certificate based binary authentication. Specifically an image who's digest of a certificate is found in dbx is now rejected. Fix the test accordingly and add another one testing signatures in reverse order Signed-off-by: Ilias Apalodimas

[PATCH 1/2] efi_loader: fix dual signed image certification

2022-02-10 Thread Ilias Apalodimas
The EFI spec allows for images to carry multiple signatures. Currently we don't adhere to the verification process for such images. The spec says: "Multiple signatures are allowed to exist in the binary's certificate table (as per PE/COFF Section "Attribute Certificate Table"). Only one hash or

Re: [PATCH v1 4/4] configs: am64x_evm_r5_defconfig: Add support for ESM

2022-02-10 Thread Christian Gmeiner
Hi Am Mi., 2. Feb. 2022 um 19:22 Uhr schrieb Hari Nagalla : > > Enable ESM driver for AM64x R5 SPL/u-boot builds. > > Signed-off-by: Hari Nagalla Reviewed-by: Christian Gmeiner > --- > configs/am64x_evm_r5_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [PATCH v1 2/4] arm: dts: k3-am64: Add support for ESM device nodes

2022-02-10 Thread Christian Gmeiner
Am Mi., 2. Feb. 2022 um 19:22 Uhr schrieb Hari Nagalla : > > Enable acces to ESM0 configuration space and add Main ESM0 and MCU ESM > nodes to the AM64 device tree. > > Signed-off-by: Hari Nagalla Reviewed-by: Christian Gmeiner > --- > arch/arm/dts/k3-am64.dtsi| 1 + >

RE: Device Tree Overlays and FIT Images - Are they supported together fully?

2022-02-10 Thread Westermann, Oliver
On Tue, 1 Feb 2022 at 10:50, Oliver Westermann wrote: > Hey, > > Is my doubt reasonable or am I missing a step somewhere? > I can provide more info (detailed load & boot steps, fit image iminfo) if > needed. > > - Olli > Hey, I'm not sure if this is the correct list or my initial

Re: [RFC PATCH 1/2] efi_loader: fix dual signed image certification

2022-02-10 Thread Ilias Apalodimas
On Thu, 10 Feb 2022 at 10:01, AKASHI Takahiro wrote: > > On Thu, Feb 10, 2022 at 09:55:20AM +0200, Ilias Apalodimas wrote: > > On Thu, Feb 10, 2022 at 04:41:15PM +0900, AKASHI Takahiro wrote: > > > On Thu, Feb 10, 2022 at 09:33:46AM +0200, Ilias Apalodimas wrote: > > > > > > > >

Re: [PATCH v4 02/11] FWU: Add FWU metadata access driver for GPT partitioned block devices

2022-02-10 Thread Masami Hiramatsu
Hi Sughosh, 2022年2月10日(木) 21:25 Sughosh Ganu : > > hi Masami, > > On Thu, 10 Feb 2022 at 08:45, Masami Hiramatsu > wrote: > > > > 2022年2月10日(木) 10:43 Masami Hiramatsu : > > > > > > > > > > Of course as I said in the other thread, I would like to put the > > > > > > > dfu_alt_info like

Re: [PATCH v3] board: gateworks: venice: add imx8mn-gw7902 support

2022-02-10 Thread Fabio Estevam
Hi Tim, Your patch looks good. On Wed, Feb 2, 2022 at 7:00 PM Tim Harvey wrote: > +/* Initial environment variables */ > +#define CONFIG_EXTRA_ENV_SETTINGS \ > + BOOTENV \ > + MEM_LAYOUT_ENV_SETTINGS \ > + "script=boot.scr\0" \ > + "bootm_size=0x1000\0" \ > +

Re: ARM A53 and initial MMU mapping for EL0/1/2/3 ?

2022-02-10 Thread Andre Przywara
On Fri, 11 Feb 2022 00:22:25 + Joakim Tjernlund wrote: > On Thu, 2022-02-10 at 22:43 +, Andre Przywara wrote: > > On Thu, 10 Feb 2022 21:58:30 + > > Joakim Tjernlund wrote: > > > > Hi, > > > > > On Thu, 2022-02-10 at 10:22 +, Andre Przywara wrote: > > > > On Wed, 9 Feb

Re: [PATCH v2] apple: Fix debug uart clock rate

2022-02-10 Thread Tom Rini
On Sun, Feb 06, 2022 at 01:21:14PM +0100, Mark Kettenis wrote: > The clock rate for the serial console on Apple M1 systems is 24 MHz > instead of 240 kHz. > > Signed-off-by: Mark Kettenis Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 2/2] common: drop CONFIG_SYS_RESET_ADDR

2022-02-10 Thread Tom Rini
On Mon, Jan 31, 2022 at 09:20:22AM +0200, Ovidiu Panait wrote: > There are no boards that define CONFIG_SYS_RESET_ADDR, so drop the > remaining comments referencing it and also the config_whitelist.txt entry. > > Signed-off-by: Ovidiu Panait > Reviewed-by: Stefan Roese > Acked-by:

Re: [PATCH 1/2] powerpc: mpc8xx: drop CONFIG_SYS_RESET_ADDRESS

2022-02-10 Thread Tom Rini
On Mon, Jan 31, 2022 at 09:20:21AM +0200, Ovidiu Panait wrote: > There are no boards that define CONFIG_SYS_RESET_ADDRESS, so drop the > associated mpc8xx code that checks for it. > > Signed-off-by: Ovidiu Panait > Reviewed-by: Stefan Roese > Acked-by: Christophe Leroy Applied to

Re: [PATCH v2 2/2] input: apple: Add support for Apple SPI keyboard

2022-02-10 Thread Tom Rini
On Sun, Jan 23, 2022 at 04:48:13PM +0100, Mark Kettenis wrote: > This driver adds support for the keyboard on Apple Silicon laptops. > The controller for this keyboard sits on an SPI bus and uses an > Apple-specific HID over SPI protocol. The packets sent by this > controller for key presses and

Re: [PATCH v2 1/2] spi: apple: Add driver for Apple SPI controller

2022-02-10 Thread Tom Rini
On Sun, Jan 23, 2022 at 04:48:12PM +0100, Mark Kettenis wrote: > Add a driver for the SPI controller integrated on Apple SoCs. > This is necessary to support the keyboard on Apple Silicon laopts > since their keyboard uses an Apple-specific HID over SPI protocol. > > Signed-off-by: Mark Kettenis

Re: [PATCH v2 8/9] nvme: apple: Add driver for Apple NVMe storage controller

2022-02-10 Thread Tom Rini
On Sat, Jan 22, 2022 at 08:38:18PM +0100, Mark Kettenis wrote: > Add a driver for the NVMe storage controller integrated on > Apple SoCs. This NVMe controller isn't PCI based and deviates > from the NVMe standard in its implementation of the command > submission queue and the integration of an

Re: [PATCH v2 9/9] configs: apple: Add NVMe boot target

2022-02-10 Thread Tom Rini
On Sat, Jan 22, 2022 at 08:38:19PM +0100, Mark Kettenis wrote: > Add a boot target for NVMe such that we can boot from NVMe. > > Signed-off-by: Mark Kettenis Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 7/9] power: domain: apple: Add reset support

2022-02-10 Thread Tom Rini
On Sat, Jan 22, 2022 at 08:38:17PM +0100, Mark Kettenis wrote: > The power management controller found on Apple SoCs als provides > a way to reset all devices within a power domain. This is needed > to cleanly shutdown the NVMe controller before we hand over > control to the OS. > >

Re: [PATCH v2 6/9] nvme: Add shutdown function

2022-02-10 Thread Tom Rini
On Sat, Jan 22, 2022 at 08:38:16PM +0100, Mark Kettenis wrote: > Add a function to disable the NVMe controller. This will be used > to let the driver for the NVMe storage integrated on Apple SoCs > shutdown the NVMe controller such we can shutdown the NVMe > IOP controller in a clean way

Re: [PATCH v2 5/9] nvme: Introduce driver ops

2022-02-10 Thread Tom Rini
On Sat, Jan 22, 2022 at 08:38:15PM +0100, Mark Kettenis wrote: > The NVMe storage controller integrated on Apple SoCs deviates > from the NVMe standard in two aspects. It uses a "linear" > submission queue and it integrates an NVMMU that needs to be > programmed for each NVMe command. Introduce

Re: [PATCH v2 4/9] arm: apple: Add RTKit support

2022-02-10 Thread Tom Rini
On Sat, Jan 22, 2022 at 08:38:14PM +0100, Mark Kettenis wrote: > Most Apple IOPs run a firmware that is based on what Apple calls > RTKit. RTKit implements a common mailbox protocol. This code > provides an implementation of the AP side of this protocol, > providing a function to initialize

Re: [PATCH v2 3/9] arm: apple: Change SoC name from "m1" into "apple"

2022-02-10 Thread Tom Rini
On Sat, Jan 22, 2022 at 08:38:13PM +0100, Mark Kettenis wrote: > U-Boot is expected to support multiple generations of Apple SoCs > in a single binary with a single defconfig. Therefore it makes > more sense to set SYS_SOC to "apple". > > Signed-off-by: Mark Kettenis > Reviewed-by: Simon Glass

Re: [PATCH v2 2/9] mailbox: apple: Add driver for Apple IOP mailbox

2022-02-10 Thread Tom Rini
On Sat, Jan 22, 2022 at 08:38:12PM +0100, Mark Kettenis wrote: > This mailbox driver provides a communication channel with the > Apple IOP controllers found on Apple SoCs. These IOP controllers > are used to implement various functions such as the System > Manegement Controller (SMC) and NVMe

Re: [PATCH v2 1/9] nvme: Split out PCI support

2022-02-10 Thread Tom Rini
On Sat, Jan 22, 2022 at 08:38:11PM +0100, Mark Kettenis wrote: > Apple SoCs have an integrated NVMe controller that isn't connected > over a PCIe bus. In preparation for adding support for this NVMe > controller, split out the PCI support into its own file. This file > is selected through a new

Re: [PATCH] arm:dts:k3-am64-sk: EMIF tool update to 0.8.0 with 1333MTs for lpddr4

2022-02-10 Thread Tom Rini
On Mon, Nov 29, 2021 at 05:34:49PM +0530, Sinthu Raja wrote: > From: Sinthu Raja > > EMIF tool for AM64 SK is now updated to 0.8.0 that includes > * disabled Write DQ training > * improve CA ODT to 60 ohms > > The lpddr4 enabled with periodic WDQ training is causing periodic 26us > stall. This

Re: [PULL] u-boot-riscv/master

2022-02-10 Thread Tom Rini
On Thu, Feb 10, 2022 at 03:16:03PM +, Leo Liang wrote: > Hi Tom, > > The following changes since commit 531c00894577a0a852431adf61ade76925f8b162: > > Merge branch '2022-02-08-TI-platform-updates' (2022-02-08 12:28:04 -0500) > > are available in the Git repository at: > >

Re: ARM A53 and initial MMU mapping for EL0/1/2/3 ?

2022-02-10 Thread Joakim Tjernlund
On Thu, 2022-02-10 at 22:43 +, Andre Przywara wrote: > On Thu, 10 Feb 2022 21:58:30 + > Joakim Tjernlund wrote: > > Hi, > > > On Thu, 2022-02-10 at 10:22 +, Andre Przywara wrote: > > > On Wed, 9 Feb 2022 12:03:47 + > > > Joakim Tjernlund wrote: > > > > > > Hi, > > > > > > >

Re: Please pull u-boot-dm (take 3)

2022-02-10 Thread Simon Glass
Hi Tom, On Thu, 10 Feb 2022 at 14:20, Tom Rini wrote: > > On Thu, Feb 10, 2022 at 02:01:21PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 10 Feb 2022 at 13:40, Tom Rini wrote: > > > > > > On Thu, Feb 10, 2022 at 01:23:36PM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On

[PATCH v3] console: usb: kbd: Limit poll frequency to improve performance

2022-02-10 Thread Thomas Watson
Using the XHCI driver, the function `usb_kbd_poll_for_event` takes 30-40ms to run. The exact time is dependent on the polling interval the keyboard requests in its descriptor, and likely cannot be significantly reduced without major rework to the XHCI driver. The U-Boot EFI console service sets a

Re: [PATCH v3] console: usb: kbd: Limit poll frequency to improve performance

2022-02-10 Thread Marek Vasut
On 2/11/22 00:02, Simon Glass wrote: Hi Marek, On Thu, 10 Feb 2022 at 14:42, Marek Vasut wrote: On 2/10/22 22:13, Thomas Watson wrote: Using the XHCI driver, the function `usb_kbd_poll_for_event` takes 30-40ms to run. The exact time is dependent on the polling interval the keyboard requests

Re: [PATCH v3] console: usb: kbd: Limit poll frequency to improve performance

2022-02-10 Thread Simon Glass
Hi Marek, On Thu, 10 Feb 2022 at 14:42, Marek Vasut wrote: > > On 2/10/22 22:13, Thomas Watson wrote: > > Using the XHCI driver, the function `usb_kbd_poll_for_event` takes > > 30-40ms to run. The exact time is dependent on the polling interval the > > keyboard requests in its descriptor, and

Re: ARM A53 and initial MMU mapping for EL0/1/2/3 ?

2022-02-10 Thread Andre Przywara
On Thu, 10 Feb 2022 21:58:30 + Joakim Tjernlund wrote: Hi, > On Thu, 2022-02-10 at 10:22 +, Andre Przywara wrote: > > On Wed, 9 Feb 2022 12:03:47 + > > Joakim Tjernlund wrote: > > > > Hi, > > > > > On Wed, 2022-02-09 at 10:45 +, Andre Przywara wrote: > > > > On Wed, 9 Feb

Re: [PATCH] cmd/mmc: fix output of mmc info for e-MMC

2022-02-10 Thread Jaehoon Chung
On 2/10/22 18:16, Markus Niebel wrote: > From: Max Merchel > > e-MMC and SD standards differ for some CID fields: > > - 6 Byte Name - assigned by Manufacturer (SD 5 Byte) > - 1 Byte OEM - assigned by Jedec (SD 2 Byte) > > See e-MMC standard (JEDEC Standard No. 84-B51), 7.2.3 (OID) and 7.2.4

Re: [PATCH v2 03/20] mmc: call device_probe() after scanning

2022-02-10 Thread Jaehoon Chung
On 2/10/22 17:11, AKASHI Takahiro wrote: > Every time a mmc bus/port is scanned and a new device is detected, > we want to call device_probe() as it will give us a chance to run > additional post-processings for some purposes. > > In particular, support for creating partitions on a device will be

Re: [PATCH v3] board: gateworks: venice: add imx8mn-gw7902 support

2022-02-10 Thread Tim Harvey
On Wed, Feb 2, 2022 at 2:00 PM Tim Harvey wrote: > > The GW7902 is based on the i.MX 8M Mini / Nano SoC featuring: > - LPDDR4 DRAM > - eMMC FLASH > - Gateworks System Controller > - LTE CAT M1 modem > - USB 2.0 HUB > - M.2 Socket with USB2.0, PCIe, and dual-SIM > - IMX8M FEC > - PCIe

Re: [PATCH] Replace echo -n's used in environment processing with touch

2022-02-10 Thread Tom Rini
On Wed, Feb 09, 2022 at 10:16:18AM -0700, Simon Glass wrote: > Hi Qthedev, > > On Wed, 9 Feb 2022 at 08:25, qthedev wrote: > > > > On Monday, February 7th, 2022 at 11:22 PM, Simon Glass > > wrote: > > > > > Hi, > > > > > > On Sat, 5 Feb 2022 at 06:49, qthedev qthe...@protonmail.com wrote: > >

[PATCH] configs: ti: use standard configuration nodes naming

2022-02-10 Thread Romain Naour
Currently, any u-boot bootloader for ti armv7 platforms using DEFAULT_FIT_TI_ARGS to boot with a fitimage (boot_fit = 1) doesn't boot when built with Yocto Poky (openembedded-core). ## Loading kernel from FIT Image at 9000 ... Could not find configuration node ERROR: can't get kernel

Re: [PATCH V4] usb: ehci-mx6: Enable OTG detection on imx8mm and imx8mn

2022-02-10 Thread Marek Vasut
On 2/10/22 15:49, Adam Ford wrote: On Mon, Feb 7, 2022 at 6:15 AM Adam Ford wrote: On Mon, Feb 7, 2022 at 5:50 AM Marek Vasut wrote: On 2/7/22 12:13, Adam Ford wrote: On Mon, Feb 7, 2022 at 2:47 AM Marek Vasut wrote: On 2/7/22 01:51, Adam Ford wrote: On Sun, Feb 6, 2022 at 3:59 PM

Re: [PATCH v3] console: usb: kbd: Limit poll frequency to improve performance

2022-02-10 Thread Marek Vasut
On 2/10/22 23:00, Thomas Watson wrote: On Feb 10, 2022, at 3:42 PM, Marek Vasut wrote: On 2/10/22 22:13, Thomas Watson wrote: Using the XHCI driver, the function `usb_kbd_poll_for_event` takes 30-40ms to run. The exact time is dependent on the polling interval the keyboard requests in its

Re: ARM A53 and initial MMU mapping for EL0/1/2/3 ?

2022-02-10 Thread Joakim Tjernlund
On Thu, 2022-02-10 at 10:22 +, Andre Przywara wrote: > On Wed, 9 Feb 2022 12:03:47 + > Joakim Tjernlund wrote: > > Hi, > > > On Wed, 2022-02-09 at 10:45 +, Andre Przywara wrote: > > > On Wed, 9 Feb 2022 08:35:04 + > > > Joakim Tjernlund wrote: > > > > > > Hi, > > > > > > >

Re: [PATCH v3] console: usb: kbd: Limit poll frequency to improve performance

2022-02-10 Thread Marek Vasut
On 2/10/22 22:13, Thomas Watson wrote: Using the XHCI driver, the function `usb_kbd_poll_for_event` takes 30-40ms to run. The exact time is dependent on the polling interval the keyboard requests in its descriptor, and likely cannot be significantly reduced without major rework to the XHCI

Re: [PATCH v1 1/3] mach-sunxi: Add boot device detection for SUNIV

2022-02-10 Thread Andre Przywara
On Thu, 10 Feb 2022 14:51:11 -0500 Jesse Taube wrote: > On 2/10/22 14:38, Siarhei Siamashka wrote: > > On Thu, Feb 10, 2022 at 6:35 AM Jesse Taube wrote: > > [...] > >> + case SUNIV_BOOTED_FROM_NAND: > >> + case SUNIV_BOOTED_FROM_SPI: > >> + return BOOT_DEVICE_SPI;

Re: Please pull u-boot-dm (take 3)

2022-02-10 Thread Tom Rini
On Thu, Feb 10, 2022 at 02:01:21PM -0700, Simon Glass wrote: > Hi Tom, > > On Thu, 10 Feb 2022 at 13:40, Tom Rini wrote: > > > > On Thu, Feb 10, 2022 at 01:23:36PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 10 Feb 2022 at 13:08, Tom Rini wrote: > > > > > > > > On Wed, Feb 09,

Re: [PATCH v1 1/3] mach-sunxi: Add boot device detection for SUNIV

2022-02-10 Thread Andre Przywara
On Thu, 10 Feb 2022 14:20:26 -0500 Jesse Taube wrote: Hi, > On 2/10/22 05:57, Andre Przywara wrote: > > On Wed, 9 Feb 2022 23:34:36 -0500 > > Jesse Taube wrote: > > > > Hi Jesse, > > > > many thanks for sending this, much appreciated! > > > >> Use Samuel's suggestion of looking at the

Re: Please pull u-boot-dm (take 3)

2022-02-10 Thread Simon Glass
Hi Tom, On Thu, 10 Feb 2022 at 13:40, Tom Rini wrote: > > On Thu, Feb 10, 2022 at 01:23:36PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 10 Feb 2022 at 13:08, Tom Rini wrote: > > > > > > On Wed, Feb 09, 2022 at 12:52:02PM -0700, Simon Glass wrote: > > > > > > > Hi Tom, > > > > > > > >

Re: Please pull u-boot-dm (take 3)

2022-02-10 Thread Tom Rini
On Thu, Feb 10, 2022 at 01:23:36PM -0700, Simon Glass wrote: > Hi Tom, > > On Thu, 10 Feb 2022 at 13:08, Tom Rini wrote: > > > > On Wed, Feb 09, 2022 at 12:52:02PM -0700, Simon Glass wrote: > > > > > Hi Tom, > > > > > > This just drops off the final patch of 'take 2' since that is being > > >

Re: Please pull u-boot-dm (take 3)

2022-02-10 Thread Simon Glass
Hi Tom, On Thu, 10 Feb 2022 at 13:08, Tom Rini wrote: > > On Wed, Feb 09, 2022 at 12:52:02PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > This just drops off the final patch of 'take 2' since that is being > > reworked. > > > > > > running here: > > > >

Re: Please pull u-boot-dm (take 3)

2022-02-10 Thread Tom Rini
On Wed, Feb 09, 2022 at 12:52:02PM -0700, Simon Glass wrote: > Hi Tom, > > This just drops off the final patch of 'take 2' since that is being reworked. > > > running here: > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/10936 > > > The following changes since commit

Re: [PATCH v1 1/3] mach-sunxi: Add boot device detection for SUNIV

2022-02-10 Thread Jesse Taube
On 2/10/22 14:38, Siarhei Siamashka wrote: On Thu, Feb 10, 2022 at 6:35 AM Jesse Taube wrote: [...] + case SUNIV_BOOTED_FROM_NAND: + case SUNIV_BOOTED_FROM_SPI: + return BOOT_DEVICE_SPI; Is it really okay to lump SPI and NAND together and return BOOT_DEVICE_SPI

Re: [PATCH 22/24] rockchip: Support building the all output files in binman

2022-02-10 Thread Peter Geis
On Thu, Feb 10, 2022 at 1:58 PM Simon Glass wrote: > > Hi Peter, > > On Thu, 10 Feb 2022 at 08:04, Peter Geis wrote: > > > > On Tue, Feb 8, 2022 at 1:54 PM Simon Glass wrote: > > > > > > > Good Morning, > > > > > Add the required binman images to replace the Makefile rules which are > > >

Re: [PATCH] stm32mp: psci: Implement PSCI system suspend and DRAM SSR

2022-02-10 Thread Patrick DELAUNAY
Hi, On 2/2/22 12:52, Marek Vasut wrote: Implement PSCI system suspend and placement of DRAM into SSR while the CPUs are in suspend. This saves non-trivial amount of power in suspend, on 2x W632GU6NB-15 ~710mW. Signed-off-by: Marek Vasut Cc: Patrick Delaunay Cc: Patrice Chotard ---

Re: [PATCH v1 1/3] mach-sunxi: Add boot device detection for SUNIV

2022-02-10 Thread Jesse Taube
On 2/10/22 05:57, Andre Przywara wrote: On Wed, 9 Feb 2022 23:34:36 -0500 Jesse Taube wrote: Hi Jesse, many thanks for sending this, much appreciated! Use Samuel's suggestion of looking at the BootRom's stack to determine the boot device. Can you please elaborate here what's going on,

Re: [PATCH v1 1/3] mach-sunxi: Add boot device detection for SUNIV

2022-02-10 Thread Jesse Taube
On 2/10/22 05:57, Andre Przywara wrote: On Wed, 9 Feb 2022 23:34:36 -0500 Jesse Taube wrote: Hi Jesse, many thanks for sending this, much appreciated! Use Samuel's suggestion of looking at the BootRom's stack to determine the boot device. Can you please elaborate here what's going on,

Re: [PATCH 22/24] rockchip: Support building the all output files in binman

2022-02-10 Thread Simon Glass
Hi Peter, On Thu, 10 Feb 2022 at 08:04, Peter Geis wrote: > > On Tue, Feb 8, 2022 at 1:54 PM Simon Glass wrote: > > > > Good Morning, > > > Add the required binman images to replace the Makefile rules which are > > currently used. This includes subsuming: > > > >-

[PATCH] drivers: watchdog: wdt-uclass.c: add a property u-boot, noautostart

2022-02-10 Thread Philippe Reynes
Since commit 492ee6b8d0e7 ("watchdog: wdt-uclass.c: handle all DM watchdogs in watchdog_reset()"), all the watchdog are started when the config WATCHDOG_AUTOSTART. To avoid a binary choice none/all, a property u-boot,noautostart may be added in the watchdog node of the u-boot device tree to not

bind/unbind command not working for usb_ether

2022-02-10 Thread Tim Harvey
Greetings, I'm trying to understand how to use the U-Boot bind command to bind the usb_ether driver to the usb class to register a USB ethernet gadget network device as referenced in: commit 02291d83fdaaf ("doc: add bind/unbind command documentation") commit 49c752c93a78 ("cmd: Add bind/unbind

Re: [PATCH] ARM: dts: stm32: Move vdd_io extras into Avenger96 extras

2022-02-10 Thread Patrick DELAUNAY
Hi, On 2/3/22 02:49, Marek Vasut wrote: The vdd_io regulator is present only on DHCOR SoM configured for 1V8 IO, as populated on Avenger96, but not present on 3V3 DHCOR SoM. Move these extras to Avenger96 u-boot DT extras. Fixes: 3919aa1722a ("ARM: dts: stm32: Add DFU support for DHCOR

[PATCH u-boot-marvell RFC] PLEASE TEST: ddr: marvell: a38x: fix BYTE_HOMOGENEOUS_SPLIT_OUT decision

2022-02-10 Thread Marek Behún
From: Marek Behún In commit 3fc92a215b69 ("ddr: marvell: a38x: fix SPLIT_OUT_MIX state decision") I ported a cleaned up and changed version of patch mv_ddr: a380: fix SPLIT_OUT_MIX state decision In the port we removed checking for BYTE_HOMOGENEOUS_SPLIT_OUT bit, because: - the fix seemed to

Re: [PATCH v2 00/20] efi_loader: more tightly integrate UEFI disks to driver model

2022-02-10 Thread Heinrich Schuchardt
On 2/10/22 09:11, AKASHI Takahiro wrote: Background: === The purpose of this patch is to reignite the discussion about how UEFI subystem would best be integrated into U-Boot driver model. In the past, I proposed a couple of patch series, the latest one[1], while Heinrich revealed his

[PULL] u-boot-riscv/master

2022-02-10 Thread Leo Liang
Hi Tom, The following changes since commit 531c00894577a0a852431adf61ade76925f8b162: Merge branch '2022-02-08-TI-platform-updates' (2022-02-08 12:28:04 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-riscv.git for you to fetch changes up to

Re: [PATCH 22/24] rockchip: Support building the all output files in binman

2022-02-10 Thread Peter Geis
On Tue, Feb 8, 2022 at 1:54 PM Simon Glass wrote: > Good Morning, > Add the required binman images to replace the Makefile rules which are > currently used. This includes subsuming: > >- tpl/u-boot-tpl-rockchip.bin if TPL is enabled >- idbloader.img if either or both of SPL and TPL are

Re: [PATCH v3 07/18] pxe: Move pxe_utils files

2022-02-10 Thread Tom Rini
On Thu, Feb 10, 2022 at 07:56:52AM -0600, Adam Ford wrote: > On Wed, Feb 9, 2022 at 11:16 AM Simon Glass wrote: > > > > Hi, > > > > On Wed, 9 Feb 2022 at 05:32, Tom Rini wrote: > > > > > > On Wed, Feb 09, 2022 at 05:40:03AM -0600, Adam Ford wrote: > > > > On Thu, Oct 14, 2021 at 1:50 PM Simon

Re: [PATCH V4] usb: ehci-mx6: Enable OTG detection on imx8mm and imx8mn

2022-02-10 Thread Adam Ford
On Mon, Feb 7, 2022 at 6:15 AM Adam Ford wrote: > > On Mon, Feb 7, 2022 at 5:50 AM Marek Vasut wrote: > > > > On 2/7/22 12:13, Adam Ford wrote: > > > On Mon, Feb 7, 2022 at 2:47 AM Marek Vasut wrote: > > >> > > >> On 2/7/22 01:51, Adam Ford wrote: > > >>> On Sun, Feb 6, 2022 at 3:59 PM Marek

Re: [PATCH v3 07/18] pxe: Move pxe_utils files

2022-02-10 Thread Adam Ford
On Thu, Feb 10, 2022 at 8:32 AM Simon Glass wrote: > > Hi Adam, > > On Thu, 10 Feb 2022 at 06:57, Adam Ford wrote: > > > > On Thu, Feb 10, 2022 at 7:56 AM Adam Ford wrote: > > > > > > On Wed, Feb 9, 2022 at 11:16 AM Simon Glass wrote: > > > > > > > > Hi, > > > > > > > > On Wed, 9 Feb 2022 at

Re: [PATCH v3 07/18] pxe: Move pxe_utils files

2022-02-10 Thread Simon Glass
Hi Adam, On Thu, 10 Feb 2022 at 06:57, Adam Ford wrote: > > On Thu, Feb 10, 2022 at 7:56 AM Adam Ford wrote: > > > > On Wed, Feb 9, 2022 at 11:16 AM Simon Glass wrote: > > > > > > Hi, > > > > > > On Wed, 9 Feb 2022 at 05:32, Tom Rini wrote: > > > > > > > > On Wed, Feb 09, 2022 at 05:40:03AM

Re: [PATCH v3 0/5] fs/erofs: new filesystem

2022-02-10 Thread Gao Xiang
On Thu, Feb 10, 2022 at 08:34:55AM -0500, Tom Rini wrote: > On Thu, Feb 10, 2022 at 08:43:20PM +0800, Gao Xiang wrote: > > > Hi Tom, > > > > Would you mind taking some time having a look at this version > > if it meets what's needed, so we could have a chance to be > > merged in the next u-boot

Re: Please pull u-boot-marvell/master

2022-02-10 Thread Tom Rini
On Thu, Feb 10, 2022 at 09:21:03AM +0100, Stefan Roese wrote: > Hi Tom, > > please pull the next batch of mostly Marvell MVEBU / Kirkwood related > patches: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v3 07/18] pxe: Move pxe_utils files

2022-02-10 Thread Adam Ford
On Thu, Feb 10, 2022 at 7:56 AM Adam Ford wrote: > > On Wed, Feb 9, 2022 at 11:16 AM Simon Glass wrote: > > > > Hi, > > > > On Wed, 9 Feb 2022 at 05:32, Tom Rini wrote: > > > > > > On Wed, Feb 09, 2022 at 05:40:03AM -0600, Adam Ford wrote: > > > > On Thu, Oct 14, 2021 at 1:50 PM Simon Glass

Re: [PATCH v3 07/18] pxe: Move pxe_utils files

2022-02-10 Thread Adam Ford
On Wed, Feb 9, 2022 at 11:16 AM Simon Glass wrote: > > Hi, > > On Wed, 9 Feb 2022 at 05:32, Tom Rini wrote: > > > > On Wed, Feb 09, 2022 at 05:40:03AM -0600, Adam Ford wrote: > > > On Thu, Oct 14, 2021 at 1:50 PM Simon Glass wrote: > > > > > > > > Move the header file into the main include/

[PATCH u-boot-marvell 4/4] arm: a37xx: pci: Ensure that root port is always on root zero bus

2022-02-10 Thread Pali Rohár
Writing to the PCI_PRIMARY_BUS register of the root port should not change bus number on which is root port present. This PCI_PRIMARY_BUS register is used only for correct configuration of legacy PCI stuff, like forwarding of PCI special cycles between buses. Aardvark HW does not support PCI

[PATCH u-boot-marvell 2/4] arm: a37xx: pci: Cleanup macro names

2022-02-10 Thread Pali Rohár
Remove "PCI_" prefix from all macros which are aardvark specific to not conflict with macros defined in global include file pci.h. Instead add "ADVK_" prefix for them so it is visible that they are aardvark specific. After "ADVK_" prefix append keyword which describes register group, so it would

[PATCH u-boot-marvell 3/4] arm: a37xx: pci: Use dev_read_addr()

2022-02-10 Thread Pali Rohár
There is only one base address, so use dev_read_addr() instead of dev_read_addr_index(). Signed-off-by: Pali Rohár --- drivers/pci/pci-aardvark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/pci-aardvark.c b/drivers/pci/pci-aardvark.c index

[PATCH u-boot-marvell 1/4] arm: a37xx: pci: Use standard register macros from pci.h

2022-02-10 Thread Pali Rohár
PCI config space of the aardvark PCIe Root Port is available only in internal aardvark memory space starting at offset 0x0. PCI Express registers (PCI_EXP_*) start at offset 0xc0. And Advanced Error Reporting registers (PCI_ERR_*) start at offset 0x100. Replace custom aardvark register macros by

[PATCH] build: allow a downstream suffix in the version shown during boot

2022-02-10 Thread Nicolas Boulenguez
Hello. The attached patch has been applied for a while by Debian, but would most probably be useful to other downstreams. It is trivial and does not change the default settings. Please consider merging it upstream. Thanks. >From 5a08cdc84ade21b947f1de8aa95e3bbd273c4bcd Mon Sep 17 00:00:00 2001

Re: [PATCH v3 0/5] fs/erofs: new filesystem

2022-02-10 Thread Tom Rini
On Thu, Feb 10, 2022 at 08:43:20PM +0800, Gao Xiang wrote: > Hi Tom, > > Would you mind taking some time having a look at this version > if it meets what's needed, so we could have a chance to be > merged in the next u-boot version? > > It's almost in sync with the latest erofs-utils soruce

Re: [PATCH v3 5/5] test/py: Add tests for the erofs

2022-02-10 Thread Tom Rini
On Tue, Feb 08, 2022 at 10:05:13PM +0800, Huang Jianan wrote: > Add Python scripts to test 'ls' and 'load' commands, as well as > test related filesystem functions. > > Signed-off-by: Huang Jianan > --- > MAINTAINERS | 1 + > configs/sandbox_defconfig | 1

Re: [PATCH v3 0/5] fs/erofs: new filesystem

2022-02-10 Thread Gao Xiang
Hi Tom, Would you mind taking some time having a look at this version if it meets what's needed, so we could have a chance to be merged in the next u-boot version? It's almost in sync with the latest erofs-utils soruce code, so it can be upgraded easily in the future together with the later

[PATCH] cmd/mmc: fix output of mmc info for e-MMC

2022-02-10 Thread Markus Niebel
From: Max Merchel e-MMC and SD standards differ for some CID fields: - 6 Byte Name - assigned by Manufacturer (SD 5 Byte) - 1 Byte OEM - assigned by Jedec (SD 2 Byte) See e-MMC standard (JEDEC Standard No. 84-B51), 7.2.3 (OID) and 7.2.4 (PNM) Signed-off-by: Max Merchel Signed-off-by: Markus

Re: [PATCH] spi: dw: Fix broken dw_spi_mem_ops()

2022-02-10 Thread Damien Le Moal
On 2/9/22 07:52, Niklas Cassel wrote: > From: Niklas Cassel > > The driver is currently using sizeof(op->cmd.opcode) in the op_len > calculation. Commit d15de623013c ("spi: spi-mem: allow specifying a > command's extension") changed op->cmd.opcode from one byte to two. > > Instead, a new struct

Re: [GIT PULL] Please pull u-boot-mmc master

2022-02-10 Thread Tom Rini
On Wed, Feb 09, 2022 at 10:04:35AM +0900, Jaehoon Chung wrote: > Dear Tom, > > Please pull u-boot-mmc master into u-boot master branch. > There is the fixing fsl_esdhc_imx issue. > If there is any problem, let me know, plz > > Best Regards, > Jaehoon Chung > > CI:

Re: [PATCH v4 02/11] FWU: Add FWU metadata access driver for GPT partitioned block devices

2022-02-10 Thread Sughosh Ganu
hi Masami, On Thu, 10 Feb 2022 at 08:45, Masami Hiramatsu wrote: > > 2022年2月10日(木) 10:43 Masami Hiramatsu : > > > > > > > > Of course as I said in the other thread, I would like to put the > > > > > > dfu_alt_info like information in the devicetree too. > > > > > > (But it maybe different from

Re: [PATCH v10 3/9] env: Allow U-Boot scripts to be placed in a .env file

2022-02-10 Thread Patrick DELAUNAY
Hi Simon, On 10/22/21 05:08, Simon Glass wrote: At present U-Boot environment variables, and thus scripts, are defined by CONFIG_EXTRA_ENV_SETTINGS. It is painful to add large amounts of text to this file and dealing with quoting and newlines is harder than it should be. It would be better if

Re: [PATCH v1 3/3] mach-sunxi: Enable spi boot for SUNIV

2022-02-10 Thread Andre Przywara
On Wed, 9 Feb 2022 23:34:38 -0500 Jesse Taube wrote: Hi, > Enable spi boot in spl on suniv architecture. Please mention the F1C100s for context, and also that you are enabling it for the LicheePi Nano board, which comes with SPI flash. Otherwise: > Signed-off-by: Jesse Taube Reviewed-by:

Re: [PATCH v1 1/3] mach-sunxi: Add boot device detection for SUNIV

2022-02-10 Thread Andre Przywara
On Wed, 9 Feb 2022 23:34:36 -0500 Jesse Taube wrote: Hi Jesse, many thanks for sending this, much appreciated! > Use Samuel's suggestion of looking at the BootRom's stack > to determine the boot device. Can you please elaborate here what's going on, for future reference? Like: =

Re: [PATCH v1 2/3] mach-sunxi: Add spi boot for SUNIV

2022-02-10 Thread Andre Przywara
On Wed, 9 Feb 2022 23:34:37 -0500 Jesse Taube wrote: Hi Jesse, many thanks for sending this, I guess this makes those little boards much more useful. > Add support for the spi boot in spl on suniv architecture. A more elaborate commit message would be welcomed. Please mention the F1C100s, to

Re: ARM A53 and initial MMU mapping for EL0/1/2/3 ?

2022-02-10 Thread Andre Przywara
On Wed, 9 Feb 2022 12:03:47 + Joakim Tjernlund wrote: Hi, > On Wed, 2022-02-09 at 10:45 +, Andre Przywara wrote: > > On Wed, 9 Feb 2022 08:35:04 + > > Joakim Tjernlund wrote: > > > > Hi, > > > > > On Wed, 2022-02-09 at 00:33 +, Andre Przywara wrote: > > > > On Tue, 8 Feb

Re: ARM A53 and initial MMU mapping for EL0/1/2/3 ?

2022-02-10 Thread Andre Przywara
On Wed, 9 Feb 2022 18:07:24 + Joakim Tjernlund wrote: Hi, > On Wed, 2022-02-09 at 13:13 +, Andre Przywara wrote: > > On Wed, 9 Feb 2022 14:05:57 +0100 > > Michael Walle wrote: > > > > Hi, > > > > > > > The problem I have is that I boot a custom SOC into u-boot and when > > > > >

Re: [PATCH v4 05/11] EFI: FMP: Add provision to update image's ImageTypeId in image descriptor

2022-02-10 Thread Sughosh Ganu
On Thu, 10 Feb 2022 at 13:28, AKASHI Takahiro wrote: > > On Thu, Feb 10, 2022 at 12:48:13PM +0530, Sughosh Ganu wrote: > > hi Takahiro, > > > > On Thu, 10 Feb 2022 at 08:18, AKASHI Takahiro > > wrote: > > > > > > Hi Sughosh, > > > > > > On Mon, Feb 07, 2022 at 11:49:55PM +0530, Sughosh Ganu

[PATCH v2 20/20] efi_driver: align with efi_disk-dm integration

2022-02-10 Thread AKASHI Takahiro
With DM-efi_disk integration, we don't need to explicitly call efi_disk_create_partitions(). The only thing to do is to associate an efi_disk object to the corresponding udevice as we skip most of processing in efi_disk_probe() by the previous commit ("efi_loader: disk: not create BLK device for

[PATCH v2 19/20] efi_loader: disk: not create BLK device for BLK(IF_TYPE_EFI_LOADER) devices

2022-02-10 Thread AKASHI Takahiro
When we create an efi_disk device with an UEFI application using driver binding protocol, the 'efi_driver' framework tries to create a corresponding block device(UCLASS_BLK/IF_TYPE_EFI). This will lead to calling a PROBE callback, efi_disk_probe(). In this case, however, we don't need to create

Please pull u-boot-marvell/master

2022-02-10 Thread Stefan Roese
Hi Tom, please pull the next batch of mostly Marvell MVEBU / Kirkwood related patches: - kwboot: Misc improvements and fixes (Pali) - Kirkwood: Move to DM ethernet support for some boards (Tony) - Minor misc stuff

Re: [PATCH] arm: kirkwood: Pogoplug E02 : Convert Ethernet to Driver Model

2022-02-10 Thread Stefan Roese
On 2/9/22 03:56, Tony Dinh wrote: The Pogoplug E02 board has the network chip Marvell 88E1116R. Convert to Driver Model and use uclass mvgbe and the compatible driver M88E1118R to bring up Ethernet. - Add board_eth_init(), CONFIG_DM_ETH, and CONFIG_PHY_MARVELL to bring up Ethernet. - Currently,

Re: [PATCH] tools: kwboot: Allow to use -b without image path as the last getopt() option

2022-02-10 Thread Stefan Roese
On 2/7/22 10:12, Pali Rohár wrote: Currently it is possible to call "kwboot -b -t /dev/ttyUSB0" but not to call "kwboot -b /dev/ttyUSB0". Fix it by not trying to process the last argv[], which is non-getopt() option (tty path) as the image path for -b. Fixes: c513fe47dca2 ("tools: kwboot:

Re: [RESEND PATCH] arm: kirkwood: Dockstar : Add DM Ethernet

2022-02-10 Thread Stefan Roese
On 2/3/22 23:32, Tony Dinh wrote: The Dockstar board has the network chip Marvell 88E1116R. Convert to Ethernet driver model, and use uclass mvgbe and the compatible driver M88E1118R to bring up Ethernet. - Add CONFIG_DM_ETH and associated configs. - Add board_eth_init() to use uclass mvgbe to

Re: [PATCH] MAINTAINERS: Update list of Armada 385 and Armada 3720 drivers

2022-02-10 Thread Stefan Roese
On 2/3/22 17:57, Pali Rohár wrote: Signed-off-by: Pali Rohár Applied to u-boot-marvell/master Thanks, Stefan --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index dcdd99e368d1..7b05f8866edc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

Re: [PATCH] tools: kwboot: Fix detection of quit esc sequence

2022-02-10 Thread Stefan Roese
On 2/3/22 17:45, Pali Rohár wrote: Quit esc sequence may be also in the middle of the read buffer. Fix the detection for that case. Signed-off-by: Pali Rohár Applied to u-boot-marvell/master Thanks, Stefan --- tools/kwboot.c | 19 +++ 1 file changed, 11 insertions(+), 8

Re: [PATCH] arm: kirkwood: iConnect : Add Ethernet support

2022-02-10 Thread Stefan Roese
On 2/2/22 06:59, Tony Dinh wrote: - Currently, CONFIG_RESET_PHY_R symbol is used in arch/arm/mach-kirkwood/include/mach/config.h for all Kirkwood boards with mv8831116 PHY, with each board defines the function reset_phy(). Undefine it for this board. - Add board_eth_init(), CONFIG_DM_ETH, and

Re: [PATCH] arm: kirkwood: Dreamplug : Use Marvell uclass mvgbe and PHY driver for Ethernet

2022-02-10 Thread Stefan Roese
On 1/31/22 00:02, Tony Dinh wrote: The Globalscale Technologies Dreamplug board has the network chip Marvell 88E1116R. Use uclass mvgbe and the compatible driver M88E1310 driver to bring up Ethernet. - Currently, CONFIG_RESET_PHY_R symbol is used in arch/arm/mach-kirkwood/include/mach/config.h

[PATCH v2 17/20] dm: disk: add read/write interfaces with udevice

2022-02-10 Thread AKASHI Takahiro
In include/blk.h, Simon suggested: ===> /* * These functions should take struct udevice instead of struct blk_desc, * but this is convenient for migration to driver model. Add a 'd' prefix * to the function operations, so that blk_read(), etc. can be reserved for * functions with the correct

[PATCH v2 18/20] efi_loader: disk: use udevice instead of blk_desc

2022-02-10 Thread AKASHI Takahiro
In most of all cases, we can avoid using blk_desc which is expected to be private to udevice(UCLASS_BLK), that is, the data should not be manipulated outside the device driver unless really needed. Now efi_disk's internally use dev_read/write() interfaces. Signed-off-by: AKASHI Takahiro

  1   2   >