Re: [PATCH v8 03/12] tools: mkeficapsule: add firmwware image signing

2022-01-17 Thread AKASHI Takahiro
Heinrich, On Sat, Jan 01, 2022 at 10:50:40PM +0100, Heinrich Schuchardt wrote: > On 12/20/21 06:02, AKASHI Takahiro wrote: > > nits: > There is a typo in the patch subject. > > > With this enhancement, mkeficapsule will be able to sign a capsule > > file when it is created. A signature added wil

Re: [PATCH] Revert "net: gem: Disable broadcast setting"

2022-01-17 Thread Michal Simek
pá 14. 1. 2022 v 13:15 odesílatel Michal Simek napsal: > > This reverts commit eafdcda4a854932c0319656de7bf3f017f17ae67. > > The main reason is that QEMU is using BOOTP protocol which is sending DHCP > Offer to a broadcast address that's why it can't be disabled. > DHCP protocol has no issue becau

Re: [PATCH] net: gem: Workaround gmii2rgmii bridge DT node issue

2022-01-17 Thread Michal Simek
pá 14. 1. 2022 v 13:08 odesílatel Michal Simek napsal: > > From: Ashok Reddy Soma > > For configurations with gmii2rgmii and external phy the DT nodes link > should be gem->gmii2rgmii->phy. But due to limitation in Linux driver > the DT is mentioned as gem->phy and gmii2rgmii->phy as shown in bel

Re: [PATCH] MAINTAINERS: Add watchdog maintainers entry

2022-01-17 Thread Harald Seiler
Hi Stefan, On Thu, 2022-01-13 at 16:57 +0100, Stefan Roese wrote: > I've been handling "inofficially" the watchdog related patches for a few > years now. Let's make this official and add a tree for it and also add > myself here in the MAINTAINERS file. Your tree is online and you should have main

[PATCH v2] cmd: Add Kconfig option for multiprocessor cmds

2022-01-17 Thread Michal Simek
From: Ashok Reddy Soma Add Kconfig option(CONFIG_CMD_MP) to enable or disable multiprocessor commands. Compile cmd/mp.c based on CONFIG_CMD_MP. Signed-off-by: Ashok Reddy Soma Signed-off-by: Michal Simek --- Changes in v2: - Move config MP to Kconfig (General setup menu) - Fix description and

Re: [PATCH] cmd: Add Kconfig option for multiprocessor cmds

2022-01-17 Thread Michal Simek
On 1/14/22 21:00, Tom Rini wrote: On Fri, Jan 14, 2022 at 01:07:34PM +0100, Michal Simek wrote: From: Ashok Reddy Soma Add Kconfig option(CONFIG_CMD_MP) to enable or disable multiprocessor commands. Compile cmd/mp.c based on CONFIG_CMD_MP. Signed-off-by: Ashok Reddy Soma Signed-off-by: M

Re: [RFC 1/1] efi_loader: rename 'efidebug boot' 'bootefi'

2022-01-17 Thread Heinrich Schuchardt
On 1/17/22 08:58, Ilias Apalodimas wrote: On Mon, Jan 17, 2022 at 10:16:51AM +0900, AKASHI Takahiro wrote: On Sat, Jan 15, 2022 at 01:49:07AM +0100, Heinrich Schuchardt wrote: The efidebug command was conceived for testing purposes. Well, I initially implemented the command as an alternative

Re: [RFC 1/1] efi_loader: rename 'efidebug boot' 'bootefi'

2022-01-17 Thread Ilias Apalodimas
Hi Heinrich On Mon, Jan 17, 2022 at 10:25:01AM +0100, Heinrich Schuchardt wrote: > On 1/17/22 08:58, Ilias Apalodimas wrote: > > On Mon, Jan 17, 2022 at 10:16:51AM +0900, AKASHI Takahiro wrote: > > > On Sat, Jan 15, 2022 at 01:49:07AM +0100, Heinrich Schuchardt wrote: > > > > The efidebug command

Re: [PATCH] env: fat: Add new lines at the end of print statements

2022-01-17 Thread AKASHI Takahiro
On Sun, Jan 02, 2022 at 11:38:35AM +, Peter Robinson wrote: > Add some new line feeds at the end of print messages to make things > easier to read on the console. The other env options do this so > this is just an omission for FAT env. > > Signed-off-by: Peter Robinson > --- > env/fat.c | 8

Re: imx8mm-evk does not boot kernel 5.16

2022-01-17 Thread Frieder Schrempf
On 14.01.22 20:44, Fabio Estevam wrote: > Hi Marcel, > > On Fri, Jan 14, 2022 at 3:10 PM Marcel Ziswiler > wrote: > >> Strange, remember, I am working on Verdin iMX8M Mini support [1] and run >> that stuff more or less daily. >> However, as you can see in that patch series, I build the imx-sdma

Re: [PATCH v3] pci: Work around PCIe link training failures

2022-01-17 Thread Maciej W. Rozycki
On Sat, 15 Jan 2022, Tom Rini wrote: > > Keep the 2.5GT/s speed restriction then, conservatively, if functional > > once applied. > > > > Signed-off-by: Maciej W. Rozycki > > Reviewed-by: Stefan Roese > > Applied to u-boot/master, thanks! Great, thank you all for input and reviews! Macie

[PATCH] imx: ventana: correct splashimage load address

