Re: [PATCH] efi_loader: capsule: return a corret error code at find_boot_device()

2021-04-19 Thread Heinrich Schuchardt
On 4/20/21 3:03 AM, AKASHI Takahiro wrote: In case of failure at efi_get_variable_int("BootOrder"), we should skip examining boot option variables and return an appropriate error code which is the one the function returned. Fixes: CID 331153 Code maintainability issues (UNUSED_VALUE) Signed-off

Re: [PATCH v2 12/13] doc: qemu: arm64: Fix the documentation of capsule update

2021-04-19 Thread Takahiro Akashi
Heinrich, Sughosh, On Mon, Apr 19, 2021 at 04:35:15AM +0200, Heinrich Schuchardt wrote: > Am 19. April 2021 04:24:37 MESZ schrieb Masami Hiramatsu > : > >Hi, > > > >2021年4月19日(月) 9:37 Takahiro Akashi : > >> > >> Sughosh, > >> > >> On Sun, Apr 18, 2021 at 01:37:58PM +0530, Sughosh Ganu wrote: > >>

Re: [scan-ad...@coverity.com: New Defects reported by Coverity Scan for Das U-Boot]

2021-04-19 Thread Dario Binacchi
Hi Tom, > Il 19/04/2021 14:20 Tom Rini ha scritto: > > > Hey all, > > Here's the latest report. > > - Forwarded message from scan-ad...@coverity.com - > > Date: Mon, 19 Apr 2021 01:18:55 + (UTC) > From: scan-ad...@coverity.com > To: tom.r...@gmail.com > Subject: New Defects repo

[PATCH] Add support for Raspberry Pi 3B+(32bit)

2021-04-19 Thread Toshifumi NISHINAGA
Hello all. I will add rpi_3_32b_plus_defconfig to easy to build u-boot for Raspberry Pi 3B+(32bit). Could you merge this patch? Thanks, Toshifumi NISHINAGA >From 28d13f48761ab7c137a5fdf07c76a857967e3590 Mon Sep 17 00:00:00 2001 From: Toshifumi NISHINAGA Date: Thu, 15 Apr 2021 16:53:33 +0900 Su

Re: [PATCH v2 07/13] mmc: synquacer: Add SynQuacer F_SDH30 SDHCI driver

2021-04-19 Thread Jaehoon Chung
On 4/20/21 9:59 AM, Masami Hiramatsu wrote: > Hi Jaehoon, > > Thanks for your comments. > > 2021年4月20日(火) 7:05 Jaehoon Chung : >> >> Hi Masami, >> >> On 4/17/21 8:38 AM, Masami Hiramatsu wrote: >>> From: Jassi Brar >>> >>> Signed-off-by: Jassi Brar >>> Signed-off-by: Masami Hiramatsu >>> --- >

RE: [PATCH v2 4/4] sandbox: enable IRQ using select for sandbox architecture

2021-04-19 Thread Priyanka Jain
>-Original Message- >From: U-Boot On Behalf Of Wasim Khan >(OSS) >Sent: Friday, April 16, 2021 1:52 PM >To: Tom Rini ; Simon Glass >Cc: u-boot@lists.denx.de >Subject: RE: [PATCH v2 4/4] sandbox: enable IRQ using select for sandbox >architecture > >Hi Tom, > >> -Original Message-

RE: [PATCH v2 3/4] arch: Kconfig: enable IRQ using select for x86 architecture

2021-04-19 Thread Priyanka Jain
>-Original Message- >From: U-Boot On Behalf Of Wasim Khan >Sent: Monday, March 8, 2021 9:18 PM >To: s...@chromium.org; bmeng...@gmail.com; mario@gdsys.cc; >bharat.go...@broadcom.com; rayagonda.kokata...@broadcom.com; t- >kri...@ti.com; Varun Sethi >Cc: u-boot@lists.denx.de; Wasim Kh

RE: [PATCH v2 2/4] arch: arm: update Kconfig to select IRQ when GIC_V3_ITS is enabled

