Re: [PATCH] ARM: imx: imx8mn-ddr4-evk: Add ethernet support

2021-02-26 Thread Jagan Teki
Hi Marek, On Sat, Feb 27, 2021 at 3:44 AM Marek Vasut wrote: > > Add support for ethernet on the imx8mn-ddr4-evk. > > Signed-off-by: Marek Vasut > Cc: Fabio Estevam > Cc: Peng Fan > Cc: Stefano Babic > --- > arch/arm/dts/imx8mn-evk.dtsi| 1 + >

Re: [EXT] [PATCH] ARM: imx: Add OCRAM_S into iMX8M MMU tables

2021-02-26 Thread Ye Li
Hi Marek, On Fri, 2021-02-26 at 13:44 +0100, Marek Vasut wrote: > Caution: EXT Email > > On 2/26/21 8:15 AM, Ye Li wrote: > > > > Hi Marek, > > > > On Thu, 2021-02-25 at 21:52 +0100, Marek Vasut wrote: > > > > > > Caution: EXT Email > > > > > > The OCRAM_S is regular memory, just like the

Re: [EXT] Re: [PATCH 4/4] imx8mq_evk: Enable the USB3.0 host port

2021-02-26 Thread Ye Li
Hi Fabio, On Thu, 2021-02-25 at 10:49 -0300, Fabio Estevam wrote: > Caution: EXT Email > > Hi Ye Li, > > On Thu, Feb 25, 2021 at 10:34 AM Ye Li wrote: > > > > > Sure, I have tested it on 8mq evk. I can reproduce the two issues > > you > > met. > > The first issue is caused by the ALIGN. The

Pull request for efi-2021-04-rc3-2

2021-02-26 Thread Heinrich Schuchardt
Dear Tom, The following changes since commit c28d5d704d3347fcbe5e49ab561973c00bf9337f: Merge branch '2021-02-25-remove-platforms' (2021-02-25 13:18:27 -0500) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2021-04-rc3-2 for you to

[PATCH 1/1] cmd/efidebug: add firmware management protocol GUID

2021-02-26 Thread Heinrich Schuchardt
Add missing GUID short text used in the efidebug tables and efidebug dh sub-commands. Signed-off-by: Heinrich Schuchardt --- cmd/efidebug.c | 4 1 file changed, 4 insertions(+) diff --git a/cmd/efidebug.c b/cmd/efidebug.c index bbbcb0a546..e4030f514a 100644 --- a/cmd/efidebug.c +++

Re: [PATCH v2 1/3] cmd: mvebu: Implement the Marvell hw_info command

2021-02-26 Thread Pali Rohár
On Monday 15 February 2021 20:59:32 Luka Kovacic wrote: > The hw_info command is implemented to enable parsing Marvell hw_info > formatted environments. This format is often used on Marvell Armada A37XX > based devices to store parameters like the board serial number, factory > MAC addresses and

Re: [PATCH 3/5] Azure/GitLab: Ensure we use requirements.txt for testsuites

2021-02-26 Thread Bin Meng
On Fri, Feb 26, 2021 at 10:31 PM Tom Rini wrote: > > On Fri, Feb 26, 2021 at 10:25:30PM +0800, Bin Meng wrote: > > On Fri, Feb 26, 2021 at 8:53 PM Tom Rini wrote: > > > > > > Given that test/py/requirements.txt has all required test modules, make > > > use of that rather than a manual pip

Re: [PATCH v2 3/3] arm: mvebu: Initial ESPRESSOBin-Ultra board support

