Re: [PATCH v4 2/6] tpm: Support boot measurements

2023-01-25 Thread Ilias Apalodimas
Hi Eddie, Thanks for the cleanup! Unfortunately this doesn't compile with EFI selected, but in general it looks pretty good. On Wed, Jan 25, 2023 at 11:18:06AM -0600, Eddie James wrote: > Add TPM2 functions to support boot measurement. This includes > starting up the TPM, initializing/appending

[PATCH] powerpc/mpc85xx: use board env file for socrates board

2023-01-25 Thread Heiko Schocher
as Tom suggested get rid of CFG_EXTRA_ENV_SETTINGS and enable CONFIG_ENV_SOURCE_FILE and use text file board/socrates/socrates.env which contains the default environment. While at it, cleanup the default Environment. Signed-off-by: Heiko Schocher Suggested-by: Tom Rini --- This patch is a

Re: [PATCH v4 3/6] bootm: Support boot measurement

2023-01-25 Thread Ilias Apalodimas
Hi Eddie, On Wed, Jan 25, 2023 at 11:18:07AM -0600, Eddie James wrote: > Add a configuration option to measure the boot through the bootm > function. Add the measurement state to the booti and bootz paths > as well. > > Signed-off-by: Eddie James > --- > boot/Kconfig| 23 >

Re: [PATCH v4 4/6] tpm: sandbox: Update for needed TPM2 capabilities

2023-01-25 Thread Ilias Apalodimas
On Wed, Jan 25, 2023 at 11:18:08AM -0600, Eddie James wrote: > The driver needs to support getting the PCRs in the capabilities > command. Fix various other things and support the max number > of PCRs for TPM2. > > Signed-off-by: Eddie James > Reviewed-by: Simon Glass > --- >

Re: [PATCH v3] watchdog: Add a watchdog driver for Raspberry Pi boards

2023-01-25 Thread Stefan Roese
On 1/25/23 10:57, ETIENNE DUBLE wrote: This driver supports the bcm2835 watchdog found on Raspberry Pi boards. It is derived from the Linux driver and was tested on two Raspberry Pi board versions (B+ and 3B+). Signed-off-by: Etienne Dublé Reviewed-by: Stefan Roese Thanks, Stefan ---

[PATCH] efi_loader: leave attribute check to StMM variable service

2023-01-25 Thread Masahisa Kojima
Current U-Boot supports two EFI variable service, U-Boot own implementation and op-tee based StMM variable service. For latter case, parameter check should leave to StMM. This commit removes the attribute check from the common function(efi_query_variable_info) and moves it to

Re: [PATCH] Revert "config: tools only: add VIDEO to build bmp_logo"

2023-01-25 Thread Fabio Estevam
Hi Rasmus, On Wed, Jan 25, 2023 at 11:59 AM Rasmus Villemoes wrote: > So I also got curious about that part, because when I build > tools-only_defconfig with older U-Boot releases I don't get a bmp_logo > tool built. > > I think I figured that out (but only after it's been revealed that this >

RE: [0/4] Add eMMC 5.1 support for Versal NET

2023-01-25 Thread Jaehoon Chung
Hi, > -Original Message- > From: Michal Simek > Sent: Tuesday, January 24, 2023 10:02 PM > To: Ashok Reddy Soma ; u-boot@lists.denx.de; > Jaehoon Chung > > Cc: peng@nxp.com; kever.y...@rock-chips.com; > hayashi.kunih...@socionext.com; > alpernebiya...@gmail.com;

Re: [PATCH] tools: mkimage: Allow changing U-Boot image magic

2023-01-25 Thread Simon Glass
Hi Hauke, On Mon, 23 Jan 2023 at 15:45, Hauke Mehrtens wrote: > > On 1/23/23 19:49, Simon Glass wrote: > > Hi, > > > > On Sun, 22 Jan 2023 at 07:20, Hauke Mehrtens wrote: > >> > >> Extend mkimage with a new optional option -M to specify a special U-Boot > >> image magic number. OpenWrt ships

Re: [PATCH 1/7] README: correct path to sandbox.rst

2023-01-25 Thread Simon Glass
On Wed, 25 Jan 2023 at 11:15, Heinrich Schuchardt wrote: > > sandbox.rst was moved. > > Fixes: 2851cc94f301 ("dm: Add documentation for host command and > implementation") > Signed-off-by: Heinrich Schuchardt > --- > README | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [PATCH v4 5/6] test: Add sandbox TPM boot measurement

2023-01-25 Thread Simon Glass
Hi Eddie, On Wed, 25 Jan 2023 at 10:18, Eddie James wrote: > > Use the sandbox TPM driver to measure some boot images in a unit > test case. > > Signed-off-by: Eddie James > --- > arch/sandbox/dts/sandbox.dtsi | 14 > arch/sandbox/dts/test.dts | 13 +++ >

Re: [PATCH 2/2] mmc: erase: Use TRIM erase when available

2023-01-25 Thread Simon Glass
Hi Loic, On Wed, 25 Jan 2023 at 10:31, Loic Poulain wrote: > > The default erase command applies on erase group unit, and > simply round down to erase group size. When the start block > is not aligned to erase group size (e.g. erasing partition) > it causes unwanted erasing of the previous

Re: [PATCH 1/6] drivers: core: ofnode: Add panel timing decode.