2022-01-17 Thread Andrey Zhizhikin
Commit 72d81360aabd ("global: Convert CONFIG_LOADADDR to CONFIG_SYS_LOADADDR") dropped the usage of LOADADDR and replaced it with SYS_LOADADDR. Use the correct macro in environment by replacing CONFIG_LOADADDR with CONFIG_SYS_LOADADDR. Fixes: d75ebf3482c3 ("imx: ventana: fix splash logo drawing")

Re: [PATCH] efidebug: avoid 'dfu_alt_info not defined' message

2022-01-17 Thread Heinrich Schuchardt
On 1/17/22 01:45, AKASHI Takahiro wrote: On Sat, Jan 15, 2022 at 02:18:21AM +0100, Heinrich Schuchardt wrote: If variable dfu_alt_info is not defined duplicate messages are displayed. => efidebug boot dump Scanning disk mmc2.blk... Scanning disk mmc1.blk... Scanning disk mmc

RE: [EXT] [PATCH u-boot-marvell] ddr: marvell: a38x: fix SPLIT_OUT_MIX state decision

2022-01-17 Thread Moti Buskila
Hi Assaf, I've got this email a few days ago. Is it related to what you’ve send me? Thanks -Original Message- From: Marek Behún Sent: Wednesday, January 12, 2022 6:07 PM To: Stefan Roese ; Mario Six ; Dennis Gilmore ; Kostya Porotchkin Cc: Pali Rohár ; u-boot@lists.denx.de; Moti Busk

Re: [PATCH] pinctrl: single: add support for pinctrl-single, pins when #pinctrl-cells = 2

2022-01-17 Thread Anthony Bagwell
Thank you for the review. Sorry I forgot to add the sign off. Here is my signoff line. Signed-off-by: Anthony Bagwell On 14/01/2022, 18:17, "Tom Rini" wrote: On Fri, Dec 03, 2021 at 03:18:53PM +, AJ Bagwell wrote: > Changes to the am33xx device (33e9021a) trees have been merged

Re: [PATCH v2 11/20] board: ti: j721s2: Add board support for J721S2

2022-01-17 Thread Tom Rini
On Mon, Jan 17, 2022 at 12:12:38PM +0530, Aswath Govindraju wrote: > Hi Tom, > > On 13/01/22 7:46 pm, Tom Rini wrote: > > On Tue, Jan 11, 2022 at 01:25:36PM +0530, Aswath Govindraju wrote: > > > >> From: David Huang > >> > >> Add board support for J721S2 SoC. > >> > >> Signed-off-by: David Huang

Re: [PATCH v2 01/20] remoteproc: k3_system_controller: Support optional boot_notification channel

2022-01-17 Thread Tom Rini
On Mon, Jan 17, 2022 at 12:22:52PM +0530, Aswath Govindraju wrote: > Hi Tom, > > On 17/01/22 11:01 am, Aswath Govindraju wrote: > > Hi Tom, > > > > On 13/01/22 7:42 pm, Tom Rini wrote: > >> On Tue, Jan 11, 2022 at 01:25:26PM +0530, Aswath Govindraju wrote: > >> > >>> From: Nishanth Menon > >>> >

Re: [PATCH v4 01/13] imx: Don't define __ASSEMBLY__ in C files

2022-01-17 Thread Tom Rini
On Sun, Jan 16, 2022 at 01:19:25PM -0700, Simon Glass wrote: > This is supposed to be a build-system flag. Move it there so we can > define it before linux/kconfig.h is included. > > Signed-off-by: Simon Glass These aren't "C" files, they're DCD files. I think we can move the define as you're

[PATCH v3] drivers: spi-nor: Add JEDEC id for W25Q16JV

2022-01-17 Thread Angus Ainslie
Add a JEDEC id for the Winbond W25Q16JV 16M-BIT serial flash memory with DUAL/QUAD SPI Changes since v2: Chagned the name to follow "DTR" parts Changes since v1: Updated the name for more suffixes Signed-off-by: Angus Ainslie --- drivers/mtd/spi/spi-nor-ids.c | 5 + 1 file changed, 5 in

[PATCH v2] spl: add support for custom boot method names

2022-01-17 Thread Heiko Thiery
Currently the names MMC1, MMC2 and MMC2_2 are output in the SPL. To achieve more userbility here the name of the boot source can be returned. E.g. for "MMC1" -> "eMMC" or "MMC2" -> "SD card". Signed-off-by: Heiko Thiery Reviewed-by: Michael Walle Tested-by: Michael Walle --- v2: - add function

[PATCH] spl: spl_sdp: don't call board_usb_init twice

2022-01-17 Thread Angus Ainslie
When CONFIG_DM_USB is not defined then usb_gadget_initialize is just a call to board_usb_init. Calling board_usb_init twice causes the USB to fail so make sure the second invocation is not compiled in when CONFIG_DM_USB is not defined. Signed-off-by: Angus Ainslie --- common/spl/spl_sdp.c | 3 ++

[PATCH] pinctrl: nxp: don't automatically select DEVRES

2022-01-17 Thread Angus Ainslie
If we select DEVRES here then it breaks building an imx8m SPL without DEVRES support. Signed-off-by: Angus Ainslie --- drivers/pinctrl/nxp/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pinctrl/nxp/Kconfig b/drivers/pinctrl/nxp/Kconfig index 4fb0916a37..3657e9deb9 100644 ---

Re: [EXT] [PATCH u-boot-marvell] ddr: marvell: a38x: fix SPLIT_OUT_MIX state decision