2021-02-26 Thread Pali Rohár
On Monday 15 February 2021 20:59:34 Luka Kovacic wrote: > Add initial support for the ESPRESSOBin-Ultra board from Globalscale > Technologies, Inc. > > The board is based on the 64-bit dual-core Marvell Armada 3720 SoC. > Peripherals: > - 5 Gigabit Ethernet ports (WAN has PoE, up to 30W, Topaz

Re: [PATCH v2 2/3] arm: mvebu: mvebu_armada-37xx: Define the loadaddr environment variable

2021-02-26 Thread Pali Rohár
On Monday 15 February 2021 20:59:33 Luka Kovacic wrote: > Add the loadaddr U-Boot environment variable, as this is available in > the stock Marvell U-Boot by default on Marvell Armada A37XX platforms. Hello Luka! Why is this change needed? mvebu_armada-37xx.h already defines CONFIG_SYS_LOAD_ADDR

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

2021-02-26 Thread Tom Rini
On Fri, Feb 26, 2021 at 06:56:18PM +0100, Marek Vasut wrote: > The following changes since commit c28d5d704d3347fcbe5e49ab561973c00bf9337f: > > Merge branch '2021-02-25-remove-platforms' (2021-02-25 13:18:27 -0500) > > are available in the Git repository at: > >

[PATCH] ARM: imx: imx8mn-ddr4-evk: Add ethernet support

2021-02-26 Thread Marek Vasut
Add support for ethernet on the imx8mn-ddr4-evk. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Peng Fan Cc: Stefano Babic --- arch/arm/dts/imx8mn-evk.dtsi| 1 + board/freescale/imx8mn_evk/imx8mn_evk.c | 41 +++-- configs/imx8mn_ddr4_evk_defconfig |

Re: [PATCH] rk3399: Add basic support for helios64

2021-02-26 Thread Uwe Kleine-König
Hi Peter, On 2/26/21 3:56 PM, Peter Robinson wrote: On Fri, Feb 26, 2021 at 1:45 PM Uwe Kleine-König wrote: On 2/26/21 12:23 AM, Dennis Gilmore wrote: Thanks for submitting, I have been meaning to do so myself, I have been meaning to go through and try get the dts files in a decent shape. I

Re: [PATCH] arm64: rk3399: Add support NanoPi R4s

2021-02-26 Thread Patrick Wildt
Am Fri, Feb 26, 2021 at 09:37:58PM +0100 schrieb Patrick Wildt: > Am Mon, Feb 08, 2021 at 04:56:35PM +0800 schrieb xiaobo: > > From: Xiaobo Tian > > > > NanoPi R4s is SBC base on Rockchip RK3399 hexa-core processor with > > dual-Core Cortex-A72 and Mali-T864 GPU with 4GiB(LPDDR4) of RAM, SD card

Re: [PATCH] arm64: rk3399: Add support NanoPi R4s

2021-02-26 Thread Patrick Wildt
Am Mon, Feb 08, 2021 at 04:56:35PM +0800 schrieb xiaobo: > From: Xiaobo Tian > > NanoPi R4s is SBC base on Rockchip RK3399 hexa-core processor with > dual-Core Cortex-A72 and Mali-T864 GPU with 4GiB(LPDDR4) of RAM, SD card > support, > including 2 gigabit ethernet(RTL8211E 1Gbps - RTL8111H

Re: Pull request: u-boot-spi/master

2021-02-26 Thread Tom Rini
On Fri, Feb 26, 2021 at 10:52:12PM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > Summary: > - new GigaDevice flash ids > - fixes for imx, nxp_spi drivers > > GitLab CI: > https://gitlab.denx.de/u-boot/custodians/u-boot-spi/-/pipelines/6528 > > The following changes since

Re: [PULL] Pull request for u-boot master / v2021.04 = u-boot-stm32-20210226

2021-02-26 Thread Tom Rini
On Fri, Feb 26, 2021 at 06:17:33PM +0100, Patrick DELAUNAY wrote: > > Hi Tom, > > Please pull the STM32 related patches for u-boot/master, v2021.04: > u-boot-stm32-20210226 > > - Add USB host boot support in stm32mp1 config > - Enable uefi related commands for STMi

Re: [PATCH v2 00/14] spi: dw: Add support for DUAL/QUAD/OCTAL modes

2021-02-26 Thread Sean Anderson
On 2/26/21 5:25 AM, Jagan Teki wrote: On Fri, Feb 5, 2021 at 9:41 AM Sean Anderson wrote: This series adds support for enhanced SPI modes. It was tested on a K210 (DWC SSI with QSPI flash). If anyone has a designware device with QSPI flash attached (especially a DW SSI APB device), I'd

Re: Broken build on OpenBSD

2021-02-26 Thread Alex G.
On 2/25/21 1:31 PM, Simon Glass wrote: Hi Alex, To the extent that it is unconventional, that reflects the decision to avoid adding U-Boot-specific error numbers and perhaps also to avoid having a different error number for each possible failure in U-Boot. The set of errno codes is much

[PATCH v2] cmd: gpt: Add option to write GPT partitions to environment variable

2021-02-26 Thread Farhan Ali
This change would enhance the existing 'gpt read' command to allow (optionally) writing of the read GPT partitions to an environment variable in the UBOOT partitions layout format. This would allow users to easily change the overall partition settings by editing said variable and then using the

[PULL] u-boot-usb/master

2021-02-26 Thread Marek Vasut
The following changes since commit c28d5d704d3347fcbe5e49ab561973c00bf9337f: Merge branch '2021-02-25-remove-platforms' (2021-02-25 13:18:27 -0500) are available in the Git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes up to

Re: Please pull u-boot-marvell/master

2021-02-26 Thread Tom Rini
On Fri, Feb 26, 2021 at 12:14:07PM +0100, Stefan Roese wrote: > Hi Tom, > > please pull the next batch of Marvell MVEBU related patches. Here the > summary log: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: Pull request: u-boot-samsung master

2021-02-26 Thread Tom Rini
On Fri, Feb 26, 2021 at 03:39:58PM +0900, Minkyu Kang wrote: > Dear Tom, > > The following changes since commit 8f7a16aac36c2a38956bd04b53cb7b94b7a70180: > > Merge tag 'u-boot-amlogic-20210222' of > https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic (2021-02-22 12:37:02 > -0500) > >

Re: [GIT PULL] u-boot-riscv/master

2021-02-26 Thread Tom Rini
On Fri, Feb 26, 2021 at 09:53:24AM +0800, Leo Liang wrote: > Hi Tom, > > Please pull some RISC-V updates. > CI result: > https://gitlab.denx.de/u-boot/custodians/u-boot-riscv/-/pipelines/6505 > > The following changes since commit cbe607b920bc0827d8fe379ed4f5ae4e2058513e: > > Merge tag

Re: [PATCH] RFC: spl: fit: Use libfdt functions to read stringlist

2021-02-26 Thread Tom Rini
On Thu, Feb 25, 2021 at 02:31:23PM -0500, Simon Glass wrote: > At present the code here reimplements a few libfdt functions and does not > always respect the property length. The !str check is unlikely to fire > since 1 is added to the string address. If strchr() returns NULL then the > code

Pull request: u-boot-spi/master

2021-02-26 Thread Jagan Teki
Hi Tom, Please pull this PR. Summary: - new GigaDevice flash ids - fixes for imx, nxp_spi drivers GitLab CI: https://gitlab.denx.de/u-boot/custodians/u-boot-spi/-/pipelines/6528 The following changes since commit c28d5d704d3347fcbe5e49ab561973c00bf9337f: Merge branch

[PULL] Pull request for u-boot master / v2021.04 = u-boot-stm32-20210226

2021-02-26 Thread Patrick DELAUNAY
Hi Tom, Please pull the STM32 related patches for u-boot/master, v2021.04: u-boot-stm32-20210226 - Add USB host boot support in stm32mp1 config - Enable uefi related commands for STMicroelectronics STM32MP15 boards - Remove duplicate uart nodes in stm32mp15 device tree CI status: https

RE: [v4 0/7] Add Vendor Authorized Boot (VAB) support

2021-02-26 Thread Lim, Elly Siew Chin
Hi All, Please ignore this series, I accidentally create this series based on older master branch which causes patch [v4 2/7] conflict with latest master branch due to new commit about asm/global_data.h. I have rebased to latest master branch and resend the VAB series with prefix "

[RESEND v4 7/7] Makefile: socfpga: Add target to generate hex output for combined spl and dtb

2021-02-26 Thread Siew Chin Lim
From: Dalon Westergreen Add target to Makefile to generate "u-boot-spl-dtb.hex" for Intel SOCFPGA SOC64 devices (Stratix 10 and Agilex). "u-boot-spl-dtb.hex" is hex formatted spl with and offset of CONFIG_SPL_TEXT_BASE. It combines the spl image and dtb. "u-boot-spl-dtb.hex" is needed to

[RESEND v4 6/7] configs: socfpga: Add defconfig for Agilex with VAB support

2021-02-26 Thread Siew Chin Lim
Booting Agilex with Vendor Authorized Boot. Signed-off-by: Siew Chin Lim --- .../{socfpga_agilex_atf_defconfig => socfpga_agilex_vab_defconfig}| 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) copy configs/{socfpga_agilex_atf_defconfig => socfpga_agilex_vab_defconfig} (92%) diff

[RESEND v4 5/7] configs: socfpga: soc64: Move CONFIG_BOOTCOMMAND to defconfig

2021-02-26 Thread Siew Chin Lim
CONFIG_BOOTCOMMAND have been moved to Kconfig.boot. This patch move the CONFIG_BOOTCOMMAND macro from socfpga_soc64_common.h to *_defconfig file for both Stratix 10 and Agilex. Signed-off-by: Siew Chin Lim --- configs/socfpga_agilex_atf_defconfig| 2 ++ configs/socfpga_agilex_defconfig

[RESEND v4 4/7] arm: socfpga: dts: soc64: Update filename in binman node of FIT image with VAB support

2021-02-26 Thread Siew Chin Lim
FIT image of Vendor Authentication Coot (VAB) contains signed images. Signed-off-by: Siew Chin Lim --- arch/arm/dts/socfpga_soc64_fit-u-boot.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/dts/socfpga_soc64_fit-u-boot.dtsi

[RESEND v4 3/7] arm: socfpga: cmd: Support 'vab' command

2021-02-26 Thread Siew Chin Lim
Support 'vab' command to perform vendor authentication. Command format: vab addr len Authorize 'len' bytes starting at 'addr' via vendor public key Signed-off-by: Siew Chin Lim --- arch/arm/mach-socfpga/Makefile | 1 + arch/arm/mach-socfpga/vab.c| 34 ++ 2

[RESEND v4 2/7] arm: socfpga: soc64: Support Vendor Authorized Boot (VAB)

2021-02-26 Thread Siew Chin Lim
Vendor Authorized Boot is a security feature for authenticating the images such as U-Boot, ARM trusted Firmware, Linux kernel, device tree blob and etc loaded from FIT. After those images are loaded from FIT, the VAB certificate and signature block appended at the end of each image are sent to

[RESEND v4 1/7] arm: socfpga: Move Stratix10 and Agilex to use TARGET_SOCFPGA_SOC64

2021-02-26 Thread Siew Chin Lim
Create common macro TARGET_SOCFPGA_SOC64 for Stratix10 and Agilex. Signed-off-by: Siew Chin Lim --- arch/arm/Kconfig| 6 +++--- arch/arm/mach-socfpga/Kconfig | 5 + arch/arm/mach-socfpga/include/mach/reset_manager.h | 3 +--

[RESEND v4 0/7] Add Vendor Authorized Boot (VAB) support

2021-02-26 Thread Siew Chin Lim
This is the 4th version of patchset to add Vendor Authorized Boot (VAB) support for Intel Agilex SoC device. Vendor Authorized Boot is a security feature for authenticating the images such as U-Boot, ARM trusted Firmware, Linux kernel, device tree blob and etc loaded from FIT. After those images

Re: [PATCH v2] usb: dfu: Migrate CONFIG_SYS_DFU_DATA_BUF_SIZE and CONFIG_SYS_DFU_MAX_FILE_SIZE to Kconfig

2021-02-26 Thread Oleksandr Suvorov
Hi Aswath, On Fri, Feb 26, 2021 at 3:44 PM Aswath Govindraju wrote: > > Currently the config options CONFIG_SYS_DFU_DATA_BUF_SIZE and > CONFIG_SYS_DFU_MAX_FILE_SIZE are being set in include/configs/.h > files and also in _defconfig files without a Kconfig option. It > is easier for users to set

Re: [PATCH 0/2] pinctrl: at91-pio4: add support for slew-rate

2021-02-26 Thread Eugen.Hristev
On 27.01.2021 15:00, Claudiu Beznea wrote: > Hi, > > This series adds support for slew rate on AT91 PIO4 driver. > The support is enabled on SAMA7G5. > > Thank you, > Claudiu Beznea > > Claudiu Beznea (2): >dt-bindings: pinctrl: at91-pio4: add slew-rate >pinctrl: at91-pio4: add support

Re: [RFC PATCH] nvme: Always invalidate whole cqes[] array

2021-02-26 Thread Suniel Mahesh
On Fri, Feb 26, 2021 at 8:12 PM Jagan Teki wrote: > > Hi Suniel, > > On Mon, Feb 8, 2021 at 7:02 PM Andre Przywara wrote: > > > > At the moment nvme_read_completion_status() tries to invidate a single > > member of the cqes[] array, which is shady as just a single entry is > > not cache line

RE: [v2] Makefile: socfpga: Add target to generate hex output for combined spl and dtb

2021-02-26 Thread Lim, Elly Siew Chin
Hi Ley Foon, > -Original Message- > From: Tan, Ley Foon > Sent: Friday, February 26, 2021 5:38 PM > To: Lim, Elly Siew Chin ; u-boot@lists.denx.de > Cc: Marek Vasut ; See, Chin Liang > ; Simon Goldschmidt > ; Chee, Tien Fong > ; Westergreen, Dalon > ; Simon Glass ; Gan, > Yau Wai >

RE: [v3 2/6] arm: socfpga: soc64: Support Vendor Authorized Boot (VAB)

2021-02-26 Thread Lim, Elly Siew Chin
Hi Ley Foon, > -Original Message- > From: Tan, Ley Foon > Sent: Friday, February 26, 2021 5:56 PM > To: Lim, Elly Siew Chin ; u-boot@lists.denx.de > Cc: Marek Vasut ; See, Chin Liang > ; Simon Goldschmidt > ; Chee, Tien Fong > ; Westergreen, Dalon > ; Simon Glass ; Gan, > Yau Wai >

Re: [RFC PATCH] nvme: Always invalidate whole cqes[] array

2021-02-26 Thread Neil Armstrong
On 08/02/2021 14:31, Andre Przywara wrote: > At the moment nvme_read_completion_status() tries to invidate a single > member of the cqes[] array, which is shady as just a single entry is > not cache line aligned. > The structure is dictated by hardware, and with 16 bytes is smaller than > any

[v4 7/7] Makefile: socfpga: Add target to generate hex output for combined spl and dtb

2021-02-26 Thread Siew Chin Lim
From: Dalon Westergreen Add target to Makefile to generate "u-boot-spl-dtb.hex" for Intel SOCFPGA SOC64 devices (Stratix 10 and Agilex). "u-boot-spl-dtb.hex" is hex formatted spl with and offset of CONFIG_SPL_TEXT_BASE. It combines the spl image and dtb. "u-boot-spl-dtb.hex" is needed to

[v4 6/7] configs: socfpga: Add defconfig for Agilex with VAB support

2021-02-26 Thread Siew Chin Lim
Booting Agilex with Vendor Authorized Boot. Signed-off-by: Siew Chin Lim --- .../{socfpga_agilex_atf_defconfig => socfpga_agilex_vab_defconfig}| 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) copy configs/{socfpga_agilex_atf_defconfig => socfpga_agilex_vab_defconfig} (92%) diff