2023-01-25 Thread Simon Glass
Hi Nikhl, On Tue, 24 Jan 2023 at 22:14, Nikhl M Jain wrote: > > Hi Simon, > > On 24/01/23 00:12, Simon Glass wrote: > > Hi Nikhil, > > > > On Mon, 23 Jan 2023 at 01:07, Nikhil M Jain wrote: > >> > >> ofnode_decode_display_timing supports reading timing parameters from > >> subnode of

Re: [PATCH v4 3/6] bootm: Support boot measurement

2023-01-25 Thread Simon Glass
Hi Eddie, On Wed, 25 Jan 2023 at 10:18, Eddie James wrote: > > Add a configuration option to measure the boot through the bootm > function. Add the measurement state to the booti and bootz paths > as well. > > Signed-off-by: Eddie James > --- > boot/Kconfig| 23 >

Re: [PATCH 01/14] trace: Use notrace for short

2023-01-25 Thread Simon Glass
Hi Stefan, On Wed, 25 Jan 2023 at 00:53, Stefan Herbrechtsmeier wrote: > > Hi Simon, > > Am 24.01.2023 um 23:44 schrieb Simon Glass: > > Hi Stefan, > > > > On Tue, 24 Jan 2023 at 05:14, Stefan Herbrechtsmeier > > wrote: > >> Hi Simon, > >> > >> Am 24.01.2023 um 11:55 schrieb Simon Glass: > >>>

Re: [PATCH v2 2/4] sunxi: binman: Move BL31 and SCP firmware addresses to Kconfig

2023-01-25 Thread Simon Glass
Hi Andre, On Wed, 25 Jan 2023 at 05:24, Andre Przywara wrote: > > On Tue, 24 Jan 2023 15:44:30 -0700 > Simon Glass wrote: > > > Hi Samuel, > > > > On Mon, 23 Jan 2023 at 22:22, Samuel Holland wrote: > > > > > > Hi Simon, > > > > > > On 1/23/23 12:42, Simon Glass wrote: > > > > HI Samuel, > > >

Re: [PATCH v2 2/2] usb: move CONFIG_USB_HUB_DEBOUNCE_TIMEOUT to USB

2023-01-25 Thread Marek Vasut
On 1/25/23 19:40, Heinrich Schuchardt wrote: This configuration setting is only relevant if the board supports USB. It should not be in the main menu but in the USB menu. The setting is only relevant in USB host mode. Fixes: 5454dea3137d ("usb: hub: allow to increase HUB_DEBOUNCE_TIMEOUT")

Re: [PATCH v2 1/2] usb: USB hubs require host mode

2023-01-25 Thread Marek Vasut
On 1/25/23 19:40, Heinrich Schuchardt wrote: USB hubs run in host mode not in gadget mode. Hence, compiling usb_hub.c should not be selected by CONFIG_USB_GADGET. Suggested-by: Marek Vasut Signed-off-by: Heinrich Schuchardt Reviewed-by: Marek Vasut

Re: [PATCH] mtd: rawnand: nand_base: Handle algorithm selection

2023-01-25 Thread William Zhang
Hi Linus, On 01/21/2023 03:43 PM, Linus Walleij wrote: For BRCMNAND with 1-bit BCH ECC (BCH-1) such as used on the D-Link DIR-885L and DIR-890L routers, we need to explicitly select the ECC like this in the device tree: nand-ecc-algo = "bch"; nand-ecc-strength = <1>;

Re: [PATCH 01/14] mtd: nand: brcm: switch to mtd_ooblayout_ops

