Re: [PATCH] tools/imx8mimage: Remove the usage of IVT reserved1 field

2022-07-02 Thread Michael Nazzareno Trimarchi
Hi Peng On Sun, Jul 3, 2022 at 8:46 AM Peng Fan (OSS) wrote: > > > Subject: Re: [PATCH] tools/imx8mimage: Remove the usage of IVT reserved1 > > field > > > > Hi Peng > > > > On Sun, Jul 3, 2022 at 1:15 AM Peng Fan (OSS) > > wrote: > > > > > > From: Peng Fan > > > > > > Commit log from NXP imx-m

RE: [PATCH] tools/imx8mimage: Remove the usage of IVT reserved1 field

2022-07-02 Thread Peng Fan (OSS)
> Subject: Re: [PATCH] tools/imx8mimage: Remove the usage of IVT reserved1 > field > > Hi Peng > > On Sun, Jul 3, 2022 at 1:15 AM Peng Fan (OSS) > wrote: > > > > From: Peng Fan > > > > Commit log from NXP imx-mkimage: > > On iMX8MQ B2, ROM will check IVT header and requires the reserved > > fie

Re: [PATCH] tools/imx8mimage: Remove the usage of IVT reserved1 field

2022-07-02 Thread Michael Nazzareno Trimarchi
Hi Peng On Sun, Jul 3, 2022 at 1:15 AM Peng Fan (OSS) wrote: > > From: Peng Fan > > Commit log from NXP imx-mkimage: > On iMX8MQ B2, ROM will check IVT header and requires the reserved fields > in IVT to be 0. > However, in imx-mkimage we set the reserved1 field for the offset from > second boot

Re: [PATCH] usb: host: ehci-generic: Fix error check

2022-07-02 Thread Tom Rini
On Sat, Jul 02, 2022 at 11:42:17PM +0200, Marek Vasut wrote: > On 7/2/22 02:45, Andre Przywara wrote: > > Commit 81755b8c20fe ("usb: host: ehci-generic: Make resets and clocks > > optional") improved the error check to cover the reset property being > > optional. However this was using the wrong er

[PATCH] tools/imx8mimage: Remove the usage of IVT reserved1 field

2022-07-02 Thread Peng Fan (OSS)
From: Peng Fan Commit log from NXP imx-mkimage: On iMX8MQ B2, ROM will check IVT header and requires the reserved fields in IVT to be 0. However, in imx-mkimage we set the reserved1 field for the offset from second boot image to SPL boot image, which was used for mfgtool but has deprecated. So re

Re: [PATCH] usb: host: ehci-generic: Fix error check

2022-07-02 Thread Marek Vasut
On 7/2/22 02:45, Andre Przywara wrote: Commit 81755b8c20fe ("usb: host: ehci-generic: Make resets and clocks optional") improved the error check to cover the reset property being optional. However this was using the wrong error variable for the check, so would now never fail. Use the correct err

[PATCH 1/1] doc: add package uuid-dev to build dependencies

2022-07-02 Thread Heinrich Schuchardt
Building mkeficapsule requires include uuid/uuid.h Signed-off-by: Heinrich Schuchardt --- doc/build/gcc.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/build/gcc.rst b/doc/build/gcc.rst index 682051abeb..ee544ad87e 100644 --- a/doc/build/gcc.rst +++ b/doc/build/gcc.rs

Pull request for efi-2022-07-rc6