[v4 5/7] configs: socfpga: soc64: Move CONFIG_BOOTCOMMAND to defconfig

2021-02-26 Thread Siew Chin Lim
CONFIG_BOOTCOMMAND have been moved to Kconfig.boot. This patch move the CONFIG_BOOTCOMMAND macro from socfpga_soc64_common.h to *_defconfig file for both Stratix 10 and Agilex. Signed-off-by: Siew Chin Lim --- configs/socfpga_agilex_atf_defconfig| 2 ++ configs/socfpga_agilex_defconfig

[v4 4/7] arm: socfpga: dts: soc64: Update filename in binman node of FIT image with VAB support

2021-02-26 Thread Siew Chin Lim
FIT image of Vendor Authentication Coot (VAB) contains signed images. Signed-off-by: Siew Chin Lim --- arch/arm/dts/socfpga_soc64_fit-u-boot.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/dts/socfpga_soc64_fit-u-boot.dtsi

[v4 3/7] arm: socfpga: cmd: Support 'vab' command

2021-02-26 Thread Siew Chin Lim
Support 'vab' command to perform vendor authentication. Command format: vab addr len Authorize 'len' bytes starting at 'addr' via vendor public key Signed-off-by: Siew Chin Lim --- v3 --- - Remove the print in 'vab' command to avoid duplicated print out. The 'socfpga_vendor_authntication'