2023-01-25 Thread William Zhang
Hi Linus, Unfortunately the u-boot nand base code still uses nand_ecclayout structure because it was based on old kernel nand driver. Your change cause bugcheck in the nand_scan_tail at line 4978 when mtd->oobsize is not one of the default size (i.e. some large nand with BCH-8 ecc

Re: [PATCH 1/1] README: remove 'U-Boot Porting Guide' section

2023-01-25 Thread Simon Glass
Hi Heinrich, On Wed, 25 Jan 2023 at 12:00, Heinrich Schuchardt wrote: > > This section does not match the standards of our documentation. > > Signed-off-by: Heinrich Schuchardt > --- > README | 74 -- > 1 file changed, 74 deletions(-) >

[PATCH] ti: j721e_evm: Add USB to the default boot order

2023-01-25 Thread Tom Rini
This family of platforms typically has a USB port, and so attempting to boot from it, and making it first, will provide a better overall user experience. Signed-off-by: Tom Rini --- include/configs/j721e_evm.h | 7 +++ 1 file changed, 7 insertions(+) diff --git

[PATCH] lmb: Default to not-LMB_USE_MAX_REGIONS

2023-01-25 Thread Tom Rini
The LMB code allows for picking a hard limit on the number of regions it can know of, or to dynamically allocate these regions. The reason for this choice is to allow for the compiler to perform a size optimization in the common case. This optimization however, is very small, ranging from 196

Re: [PATCH v2] usb: gadget: ether: split start/stop from init/halt

2023-01-25 Thread Kevin Hilman
Niel Fourie writes: > Split out _usb_eth_start() from _usb_eth_init() and > usb_eth_stop() from _usb_eth_halt(). Now _usb_eth_init() only > initialises and registers the gadget device, which _usb_eth_halt() > reverses, and together are used for probing and removing the > device. The

Re: [RFC PATCH 00/16] arm: Add Rockchip RK3588 support

2023-01-25 Thread Jonas Karlman
Hi Jagan, On 2023-01-25 23:27, Jagan Teki wrote: > This series support Rockchip RK3588. All the device tree files are > synced from linux-next with the proper SHA1 mentioned in the commit > messages. > > Unfortunately, the BL31 from rkbin is not compatible with U-Boot so > it is failing to load

Re: [PATCH 5/7] doc: move 'Reproducible builds'

2023-01-25 Thread Simon Glass
On Wed, 25 Jan 2023 at 11:15, Heinrich Schuchardt wrote: > > Move the README section to the HTML documentation. > > Signed-off-by: Heinrich Schuchardt > --- > README | 11 --- > doc/build/index.rst| 1 + > doc/build/reproducible.rst | 25

Re: [PATCH 7/7] doc: move directory hierarchy to HTML

2023-01-25 Thread Simon Glass
On Wed, 25 Jan 2023 at 11:15, Heinrich Schuchardt wrote: > > Move section 'Directory hierarchy' from file README to the HTML > documentation. > > Signed-off-by: Heinrich Schuchardt > --- > README | 38 --- > doc/develop/directories.rst | 76

Re: [PATCH 6/7] README: remove section 'Versioning'

2023-01-25 Thread Simon Glass
On Wed, 25 Jan 2023 at 11:15, Heinrich Schuchardt wrote: > > The information is already maintained in doc/develop/release_cycle.rst. > > Signed-off-by: Heinrich Schuchardt > --- > README | 16 > 1 file changed, 16 deletions(-) > Reviewed-by: Simon Glass

Re: [PATCH 4/7] README: replace references to CHANGELOG

2023-01-25 Thread Simon Glass
On Wed, 25 Jan 2023 at 11:15, Heinrich Schuchardt wrote: > > Board configurations are in configs/ and not in the Makefile. > > git log is the adequate way to identify who contributed to our source. > scripts/get_maintainer.pl is the correct way to identify maintainers. > > Signed-off-by: Heinrich

Re: [PATCH 3/7] README: remove NetBSD section

2023-01-25 Thread Simon Glass
On Wed, 25 Jan 2023 at 11:15, Heinrich Schuchardt wrote: > > The information in this section is outdated. > > Signed-off-by: Heinrich Schuchardt > --- > README | 29 - > 1 file changed, 29 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH 2/7] README: rework contribution advices

2023-01-25 Thread Simon Glass
On Wed, 25 Jan 2023 at 11:15, Heinrich Schuchardt wrote: > > Remove description of coding standards and patch submission process. > Link to the relevant HTML documentation instead. > > Signed-off-by: Heinrich Schuchardt > --- > README | 110

[RFC PATCH 11/16] arm64: dts: rockchip: Add base DT for rk3588 SoC

2023-01-25 Thread Jagan Teki
This initial version supports CPU, dma, interrupts, timers, UART and SDHCI (everything necessary to boot Linux on this system on chip) as well as Ethernet, I2C, PWM and SPI. The DT is split into rk3588 and rk3588s, which is a reduced version (i.e. with less peripherals) of the former. commit

Re: [PATCH 6/7] README: remove section 'Versioning'

2023-01-25 Thread Tom Rini
On Wed, Jan 25, 2023 at 07:15:01PM +0100, Heinrich Schuchardt wrote: > The information is already maintained in doc/develop/release_cycle.rst. > > Signed-off-by: Heinrich Schuchardt Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH 7/7] doc: move directory hierarchy to HTML

2023-01-25 Thread Tom Rini
On Wed, Jan 25, 2023 at 07:15:02PM +0100, Heinrich Schuchardt wrote: > Move section 'Directory hierarchy' from file README to the HTML > documentation. > > Signed-off-by: Heinrich Schuchardt Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH 5/7] doc: move 'Reproducible builds'

2023-01-25 Thread Tom Rini
On Wed, Jan 25, 2023 at 07:15:00PM +0100, Heinrich Schuchardt wrote: > Move the README section to the HTML documentation. > > Signed-off-by: Heinrich Schuchardt Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH 4/7] README: replace references to CHANGELOG

2023-01-25 Thread Tom Rini
On Wed, Jan 25, 2023 at 07:14:59PM +0100, Heinrich Schuchardt wrote: > Board configurations are in configs/ and not in the Makefile. > > git log is the adequate way to identify who contributed to our source. > scripts/get_maintainer.pl is the correct way to identify maintainers. > >

Re: [PATCH 3/7] README: remove NetBSD section

2023-01-25 Thread Tom Rini
On Wed, Jan 25, 2023 at 07:14:58PM +0100, Heinrich Schuchardt wrote: > The information in this section is outdated. > > Signed-off-by: Heinrich Schuchardt Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH 2/7] README: rework contribution advices

2023-01-25 Thread Tom Rini
On Wed, Jan 25, 2023 at 07:14:57PM +0100, Heinrich Schuchardt wrote: > Remove description of coding standards and patch submission process. > Link to the relevant HTML documentation instead. > > Signed-off-by: Heinrich Schuchardt Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP

Re: [PATCH 1/1] README: remove 'U-Boot Porting Guide' section

2023-01-25 Thread Tom Rini
On Wed, Jan 25, 2023 at 08:00:23PM +0100, Heinrich Schuchardt wrote: > This section does not match the standards of our documentation. > > Signed-off-by: Heinrich Schuchardt Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

