Re: [PATCH 0/4] introduce EFI_RAM_DISK_PROTOCOL

2023-07-06 Thread AKASHI Takahiro
On Fri, Jul 07, 2023 at 01:00:40PM +0900, Masahisa Kojima wrote: > This series introduces the EFI_RAM_DISK_PROTOCOL implementation. > The major purpose of this series is a preparation for EFI HTTP(S) boot. > > Now U-Boot can download the distro installer ISO image > via wget or tftpboot commands,

[PATCH 4/4] efi_selftest: add EFI_RAM_DISK_PROTOCOL selftest

2023-07-06 Thread Masahisa Kojima
This adds the selftest for the EFI_RAM_DISK_PROTOCOL. Signed-off-by: Masahisa Kojima --- lib/efi_selftest/Makefile| 1 + lib/efi_selftest/efi_selftest_ram_disk.c | 511 +++ 2 files changed, 512 insertions(+) create mode 100644

[PATCH 3/4] cmd: efidebug: add RAM disk mount command

2023-07-06 Thread Masahisa Kojima
This commit implements the test commands for EFI_RAM_DISK_PROTOCOL. With the disk load/unload commands, user can mount the ISO image in the volatile memory through EFI_RAM_DISK_PROTOCOL. Currently the load command can load only one image at a time even if UEFI specification does not limit the

[PATCH 2/4] efi_loader: add EFI_RAM_DISK_PROTOCOL implementation

2023-07-06 Thread Masahisa Kojima
This commit adds the EFI_RAM_DISK_PROTOCOL implementation. User can mount the distro installer by registering the memory mapped ISO image through EFI_RAM_DISK_PROTOCOL. Note that the installation process may not proceed after the distro installer calls ExitBootServices() since there is no

[PATCH 1/4] efi_loader: add RAM disk device path

2023-07-06 Thread Masahisa Kojima
This is a preparation to add the EFI_RAM_DISK_PROTOCOL. This commit adds the RAM disk device path structure and text conversion to Device Path to Text Protocol. Signed-off-by: Masahisa Kojima --- include/efi_api.h| 19 +++

[PATCH 0/4] introduce EFI_RAM_DISK_PROTOCOL

2023-07-06 Thread Masahisa Kojima
This series introduces the EFI_RAM_DISK_PROTOCOL implementation. The major purpose of this series is a preparation for EFI HTTP(S) boot. Now U-Boot can download the distro installer ISO image via wget or tftpboot commands, but U-Boot can not mount the downloaded ISO image. By calling

Re: [bug report] sunxi: H6: no ethernet on Orange Pi One Plus

2023-07-06 Thread Anne Macedo
On Wed, Jul 05, 2023 at 02:15:43PM -0300, Fabio Estevam wrote: > On Wed, Jul 5, 2023 at 1:31 PM Anne Macedo wrote: > > > I think I'm on the right path :) > > > > 1. Included SUNXI_SETUP_REGULATORS=0 to the bl31 make > > 2. Changed the phy mode on arch/arm/dts/sun50i-h6-orangepi-one-plus.dts > >

RE: [PATCH u-boot 0/4] mmc: Explain and cleanup partition selection

2023-07-06 Thread Jaehoon Chung
> -Original Message- > From: Pali Rohár > Sent: Thursday, July 6, 2023 7:51 PM > To: Jaehoon Chung ; Tom Rini > Cc: Peng Fan ; Stefan Roese ; > u-boot@lists.denx.de > Subject: Re: [PATCH u-boot 0/4] mmc: Explain and cleanup partition selection > > On Monday 03 July 2023 21:16:37

RE: [PATCH] ARM: dts: imx: Fix eMMC boot on Data Modul i.MX8M Plus eDM SBC

2023-07-06 Thread Jaehoon Chung
> -Original Message- > From: U-Boot On Behalf Of Peng Fan > Sent: Thursday, July 6, 2023 5:01 PM > To: Marek Vasut ; u-boot@lists.denx.de > Cc: tr...@konsulko.com; Fabio Estevam ; Peng Fan > ; Stefano Babic > > Subject: Re: [PATCH] ARM: dts: imx: Fix eMMC boot on Data Modul i.MX8M

RE: [PATCH u-boot 0/4] mmc: Explain and cleanup partition selection

2023-07-06 Thread Jaehoon Chung
Hi > -Original Message- > From: Pali Rohár > Sent: Friday, July 7, 2023 2:39 AM > To: Jaehoon Chung ; Tom Rini > Cc: Peng Fan ; Stefan Roese ; > u-boot@lists.denx.de > Subject: Re: [PATCH u-boot 0/4] mmc: Explain and cleanup partition selection > > On Thursday 06 July 2023 12:50:34