[v4 2/7] arm: socfpga: soc64: Support Vendor Authorized Boot (VAB)

2021-02-26 Thread Siew Chin Lim
Vendor Authorized Boot is a security feature for authenticating the images such as U-Boot, ARM trusted Firmware, Linux kernel, device tree blob and etc loaded from FIT. After those images are loaded from FIT, the VAB certificate and signature block appended at the end of each image are sent to

[v4 1/7] arm: socfpga: Move Stratix10 and Agilex to use TARGET_SOCFPGA_SOC64

2021-02-26 Thread Siew Chin Lim
Create common macro TARGET_SOCFPGA_SOC64 for Stratix10 and Agilex. Signed-off-by: Siew Chin Lim --- arch/arm/Kconfig| 6 +++--- arch/arm/mach-socfpga/Kconfig | 5 + arch/arm/mach-socfpga/include/mach/reset_manager.h | 3 +--

[v4 0/7] Add Vendor Authorized Boot (VAB) support

2021-02-26 Thread Siew Chin Lim
This is the 4th version of patchset to add Vendor Authorized Boot (VAB) support for Intel Agilex SoC device. Vendor Authorized Boot is a security feature for authenticating the images such as U-Boot, ARM trusted Firmware, Linux kernel, device tree blob and etc loaded from FIT. After those images