2022-01-17 Thread Marek Behún
Hello Moti, since you're the author of the original version of this patch, could you please review it and if it is okay, put it into mv-ddr-marvell? Thanks. Marek On Mon, 17 Jan 2022 06:52:08 + Moti Buskila wrote: > Hi Assaf, > I've got this email a few days ago. > Is it related to what y

Re: [PATCH v4 03/13] mmc: fsl: Use brackets around if()

2022-01-17 Thread Minkyu Kang
Hi! 2022년 1월 17일 (월) 08:50, Jaehoon Chung 님이 작성: > On 1/17/22 5:19 AM, Simon Glass wrote: > > At present the IS_ENABLED() macro has extra brackets, making it possible > > to write: > > > >if IS_ENABLED(CONFIG_XXX) > > > > but it is a bit confusing. Add the missing brackets. > > > > Signed-off

Re: [RFC 0/6] Exynos5: Update devicetree files from linux kernel

2022-01-17 Thread Minkyu Kang
Hi, On Thu, 13 Jan 2022 at 17:39, Jaehoon Chung wrote: > Exynos5 is using old devicetree file for only U-boot. > It's difficult to adjust the driver-model and sync codes with linux. > This patchset is to copy exynos5 devicetree files from linux v5.16. > > I don't have all exynos5 boards, so it's

Re: [PATCH 6/8] configs: am64x_evm: set eth1 as boot interface

2022-01-17 Thread Tom Rini
On Fri, Dec 24, 2021 at 12:55:34PM +0530, Vignesh Raghavendra wrote: > ROM supports boot from CPSW second port, therefore set eth1 boot > interface > > Signed-off-by: Vignesh Raghavendra > --- > include/configs/am64x_evm.h | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --

Re: [PATCH 8/8] configs: am64x_evm_r5/a53_defconfig: Enable configs required for Ethboot

2022-01-17 Thread Tom Rini
On Fri, Dec 24, 2021 at 12:55:36PM +0530, Vignesh Raghavendra wrote: > Enable config options needed to support Ethernet boot on AM64x SK. > > Signed-off-by: Vignesh Raghavendra This leads to size overflow on r5. -- Tom signature.asc Description: PGP signature

[PATCH v2 1/1] env: fat: Allow overriding interface, device and partition

2022-01-17 Thread hyyxohk
For platform which can boot on different device, this allows to override interface, device and partition from board code. Signed-off-by: hyyxohk --- env/fat.c | 34 +++--- include/env_internal.h | 20 2 files changed, 39 insertions(+)

[PATCH v2 01/16] spl: Tidy up the header includes

2022-01-17 Thread Simon Glass
These are out of order. Fix them. Signed-off-by: Simon Glass --- (no changes since v1) common/spl/spl.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/common/spl/spl.c b/common/spl/spl.c index f51d1f32052..932ad53614d 100644 --- a/common/spl/spl.c +++

[PATCH v2 02/16] arm: qemu: Add an SPL build

2022-01-17 Thread Simon Glass
Add an SPL build for qemu so we can test the standard passage feature. Include a binman definition so that SPL and U-Boot are in the same image. This requires adding a proper devicetree file for qemu_arm. It is only used for the SPL build. For now this just boots to a prompt. Signed-off-by: Simo

[PATCH v2 06/16] passage: arm: Accept a passage from the previous phase

2022-01-17 Thread Simon Glass
Accept a bloblist and control devicetree from a previous phase in registers r0 and r1 Signed-off-by: Simon Glass --- Changes in v2: - Use three registers instead of two for the entry arch/arm/cpu/armv7/start.S | 7 ++- arch/arm/lib/crt0.S| 5 + 2 files changed, 11 insertions(+)

[PATCH v2 03/16] spl: Rename jump_to_image_no_args()

2022-01-17 Thread Simon Glass
This is about to become a misnomer since with standard passage we need to pass arguments to U-Boot. Rename the function. Signed-off-by: Simon Glass --- Changes in v2: - Split the jump_to_image_no_args() change into its own patch arch/arm/mach-imx/imx8ulp/soc.c | 2 +- arch/arm/mach

[PATCH v2 05/16] passage: Support a control devicetree

2022-01-17 Thread Simon Glass
Add support for accepting a control devicetree from the incoming passage. This allows SPL (or some other program) to pass a devicetree to U-Boot proper in a standard way. Pass the devicetree through the early parts of U-Boot needs a list care. If it is in the bloblist, there is no need to reserve

[PATCH v2 09/16] passage: arm: Add the arch-specific standard passage impl

2022-01-17 Thread Simon Glass
Add implementations for 32- and 64-bit ARM. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch with the arm-specific standard passage implementation arch/arm/cpu/armv7/cpu.c | 28 arch/arm/cpu/armv8/cpu.c | 20 2 files changed, 48 in

[PATCH v2 08/16] passage: spl: Support passing the passage to U-Boot

2022-01-17 Thread Simon Glass
Create a new arch-specific way of creating a standard passage to the next phase. Signed-off-by: Simon Glass --- Changes in v2: - Make the stdpass calling standard arch-specific common/spl/spl.c | 27 ++- include/asm-generic/global_data.h | 6 ++ in

[PATCH v2 10/16] passage: Add a qemu test for ARM

2022-01-17 Thread Simon Glass
Check that the standard passage works on ARM, by setting it up in SPL and making sure that it comes through correctly in U-Boot proper. Signed-off-by: Simon Glass --- Changes in v2: - Add a devicetree for qemu-arm so that qemu_arm_spl can work arch/arm/Kconfig | 2 +- configs/qe