Re: [PATCH v1] HSD #18028953892: usb: xhci-dwc3: Fix USB3.1 controller register access in reset state

2023-07-06 Thread Marek Vasut
On 6/22/23 16:08, Lim, Jit Loon wrote: -Original Message- From: Marek Vasut Sent: Thursday, 22 June, 2023 5:35 PM To: Lim, Jit Loon ; u-boot@lists.denx.de Cc: Jagan Teki ; Simon ; Chee, Tien Fong ; Hea, Kok Kiang ; Lokanathan, Raaj ; Maniyam, Dinesh ; Ng, Boon Khai ; Yuslaimi, Alif

[PATCH] ARM: stm32: Inhibit PDDS because CSTBYDIS is set

2023-07-06 Thread Marek Vasut
The PWR_MPUCR CSTBYDIS bit is set, therefore the CA cores can never enter CStandby state and would always end up in CStop state. Clear the PDDS bit, which indicates the CA cores can enter CStandby state as it makes little sense to keep it set with CSTBYDIS also set. This does however fix a

Re: v2023.07-rc5 regression: Image overlaps SPL

2023-07-06 Thread Simon Glass
Hi, On Wed, 5 Jul 2023 at 09:35, Tom Rini wrote: > > On Tue, Jul 04, 2023 at 02:13:01PM -0300, Fabio Estevam wrote: > > On 04/07/2023 14:04, Francesco Dolcini wrote: > > > > > The boards that do not check the return value might start to behave > > > wrongly without an obvious error to help the

Re: [PULL] u-boot-usb/master

2023-07-06 Thread Tom Rini
On Mon, Jul 03, 2023 at 01:22:21PM +0200, Marek Vasut wrote: > The following changes since commit ac29400f1f4ae5df2542bacfe4c142db7824bd6c: > > Merge tag 'efi-2023-07-rc6' of > https://source.denx.de/u-boot/custodians/u-boot-efi (2023-07-01 16:11:51 > -0400) > > are available in the Git

Re: [PULL] u-boot-riscv/riscv-for-next

2023-07-06 Thread Tom Rini
On Thu, Jul 06, 2023 at 10:45:51AM +, Leo Liang wrote: > Hi Tom, > > The following changes since commit e80f4079b3a3db0961b73fa7a96e6c90242d8d25: > > Merge tag 'v2023.07-rc6' into next (2023-07-05 11:28:55 -0400) > > are available in the Git repository at: > >

Re: EFI Secure boot default keys

2023-07-06 Thread Heinrich Schuchardt
On Wed, Jun 28, 2023 at 04:26:58PM +, Neil Jones wrote: Please can someone describe the format of the file needed for the default / built-in EFI secure boot keys (ubootefi.var) The only docs I have found suggest its best to enroll the keys from within u-boot onto some removable media,

Re: [PATCH v2 u-boot] mmc: spl: Make partition choice in default_spl_mmc_emmc_boot_partition() more explicit

2023-07-06 Thread Tom Rini
On Thu, Jul 06, 2023 at 07:49:18PM +0200, Pali Rohár wrote: > On Thursday 06 July 2023 13:42:18 Tom Rini wrote: > > On Thu, Jul 06, 2023 at 07:35:02PM +0200, Pali Rohár wrote: > > > To make eMMC partition choosing in default_spl_mmc_emmc_boot_partition() > > > function better understandable,

Re: [PATCH v2 u-boot] mmc: spl: Make partition choice in default_spl_mmc_emmc_boot_partition() more explicit

2023-07-06 Thread Pali Rohár
On Thursday 06 July 2023 13:42:18 Tom Rini wrote: > On Thu, Jul 06, 2023 at 07:35:02PM +0200, Pali Rohár wrote: > > To make eMMC partition choosing in default_spl_mmc_emmc_boot_partition() > > function better understandable, rewrite it via explicit switch-case code > > pattern. > > > > Also add a

Re: [PATCH v2 u-boot] mmc: spl: Make partition choice in default_spl_mmc_emmc_boot_partition() more explicit

2023-07-06 Thread Tom Rini
On Thu, Jul 06, 2023 at 07:35:02PM +0200, Pali Rohár wrote: > To make eMMC partition choosing in default_spl_mmc_emmc_boot_partition() > function better understandable, rewrite it via explicit switch-case code > pattern. > > Also add a warning when eMMC EXT_CSD[179] register is configured by user

Re: [PATCH u-boot 0/4] mmc: Explain and cleanup partition selection

2023-07-06 Thread Pali Rohár
On Thursday 06 July 2023 12:50:34 Pali Rohár wrote: > On Monday 03 July 2023 21:16:37 Jaehoon Chung wrote: > > Hi, > > > > On 4/14/23 06:10, Pali Rohár wrote: > > > Some people do not want to read review comments in emails. So put > > > comments and explanation into the source code itself; make

