Re: [PATCH v2 3/3] net: phy: Add DP8382x phy registration to TI PHY init

2020-04-30 Thread Dan Murphy
Michal On 4/30/20 3:04 AM, Michal Simek wrote: On 28. 04. 20 21:26, Dan Murphy wrote: Add the DP8382X generic PHY registration to the TI PHY init file. Signed-off-by: Dan Murphy --- drivers/net/phy/ti_phy_init.c | 91 +++ 1 file changed, 91 insertions(+) di

RE: [PATCH 01/14] drivers: net: add Layerscape mEMAC MDIO driver

2020-04-30 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Ioana Ciornei >Sent: Thursday, March 12, 2020 9:36 PM >To: Priyanka Jain ; joe.hershber...@ni.com; u- >b...@lists.denx.de >Cc: Florin Laurentiu Chiculita ; Madalin >Bucur (OSS) ; Ioana Ciornei > >Subject: [PATCH 01/14] drivers: net: add Layers

Re: [PATCH 7/8] net: dwc_eth_qos: Export common struct and interface at head file

2020-04-30 Thread Patrice CHOTARD
Hi David On 4/30/20 12:45 PM, David Wu wrote: > Open structure data and interface, so that Soc using dw_eth_qos > controller can reference. > > Signed-off-by: David Wu > --- > > drivers/net/dwc_eth_qos.c | 81 +-- > 1 file changed, 9 insertions(+), 72 deletion

RE: [v2] configs: ls1012afrwy: drop env qspi_bootcmd

2020-04-30 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Biwen Li >Sent: Friday, April 17, 2020 3:07 PM >To: Jagdish Gediya ; Priyanka Jain >; Pramod Kumar ; >Shengzhou Liu >Cc: Alison Wang ; u-boot@lists.denx.de; Jiafei Pan >; Biwen Li >Subject: [v2] configs: ls1012afrwy: drop env qspi_bootcmd >

Re: [PATCH v2 3/3] net: phy: Add DP8382x phy registration to TI PHY init

2020-04-30 Thread Michal Simek
On 30. 04. 20 13:47, Dan Murphy wrote: > Michal > > On 4/30/20 3:04 AM, Michal Simek wrote: >> On 28. 04. 20 21:26, Dan Murphy wrote: >>> Add the DP8382X generic PHY registration to the TI PHY init file. >>> >>> Signed-off-by: Dan Murphy >>> --- >>>   drivers/net/phy/ti_phy_init.c | 91 ++

Re: [PATCH v2 5/7] spl: fit: enable signing a generated u-boot.itb

2020-04-30 Thread Heiko Stübner
Hi Kever, Am Donnerstag, 30. April 2020, 11:03:38 CEST schrieb Kever Yang: > This patch will cause build fail on sandbox_spl_defconfig: > > dtc: option requires an argument -- 'p' sandbox_spl is confusing on first glance, it enables the spl_fit-options but does not define any fit sources. But I

RE: [v2] configs: ls1046aqds: support distro boot

2020-04-30 Thread Priyanka Jain (OSS)
>-Original Message- >From: Biwen Li >Sent: Monday, April 20, 2020 4:05 PM >To: Priyanka Jain (OSS) ; Biwen Li (OSS) >; Jagdish Gediya ; Andy >Tang ; Shengzhou Liu >Cc: Alison Wang ; u-boot@lists.denx.de; Jiafei Pan > >Subject: RE: [v2] configs: ls1046aqds: support distro boot > >> >

Re: [PATCH] gpio: emulate open drain & open source in dm_gpio_set_value()

2020-04-30 Thread Neil Armstrong
On 29/04/2020 20:04, Simon Glass wrote: > Hi Neil, > > On Wed, 29 Apr 2020 at 02:06, Neil Armstrong wrote: >> >> Handle the GPIOD_OPEN_DRAIN & GPIOD_OPEN_SOURCE flags to emulate open drain >> and open source by setting the GPIO line as input depending on the >> requested value. >> >> The behaviou

RE: [PATCH 1/4] board: freescale: ls1028a: mux changes for lpuart

2020-04-30 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of >andy.t...@nxp.com >Sent: Thursday, March 19, 2020 2:18 PM >To: Priyanka Jain >Cc: Sudhanshu Gupta ; u-boot@lists.denx.de; >Andy Tang ; Vabhav Sharma > >Subject: [PATCH 1/4] board: freescale: ls1028a: mux changes for lpuart > >From: Yuantian

RE: [PATCHv3 1/8] arm64: fsl-layerscape: Assign addr to resv_ram if enabled RESV_RAM config

2020-04-30 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Zhiqiang Hou >Sent: Tuesday, April 28, 2020 7:49 AM >To: u-boot@lists.denx.de; Priyanka Jain ; Wasim >Khan ; bmeng...@gmail.com >Cc: Z.q. Hou >Subject: [PATCHv3 1/8] arm64: fsl-layerscape: Assign addr to resv_ram if >enabled RESV_RAM config >

RE: [PATCH v3] armv8: ls1046ardb: update the WRLVL_START to accommodate more DIMM

2020-04-30 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Yuantian Tang >Sent: Monday, April 20, 2020 10:23 AM >To: Priyanka Jain >Cc: u-boot@lists.denx.de; Andy Tang >Subject: [PATCH v3] armv8: ls1046ardb: update the WRLVL_START to >accommodate more DIMM > >The WRLVL_START values are optimized for