Re: [PATCH] nvme: add cache flush in get/set_features

2021-02-26 Thread Neil Armstrong
Hi Andre, Bin, On 26/02/2021 16:22, André Przywara wrote: > On 26/02/2021 14:13, Neil Armstrong wrote: > > Hi, > [..] > > And if this seems to fix something, how? Good question... sorry for the noise my patch is totally wrong, but it fixed something somehow. But, "nvme: Always invalidate

Re: [PATCH] nvme: add cache flush in get/set_features

2021-02-26 Thread André Przywara
On 26/02/2021 14:13, Neil Armstrong wrote: Hi, > On Amlogic G12A platforms, the NVME probe timeouts at get/set_feature(), > adding a cache flush solves the timeout. I am puzzled how this is supposed to work ... > > Signed-off-by: Neil Armstrong > --- > drivers/nvme/nvme.c | 7 --- > 1

Re: [PATCH] rk3399: Add basic support for helios64

2021-02-26 Thread Peter Robinson
On Fri, Feb 26, 2021 at 1:45 PM Uwe Kleine-König wrote: > > Hi Dennis, > > thanks for your feedback. > > On 2/26/21 12:23 AM, Dennis Gilmore wrote: > > Thanks for submitting, I have been meaning to do so myself, I have > > been meaning to go through and try get the dts files in a decent > >

Re: [PATCH 1/2 v4] efi: Add ESRT to the EFI system table

2021-02-26 Thread Heinrich Schuchardt
On 23.02.21 17:50, Jose Marinho wrote: > The ESRT is initialised during efi_init_objlist after > efi_initialize_system_table(). > > The ESRT is recreated from scratch at the following events: > - successful UpdateCapsule; > - FMP instance install. > > The code ensures that every ESRT entry has a

Re: [PATCH v2] configs: stm32mp1: enable uefi related commands

2021-02-26 Thread Patrick DELAUNAY
On 2/26/21 2:09 PM, Patrick DELAUNAY wrote: Hi, On 2/26/21 1:52 PM, Ilias Apalodimas wrote: The board can boot with UEFI. With the latest changes in U-Boot's EFI subsystem we also have support for EFI runtime variables, without SetVariable support.  We can also store the EFI variables in a

Re: [PATCH] arm: dts: stm32mp15: remove duplicate uart nodes

2021-02-26 Thread Patrick DELAUNAY
Hi, On 2/24/21 11:00 AM, Patrick Delaunay wrote: Remove duplicated uart nodes introduced with commit 62f95af92a3f ("ARM: dts: stm32mp1: DT alignment with Linux kernel v5.9-rc4"), because the uart nodes wasn't correctly ordered in alphabetic order. Only cosmetic: the generated device tree don't

Re: [RFC PATCH] nvme: Always invalidate whole cqes[] array

2021-02-26 Thread Jagan Teki
Hi Suniel, On Mon, Feb 8, 2021 at 7:02 PM Andre Przywara wrote: > > At the moment nvme_read_completion_status() tries to invidate a single > member of the cqes[] array, which is shady as just a single entry is > not cache line aligned. > The structure is dictated by hardware, and with 16 bytes

Re: [PATCH] ARM: stm32: Add USB host boot support

2021-02-26 Thread Patrick DELAUNAY
Hi, On 2/12/21 1:50 PM, Marek Vasut wrote: Add support for booting from USB pen drive, since USB host port is available on the STM32MP1. Signed-off-by: Marek Vasut Cc: Patrice Chotard Cc: Patrick Delaunay --- include/configs/stm32mp1.h | 7 +++ 1 file changed, 7 insertions(+)

Re: [PATCH] arm: dts: stm32mp15: remove duplicate uart nodes

2021-02-26 Thread Patrice CHOTARD
Hi Patrick On 2/24/21 11:00 AM, Patrick Delaunay wrote: > Remove duplicated uart nodes introduced with commit 62f95af92a3f > ("ARM: dts: stm32mp1: DT alignment with Linux kernel v5.9-rc4"), > because the uart nodes wasn't correctly ordered in alphabetic order. > > Only cosmetic: the generated

Re: [PATCH 2/2] sunxi: enable dual rank memory on R40

2021-02-26 Thread Ivan Uvarov
I have tested this patchset on both OKA40i-C and our custom carrier board which uses the same SoM (Forlinx FETA40i-C), and can confirm that: 1) It does enable functioning of U-Boot on the FETA40i SoM, and 2) I have not experienced any immediately apparent problems with DRAM in either U-Boot itself

Re: [PATCH 3/5] Azure/GitLab: Ensure we use requirements.txt for testsuites

2021-02-26 Thread Tom Rini
On Fri, Feb 26, 2021 at 10:25:30PM +0800, Bin Meng wrote: > On Fri, Feb 26, 2021 at 8:53 PM Tom Rini wrote: > > > > Given that test/py/requirements.txt has all required test modules, make > > use of that rather than a manual pip install list before running our > > assorted tool testsuites. > > >

Re: [PATCH 3/5] Azure/GitLab: Ensure we use requirements.txt for testsuites

2021-02-26 Thread Bin Meng
On Fri, Feb 26, 2021 at 8:53 PM Tom Rini wrote: > > Given that test/py/requirements.txt has all required test modules, make > use of that rather than a manual pip install list before running our > assorted tool testsuites. > > Signed-off-by: Tom Rini > --- > .azure-pipelines.yml | 2 +- >

[PATCH V2] spi: Update speed/mode on change

