Re: [RFC PATCH 1/3] eficonfig: add UEFI Secure Boot Key enrollment interface

2022-07-08 Thread Ilias Apalodimas
On Sun, Jun 19, 2022 at 02:20:20PM +0900, Masahisa Kojima wrote: > This commit adds the menu-driven UEFI Secure Boot Key > enrollment interface. User can enroll the PK, KEK, db > and dbx by selecting EFI Signature Lists file. > After the PK is enrolled, UEFI Secure Boot is enabled and > EFI

[PATCH] ti: keystone: Don't select GPIO_EXTRA_HEADER

2022-07-08 Thread Michal Simek
keystone doesn't have custom gpio.h that's why don't select GPIO_EXTRA_HEADER which points to it. Logic in arch/arm/include/asm/gpio.h is very clear #ifdef CONFIG_GPIO_EXTRA_HEADER #include #endif #include Where it is visible that there is no gpio.h in platform headers: $ ls

[PATCH v3] usb: dwc3: Add support to reset usb ULPI phy

2022-07-08 Thread Michal Simek
From: T Karthik Reddy When usb PHY initialization is done, the PHY need to be reset. Signed-off-by: T Karthik Reddy Signed-off-by: Michal Simek --- Changes in v3: - Fix compilation issues reported by CI and Marek - Use CONFIG_IS_ENABLED(DM_GPIO) and remove Kconfig dependency Changes in v2:

[PATCH 2/2] board: ti: am335x: Use correct dtbs for SanCloud boards

2022-07-08 Thread Paul Barker
We have different dtbs for the Lite and Extended WiFi variants of the SanCloud BBE. Signed-off-by: Paul Barker --- board/ti/am335x/board.c | 18 ++ configs/am335x_evm_defconfig | 2 +- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/board/ti/am335x/board.c

[PATCH 1/2] board: ti: am335x: Enable spi0 bus on SanCloud BBE Lite

2022-07-08 Thread Paul Barker
The SanCloud BBE Lite has a Micron Authenta flash device connected to the spi0 bus. Signed-off-by: Paul Barker --- board/ti/am335x/mux.c | 5 + 1 file changed, 5 insertions(+) diff --git a/board/ti/am335x/mux.c b/board/ti/am335x/mux.c index fed737fa099a..7d31adec1421 100644 ---

[RFC PATCH 0/2] Support UEFI SPI I/O protocol

2022-07-08 Thread Paul Barker
I'm looking for some initial feedback on the following patches which add support for the UEFI SPI I/O protocol defined in the UEFI Platform Initialization (PI) Specification, Version 1.7 Errata A (April 2020). I'd like to know if the overall approach is acceptable for inclusion in u-boot and if

Re: [RFC PATCH 1/3] eficonfig: add UEFI Secure Boot Key enrollment interface

2022-07-08 Thread Masahisa Kojima
On Fri, 8 Jul 2022 at 18:14, Ilias Apalodimas wrote: > > On Sun, Jun 19, 2022 at 02:20:20PM +0900, Masahisa Kojima wrote: > > This commit adds the menu-driven UEFI Secure Boot Key > > enrollment interface. User can enroll the PK, KEK, db > > and dbx by selecting EFI Signature Lists file. > >

[PATCH] phy: ti: j721e-wiz: use OF data for device specific data

2022-07-08 Thread Matt Ranostay
Move device specific data into OF data structure so it is easier to maintain and we can get rid of if statements. Based on: https://lore.kernel.org/linux-phy/20220526064121.27625-1-rog...@kernel.org/T/#u Cc: Roger Quadros Signed-off-by: Matt Ranostay --- drivers/phy/ti/phy-j721e-wiz.c | 88

[PATCH] cmd: ti: ddr3: correct minor spelling mistake in Ti DDR3

2022-07-08 Thread Ramin Zaghi
Hi I've searched a little to find a document that explains how to contribute to U-Boot. But couldn't find one. I hope this is the right way and who do I CC !? From f6cdf2ac9fe6ade663aa7a4ff1b2d1ac38fc2704 Mon Sep 17 00:00:00 2001 From: Ramin Zaghi Date: Fri, 8 Jul 2022 09:00:58 +0100

Re: [v4 03/12] spi: aspeed: Add ASPEED SPI controller driver

2022-07-08 Thread Cédric Le Goater
On 7/8/22 07:42, Chin-Ting Kuo wrote: Hi Joel, -Original Message- From: Joel Stanley Sent: Thursday, July 7, 2022 1:37 PM Subject: Re: [v4 03/12] spi: aspeed: Add ASPEED SPI controller driver Hi Chin-Ting, On Tue, 24 May 2022 at 05:58, Chin-Ting Kuo wrote: Add ASPEED BMC FMC/SPI

[RFC PATCH 1/2] efi_loader: Add SPI I/O protocol support

