Re: [PATCH v6 09/25] arm: xenguest_arm64: Add a fake devicetree file

2021-12-02 Thread Simon Glass
Hi Tom, On Thu, 2 Dec 2021 at 10:56, Tom Rini wrote: > > On Thu, Dec 02, 2021 at 05:40:46PM +, Oleksandr Andrushchenko wrote: > > Hi, Simon! > > > > Sorry for being late to the party > > > > On 02.12.21 17:59, Simon Glass wrote: > > > Add an empty file to prevent build errors when building

Re: [PATCH v6 07/25] arm: rpi: Add a devicetree file for rpi_4

2021-12-02 Thread François Ozog
Hi Mark, On Thu, 2 Dec 2021 at 18:34, Mark Kettenis wrote: > > From: Simon Glass > > Date: Thu, 2 Dec 2021 08:59:01 -0700 > > > > Add this file, obtained from the Raspbian boot disk, so there is a > > reference devicetree in the U-Boot tree. The same one is used for > > 32- and 64-bit

Re: [PATCH v6 09/25] arm: xenguest_arm64: Add a fake devicetree file

2021-12-02 Thread François Ozog
Hi Simon On Thu, 2 Dec 2021 at 19:29, Simon Glass wrote: > Hi François, > > On Thu, 2 Dec 2021 at 11:17, François Ozog > wrote: > > > > Hi Simon > > > > On Thu, 2 Dec 2021 at 19:05, Simon Glass wrote: > >> > >> Hi Tom, > >> > >> On Thu, 2 Dec 2021 at 10:56, Tom Rini wrote: > >> > > >> > On

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-02 Thread Simon Glass
Hi Tom, On Thu, 2 Dec 2021 at 11:34, Tom Rini wrote: > > On Thu, Dec 02, 2021 at 11:17:38AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 2 Dec 2021 at 11:03, Tom Rini wrote: > > > > > > On Thu, Dec 02, 2021 at 10:07:13AM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Thu,

Re: Please pull u-boot-net/next

2021-12-02 Thread Tom Rini
On Thu, Dec 02, 2021 at 10:25:19AM +0200, Ramon Fried wrote: > Hi Tom, > This pull request contains: > * New Broadcom NetXtreme driver > * Support for socat for netconsole > * Felix switch soft reset fix > > The following changes since commit fc47dbb26e9d86a688e69e198b2ed0749db16756: > >

Re: [PATCH] pci: Disable I/O forwarding during autoconfiguration if unsupported

2021-12-02 Thread Stefan Roese
On 12/2/21 00:08, Pali Rohár wrote: On Tuesday 30 November 2021 07:09:36 Stefan Roese wrote: On 11/25/21 11:32, Pali Rohár wrote: If U-Boot does not have any I/O resource for assignment then disable I/O forwarding in PCI bridge autoconfiguration code. Default initial state of PCI bridge IO

[PATCH v6 08/25] arm: vexpress: Add a devicetree file for juno

2021-12-02 Thread Simon Glass
Add this file, obtained from the Linaro website[1], so there is a reference file in the U-Boot tree. Note that U-Boot does not normally need this at runtime, since CONFIG_OF_BOARD is enabled. The previous firmware stage provides a devicetree at runtime. [1]

[PATCH v6 12/25] arm: bcm7xxx: Add a devicetree file

2021-12-02 Thread Simon Glass
Add a dummy devicetree file for these boards. It seems to be possible to obtain a real one from another bootloader called 'bolt' but I will leave this to the maintainer. Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/dts/Makefile | 2 ++ arch/arm/dts/bcm7xxx.dts | 15

[PATCH v6 10/25] arm: octeontx: Add a fake devicetree file

2021-12-02 Thread Simon Glass
Add an empty file to prevent build errors when building with CONFIG_OF_SEPARATE enabled. Unfortunately there are no build instructions in the U-Boot tree to enable a real file to be created. Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/dts/Makefile| 3 +++

[PATCH v6 21/25] fdt: Drop #ifdef around board_fdt_blob_setup()