2021-02-26 Thread Marek Vasut
The spi_get_bus_and_cs() may be called on the same bus and chipselect with different frequency or mode. This is valid usecase, but the code fails to notify the controller of such a configuration change. Call spi_set_speed_mode() in case bus frequency or bus mode changed to let the controller

Re: [PATCH] nvme: add cache flush in get/set_features

2021-02-26 Thread Bin Meng
Hi Neil, On Fri, Feb 26, 2021 at 10:13 PM Neil Armstrong wrote: > > On Amlogic G12A platforms, the NVME probe timeouts at get/set_feature(), > adding a cache flush solves the timeout. > > Signed-off-by: Neil Armstrong > --- > drivers/nvme/nvme.c | 7 --- > 1 file changed, 4 insertions(+),

Re: [PATCH 2/2 v4] efi: ESRT creation tests

2021-02-26 Thread Heinrich Schuchardt
On 26.02.21 14:55, Heinrich Schuchardt wrote: > On 23.02.21 17:50, Jose Marinho wrote: >> This commmit exercises the ESRT creation -- introduced in the previous >> commit -- in two tests. >> >> test 1: >> A fake FMP, with TEST_ESRT_NUM_ENTRIES FW images, is installed in the >> system leading to

Re: [PATCH v3 04/38] ppc: qemu: Support non-identity PCI bus address

2021-02-26 Thread Bin Meng
Hi Priyanka, On Fri, Feb 26, 2021 at 5:29 PM Priyanka Jain (OSS) wrote: > > > > >-Original Message- > >From: U-Boot On Behalf Of Bin Meng > >Sent: Thursday, February 25, 2021 2:52 PM > >To: Simon Glass ; Alexander Graf ; > >Priyanka Jain > >Cc: U-Boot Mailing List ; Tom Rini >

[PATCH] nvme: add cache flush in get/set_features

2021-02-26 Thread Neil Armstrong
On Amlogic G12A platforms, the NVME probe timeouts at get/set_feature(), adding a cache flush solves the timeout. Signed-off-by: Neil Armstrong --- drivers/nvme/nvme.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/nvme/nvme.c b/drivers/nvme/nvme.c index

Re: [PATCH v2] usb: gadget: dwc2_udc_otg: Fix dwc2_gadget_start() and usb_gadget_register_driver()

2021-02-26 Thread Neil Armstrong
On 17/02/2021 10:17, Patrice Chotard wrote: > Since commit 8745b9ebccae ("usb: gadget: add super speed support") > ums was no more functional on platform which use dwc2_udc_otg driver. > > This was due to a too restrictive test which checked that the gadget > driver speed was either FS or HS. >

Re: [PATCH] serial: ns16550: Correct the base address type

2021-02-26 Thread Simon Glass
Hi Bin, On Fri, 26 Feb 2021 at 02:32, Bin Meng wrote: > > Hi Simon, > > On Sun, Feb 7, 2021 at 8:16 AM Simon Glass wrote: > > > > On Wed, 3 Feb 2021 at 06:22, Bin Meng wrote: > > > > > > Currently ns16550_serial_assign_base() treats the argument 'base' > > > with type `ulong`. This is

Re: [PATCH 2/2 v4] efi: ESRT creation tests

2021-02-26 Thread Heinrich Schuchardt
On 23.02.21 17:50, Jose Marinho wrote: > This commmit exercises the ESRT creation -- introduced in the previous > commit -- in two tests. > > test 1: > A fake FMP, with TEST_ESRT_NUM_ENTRIES FW images, is installed in the > system leading to the corresponding ESRT entries being populated. > The

Re: [PATCH] spi: Update speed/mode on change

2021-02-26 Thread Marek Vasut
On 2/26/21 2:07 PM, Patrick DELAUNAY wrote: Hi Marek, On 2/25/21 9:52 PM, Marek Vasut wrote: The spi_get_bus_and_cs() may be called on the same bus and chipselect with different frequency or mode. This is valid usecase, but the code fails to notify the controller of such a configuration

[PATCH] Fix data abort in startup for at91 machines based on ARM926EJS

2021-02-26 Thread Martin Townsend
The startup code in arm/cpu/arm926ejs preserves the link register across the call to lowlevel_init by using r4: mov r4, lr /* perserve link reg across call */ bl lowlevel_init /* go setup pll,mux,memory */ mov lr, r4 /* restore link */ The lowlevel_init function

Re: [PATCH] rk3399: Add basic support for helios64

2021-02-26 Thread Uwe Kleine-König
Hi Dennis, thanks for your feedback. On 2/26/21 12:23 AM, Dennis Gilmore wrote: Thanks for submitting, I have been meaning to do so myself, I have been meaning to go through and try get the dts files in a decent shape. I think that most of what is in

[PATCH] pxe_utils: add localcmd defination

2021-02-26 Thread Artem Lapkin
pxe localboot usage too much limited, i think be useful improve it welcome for any suggestions and feedbacks... 1) add localcmd defination which can used with localboot by default localboot get from env, now we can define it in pxe script 2) localcmd can use without localboot 3) multiline usage

[PATCH] pxe_utils: improve dftoverlay path

2021-02-26 Thread Artem Lapkin
I think be useful improve dftoverlay path logic, welcome for any suggestions. Fdtoverlaydir definition usage example LABEL linux ... FDTOVERLAYDIR fdt FDTOVERLAYS ethmac_disable.dtbo pcie_disable.dtbo vpu_disable.dtbo # same as # FDTOVERLAYS fdt/ethmac_disable.dtbo fdt/pcie_disable.dtbo

Re: [PATCH] usb: dfu: Migrate CONFIG_SYS_DFU_DATA_BUF_SIZE and CONFIG_SYS_DFU_MAX_FILE_SIZE to Kconfig