2022-07-08 Thread Paul Barker
This addition allows UEFI applications running under u-boot to access peripherals on SPI busses. It is based on the UEFI Platform Initialization (PI) Specification, Version 1.7 Errata A (April 2020). Only the core functionality required to discover SPI peripherals and communicate with them is

[RFC PATCH 2/2] arm: dts: am335x-sancloud-bbe-lite: UEFI SPI export

2022-07-08 Thread Paul Barker
Add properties to the Authenta SPI flash device node to enable access by a UEFI application using a fixed GUID. Also specify that this device is JEDEC compatible so that it is correctly initialized when running `sf probe`. Signed-off-by: Paul Barker --- arch/arm/dts/am335x-sancloud-bbe-lite.dts

Re: [PATCH v3] usb: dwc3: Add support to reset usb ULPI phy

2022-07-08 Thread Marek Vasut
On 7/8/22 11:21, Michal Simek wrote: From: T Karthik Reddy When usb PHY initialization is done, the PHY need to be reset. Michal, please verify this compiles in CI.

Re: [PATCH v3] usb: dwc3: Add support to reset usb ULPI phy

2022-07-08 Thread Michal Simek
On 7/8/22 12:12, Marek Vasut wrote: On 7/8/22 11:21, Michal Simek wrote: From: T Karthik Reddy When usb PHY initialization is done, the PHY need to be reset. Michal, please verify this compiles in CI. I did it yesterday.

[PATCH 1/2] tools: relocate-rela: Remove guard around R_AARCH64_RELATIVE

2022-07-08 Thread Michal Simek
In code you can find out this fragment: 19 #ifndef R_AARCH64_RELATIVE 20 #define R_AARCH64_RELATIVE 1027 21 #endif which means that R_AARCH64_RELATIVE is defined all the time that's why ifdef is not needed. Signed-off-by: Michal Simek --- tools/relocate-rela.c | 2 -- 1 file changed,

[PATCH 2/2] tools: relocate-rela: Define all macros for e_machine and reloc types

2022-07-08 Thread Michal Simek
With some old toolchain not all values should be available that's why better to define all of them to avoid compilation issues. Signed-off-by: Michal Simek --- tools/relocate-rela.c | 24 1 file changed, 24 insertions(+) diff --git a/tools/relocate-rela.c

Re: [PATCH 4/4] doc: Migrate Process wiki page to sphinx

2022-07-08 Thread Claudius Heine
Hi Tom, On 2022-06-27 19:17, Tom Rini wrote: Move the current Process wiki page to doc/develop/process.rst. The changes here are for formatting or slight rewording so that it reads well when linking to other sphinx documents. Signed-off-by: Tom Rini --- doc/develop/index.rst | 1 +

Re: [PATCH v1 0/6] Add Rockchip IDB device

2022-07-08 Thread Michael Nazzareno Trimarchi
Hi Johan On Tue, Jul 5, 2022 at 3:04 PM Johan Jonker wrote: > > From: Johan Jonker > > Add Rockchip IDB device for U-boot. > > On Rockchip SoCs with a NAND as boot device the information data base (IDB) > loaded > by the boot ROM is stored at the beginning of several erase blocks. > Rewriting

Re: [RFC PATCH 0/3] eficonfig: add UEFI Secure Boot key maintenance interface

2022-07-08 Thread Ilias Apalodimas
On Sun, Jun 19, 2022 at 02:20:19PM +0900, Masahisa Kojima wrote: > This series adds the UEFI Secure Boot key maintenance interface > to the eficonfig command. > User can enroll and delete the PK, KEK, db and dbx. > > Note that this series is RFC since this series is implemented > on the top of

Re: fit_check_sig not hashing everything.

2022-07-08 Thread Martin Bonner
On Thu, 7 Jul 2022 at 17:29, Martin Bonner wrote: > I have a 30MB FIT image as input, and I have added some debug to > hash_calculate in rsa-checksum.c to print the amount of data being hashed. > The answer is a rather scary "1106 bytes"! ... > > Can anyone clarify what is happening? > Never

Re: [PATCH 4/4] doc: Migrate Process wiki page to sphinx

2022-07-08 Thread Martin Bonner
Martin On Fri, 8 Jul 2022 at 08:06, Claudius Heine wrote: > Hi Tom, > > On 2022-06-27 19:17, Tom Rini wrote: > > Move the current Process wiki page to doc/develop/process.rst. The > > changes here are for formatting or slight rewording so that it reads > > well when linking to other sphinx

Re: [PATCH 2/4] doc: Migrate DesignPrinciples wiki page to sphinx

2022-07-08 Thread Claudius Heine
Hi Tom, On 2022-06-27 19:17, Tom Rini wrote: Move the current DesignPrinciples wiki page to doc/develop/designprinciples.rst. The changes here are for formatting or slight rewording so that it reads well when linking to other sphinx documents. Signed-off-by: Tom Rini ---