[RFC PATCH 16/16] board: rockchip: Add Edgeble Neural Compute Module 6

2023-01-25 Thread Jagan Teki
Neural Compute Module 6(Neu2) is a 96boards SoM-CB compute module based on Rockchip RK3588 from Edgeble AI. General features: - Rockchip RK3588 - up to 32GB LPDDR4x - up to 128GB eMMC - 2x MIPI CSI2 FPC On module WiFi6/BT5 is available in the following Neu6 variants. Neural Compute Module

[RFC PATCH 14/16] arm: rockchip: Add RK3588 arch core support

2023-01-25 Thread Jagan Teki
The Rockchip RK3588 is a ARM-based SoC with quad-core Cortex-A76 and quad-core Cortex-A55 including NEON and GPU, 6TOPS NPU, Mali-G610 MP4, HDMI Out, HDMI In, DP, eDP, MIPI DSI, MIPI CSI2, LPDDR4/4X/5, eMMC5.1, SD3.0/MMC4.5, USB OTG 3.0, Type-C, USB 2.0, PCIe 3.0, SATA 3, Ethernet, SDIO3.0 I2C,

[RFC PATCH 15/16] ARM: dts: rockchip: Add rk3588-u-boot.dtsi

2023-01-25 Thread Jagan Teki
Add u-boot,dm-spl and u-boot,dm-pre-reloc related properties for Rockchip RK3588 SoC. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3588-u-boot.dtsi | 101 1 file changed, 101 insertions(+) create mode 100644 arch/arm/dts/rk3588-u-boot.dtsi diff --git

[RFC PATCH 13/16] arm64: dts: rockchip: rk3588: Add Edgeble Neu6 Model A IO

2023-01-25 Thread Jagan Teki
Neural Compute Module 6(Neu6) IO board is an industrial form factor ready-to-use IO board from Edgeble AI. IO board offers plenty of peripherals and connectivity options and this patch enables basic eMMC and UART which is enough to successfully boot Linux. Neu6 needs to mount on top of this IO

[RFC PATCH 12/16] arm64: dts: rockchip: rk3588: Add Edgeble Neu6 Model A SoM

2023-01-25 Thread Jagan Teki
Neural Compute Module 6(Neu2) is a 96boards SoM-CB compute module based on Rockchip RK3588 from Edgeble AI. General features: - Rockchip RK3588 - up to 32GB LPDDR4x - up to 128GB eMMC - 2x MIPI CSI2 FPC On module WiFi6/BT5 is available in the following Neu6 variants. Neu6 needs to mount on top

[RFC PATCH 09/16] dt-bindings: reset: add rk3588 reset definitions

2023-01-25 Thread Jagan Teki
Add reset ID defines for rk3588. commit <0a8eb7dae617> ("dt-bindings: reset: add rk3588 reset definitions") Signed-off-by: Sebastian Reichel Signed-off-by: Jagan Teki --- .../dt-bindings/reset/rockchip,rk3588-cru.h | 754 ++ 1 file changed, 754 insertions(+) create mode

[RFC PATCH 10/16] arm: rockchip: Add ioc header for rk3588

2023-01-25 Thread Jagan Teki
Add IOC unit header include for rk3588. Signed-off-by: Steven Liu Signed-off-by: Joseph Chen Signed-off-by: Jagan Teki --- .../include/asm/arch-rockchip/ioc_rk3588.h| 102 ++ 1 file changed, 102 insertions(+) create mode 100644

[RFC PATCH 08/16] dt-bindings: power: Add power-domain header for rk3588

2023-01-25 Thread Jagan Teki
Add power-domain header for RK3588 SoC from description in TRM. commit <67944950c2d0> ("dt-bindings: power: add power-domain header for rk3588") Signed-off-by: Finley Xiao Signed-off-by: Jagan Teki --- include/dt-bindings/power/rk3588-power.h | 69 1 file changed, 69

[RFC PATCH 05/16] clk: rockchip: Add rk3588 clk support

2023-01-25 Thread Jagan Teki
Add clock driver support for Rockchip RK3588 SoC. Signed-off-by: Elaine Zhang Signed-off-by: Jagan Teki --- drivers/clk/rockchip/Makefile |1 + drivers/clk/rockchip/clk_rk3588.c | 2019 + 2 files changed, 2020 insertions(+) create mode 100644

[RFC PATCH 07/16] ram: rockchip: Add rk3588 ddr driver support

2023-01-25 Thread Jagan Teki
Add ddr driver for rk3588 to get the ram capacity. Signed-off-by: Jagan Teki --- drivers/ram/rockchip/Makefile | 1 + drivers/ram/rockchip/sdram_rk3588.c | 56 + 2 files changed, 57 insertions(+) create mode 100644 drivers/ram/rockchip/sdram_rk3588.c diff

[RFC PATCH 06/16] clk: rockchip: pll: Add pll_rk3588 type for rk3588

2023-01-25 Thread Jagan Teki
Add RK3588 pll set and get rate clock support. Signed-off-by: Elaine Zhang Signed-off-by: Jagan Teki --- arch/arm/include/asm/arch-rockchip/clock.h | 24 ++ drivers/clk/rockchip/clk_pll.c | 267 - 2 files changed, 288 insertions(+), 3 deletions(-) diff --git

[RFC PATCH 04/16] dt-bindings: clk: Add dt-binding header for RK3588