[PATCH v2 u-boot] mmc: spl: Make partition choice in default_spl_mmc_emmc_boot_partition() more explicit

2023-07-06 Thread Pali Rohár
To make eMMC partition choosing in default_spl_mmc_emmc_boot_partition() function better understandable, rewrite it via explicit switch-case code pattern. Also add a warning when eMMC EXT_CSD[179] register is configured by user to value which is not suitable for eMMC booting and SPL do not know

Re: [PATCH] lib: sparse: allocate blkcnt instead of arbitrary small number

2023-07-06 Thread Tom Rini
On Thu, Jul 06, 2023 at 11:43:13AM +0200, Mattijs Korpershoek wrote: > On lun., juin 19, 2023 at 10:21, Mattijs Korpershoek > wrote: > > > Hi Qianfan, > > > > Thank you for your review. > > > > On lun., juin 19, 2023 at 14:19, qianfan wrote: > > > >> 在 2023/6/16 21:26, Mattijs Korpershoek 写道:

[PATCH 10/10] arm: dts: keystone-k2e-evm-u-boot: Remove usb1 mode configuration

2023-07-06 Thread Julien Panis
USB1 dual-role feature is already handled as peripheral only in dwc3-generic driver. Signed-off-by: Julien Panis --- arch/arm/dts/keystone-k2e-evm-u-boot.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/dts/keystone-k2e-evm-u-boot.dtsi

[PATCH 09/10] arm: dts: k3-j721e-common-proc-board-u-boot: Remove usb0 mode configuration

2023-07-06 Thread Julien Panis
USB0 dual-role feature is already handled as peripheral only in dwc3-generic driver. Signed-off-by: Julien Panis --- arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi

[PATCH 08/10] arm: dts: k3-j7200-common-proc-board-u-boot: Remove usb0 mode configuration

2023-07-06 Thread Julien Panis
USB0 dual-role feature is already handled as peripheral only in dwc3-generic driver. Signed-off-by: Julien Panis --- arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi

[PATCH 07/10] arm: dts: k3-am654-r5-base-board-u-boot: Remove usb mode configuration

2023-07-06 Thread Julien Panis
USB0 and USB1 dual-role feature is already handled as peripheral only in dwc3-generic driver. Signed-off-by: Julien Panis --- arch/arm/dts/k3-am654-r5-base-board-u-boot.dtsi | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/arm/dts/k3-am654-r5-base-board-u-boot.dtsi

[PATCH 06/10] arm: dts: k3-am642-evm-u-boot: Remove usb0 mode configuration

2023-07-06 Thread Julien Panis
USB0 dual-role feature is already handled as peripheral only in dwc3-generic driver. Signed-off-by: Julien Panis --- arch/arm/dts/k3-am642-evm-u-boot.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/dts/k3-am642-evm-u-boot.dtsi b/arch/arm/dts/k3-am642-evm-u-boot.dtsi index

[PATCH 05/10] arm: dts: dra76-evm-u-boot: Remove usb1 mode configuration

2023-07-06 Thread Julien Panis
USB1 dual-role feature is already handled as peripheral only in dwc3-generic driver. Signed-off-by: Julien Panis --- arch/arm/dts/dra76-evm-u-boot.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/dts/dra76-evm-u-boot.dtsi b/arch/arm/dts/dra76-evm-u-boot.dtsi index

[PATCH 04/10] arm: dts: dra72-evm-u-boot: Remove usb1 mode configuration

2023-07-06 Thread Julien Panis
USB1 dual-role feature is already handled as peripheral only in dwc3-generic driver. Signed-off-by: Julien Panis --- arch/arm/dts/dra72-evm-u-boot.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/dts/dra72-evm-u-boot.dtsi b/arch/arm/dts/dra72-evm-u-boot.dtsi index

[PATCH 03/10] arm: dts: dra72-evm-revc-u-boot: Remove usb1 mode configuration

2023-07-06 Thread Julien Panis
USB1 dual-role feature is already handled as peripheral only in dwc3-generic driver. Signed-off-by: Julien Panis --- arch/arm/dts/dra72-evm-revc-u-boot.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/dts/dra72-evm-revc-u-boot.dtsi b/arch/arm/dts/dra72-evm-revc-u-boot.dtsi

[PATCH 02/10] arm: dts: dra71-evm-u-boot: Remove usb1 mode configuration