2021-12-02 Thread Simon Glass
This serves no purpose. Drop it. Signed-off-by: Simon Glass --- (no changes since v1) lib/fdtdec.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/fdtdec.c b/lib/fdtdec.c index fbdc92c0813..299a2c3a32f 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -1203,7 +1203,6 @@ static int

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-02 Thread Tom Rini
On Thu, Dec 02, 2021 at 05:33:53PM +0100, François Ozog wrote: > Hi Simon > > Le jeu. 2 déc. 2021 à 17:00, Simon Glass a écrit : > > > With Ilias' efforts we have dropped OF_PRIOR_STAGE and OF_HOSTFILE so > > there are only three ways to obtain a devicetree: > > > >- OF_SEPARATE - the

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-02 Thread Heinrich Schuchardt
On 12/2/21 16:58, Simon Glass wrote: With Ilias' efforts we have dropped OF_PRIOR_STAGE and OF_HOSTFILE so there are only three ways to obtain a devicetree: - OF_SEPARATE - the normal way, where the devicetree is built and appended to U-Boot - OF_EMBED - for development purposes,

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-02 Thread Simon Glass
Hi Tom, On Thu, 2 Dec 2021 at 09:38, Tom Rini wrote: > > On Thu, Dec 02, 2021 at 05:33:53PM +0100, François Ozog wrote: > > Hi Simon > > > > Le jeu. 2 déc. 2021 à 17:00, Simon Glass a écrit : > > > > > With Ilias' efforts we have dropped OF_PRIOR_STAGE and OF_HOSTFILE so > > > there are only

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-02 Thread Simon Glass
Hi Heinrich, On Thu, 2 Dec 2021 at 09:47, Heinrich Schuchardt wrote: > > On 12/2/21 16:58, Simon Glass wrote: > > With Ilias' efforts we have dropped OF_PRIOR_STAGE and OF_HOSTFILE so > > there are only three ways to obtain a devicetree: > > > > - OF_SEPARATE - the normal way, where the

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-02 Thread Tom Rini
On Thu, Dec 02, 2021 at 09:49:51AM -0700, Simon Glass wrote: > Hi Tom, > > On Thu, 2 Dec 2021 at 09:38, Tom Rini wrote: > > > > On Thu, Dec 02, 2021 at 05:33:53PM +0100, François Ozog wrote: > > > Hi Simon > > > > > > Le jeu. 2 déc. 2021 à 17:00, Simon Glass a écrit : > > > > > > > With Ilias'

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-02 Thread François Ozog
Hi Simon Le jeu. 2 déc. 2021 à 17:40, Simon Glass a écrit : > Hi François, > > On Thu, 2 Dec 2021 at 09:34, François Ozog > wrote: > > > > Hi Simon > > > > Le jeu. 2 déc. 2021 à 17:00, Simon Glass a écrit : > >> > >> With Ilias' efforts we have dropped OF_PRIOR_STAGE and OF_HOSTFILE so > >>

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-02 Thread Mark Kettenis
> From: Ilias Apalodimas > Date: Thu, 2 Dec 2021 19:03:46 +0200 > > On Thu, 2 Dec 2021 at 18:38, Tom Rini wrote: > > > > On Thu, Dec 02, 2021 at 05:33:53PM +0100, François Ozog wrote: > > > Hi Simon > > > > > > Le jeu. 2 déc. 2021 à 17:00, Simon Glass a écrit : > > > > > > > With Ilias'

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-02 Thread Tom Rini
On Thu, Dec 02, 2021 at 11:17:38AM -0700, Simon Glass wrote: > Hi Tom, > > On Thu, 2 Dec 2021 at 11:03, Tom Rini wrote: > > > > On Thu, Dec 02, 2021 at 10:07:13AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 2 Dec 2021 at 09:59, Tom Rini wrote: > > > > > > > > On Thu, Dec 02,

[PATCH] mkimage: fix segfault on MacOS arm64

2021-12-02 Thread Sergey V. Lobanov
mkimage segfaults due ASLR mechasim on MacOS arm64 It is required to use _dyld_get_image_vmaddr_slide() to prevent segfault on MacOS arm64 This patch ased on the discussion https://github.com/u-boot/u-boot/commit/3b142045e8a7f0ab17b6099e9226296af45967d0 Thanks to Ronny Kotzschmar and ptpt52

Re: [PATCH 0/4] rockchip: Improve support for Bob chromebook and add support for Kevin