2023-01-25 Thread Jagan Teki
Add the dt-bindings header for the Rockchip RK3588, that gets shared between the clock controller and the clock references in the dts. commit ("dt-bindings: clock: add rk3588 clock definitions") Signed-off-by: Jagan Teki --- .../dt-bindings/clock/rockchip,rk3588-cru.h | 766

[RFC PATCH 03/16] arm: rockchip: Add grf header for rk3588

2023-01-25 Thread Jagan Teki
Add GRF header for Rockchip RK3588. Signed-off-by: Jagan Teki --- .../include/asm/arch-rockchip/grf_rk3588.h| 35 +++ 1 file changed, 35 insertions(+) create mode 100644 arch/arm/include/asm/arch-rockchip/grf_rk3588.h diff --git

[RFC PATCH 02/16] arm: rockchip: Add cru header for rk3588

2023-01-25 Thread Jagan Teki
Add clock and reset unit header include for rk3588. Signed-off-by: Elaine Zhang Signed-off-by: Jagan Teki --- .../include/asm/arch-rockchip/cru_rk3588.h| 451 ++ 1 file changed, 451 insertions(+) create mode 100644 arch/arm/include/asm/arch-rockchip/cru_rk3588.h diff

[RFC PATCH 01/16] rockchip: mkimage: Add rk3588 support

2023-01-25 Thread Jagan Teki
Add support for rk3588 package header in mkimage tool. Signed-off-by: Jagan Teki --- tools/rkcommon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/rkcommon.c b/tools/rkcommon.c index 1f1eaa1675..2e22a1bf8a 100644 --- a/tools/rkcommon.c +++ b/tools/rkcommon.c @@ -135,6 +135,7 @@

[RFC PATCH 00/16] arm: Add Rockchip RK3588 support

2023-01-25 Thread Jagan Teki
This series support Rockchip RK3588. All the device tree files are synced from linux-next with the proper SHA1 mentioned in the commit messages. Unfortunately, the BL31 from rkbin is not compatible with U-Boot so it is failing to load ATF entry from SPL and hang. Verified below BL31 versions,

Re: [PATCH v4] mtd: parsers: ofpart: add workaround for #size-cells 0

2023-01-25 Thread Francesco Dolcini
Hello Miquel, Greg and all On Tue, Jan 24, 2023 at 04:38:59PM +0100, Greg Kroah-Hartman wrote: > On Tue, Jan 24, 2023 at 11:44:44AM +0100, Francesco Dolcini wrote: > > From: Francesco Dolcini > > > > Add a mechanism to handle the case in which partitions are present as > > direct child of the

[PATCH 1/1] README: remove 'U-Boot Porting Guide' section

2023-01-25 Thread Heinrich Schuchardt
This section does not match the standards of our documentation. Signed-off-by: Heinrich Schuchardt --- README | 74 -- 1 file changed, 74 deletions(-) diff --git a/README b/README index 8b395356dc..edce7890c0 100644 --- a/README +++

Re: [PATCH] ARM: imx: Fix parsing of ROM log event IDs on iMX8M

2023-01-25 Thread Fedor Ross
Hello Stefano, do you know why this is in the state 'Superseded' ? Thanks in advance. Best regards, Fedor On Fri, May 6, 2022 at 5:17 PM Fedor Ross wrote: > > Hello Peng, > > just a gentle ping -- did you already had a chance to check the mentioned > parameter of event 0x82? > > Thanks in

Re: [PATCH v4 6/6] doc: Add measured boot documentation

2023-01-25 Thread Heinrich Schuchardt
On 1/25/23 18:18, Eddie James wrote: Briefly describe the feature and specify the requirements. Signed-off-by: Eddie James --- doc/usage/index.rst | 1 + doc/usage/measured_boot.rst | 23 +++ 2 files changed, 24 insertions(+) create mode 100644

[PATCH v2 2/2] usb: move CONFIG_USB_HUB_DEBOUNCE_TIMEOUT to USB

2023-01-25 Thread Heinrich Schuchardt
This configuration setting is only relevant if the board supports USB. It should not be in the main menu but in the USB menu. The setting is only relevant in USB host mode. Fixes: 5454dea3137d ("usb: hub: allow to increase HUB_DEBOUNCE_TIMEOUT") Signed-off-by: Heinrich Schuchardt --- v2:

[PATCH v2 1/2] usb: USB hubs require host mode

2023-01-25 Thread Heinrich Schuchardt
USB hubs run in host mode not in gadget mode. Hence, compiling usb_hub.c should not be selected by CONFIG_USB_GADGET. Suggested-by: Marek Vasut Signed-off-by: Heinrich Schuchardt --- v2: new patch --- common/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 0/2] usb: USB hubs require host mode

2023-01-25 Thread Heinrich Schuchardt
USB hub code and settings are only relevant in host mode not in gadget mode. v2: don't compile usb_hub.o without host mode let CONFIG_USB_HUB_DEBOUNCE_TIMEOUT depend on CONFIG_USB_HOST Heinrich Schuchardt (2): usb: USB hubs require host mode usb: move

[PATCH 5/7] doc: move 'Reproducible builds'

2023-01-25 Thread Heinrich Schuchardt
Move the README section to the HTML documentation. Signed-off-by: Heinrich Schuchardt --- README | 11 --- doc/build/index.rst| 1 + doc/build/reproducible.rst | 25 + 3 files changed, 26 insertions(+), 11 deletions(-) create mode