Re: [PATCH v6 3/7] tpm: Add the RNG child device

2022-07-08 Thread Ilias Apalodimas
Hi Simon, [...] > > + > > UCLASS_DRIVER(tpm) = { > > - .id = UCLASS_TPM, > > - .name = "tpm", > > - .flags = DM_UC_FLAG_SEQ_ALIAS, > > + .id = UCLASS_TPM, > > + .name = "tpm", > > + .flags

Re: [PATCH v11 10/13] fpga: zynqmp: optimize zynqmppl_load() code

2022-07-08 Thread Michal Simek
On 7/5/22 21:23, Oleksandr Suvorov wrote: Optimize function code preparing to add secure bitstream types support. Can you please extend this? I understand what you do below but better description will be good. Signed-off-by: Oleksandr Suvorov Tested-by: Ricardo Salveti Tested-by:

Re: [RFC PATCH 1/3] eficonfig: add UEFI Secure Boot Key enrollment interface

2022-07-08 Thread Ilias Apalodimas
On Fri, 8 Jul 2022 at 13:37, Masahisa Kojima wrote: > > On Fri, 8 Jul 2022 at 18:14, Ilias Apalodimas > wrote: > > > > On Sun, Jun 19, 2022 at 02:20:20PM +0900, Masahisa Kojima wrote: > > > This commit adds the menu-driven UEFI Secure Boot Key > > > enrollment interface. User can enroll the PK,

Re: [PATCH v11 08/13] spl: fit: pass real compatible flags to fpga_load()

2022-07-08 Thread Michal Simek
On 7/5/22 21:23, Oleksandr Suvorov wrote: CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. Convert taken FPGA image "compatible" string to a binary compatible flag

Re: [PATCH v11 10/13] fpga: zynqmp: optimize zynqmppl_load() code

2022-07-08 Thread Oleksandr Suvorov
Hi Michal, On Fri, Jul 8, 2022 at 3:43 PM Michal Simek wrote: > > > > On 7/5/22 21:23, Oleksandr Suvorov wrote: > > Optimize function code preparing to add secure bitstream types > > support. > > Can you please extend this? I understand what you do below but better > description will be good.

[PATCH v2 9/9] board: qualcomm: Add support for QCS404 EVB

2022-07-08 Thread Sumit Garg
Add support for Qualcomm QCS404 SoC based evaluation board. Features: - Qualcomm Snapdragon QCS404 SoC - 1GiB RAM - 8GiB eMMC, uSD slot U-boot is chain loaded by ABL in 64-bit mode as part of boot.img. For detailed build and boot instructions, refer to doc/board/qualcomm/qcs404.rst.

Re: [PATCH v11 10/13] fpga: zynqmp: optimize zynqmppl_load() code

2022-07-08 Thread Michal Simek
On 7/8/22 15:15, Oleksandr Suvorov wrote: Hi Michal, On Fri, Jul 8, 2022 at 3:43 PM Michal Simek wrote: On 7/5/22 21:23, Oleksandr Suvorov wrote: Optimize function code preparing to add secure bitstream types support. Can you please extend this? I understand what you do below but

Re: [PATCH v11 00/13] fpga: zynqmp: Adding support of loading authenticated images

2022-07-08 Thread Michal Simek
Hi, On 7/5/22 21:23, Oleksandr Suvorov wrote: This patchset introduces support for the authenticated and encrypted FPGA images on ZynqMP boards, besides that introducing common way to pass the compatible property to any fpga driver. It bases on the initial work by Jorge Ramirez-Ortiz

[PATCH v2 1/9] board: starqltechn: Align DT node overrides with sdm845.dtsi

2022-07-08 Thread Sumit Garg
Currently there is a mismatch among DT node overrides in starqltechn board DTS file and the actual DT nodes in the sdm845.dtsi. So fix that to align with DT nodes in sdm845.dtsi. Signed-off-by: Sumit Garg --- arch/arm/dts/starqltechn-uboot.dtsi | 18 --

[PATCH v2 0/9] New boards support: db845c and qcs404-evb

2022-07-08 Thread Sumit Garg
Add support for two new boards db845c and qcs404-evb: - db845c is a 96boards compliant platform aka RB3 based on Qualcomm SDM845 SoC. - qcs404-evb is an evaluation board from Qualcomm based on QCS404 SoC. Both these platforms have one thing in common that u-boot is chain-loaded in 64-bit mode

[PATCH v2 2/9] arm64: dts: sdm845: Remove redundant u-boot DT properties

2022-07-08 Thread Sumit Garg
According to u-boot DT recomendation, u-boot specific DT properties belong to *-uboot.dtsi. Also for starqltechn board (which is the only current consumer of sdm845.dtsi), the properties are already included in starqltechn-uboot.dtsi, so remove corresponding redundant properties. Signed-off-by:

[PATCH v2 8/9] clocks: qcom: Add clock driver for QCS404 SoC

2022-07-08 Thread Sumit Garg
Currently its a dummy clock driver as clocks for UART and eMMC have been already enabled by ABL. Along with this import "qcom,gcc-qcs404.h" header from Linux mainline to support DT bindings. Signed-off-by: Sumit Garg --- arch/arm/mach-snapdragon/clock-qcs404.c | 30

[PATCH v2 3/9] clocks: sdm845: Import qcom,gcc-sdm845.h

2022-07-08 Thread Sumit Garg
Rather than using magic numbers as clock ids for peripherals import qcom,gcc-sdm845.h from Linux to be used standard macros for clock ids. So start using corresponding clk-id macro for debug UART. Signed-off-by: Sumit Garg --- arch/arm/dts/sdm845.dtsi| 3 +-

[PATCH v2 4/9] uart: sdm845: Fix debug UART pinmux

2022-07-08 Thread Sumit Garg
Configure debug UART pins as function: "qup9" rather than being regular gpios. It fixes a hang seen during pinmux setting. Signed-off-by: Sumit Garg --- arch/arm/dts/sdm845.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/sdm845.dtsi

[PATCH v2 5/9] board: qualcomm: Add support for dragonboard845c

2022-07-08 Thread Sumit Garg
Add support for 96Boards Dragonboard 845C aka Robotics RB3 development platform. This board complies with 96Boards Open Platform Specifications. Features: - Qualcomm Snapdragon SDA845 SoC - 4GiB RAM - 64GiB UFS drive U-boot is chain loaded by ABL in 64-bit mode as part of boot.img. For detailed

[PATCH v2 6/9] mmc: msm_sdhci: Add SDCC version 5.0.0 support

2022-07-08 Thread Sumit Garg
For SDCC version 5.0.0, MCI registers are removed from SDCC interface and some registers are moved to HC. So add support to use the new compatible string "qcom,sdhci-msm-v5". Based on this new msm variant, pick the relevant variant data and use it to detect MCI presence thereby configuring

[PATCH v2 7/9] pinctrl: qcom: Add pinctrl driver for QCS404 SoC

2022-07-08 Thread Sumit Garg
Currently this pinctrl driver only supports BLSP UART2 specific pin configuration. Signed-off-by: Sumit Garg --- arch/arm/mach-snapdragon/Makefile | 1 + arch/arm/mach-snapdragon/pinctrl-qcs404.c | 55 +++ arch/arm/mach-snapdragon/pinctrl-snapdragon.c | 1 +

Re: [PATCH v6 00/25] Add support for MediaTek MT7621 SoC - v6

2022-07-08 Thread Daniel Schwierzeck
On 20.05.22 05:21, Weijie Gao wrote: This series will add support for MediaTek MT7621 SoC with two reference boards and related drivers. The MediaTek MT7621 is a network processor integrating a dual-core dual-threaded MIPS 1004Kc processor running at a normal frequency of 880MHz. This chip

Re: [PATCH v3] board: freescale: p1_p2_rdb_pc: Fix parsing inverted bits from boot input data

2022-07-08 Thread Tom Rini
On Sat, Jul 09, 2022 at 12:49:27AM +0200, Pali Rohár wrote: > PING? > > How many times you would ask me to again rebase this patch?? > > On Sunday 03 July 2022 14:39:13 Pali Rohár wrote: > > On Thursday 23 June 2022 15:04:08 Pali Rohár wrote: > > > On Thursday 16 June 2022 14:37:07 Pali Rohár

Re: [PATCH v2] board: freescale: p1_p2_rdb_pc: Add env commands norlowerboot, norupperboot, sd2boot and defboot

2022-07-08 Thread Tom Rini
[resend to the list too this time] On Sat, Jul 09, 2022 at 12:43:44AM +0200, Pali Rohár wrote: > PING > > I still have not received any response. What is the point? > > On Sunday 03 July 2022 14:38:36 Pali Rohár wrote: > > PING! > > > > On Thursday 23 June 2022 15:43:45 Pali Rohár wrote: >

Re: [PATCH] board_init: Do not reserve MALLOC_F area on stack if non-zero MALLOC_F_ADDR

2022-07-08 Thread Marek Vasut
On 6/30/22 15:36, Tom Rini wrote: Hi, [...] In case the MALLOC_F_ADDR is set to non-zero value, the early malloc area is not going to be placed just below stack top, but elsewhere. Do not reserve MALLOC_F bytes in this case, as that wastes stack space and may even cause insufficient stack

Re: [PATCH] imx8mq_phanbell: Remove custom CONFIG_SYS_MALLOC_F_LEN

2022-07-08 Thread Tom Rini
On Fri, Jul 08, 2022 at 02:24:52PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Currently, the imx8mq_phanbell board fails to boot. > > Remove the custom CONFIG_SYS_MALLOC_F_LEN setting in favor of the > generic one done via the main Kconfig. > > Since commit b598957206e5 ("Kconfig:

[PATCH] imx8mq_phanbell: Remove custom CONFIG_SYS_MALLOC_F_LEN

2022-07-08 Thread Fabio Estevam
From: Fabio Estevam Currently, the imx8mq_phanbell board fails to boot. Remove the custom CONFIG_SYS_MALLOC_F_LEN setting in favor of the generic one done via the main Kconfig. Since commit b598957206e5 ("Kconfig: Fix SYS_MALLOC_F_LEN for i.MX8MQ") the default SYS_MALLOC_F_LEN value for

[PATCH v17 1/2] net: Add TCP protocol

2022-07-08 Thread Ying-Chun Liu (PaulLiu)
From: "Ying-Chun Liu (PaulLiu)" Currently file transfers are done using tftp or NFS both over udp. This requires a request to be sent from client (u-boot) to the boot server. The current standard is TCP with selective acknowledgment. Signed-off-by: Duncan Hare Signed-off-by: Duncan Hare

[PATCH v17 2/2] net: Add wget application

2022-07-08 Thread Ying-Chun Liu (PaulLiu)
From: "Ying-Chun Liu (PaulLiu)" This commit adds a simple wget command that can download files from http server. The command syntax is wget ${loadaddr} Signed-off-by: Duncan Hare Signed-off-by: Ying-Chun Liu (PaulLiu) Cc: Christian Gmeiner Cc: Joe Hershberger Cc: Michal Simek Cc: Ramon

[PATCH] requirements: Move to atomicwrites==1.4.1

2022-07-08 Thread Tom Rini
As explained upstream: https://github.com/untitaker/python-atomicwrites/issues/61 there is no longer a 1.3.0 version but the API is unchanged. Move to 1.4.1. Signed-off-by: Tom Rini --- test/py/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] requirements: Move to atomicwrites==1.4.1

2022-07-08 Thread Tom Rini
On Fri, Jul 08, 2022 at 03:43:04PM -0400, Tom Rini wrote: > As explained upstream: > https://github.com/untitaker/python-atomicwrites/issues/61 there is no > longer a 1.3.0 version but the API is unchanged. Move to 1.4.1. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [PATCH] cmd: ti: ddr3: correct minor spelling mistake in Ti DDR3

2022-07-08 Thread Tom Rini
On Fri, Jul 08, 2022 at 09:02:56AM +0100, Ramin Zaghi wrote: > Hi > > I've searched a little to find a document that explains how to contribute to > U-Boot. But couldn't find one. I hope this is the right way and who do I CC > !? This is the right way, thanks. > > From

Re: [TF-A] [RFC] Proposed location to host the firmware handoff specification.

2022-07-08 Thread Julius Werner
Hi Jose, Can you provide a bit more background on where this proposal suddenly came from and what considerations went into its design? The mailing list discussion from last year sort of petered out without much concrete agreement, and now you're here with a full specification. It's hard to

Re: [PULL] u-boot-mips for u-boot/next (v2022.10)

2022-07-08 Thread Tom Rini
On Fri, Jul 08, 2022 at 05:21:48PM +0200, Daniel Schwierzeck wrote: > > Gitlab CI: > https://source.denx.de/u-boot/custodians/u-boot-mips/-/pipelines/12656 > > Azure: > > https://dev.azure.com/danielschwierzeck/u-boot/_build/results?buildId=30=results > > > The following changes since

Re: Error: cmd/libkiosk_crypto.c:5:10: fatal error: unistd.h: No such file or directory

2022-07-08 Thread Ralph Siemsen
On Thu, Jul 7, 2022 at 7:07 AM Thu Ra wrote: > > Error: cmd/libkiosk_crypto.c:5:10: fatal error: unistd.h: No such file or > directory This file (libkiosk_crypto.c) is not part of u-boot. In the build log, we can see that it is copied into the u-boot tree: cp ../common/src/libkiosk_crypto.c

[PATCH 1/2] designprinciples.rst: Perform minor cleanups

2022-07-08 Thread Tom Rini
- Remove some missed wiki markup, and escape a "\n" correctly. - Use gender-neutral language to refer to the user, consistently. Cc: Claudius Heine Signed-off-by: Tom Rini --- doc/develop/designprinciples.rst | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-)

[PATCH 2/2] process.rst: Perform minor cleanups

2022-07-08 Thread Tom Rini
- Use gender-neutral language to refer to the user, consistently. - Reword a few places so that they read more naturally. - Make the long standing practice around "Twilight Time" more clear, hopefully. - Replace a reference to MAKEALL with a reference to CI testing as that's the current

[PATCH] cmd: fdt: Add support for reading stringlist property values

2022-07-08 Thread Marek Vasut
The fdt command currently handles stringlists as strings in 'fdt get value' subcommand. Since strings in FDT stringlists are separated by '\0', only the first value gets inserted into the environment variable passed to the 'fdt get value' command. Example, consider the following DT snippet: / {

[PATCH] board_init: Convert CONFIG_MALLOC_F_ADDR to Kconfig

2022-07-08 Thread Marek Vasut
Convert CONFIG_MALLOC_F_ADDR to Kconfig. The CL IoT gate board used MALLOC_F_ADDR 0x912000 on i.MX8M Mini unlike all the other platforms which use 0x93 . This has been aligned with the other i.MX8M Mini platforms. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Kirill Kapranov Cc: Peng

Re: [PATCH v3] board: freescale: p1_p2_rdb_pc: Fix parsing inverted bits from boot input data

2022-07-08 Thread Pali Rohár
PING? How many times you would ask me to again rebase this patch?? On Sunday 03 July 2022 14:39:13 Pali Rohár wrote: > On Thursday 23 June 2022 15:04:08 Pali Rohár wrote: > > On Thursday 16 June 2022 14:37:07 Pali Rohár wrote: > > > On some boards upper 4 bits of i2c boot input data (register 0)

Re: [RFC PATCH 0/2] Support UEFI SPI I/O protocol

2022-07-08 Thread Heinrich Schuchardt
Am 8. Juli 2022 11:45:54 MESZ schrieb Paul Barker : >I'm looking for some initial feedback on the following patches which add >support >for the UEFI SPI I/O protocol defined in the UEFI Platform Initialization (PI) >Specification, Version 1.7 Errata A (April 2020). I'd like to know if the

Re: Please pull u-boot-dm/next

2022-07-08 Thread Tom Rini
On Tue, Jun 28, 2022 at 07:41:16AM -0600, Simon Glass wrote: > Hi Tom, > > This is for the -next branch. > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/commit/e87da5704ffa6fc782d93d137fa30a37a5df3566 > > > The following changes since commit ea82ed8c2eaee0a0f7dee31016aaee4ce88e9ea7:

[PATCH v17 0/2] add TCP and HTTP for downloading images

2022-07-08 Thread Ying-Chun Liu (PaulLiu)
From: "Ying-Chun Liu (PaulLiu)" This patch is a refresh from previous patches made by Duncan Hare . I've contacted him and continue to work on this patch. This patch introduce a TCP stack with SACK. And a simple wget command to download images from http server. v1-v12: Made by Duncan, didn't

Re: [PATCH 2/2] board: ti: am335x: Use correct dtbs for SanCloud boards

2022-07-08 Thread Tom Rini
On Fri, Jul 08, 2022 at 10:25:46AM +0100, Paul Barker wrote: > We have different dtbs for the Lite and Extended WiFi variants of the > SanCloud BBE. > > Signed-off-by: Paul Barker Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [RFC PATCH 1/2] efi_loader: Add SPI I/O protocol support

2022-07-08 Thread Tom Rini
On Fri, Jul 08, 2022 at 10:45:55AM +0100, Paul Barker wrote: > This addition allows UEFI applications running under u-boot to access > peripherals on SPI busses. It is based on the UEFI Platform > Initialization (PI) Specification, Version 1.7 Errata A (April 2020). > Only the core functionality

Re: [PATCH 1/2] board: ti: am335x: Enable spi0 bus on SanCloud BBE Lite

2022-07-08 Thread Tom Rini
On Fri, Jul 08, 2022 at 10:25:45AM +0100, Paul Barker wrote: > The SanCloud BBE Lite has a Micron Authenta flash device connected to > the spi0 bus. > > Signed-off-by: Paul Barker Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH] ARM: layerscape: Use ARCH_LS104?A insead of TARGET_LS104?ARDB

2022-07-08 Thread Sean Anderson
On 7/7/22 11:08 AM, Sean Anderson wrote: > > > On 4/26/22 2:31 PM, Sean Anderson wrote: >> These frequency calculations depend on the RCW format, which is not >> dependent on any particular board. Switch to using ARCH symbols instead >> of TARGET. >> >> This whole function could probably use

Re: [PATCH 4/4] doc: Migrate Process wiki page to sphinx

2022-07-08 Thread Tom Rini
On Fri, Jul 08, 2022 at 08:22:12AM +0100, Martin Bonner wrote: > Martin > > > On Fri, 8 Jul 2022 at 08:06, Claudius Heine wrote: > > > Hi Tom, > > > > On 2022-06-27 19:17, Tom Rini wrote: > > > Move the current Process wiki page to doc/develop/process.rst. The > > > changes here are for

[PATCH] mtd: spi-nor-ids: add winbond w25q512nw family support

2022-07-08 Thread Jae Hyun Yoo
Add Winbond w25q512nwiq/in and w25q512nwim support. datasheet: https://www.winbond.com/resource-files/W25Q512NW%20RevB%2007192021.pdf Signed-off-by: Jae Hyun Yoo --- drivers/mtd/spi/spi-nor-ids.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c

[PATCH v2] mtd: spi-nor-ids: add winbond w25q512nw family support

2022-07-08 Thread Jae Hyun Yoo
Add Winbond w25q512nwq/n and w25q512nwm support. datasheet: https://www.winbond.com/resource-files/W25Q512NW%20RevB%2007192021.pdf Signed-off-by: Jae Hyun Yoo --- Changes in v2: * Changed name from w25q512nwiq and w25q512nwim to w25q512nwq and w25q512nwm respectively to make them sync with

Re: [PATCH] distroboot: Fix ubifs

2022-07-08 Thread Tom Rini
On Tue, May 31, 2022 at 10:32:36AM +0200, Pali Rohár wrote: > Fix multiple issues in ubifs distroboot code: > > U-Boot supports attaching only one MTD device as UBI at the time. So > always call 'ubifsmount ubi0:${bootubivol}' for mounting UBI volume > ${bootubivol}. Usage of 'ubi${devnum}' is

Re: [PATCH 1/1] sound: enable building DA7219 driver with ACPIGEN=n

2022-07-08 Thread Tom Rini
On Sun, Jun 12, 2022 at 01:15:34PM +, Heinrich Schuchardt wrote: > sandbox_defconfig builds the DA7219 driver. It should be possible to > build the sandbox without ACPI support. > > ACPI support in the DA7219 driver is only needed when creating an ACPI > table. Fix building with ACPIGEN=n. >

Re: [PATCH 1/1] snd: enable building max98357a driver with ACPIGEN=n

2022-07-08 Thread Tom Rini
On Sun, Jun 12, 2022 at 01:13:05PM +, Heinrich Schuchardt wrote: > sandbox_defconfig builds the max98357a driver. It should be possible to > build the sandbox without ACPI support. > > ACPI support in the max98357a driver is only needed when creating an ACPI > table. Fix building with

Re: [PATCH v2] ubifs: Fix reference count leak in ubifsumount

2022-07-08 Thread Tom Rini
On Mon, May 30, 2022 at 11:09:11AM +0200, Pali Rohár wrote: > Original ubifs code was designed that after ubifs_umount() call it is > required to also call ubi_close_volume() which closes underlying UBI > volume. But U-Boot ubifs modification have not implemented it properly > which caused that

Re: [PATCH] ti: keystone: Don't select GPIO_EXTRA_HEADER

2022-07-08 Thread Tom Rini
On Fri, Jul 08, 2022 at 11:14:52AM +0200, Michal Simek wrote: > keystone doesn't have custom gpio.h that's why don't select > GPIO_EXTRA_HEADER which points to it. > > Logic in arch/arm/include/asm/gpio.h is very clear > > #ifdef CONFIG_GPIO_EXTRA_HEADER > #include > #endif > #include >

Re: [PATCH v2] Add SCSI scan for ENV in EXT4 or FAT

2022-07-08 Thread Tom Rini
On Wed, May 11, 2022 at 11:20:28PM +0200, rog...@unrailed.org wrote: > From: Rogier Stam > > When having environment stored in EXT4 or FAT > and using an AHCI or SCSI device / partition > the scan would not be performed early enough > and hence the device would not be recognized. > This change

Re: [PATCH 1/1] test: fix CONFIG_ACPIGEN dependencies

2022-07-08 Thread Tom Rini
On Sun, Jun 12, 2022 at 12:28:22PM +, Heinrich Schuchardt wrote: > Some tests cannot be built with CONFIG_ACPIGEN=n. Consider this in the > Makefile. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] serial: ns16550: Wait in debug_uart_init until tx buffer is empty