2021-04-19 Thread Priyanka Jain
>-Original Message- >From: U-Boot On Behalf Of Wasim Khan >Sent: Monday, March 8, 2021 9:18 PM >To: s...@chromium.org; bmeng...@gmail.com; mario@gdsys.cc; >bharat.go...@broadcom.com; rayagonda.kokata...@broadcom.com; t- >kri...@ti.com; Varun Sethi >Cc: u-boot@lists.denx.de; Wasim Kh

RE: [PATCH v2 1/4] misc: make CONFIG_IRQ selectable for all platforms

2021-04-19 Thread Priyanka Jain
>-Original Message- >From: U-Boot On Behalf Of Wasim Khan >Sent: Monday, March 8, 2021 9:18 PM >To: s...@chromium.org; bmeng...@gmail.com; mario@gdsys.cc; >bharat.go...@broadcom.com; rayagonda.kokata...@broadcom.com; t- >kri...@ti.com; Varun Sethi >Cc: u-boot@lists.denx.de; Wasim Kh

RE: [PATCHv3] arm64: gic-v3-its: Clear the Pending table before enabling LPIs

2021-04-19 Thread Priyanka Jain
>-Original Message- >From: Z.q. Hou >Sent: Friday, March 5, 2021 12:33 PM >To: u-boot@lists.denx.de >Cc: s...@chromium.org; rayagonda.kokata...@broadcom.com; Priyanka Jain >; Z.q. Hou >Subject: [PATCHv3] arm64: gic-v3-its: Clear the Pending table before enabling >LPIs > >From: Hou Zhiq

[PATCH 2/2] drivers: mmc: add OpenPiton MMC support

2021-04-19 Thread Tianrui Wei
>From b8736bf498afc0d250228b0c29f1b402d0d58361 Mon Sep 17 00:00:00 2001 From: Tianrui Wei Date: Mon, 20 April 2021 13:03:25 +0800 Subject: [PATCH 2/2] drivers: mmc: add OpenPiton MMC support This patch enables support for OpenPiton MMC in u-boot Signed-off-by: Tianrui Wei Acked-by: Jonathan Ba

[PATCH 1/2] riscv: board: Support Openpiton Soc

2021-04-19 Thread Tianrui Wei
>From b8736bf498afc0d250228b0c29f1b402d0d58361 Mon Sep 17 00:00:00 2001 From: Tianrui Wei Date: Mon, 20 April 2021 13:03:25 +0800 Subject: [PATCH 1/2] riscv: board: Support Openpiton Soc This patch enables support for OpenPiton risc-v SoC on Digilent Genesys2 FPGA with dual cores configuration S

Re: [PATCH v6 00/14] mtd: spi-nor: Add support for Cypress s25hl-t/s25hs-t

2021-04-19 Thread Takahiro Kuwano
On 4/19/2021 4:13 PM, Jagan Teki wrote: > On Wed, Apr 7, 2021 at 9:01 AM wrote: >> >> From: Takahiro Kuwano >> >> The S25HL-T/S25HS-T family is the Cypress Semper Flash with Quad SPI. >> >> The summary datasheets can be found in the following links. >> https://www.cypress.com/file/424146/download

Re: Possible USB Mass Storage bug on Xilinx's Zynq

2021-04-19 Thread Sean Anderson
On 4/19/21 9:05 AM, Bruno L. Albrecht wrote: Hello people, it's my first post here, so forgive me if I do something wrong. I'll try to be short and clear. I'm developing on an Avnet PicoZed (based on a Xilinx Zynq SoC) and my objective is to expose the eMMC as a Mass Storage Device over an USB C

Re: [scan-ad...@coverity.com: New Defects reported by Coverity Scan for Das U-Boot]