2022-07-02 Thread Heinrich Schuchardt
Dear Tom, The following changes since commit 936d468b7bbc8c02071b3d0d24f9c48167cb5ce7: chameleonv3: Add MAINTAINERS file (2022-07-01 15:55:54 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2022-07-rc6 for you to fetch change

[PATCH 1/1] avb: honor CONFIG_SYS_64BIT_LBA

2022-07-02 Thread Heinrich Schuchardt
The size of lbaint_t depends on CONFIG_SYS_64BIT_LBA defined in common.h. common.h should always be included as first include. Signed-off-by: Heinrich Schuchardt --- common/avb_verify.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/avb_verify.c b/common/avb_verify.c index 0520a71455

[PATCH 1/1] xen: pvblock: honor CONFIG_SYS_64BIT_LBA

2022-07-02 Thread Heinrich Schuchardt
CONFIG_SYS_64BIT_LBA is defined in common.h and used to define the size of lbaint_t in blk.h. On 32-bit system not including common.h first will lead to differences in the size of lbaint_t between modules. common.h should always be the first include. Signed-off-by: Heinrich Schuchardt --- cmd/p

[PATCH 1/1] disk: honor CONFIG_SYS_64BIT_LBA

2022-07-02 Thread Heinrich Schuchardt
Without the patch for qemu-x86_defconfig: * sizeof(lbaint_t) = 4 in dev_read() * sizeof(lbaint_t) = 8 in blkcache_read() CONFIG_SYS_64BIT_LBA is defined in common.h via include/configs/x86-common.h:22. We have to include common.h before including blk.h. Signed-off-by: Heinrich Schuchardt ---

Re: [PATCH v3 1/7] tools: mkimage: Add support to generate FlexSPI Header for i.MX8m

2022-07-02 Thread Adam Ford
On Thu, Jun 9, 2022 at 9:55 AM Mamta Shukla wrote: > > Add struct with Flex SPI Configuration Block and enable generating > fspi header using mkimage. > > Refer i.MX 8M Mini Application Processor Reference Manual for > detailed information about parameters for FlexSPI Configuration block. > I tes

Re: [PATCH v3 5/7] configs: imx8mm: Define CONFIG_SYS_UBOOT_BASE for i.MX8m

2022-07-02 Thread Adam Ford
On Thu, Jun 9, 2022 at 9:56 AM Mamta Shukla wrote: > > The macro `CONFIG_SYS_UBOOT_BASE` is used by SPL loaders `"NOR"` and > `"XIP"` to determine the base address of u-boot. > > For `"NOR"` on i.MX8MM it is the base address of QSPI0 plus the offset > of the flattened image tree blob. > Although `

Re: [PATCH v2] sunxi: psci: Fix sunxi_power_switch on sun8i-r40 platform

2022-07-02 Thread qianfan
在 2022/6/25 8:51, Andre Przywara 写道: On Sat, 14 May 2022 11:52:01 +0800 Chen-Yu Tsai wrote: Hi Qianfan, On Sat, May 14, 2022 at 11:19 AM wrote: From: qianfan Zhao linux system will die if we offline one of the cpu on R40 based board: eg: echo 0 > /sys/devices/system/cpu/cpu3/online Th

Re: [PATCH v1] drivers: spi: sunxi: Fix spi speed settting

2022-07-02 Thread qianfan
在 2022/7/2 15:50, qianfan 写道: 在 2022/7/2 11:09, qianfan 写道: 在 2022/6/28 8:34, Andre Przywara 写道: On Thu,  9 Jun 2022 17:09:39 +0800 qianfangui...@163.com wrote: Hi Qianfan, From: qianfan Zhao dm_spi_claim_bus run spi_set_speed_mode first and then ops->claim_bus, but spi clock is ena

Re: [PATCH v3] EFI: Fix ReadBlocks API reading incorrect sector for UCLASS_PARTITION devices

2022-07-02 Thread Heinrich Schuchardt
On 6/30/22 13:02, Paul Barbieri wrote: The requsted partition disk sector incorrectly has the parition start sector added in twice for UCLASS_PARTITION devices. The efi_disk_rw_blocks() routine adds the diskobj->offset to the requested lba. When the device is a UCLASS_PARTITION, the dev_read() or

Re: [PATCH v1] drivers: spi: sunxi: Fix spi speed settting

2022-07-02 Thread qianfan
在 2022/7/2 11:09, qianfan 写道: 在 2022/6/28 8:34, Andre Przywara 写道: On Thu,  9 Jun 2022 17:09:39 +0800 qianfangui...@163.com wrote: Hi Qianfan, From: qianfan Zhao dm_spi_claim_bus run spi_set_speed_mode first and then ops->claim_bus, but spi clock is enabled when sun4i_spi_claim_bus, th