2022-07-08 Thread Tom Rini
On Thu, Jun 23, 2022 at 02:13:56PM +0200, Pali Rohár wrote: > Commit d293759d55cc ("serial: ns16550: Add support for > SPL_DEBUG_UART_BASE") fixed support for setting correct early debug UART > base address in SPL. > > But after this commit, output from Marvell A385 BootROM is truncated or >

Re: [PATCH] fw_env: add fallback to Linux's NVMEM based access

2022-07-08 Thread Tom Rini
On Thu, Jun 16, 2022 at 08:59:03PM +0200, Rafał Miłecki wrote: > From: Rafał Miłecki > > A new DT binding for describing environment data block has been added in > Linux's commit 5db1c2dbc04c ("dt-bindings: nvmem: add U-Boot environment > variables binding"). Once we get a proper Linux NVMEM

Re: [PATCH v2] mtd: rawnand: Add support to dedicated function to set timings

2022-07-08 Thread Tom Rini
On Wed, Jun 22, 2022 at 11:11:45AM +0200, kory.mainc...@bootlin.com wrote: > From: Kory Maincent > > With the current code if the board has an ONFI compliant NAND without > support to the get and set features, U-boot returns an ENOTSUP error when > trying to tune the timings which prevents the

Re: [PATCH v2] led: pwm: Use NOP uclass driver for top-level node