2021-12-02 Thread Simon Glass
Hi Alper, On Thu, 25 Nov 2021 at 10:39, Alper Nebi Yasak wrote: > > I have recently started testing booting U-Boot from SPI on my gru-kevin > (as opposed to chainloading it from vendor coreboot + depthcharge) and > brought it to a better working state based on an initial support patch > from

Re: [PATCH v2 1/2] binman: Do not pollute source tree when build with `make O=...`

2021-12-02 Thread Simon Glass
Hi Andy, On Tue, 30 Nov 2021 at 12:04, Andy Shevchenko wrote: > > Importing libraries in Python caches the bytecode by default. > Since we run scripts in source tree it ignores the current directory > settings, which is $(srctree), and creates cache just in the middle > of the source tree. Move

Re: [PATCH 1/4] rockchip: gru: Set up SoC IO domain registers

2021-12-02 Thread Simon Glass
Hi Alper, On Thu, 25 Nov 2021 at 10:40, Alper Nebi Yasak wrote: > > The RK3399 SoC needs to know the voltage value provided by some > regulators, which is done by setting relevant register bits. Configure > these the way other RK3399 boards do, but with values set in coreboot. What do you mean

Re: [PATCH 4/4] rockchip: rk3399: Add support for chromebook_kevin

2021-12-02 Thread Simon Glass
Hi Alper, On Thu, 25 Nov 2021 at 10:40, Alper Nebi Yasak wrote: > > From: "Marty E. Plummer" > > Add support for Kevin, an RK3399-based convertible chromebook that is > very similar to Bob. This patch is mostly based on existing support for > Bob, with only minor changes for Kevin-specific

Re: [PATCH u-boot-marvell RESEND 04/11] fdt_support: Remove FDT_STATUS_FAIL_ERROR_CODE

2021-12-02 Thread Simon Glass
On Fri, 26 Nov 2021 at 06:57, Marek Behún wrote: > > From: Marek Behún > > Since no one uses this feature and I am not aware of any parsers of this > in Linux, remove it. > > Signed-off-by: Marek Behún > Reviewed-by: Stefan Roese > Cc: Simon Glass > Cc: Andy Shevchenko > Cc: Pratyush Yadav

Re: [PATCH u-boot-marvell RESEND 03/11] fdt_support: Remove fdt_alloc_phandle() in favor of fdt_generate_phandle()

2021-12-02 Thread Simon Glass
On Fri, 26 Nov 2021 at 06:57, Marek Behún wrote: > > From: Marek Behún > > Commit f0921f5098d ("fdt: Sync up to the latest libfdt") introduced > fdt_generate_phandle() in libfdt, making fdt_alloc_phandle() obsolete in > fdt_support. > > Signed-off-by: Marek Behún > Reviewed-by: Stefan Roese >

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-02 Thread Andre Przywara
On Thu, 2 Dec 2021 13:34:07 -0500 Tom Rini wrote: Hi, > On Thu, Dec 02, 2021 at 11:17:38AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 2 Dec 2021 at 11:03, Tom Rini wrote: > > > > > > On Thu, Dec 02, 2021 at 10:07:13AM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On

[PATCH] RFC: gitlab: x86: Add a coreboot test

2021-12-02 Thread Simon Glass
Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own

Re: [PATCH v2 2/2] binman: Use less hard coded magic when inserting new PATH

2021-12-02 Thread Simon Glass
Hi Andy, On Tue, 30 Nov 2021 at 12:04, Andy Shevchenko wrote: > > Instead of joining hard coded '..' to the run-time path of the executable, > take just a dirname out of it. Besides that, use $(srctree) where it makes > sense. > > Signed-off-by: Andy Shevchenko > --- > v2: new patch >

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-02 Thread Simon Glass
Hi Tom, On Thu, 2 Dec 2021 at 15:47, Tom Rini wrote: > > On Thu, Dec 02, 2021 at 12:12:16PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 2 Dec 2021 at 11:34, Tom Rini wrote: > > > > > > On Thu, Dec 02, 2021 at 11:17:38AM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Thu,

[PATCH 1/2] board/sunxi/dram_sun4i_auto: use DRAM_MEMORY_TYPE_DDR3 instead of magic number 3