[PATCH v2 13/16] passage: Add docs for spl_handoff

2022-01-17 Thread Simon Glass
This tag already exists in U-Boot. Add documentation, following the format set out. Signed-off-by: Simon Glass --- (no changes since v1) board/sandbox/stdpass_check.c | 8 include/handoff.h | 8 +--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/board

[PATCH v2 11/16] sandbox: Add a way of checking structs for standard passage

2022-01-17 Thread Simon Glass
Add a file which can be used to check that structs used in standard passage do compile. No other validation is done at present, but could be considered later. Signed-off-by: Simon Glass --- (no changes since v1) board/sandbox/Makefile| 3 ++- board/sandbox/stdpass_check.c | 36 +++

[PATCH v2 14/16] x86: Move Intel GNVS file into the common include directory

2022-01-17 Thread Simon Glass
Move this so we can include it from sandbox, needed since it is in a bloblist and must have a check. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/cpu/apollolake/acpi.c| 2 +- arch/x86/cpu/intel_common/acpi.c | 2 +- arch/x86/include/asm/arc

[PATCH v2 12/16] passage: Add documentation

2022-01-17 Thread Simon Glass
Add documentation about standard passage and update the maintainers. Signed-off-by: Simon Glass --- Changes in v2: - Add comments about how to pass standard passage to EFI - Add comments about passing a bloblist to Linux - Add detailed arch-specific information MAINTAINERS |

[PATCH v2 16/16] WIP: RFC: Add a gitlab test

2022-01-17 Thread Simon Glass
This needs fixing up once the new hooks land as well as adding an azure rule. Signed-off-by: Simon Glass --- Changes in v2: - Rebase to master (dropping bloblist patches already applied) .gitlab-ci.yml | 6 ++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml in

[PATCH v2 15/16] passage: Add checks for pre-existing blobs

2022-01-17 Thread Simon Glass
Add checks / documentation for blobs which are already in the list. This brings U-Boot up to the standard required by the standard-passage documentation. Signed-off-by: Simon Glass --- (no changes since v1) board/sandbox/stdpass_check.c | 71 - include/stdpass/tpm2_eventlog.h | 42

[PATCH 03/13] arm: imx8m: add Purism Librem5 Kconfig

2022-01-17 Thread Angus Ainslie
Add the Librem5 target Signed-off-by: Angus Ainslie --- arch/arm/mach-imx/imx8m/Kconfig | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig index d6a869068a..ba50931cd7 100644 --- a/arch/arm/mach-imx/imx8m/Kconfig +++ b/a

[PATCH 04/13] configs: add the Librem5 defconfig

2022-01-17 Thread Angus Ainslie
Initial commit of the Librem5 defconfig Signed-off-by: Angus Ainslie --- configs/librem5_defconfig | 120 ++ 1 file changed, 120 insertions(+) create mode 100644 configs/librem5_defconfig diff --git a/configs/librem5_defconfig b/configs/librem5_defconfig new

[PATCH 05/13] include: configs: add the librem5.h include file

2022-01-17 Thread Angus Ainslie
Initial commit of the librem5.h configuration Signed-off-by: Angus Ainslie --- include/configs/librem5.h | 171 ++ 1 file changed, 171 insertions(+) create mode 100644 include/configs/librem5.h diff --git a/include/configs/librem5.h b/include/configs/librem5

[PATCH 07/13] board: librem5: add the u-boot header for the Librem5

2022-01-17 Thread Angus Ainslie
Initial commit of the Librem5 u-boot header file Signed-off-by: Angus Ainslie --- board/purism/librem5/librem5.h | 176 + 1 file changed, 176 insertions(+) create mode 100644 board/purism/librem5/librem5.h diff --git a/board/purism/librem5/librem5.h b/board/puri

[PATCH 08/13] board: librem5: add the SPL source for the Librem5

2022-01-17 Thread Angus Ainslie
Initial commit of the Librem5 SPL source Signed-off-by: Angus Ainslie Co-developed-by: Sebastian Krzyszkowiak Signed-off-by: Sebastian Krzyszkowiak --- board/purism/librem5/spl.c | 481 + 1 file changed, 481 insertions(+) create mode 100644 board/purism/lib

[PATCH 11/13] board: librem5: add Librem5 MAINTAINERS file

2022-01-17 Thread Angus Ainslie
Initial commit of the Librem5 MAINTAINERS file Signed-off-by: Angus Ainslie --- board/purism/librem5/MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 board/purism/librem5/MAINTAINERS diff --git a/board/purism/librem5/MAINTAINERS b/board/purism/librem5/MAINTAINERS new

[PATCH 06/13] board: librem5: add the u-boot source for the Librem5

2022-01-17 Thread Angus Ainslie
Initial commit of the Librem5 u-boot source Signed-off-by: Angus Ainslie Co-developed-by: Sebastian Krzyszkowiak Signed-off-by: Sebastian Krzyszkowiak --- board/purism/librem5/librem5.c | 708 + 1 file changed, 708 insertions(+) create mode 100644 board/purism/

[PATCH 01/13] MAINTAINERS: add Purism to the maintainers file

2022-01-17 Thread Angus Ainslie
The Purism kernel team is in charge of maintianing the Librem5 u-boot Signed-off-by: Angus Ainslie --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 38c68ee87d..45754b16d2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1079,6 +1079,15 @@

[PATCH 12/13] board: librem5: add Librem5 build files