[PATCH 7/7] doc: move directory hierarchy to HTML

2023-01-25 Thread Heinrich Schuchardt
Move section 'Directory hierarchy' from file README to the HTML documentation. Signed-off-by: Heinrich Schuchardt --- README | 38 --- doc/develop/directories.rst | 76 + doc/develop/index.rst | 1 + 3 files

[PATCH 6/7] README: remove section 'Versioning'

2023-01-25 Thread Heinrich Schuchardt
The information is already maintained in doc/develop/release_cycle.rst. Signed-off-by: Heinrich Schuchardt --- README | 16 1 file changed, 16 deletions(-) diff --git a/README b/README index 48db535556..5437a1bdc2 100644 --- a/README +++ b/README @@ -105,22 +105,6 @@ the

[PATCH 4/7] README: replace references to CHANGELOG

2023-01-25 Thread Heinrich Schuchardt
Board configurations are in configs/ and not in the Makefile. git log is the adequate way to identify who contributed to our source. scripts/get_maintainer.pl is the correct way to identify maintainers. Signed-off-by: Heinrich Schuchardt --- README | 16 ++-- 1 file changed, 6

[PATCH 2/7] README: rework contribution advices

2023-01-25 Thread Heinrich Schuchardt
Remove description of coding standards and patch submission process. Link to the relevant HTML documentation instead. Signed-off-by: Heinrich Schuchardt --- README | 110 - 1 file changed, 6 insertions(+), 104 deletions(-) diff --git

[PATCH 3/7] README: remove NetBSD section

2023-01-25 Thread Heinrich Schuchardt
The information in this section is outdated. Signed-off-by: Heinrich Schuchardt --- README | 29 - 1 file changed, 29 deletions(-) diff --git a/README b/README index f5db75d913..b4bfe39f81 100644 --- a/README +++ b/README @@ -2526,35 +2526,6 @@ configuration to your

[PATCH 1/7] README: correct path to sandbox.rst

2023-01-25 Thread Heinrich Schuchardt
sandbox.rst was moved. Fixes: 2851cc94f301 ("dm: Add documentation for host command and implementation") Signed-off-by: Heinrich Schuchardt --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index 40619ee40c..24e91b9a1f 100644 --- a/README +++

[PATCH 0/7] README: start cleanup

2023-01-25 Thread Heinrich Schuchardt
Our main README file contains information that * is outdated * should be moved to the HTML documentation * is redundant to existing HTML documenation Let's start cleaning up. Heinrich Schuchardt (7): README: correct path to sandbox.rst README: rework contribution advices README: remove

Re: [PATCH 1/1] usb: move CONFIG_USB_HUB_DEBOUNCE_TIMEOUT to USB