[PATCH v2.1 5/7] spl: fit: enable signing a generated u-boot.itb

2020-04-30 Thread Heiko Stuebner
From: Heiko Stuebner With SPL_FIT_SIGNATURE enabled we will likely want a generated u-boot.itb to be signed and the key stores so that the spl can reach it. So add a SPL_FIT_SIGNATURE_KEY_DIR option and suitable hooks into the Makefile to have mkimage sign the .itb and store the used key into th

RE: [v3] include/configs: ls1012afrwy: support dhcp boot

2020-04-30 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Biwen Li >Sent: Wednesday, April 22, 2020 3:37 PM >To: Jagdish Gediya ; Priyanka Jain >; Pramod Kumar >Cc: Alison Wang ; u-boot@lists.denx.de; Jiafei Pan >; Biwen Li >Subject: [v3] include/configs: ls1012afrwy: support dhcp boot > >From: Biw

RE: [PATCH v2] configs: ls1021a: Append CMA configuration to bootargs

2020-04-30 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Alison Wang >Sent: Thursday, April 23, 2020 8:08 PM >To: u-boot@lists.denx.de; Priyanka Jain ; Jagdish >Gediya >Cc: Shengzhou Liu >Subject: [PATCH v2] configs: ls1021a: Append CMA configuration to bootargs > >The default reserved memory for

Re: [PATCH 08/10] cmd: add "efidebug capsule" command

2020-04-30 Thread Sughosh Ganu
On Mon, 27 Apr 2020 at 15:19, AKASHI Takahiro wrote: > "efidebug capsule" is more or less a debugging utility. > efidebug capsule update: invoke UpdateCapsule against data on memory > efidebug capsule show: show a capsule header > efidebug capsule result: dump a capsule result variable > >

Antwort: [PATCH v1 01/35] dm: core: Add an ACPI name for the root node

2020-04-30 Thread Wolfgang Wallner
Hi Simon, -"Simon Glass" schrieb: - >Betreff: [PATCH v1 01/35] dm: core: Add an ACPI name for the root >node > >This always has a fixed ACPI name so add it as a driver function. > >Signed-off-by: Simon Glass >--- > >Changes in v1: >- Capitalise ACPI_OPS_PTR > > drivers/core/root.c | 13 +

RE: [PATCH] net: fsl-mc: fixup DPC: add /board/ports node if missing

2020-04-30 Thread Ioana Ciornei
> Subject: [PATCH] net: fsl-mc: fixup DPC: add /board/ports node if missing > > The DPC fixup for MAC address and enet_if is not made if /board/ports node is > missing in DPC file. > Add /board/ports or /ports nodes if them are missing. > > Signed-off-by: Razvan Ionut Cirjan Reviewed-by: Ioana

Re: [PATCH 04/10] efi_loader: capsule: add capsule_on_disk support

2020-04-30 Thread Sughosh Ganu
On Tue, 28 Apr 2020 at 05:58, AKASHI Takahiro wrote: > Heinrich, > > On Mon, Apr 27, 2020 at 10:28:35PM +0200, Heinrich Schuchardt wrote: > > On 4/27/20 11:48 AM, AKASHI Takahiro wrote: > > > Capsule data can be loaded into the system either via UpdateCapsule > > > runtime service or files on a f

[PATCH 01/19] board/freescale: add the DM_ETH changes for the PPC DPAA platforms

2020-04-30 Thread Madalin Bucur
Add the required changes for compiling with DM_ETH on the PPC DPAA platforms. Signed-off-by: Madalin Bucur --- arch/powerpc/cpu/mpc85xx/cpu_init.c | 2 ++ board/freescale/b4860qds/b4860qds.c | 2 ++ board/freescale/corenet_ds/corenet_ds.c | 2 ++ board/freescale/ls1043aqds/ls1043aqds.c |

[PATCH 02/19] net: tsec: fsl_mdio: add DM MDIO support

2020-04-30 Thread Madalin Bucur
Allow the MDIO devices to be probed based on the device tree. Signed-off-by: Madalin Bucur --- drivers/net/fsl_mdio.c | 138 ++--- 1 file changed, 132 insertions(+), 6 deletions(-) diff --git a/drivers/net/fsl_mdio.c b/drivers/net/fsl_mdio.c index 894

[PATCH 05/19] powerpc: dts: add QorIQ DPAA 1 FMan device tree nodes

2020-04-30 Thread Madalin Bucur
Add the QorIQ DPAA Frame Manager device tree nodes description. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/powerpc/dts/qoriq-fman-0-10g-0.dtsi | 37 +++ arch/powerpc/dts/qoriq-fman-0-1g-0

[PATCH 00/19] Enable DM_ETH on some DPAA1 PowerPC platforms

2020-04-30 Thread Madalin Bucur
This patch set enables DM_ETH on some of the DPAA1 PowerPC platforms. The required changes are added to the SoC and board device tree files. The TSEC MDIO, in use by the DPAA 1 platforms with FMan prior to v3, gets DM MDIO support. Only two platforms get the DM_ETH support enabled as they have a si

[PATCH 04/19] powerpc: dts: add QorIQ GPIOs

2020-04-30 Thread Madalin Bucur
Add the QorIQ GPIO device tree nodes description. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/powerpc/dts/qoriq-gpio-0.dtsi | 16 arch/powerpc/dts/qoriq-gpio-1.dtsi | 16 +

[PATCH 03/19] powerpc: dts: QorIQ: Add node(s) for the platform PLL