2022-01-17 Thread Angus Ainslie
Initial commit of the Librem5 Makefile and Kconfig Signed-off-by: Angus Ainslie --- board/purism/librem5/Kconfig | 15 +++ board/purism/librem5/Makefile | 13 + 2 files changed, 28 insertions(+) create mode 100644 board/purism/librem5/Kconfig create mode 100644 board/p

[PATCH 02/13] arm: dts: add the Purism devicetree files

2022-01-17 Thread Angus Ainslie
Initial commit of Librem5 devicetree files Signed-off-by: Angus Ainslie --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/imx8mq-librem5-u-boot.dtsi | 134 ++ arch/arm/dts/imx8mq-librem5.dts | 593 3 files changed, 729 insertions(+), 1 deleti

[PATCH 13/13] doc: librem5: add Librem5 documentation

2022-01-17 Thread Angus Ainslie
Initial commit of the Librem5 documentation Signed-off-by: Angus Ainslie --- doc/board/purism/librem5/librem5.rst | 60 1 file changed, 60 insertions(+) create mode 100644 doc/board/purism/librem5/librem5.rst diff --git a/doc/board/purism/librem5/librem5.rst b/doc

[PATCH 09/13] board: librem5: add the LPDDR4 source for the Librem5

2022-01-17 Thread Angus Ainslie
This is a copy of imx8mq LPDDR4 source files Signed-off-by: Angus Ainslie --- board/purism/librem5/lpddr4_timing.c| 1324 +++ board/purism/librem5/lpddr4_timing_b0.c | 1191 2 files changed, 2515 insertions(+) create mode 100644 board/purism/librem5/

[PATCH 00/13] Add support for the Purism Librem5 Phone

2022-01-17 Thread Angus Ainslie
I sent this patchset as a single monolithic patch and did not see any comment on it. https://lists.denx.de/pipermail/u-boot/2022-January/471087.html Here it is as a set of patches instead. This is all of the code required to boot the Librem5 Phone. It can boot the phone in uuu mode or directl

[PATCH v2 04/16] passage: Support an incoming passage

2022-01-17 Thread Simon Glass
Plumb in the ability for U-Boot proper to accept an incoming standard passage from a previous phase, such as SPL or TF-A. This allows data to be passed from binary to binary when firmware is booting. Signed-off-by: Simon Glass --- Changes in v2: - Rebase to master - Rework global_data for new st

[PATCH v2 07/16] passage: spl: Support adding the dtb to the passage bloblist

2022-01-17 Thread Simon Glass
Add an option for SPL to add a devicetree to the passage bloblist, so SPL can provide the devicetree to U-Boot. Signed-off-by: Simon Glass --- (no changes since v1) common/Kconfig | 20 common/spl/spl.c | 44 ++-- include/spl.h

[PATCH 10/13] board: librem5: add SPL loader configuration

2022-01-17 Thread Angus Ainslie
Initial commit of the Librem5 SPL loader configuration Signed-off-by: Angus Ainslie --- board/purism/librem5/imximage-8mq-lpddr4.cfg | 9 + 1 file changed, 9 insertions(+) create mode 100644 board/purism/librem5/imximage-8mq-lpddr4.cfg diff --git a/board/purism/librem5/imximage-8mq-lpd

[PATCH v3] spl: add support for custom boot method names

2022-01-17 Thread Heiko Thiery
Currently the names MMC1, MMC2 and MMC2_2 are output in the SPL. To achieve more userbility here the name of the boot source can be returned. E.g. for "MMC1" -> "eMMC" or "MMC2" -> "SD card". Signed-off-by: Heiko Thiery Reviewed-by: Michael Walle Tested-by: Michael Walle --- v2: - add function

Re: [PATCH 0/3] sandox: test: activate tests for the command LOG

2022-01-17 Thread Patrick DELAUNAY
On 1/12/22 10:29 AM, Marcel Ziswiler wrote: On Tue, 2022-01-11 at 17:27 +0100, Patrick Delaunay wrote: This patches activate the command LOG and the associated tests in sandbox with CONFIG_CMD_LOG=y and solve the associated issues when these tests are executed. Patrick Patrick Delaunay (3):

[PATCH 0/4] pci: Extend 'pci' and 'pci regions' commands

2022-01-17 Thread Pali Rohár
Allow to call 'pci regions' with non-zero bus number and allow to call 'pci' and 'pci regions' commands with bus number '*' which process all buses. This would be also new default action if no bus is specified. Pali Rohár (4): pci: Fix setting controller's last_busno pci: Extend 'pci regions'

[PATCH 1/4] pci: Fix setting controller's last_busno

2022-01-17 Thread Pali Rohár
Initially it is set to dev_seq but update to the last bus number is missing. Fix it. Signed-off-by: Pali Rohár --- drivers/pci/pci-uclass.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c index 8c4d75bdb685..374b22601818 100644 --- a/driv

[PATCH 3/4] pci: Add checks for valid cmdline arguments

2022-01-17 Thread Pali Rohár
Currently pci command ignores invalid cmdline arguments and do something. Add checks that all passed arguments were processed. Signed-off-by: Pali Rohár --- cmd/pci.c | 5 + 1 file changed, 5 insertions(+) diff --git a/cmd/pci.c b/cmd/pci.c index 53edf0d90010..8d2c0c4b43dd 100644 --- a/cmd/

[PATCH 2/4] pci: Extend 'pci regions' command with bus number