2021-04-19 Thread Tom Rini
On Tue, Apr 20, 2021 at 12:58:28AM +, Asherah Connor wrote: > Looking at cmd/qfw.c as I touched it last: > > On 21/04/19 08:04:p, Tom Rini wrote: > > ** CID 331156: Incorrect expression (UNUSED_VALUE) > > /cmd/qfw.c: 40 in qemu_fwcfg_cmd_setup_kernel() > > > > > > _

[PATCH] efi_loader: capsule: return a corret error code at find_boot_device()

2021-04-19 Thread AKASHI Takahiro
In case of failure at efi_get_variable_int("BootOrder"), we should skip examining boot option variables and return an appropriate error code which is the one the function returned. Fixes: CID 331153 Code maintainability issues (UNUSED_VALUE) Signed-off-by: AKASHI Takahiro --- lib/efi_loader/efi

Re: [PATCH v2 07/13] mmc: synquacer: Add SynQuacer F_SDH30 SDHCI driver

2021-04-19 Thread Masami Hiramatsu
Hi Jaehoon, Thanks for your comments. 2021年4月20日(火) 7:05 Jaehoon Chung : > > Hi Masami, > > On 4/17/21 8:38 AM, Masami Hiramatsu wrote: > > From: Jassi Brar > > > > Signed-off-by: Jassi Brar > > Signed-off-by: Masami Hiramatsu > > --- > > drivers/mmc/Kconfig | 10 ++ > > drivers/mmc/M

Re: [scan-ad...@coverity.com: New Defects reported by Coverity Scan for Das U-Boot]

2021-04-19 Thread Asherah Connor
Looking at cmd/qfw.c as I touched it last: On 21/04/19 08:04:p, Tom Rini wrote: > ** CID 331156: Incorrect expression (UNUSED_VALUE) > /cmd/qfw.c: 40 in qemu_fwcfg_cmd_setup_kernel() > > >

Re: [PATCH V2 24/24] ARM: imx8m: verdin-imx8mm: Enable USB Host support

2021-04-19 Thread Tim Harvey
On Sun, Apr 11, 2021 at 9:35 AM Marek Vasut wrote: > > Enable USB host support on MX8MM Verdin. > > Signed-off-by: Marek Vasut > Cc: Marcel Ziswiler > Cc: Max Krummenacher > Cc: Oleksandr Suvorov > --- > V2: No change > --- > configs/verdin-imx8mm_defconfig | 8 +++- > include/configs/ver

Re: [PATCH v2 07/13] mmc: synquacer: Add SynQuacer F_SDH30 SDHCI driver

2021-04-19 Thread Jaehoon Chung
Hi Masami, On 4/17/21 8:38 AM, Masami Hiramatsu wrote: > From: Jassi Brar > > Signed-off-by: Jassi Brar > Signed-off-by: Masami Hiramatsu > --- > drivers/mmc/Kconfig | 10 ++ > drivers/mmc/Makefile |1 + > drivers/mmc/f_sdh30.c | 81 > ++

[PATCH] arm: dts: stm32mp157c-odyssey-som: enable the RNG1

2021-04-19 Thread Grzegorz Szymaszek
Enable the true random number generator. It can be used, for example, to generate partition UUIDs when partitioning with the gpt command. The generator is already enabled in the device trees of several other STM32MP1‐based boards, like DKx or DHCOM. Signed-off-by: Grzegorz Szymaszek Cc: Patrice C

[PATCH] sysinfo.h: Add re-inclusion guard

2021-04-19 Thread Tom Rini
Add #ifndef __SYSINFO_H__ ... #endif to prevent re-inclusion of this file. Signed-off-by: Tom Rini --- include/sysinfo.h | 4 1 file changed, 4 insertions(+) diff --git a/include/sysinfo.h b/include/sysinfo.h index 7b2114088003..b140d742e93d 100644 --- a/include/sysinfo.h +++ b/include/sys

[PATCH 1/1] doc: fatinfo man-page