2021-12-02 Thread Giulio Benetti
Since DRAM_MEMORY_TYPE_DDR3 is defined let's use it instead of magic number 3. Signed-off-by: Giulio Benetti --- board/sunxi/dram_sun4i_auto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/sunxi/dram_sun4i_auto.c b/board/sunxi/dram_sun4i_auto.c index

[PATCH 2/2] board/sunxi/dram_sun5i_auto: use DRAM_MEMORY_TYPE_DDR3 instead of magic number 3

2021-12-02 Thread Giulio Benetti
Since DRAM_MEMORY_TYPE_DDR3 is defined let's use it instead of magic number 3. Signed-off-by: Giulio Benetti --- board/sunxi/dram_sun5i_auto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/sunxi/dram_sun5i_auto.c b/board/sunxi/dram_sun5i_auto.c index

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-02 Thread Andre Przywara
On Thu, 2 Dec 2021 19:03:46 +0200 Ilias Apalodimas wrote: Hi, > On Thu, 2 Dec 2021 at 18:38, Tom Rini wrote: > > > > On Thu, Dec 02, 2021 at 05:33:53PM +0100, François Ozog wrote: > > > Hi Simon > > > > > > Le jeu. 2 déc. 2021 à 17:00, Simon Glass a écrit : > > > > > > > With Ilias'

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-02 Thread Andre Przywara
On Thu, 2 Dec 2021 11:17:38 -0700 Simon Glass wrote: > Hi Tom, > > On Thu, 2 Dec 2021 at 11:03, Tom Rini wrote: > > > > On Thu, Dec 02, 2021 at 10:07:13AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 2 Dec 2021 at 09:59, Tom Rini wrote: > > > > > > > > On Thu, Dec 02, 2021

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-02 Thread Simon Glass
Hi Andre, On Thu, 2 Dec 2021 at 18:59, Andre Przywara wrote: > > On Thu, 2 Dec 2021 13:34:07 -0500 > Tom Rini wrote: > > Hi, > > > On Thu, Dec 02, 2021 at 11:17:38AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 2 Dec 2021 at 11:03, Tom Rini wrote: > > > > > > > > On Thu, Dec 02,

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-02 Thread Simon Glass
Hi Andre, On Thu, 2 Dec 2021 at 18:31, Andre Przywara wrote: > > On Thu, 2 Dec 2021 11:17:38 -0700 > Simon Glass wrote: > > > Hi Tom, > > > > On Thu, 2 Dec 2021 at 11:03, Tom Rini wrote: > > > > > > On Thu, Dec 02, 2021 at 10:07:13AM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On

[u-boot-test-hooks PATCH] travis-ci: Add tests for booting from coreboot

2021-12-02 Thread Simon Glass
Add a means of testing a coreboot + U-Boot build using qemu. Signed-off-by: Simon Glass --- bin/ellesmere/conf.coreboot_qemu | 1 + bin/travis-ci/conf.coreboot_qemu | 28 2 files changed, 29 insertions(+) create mode 12 bin/ellesmere/conf.coreboot_qemu

[PATCH v2] RFC: gitlab: x86: Add a coreboot test

2021-12-02 Thread Simon Glass
Coreboot supports U-Boot as a payload and this recently got a bit of a facelist. Add a test for this. For now this uses a binary build of coreboot (v4.15). Future work could potentially build it from source, but we need to figure out the toolchain problems first, since coreboot uses its own

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-02 Thread Andre Przywara
On Thu, 2 Dec 2021 09:39:52 -0700 Simon Glass wrote: Hi, wow, this thread quickly exploded, jumping in here randomly to add my thoughts: > Hi François, > > On Thu, 2 Dec 2021 at 09:34, François Ozog wrote: > > > > Hi Simon > > > > Le jeu. 2 déc. 2021 à 17:00, Simon Glass a écrit : > >> >

Re: [RFC Patch v2] binman: add support for creating dummy files for external blobs

2021-12-02 Thread Simon Glass
Hi Heiko, On Mon, 29 Nov 2021 at 02:48, Heiko Thiery wrote: > > While converting to binman for an imx8mq board, it has been found that > building in the u-boot CI fails. This is because an imx8mq requires an > external binary (signed_hdmi_imx8m.bin). If this file cannot be found > mkimage fails.

Re: [PATCH 0/4] rockchip: Improve support for Bob chromebook and add support for Kevin