2022-07-08 Thread Tom Rini
On Thu, Jun 23, 2022 at 11:25:29AM +0200, Stefan Herbrechtsmeier wrote: > From: Stefan Herbrechtsmeier > > The top level DT node of pwm-leds is not a LED itself, bind NOP uclass > driver to it, and bind different LED uclass driver to its subnodes which > represent the actual LEDs. This change

Re: [PATCH 1/1] Makefile: respect CONFIG_CC_OPTIMIZE_FOR_DEBUG for host tools

2022-07-08 Thread Tom Rini
On Thu, Jun 16, 2022 at 01:43:50PM +0200, Heinrich Schuchardt wrote: > If CONFIG_CC_OPTIMIZE_FOR_DEBUG=y, the host tools should be built with > debug symbols and with reduced optimization. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/next, thanks! -- Tom signature.asc

Re: [PATCH] regmap: fix some comments

2022-07-08 Thread Tom Rini
On Fri, Jun 24, 2022 at 11:19:15AM -0400, Ralph Siemsen wrote: > Correct spelling and copy/paste errors in comments. > > Fixes 1c4db59d9b ("regmap: Add support for regmap fields") > > Signed-off-by: Ralph Siemsen > Reviewed-by: Simon Glass Applied to u-boot/next, thanks! -- Tom