2023-07-06 Thread Julien Panis
USB1 dual-role feature is already handled as peripheral only in dwc3-generic driver. Signed-off-by: Julien Panis --- arch/arm/dts/dra71-evm-u-boot.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/dts/dra71-evm-u-boot.dtsi b/arch/arm/dts/dra71-evm-u-boot.dtsi index

[PATCH 01/10] arm: dts: dra7-evm-u-boot: Remove usb1 mode configuration

2023-07-06 Thread Julien Panis
USB1 dual-role feature is already handled as peripheral only in dwc3-generic driver. Signed-off-by: Julien Panis --- arch/arm/dts/dra7-evm-u-boot.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/dts/dra7-evm-u-boot.dtsi b/arch/arm/dts/dra7-evm-u-boot.dtsi index

[PATCH 00/10] Remove unnecessary USBx dr_mode configuration.

2023-07-06 Thread Julien Panis
| 1 - arch/arm/dts/keystone-k2e-evm-u-boot.dtsi | 1 - 10 files changed, 14 deletions(-) --- base-commit: 19b77d3d23966a0d6dbb3c86187765f11100fb6f change-id: 20230706-handle-otg-as-periph-4546e874cd15 Best regards, -- Julien Panis

Re: [PATCH v1 1/2] drivers: firmware: introduce Meson Secure Monitor driver

2023-07-06 Thread Simon Glass
Hi Alexey, On Thu, 6 Jul 2023 at 14:16, Alexey Romanov wrote: > > At the moment, only smc API is a set of functions in > arch/arm/mach-meson/sm.c. This approach is hard to configure > and also doesn't contain any generic API for calling smc. > > This patch add Meson SM driver with generic API

Re: [PATCH] tpm: Add TPM2_GetTestResult command support

2023-07-06 Thread Simon Glass
Hi Julia, On Wed, 5 Jul 2023 at 00:55, Julia Daxenberger wrote: > > Hi Simon, > > On Mon, 3 Jul 2023 at 15:31, Simon Glass wrote: > > > > Hi Julia, > > > > On Mon, 3 Jul 2023 at 14:03, Julia Daxenberger > > wrote: > > > > > > Add TPM2_GetTestResult command support and change the command file

Re: [PATCHv3 3/3] net/lwip: add doc/develop/net_lwip.rst

2023-07-06 Thread Simon Glass
Hi Maxim, On Wed, 5 Jul 2023 at 09:17, Maxim Uvarov wrote: > > Just add inital doc. > > Signed-off-by: Maxim Uvarov > --- > doc/develop/index.rst| 1 + > doc/develop/net_lwip.rst | 59 > 2 files changed, 60 insertions(+) > create mode 100644

Re: [PATCH v2] fpga: add inline stub for fpga_load

2023-07-06 Thread Simon Glass
Hi Eugen, On Wed, 5 Jul 2023 at 07:05, Eugen Hristev wrote: > > In case CC_OPTIMIZE_FOR_DEBUG is set, unused code will not be optimized out, > hence the reference to fpga_load will be compiled. > if DM_FPGA and SPL_FPGA are not set, the build will fail with : > > aarch64-none-linux-gnu-ld.bfd:

Re: [PATCHv3 1/3] net/lwip: add lwip-external submodule

2023-07-06 Thread Simon Glass
Hi Maxim, On Wed, 5 Jul 2023 at 09:16, Maxim Uvarov wrote: > > This commit adds the lwip library as a git submodule. I think > there has to be advantages to compile lwip inside U-boot, > i.e. use the same compiler and flags as the main code. > One of them is LTO and the other is to enable

Re: [PATCH] lzma: Fix decompression speed regression

2023-07-06 Thread Simon Glass
On Wed, 5 Jul 2023 at 09:54, Christophe Leroy wrote: > > Uncompressing a 1.7Mbytes FIT image on U-boot 2023.04 takes > approx 7s on a powerpc 8xx. > The same on U-boot 2023.07-rc6 takes approx 28s unless watchdog > is disabled. > > During that decompression, LzmaDec_DecodeReal() calls schedule >

Re: EFI Secure boot default keys

2023-07-06 Thread Heinrich Schuchardt
On 06.07.23 11:25, AKASHI Takahiro wrote: On Thu, Jul 06, 2023 at 08:23:06AM +, Neil Jones wrote: Please can someone describe the format of the file needed for the default / built-in EFI secure boot keys (ubootefi.var) The only docs I have found suggest its best to enroll the keys from

Re: [PATCH 3/6] arm: dts: k3-am642: Sync main_i2c0 with kernel

2023-07-06 Thread Nishanth Menon
On 17:13-20230706, Roger Quadros wrote: > Hi Nishanth, > > On 06/07/2023 15:38, Nishanth Menon wrote: > > On 21:10-20230704, Roger Quadros wrote: > >> main_i2c0 and pinmux should be in k3-am642-evm.dts. > >> Also add the I2C EEPROM. > >> > >> Si