2021-02-26 Thread Aswath Govindraju
On 23/02/21 11:44 am, Aswath Govindraju wrote: > Currently the config options CONFIG_SYS_DFU_DATA_BUF_SIZE and > CONFIG_SYS_DFU_MAX_FILE_SIZE are being set in include/configs/.h > files and also in _defconfig files without a Kconfig option. It > is easier for users to set these configs in

[PATCH v2] usb: dfu: Migrate CONFIG_SYS_DFU_DATA_BUF_SIZE and CONFIG_SYS_DFU_MAX_FILE_SIZE to Kconfig

2021-02-26 Thread Aswath Govindraju
Currently the config options CONFIG_SYS_DFU_DATA_BUF_SIZE and CONFIG_SYS_DFU_MAX_FILE_SIZE are being set in include/configs/.h files and also in _defconfig files without a Kconfig option. It is easier for users to set these configs in defconfig files than in config header files as they are a part

Re: [PATCH v2] configs: stm32mp1: enable uefi related commands

2021-02-26 Thread Patrick DELAUNAY
Hi, On 2/26/21 1:52 PM, Ilias Apalodimas wrote: The board can boot with UEFI. With the latest changes in U-Boot's EFI subsystem we also have support for EFI runtime variables, without SetVariable support. We can also store the EFI variables in a file on the ESP partition and preserve them

Re: [PATCH] spi: Update speed/mode on change

2021-02-26 Thread Patrick DELAUNAY
Hi Marek, On 2/25/21 9:52 PM, Marek Vasut wrote: The spi_get_bus_and_cs() may be called on the same bus and chipselect with different frequency or mode. This is valid usecase, but the code fails to notify the controller of such a configuration change. Call spi_set_speed_mode() in case bus

Re: [PATCH u-boot-dm + u-boot-spi v3 00/11] Support SPI NORs and OF partitions in `mtd list`

2021-02-26 Thread Patrice CHOTARD
Hi All On 2/25/21 3:13 PM, Marek Behún wrote: > Hello, > > this is v3 of patchset that adds support for U-Boot to parse MTD > partitions from device-tree, and also improves support for SPI NOR > access via the `mtd` command. > > Changes since v2: > - addressed Pali's comments in patch that adds

Re: make O=directory parameter

2021-02-26 Thread Tom Rini
On Fri, Feb 26, 2021 at 10:27:46PM +1100, Fred 1 wrote: > On 26/2/21 2:35 am, Tom Rini wrote: > > On Thu, Feb 25, 2021 at 12:50:47PM +1100, Fred 1 wrote: > > > > > like in the linux kernel build > > > > > > make O=builds/arm > > > > > > builds the result to the specified output directory > > >

Re: [PATCH v2 05/14] spi: spi-mem: Add debug message for spi-mem ops

2021-02-26 Thread Sean Anderson
On 2/26/21 5:12 AM, Jagan Teki wrote: On Fri, Feb 5, 2021 at 9:41 AM Sean Anderson wrote: This prints some basic metadata about the SPI memory op. This information may be used to debug SPI drivers (e.g. determining the expected SPI mode). It is also helpful for verifying that the data on

Re: Commit 401d1c4f5d2 ("common: Drop asm/global_data.h from common header") broke CONFIG_CMD_SQUASHFS=y

2021-02-26 Thread Pali Rohár
On Friday 26 February 2021 07:51:53 Tom Rini wrote: > On Fri, Feb 26, 2021 at 01:34:29PM +0100, Pali Rohár wrote: > > > Hello! > > > > Commit 401d1c4f5d2d29c4bc4beaec95402ca23eb63295 ("common: Drop > > asm/global_data.h from common header") broke compilation of > > squashfs filesystem when

[PATCH v2] configs: stm32mp1: enable uefi related commands

2021-02-26 Thread Ilias Apalodimas
The board can boot with UEFI. With the latest changes in U-Boot's EFI subsystem we also have support for EFI runtime variables, without SetVariable support. We can also store the EFI variables in a file on the ESP partition and preserve them across reboots. The env and efidebug commands are

[PATCH 5/5] patman: Assume we always have pygit2 for tests

2021-02-26 Thread Tom Rini
Given that we have tests that require pygit2 and it can be installed like any other python module, fail much more loudly if it is missing. Cc: Simon Glass Signed-off-by: Tom Rini --- tools/patman/func_test.py | 19 ++- 1 file changed, 2 insertions(+), 17 deletions(-) diff

[PATCH 3/5] Azure/GitLab: Ensure we use requirements.txt for testsuites

2021-02-26 Thread Tom Rini
Given that test/py/requirements.txt has all required test modules, make use of that rather than a manual pip install list before running our assorted tool testsuites. Signed-off-by: Tom Rini --- .azure-pipelines.yml | 2 +- .gitlab-ci.yml | 2 +- 2 files changed, 2 insertions(+), 2

[PATCH 4/5] tests: patman: Add requests to the module list

2021-02-26 Thread Tom Rini
The patman tests require the requests module, add it. Cc: Simon Glass Signed-off-by: Tom Rini --- test/py/requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/test/py/requirements.txt b/test/py/requirements.txt index 89ca259b213b..f396eb646362 100644 ---

[PATCH 2/5] pytest: Lower pygit2 requirement

2021-02-26 Thread Tom Rini
The latest versions of pygit2 are not available in practically any distribution at this time. Furthermore, we don't need the latest in order to run all of our testsuites. Reduce this version requirement to something older that meets our needs while still supporting running our tests on older

[PATCH 1/5] GitLab: Remove "tags" stanzas