2020-04-30 Thread Madalin Bucur
Add the QorIQ clock control device nodes include files. Signed-off-by: Madalin Bucur --- arch/powerpc/dts/qoriq-clockgen1.dtsi | 14 ++ arch/powerpc/dts/qoriq-clockgen2.dtsi | 14 ++ 2 files changed, 28 insertions(+) create mode 100644 arch/powerpc/dts/qoriq-clockgen1.dt

[PATCH 07/19] powerpc: dts: add QorIQ DPAA 1 FMan for P4080

2020-04-30 Thread Madalin Bucur
The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/powerpc/dts/p4080si-post.dtsi | 61 ++ 1 file changed, 61 insertions(+) create mode 100644 arch/powerpc/dts/p4080si-pos

[PATCH 08/19] powerpc: dts: add QorIQ DPAA 1 FMan interfaces to P4080DS

2020-04-30 Thread Madalin Bucur
Introduce the QorIQ DPAA 1 Frame Manager interfaces nodes in the P4080DS device tree. Signed-off-by: Madalin Bucur --- arch/powerpc/dts/p4080ds.dts | 191 ++- 1 file changed, 190 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/dts/p4080ds.dts b/arc

[PATCH 10/19] powerpc: dts: add QorIQ DPAA 1 FMan to P2041RDB

2020-04-30 Thread Madalin Bucur
Introduce the QorIQ DPAA 1 Frame Manager nodes in the P2041RDB device tree. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/powerpc/dts/p2041rdb.dts | 98 ++- 1 fil

[PATCH 09/19] powerpc: dts: add QorIQ DPAA 1 FMan for P2041

2020-04-30 Thread Madalin Bucur
The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/powerpc/dts/p2041si-post.dtsi | 42 ++ 1 file changed, 42 insertions(+) create mode 100644 arch/powerpc/dts/p2041si-pos

[PATCH 18/19] configs: enable DM_ETH support for T1024RDB

2020-04-30 Thread Madalin Bucur
Enable DM_ETH on all the defconfigs for the T1024RDB board. Signed-off-by: Madalin Bucur --- configs/T1024RDB_NAND_defconfig| 3 +++ configs/T1024RDB_SDCARD_defconfig | 3 +++ configs/T1024RDB_SECURE_BOOT_defconfig | 3 +++ configs/T1024RDB_SPIFLASH_defconfig| 3 +++ configs/T10

[PATCH 11/19] powerpc: dts: add QorIQ DPAA 1 FMan for P3041

2020-04-30 Thread Madalin Bucur
The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/powerpc/dts/p3041si-post.dtsi | 42 ++ 1 file changed, 42 insertions(+) create mode 100644 arch/powerpc/dts/p3041si-pos

[PATCH 06/19] powerpc: dts: add QorIQ DPAA 1 FMan v3 device tree nodes

2020-04-30 Thread Madalin Bucur
Add the QorIQ DPAA Frame Manager version 3 device tree nodes description. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- .../dts/qoriq-fman3-0-10g-0-best-effort.dtsi | 47 arch/powerpc/dts/

[PATCH 19/19] MAINTAINERS: add PowerPC DPAA dts include files to QorIQ DPAA

2020-04-30 Thread Madalin Bucur
Add an entry for the PowerPC QorIQ DPAA device tree include files. Signed-off-by: Madalin Bucur --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6aabb77..655198f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -854,6 +854,7 @@ M: Madalin Bucur

[PATCH 14/19] powerpc: dts: add QorIQ DPAA 1 FMan to P5040DS

2020-04-30 Thread Madalin Bucur
Introduce the QorIQ DPAA 1 Frame Manager nodes in the P5040DS device tree. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/powerpc/dts/p5040ds.dts | 252 ++- 1 file

[PATCH 15/19] powerpc: dts: add QorIQ DPAA 1 FMan v3 for T102x

2020-04-30 Thread Madalin Bucur
Add the QorIQ DPAA 1 Frame Manager v3 device tree nodes for the T102x SoCs. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/powerpc/dts/t1023si-post.dtsi | 37 + arch/p

[PATCH 13/19] powerpc: dts: add QorIQ DPAA 1 FMan for P5040

2020-04-30 Thread Madalin Bucur
The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/powerpc/dts/p5040si-post.dtsi | 69 ++ 1 file changed, 69 insertions(+) create mode 100644 arch/powerpc/dts/p5040si-pos

[PATCH v2 1/2] arm: rpi: Add function to trigger VL805's firmware load