Re: [PATCH 3/6] arm: dts: k3-am642: Sync main_i2c0 with kernel

2023-07-06 Thread Roger Quadros
Hi Nishanth, On 06/07/2023 15:38, Nishanth Menon wrote: > On 21:10-20230704, Roger Quadros wrote: >> main_i2c0 and pinmux should be in k3-am642-evm.dts. >> Also add the I2C EEPROM. >> >> Signed-off-by: Roger Quadros >> --- >> arch/arm/dts/k3-am642-evm-u-boot.dtsi | 11 --- >>

Re: [PATCH v4 0/2] Fix 'no USB device found' error.

2023-07-06 Thread Roger Quadros
Hi Julien, On 06/07/2023 13:40, Julien Panis wrote: > This series fixes the "No USB device found" error > for am335x-icev2 and am335x-evmsk. USB0 dual-role > feature is now handled as peripheral only in the > driver. > > The error was not produced for am335x-evm because > usb0 dr_mode was

[PATCH v1 2/2] asm/arch: mach-meson: use secure monitor driver

2023-07-06 Thread Alexey Romanov
Now we have to use UCLASS_FIRMWARE meson secure monitor driver instead of raw smc_call() function call. Signed-off-by: Alexey Romanov --- arch/arm/mach-meson/sm.c | 161 +++ 1 file changed, 97 insertions(+), 64 deletions(-) diff --git

[PATCH v1 1/2] drivers: firmware: introduce Meson Secure Monitor driver

2023-07-06 Thread Alexey Romanov
At the moment, only smc API is a set of functions in arch/arm/mach-meson/sm.c. This approach is hard to configure and also doesn't contain any generic API for calling smc. This patch add Meson SM driver with generic API (struct meson_sm_ops): - sm_call() - sm_call_write() - sm_call_read() A

[PATCH v1 0/2] Introduce Meson SM driver

2023-07-06 Thread Alexey Romanov
Hello! This patchset adds Meson Secure Monitor driver, which export following generic API: - sm_call_read() - sm_call_write() - sm_call() Also, now use this new API in arch/arm/mach-meson/sm.c helper functions. Alexey Romanov (2): drivers: firmware: introduce Meson Secure Monitor driver

Re: [PATCH 3/5] ARM: dts: at91: sam9x60: Change i2c compatible

2023-07-06 Thread Durai.ManickamKR
Sorry! misunderstood as kernel. Ignore this comment. On 06/07/23 14:02, Durai Manickam KR wrote: > Hi Alexander, > > sam9x60_curiosity and sam9x60ek belongs to same SOC family. So the > compatible string is updated as "microchip,sam9x60-i2c" in the > sam9x60.dtsi file. These changes are

Re: [PATCH 2/5] ARM: dts: at91: sam9x60-curiosity: Fix EEPROM type