2021-02-26 Thread Tom Rini
Given the structure of our current GitLab tests, we don't make real use of the tags. Furthermore, these tags prevent the automatic usage of the default GitLab runners. Remove these tags. Reported-by: Roger Meier Signed-off-by: Tom Rini --- .gitlab-ci.yml | 46

Re: Commit 401d1c4f5d2 ("common: Drop asm/global_data.h from common header") broke CONFIG_CMD_SQUASHFS=y

2021-02-26 Thread Tom Rini
On Fri, Feb 26, 2021 at 01:34:29PM +0100, Pali Rohár wrote: > Hello! > > Commit 401d1c4f5d2d29c4bc4beaec95402ca23eb63295 ("common: Drop > asm/global_data.h from common header") broke compilation of > squashfs filesystem when CONFIG_CMD_SQUASHFS=y is enabled. > > Here is console output: > >

Re: [PATCH v2 04/14] mtd: spi-mem: Export spi_mem_default_supports_op

2021-02-26 Thread Sean Anderson
On 2/26/21 5:22 AM, Jagan Teki wrote: On Fri, Feb 5, 2021 at 9:41 AM Sean Anderson wrote: This is useful for extending the default functionality. This mirrors the change in Linux commit 46109648052f ("spi: spi-mem: export spi_mem_default_supports_op()"). Signed-off-by: Sean Anderson

[PATCH] arm64: Update memcpy_{from, to}io() helpers

2021-02-26 Thread Patrice Chotard
At early U-Boot stage, before relocation, MMU is not yet configured and disabled. DDR may not be configured with the correct memory attributes (can be configured in MT_DEVICE instead of MT_MEMORY). In this case, usage of memcpy_{from, to}io() may leads to synchronous abort in AARCH64 in case the

Re: [PATCH] configs: stm32mp1: enable uefi related commands

2021-02-26 Thread Ilias Apalodimas
On Fri, Feb 26, 2021 at 01:38:21PM +0100, Patrick DELAUNAY wrote: > Hi Ilias > > On 2/25/21 8:37 PM, Ilias Apalodimas wrote: > > The board can boot with UEFI. With the latest changes in U-Boot's > > EFI subsystem we also have support for EFI runtime variables, without > > SetVariable support. We

Re: [EXT] [PATCH] ARM: imx: Add OCRAM_S into iMX8M MMU tables

2021-02-26 Thread Marek Vasut
On 2/26/21 8:15 AM, Ye Li wrote: Hi Marek, On Thu, 2021-02-25 at 21:52 +0100, Marek Vasut wrote: Caution: EXT Email The OCRAM_S is regular memory, just like the OCRAM, add it to the MMU tables so it can be used and cached. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Peng Fan Cc:

Re: [PATCH] configs: stm32mp1: enable uefi related commands

2021-02-26 Thread Patrick DELAUNAY
Hi Ilias On 2/25/21 8:37 PM, Ilias Apalodimas wrote: The board can boot with UEFI. With the latest changes in U-Boot's EFI subsystem we also have support for EFI runtime variables, without SetVariable support. We can also store the EFI variables in a file on the ESP partition and preserve them

Commit 401d1c4f5d2 ("common: Drop asm/global_data.h from common header") broke CONFIG_CMD_SQUASHFS=y

2021-02-26 Thread Pali Rohár
Hello! Commit 401d1c4f5d2d29c4bc4beaec95402ca23eb63295 ("common: Drop asm/global_data.h from common header") broke compilation of squashfs filesystem when CONFIG_CMD_SQUASHFS=y is enabled. Here is console output: fs/squashfs/sqfs_inode.c: In function ‘sqfs_find_inode’:

Re: make O=directory parameter

2021-02-26 Thread Fred 1
On 26/2/21 2:35 am, Tom Rini wrote: On Thu, Feb 25, 2021 at 12:50:47PM +1100, Fred 1 wrote: like in the linux kernel build make O=builds/arm builds the result to the specified output directory is this supposed to work for uboot also ? doesn't seem to work for me, i've fetched older tar

Re: [PATCH] mips: mt7628: fix ddr_type for MT7688KN

2021-02-26 Thread Stefan Roese
Hi Weijie, On 23.02.21 08:12, Weijie Gao wrote: The MT7688KN is a multi-chip package with 8MiB DDR1 KGD. So the DDR type from bootstrap register must be ignored, and always be assumed as DDR1. This patch fixes an issue that mt7628_ddr_pad_ldo_config() may be passed with a wrong ddr_type in

Re: [PATCH u-boot-marvell v2 00/18] Upgrade A38x DDR3 training to version 14.0.0

2021-02-26 Thread Marek Behun
On Fri, 26 Feb 2021 12:13:14 +0100 Stefan Roese wrote: > Applied to u-boot-marvell/master > > Only this series for now. If we need some follow-up patches, please > let me know after this is merged in master. Very well.

Re: [RFC PATCH] doc: mmc man-page

2021-02-26 Thread Jaehoon Chung
Hi Heinrich, On 2/26/21 7:32 PM, Heinrich Schuchardt wrote: > On 2/26/21 11:01 AM, Jaehoon Chung wrote: >> Provide a man-pages for the mmc command. >> >> Signed-off-by: Jaehoon Chung >> --- >>   doc/usage/mmc.rst | 149 ++ > > Thanks a lot for

Please pull u-boot-marvell/master

2021-02-26 Thread Stefan Roese
Hi Tom, please pull the next batch of Marvell MVEBU related patches. Here the summary log: - turris_mox: Enhancements, mostlly defconfig changes (Pali) - pci-aardvark: Set Max Payload Size and Max Read Request Size

  1   2   >