Re: [PATCH] arm: move _end to linker symbols

2024-05-27 Thread Eugen Hristev
On 5/28/24 09:18, Ilias Apalodimas wrote: > commit 6e2228fb052b ("Merge patch series "Clean up arm linker scripts") > was cleaning up linker scripts for armv7 and v8 but was leaving > _end and __secure_stack_start/end. > > commit d0b5d9da5de2 ("arm: make _end compiler-generated") > was moving _end

[PATCH] arm: move _end to linker symbols

2024-05-27 Thread Ilias Apalodimas
commit 6e2228fb052b ("Merge patch series "Clean up arm linker scripts") was cleaning up linker scripts for armv7 and v8 but was leaving _end and __secure_stack_start/end. commit d0b5d9da5de2 ("arm: make _end compiler-generated") was moving _end to be compiler generated. _end is defined as c variab

[PATCH] configs: add mvebu_espressobin_ultra-88f3720_defconfig

2024-05-27 Thread Benjamin Schneider
Add support for a Marvell Armada 3720 device variant Signed-off-by: Benjamin Schneider --- .../mvebu_espressobin_ultra-88f3720_defconfig | 106 ++ 1 file changed, 106 insertions(+) create mode 100644 configs/mvebu_espressobin_ultra-88f3720_defconfig diff --git a/configs/mvebu_

[PATCH v3 7/7] board: rockchip: add ArmSoM Sige7 Rk3588 board

2024-05-27 Thread Jianfeng Liu
ArmSoM Sige7 is a Rockchip RK3588 based SBC (Single Board Computer) by ArmSoM. There are two variants depending on the DRAM size : 8G and 16G. Specification: Rockchip Rk3588 SoC 4x ARM Cortex-A76, 4x ARM Cortex-A55 8/16GB memory LPDDR4x Mali G610MC4 GPU 2x MIPI CSI 2 multiple

[PATCH v3 6/7] arm64: dts: rockchip: Add ArmSom Sige7 board

2024-05-27 Thread Jianfeng Liu
Specification: Rockchip Rk3588 SoC 4x ARM Cortex-A76, 4x ARM Cortex-A55 8/16/32GB Memory LPDDR4/LPDDR4x Mali G610MP4 GPU 2× MIPI-CSI Connector 1× MIPI-DSI Connector 1x M.2 Key M (PCIe 3.0 4-lanes) 2x RTL8125 2.5G Ethernet Onboa

[PATCH v3 5/7] arm64: dts: rockchip: add USB3 DRD controllers on rk3588

2024-05-27 Thread Jianfeng Liu
From: Sebastian Reichel Add both USB3 dual-role controllers to the RK3588 devicetree. Signed-off-by: Sebastian Reichel Link: https://lore.kernel.org/r/20240408225109.128953-8-sebastian.reic...@collabora.com Signed-off-by: Heiko Stuebner [ upstream commit: 33f393a2a990e16f56931ca708295f31d2b4

[PATCH v3 4/7] arm64: dts: rockchip: add USBDP phys on rk3588

2024-05-27 Thread Jianfeng Liu
From: Sebastian Reichel Add both USB3-DisplayPort PHYs to RK3588 SoC DT. Signed-off-by: Sebastian Reichel Link: https://lore.kernel.org/r/20240408225109.128953-7-sebastian.reic...@collabora.com Signed-off-by: Heiko Stuebner [ upstream commit: e18e5e8188f2671abf63abe7db5f21555705130f ] (cher

[PATCH v3 3/7] arm64: dts: rockchip: fix usb2phy nodename for rk3588

2024-05-27 Thread Jianfeng Liu
From: Sebastian Reichel usb2-phy should be named usb2phy according to the DT binding, so let's fix it up accordingly. Signed-off-by: Sebastian Reichel Link: https://lore.kernel.org/r/20240408225109.128953-5-sebastian.reic...@collabora.com Signed-off-by: Heiko Stuebner [ upstream commit: 4e07

[PATCH v3 2/7] arm64: dts: rockchip: Fix ordering of nodes on rk3588s

2024-05-27 Thread Jianfeng Liu
From: Diederik de Haas Fix the ordering of the main nodes by sorting them alphabetically and then the ones with a memory address sequentially by that address. Signed-off-by: Diederik de Haas Link: https://lore.kernel.org/r/20240406172821.34173-1-didi.deb...@cknow.org Signed-off-by: Heiko Stuebn

[PATCH v3 1/7] arm64: dts: rockchip: Add rk3588 GPU node

2024-05-27 Thread Jianfeng Liu
From: Boris Brezillon Add Mali GPU Node to the RK3588 SoC DT including GPU clock operating points Signed-off-by: Boris Brezillon Signed-off-by: Sebastian Reichel Link: https://lore.kernel.org/r/20240326165232.73585-3-sebastian.reic...@collabora.com Signed-off-by: Heiko Stuebner [ upstream c

[PATCH v3 0/7] add ArmSoM Sige7 Rk3588 board

2024-05-27 Thread Jianfeng Liu
Devicetree of ArmSoM Sige7 is merged to kernel v6.10-rc1 with USBDP and GPU nodes. So I use update-dts-subtree.sh to pick related commits of rk3588s.dtsi, and then pick the commit of ArmSoM Sige7's devicetree. I also did run command: ./dts/update-dts-subtree.sh pull v6.10-rc1-dts based on my work b

Re: [PATCH v2 01/14] net: introduce alternative implementation as net-lwip/

2024-05-27 Thread Tom Rini
On Fri, May 24, 2024 at 06:19:55PM +0200, Jerome Forissier wrote: > Prepare the introduction of the lwIP (lightweight IP) TCP/IP stack by > adding a new net-lwip/ directory and the NET_LWIP symbol. At this > point, enabling NET_LWIP simply disables NET. Subsequent commits will > introduce the lwIP

Re: [PATCH] configs: add mvebu_espressobin_ultra-88f3720_defconfig

2024-05-27 Thread Tom Rini
On Mon, May 27, 2024 at 12:07:35PM -0700, Benjamin Schneider wrote: > Add support for a Marvell Armada 3720 device variant > > Signed-off-by: Benjamin Schneider > --- > > .../mvebu_espressobin_ultra-88f3720_defconfig | 106 ++ > 1 file changed, 106 insertions(+) > create mode

Re: Pull request for tpm-master-27052024

2024-05-27 Thread Tom Rini
On Mon, May 27, 2024 at 09:15:04AM +0300, Ilias Apalodimas wrote: > Hi Tom > > I know it's not early in the release and although this contains a new feature > apart from fixes, I prefer this going into -master. The added feature > is on a TPM cmd and is harmless. If you only want the fixes please

Re: [PATCH v3 0/7] add ArmSoM Sige7 Rk3588 board

2024-05-27 Thread Tom Rini
On Tue, May 28, 2024 at 01:02:07AM +0800, Jianfeng Liu wrote: > Devicetree of ArmSoM Sige7 is merged to kernel v6.10-rc1 with USBDP and > GPU nodes. So I use update-dts-subtree.sh to pick related commits of > rk3588s.dtsi, and then pick the commit of ArmSoM Sige7's devicetree. > I also did run com

[PATCH] global_data.h: drop write-only field dm_root_f

2024-05-27 Thread Rasmus Villemoes
The dm_root_f field seems to be entirely write-only and hence redundant, unless 'git grep' fails to find some access generated via preprocessor token concatenation or similar. Signed-off-by: Rasmus Villemoes --- common/board_r.c | 3 +-- include/asm-generic/global_data.h | 4 ---

Re: [RFC] usb: xhci: Some USB devices fail to initialize

2024-05-27 Thread Marek Vasut
On 5/27/24 7:16 PM, Elena Popa wrote: Hello, Hi, We've noticed that, at least, on the i.MX8M* platforms Which exact platforms, which SoC, which board ? , some USB devices (especially USB2.0 sticks) fail Which exact sticks ? USB IDs and model would be helpful. Which U-Boot version is th

Re: [PATCH v3 7/7] board: rockchip: add ArmSoM Sige7 Rk3588 board

2024-05-27 Thread Jonas Karlman
Hi Jianfeng, On 2024-05-27 19:02, Jianfeng Liu wrote: > ArmSoM Sige7 is a Rockchip RK3588 based SBC (Single Board Computer) by > ArmSoM. > > There are two variants depending on the DRAM size : 8G and 16G. > > Specification: > > Rockchip Rk3588 SoC > 4x ARM Cortex-A76, 4x ARM Cortex-A55

Re: [PATCH] riscv: dts: jh7110: Update qspi node with upstream

2024-05-27 Thread E Shattow
Hi, On Mon, May 27, 2024 at 3:47 AM wrote: > > From: Matthias Brugger > > Upstream node uses a specific SoC compatible to make the kernel driver > work. Copy over the upstream node to fullfill that need. > > Signed-off-by: Matthias Brugger > --- > > .../jh7110-starfive-visionfive-2-u-boot.dtsi

Re: [PATCH v3 0/7] add ArmSoM Sige7 Rk3588 board

2024-05-27 Thread Jonas Karlman
Hi Jianfeng, On 2024-05-27 19:02, Jianfeng Liu wrote: > Devicetree of ArmSoM Sige7 is merged to kernel v6.10-rc1 with USBDP and > GPU nodes. So I use update-dts-subtree.sh to pick related commits of > rk3588s.dtsi, and then pick the commit of ArmSoM Sige7's devicetree. > I also did run command: >

[PATCH v2 8/8] qcom_defconfig: enable capsule update support

2024-05-27 Thread Caleb Connolly
Enable all the necessary options for capsule updates to work, as well as a few additional EFI features. Signed-off-by: Caleb Connolly --- configs/qcom_defconfig | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig inde

[PATCH v2 7/8] mach-snapdragon: bump up heap size

2024-05-27 Thread Caleb Connolly
For capsule updates we need more heap space for the DFU buffer. Give ourselves a whole 8MiB! Signed-off-by: Caleb Connolly --- arch/arm/mach-snapdragon/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-snapdragon/Kconfig b/arch/arm/mach-snapdragon/Kconfig index 536960b

[PATCH v2 6/8] mach-snapdragon: use SYSRESET_PSCI

2024-05-27 Thread Caleb Connolly
Capsule updates depend on SYSRESET, which we currently don't select but instead use a custom reset_cpu() implementation which just calls psci_reset(). Clean this up, drop our custom function and require PSCI reset. There are some Qualcomm platforms that either can or do run without PSCI support,

[PATCH v2 5/8] qcom_defconfig: savedefconfig

2024-05-27 Thread Caleb Connolly
run savedefconfig Signed-off-by: Caleb Connolly --- configs/qcom_defconfig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index 65f13ae7a089..f2dfced4bc1e 100644 --- a/configs/qcom_defconfig +++ b/configs/qcom_defconfig @@

[PATCH v2 4/8] mach-snapdragon: implement capsule update support

2024-05-27 Thread Caleb Connolly
Qualcomm boards flash U-Boot to the boot partition, implement support for determining which slot U-Boot is running from and finding the correct boot partition for that slot and configuring the appropriate DFU string. For now this only supports boards with SCSI/UFS storage where U-Boot is flashed t

[PATCH v2 2/8] disk: expose partition type flags

2024-05-27 Thread Caleb Connolly
GPT partition tables include two bytes worth of vendor defined attributes, per partition. ChromeOS and Qualcomm both use these (with different encoding!) to handle A/B slot switching with a retry counter. Expose these via the disk_partition struct so that they can be parsed by the relevant board c

[PATCH v2 3/8] mmc: msm_sdhci: work around a bug when writing

2024-05-27 Thread Caleb Connolly
For some unknown reason, writes of larger than 1 block always fail with a checksum error on Qualcomm v5 controllers. Until this is resolved, work around the issue by setting b_max to 1 for these controllers. Signed-off-by: Caleb Connolly --- drivers/mmc/msm_sdhci.c | 7 +++ 1 file changed,

[PATCH v2 1/8] dfu: add scsi backend

2024-05-27 Thread Caleb Connolly
This is extremely similar to the MMC backend, but there are some notable differences. Works with a DFU string like scsi 4=u-boot-bin part 11 Where "4" is the SCSI dev number (sequential LUN across all SCSI devices) and "11" is the partition number. Signed-off-by: Caleb Connolly --- doc/us

[PATCH v2 0/8] qcom: implement capsule updates

2024-05-27 Thread Caleb Connolly
support for most Qualcomm platforms is not yet enabled upstream, but will follow in future patches. This series enables capsule updates on the RB2, however [1] is required for it to work properly (as otherwise MMC won't be available). [1]: https://lore.kernel.org/u-boot/20240527-b4-clk-stub

[RFC] usb: xhci: Some USB devices fail to initialize

2024-05-27 Thread Elena Popa
Hello, We've noticed that, at least, on the i.MX8M* platforms, some USB devices (especially USB2.0 sticks) fail to initialize with one of the following errors: - scanning bus usb@3820 for devices... Device not responding to set address. USB device not accepting new address (e

[PATCH v2 2/2] qcom_defconfig: enable stub clock

2024-05-27 Thread Caleb Connolly
Enable the stub clock driver for rpmcc Signed-off-by: Caleb Connolly --- configs/qcom_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index 80ad3b32e139..65f13ae7a089 100644 --- a/configs/qcom_defconfig +++ b/configs/qcom_defconfig @@

[PATCH v2 1/2] clk: add stub clock driver

2024-05-27 Thread Caleb Connolly
Add a stub clock driver which can be used to bind clock controllers which aren't required for the platform to boot, but which are needed for U-Boot drivers to work. In addition, add a NOP parent driver to allow for binding the parent nodes of the clock. Initially this driver supports a Qualcomm p

[PATCH v2 0/2] clk: add a stub clock driver

2024-05-27 Thread Caleb Connolly
rtions(+) --- change-id: 20240527-b4-clk-stub-9698797a65ef base-commit: 7e52d6ccfb76e2afc2d183b357abe2a2e2f948cf // Caleb (they/them)

Re: [PATCH 1/1] Added arm64 assembly for examples/api crt0

2024-05-27 Thread Tom Rini
On Sat, May 25, 2024 at 05:20:43PM +0100, Jiaxun Yang wrote: > > > 在2024年5月21日五月 下午7:15,Tom Rini写道: > [...] > > > > We have long not done a great job with the U-Boot standalone API stuff, > > and for a number of years at this point a lot of the use cases it was > > used for could instead be fille

Re: [PATCH v2 00/14] Introduce the lwIP network stack

2024-05-27 Thread Tom Rini
On Fri, May 24, 2024 at 06:19:54PM +0200, Jerome Forissier wrote: > This is a rework of a patch series by Maxim Uvarov: "net/lwip: add lwip > library for the network stack" [1]. The goal is to introduce the lwIP TCP/IP > stack [2] [3] as an alternative to the current implementation in net/, > sele

Re: [PATCH v2] board: rockchip: add ArmSoM Sige7 Rk3588 board

2024-05-27 Thread Tom Rini
On Mon, May 27, 2024 at 11:15:09AM +0200, Quentin Schulz wrote: > Hi Jianfeng, > > On 5/27/24 10:57 AM, Jianfeng Liu wrote: > > Hi all, > > > However... it seems we'll likely need to also cherry-pick patches for > > > the GPU (should probably be straightforward as nothing would be using > > > the

Re: Pull request: u-boot-rockchip-20240525

2024-05-27 Thread Tom Rini
On Sat, May 25, 2024 at 11:32:51AM +0800, Kever Yang wrote: > Hi Tom, > > Please pull the updates for rockchip platform: > - new board: rk3566 Powkiddy X55, rk3588s Indiedroid Nova; > - rv1126 migrate to OF_UPSTREAM; > - Fix for px30 ringneck board; > - Fix for rk3588 SPLL clock init; > > CI: >

Re: Pull request for tpm-master-27052024

2024-05-27 Thread Ilias Apalodimas
Hi Miquel, On Mon, 27 May 2024 at 15:08, Miquel Raynal wrote: > > Hi Ilias, > > ilias.apalodi...@linaro.org wrote on Mon, 27 May 2024 15:01:10 +0300: > > > Hi Tom, > > > > Don't pull this please. Miquel added his r-b tags in the meantime, > > I'll queue up a new one > > It's okay, I thought you j

Re: [PATCH] riscv: dts: jh7110: Update qspi node with upstream

2024-05-27 Thread Heinrich Schuchardt
On 27.05.24 12:47, matthias@kernel.org wrote: From: Matthias Brugger Upstream node uses a specific SoC compatible to make the kernel driver work. Copy over the upstream node to fullfill that need. Thanks for looking into the compatibility of the U-Boot device-tree with Linux. Could you

Re: [PATCH v2 00/14] Introduce the lwIP network stack

2024-05-27 Thread Martin Husemann
On Mon, May 27, 2024 at 02:45:01PM +0200, Jerome Forissier wrote: > That certainly would work but again, isn't it a decision to be made > by the device manufacturer or more generally the one who builds u-boot > for the device? Very true, and if you get the verification part working, your full solu

Re: [PATCH v2] board: rockchip: add ArmSoM Sige7 Rk3588 board

2024-05-27 Thread Jianfeng Liu
Hi all, >However... it seems we'll likely need to also cherry-pick patches for >the GPU (should probably be straightforward as nothing would be using >the GPU anyway in U-Boot) and the USBDP PHY... but this one we would >need to update all -u-boot.dtsi for rk3588(s) boards that have it >already to

Re: [PATCH 2/2] rockchip: rk3588-edgeble: Add USB OTG support

2024-05-27 Thread Anand Moon
hi Jagan, On Mon, 27 May 2024 at 12:09, Jagan Teki wrote: > > Add support for USB OTG with UMS to program eMMC. > > Add it for Edgeble NCM6A, NCM6B. > > Signed-off-by: Jagan Teki Reviewed-by: Anand Moon > --- > .../dts/rk3588-edgeble-neu6a-io-u-boot.dtsi| 18 ++ > .../dt

Re: [PATCH 1/2] arm64: dts: rockchip: Fix spl-boot-order for edgeble-ncm6b

2024-05-27 Thread Anand Moon
Hi Jagan, On Mon, 27 May 2024 at 12:09, Jagan Teki wrote: > > Edgeble NCM6B SoM has built-in eMMC so make sdhci has first boot > priority. > > Fix it for NCM6A, NCM6B SoM. > > Signed-off-by: Jagan Teki Reviewed-by: Anand Moon > --- > arch/arm/dts/rk3588-edgeble-neu6a-io-u-boot.dtsi | 6 +-

Re: [PATCH v2 00/14] Introduce the lwIP network stack

2024-05-27 Thread Jerome Forissier
On 5/27/24 11:45, Martin Husemann wrote: > On Mon, May 27, 2024 at 11:36:26AM +0200, Jerome Forissier wrote: >> You're correct. The point I am making is about using a secure >> (authenticated) connection, and I should have clarified that. While using >> HTTPS might not be critical on a local networ

Re: Pull request for tpm-master-27052024

2024-05-27 Thread Miquel Raynal
Hi Ilias, ilias.apalodi...@linaro.org wrote on Mon, 27 May 2024 15:01:10 +0300: > Hi Tom, > > Don't pull this please. Miquel added his r-b tags in the meantime, > I'll queue up a new one It's okay, I thought you just merged the patches in your tree, but if you already sent the PR to Tom it's ok

Re: [PATCH v5 2/2] tpm-v2: allow algorithm name to be configured for pcr_read and pcr_extend

2024-05-27 Thread Ilias Apalodimas
On Mon, 27 May 2024 at 14:48, Miquel Raynal wrote: > > Hi Ilias, > > ilias.apalodi...@linaro.org wrote on Mon, 27 May 2024 12:44:11 +0300: > > > Hi Miquel > > > > On Mon, 27 May 2024 at 11:59, Miquel Raynal > > wrote: > > > > > > Hi Tim, > > > > > > thar...@gateworks.com wrote on Sat, 25 May 202

Re: Pull request for tpm-master-27052024

2024-05-27 Thread Ilias Apalodimas
Hi Tom, Don't pull this please. Miquel added his r-b tags in the meantime, I'll queue up a new one Thanks /Ilias On Mon, 27 May 2024 at 09:15, Ilias Apalodimas wrote: > > Hi Tom > > I know it's not early in the release and although this contains a new feature > apart from fixes, I prefer this g

Re: [PATCH v5 2/2] tpm-v2: allow algorithm name to be configured for pcr_read and pcr_extend

2024-05-27 Thread Miquel Raynal
Hi Ilias, ilias.apalodi...@linaro.org wrote on Mon, 27 May 2024 12:44:11 +0300: > Hi Miquel > > On Mon, 27 May 2024 at 11:59, Miquel Raynal wrote: > > > > Hi Tim, > > > > thar...@gateworks.com wrote on Sat, 25 May 2024 13:00:49 -0700: > > > > > For pcr_read and pcr_extend commands allow the d

[PATCH] riscv: dts: jh7110: Update qspi node with upstream

2024-05-27 Thread matthias . bgg
From: Matthias Brugger Upstream node uses a specific SoC compatible to make the kernel driver work. Copy over the upstream node to fullfill that need. Signed-off-by: Matthias Brugger --- .../jh7110-starfive-visionfive-2-u-boot.dtsi | 2 +- .../dts/jh7110-starfive-visionfive-2.dtsi | 29

Re: [PATCH v2 00/14] Introduce the lwIP network stack

2024-05-27 Thread Martin Husemann
On Mon, May 27, 2024 at 11:36:26AM +0200, Jerome Forissier wrote: > You're correct. The point I am making is about using a secure > (authenticated) connection, and I should have clarified that. While using > HTTPS might not be critical on a local network, things are different when > downloading fro

Re: [PATCH v5 2/2] tpm-v2: allow algorithm name to be configured for pcr_read and pcr_extend

2024-05-27 Thread Ilias Apalodimas
Hi Miquel On Mon, 27 May 2024 at 11:59, Miquel Raynal wrote: > > Hi Tim, > > thar...@gateworks.com wrote on Sat, 25 May 2024 13:00:49 -0700: > > > For pcr_read and pcr_extend commands allow the digest algorithm to be > > specified by an additional argument. If not specified it will default to > >

Re: [PATCH v2 00/14] Introduce the lwIP network stack

2024-05-27 Thread Jerome Forissier
Hi Francesco, On 5/27/24 11:23, Francesco Dolcini wrote: > Hello Jerome, > > On Fri, May 24, 2024 at 06:19:54PM +0200, Jerome Forissier wrote: >> - Make the support of HTTPS in the wget command easier. Javier T. (CC'd) >> has some additional lwIP and Mbed TLS patches to do so. With that it >> be

Re: [PATCH v2 00/14] Introduce the lwIP network stack

2024-05-27 Thread Francesco Dolcini
Hello Jerome, On Fri, May 24, 2024 at 06:19:54PM +0200, Jerome Forissier wrote: > - Make the support of HTTPS in the wget command easier. Javier T. (CC'd) > has some additional lwIP and Mbed TLS patches to do so. With that it > becomes possible to fetch and launch a distro installer such as Debian

Re: [PATCH v2] board: rockchip: add ArmSoM Sige7 Rk3588 board

2024-05-27 Thread Quentin Schulz
Hi Jianfeng, On 5/27/24 10:57 AM, Jianfeng Liu wrote: Hi all, However... it seems we'll likely need to also cherry-pick patches for the GPU (should probably be straightforward as nothing would be using the GPU anyway in U-Boot) and the USBDP PHY... but this one we would need to update all -u-bo

Re: [PATCH 2/2] rockchip: rk3588-edgeble: Add USB OTG support

2024-05-27 Thread Quentin Schulz
Hi Jagan, On 5/27/24 10:57 AM, Jagan Teki wrote: On Mon, 27 May 2024 at 14:17, Quentin Schulz wrote: Hi Jagan, On 5/27/24 8:39 AM, Jagan Teki wrote: Add support for USB OTG with UMS to program eMMC. Add it for Edgeble NCM6A, NCM6B. Signed-off-by: Jagan Teki --- .../dts/rk3588-edgeble-

Re: [PATCH v5 2/2] tpm-v2: allow algorithm name to be configured for pcr_read and pcr_extend

2024-05-27 Thread Miquel Raynal
Hi Tim, thar...@gateworks.com wrote on Sat, 25 May 2024 13:00:49 -0700: > For pcr_read and pcr_extend commands allow the digest algorithm to be > specified by an additional argument. If not specified it will default to > SHA256 for backwards compatibility. > > Additionally update test_tpm2.py fo

Re: [PATCH v5 1/2] tpm-v2: add support for mapping algorithm names to algos

2024-05-27 Thread Miquel Raynal
Hi Tim, thar...@gateworks.com wrote on Sat, 25 May 2024 13:00:48 -0700: > replace tpm2_supported_algorithms with an array of structures > relating algorithm names, to TCG id's, digest length and mask values. > > While at it fix the tpm2_algorithm_to_mask to return the proper value. > > Fixes: 9

Re: [PATCH 2/2] rockchip: rk3588-edgeble: Add USB OTG support

2024-05-27 Thread Jagan Teki
On Mon, 27 May 2024 at 14:17, Quentin Schulz wrote: > > Hi Jagan, > > On 5/27/24 8:39 AM, Jagan Teki wrote: > > Add support for USB OTG with UMS to program eMMC. > > > > Add it for Edgeble NCM6A, NCM6B. > > > > Signed-off-by: Jagan Teki > > --- > > .../dts/rk3588-edgeble-neu6a-io-u-boot.dtsi

Re: [PATCH 2/2] rockchip: rk3588-edgeble: Add USB OTG support

2024-05-27 Thread Quentin Schulz
Hi Jagan, On 5/27/24 8:39 AM, Jagan Teki wrote: Add support for USB OTG with UMS to program eMMC. Add it for Edgeble NCM6A, NCM6B. Signed-off-by: Jagan Teki --- .../dts/rk3588-edgeble-neu6a-io-u-boot.dtsi| 18 ++ .../dts/rk3588-edgeble-neu6b-io-u-boot.dtsi| 18 +

Re: [PATCH 1/2] arm64: dts: rockchip: Fix spl-boot-order for edgeble-ncm6b

2024-05-27 Thread Quentin Schulz
Hi Jagan, On 5/27/24 8:39 AM, Jagan Teki wrote: Edgeble NCM6B SoM has built-in eMMC so make sdhci has first boot priority. Fix it for NCM6A, NCM6B SoM. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3588-edgeble-neu6a-io-u-boot.dtsi | 6 +- arch/arm/dts/rk3588-edgeble-neu6b-io-u-boot.dt

Re: [PATCH v4] fdt: automatically add /chosen/kaslr-seed if DM_RNG is enabled

2024-05-27 Thread Michal Simek
On 5/25/24 22:02, Tim Harvey wrote: If RANDOMIZE_BASE is enabled in the Linux kernel instructing it to randomize the virtual address at which the kernel image is loaded, it expects entropy to be provided by the bootloader by populating /chosen/kaslr-seed with a 64-bit value from source of entr

Re: [PATCH] Revert "arm: dts: bcm283x: Add minimal smbios information"

2024-05-27 Thread Matthias Brugger
On 14/05/2024 15:07, Peter Robinson wrote: This reverts commit 33041972727e84d3f95e26c83322521f61827584. With the ability to generate this SMBIOS details autmotically the small amount of details that this patch provided are generated automatically so this is now obsolete so we can just drop i

Re: [PATCH v4 0/3] Introduce mtdblock device

2024-05-27 Thread Dario Binacchi
Hi Alexey, The CI still detects some errors when applying both series: - Introduce mtdblock device - Introduce UBI block device As an example: +/opt/gcc-13.2.0-nolibc/arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/13.2.0/../../../../arm-linux-gnueabi/bin/ld: /tmp/ccOTHlvl.ltrans4.ltrans.o: i

Re: [PATCH] xilinx: Add option to load environment from outside of boot media

2024-05-27 Thread Michal Simek
On 5/22/24 19:47, Vasileios Amoiridis wrote: From: Vasileios Amoiridis Currently, if the environment is not in the current boot media, the env_get_location() is returning ENVL_UNKNOWN or ENVL_NOWHERE which is not true (i.e booting from FLASH with environment in eMMC). This commit adds an ext