2022-01-17 Thread Pali Rohár
'pci regions' currently prints only region information from bus 0 which belongs to controller 0. Parser for 'pci regions' cmdline currently ignores any additional arguments and so U-Boot always uses bus 0. Regions are stored in controller (not on the bus) and therefore to retrieve controller from

[PATCH 4/4] pci: Extend 'pci' command with bus option '*'

2022-01-17 Thread Pali Rohár
Allow to call 'pci' and 'pci regions' commands with bus option '*' which cause pci to process all buses. PCIe is point-to-point HW and so on each bus is maximally one physical device. Therefore for PCIe it is common to have multiple buses. This change allows to easily print all available PCIe dev

[PATCH v2 0/3] sandbox: test: activate tests for the command LOG

2022-01-17 Thread Patrick Delaunay
This patches activate the command LOG and the associated tests in sandbox with CONFIG_CMD_LOG=y and solve the associated issues when these tests are executed. Patrick Changes in v2: - update commit message "sandox" => "sandbox" Patrick Delaunay (3): dm: fix up documentation for uclass_get_by

[PATCH v2 1/3] dm: fix up documentation for uclass_get_by_name_len

2022-01-17 Thread Patrick Delaunay
Fix up the comment for uclass_get_by_name_len() to avoid confusion. Fixes: 4b030177b660 ("dm: core: Allow finding children / uclasses by partial name") Signed-off-by: Patrick Delaunay --- (no changes since v1) include/dm/uclass.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH v2 2/3] dm: compare full name in uclass_get_by_name

2022-01-17 Thread Patrick Delaunay
Change uclass_get_by_name to use a strict string compare function "strcmp" with the parameter 'name'. This patch avoids issues when strlen(name)name) as the function uclass_get_by_name() no more use uclass_get_by_name_len(), which limit the check with "strncmp" and length of name. This problem is

[PATCH v2 3/3] sandbox: test: activate tests for the command LOG

2022-01-17 Thread Patrick Delaunay
Activate the CONFIG_CMD_LOG in sandbox to execute the LOG tests by default and correct the test log format after 72fa1ad8d9 ("log: Allow padding of the function name"). Signed-off-by: Patrick Delaunay --- Changes in v2: - update commit message "sandox" => "sandbox" configs/sandbox_defconfig |

Re: [PATCH] gpio: mxc_gpio: Fix i.MX8M GPIO output status read

2022-01-17 Thread Harm Berntsen
Hi Fabio Estevam and Ye Li, On Sat, 2022-01-15 at 10:43 -0300, Fabio Estevam wrote: > Hi Harm and Ye Li, > > On Fri, Aug 13, 2021 at 11:35 AM Harm Berntsen > wrote: > > > > Currently the driver gets value from PSR register, but this > > register is > > only for input mode. For output mode, it a

[PATCH v2 00/16] passage: Define a standard for firmware data flow

2022-01-17 Thread Simon Glass
This series adds a standard way of passing information between different firmware phases. This already exists in U-Boot at a very basic level, in the form of a bloblist containing an spl_handoff structure, but the intent here is to define something useful across projects. The need for this is gr

RE: [EXT] [PATCH u-boot-marvell] ddr: marvell: a38x: fix SPLIT_OUT_MIX state decision

2022-01-17 Thread Moti Buskila
Hi Marek This mail was send by accident. Assaf H, is taking care of that. Thanks -Original Message- From: Marek Behún Sent: Monday, January 17, 2022 4:23 PM To: Moti Buskila Cc: Stefan Roese ; Mario Six ; Dennis Gilmore ; Kostya Porotchkin ; Pali Rohár ; u-boot@lists.denx.de; Marek

Re: [PATCH 1/9] doc: add include/dm/uclass.h to the HTML documentation

2022-01-17 Thread Patrick DELAUNAY
Hi Heinrich, On 1/15/22 9:24 AM, Heinrich Schuchardt wrote: On 1/12/22 10:53, Patrick Delaunay wrote: Correct Sphinx style comments in include/dm/uclass.h and add the driver model UCLASS API to the HTML documentation. Signed-off-by: Patrick Delaunay ---   doc/api/dm.rst  |  9 ++   do

Re: Please pull u-boot-net/next

2022-01-17 Thread Tom Rini
On Sat, Jan 15, 2022 at 10:01:42PM +0200, Ramon Fried wrote: > Hi Tom, > Please pull the latest changes from u-boot-net/next branch which include: > * PXE label override support > * Fastboot UDP configurable port > * new phy driver: TI DP83869HM > * and few minor fixes to dsa. > > The following c

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

2022-01-17 Thread Tom Rini
On Mon, Jan 17, 2022 at 08:20:36AM +0900, Jaehoon Chung wrote: > Dear Tom, > > Please pull u-boot-pmic master into u-boot master branch. > If there is a problem, let me know, plz > > Best Regards, > Jaehoon Chung > > CI: https://source.denx.de/u-boot/custodians/u-boot-pmic/-/pipelines/10653 >

Re: [PULL] u-boot-at91-2022.04-b

2022-01-17 Thread Tom Rini
On Mon, Jan 17, 2022 at 12:09:06PM +, eugen.hris...@microchip.com wrote: > Hello Tom, > > Please pull tag u-boot-at91-2022.04-b , the second set of at91 features > for the next cycle 2022.04 . > > This small feature set includes few changes for sama7g5 and sama7g5ek: > turn blue led on at b

Re: [PATCH 1/2] lmb: Fix lmb property's defination under struct lmb