2021-04-19 Thread Heinrich Schuchardt
Provide a man-page for the fatinfo command. The .rst file was lost in patch 15d9694600fe ("doc: fatinfo man-page"). Fixes: 15d9694600fe ("doc: fatinfo man-page") Signed-off-by: Heinrich Schuchardt --- doc/usage/fatinfo.rst | 51 +++ 1 file changed, 51 ins

Re: [PATCH] efi: Fix ESRT refresh after Capsule update

2021-04-19 Thread Heinrich Schuchardt
On 4/19/21 3:54 PM, Jose Marinho wrote: Indicated by Coverity Scan CID 331147 The ESRT was being refreshed in situations where the UpdateCapsule procedure failed. In that scenario: 1) the ESRT refresh was superfluous. 2) a failed ESRT refresh return code overwrites the UpdateCapsule error retur

Re: [PATCH] cmd: net: add a 'net list' command to list network devs

2021-04-19 Thread Ramon Fried
On Sat, Apr 17, 2021 at 12:25 AM Tim Harvey wrote: > > In a system with multiple network controllers it can be difficult > to know the names of the various devices available. This is especially > true for USB ether devices as they do not display device names upon > detection. > > This is being add

Re: [PATCH] Revert "spl: Drop bd_info in the data section"

2021-04-19 Thread Tom Rini
On Thu, Apr 08, 2021 at 11:56:11AM -0500, Alexandru Gagniuc wrote: > This reverts commit 38d6b7ebdaee3e0e8426ef1b9df88bdce8ae2e75. > > struct global_data contains a pointer to the bd_info structure. This > pointer was populated spl_set_bd() to a pre-allocated bd_info in the > ".data" section. The

Re: [PULL] u-boot-atmel-2021.07-b

2021-04-19 Thread Tom Rini
On Mon, Apr 19, 2021 at 01:24:54PM +, eugen.hris...@microchip.com wrote: > Hello Tom, > > Please pull tag u-boot-atmel-2021.07-b , the second set of atmel > features for the 2021.07 cycle. > > This small feature set include support for 5th PIO bank on pio4 pinctrl > driver and a fix for th

[PULL] u-boot-atmel-2021.07-b

2021-04-19 Thread Eugen.Hristev
Hello Tom, Please pull tag u-boot-atmel-2021.07-b , the second set of atmel features for the 2021.07 cycle. This small feature set include support for 5th PIO bank on pio4 pinctrl driver and a fix for the SPL on sama5d3. Thanks, Eugen The following changes since commit 3a9aaefcaa3efc2a1cef86f

Re: [PATCH 1/3] clk: mediatek: Add MT8175 clock driver

2021-04-19 Thread Fabien Parent
Please do NOT merge this patch series. MTK asked me to resend this patch series with a different SoC Part-Number. On Tue, Mar 30, 2021 at 4:31 PM Fabien Parent wrote: > > Add the topckgen, apmixedsys and infracfg clock driver for the MT8175 > SoC. > > Signed-off-by: Fabien Parent > --- > driver

Re: [PATCH] sunxi: Select environment MMC based on boot device

2021-04-19 Thread Andre Przywara
On Sun, 18 Apr 2021 22:16:21 -0500 Samuel Holland wrote: (CC:ing Maxime) Hi, > Currently, the environment is always stored in eMMC if eMMC is enabled > in the config. This means images written to SD and eMMC will cross- > contaminate their environments unless the configuration is changed. > >

[PULL u-boot] Please pull u-boot-amlogic-20210419

2021-04-19 Thread Neil Armstrong
u-boot-amlogic-20210419 for you to fetch changes up to fcf3c9deae1acfda81051c8c211fcbefd4217e1d: boards: amlogic: update documentation for PCIe support (2021-04-19 16:59:33 +0200) - fix Ethernet on Odroid-C2 by re-adding old bindings s

Re: [PATCH] Revert "spl: Drop bd_info in the data section"