2023-07-06 Thread Durai.ManickamKR
Sorry! misunderstood as kernel. Ignore this comment. On 06/07/23 14:00, Durai Manickam KR wrote: > Hi Alexander, > > I hope these changes are already present in upstream branch linux-6.4.y > > On 06/07/23 01:46, Alexander Dahl wrote: >> [Some people who received this message don't often get email

Re: [PATCH 3/5] ARM: dts: at91: sam9x60: Change i2c compatible

2023-07-06 Thread Durai.ManickamKR
Hi Alexander, sam9x60_curiosity and sam9x60ek belongs to same SOC family. So the compatible string is updated as "microchip,sam9x60-i2c" in the sam9x60.dtsi file. These changes are available in linux-6.4.y branch. On 06/07/23 01:46, Alexander Dahl wrote: > EXTERNAL EMAIL: Do not click links or

Re: [PATCH 2/5] ARM: dts: at91: sam9x60-curiosity: Fix EEPROM type

2023-07-06 Thread Durai.ManickamKR
Hi Alexander, I hope these changes are already present in upstream branch linux-6.4.y On 06/07/23 01:46, Alexander Dahl wrote: > [Some people who received this message don't often get email from > p...@lespocky.de. Learn why this is important at > https://aka.ms/LearnAboutSenderIdentification

Re: EFI Secure boot default keys

2023-07-06 Thread Neil Jones
>> >> Please can someone describe the format of the file needed for the default >> >> / built-in EFI secure boot keys (ubootefi.var) >> >> >> >> The only docs I have found suggest its best to enroll the keys from >> >> within u-boot onto some removable media, then copy this off and use this >>

Re: [PATCH v4 2/2] arm: dts: am335x-evm-u-boot: Remove usb0 mode configuration

2023-07-06 Thread Nishanth Menon
On 12:40-20230706, Julien Panis wrote: > USB0 dual-role feature is now handled as peripheral only > in ti-musb driver. > > Signed-off-by: Julien Panis > --- > arch/arm/dts/am335x-evm-u-boot.dtsi | 4 > 1 file changed, 4 deletions(-) > > diff --git a/arch/arm

Re: [PATCH v4 1/2] musb-new: ti-musb: Handle usb dual-role feature as peripheral

2023-07-06 Thread Nishanth Menon
On 12:40-20230706, Julien Panis wrote: > This prevents from getting some 'No USB device found' error, > in usb_ether_init() function for instance. > > Signed-off-by: Julien Panis > --- > drivers/usb/musb-new/ti-musb.c | 1 + > 1 file changed, 1 insertion(+) > > di

Re: [PATCH 3/6] arm: dts: k3-am642: Sync main_i2c0 with kernel

2023-07-06 Thread Nishanth Menon
On 21:10-20230704, Roger Quadros wrote: > main_i2c0 and pinmux should be in k3-am642-evm.dts. > Also add the I2C EEPROM. > > Signed-off-by: Roger Quadros > --- > arch/arm/dts/k3-am642-evm-u-boot.dtsi | 11 --- > arch/arm/dts/k3-am642-evm.dts | 20 > 2 files

Re: [PATCH 4/6] arm: dts: k3-am642-r5-evm: Add I2C0 and Card detect GPIOs

2023-07-06 Thread Nishanth Menon
On 21:10-20230704, Roger Quadros wrote: > Card detect GPIOs are on I2C GPIO Expander on I2C0. > Enable I2C0 and GPIO Expander for r5-evm. > > Signed-off-by: Roger Quadros > --- > arch/arm/dts/k3-am642-r5-evm.dts | 19 +++ > 1 file changed, 19 insertions(+) > > diff --git

Re: [PATCH 2/2] board: rockchip: Add Hardkernel ODROID-M1

2023-07-06 Thread Stefan Agner
On 2023-07-06 07:08, Jonas Karlman wrote: > On 2023-07-06 01:27, Stefan Agner wrote: >> On 2023-07-02 22:47, Jonas Karlman wrote: >>> Hardkernel ODROID-M1 is a single board computer with a RK3568B2 SoC, >>> a slightly modified version of the RK3568 SoC. >>> >>> Features tested on a ODROID-M1 8GB

Re: [PATCH v4 1/2] musb-new: ti-musb: Handle usb dual-role feature as peripheral

2023-07-06 Thread Tony Lindgren
* Julien Panis [230706 10:41]: > This prevents from getting some 'No USB device found' error, > in usb_ether_init() function for instance. Looks good to me: Reviewed-by: Tony Lindgren

Re: [PATCH u-boot 0/4] mmc: Explain and cleanup partition selection

2023-07-06 Thread Pali Rohár
On Monday 03 July 2023 21:16:37 Jaehoon Chung wrote: > Hi, > > On 4/14/23 06:10, Pali Rohár wrote: > > Some people do not want to read review comments in emails. So put > > comments and explanation into the source code itself; make emmc > > partition selection code more explicit and validate

[PULL] u-boot-riscv/riscv-for-next

2023-07-06 Thread Leo Liang
Hi Tom, The following changes since commit e80f4079b3a3db0961b73fa7a96e6c90242d8d25: Merge tag 'v2023.07-rc6' into next (2023-07-05 11:28:55 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-riscv.git riscv-for-next for you to fetch changes up

[PATCH v4 2/2] arm: dts: am335x-evm-u-boot: Remove usb0 mode configuration

2023-07-06 Thread Julien Panis
USB0 dual-role feature is now handled as peripheral only in ti-musb driver. Signed-off-by: Julien Panis --- arch/arm/dts/am335x-evm-u-boot.dtsi | 4 1 file changed, 4 deletions(-) diff --git a/arch/arm/dts/am335x-evm-u-boot.dtsi b/arch/arm/dts/am335x-evm-u-boot.dtsi index

[PATCH v4 1/2] musb-new: ti-musb: Handle usb dual-role feature as peripheral

2023-07-06 Thread Julien Panis
This prevents from getting some 'No USB device found' error, in usb_ether_init() function for instance. Signed-off-by: Julien Panis --- drivers/usb/musb-new/ti-musb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/musb-new/ti-musb.c b/drivers/usb/musb-new/ti-musb.c index

[PATCH v4 0/2] Fix 'no USB device found' error.

2023-07-06 Thread Julien Panis
This series fixes the "No USB device found" error for am335x-icev2 and am335x-evmsk. USB0 dual-role feature is now handled as peripheral only in the driver. The error was not produced for am335x-evm because usb0 dr_mode was configured as peripheral in 'am335x-evm-u-boot.dtsi'. This fragment is no

Re: [PATCH] lib: sparse: allocate blkcnt instead of arbitrary small number

2023-07-06 Thread Mattijs Korpershoek
On lun., juin 19, 2023 at 10:21, Mattijs Korpershoek wrote: > Hi Qianfan, > > Thank you for your review. > > On lun., juin 19, 2023 at 14:19, qianfan wrote: > >> 在 2023/6/16 21:26, Mattijs Korpershoek 写道: >>> Commit 62649165cb02 ("lib: sparse: Make CHUNK_TYPE_RAW buffer aligned") >>> fixed

Re: EFI Secure boot default keys

2023-07-06 Thread AKASHI Takahiro
On Thu, Jul 06, 2023 at 08:23:06AM +, Neil Jones wrote: > >> >> Please can someone describe the format of the file needed for the > >> >> default / built-in EFI secure boot keys (ubootefi.var) > >> >> > >> >> The only docs I have found suggest its best to enroll the keys from > >> >> within

Re: [PATCH 3/5] ARM: dts: at91: sam9x60: Change i2c compatible

2023-07-06 Thread Alexander Dahl
Hello, Am Thu, Jul 06, 2023 at 08:32:41AM + schrieb durai.manicka...@microchip.com: > Hi Alexander, > > sam9x60_curiosity and sam9x60ek belongs to same SOC family. So the > compatible string is updated as "microchip,sam9x60-i2c" in the > sam9x60.dtsi file. These changes are available in

[PATCH v2 09/11] binman: btool: Add Xilinx Bootgen btool

2023-07-06 Thread lukas . funke-oss
From: Lukas Funke Add the Xilinx Bootgen as bintool. Xilinx Bootgen is used to create bootable SPL (FSBL in Xilinx terms) images for Zynq/ZynqMP devices. The btool creates a signed version of the SPL. Additionally to signing the key source for the decryption engine can be passend to the boot

[PATCH v2 11/11] binman: etype: Add xilinx_fsbl_auth etype

2023-07-06 Thread lukas . funke-oss
From: Lukas Funke This adds a new etype 'xilinx_fsbl_auth'. Using this etype it is possible to created an authenticated SPL (FSBL in Xilinx terms) for ZynqMP boards. The etype uses Xilinx Bootgen tools in order to transform the SPL into a bootable image and sign the image with a given primary

[PATCH v2 07/11] binman: etype: Add u_boot_spl_pubkey_dtb etype

2023-07-06 Thread lukas . funke-oss
From: Lukas Funke This adds a new etype 'u_boot_spl_pubkey_dtb'. The etype adds the public key from a certificate to the dtb. This creates a '/signature' node which is turn contains the fields which make up the public key. Usually this is done by 'mkimage -K'. However, 'binman sign' does not add

[PATCH v2 10/11] binman: ftest: Add test for xilinx_fsbl_auth etype

2023-07-06 Thread lukas . funke-oss
From: Lukas Funke Add test for the 'xilinx_fsbl_auth' etype Signed-off-by: Lukas Funke --- Changes in v2: - Fixed typo in dts name tools/binman/ftest.py | 8 tools/binman/test/280_xilinx_fsbl_auth.dts | 23 ++ 2 files changed, 31

[PATCH v2 08/11] binman: doc: Add documentation for Xilinx Bootgen bintool

2023-07-06 Thread lukas . funke-oss
From: Lukas Funke Add documentation for the 'bootgen' bintool Signed-off-by: Lukas Funke Reviewed-by: Simon Glass --- (no changes since v1) tools/binman/bintools.rst | 12 1 file changed, 12 insertions(+) diff --git a/tools/binman/bintools.rst b/tools/binman/bintools.rst

[PATCH v2 06/11] binman: btool: Add fdt_add_pubkey as btool

2023-07-06 Thread lukas . funke-oss
From: Lukas Funke Add btool which calls 'fdt_add_pubkey' Signed-off-by: Lukas Funke Reviewed-by: Simon Glass --- (no changes since v1) tools/binman/btool/fdt_add_pubkey.py | 67 1 file changed, 67 insertions(+) create mode 100644

[PATCH v2 04/11] binman: doc: Add documentation for fdt_add_pubkey bintool

2023-07-06 Thread lukas . funke-oss
From: Lukas Funke Add documentation for btool which calls 'fdt_add_pubkey' Signed-off-by: Lukas Funke Reviewed-by: Simon Glass --- (no changes since v1) tools/binman/bintools.rst | 10 ++ 1 file changed, 10 insertions(+) diff --git a/tools/binman/bintools.rst

[PATCH v2 00/11] Sign Xilinx ZynqMP SPL/FSBL boot images using binman

2023-07-06 Thread lukas . funke-oss
From: Lukas Funke This series adds two etypes to create a verified boot chain for Xilinx ZynqMP devices. The first etype 'xilinx_fsbl_auth' is used to create a bootable, signed image for ZynqMP boards using the Xilinx Bootgen tool. The second etype 'u_boot_spl_pubkey_dtb' is used to add a

[PATCH v2 03/11] binman: blob_dtb: Add fake_size argument to ObtainContents()

2023-07-06 Thread lukas . funke-oss
From: Lukas Funke The method 'connect_contents_to_file()' calls ObtainsContents() with 'fake_size' argument. Without providing the argument in the blob_dtb we are not able to call this method without error. Signed-off-by: Lukas Funke Reviewed-by: Simon Glass --- (no changes since v1)

[PATCH v2 05/11] binman: ftest: Add test for u_boot_spl_pubkey_dtb

2023-07-06 Thread lukas . funke-oss
From: Lukas Funke Add test for u_boot_spl_pubkey_dtb. The test adds a public key to the dtb and checks if the required nodes will be added to the images dtb. Signed-off-by: Lukas Funke Reviewed-by: Simon Glass --- Changes in v2: - Changed u_boot_spl_pubkey_dtb to u-boot-spl-pubkey-dtb

[PATCH v2 02/11] binman: Don't decompress data while signing

2023-07-06 Thread lukas . funke-oss
From: Lukas Funke While signing a fit compressed data (i.e. 'blob-ext') is decompressed, but never compressed again. When compressed data was wrapped in a section, decompression leads to an error because the outer section had the original compressed size but the inner entry has the uncompressed

[PATCH v2 01/11] binman: elf: Check for ELF_TOOLS availability and remove extra semicolon

2023-07-06 Thread lukas . funke-oss
From: Lukas Funke Check if elf tools are available when running DecodeElf(). Also remove superfuous semicolon at line ending. Signed-off-by: Lukas Funke Reviewed-by: Simon Glass --- (no changes since v1) tools/binman/elf.py | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-)

Re: [PATCH 2/5] ARM: dts: at91: sam9x60-curiosity: Fix EEPROM type

2023-07-06 Thread Eugen Hristev
On 7/6/23 11:06, Eugen Hristev wrote: On 7/5/23 23:16, Alexander Dahl wrote: From: Alexander Dahl The user guide says it's a Microchip 24AA025E48 serial EEPROM, which is a 2-Kbit I2C Serial EEPROM with EUI-48™ Identity.  This is the chip actually populated on board EV40E67A rev 4.

Re: [PATCH 2/5] ARM: dts: at91: sam9x60-curiosity: Fix EEPROM type

2023-07-06 Thread Eugen Hristev
On 7/5/23 23:16, Alexander Dahl wrote: From: Alexander Dahl The user guide says it's a Microchip 24AA025E48 serial EEPROM, which is a 2-Kbit I2C Serial EEPROM with EUI-48™ Identity. This is the chip actually populated on board EV40E67A rev 4. Signed-off-by: Alexander Dahl --- Notes:

Re: [PATCH] ARM: dts: imx: Fix eMMC boot on Data Modul i.MX8M Plus eDM SBC

2023-07-06 Thread Peng Fan
On 7/6/2023 7:26 AM, Marek Vasut wrote: In case the i.MX8M Plus starts from eMMC BOOT1/BOOT2 HW partitions, the flash.bin container is stored at offset 0 from the start, that means the fitImage itb is at offset 0x2c0 instead of 0x300 sectors from the start. Handle this difference in custom

RE: [GIT PULL] Please pull u-boot-mmc master

2023-07-06 Thread Jaehoon Chung
Dear Tom, > -Original Message- > From: U-Boot On Behalf Of Jaehoon Chung > Sent: Tuesday, July 4, 2023 10:29 AM > To: U-Boot Mailing List > Cc: Tom Rini ; Hai Pham ; Marek > Vasut ; > Pali Rohár ; alentine Barshak > ; Jae hoon Chung > ; Peng Fan > Subject: [GIT PULL] Please pull

Re: [PATCH v2 0/2] Fix 'no USB device found' error.

2023-07-06 Thread Roger Quadros
On 06/07/2023 06:53, Tony Lindgren wrote: > * Tom Rini [230703 16:22]: >> On Mon, Jul 03, 2023 at 07:12:47PM +0300, Roger Quadros wrote: >>> Linux DT files are correct. USB0 is a dual-role port so it sets it to 'otg'. >>> u-boot doesn't support 'otg' so we need to override it to 'peripheral'