2020-04-30 Thread Nicolas Saenz Julienne
On the Raspberry Pi 4, after a PCI reset, VL805's (a xHCI chip) firmware may either be loaded directly from an EEPROM or, if not present, by the SoC's VideoCore (the SoC's co-processor). Introduce the function that informs VideoCore that VL805 may need its firmware loaded. Signed-off-by: Nicolas S

[PATCH 16/19] powerpc: dts: add QorIQ DPAA 1 FMan v3 to T1024RDB

2020-04-30 Thread Madalin Bucur
Introduce the QorIQ DPAA 1 Frame Manager nodes in the T1024RDB device tree. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/powerpc/dts/t1024rdb.dts | 54 ++- 1 fil

[PATCH 17/19] configs: enable DM_ETH support for P2041RDB

2020-04-30 Thread Madalin Bucur
Enable DM_ETH on all the defconfigs for the P2041RDB board. Signed-off-by: Madalin Bucur --- configs/P2041RDB_NAND_defconfig| 3 +++ configs/P2041RDB_SDCARD_defconfig | 3 +++ configs/P2041RDB_SECURE_BOOT_defconfig | 3 +++ configs/P2041RDB_SPIFLASH_defconfig| 3 +++ configs/P20

[PATCH v2 0/2] Raspberry Pi 4 VL805 firmware load

2020-04-30 Thread Nicolas Saenz Julienne
Newer revisions of the RPi4 need their xHCI chip, VL805, firmware to be loaded explicitly. Earlier versions didn't need that as they where using an EEPROM for that purpose. This series takes care of setting up the relevant infrastructure and run the firmware loading routine at the right moment. No

[PATCH v2 2/2] usb: xhci: Load Raspberry Pi 4 VL805's firmware

2020-04-30 Thread Nicolas Saenz Julienne
When needed, RPi4's co-processor (called VideoCore) has to be instructed to load VL805's firmware (the chip providing xHCI support). VideoCore's firmware expects the board's PCIe bus to be already configured in order for it to load the xHCI chip firmware. So we have to make sure this happens in bet

[PATCH 12/19] powerpc: dts: add QorIQ DPAA 1 FMan to P3041DS

2020-04-30 Thread Madalin Bucur
Introduce the QorIQ DPAA 1 Frame Manager nodes in the P3041DS device tree. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/powerpc/dts/p3041ds.dts | 129 ++- 1 file

[PATCH 0/3] boards: ls1088aqds: transition to CONFIG_DM_ETH

2020-04-30 Thread Ioana Ciornei
This patch set targets to add support for CONFIG_DM_ETH for the NXP LS1088AQDS board. The main focus is on changing the DTS based on the SERDES protocol used. In order to accomplish this, the MULTI_DTB_FIT feature is employed and the appropriate DTS is chosed on boot from a list of predefined file

[PATCH 3/3] configs: ls1088aqds_tfa_defconfig: enable DM_ETH and related

2020-04-30 Thread Ioana Ciornei
Enable CONFIG_DM_ETH and CONFIG_DM_MDIO and related configs for the LS1088AQDS board. Signed-off-by: Ioana Ciornei --- configs/ls1088aqds_tfa_defconfig | 11 ++- include/configs/ls1088aqds.h | 2 ++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/configs/ls1088aqds_tf

[PATCH 1/3] arm: dts: ls1088aqds: add CONFIG_MULTI_DTB_FIT support

2020-04-30 Thread Ioana Ciornei
Add support for selecting the appropriate DTS file depending on the SERDES protocol used. The fsl-ls2088a-qds DTS will be used by default if there isn't a DTS file specifically made for the current SERDES protocol. This patch adds support for the on-board ports (DPMAC 1,2 and 4,5) found on the SER

[PATCH 2/3] board: ls1088aqds: transition to DM_ETH

2020-04-30 Thread Ioana Ciornei
In case CONFIG_DM_ETH is enabled, no hardcoding is necessary for DPAA2 Ethernet devices. Compile out any unnecessary setup when CONFIG_DM_ETH is activated. Also, force the PCI devices to be enumerated at probe time. Signed-off-by: Ioana Ciornei --- board/freescale/ls1088a/eth_ls1088aqds.c | 2 +

Re: [PATCH v2 1/2] arm: rpi: Add function to trigger VL805's firmware load

2020-04-30 Thread Mark Kettenis
> From: Nicolas Saenz Julienne > Date: Thu, 30 Apr 2020 15:04:32 +0200 > > On the Raspberry Pi 4, after a PCI reset, VL805's (a xHCI chip) firmware > may either be loaded directly from an EEPROM or, if not present, by the > SoC's VideoCore (the SoC's co-processor). Introduce the function that > i

Re: [PATCH v2 1/2] arm: rpi: Add function to trigger VL805's firmware load

2020-04-30 Thread Nicolas Saenz Julienne
On Thu, 2020-04-30 at 15:31 +0200, Mark Kettenis wrote: > > From: Nicolas Saenz Julienne > > Date: Thu, 30 Apr 2020 15:04:32 +0200 > > > > On the Raspberry Pi 4, after a PCI reset, VL805's (a xHCI chip) firmware > > may either be loaded directly from an EEPROM or, if not present, by the > > SoC's

[PATCH] ARM: dts: stm32mp1: DT alignment with Linux 5.7-rc2

2020-04-30 Thread Patrick Delaunay
DT alignment with Linux 5.7-rc2, including the kernel commits 431c89e6f323 ARM: dts: stm32: use correct vqmmc regu for eMMC on stm32mp1 ED1/EV1 boards 79e965053872 ARM: dts: stm32: add disable-wp property for SD-card on STM32MP1 boards 877db62ea516 ARM: dts: stm32: add cd-gpios properties for SD

Antwort: [PATCH v1 02/35] acpi: Add a function to get a device path and scope

2020-04-30 Thread Wolfgang Wallner
Hi Simon, -"Simon Glass" schrieb: - >Betreff: [PATCH v1 02/35] acpi: Add a function to get a device path >and scope > >Add a function to build up the ACPI path for a device and another for >its >scope. > >Signed-off-by: Simon Glass >--- > >Changes in v1: >- Split into more patches for re

Please pull u-boot-x86

2020-04-30 Thread Bin Meng
Hi Tom, This PR includes the following x86 changes for v2020.07 release: - DM ACPI support (Part A) - Improve support for chain-loading x86 U-Boot The following changes since commit 6864fc8704661878294d1f0f981f47e864ef470f: Merge https://gitlab.denx.de/u-boot/custodians/u-boot-sh (2020-04-29

Re: [PATCH v2 0/7] x86: efi: Add a 64-bit coreboot payload

2020-04-30 Thread Bin Meng
Hi Simon, On Mon, Apr 27, 2020 at 3:38 AM Simon Glass wrote: > > This series creates a new 64-bit 'coreboot64' build which can be launched > from coreboot. It uses SPL to effect the jump to 64-bit mode. > > This was done in an attempt to get the Ubuntu FirmwareTestSuite[1] > working. Unfortunatel

Re: [PATCH 5/8] net: dwc_eth_qos: Make clk_rx and clk_tx optional

2020-04-30 Thread Patrice CHOTARD
Hi David On 4/30/20 12:43 PM, David Wu wrote: > For others using, clk_rx and clk_tx may not be necessary, > and their clock names are different. > > Signed-off-by: David Wu > --- > > drivers/net/dwc_eth_qos.c | 65 +++ > 1 file changed, 31 insertions(+), 34 de

Re: 'ls' or 'ext4ls' misses files on FS

2020-04-30 Thread Tom Rini
On Thu, Apr 30, 2020 at 12:35:20PM +0300, Andy Shevchenko wrote: > On Thu, Apr 30, 2020 at 12:34 PM Andy Shevchenko > wrote: > > > > HI! > > > > Did I miss anything myself? > > U-Boot v2020.04 > > > U-Boot: > > => ext4ls mmc 0:8 /home/root > >4096 . > >4096 .. > >4096 .no

[PATCH v4 1/2] arm: stm32mp: activate data cache in SPL and before relocation

2020-04-30 Thread Patrick Delaunay
Activate the data cache in SPL and in U-Boot before relocation. In arch_cpu_init(), the function early_enable_caches() sets the early TLB, early_tlb[] located .init section, and set cacheable: - for SPL, all the SYSRAM - for U-Boot, all the DDR After relocation, the function enable_caches() (call

[PATCH v4 2/2] arm: stm32mp: activate data cache on DDR in SPL

2020-04-30 Thread Patrick Delaunay
Activate cache on DDR to improve the accesses to DDR used by SPL: - CONFIG_SPL_BSS_START_ADDR - CONFIG_SYS_SPL_MALLOC_START Cache is configured only when DDR is fully initialized, to avoid speculative access and issue in get_ram_size(). Data cache is deactivated at the end of SPL, to flush the dat

[PATCH v4 0/2] arm: stm32mp1: activate data cache in SPL and before relocation

2020-04-30 Thread Patrick Delaunay
V4 = cosmetic update of the previous serie V3 "arm: stm32mp1: activate data cache in SPL and before relocation" http://patchwork.ozlabs.org/project/uboot/list/?series=172557 This serie depends on the ARM cache serie: "arm: caches: allow to activate dcache in SPL and in U-Boot pre-reloc" http://p

[PATCH 0/2] fixes for basic espressobin support

2020-04-30 Thread Peter Vollmer
With current u-boot mainline espressobin is not working: - SATA causes synchronous abort on startup - USB3, SD card, EMMC flash and ethernet are not working out of the box This patch series fixes above (with SATA not yet working) and makes espressobin usable again with mainline u-boot, based on t

[PATCH 2/2] arm64: armada-37xx: espressobin: enable SD card and network

2020-04-30 Thread Peter Vollmer
activate MMC_BROKEN_CD because drivers/mmc/mvebu_mmc.c does not yet follow the driver model, so the card detection GPIO is not polled. activate network switch, tested with bootp and random MAC generation Signed-off-by: Peter Vollmer --- configs/mvebu_espressobin-88f3720_defconfig | 4 +++- 1 fi

[PATCH 1/2] arm64: armada-37xx: dts: sync armada-3720-espressobin.dts with u-boot-marvell

2020-04-30 Thread Peter Vollmer
from https://github.com/MarvellEmbeddedProcessors/u-boot-marvell/blob/u-boot-2018.03-armada-18.12/arch/arm/dts/armada-3720-espressobin.dts fix comphy mode settings for USB3 (working) fix comphy mode setting for network (working) fix comphy mode setting for SATA (not yet working) add config for SD

[PATCH] sifive: fix palmer's email address

2020-04-30 Thread Pragnesh Patel
Fix Palmer's email address Signed-off-by: Pragnesh Patel Reviewed-by: Bin Meng --- board/sifive/fu540/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/sifive/fu540/MAINTAINERS b/board/sifive/fu540/MAINTAINERS index 702d803ad8..5381fc0639 100644 --- a/board/s

reset on mpc83xx

2020-04-30 Thread Rasmus Villemoes
Hi, I'm wondering why the sysreset_mpc83xx driver (as well as the similar code in arch/powerpc/cpu/mpc83xx/cpu.c) removes the MSR_IR and MSR_DR bits from MSR. On my mpc8309, that seems to simply make the board hang right after writing the new MSR value - i.e., it never gets to write the magic val

Re: [PATCH v2 1/8] iopoll: Add dealy to read poll

2020-04-30 Thread Tom Rini
On Thu, Apr 30, 2020 at 12:34:05PM +0530, Jagan Teki wrote: > Some drivers and other bsp code not only poll the > register with timeout but also required to delay > on each transaction. > > This patch add that requirement by adding sleep_us > variable so-that read_poll_timeout now support > delay

Re: reset on mpc83xx

2020-04-30 Thread Christophe Leroy
Le 30/04/2020 à 16:44, Rasmus Villemoes a écrit : Hi, I'm wondering why the sysreset_mpc83xx driver (as well as the similar code in arch/powerpc/cpu/mpc83xx/cpu.c) removes the MSR_IR and MSR_DR bits from MSR. On my mpc8309, that seems to simply make the board hang right after writing the new

Re: [PATCH v2 2/2] Makefile: Only build dtc if needed

2020-04-30 Thread Tom Rini
On Tue, Apr 28, 2020 at 04:40:47PM -0600, Simon Glass wrote: > Hi Tom, > > On Tue, 28 Apr 2020 at 09:52, Tom Rini wrote: > > > > On Tue, Apr 28, 2020 at 09:41:14AM -0600, Simon Glass wrote: > > > Hi Tom. > > > > > > On Tue, 28 Apr 2020 at 08:19, Tom Rini wrote: > > > > > > > > On Mon, Apr 27, 20

Re: 'ls' or 'ext4ls' misses files on FS

2020-04-30 Thread Andy Shevchenko
On Thu, Apr 30, 2020 at 5:13 PM Tom Rini wrote: > > On Thu, Apr 30, 2020 at 12:35:20PM +0300, Andy Shevchenko wrote: > > On Thu, Apr 30, 2020 at 12:34 PM Andy Shevchenko > > wrote: > > > > > > HI! > > > > > > Did I miss anything myself? > > > > U-Boot v2020.04 > > > > > U-Boot: > > > => ext4ls mm

Re: 'ls' or 'ext4ls' misses files on FS

2020-04-30 Thread Tom Rini
On Thu, Apr 30, 2020 at 06:11:19PM +0300, Andy Shevchenko wrote: > On Thu, Apr 30, 2020 at 5:13 PM Tom Rini wrote: > > > > On Thu, Apr 30, 2020 at 12:35:20PM +0300, Andy Shevchenko wrote: > > > On Thu, Apr 30, 2020 at 12:34 PM Andy Shevchenko > > > wrote: > > > > > > > > HI! > > > > > > > > Did I

Re: [PATCH 2/8] net: dwc_eth_qos: Fix the software reset

2020-04-30 Thread Patrice CHOTARD
Hi David On 4/30/20 12:36 PM, David Wu wrote: > When using rgmii Gigabit mode, the wait_for_bit_le32() > reset method resulting in RX can not receive data, after > this patch, works well. > > Signed-off-by: David Wu > --- > > drivers/net/dwc_eth_qos.c | 21 +++-- > 1 file changed

Re: pull request of u-boot-fsl-qoriq for v2020.07

2020-04-30 Thread Tom Rini
On Thu, Apr 30, 2020 at 11:37:32AM +, Priyanka Jain wrote: > Dear Tom, > Please find my pull-request for u-boot-fsl-qoriq/master > https://travis-ci.org/github/p-priyanka-jain/u-boot/builds/680868706 > > Summary > Add DM_ETH support for DPAA1, DPAA2 based RDB platforms: ls1046ardb, > ls

Re: [PATCH 6/8] net: dwc_eth_qos: Split eqos_start() to get link speed

2020-04-30 Thread Patrice CHOTARD
Hi David On 4/30/20 12:44 PM, David Wu wrote: > Before enabling mac and mac working, we need to obtain > the current link speed to configure the clock, so split > eqos_start into two functions. > > Signed-off-by: David Wu > --- > > drivers/net/dwc_eth_qos.c | 56 ++---

Re: [PATCH 3/8] net: dwc_eth_qos: Add option "snps,reset-gpio" phy-rst gpio for stm32

2020-04-30 Thread Patrice CHOTARD
Hi David On 4/30/20 12:36 PM, David Wu wrote: > It can be seen that most of the Socs using STM mac, "snps,reset-gpio" > gpio is used, adding this option makes reset function more general. > > Signed-off-by: David Wu > --- > > drivers/net/dwc_eth_qos.c | 40 ++-

Pull request for UEFI sub-system for efi-2020-07-rc2

2020-04-30 Thread Heinrich Schuchardt
The following changes since commit 6864fc8704661878294d1f0f981f47e864ef470f: Merge https://gitlab.denx.de/u-boot/custodians/u-boot-sh (2020-04-29 10:39:18 -0400) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2020-07-rc2 for you to f

[PATCH v3 0/5] TI Ethernet PHY changes

2020-04-30 Thread Dan Murphy
Hello The addition of the DP83867 driver to uboot was done in a generic way that made it a bit difficult to bring in new PHY drivers. The difficulty came in the config flags and the phy_init function. The change is to make the flags and init for the DP83867 more specific to the DP83867 device to

[PATCH v3 1/5] net: phy: Add missing kernel doc to phy functions

2020-04-30 Thread Dan Murphy
Add kernel doc to the phy_read/write utility functions in phy.h Signed-off-by: Dan Murphy --- include/phy.h | 39 +++ 1 file changed, 39 insertions(+) diff --git a/include/phy.h b/include/phy.h index b5de14cbfc29..c1f6509e42fc 100644 --- a/include/phy.h +++ b

[PATCH v3 3/5] net: phy: Add helper routines to set and clear bits

2020-04-30 Thread Dan Murphy
Add phy_set/clear_bit helper routines so that ported drivers from the kernel can use these functions. Signed-off-by: Dan Murphy --- include/phy.h | 54 +++ 1 file changed, 54 insertions(+) diff --git a/include/phy.h b/include/phy.h index 34c2af719

[PATCH v3 5/5] net: phy: Add DP8382x phy registration to TI PHY init

2020-04-30 Thread Dan Murphy
Add the DP8382X generic PHY registration to the TI PHY init file. Acked-by: Michal Simek Signed-off-by: Dan Murphy --- drivers/net/phy/ti_phy_init.c | 83 +++ 1 file changed, 83 insertions(+) diff --git a/drivers/net/phy/ti_phy_init.c b/drivers/net/phy/ti_phy_in

[PATCH v3 4/5] net: phy: Add support for TI PHY init

2020-04-30 Thread Dan Murphy
ti_phy_init function was allocated to the DP83867 PHY. This function name is to generic for a specific PHY. The function can be moved to a TI specific file that can register all TI PHYs that are defined in the defconfig. The ti_phy_init file will contain all TI PHYs initialization so that only p

[PATCH v3 2/5] net: phy: Fix kernel doc issues in phy.h

2020-04-30 Thread Dan Murphy
Fix kernel doc warnings in phy.h. Mostly the warnings were due to the return missing the semi-colon. Signed-off-by: Dan Murphy --- include/phy.h | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/include/phy.h b/include/phy.h index c1f6509e42fc..34c2af719b6

[PATCH] stm32mp1: Fix warning display when 1.5A power supply is used

2020-04-30 Thread Patrice Chotard
On DK1/2 board, when a 1.5A power supply is detected, a warning message is displayed. In this message, "1.5mA" is displayed instead of "1.5A". Signed-off-by: Patrice Chotard --- board/st/stm32mp1/stm32mp1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/st/stm32mp1/st

Re: [GIT PULL] Xilinx fixes for v2020.07-rc2

2020-04-30 Thread Tom Rini
On Thu, Apr 30, 2020 at 09:38:06AM +0200, Michal Simek wrote: > Hi Tom, > > Please pull these patches to your tree. > Travis looks good. > https://travis-ci.org/github/michalsimek/u-boot/builds/680070323 > > Gitlab CI too > https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze/pipelines/295

Pull request v3: u-boot-spi/master

2020-04-30 Thread Jagan Teki
Hi Tom, Please pull this PR. Travis-ci: https://travis-ci.org/github/openedev/u-boot-amarula/builds/681057652 thanks, Jagan. The following changes since commit dd2c676a659a03daeef31d1221da2edff009d426: Prepare v2020.07-rc1 (2020-04-28 15:55:57 -0400) are available in the Git repository at:

[PATCH 3/8] qemu: arm64: Add support for efi firmware management protocol routines

2020-04-30 Thread Sughosh Ganu
Add support for the get_image_info and set_image routines, which are part of the efi firmware management protocol. The current implementation uses the set_image routine for updating the u-boot binary image for the qemu arm64 platform. This is supported using the capsule-on-disk feature of the uefi

[PATCH 0/8] qemu: arm64: Add support for uefi firmware management protocol routines

2020-04-30 Thread Sughosh Ganu
This series is based on the capsule update series sent by Takahiro Akashi[1]. These routines have been tested on the qemu arm64 platform for updating the u-boot firmware through the capsule-on-disk functionality of the uefi spec. This series supports updating the u-boot binary image on platforms b

[PATCH 2/8] semihosting: Add support for writing to a file

2020-04-30 Thread Sughosh Ganu
Add a function to enable writing to a file. Currently, support is added for writing to a binary file. This would be used for implementing the firmware update functionality for the qemu arm64 platform. Signed-off-by: Sughosh Ganu --- arch/arm/lib/semihosting.c | 41 +++

[PATCH 5/8] efi_loader: Make the pkcs7 header parsing function an extern

2020-04-30 Thread Sughosh Ganu
The pkcs7 header parsing functionality is pretty generic, and can be used by other features like capsule authentication. Make the function as an extern, also changing it's name to efi_parse_pkcs7_header. Signed-off-by: Sughosh Ganu --- include/efi_loader.h | 2 + lib/efi_loader/efi_si

[PATCH 4/8] efi_loader: Allow parsing of miscellaneous signature database variables

2020-04-30 Thread Sughosh Ganu
The current function to parse the signature database(sigdb) only allows parsing of secure boot related sigdb variables, namely PK, KEK, db and dbx. Allow the function to parse any other sigdb variables. This would be useful for the capsule authenticate feature, which would be storing it's root cert

[PATCH 6/8] efi: capsule: Add support for uefi capsule authentication

2020-04-30 Thread Sughosh Ganu
Add support for authenticating uefi capsules. Most of the signature verification functionality is shared with the uefi secure boot feature. The root certificate containing the public key used for the signature verification is stored as an efi variable, similar to the variables used for uefi secure

[PATCH 1/8] semihosting: Change semihosting file operation functions into global symbols

2020-04-30 Thread Sughosh Ganu
Change the semihosting file operation functions into external symbols so that they can be called from outside the file. These functions would be required to be called for implementing firmware update functionality for the qemu arm64 platform. Signed-off-by: Sughosh Ganu --- arch/arm/lib/semihost

[PATCH 7/8] qemu: arm64: Add support for uefi capsule authentication

2020-04-30 Thread Sughosh Ganu
Add support for uefi capsule authentication feature for the qemu arm64 platform. This feature is enabled by setting the environment variable "capsule_authentication_enabled". The following configs are needed for enabling uefi capsule update and capsule authentication features on the platform. CON

[PATCH 8/8] qemu: arm64: Add documentation for capsule update

2020-04-30 Thread Sughosh Ganu
Add documentation highlighting the steps for using the uefi capsule update feature for updating the u-boot firmware image. Signed-off-by: Sughosh Ganu --- doc/board/emulation/qemu-arm.rst | 112 +++ 1 file changed, 112 insertions(+) diff --git a/doc/board/emulation/q

Re: [PATCH 8/8] qemu: arm64: Add documentation for capsule update

2020-04-30 Thread Heinrich Schuchardt
On 4/30/20 7:36 PM, Sughosh Ganu wrote: > Add documentation highlighting the steps for using the uefi capsule > update feature for updating the u-boot firmware image. > > Signed-off-by: Sughosh Ganu UEFI capsule updates should be architecture independent. I would expect that the submitted code sh

Re: [PATCH 3/8] qemu: arm64: Add support for efi firmware management protocol routines

2020-04-30 Thread Heinrich Schuchardt
On 4/30/20 7:36 PM, Sughosh Ganu wrote: > Add support for the get_image_info and set_image routines, which are > part of the efi firmware management protocol. > > The current implementation uses the set_image routine for updating the > u-boot binary image for the qemu arm64 platform. This is suppor

am65x build issues

2020-04-30 Thread Jan Kiszka
Hi all, I've noticed that building am65x_evm_a53_defconfig causes the dtbs to be built twice, once for the main u-boot and once for the spl. This is because of an extra dependency in mach-k3/config_secure.mk added by 508369672ca3. Why should the produced dtbs depend on the target that produces the

Re: reset on mpc83xx

2020-04-30 Thread Rasmus Villemoes
On 30/04/2020 17.03, Christophe Leroy wrote: > > > Le 30/04/2020 à 16:44, Rasmus Villemoes a écrit : >> Hi, >> >> I'm wondering why the sysreset_mpc83xx driver (as well as the similar >> code in arch/powerpc/cpu/mpc83xx/cpu.c) removes the MSR_IR and MSR_DR >> bits from MSR. >> [snip] >> >> But si

Re: [PATCH 8/8] qemu: arm64: Add documentation for capsule update

2020-04-30 Thread Sughosh Ganu
On Fri, 1 May 2020 at 00:07, Heinrich Schuchardt wrote: > On 4/30/20 7:36 PM, Sughosh Ganu wrote: > > Add documentation highlighting the steps for using the uefi capsule > > update feature for updating the u-boot firmware image. > > > > Signed-off-by: Sughosh Ganu > > UEFI capsule updates should

Re: Please pull u-boot-x86

2020-04-30 Thread Tom Rini
On Thu, Apr 30, 2020 at 09:53:46PM +0800, Bin Meng wrote: > Hi Tom, > > This PR includes the following x86 changes for v2020.07 release: > > - DM ACPI support (Part A) > - Improve support for chain-loading x86 U-Boot > > The following changes since commit 6864fc8704661878294d1f0f981f47e864ef470

[PATCH] arm: K3: Increase default SYSFW image size allocation

2020-04-30 Thread Andrew F. Davis
The memory allocated to store the FIT image containing SYSFW and board configuration data is statically defined to the largest size expected. Some additions to the board configuration data has pushed us slightly over the current defined size on some HS devices, expand to 278000. Signed-off-by: And

Re: [PATCH 3/8] qemu: arm64: Add support for efi firmware management protocol routines

2020-04-30 Thread Sughosh Ganu
On Fri, 1 May 2020 at 00:09, Heinrich Schuchardt wrote: > On 4/30/20 7:36 PM, Sughosh Ganu wrote: > > Add support for the get_image_info and set_image routines, which are > > part of the efi firmware management protocol. > > > > The current implementation uses the set_image routine for updating t

Re: [PATCH 8/8] qemu: arm64: Add documentation for capsule update

2020-04-30 Thread Tom Rini
On Fri, May 01, 2020 at 12:38:45AM +0530, Sughosh Ganu wrote: > On Fri, 1 May 2020 at 00:07, Heinrich Schuchardt wrote: > > > On 4/30/20 7:36 PM, Sughosh Ganu wrote: > > > Add documentation highlighting the steps for using the uefi capsule > > > update feature for updating the u-boot firmware ima

Re: [PATCH 04/10] efi_loader: capsule: add capsule_on_disk support

2020-04-30 Thread Heinrich Schuchardt
On 4/30/20 2:52 PM, Sughosh Ganu wrote: > > On Tue, 28 Apr 2020 at 05:58, AKASHI Takahiro > mailto:takahiro.aka...@linaro.org>> wrote: > > Heinrich, > > On Mon, Apr 27, 2020 at 10:28:35PM +0200, Heinrich Schuchardt wrote: > > On 4/27/20 11:48 AM, AKASHI Takahiro wrote: > > > Capsule

Re: [PATCH v2 1/8] iopoll: Add dealy to read poll

2020-04-30 Thread Jagan Teki
On Thu, Apr 30, 2020 at 8:16 PM Tom Rini wrote: > > On Thu, Apr 30, 2020 at 12:34:05PM +0530, Jagan Teki wrote: > > > Some drivers and other bsp code not only poll the > > register with timeout but also required to delay > > on each transaction. > > > > This patch add that requirement by adding sl

<    1   2   3   >