2022-01-17 Thread Patrick DELAUNAY
Hi, On 1/14/22 1:14 PM, Michal Simek wrote: From: Ashok Reddy Soma Under struct lmb {} the lmb property's should be defined only if CONFIG_LMB_MEMORY_REGIONS is defined. Signed-off-by: Ashok Reddy Soma Signed-off-by: Michal Simek --- include/lmb.h | 2 +- 1 file changed, 1 insertion(+),

Re: [PATCH v2 12/16] passage: Add documentation

2022-01-17 Thread Mark Kettenis
> From: Simon Glass > Date: Mon, 17 Jan 2022 08:04:24 -0700 > > Add documentation about standard passage and update the maintainers. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Add comments about how to pass standard passage to EFI > - Add comments about passing a bloblist to L

Re: [PATCH] gpio: mxc_gpio: Fix i.MX8M GPIO output status read

2022-01-17 Thread Fabio Estevam
Hi Harm, Adding Angus, who submitted a similar patch: https://patchwork.ozlabs.org/project/uboot/patch/20211128145143.1433262-1-an...@akkea.ca/ On Mon, Jan 17, 2022 at 12:55 PM Harm Berntsen wrote: > > Could this issue be fixed by setting the SION bit mode? > > SION works! I did not know about

Re: [PATCH 00/13] Add support for the Purism Librem5 Phone

2022-01-17 Thread Tom Rini
On Mon, Jan 17, 2022 at 07:07:22AM -0800, Angus Ainslie wrote: > I sent this patchset as a single monolithic patch and did not see any > comment on it. > > https://lists.denx.de/pipermail/u-boot/2022-January/471087.html > > Here it is as a set of patches instead. > > This is all of the code r

Re: [PATCH 01/13] MAINTAINERS: add Purism to the maintainers file

2022-01-17 Thread Tom Rini
On Mon, Jan 17, 2022 at 07:07:23AM -0800, Angus Ainslie wrote: > The Purism kernel team is in charge of maintianing the Librem5 u-boot > > Signed-off-by: Angus Ainslie > --- > MAINTAINERS | 9 + > 1 file changed, 9 insertions(+) In U-Boot this is done all within board/.../MAINTAINERS i

Re: [PATCH 02/13] arm: dts: add the Purism devicetree files

2022-01-17 Thread Tom Rini
On Mon, Jan 17, 2022 at 07:07:24AM -0800, Angus Ainslie wrote: > Initial commit of Librem5 devicetree files > > Signed-off-by: Angus Ainslie Please note what kernel release the not -u-boot.dtsi files are a copy from, as they need to be copies and not modified, thanks. -- Tom signature.asc D

Re: [PATCH 05/13] include: configs: add the librem5.h include file

2022-01-17 Thread Tom Rini
On Mon, Jan 17, 2022 at 07:07:27AM -0800, Angus Ainslie wrote: > Initial commit of the librem5.h configuration > > Signed-off-by: Angus Ainslie You'll want to use CI (https://u-boot.readthedocs.io/en/latest/develop/ci_testing.html) to get this tested for migrated symbols, or copy the CI logic o

Re: [PATCH 13/13] doc: librem5: add Librem5 documentation

2022-01-17 Thread Tom Rini
On Mon, Jan 17, 2022 at 07:07:35AM -0800, Angus Ainslie wrote: > Initial commit of the Librem5 documentation > > Signed-off-by: Angus Ainslie > --- > doc/board/purism/librem5/librem5.rst | 60 > 1 file changed, 60 insertions(+) > create mode 100644 doc/board/purism

Re: imx8mm-evk does not boot kernel 5.16

2022-01-17 Thread Tim Harvey
On Fri, Jan 14, 2022 at 11:44 AM Fabio Estevam wrote: > > Hi Marcel, > > On Fri, Jan 14, 2022 at 3:10 PM Marcel Ziswiler > wrote: > > > Strange, remember, I am working on Verdin iMX8M Mini support [1] and run > > that stuff more or less daily. > > However, as you can see in that patch series, I

Re: [PATCH 00/13] Add support for the Purism Librem5 Phone

2022-01-17 Thread Angus Ainslie
Hi Toni On 2022-01-17 08:59, Tom Rini wrote: On Mon, Jan 17, 2022 at 07:07:22AM -0800, Angus Ainslie wrote: I sent this patchset as a single monolithic patch and did not see any comment on it. https://lists.denx.de/pipermail/u-boot/2022-January/471087.html Here it is as a set of patches inst

Re: [PATCH 00/13] Add support for the Purism Librem5 Phone

2022-01-17 Thread Angus Ainslie
On 2022-01-17 09:14, Angus Ainslie wrote: Hi Toni Sorry Tom, somehow concatenated your 2 names.

Re: imx8mm-evk does not boot kernel 5.16

2022-01-17 Thread Fabio Estevam
Hi Tim, On Mon, Jan 17, 2022 at 2:09 PM Tim Harvey wrote: > Interesting. Can you give us a breakdown of pros and cons of using > mainline TF-A vs NXP's? I'm not clear if NXP has been actively pushing > their changes up or not and haven't had time to follow the commits for > either project. I am

Re: [PATCH 00/13] Add support for the Purism Librem5 Phone

2022-01-17 Thread Tom Rini
On Mon, Jan 17, 2022 at 09:14:05AM -0800, Angus Ainslie wrote: > Hi Toni > > On 2022-01-17 08:59, Tom Rini wrote: > > On Mon, Jan 17, 2022 at 07:07:22AM -0800, Angus Ainslie wrote: > > > > > I sent this patchset as a single monolithic patch and did not see any > > > comment on it. > > > > > > ht