2021-04-19 Thread Tom Rini
On Tue, Apr 13, 2021 at 05:49:19AM +1200, Simon Glass wrote: > Hi Tom, Alex, > > On Tue, 13 Apr 2021 at 04:26, Tom Rini wrote: > > > > On Mon, Apr 12, 2021 at 10:21:18AM -0500, Alex G. wrote: > > > > > > > > > On 4/12/21 9:40 AM, Tom Rini wrote: > > > > On Mon, Apr 12, 2021 at 08:51:11AM -0500, A

Re: [PATCH v2] cmd: gpt: remove redundant print messages

2021-04-19 Thread Tom Rini
On Wed, Mar 31, 2021 at 11:15:49AM -0700, Ravik Hasija wrote: > Removing printfs from do_gpt API as the messages are generic and does not > specify error codes for failure cases. > > Signed-off-by: Ravik Hasija > Reviewed-by: Patrick Delaunay > --- > Changes for v2: > - Updated usage message

Re: [PATCH] boards: amlogic: update documentation for PCIe support

2021-04-19 Thread Neil Armstrong
On 16/04/2021 14:23, Neil Armstrong wrote: > Signed-off-by: Neil Armstrong > --- > doc/board/amlogic/index.rst | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/doc/board/amlogic/index.rst b/doc/board/amlogic/index.rst > index 275c3664b7..8da7afddb4 100644 > --- a/doc/board/amlogic/inde

Possible USB Mass Storage bug on Xilinx's Zynq

2021-04-19 Thread Bruno L. Albrecht
Hello people, it's my first post here, so forgive me if I do something wrong. I'll try to be short and clear. I'm developing on an Avnet PicoZed (based on a Xilinx Zynq SoC) and my objective is to expose the eMMC as a Mass Storage Device over an USB Connection. I used the following config flag on

Re: [PATCH] fastboot: Fix overflow when calculating chunk size

2021-04-19 Thread Sean Anderson
On 4/19/21 12:31 AM, Heiko Schocher wrote: > Hello Sean, > > On 16.04.21 23:58, Sean Anderson wrote: >> If a chunk was larger than 4GiB, then chunk_data_sz would overflow and >> blkcnt would not be calculated correctly. Upgrade it to a u64 and cast >> its multiplicands as well. Also fix bytes_w

[PATCH] efi: Fix ESRT refresh after Capsule update

2021-04-19 Thread Jose Marinho
Indicated by Coverity Scan CID 331147 The ESRT was being refreshed in situations where the UpdateCapsule procedure failed. In that scenario: 1) the ESRT refresh was superfluous. 2) a failed ESRT refresh return code overwrites the UpdateCapsule error return code. This commit ensures that the ESRT

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