2021-12-02 Thread Simon Glass
Hi Peter, On Wed, 1 Dec 2021 at 07:23, Peter Robinson wrote: > > On Thu, Nov 25, 2021 at 5:39 PM Alper Nebi Yasak > wrote: > > > > I have recently started testing booting U-Boot from SPI on my gru-kevin > > (as opposed to chainloading it from vendor coreboot + depthcharge) and > > brought it to

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-02 Thread Ilias Apalodimas
Hi Simon, > > > > > [...] > > > > > Changes in v6: > > > > > - Fix description of OF_BOARD so it refers just to the current state > > > > > - Explain that the 'two devicetrees' refers to two *control* > > > > > devicetrees > > > > > - Expand the commit message based on comments > > > > > -

Re: [PATCH v2 1/2] binman: Do not pollute source tree when build with `make O=...`

2021-12-02 Thread Andy Shevchenko
On Friday, December 3, 2021, Simon Glass wrote: > Hi Andy, > > On Tue, 30 Nov 2021 at 12:04, Andy Shevchenko > wrote: > > > > Importing libraries in Python caches the bytecode by default. > > Since we run scripts in source tree it ignores the current directory > > settings, which is $(srctree),

Re: [PATCH v7 00/12] efi_loader: capsule: improve capsule authentication support

2021-12-02 Thread AKASHI Takahiro
Heinrich, On Thu, Nov 25, 2021 at 03:02:35PM +0900, AKASHI Takahiro wrote: > Hi Heinrich > > On Tue, Nov 16, 2021 at 01:32:26PM +0900, AKASHI Takahiro wrote: > > As I proposed and discussed in [1] and [2], I have made a couple of > > improvements on the current implementation of capsule update

Re: [RFC 07/22] dm: blk: add UCLASS_PARTITION

2021-12-02 Thread AKASHI Takahiro
Heinrich, On Tue, Nov 16, 2021 at 12:01:27PM +0900, AKASHI Takahiro wrote: > On Tue, Nov 16, 2021 at 01:02:55AM +0100, Heinrich Schuchardt wrote: > > On 11/16/21 00:51, AKASHI Takahiro wrote: > > > > > Is the patch good enough to include in the series? > > > > > > > > > > If not, you could reply

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-02 Thread Ilias Apalodimas
Hi Mark, > > > > > [...] > > > > > Changes in v6: > > > > > - Fix description of OF_BOARD so it refers just to the current state > > > > > - Explain that the 'two devicetrees' refers to two *control* > > > > > devicetrees > > > > > - Expand the commit message based on comments > > > > > -

[PATCH 1/3] efi_loader: efi_tcg2_register returns appropriate error

2021-12-02 Thread Masahisa Kojima
This commit modify efi_tcg2_register() to return the appropriate error. With this fix, sandbox will not boot because efi_tcg2_register() fails due to some missing feature in GetCapabilities. So disable sandbox if EFI_TCG2_PROTOCOL is enabled. UEFI secure boot variable measurement is not directly

Re: [PATCH 01/15] i2c: muxes: pca954x: add PCA9847 variant

2021-12-02 Thread Heiko Schocher
Hello Vladimir, On 02.12.21 15:53, Vladimir Oltean wrote: > This seems to be very similar to the already existing PCA9547, save for > the fact that it supports 0.8V and doesn't support 5V. In fact, it is so > similar to the PCA9547 that the NXP LS1028A-RDB board has been driving > this chip using

Re: [RESEND RFC PATCH 04/10] FWU: Add metadata access functions for GPT partitioned block devices

2021-12-02 Thread Sughosh Ganu
hi Simon, On Thu, 2 Dec 2021 at 19:04, Simon Glass wrote: > Hi Sughosh, > > On Thu, 2 Dec 2021 at 01:05, Sughosh Ganu wrote: > > > > hi Simon, > > > > On Wed, 1 Dec 2021 at 23:32, Simon Glass wrote: > >> > >> Hi Sughosh, > >> > >> On Thu, 25 Nov 2021 at 00:13, Sughosh Ganu > wrote: > >> > >

[PATCH 3/3] efi_loader: correctly handle tcg2_measure_pe_image() error