2023-01-25 Thread Marek Vasut
On 1/25/23 19:05, Heinrich Schuchardt wrote: On 1/25/23 19:00, Marek Vasut wrote: On 1/25/23 18:32, Heinrich Schuchardt wrote: This configuration setting is only relevant if the board supports USB. It should not be in the main menu but in the USB menu. Fixes: 5454dea3137d ("usb: hub: allow to

Re: [PATCH 1/1] usb: move CONFIG_USB_HUB_DEBOUNCE_TIMEOUT to USB

2023-01-25 Thread Heinrich Schuchardt
On 1/25/23 19:00, Marek Vasut wrote: On 1/25/23 18:32, Heinrich Schuchardt wrote: This configuration setting is only relevant if the board supports USB. It should not be in the main menu but in the USB menu. Fixes: 5454dea3137d ("usb: hub: allow to increase HUB_DEBOUNCE_TIMEOUT")

Re: [PATCH] imx: kontron-sl-mx8mm: Fix SD card IO voltage level

2023-01-25 Thread Marek Vasut
On 1/25/23 18:30, Frieder Schrempf wrote: Hi Marek, Hi, On 25.01.23 18:15, Marek Vasut wrote: On 1/25/23 14:41, Frieder Schrempf wrote: From: Frieder Schrempf Subject tags should be ARM: dts: imx: Ok, how do I know? Because "git log arch/arm/dts" shows me that ": :" is used quite

Re: [PATCH 1/1] usb: move CONFIG_USB_HUB_DEBOUNCE_TIMEOUT to USB

2023-01-25 Thread Marek Vasut
On 1/25/23 18:32, Heinrich Schuchardt wrote: This configuration setting is only relevant if the board supports USB. It should not be in the main menu but in the USB menu. Fixes: 5454dea3137d ("usb: hub: allow to increase HUB_DEBOUNCE_TIMEOUT") Signed-off-by: Heinrich Schuchardt ---

Re: [PATCH] bootstd: Replicate the dtb-filename quirks of distroboot

2023-01-25 Thread Tom Rini
On Wed, Jan 25, 2023 at 06:04:56PM +0100, Heinrich Schuchardt wrote: > On 1/25/23 17:15, Tom Rini wrote: > > On Wed, Jan 25, 2023 at 04:38:53PM +0100, Heinrich Schuchardt wrote: > > > On 1/25/23 04:11, Simon Glass wrote: > > > > For EFI, the distro boot scripts search in three different

[PATCH 1/1] usb: move CONFIG_USB_HUB_DEBOUNCE_TIMEOUT to USB

2023-01-25 Thread Heinrich Schuchardt
This configuration setting is only relevant if the board supports USB. It should not be in the main menu but in the USB menu. Fixes: 5454dea3137d ("usb: hub: allow to increase HUB_DEBOUNCE_TIMEOUT") Signed-off-by: Heinrich Schuchardt --- common/Kconfig | 12

[PATCH 2/2] mmc: erase: Use TRIM erase when available

2023-01-25 Thread Loic Poulain
The default erase command applies on erase group unit, and simply round down to erase group size. When the start block is not aligned to erase group size (e.g. erasing partition) it causes unwanted erasing of the previous blocks, part of the same erase group (e.g. owned by other logical partition,

[PATCH 1/2] mmc: Check support for TRIM operations

2023-01-25 Thread Loic Poulain
When secure/insecure TRIM operations are supported. When used as erase command argument it applies the erase operation to write blocks instead of erase groups. Signed-off-by: Loic Poulain --- drivers/mmc/mmc.c | 3 +++ include/mmc.h | 4 2 files changed, 7 insertions(+) diff --git

Re: [PATCH] imx: kontron-sl-mx8mm: Fix SD card IO voltage level

2023-01-25 Thread Frieder Schrempf
Hi Marek, On 25.01.23 18:15, Marek Vasut wrote: > On 1/25/23 14:41, Frieder Schrempf wrote: >> From: Frieder Schrempf > > Subject tags should be ARM: dts: imx: Ok, how do I know? Because "git log arch/arm/dts" shows me that ": :" is used quite often and it's what I used in the past. But I'm

Re: [PATCH v9 0/8] Add MV88E6xxx DSA driver and use on gwventana

2023-01-25 Thread Tim Harvey
On Wed, Nov 30, 2022 at 4:26 PM Vladimir Oltean wrote: > > On Wed, Nov 30, 2022 at 03:27:04PM -0800, Tim Harvey wrote: > > That's the same head that I based them off of and I just did the > > following and it worked fine: > > cd /tmp > > git clone git://git.denx.de/u-boot.git > > cd u-boot > >

[PATCH 1/1] efi_loader: don't use HandleProtocol

2023-01-25 Thread Heinrich Schuchardt
HandleProtocol() is deprecrated. According to the UEFI specification it should be implemented as a call to OpenProtocolInterface() with a hard coded agent handle. This implies that we would have to call CloseProtocolInterfaces() after usage with the same handle. Getting rid of an EFI_CALL() is

[PATCH v4 4/6] tpm: sandbox: Update for needed TPM2 capabilities

2023-01-25 Thread Eddie James
The driver needs to support getting the PCRs in the capabilities command. Fix various other things and support the max number of PCRs for TPM2. Signed-off-by: Eddie James Reviewed-by: Simon Glass --- drivers/tpm/tpm2_tis_sandbox.c | 100 - 1 file changed, 72

[PATCH v4 2/6] tpm: Support boot measurements

2023-01-25 Thread Eddie James
Add TPM2 functions to support boot measurement. This includes starting up the TPM, initializing/appending the event log, and measuring the U-Boot version. Much of the code was used in the EFI subsystem, so remove it there and use the common functions. Signed-off-by: Eddie James ---

[PATCH v4 5/6] test: Add sandbox TPM boot measurement

2023-01-25 Thread Eddie James
Use the sandbox TPM driver to measure some boot images in a unit test case. Signed-off-by: Eddie James --- arch/sandbox/dts/sandbox.dtsi | 14 arch/sandbox/dts/test.dts | 13 +++ configs/sandbox_defconfig | 1 + include/test/suites.h | 1 + test/boot/Makefile

[PATCH v4 3/6] bootm: Support boot measurement

2023-01-25 Thread Eddie James
Add a configuration option to measure the boot through the bootm function. Add the measurement state to the booti and bootz paths as well. Signed-off-by: Eddie James --- boot/Kconfig| 23 boot/bootm.c| 70 + cmd/booti.c

[PATCH v4 6/6] doc: Add measured boot documentation

2023-01-25 Thread Eddie James
Briefly describe the feature and specify the requirements. Signed-off-by: Eddie James --- doc/usage/index.rst | 1 + doc/usage/measured_boot.rst | 23 +++ 2 files changed, 24 insertions(+) create mode 100644 doc/usage/measured_boot.rst diff --git

[PATCH v4 1/6] tpm: Fix spelling for tpmu_ha union

2023-01-25 Thread Eddie James
tmpu -> tpmu Signed-off-by: Eddie James Reviewed-by: Ilias Apalodimas --- include/tpm-v2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/tpm-v2.h b/include/tpm-v2.h index 737e57551d..85feda3e06 100644 --- a/include/tpm-v2.h +++ b/include/tpm-v2.h @@ -167,7

[PATCH v4 0/6] tpm: Support boot measurements

2023-01-25 Thread Eddie James
This series adds support for measuring the boot images more generically than the existing EFI support. Several EFI functions have been moved to the TPM layer. The series includes optional measurement from the bootm command. A new test case has been added for the bootm measurement to test the new

Re: [PATCH] imx: kontron-sl-mx8mm: Fix SD card IO voltage level

2023-01-25 Thread Marek Vasut
On 1/25/23 14:41, Frieder Schrempf wrote: From: Frieder Schrempf Subject tags should be ARM: dts: imx: The LDO5 of the PCA9450 PMIC can be switched between two different voltage settings (defaulting to 1.8V and 3.3V) using an external signal SD_VSEL that is connected to the VSELECT signal

Re: [PATCH v8 03/10] arm_ffa: introduce Arm FF-A low-level driver

2023-01-25 Thread Sudeep Holla
On Wed, Jan 25, 2023 at 04:44:34PM +, Abdellatif El Khlifi wrote: [...] > Future SW features using SMC can be discovered by arm_smccc as well. > We can document this approach in U-Boot/Linux so future developments > will follow this approach. > OK as discussed in private, you must not need

Re: [PATCH] bootstd: Replicate the dtb-filename quirks of distroboot

2023-01-25 Thread Heinrich Schuchardt
On 1/25/23 17:15, Tom Rini wrote: On Wed, Jan 25, 2023 at 04:38:53PM +0100, Heinrich Schuchardt wrote: On 1/25/23 04:11, Simon Glass wrote: For EFI, the distro boot scripts search in three different directories for the .dtb file. The SOC-based filename fallback is supported only for 32-bit

Re: Pull request: u-boot-sunxi/master for 2023.04

2023-01-25 Thread Tom Rini
On Wed, Jan 25, 2023 at 01:59:40AM +, Andre Przywara wrote: > Hi Tom, > > please pull the first part of the sunxi pull request for this cycle. > This contains some fixes, and the first bunch of some clean up patches > to get rid of legacy GPIO and PMIC code. > Highlight is the DM AXP PMIC

Re: [PATCH v8 03/10] arm_ffa: introduce Arm FF-A low-level driver

2023-01-25 Thread Abdellatif El Khlifi
On Wed, Jan 25, 2023 at 10:00:58AM -0600, Rob Herring wrote: > On Tue, Jan 24, 2023 at 9:56 AM Abdellatif El Khlifi > wrote: > > > > On Mon, Jan 23, 2023 at 09:32:28AM -0700, Simon Glass wrote: > > > Hi Rob, > > > > > > On Mon, 23 Jan 2023 at 08:13, Rob Herring wrote: > > > > > > > > On Fri, Jan

[PATCH v2 3/3] microblaze: spl: disable falcon mode by default

2023-01-25 Thread Ovidiu Panait
Drop falcon mode configs from microblaze-generic_defconfig, so that a defconfig build will still boot into u-boot proper. Signed-off-by: Ovidiu Panait --- Changes in v2: New patch. configs/microblaze-generic_defconfig | 3 --- 1 file changed, 3 deletions(-) diff --git

[PATCH v2 2/3] microblaze: spl: drop boot_linux

2023-01-25 Thread Ovidiu Panait
Drop boot_linux variable as it is not assigned anywhere. Now that there is no variable controlling linux boot in spl_start_uboot(), make this function always return false when falcon mode is enabled. Signed-off-by: Ovidiu Panait --- Changes in v2: New patch. arch/microblaze/cpu/spl.c | 7

[PATCH v2 1/3] microblaze: spl: wrap spl_start_uboot() in SPL_OS_BOOT ifdefs

2023-01-25 Thread Ovidiu Panait
Make spl_start_uboot() available only if CONFIG_SPL_OS_BOOT is enabled, since it is only used for falcon mode. Signed-off-by: Ovidiu Panait --- Changes in v2: New patch. arch/microblaze/cpu/spl.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/microblaze/cpu/spl.c

Re: [PATCH v6 0/3] Timer support for ARM Tegra

2023-01-25 Thread Thierry Reding
On Tue, Jan 24, 2023 at 08:57:48AM +0200, Svyatoslav Ryhel wrote: > - ARM: tegra: remap clock_osc_freq for all Tegra family > Enum clock_osc_freq was designed to use only with T20. > This patch remaps it to use additional frequencies, added in > T30+ SoC while maintaining backwards compatibility

Re: [PATCH] bootstd: Replicate the dtb-filename quirks of distroboot

2023-01-25 Thread Tom Rini
On Wed, Jan 25, 2023 at 04:38:53PM +0100, Heinrich Schuchardt wrote: > On 1/25/23 04:11, Simon Glass wrote: > > For EFI, the distro boot scripts search in three different directories > > for the .dtb file. The SOC-based filename fallback is supported only for > > 32-bit ARM. > > > > Adjust the

Re: [PATCH v8 03/10] arm_ffa: introduce Arm FF-A low-level driver

2023-01-25 Thread Rob Herring
On Tue, Jan 24, 2023 at 9:56 AM Abdellatif El Khlifi wrote: > > On Mon, Jan 23, 2023 at 09:32:28AM -0700, Simon Glass wrote: > > Hi Rob, > > > > On Mon, 23 Jan 2023 at 08:13, Rob Herring wrote: > > > > > > On Fri, Jan 20, 2023 at 4:04 PM Simon Glass wrote: > > > > > > > > Hi Rob, > > > > > > >

Re: [PATCH 1/7] board: rockchip: Add rk3588 evb board support

2023-01-25 Thread Jagan Teki
On Wed, 25 Jan 2023 at 21:14, "瘦橘猫" <19983723...@189.cn> wrote: > > Hi > > The board configuration file for the rk3588 evb does not contain atf, or even > tpl and spl. What I am going to do now is add some configuration items for > rk3588s based on rk3588, if successful, to verify that the ATF

  1   2   >