2021-04-19 Thread Jagan Teki
On Mon, Apr 19, 2021 at 6:49 PM Sean Anderson wrote: > > On 4/19/21 3:06 AM, Jagan Teki wrote: > > On Sat, Apr 3, 2021 at 4:37 AM Sean Anderson wrote: > >> > >> On 4/2/21 7:05 PM, Sean Anderson wrote: > >>> This series adds support for enhanced SPI modes. It was tested on a K210 > >>> (DWC > >>>

Re: [PATCH 00/13] display_options: Start to unify print_buffer() and hexdump

2021-04-19 Thread Tom Rini
On Thu, Mar 18, 2021 at 07:18:27AM +1300, Simon Glass wrote: > At present we have two ways of showing a hex dump. Once has been in U-Boot > since the dawn of time and the other was recently added from Linux. > > They both have their own unique features. > > This series makes a few changes to bri

[PATCH] board:pm9263 - Enable DM_ETH

2021-04-19 Thread Ilko Iliev
Signed-off-by: Ilko Iliev --- board/ronetix/pm9263/pm9263.c | 57 --- configs/pm9263_defconfig | 2 ++ include/configs/pm9263.h | 6 3 files changed, 2 insertions(+), 63 deletions(-) diff --git a/board/ronetix/pm9263/pm9263.c b/board/ronetix/pm926

[PATCH v2] board:pm9261 - Enable DM_ETH

2021-04-19 Thread Ilko Iliev
This patch remove the network support for PM9261 because currently there is no DM suport for Davicom D9000. Signed-off-by: Ilko Iliev --- Changes for v2: - add Signed-off-by board/ronetix/pm9261/pm9261.c | 54 --- configs/pm9261_defconfig | 1 + include/co

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

2021-04-19 Thread Sean Anderson
On 4/19/21 3:06 AM, Jagan Teki wrote: On Sat, Apr 3, 2021 at 4:37 AM Sean Anderson wrote: On 4/2/21 7:05 PM, 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 (es

[PATCH v2] arm64: versal: Remove gd reference

2021-04-19 Thread Michal Simek
gd is not used in this file that's why doesn't make sense to declare it. Signed-off-by: Michal Simek --- Changes in v2: - drop asm/global_data.h - reported by trini arch/arm/mach-versal/mp.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/mach-versal/mp.c b/arch/arm/mach-versal/

Re: [PATCH] arm64: versal: Remove gd reference

2021-04-19 Thread Michal Simek
On 4/19/21 2:30 PM, Tom Rini wrote: > On Thu, Apr 15, 2021 at 11:16:31AM +0200, Michal Simek wrote: > >> gd is not used in this file that's why doesn't make sense to declare it. >> >> Signed-off-by: Michal Simek >> --- >> >> arch/arm/mach-versal/mp.c | 2 -- >> 1 file changed, 2 deletions(-)

[PATCH] board:pm9261 - Enable DM_ETH

2021-04-19 Thread Ilko Iliev
This patch remove the network support for PM9261 because currently there is no DM suport for Davicom D9000. --- board/ronetix/pm9261/pm9261.c | 54 --- configs/pm9261_defconfig | 1 + include/configs/pm9261.h | 9 -- 3 files changed, 1 insertion(+),

Re: [PATCH] arm64: versal: Remove gd reference

2021-04-19 Thread Tom Rini
On Thu, Apr 15, 2021 at 11:16:31AM +0200, Michal Simek wrote: > gd is not used in this file that's why doesn't make sense to declare it. > > Signed-off-by: Michal Simek > --- > > arch/arm/mach-versal/mp.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/arch/arm/mach-versal/mp.c b/ar

[scan-ad...@coverity.com: New Defects reported by Coverity Scan for Das U-Boot]

2021-04-19 Thread Tom Rini
Hey all, Here's the latest report. - Forwarded message from scan-ad...@coverity.com - Date: Mon, 19 Apr 2021 01:18:55 + (UTC) From: scan-ad...@coverity.com To: tom.r...@gmail.com Subject: New Defects reported by Coverity Scan for Das U-Boot Hi, Please find the latest report on new

Fwd: New Defects reported by Coverity Scan for efi_capsule.c

2021-04-19 Thread Heinrich Schuchardt
Dear Sughosh, Takahiro, Jose, could you please, look into the issues below. Forwarded Message Subject: New Defects reported by Coverity Scan for Das U-Boot Date: Mon, 19 Apr 2021 01:18:38 + (UTC) From: scan-ad...@coverity.com To: xypron.g...@gmx.de Hi, Please find the

Re: [PATCH] Fix IDE commands issued, fix endian issues, fix non MMIO

2021-04-19 Thread Heinrich Schuchardt
On 24.02.21 22:55, Reinoud Zandijk wrote: > Dear Heinrich, > > On Wed, Feb 24, 2021 at 06:57:08PM +0100, Heinrich Schuchardt wrote: >> On 24.02.21 17:44, Reinoud Zandijk wrote: >>> >>> Fixes IDE issues found on the Malta board under Qemu: >>> >>> 1) DMA implied commands were sent to the controller

Re: gpmi-nand ecc

2021-04-19 Thread Fabio Estevam
Adding Ye Li as the author of such commit. On Mon, Apr 19, 2021 at 6:34 AM Sean Nyekjaer wrote: > > > > On 19/04/2021 09.32, Miquel Raynal wrote: > > Hi Sean, > > > > + u-boot ML > > > > Sean Nyekjaer wrote on Wed, 14 Apr 2021 15:13:39 > > +0200: > > > >> Hi, > >> > >> I have two boards with a i

Re: [PATCH 1/2] gpio: atmel_pio4: add support for sama7g5 pio4 version with 5 banks

2021-04-19 Thread Eugen.Hristev
On 4/7/21 11:39 AM, Eugen Hristev wrote: > Add support for sama7g5 pinctrl variant, with 5 banks with a degraded > 8 line only 5th bank. > Based on Linux Kernel implementation. > > Signed-off-by: Eugen Hristev > --- > drivers/gpio/atmel_pio4.c | 22 ++ > 1 file changed, 22

Re: [PATCH v2] ARM: dts: at91: sama5d3: add u-boot properties to sama5d3 pit timer

2021-04-19 Thread Eugen.Hristev
On 4/7/21 12:39 PM, Manuel Luís Reis wrote: > Great, thanks for your help. > > Cheers > Manuel > > M. Luís Reis MSc MIET Chartered Engineer > > > > On Wed, 7 Apr 2021 at 10:31, wrote: >> >> On 4/7/21 12:16 PM, Manuel Luís Reis wrote: >>> Hi, >>> >>> @Derald: Thanks for trying this out. >>> >>

pcie + nvme + cyclone V

2021-04-19 Thread Brian McKee
Hello all. I'm trying to get an NVMe device to work with a PCIe hard core in an Altera (intel) Cyclone V SOC from u-boot. It is working well in linux. I have been hacking on u-boot for about a week and have drawn some conclusions that may or may not be accurate. First, let me give you some back

[PATCH v2 5/5] test/py: Add usb gadget binding test

2021-04-19 Thread Patrice Chotard
Add a specific usb gadget binding test which check that binding a driver without compatible string is working as expected. the command "bind /usb@1 usb_ether" should give the following "dm tree" command output: [...] usb 0 [ ] usb_sandbox |-- usb@1 usb_hub 0 [

[PATCH v2 1/5] cmd: bind: Fix driver binding on a device

2021-04-19 Thread Patrice Chotard
Fix a regression brings by commit 84f8e36f03fa ("cmd: bind: allow to bind driver with driver data") As example, the following bind command doesn't work: bind /soc/usb-otg@4900 usb_ether As usb_ether driver has no compatible string, it can't be find by lists_bind_fdt(). In bind_by_node_pat

[PATCH v2 4/5] configs: sandbox: add USB_ETHER and GADGET_DOWNLOAD gadget support

2021-04-19 Thread Patrice Chotard
This is needed for new gadget binding test. Signed-off-by: Patrice Chotard Cc: Marek Vasut Cc: Herbert Poetzl --- (no changes since v1) configs/sandbox_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index 5bc90d09a8..f7e

[PATCH v2 2/5] usb: gadget: Add bcdDevice for the DWC2 USB Gadget Controller

2021-04-19 Thread Patrice Chotard
Add an entry in usb_gadget_controller_number() for the DWC2 gadget controller. It is used to bind the USB Ethernet driver. Signed-off-by: Patrice Chotard Reported-by: Herbert Poetzl Cc: Marek Vasut Cc: Herbert Poetzl --- (no changes since v1) drivers/usb/gadget/gadget_chips.h | 8

[PATCH v2 0/5] cmd: bind: Fix driver binding

2021-04-19 Thread Patrice Chotard
This series is fixing issues reported by Herbert Poetzl when trying to bind Ethernet gadget over USB on STM32MP1 platform. 2 issues have been found: - fix the bind command. - add dwc2 bcdDevice in USB gadget controller. - add test to check binding of driver without compatible string. Ch

[PATCH v2 3/5] usb: sandbox: Add gadget callbacks

2021-04-19 Thread Patrice Chotard
Add usb_gadget_handle_interrupts(), usb_gadget_register_driver() and usb_gadget_unregister_driver() to be able to test binding usb gadget. Signed-off-by: Patrice Chotard Cc: Marek Vasut Cc: Herbert Poetzl --- (no changes since v1) drivers/usb/host/usb-sandbox.c | 28 +

Re: [PATCH] Fix IDE commands issued, fix endian issues, fix non MMIO

2021-04-19 Thread Reinoud Zandijk
ping? On Wed, Feb 24, 2021 at 10:55:07PM +0100, Reinoud Zandijk wrote: > Dear Heinrich, > > On Wed, Feb 24, 2021 at 06:57:08PM +0100, Heinrich Schuchardt wrote: > > On 24.02.21 17:44, Reinoud Zandijk wrote: > > > > > > Fixes IDE issues found on the Malta board under Qemu: > > > > > > 1) DMA impli

Re: gpmi-nand ecc

2021-04-19 Thread Sean Nyekjaer
On 19/04/2021 09.32, Miquel Raynal wrote: Hi Sean, + u-boot ML Sean Nyekjaer wrote on Wed, 14 Apr 2021 15:13:39 +0200: Hi, I have two boards with a iMX6ULL SoC one attached to a Micron NAND flash (MT29F4G08ABAFAWP) and one a Toshiba (TC58BVG2S0HTAI0). After updating the boards from u-b

[PATCH] arm: allwinner: r40: update R40 DT files from linux 5.12-rc1

2021-04-19 Thread Ivan Uvarov
Update R40 .dts{,i} and dt-binding headers to current version from kernel. Files taken from Linux 5.12-rc1 release (commit fe07bfda2fb9cdef8a4d4008a409bb02f35f1bd8) Signed-off-by: Ivan Uvarov --- arch/arm/dts/sun8i-r40-bananapi-m2-ultra.dts | 23 +- arch/arm/dts/sun8i-r40.dtsi

Re: [PATCH v2 05/13] mtd: spi-nor-ids: add support for Macronix mx25u51245g and mx66u1g45g flash

2021-04-19 Thread Pratyush Yadav
On 17/04/21 08:38AM, Masami Hiramatsu wrote: > From: Jassi Brar > > Signed-off-by: Jassi Brar > --- > drivers/mtd/spi/spi-nor-ids.c |2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c > index 2b57797954..30a18b4140 100644

Re: gpmi-nand ecc

2021-04-19 Thread Miquel Raynal
Hi Sean, + u-boot ML Sean Nyekjaer wrote on Wed, 14 Apr 2021 15:13:39 +0200: > Hi, > > I have two boards with a iMX6ULL SoC one attached to a Micron NAND flash > (MT29F4G08ABAFAWP) and one a Toshiba (TC58BVG2S0HTAI0). > > After updating the boards from u-boot 2018.07 -> 2020.01, the Micron f

Re: [PATCH v6 00/14] mtd: spi-nor: Add support for Cypress s25hl-t/s25hs-t

2021-04-19 Thread Jagan Teki
On Wed, Apr 7, 2021 at 9:01 AM wrote: > > From: Takahiro Kuwano > > The S25HL-T/S25HS-T family is the Cypress Semper Flash with Quad SPI. > > The summary datasheets can be found in the following links. > https://www.cypress.com/file/424146/download (256Mb/512Mb/1Gb, single die) > https://www.cypr

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

2021-04-19 Thread Jagan Teki
On Sat, Apr 3, 2021 at 4:37 AM Sean Anderson wrote: > > On 4/2/21 7:05 PM, 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 > >

Re: [PATCH] cmd: net: add a 'net list' command to list network devs

2021-04-19 Thread Stefan Roese
On 16.04.21 23:25, Tim Harvey wrote: In a system with multiple network controllers it can be difficult to know the names of the various devices available. This is especially true for USB ether devices as they do not display device names upon detection. This is being added as a net sub-system in