2021-12-02 Thread Masahisa Kojima
When the TCG2 protocol is installed in efi_tcg2_register(), TPM2 device must be present. tcg2_measure_pe_image() expects that TCP2 protocol is installed and TPM device is available. If TCG2 Protocol is installed but TPM device is not found, tcg2_measure_pe_image() returns EFI_SECURITY_VIOLATION

[PATCH 0/3] fix TCG2 error handling

2021-12-02 Thread Masahisa Kojima
This series fix the efi_tcg2.c error handling. Masahisa Kojima (3): efi_loader: efi_tcg2_register returns appropriate error efi_loader: check tcg2 protocol installation outside the TCG protocol efi_loader: correctly handle tcg2_measure_pe_image() error include/efi_loader.h |

[PATCH 2/3] efi_loader: check tcg2 protocol installation outside the TCG protocol

2021-12-02 Thread Masahisa Kojima
There are functions that calls tcg2_agile_log_append() outside of the TCG protocol invocation (e.g tcg2_measure_pe_image). These functions must to check that TCG2 protocol is installed. If not, measurement shall be skipped. Signed-off-by: Masahisa Kojima --- lib/efi_loader/efi_tcg2.c | 18

Re: [BUG] efi_loader: incorrect creation of device paths

2021-12-02 Thread AKASHI Takahiro
Heinrich, On Thu, Nov 25, 2021 at 02:44:28PM +0900, AKASHI Takahiro wrote: > Heinrich, > > On Wed, Nov 24, 2021 at 12:10:32PM +0900, AKASHI Takahiro wrote: > > On Sat, Nov 20, 2021 at 01:54:30PM +0100, Heinrich Schuchardt wrote: > > > Hello Takahiro, > > > > > > in a prior mail we have

Re: [PATCH v6 09/25] arm: xenguest_arm64: Add a fake devicetree file

2021-12-02 Thread Oleksandr Andrushchenko
Hi, Simon! On 02.12.21 19:57, Simon Glass wrote: > Hi Oleksandr, > > On Thu, 2 Dec 2021 at 10:40, Oleksandr Andrushchenko > wrote: >> Hi, Simon! >> >> Sorry for being late to the party >> >> On 02.12.21 17:59, Simon Glass wrote: >>> Add an empty file to prevent build errors when building with

[PULL] u-boot-riscv/master

2021-12-02 Thread Leo Liang
Hi Tom, The following changes since commit 4a14bfffd42f968ed9d72a780a8d44a9053c5b95: Merge https://source.denx.de/u-boot/custodians/u-boot-marvell (2021-11-30 08:59:22 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-riscv.git for you to

Re: [RESEND RFC PATCH 04/10] FWU: Add metadata access functions for GPT partitioned block devices

2021-12-02 Thread Sughosh Ganu
hi Simon, On Wed, 1 Dec 2021 at 23:32, Simon Glass wrote: > Hi Sughosh, > > On Thu, 25 Nov 2021 at 00:13, Sughosh Ganu > wrote: > > > > In the FWU Multi Bank Update feature, the information about the > > updatable images is stored as part of the metadata, on a separate > > partition. Add

Re: [PATCH] mtd: sf: Set SF parameters as env variables

2021-12-02 Thread Pratyush Yadav
Hi Marek, On 28/11/21 10:56PM, Marek Vasut wrote: > On 10/7/21 2:46 PM, Marek Vasut wrote: > > On 10/7/21 2:40 PM, Pratyush Yadav wrote: > > > On 23/09/21 10:00PM, Marek Vasut wrote: > > > > On 9/23/21 8:53 PM, Pratyush Yadav wrote: > > > > > On 14/09/21 05:28AM, Marek Vasut wrote: > > > > > >

Please pull u-boot-net/master

2021-12-02 Thread Ramon Fried
Hi Tom, The below contains two fixes from Marek for designware and mdio. The following changes since commit 4a14bfffd42f968ed9d72a780a8d44a9053c5b95: Merge https://source.denx.de/u-boot/custodians/u-boot-marvell (2021-11-30 08:59:22 -0500) are available in the Git repository at:

Re: [PATCH v3 2/2] riscv: Enable SPI flash env for SiFive Unmatched.