Re: [PATCH 00/13] Add support for the Purism Librem5 Phone

2022-01-17 Thread Tom Rini
On Mon, Jan 17, 2022 at 09:15:12AM -0800, Angus Ainslie wrote: > On 2022-01-17 09:14, Angus Ainslie wrote: > > Hi Toni > > > > Sorry Tom, somehow concatenated your 2 names. No worries. -- Tom signature.asc Description: PGP signature

Re: [PATCH 02/13] arm: dts: add the Purism devicetree files

2022-01-17 Thread Angus Ainslie
Hi Tom, On 2022-01-17 08:59, Tom Rini wrote: On Mon, Jan 17, 2022 at 07:07:24AM -0800, Angus Ainslie wrote: Initial commit of Librem5 devicetree files Signed-off-by: Angus Ainslie Please note what kernel release the not -u-boot.dtsi files are a copy from, as they need to be copies and not

Re: [PATCH V3] sf: Querying write-protect status before operating the flash

2022-01-17 Thread Tom Rini
On Thu, Jan 13, 2022 at 08:38:04AM +0100, Jan Kiszka wrote: > On 17.11.21 12:59, Tom Rini wrote: > > On Wed, Nov 17, 2021 at 01:43:28PM +0530, Jagan Teki wrote: > > > On Wed, Nov 17, 2021 at 1:33 PM Michael Walle wrote: > > > > > > > > Hi, > > > > > > > > Am 2021-11-17 03:48, schrieb chaochao202

Re: [PATCH 02/13] arm: dts: add the Purism devicetree files

2022-01-17 Thread Tom Rini
On Mon, Jan 17, 2022 at 09:51:24AM -0800, Angus Ainslie wrote: > Hi Tom, > > On 2022-01-17 08:59, Tom Rini wrote: > > On Mon, Jan 17, 2022 at 07:07:24AM -0800, Angus Ainslie wrote: > > > > > Initial commit of Librem5 devicetree files > > > > > > Signed-off-by: Angus Ainslie > > > > Please note

Re: [PATCH] board: ti: am335x: Choose CPSW or PRUSS configuration based on jumper setting

2022-01-17 Thread Tom Rini
On Fri, Oct 29, 2021 at 04:08:17PM +0200, Amjad Ouled-Ameur wrote: > The am335x-ice-v2 board's Ethernet ports can be configured > in 'MII' or 'RMII' mode to be connected to 'PRUSS' or 'CPSW' > Ethernet subsystems. > > This patch sets the environment variable 'ice_mii' to > 'mii' or 'rmii' accordi

Re: [PATCH] nand: gpmc: Handle bitflips in erased pages when using BCH ECC engine

2022-01-17 Thread Tom Rini
On Thu, Nov 18, 2021 at 01:25:24PM -0500, David Rivshin wrote: > From: David Rivshin > > In the case of an erased (sub)page both the data and ECC are all 0xFF > bytes. This fails the normal ECC verification, as the computed ECC of > all-0xFF is not also 0xFF. The GPMC NAND driver attempted to de

Re: [PATCH 1/1] Fix wrong QSPI clock calculation for AM4372

2022-01-17 Thread Tom Rini
On Tue, Nov 30, 2021 at 01:06:56AM +0100, Stefan Mätje wrote: > On AM4372 the SPI_GCLK input gets its clock from the PRCM module which > divides the PER_CLKOUTM2 frequency (192MHz) by a fixed factor of 4. > See AM437x Reference Manual in section 27 QSPI >> 27.2 Integration. > > The QSPI_FCLK ther

Re: [PATCH] configs: am43xx_hs_evm: Add SPL_USB_STORAGE Support

2022-01-17 Thread Tom Rini
On Mon, Dec 06, 2021 at 06:22:00PM +0100, Amjad Ouled-Ameur wrote: > Enable CONFIG_SPL_USB_STORAGE to support UBS MSC boot support. > > Signed-off-by: Faiz Abbas > Signed-off-by: Amjad Ouled-Ameur Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] arm: mach-k3: am642_init: Unlock MCU PADCFG regs

2022-01-17 Thread Tom Rini
On Wed, Dec 15, 2021 at 04:14:28PM +0100, Christian Gmeiner wrote: > From: Michael Liebert > > Currently only the PADCFG registers of the main domain are unlocked. > Also unlock PADCFG registers of MCU domain, so MCU pin muxing can be > configured by u-boot or Linux. > > Signed-off-by: Michael

Re: [PATCH] omap: timer: implement timer_get_boot_us

2022-01-17 Thread Tom Rini
On Thu, Dec 16, 2021 at 10:57:29AM +0100, Christian Gmeiner wrote: > To make the OMAP DM timer driver useful for the timing of > bootstages, we need to implement timer_get_boot_us(..). > > Signed-off-by: Christian Gmeiner Applied to u-boot/master, thanks! -- Tom signature.asc Description: P

Re: [PATCH] ARM: mach-k3: sysfw-loader: Copy sysfw.itb to OCRAM in OSPI/SPI bootmode

2022-01-17 Thread Tom Rini
On Thu, Dec 23, 2021 at 07:26:03PM +0530, Vignesh Raghavendra wrote: > In case of xSPI bootmode OSPI flash is in DDR mode and needs to be accessed > in multiple of 16bit accesses Hence we cannot parse sysfw.itb FIT image > directly on OSPI flash via MMIO window. So, copy the image to internal > on

  1   2   >