Re: [PATCH] board_init: Do not reserve MALLOC_F area on stack if non-zero MALLOC_F_ADDR

2022-07-08 Thread Tom Rini
On Sat, Jun 25, 2022 at 07:58:24PM +0200, Marek Vasut wrote: > In case the MALLOC_F_ADDR is set to non-zero value, the early malloc area is > not going to be placed just below stack top, but elsewhere. Do not reserve > MALLOC_F bytes in this case, as that wastes stack space and may even cause >

[PATCH 2/2] mtd: nand: mxs_nand_spl Fix loop exit condition

2022-07-08 Thread Michael Trimarchi
When size is 0 we need to stop the inner loop or we just waste time to load all the block of the eraseblock Signed-off-by: Michael Trimarchi --- drivers/mtd/nand/raw/mxs_nand_spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/raw/mxs_nand_spl.c

[PATCH 1/2] mtd: nand: Fix ecc in mxs_nand_spl onfi mode

2022-07-08 Thread Michael Trimarchi
We need to calculate the ecc parameters in a way that are the same in uboot and spl. The parameters are connected to the onfi computation. We need to assign all the value of chip in order to have same ecc strength parameters before calling mxs_nand_set_geometry that calculate the ecc layout /*

Re: [PATCH v4 2/3] drivers: tee: optee: discover OP-TEE services

2022-07-08 Thread Tom Rini
On Fri, Jun 17, 2022 at 05:36:52PM +0200, Etienne Carriere wrote: > This change defines resources for OP-TEE service drivers to register > themselves for being bound to when OP-TEE firmware reports the related > service is supported. OP-TEE services are discovered during optee > driver probe

[PATCH] bsh: imx6ulz_smm_m2: Add imx6ulz BSH SMM M2 boards

2022-07-08 Thread Michael Trimarchi
Introduce BSH SystemMaster (SMM) M2 board family, which consists of: imx6ulz SMM M2 and imx6ulz SMM M2 PRO boards. Add support for imx6ulz BSH SMM M2 board: - 128 MiB DDR3 RAM - 256MiB Nand - USBOTG1 peripheral - fastboot. Signed-off-by: Michael Trimarchi --- arch/arm/dts/Makefile

[PULL] u-boot-mips for u-boot/next (v2022.10)

2022-07-08 Thread Daniel Schwierzeck
Gitlab CI: https://source.denx.de/u-boot/custodians/u-boot-mips/-/pipelines/12656 Azure: https://dev.azure.com/danielschwierzeck/u-boot/_build/results?buildId=30=results The following changes since commit 2d2c61ff0460740d9ec5a44dbef9255a8c690696: Merge tag 'efi-2022-07-rc7' of

Re: [PATCH 2/2] usb: hub: increase HUB_DEBOUNCE_TIMEOUT

2022-07-08 Thread Marek Vasut
On 7/4/22 12:45, Patrick Delaunay wrote: Increase HUB_DEBOUNCE_TIMEOUT to 2000 because some usb device needs around 1.5s or more to make the hub port status to be connected steadily after being powered off and powered on. These value is aligned with Linux driver and avoids to configure