2021-12-02 Thread Leo Liang
On Wed, Nov 24, 2021 at 02:32:10PM -0800, Thomas Skibo wrote: > Enable saving environment to SPI flash memory on SiFive > Unmatched. > > Signed-off-by: Thomas Skibo > --- > arch/riscv/cpu/fu740/Kconfig | 13 + > board/sifive/unmatched/Kconfig | 1 + > 2 files changed, 14

Re: [PATCH v2 1/5] net: macb: Remove Microchip compatible string

2021-12-02 Thread Leo Liang
On Wed, Nov 17, 2021 at 06:21:15PM +0530, Padmarao Begari wrote: > Remove the microchip compatible string and default compatible "cdns,macb" > support both 32-bit and 64-bit DMA access. > > Signed-off-by: Padmarao Begari > --- > drivers/net/macb.c | 18 +++--- > 1 file changed, 7

Re: [PATCH] mtd: cqspi: Wait for transfer completion

2021-12-02 Thread Pratyush Yadav
Hi Marek, On 25/10/21 10:25PM, Marek Vasut wrote: > On 10/25/21 9:53 PM, Pratyush Yadav wrote: > > On 08/10/21 06:06PM, Jagan Teki wrote: > > > On Wed, Sep 15, 2021 at 2:05 PM Marek Vasut wrote: > > > > > > > > On 9/15/21 10:28 AM, Pratyush Yadav wrote: > > > > > On 14/09/21 08:22PM, Marek

Please pull u-boot-net/next

2021-12-02 Thread Ramon Fried
Hi Tom, This pull request contains: * New Broadcom NetXtreme driver * Support for socat for netconsole * Felix switch soft reset fix The following changes since commit fc47dbb26e9d86a688e69e198b2ed0749db16756: Merge branch '2021-12-01-Kconfig-migrations' into next (2021-12-01 13:32:35 -0500)

Re: [PATCH v3 1/2] riscv: Support booting SiFive Unmatched from SPI.

2021-12-02 Thread Leo Liang
On Wed, Nov 24, 2021 at 02:32:09PM -0800, Thomas Skibo wrote: > Configure SPI flash devices into SPL. Add SPI boot option to spl.c. > Document how to format flash for booting. > > Signed-off-by: Thomas Skibo > --- > .../dts/hifive-unmatched-a00-u-boot.dtsi | 11 +++ >

Re: [PATCH 0/2] binman: Add support for ATF Firmware Image Package (FIP)

2021-12-02 Thread Sandrine Bailleux
Hi Simon, On 12/1/21 5:51 PM, Simon Glass wrote: > Hi Sandrine, > > On Wed, 1 Dec 2021 at 03:32, Sandrine Bailleux > wrote: >> >> Hi everyone, >> >> I am Sandrine Bailleux, from the Trusted Firmware-A project. Ilias >> Apalodimas CC'ed me on this thread. >> >> First of all, thanks for involving

Re: [PATCH 1/2] scripts: remove CONFIG_IS_ENABLED and CONFIG_VAL in generated u_boot.cfg

2021-12-02 Thread Tom Rini
On Mon, Nov 08, 2021 at 10:21:21AM +0100, Patrick Delaunay wrote: > The two helpers macros CONFIG_IS_ENABLED and CONFIG_VAL are defined in > include/linux/kconfig.h but they are not real configurations; they can > be safely removed in the generated configuration file "u-boot.cfg". > > This patch

Re: [PATCH] spl: fit: Skip attempting to load 0 length image

2021-12-02 Thread Tom Rini
On Tue, Oct 19, 2021 at 12:32:29PM -0500, Nishanth Menon wrote: > When, for various reasons, a bad FIT image is used where a loadable > image is marked as 0 length, attempt is made for a 0 length allocation and > read of 0 byte read operation. > > Instead provide warning in log and skip

Re: [PATCH 2/2] scripts: remove CONFIG_IS_ENABLED and CONFIG_VAL in config_whitelist.txt

2021-12-02 Thread Tom Rini
On Mon, Nov 08, 2021 at 10:21:22AM +0100, Patrick Delaunay wrote: > The helper macro CONFIG_IS_ENABLED and CONFIG_VAL are not real > configurations and they are no more present in u-boot.cfg so they can > be removed in config_whitelist.txt. > > Signed-off-by: Patrick Delaunay > Acked-by: Simon

Re: [RESEND PATCH 2/2] dm: add debug message when failed to select the default pinctrl

2021-12-02 Thread Tom Rini
On Fri, Nov 19, 2021 at 10:02:27AM +0100, Patrick Delaunay wrote: > Add a message on probe in driver model core when the default > pinctrl selection failed. > > This message is displayed only when the pinctrl API is > implemented, i.e. when result is not ENOSYS. > > Signed-off-by: Patrick

Re: [RESEND PATCH 1/2] pinctrl: change result for unsupported API

2021-12-02 Thread Tom Rini
On Fri, Nov 19, 2021 at 10:02:26AM +0100, Patrick Delaunay wrote: > Use the return value ENOSYS for unsupported API > - pinctrl_generic_set_state > - pinctrl_select_state > > Signed-off-by: Patrick Delaunay > Reviewed-by: Simon Glass Applied to u-boot/next, thanks! -- Tom signature.asc

Re: [PATCH 5/5] clk: Add clk_get_by_name_optional

2021-12-02 Thread Neil Armstrong
On 01/12/2021 19:43, Sean Anderson wrote: > This adds a helper function for clk_get_by_name in cases where the clock is > optional. Hopefully this helps point driver writers in the right direction. > Also convert some existing users. > > Signed-off-by: Sean Anderson > --- > >

Re: [PATCH 5/5] clk: Add clk_get_by_name_optional

2021-12-02 Thread Simon Glass
Hi Sean, On Wed, 1 Dec 2021 at 11:43, Sean Anderson wrote: > > This adds a helper function for clk_get_by_name in cases where the clock is > optional. Hopefully this helps point driver writers in the right direction. > Also convert some existing users. > > Signed-off-by: Sean Anderson > --- > >

Re: [PATCH 07/40] efi: Correct call to write_acpi_tables()

2021-12-02 Thread Simon Glass
Hi Heinrich, On Wed, 1 Dec 2021 at 22:00, Heinrich Schuchardt wrote: > > Am 1. Dezember 2021 22:12:09 MEZ schrieb Simon Glass : > >Hi Heinrich, > > > >On Wed, 1 Dec 2021 at 12:57, Heinrich Schuchardt wrote: > >> > >> > >> > >> On 12/1/21 20:32, Simon Glass wrote: > >> > Hi Heinrich, > >> > > >>

Re: [PATCH] treewide: invaild -> invalid

2021-12-02 Thread Simon Glass
On Wed, 1 Dec 2021 at 12:27, Sean Anderson wrote: > > Somewhere along the way, someone misspelt "invalid" and it got copied > everywhere. Fix it. > > Signed-off-by: Sean Anderson > --- > > drivers/clk/clk-uclass.c | 2 +- > drivers/clk/clk_stm32f.c | 2 +- >

Re: [PATCH] clk: Remove no-op request and rfree callbacks

2021-12-02 Thread Simon Glass
On Wed, 1 Dec 2021 at 12:51, Sean Anderson wrote: > > These callbacks are optional. Remove ones which do nothing. > > Signed-off-by: Sean Anderson > --- > > drivers/clk/ics8n3qv01.c | 6 -- > drivers/clk/tegra/tegra-car-clk.c | 9 - > drivers/clk/ti/clk-sci.c |

Re: [RESEND RFC PATCH 04/10] FWU: Add metadata access functions for GPT partitioned block devices

2021-12-02 Thread Simon Glass
Hi Sughosh, On Thu, 2 Dec 2021 at 01:05, Sughosh Ganu wrote: > > hi Simon, > > On Wed, 1 Dec 2021 at 23:32, Simon Glass wrote: >> >> Hi Sughosh, >> >> On Thu, 25 Nov 2021 at 00:13, Sughosh Ganu wrote: >> > >> > In the FWU Multi Bank Update feature, the information about the >> > updatable

Re: [PATCH 5/5] clk: Add clk_get_by_name_optional

2021-12-02 Thread Sean Anderson
Hi Simon, On 12/2/21 8:43 AM, Simon Glass wrote: Hi Sean, On Wed, 1 Dec 2021 at 11:43, Sean Anderson wrote: This adds a helper function for clk_get_by_name in cases where the clock is optional. Hopefully this helps point driver writers in the right direction. Also convert some existing

<    1   2