Re: [U-Boot] [PATCH V3 24/27] imx8m: soc: probe clock device in arch_cpu_init_dm

2019-08-28 Thread Schrempf Frieder
On 29.08.19 03:21, Peng Fan wrote: > Hi Frieder, > >> Subject: Re: [PATCH V3 24/27] imx8m: soc: probe clock device in >> arch_cpu_init_dm >> >> Hi Peng, >> >> On 27.08.19 08:25, Peng Fan wrote: >>> Because we need to get cpu freq in print_cpuinfo at very early stage, >>> so we need to make sure

Re: [U-Boot] [PATCH 1/1] siemens: avoid out of bound access

2019-08-28 Thread Heiko Schocher
Hello Heinrich, Am 22.08.2019 um 21:58 schrieb Heinrich Schuchardt: char num[1]; sprintf(num, "%d", i); leads to a buffer overrun. Simplify the overly complex coding. Signed-off-by: Heinrich Schuchardt --- board/siemens/common/board.c | 5 + 1 file changed, 1

Re: [U-Boot] [PATCH] MAINTAINERS,board/siemens: update maintainer

2019-08-28 Thread Heiko Schocher
Hello Samuel, Am 23.08.2019 um 16:11 schrieb Samuel Egli: Signed-off-by: Samuel Egli Acked-by: Roger Meier Cc: Heiko Schocher --- board/siemens/draco/MAINTAINERS | 2 +- board/siemens/pxm2/MAINTAINERS | 2 +- board/siemens/rut/MAINTAINERS | 2 +- 3 files changed, 3 insertions(+), 3

Re: [U-Boot] [PATCH 1/1] x86: efi_loader: Fix invalid address return from efi_alloc()

2019-08-28 Thread Heinrich Schuchardt
On 8/29/19 7:04 AM, Bin Meng wrote: Hi Aiden, On Thu, Aug 29, 2019 at 12:02 PM Park, Aiden wrote: Hi Bin, -Original Message- From: Bin Meng [mailto:bmeng...@gmail.com] Sent: Wednesday, August 28, 2019 8:37 PM To: Park, Aiden ; Heinrich Schuchardt Cc: Simon Glass ;

Re: [U-Boot] [PATCHv2 00/47] powerpc: Enable PCIe DM drvier for some platforms

2019-08-28 Thread Prabhakar Kushwaha
> -Original Message- > From: Z.q. Hou > Sent: Tuesday, August 27, 2019 4:33 PM > To: u-boot@lists.denx.de; Prabhakar Kushwaha > ; w...@denx.de; Priyanka Jain > ; Shengzhou Liu ; > bmeng...@gmail.com > Cc: Z.q. Hou > Subject: [PATCHv2 00/47] powerpc: Enable PCIe DM drvier for some

Re: [U-Boot] [PATCHv3 0/3] dm: pcie_fsl: Fix some issues

2019-08-28 Thread Prabhakar Kushwaha
> -Original Message- > From: Z.q. Hou > Sent: Tuesday, August 27, 2019 3:44 PM > To: u-boot@lists.denx.de; Prabhakar Kushwaha > ; bmeng...@gmail.com > Cc: Z.q. Hou > Subject: [PATCHv3 0/3] dm: pcie_fsl: Fix some issues > > From: Hou Zhiqiang > > The current driver is not working on

[U-Boot] pull request: u-boot-mpc85xx/master

2019-08-28 Thread Prabhakar Kushwaha
Dear Tom, Please find my pull request for u-boot-mpc85xx/master Summary: Enable DM PCI for T2080RDB, T4240RDB, T1024RDB, T1042D4RDB, P1020RDB, P2020RDB, P2041RDB, P3041DS, P4080DS, and MPC8548CDS Travis-CI: https://travis-ci.org/prabhukush/u-boot/builds/577733313 --pk

Re: [U-Boot] [PATCH 1/1] x86: efi_loader: Fix invalid address return from efi_alloc()

2019-08-28 Thread Heinrich Schuchardt
On 8/29/19 5:36 AM, Bin Meng wrote: +Heinrich, On Wed, Aug 28, 2019 at 2:35 AM Park, Aiden wrote: This issue can be seen on 32bit operation when one of E820_RAM type entries is greater than 4GB memory space. The efi_alloc() finds a free memory in the conventional memory which is greater

Re: [U-Boot] [PATCH 1/1] x86: efi_loader: Fix invalid address return from efi_alloc()

2019-08-28 Thread Bin Meng
Hi Aiden, On Thu, Aug 29, 2019 at 12:02 PM Park, Aiden wrote: > > Hi Bin, > > > -Original Message- > > From: Bin Meng [mailto:bmeng...@gmail.com] > > Sent: Wednesday, August 28, 2019 8:37 PM > > To: Park, Aiden ; Heinrich Schuchardt > > > > Cc: Simon Glass ; u-boot@lists.denx.de > >

Re: [U-Boot] [PATCH 1/1] efi_selftest: use standalone UEFI program for exception

2019-08-28 Thread Bin Meng
On Wed, Aug 28, 2019 at 1:26 AM Heinrich Schuchardt wrote: > > To fully demonstrate crash outputs for UEFI images provide a standalone > UEFI application that tries to invoke an illegal opcode. > > Signed-off-by: Heinrich Schuchardt > --- > lib/efi_selftest/Makefile | 10 +-

Re: [U-Boot] [PATCH 1/1] x86: show UEFI images involved in crash

2019-08-28 Thread Bin Meng
On Mon, Aug 26, 2019 at 1:55 AM Heinrich Schuchardt wrote: > > If a crash occurs, show the loaded UEFI images to facilitate analysis. > > This is an example output: > > => bootefi 0x100 > Found 0 disks > Hello world of bugs! > Invalid Opcode (Undefined Opcode) > EIP: 0010:[<06ceb06e>] EFLAGS:

Re: [U-Boot] [PATCH 25/26] configs: mtmips: change all boards to use mtk high-speed uart driver

2019-08-28 Thread Weijie Gao
On Wed, 2019-08-28 at 15:57 +0200, Stefan Roese wrote: > On 28.08.19 08:38, Weijie Gao wrote: > > This patch changes all defconfig files of mtmips to use mtk high-speed > > uart driver. > > > > This driver is compatible with ns16550a when baudrate <= 115200. > > > > Signed-off-by: Weijie Gao >

Re: [U-Boot] [PATCH 20/26] mmc: mtk-sd: add support for MediaTek MT7620/MT7628 SoCs

2019-08-28 Thread Weijie Gao
On Wed, 2019-08-28 at 15:50 +0200, Stefan Roese wrote: > On 28.08.19 08:38, Weijie Gao wrote: > > This patch adds mmc support for MediaTek MT7620/MT7628 SoCs. > > > > Signed-off-by: Weijie Gao > > --- > > drivers/mmc/Kconfig | 2 +- > > drivers/mmc/mtk-sd.c | 23 --- > >

Re: [U-Boot] [PATCH 18/26] net: mt7628-eth: add support to isolate LAN/WAN ports

2019-08-28 Thread Weijie Gao
On Wed, 2019-08-28 at 15:46 +0200, Stefan Roese wrote: > On 28.08.19 08:38, Weijie Gao wrote: > > This patch add support for mt7628-eth to isolate LAN/WAN ports mainly to > > Nitpicking: > > s/add/adds > > > prevent LAN devices from getting IP address from WAN. > > > > Signed-off-by: Weijie

Re: [U-Boot] [PATCH 1/1] efi_selftest: use standalone UEFI program for exception

2019-08-28 Thread Bin Meng
Hi Heinrich, On Wed, Aug 28, 2019 at 1:26 AM Heinrich Schuchardt wrote: > > To fully demonstrate crash outputs for UEFI images provide a standalone > UEFI application that tries to invoke an illegal opcode. > > Signed-off-by: Heinrich Schuchardt > --- > lib/efi_selftest/Makefile

Re: [U-Boot] [PATCH 1/1] efi_selftest: use standalone UEFI program for exception

2019-08-28 Thread Heinrich Schuchardt
On 8/29/19 5:18 AM, Bin Meng wrote: Hi Heinrich, On Wed, Aug 28, 2019 at 1:26 AM Heinrich Schuchardt wrote: To fully demonstrate crash outputs for UEFI images provide a standalone UEFI application that tries to invoke an illegal opcode. Signed-off-by: Heinrich Schuchardt ---

Re: [U-Boot] [PATCH 1/1] x86: efi_loader: Fix invalid address return from efi_alloc()

2019-08-28 Thread Park, Aiden
Hi Bin, > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Wednesday, August 28, 2019 8:37 PM > To: Park, Aiden ; Heinrich Schuchardt > > Cc: Simon Glass ; u-boot@lists.denx.de > Subject: Re: [PATCH 1/1] x86: efi_loader: Fix invalid address return from >

Re: [U-Boot] [PATCH 1/1] x86: efi_loader: Fix invalid address return from efi_alloc()

2019-08-28 Thread Bin Meng
+Heinrich, On Wed, Aug 28, 2019 at 2:35 AM Park, Aiden wrote: > > This issue can be seen on 32bit operation when one of E820_RAM type > entries is greater than 4GB memory space. > > The efi_alloc() finds a free memory in the conventional memory which > is greater than 4GB. But, it does type cast

Re: [U-Boot] [PATCH 11/26] dts: mtmips: update reset controller node for mt7628

2019-08-28 Thread Weijie Gao
On Wed, 2019-08-28 at 15:18 +0200, Stefan Roese wrote: > On 28.08.19 08:37, Weijie Gao wrote: > > This patch updates reset controller node for mt7628 > > > > Signed-off-by: Weijie Gao > > --- > > arch/mips/dts/mt7628a.dtsi | 36 > > 1 file changed, 24

Re: [U-Boot] [PATCH 26/26] configs: mtmips: add necessary drivers for mtmips boards

2019-08-28 Thread Weijie Gao
On Wed, 2019-08-28 at 15:40 +0200, Stefan Roese wrote: > On 28.08.19 15:35, Daniel Schwierzeck wrote: > > > > > > Am 28.08.19 um 08:38 schrieb Weijie Gao: > >> This patch adds pinctrl driver, clock gate driver and reset controller > >> support for defconfig files of mtmips boards. > >> > >>

Re: [U-Boot] [PATCH 16/26] net: mt7628-eth: remove phy link up detection

2019-08-28 Thread Weijie Gao
On Wed, 2019-08-28 at 15:37 +0200, Stefan Roese wrote: > On 28.08.19 08:38, Weijie Gao wrote: > > The mt7628 has an embedded ethernet switch (5 phy ports + 1 cpu port). > > Although in IOT mode only port0 is usable, the phy0 is still connected > > to the switch, not the ethernet gmac directly. > >

Re: [U-Boot] [PATCH 07/26] pinctrl: add support for MediaTek MT7628

2019-08-28 Thread Weijie Gao
On Wed, 2019-08-28 at 14:37 +0200, Stefan Roese wrote: > On 28.08.19 14:26, Stefan Roese wrote: > > On 28.08.19 08:37, Weijie Gao wrote: > >> This patch adds pinctrl support for mt7628, with a file for common pinmux > >> functions and a file for mt7628 which has additional support for pinconf. >

Re: [U-Boot] [PATCH 12/26] clk: add clock gating driver for MediaTek MIPS platform

2019-08-28 Thread Weijie Gao
On Wed, 2019-08-28 at 15:24 +0200, Daniel Schwierzeck wrote: > > Am 28.08.19 um 08:37 schrieb Weijie Gao: > > This patch adds clock gating driver for MediaTek MIPS platform > > > > Signed-off-by: Weijie Gao > > --- > > drivers/clk/Kconfig | 8 > > drivers/clk/Makefile

Re: [U-Boot] [PATCH] qemu-riscv64_smode, sifive-fu540: fix extlinux (define preboot)

2019-08-28 Thread Atish Patra
On Wed, 2019-08-21 at 12:07 -0700, David Abdurachmanov wrote: > Commit 37304aaf60bf92a5dc3ef222ba520698bd862a44 removed preboot > commands in RISC-V targets and broke extlinux support as reported > by Fu Wei . > > The patch finishes migration of CONFIG_USE_PREBOOT and CONFIG_REBOOT > to Kconfig.

Re: [U-Boot] [PATCH V3 24/27] imx8m: soc: probe clock device in arch_cpu_init_dm

2019-08-28 Thread Peng Fan
Hi Frieder, > Subject: Re: [PATCH V3 24/27] imx8m: soc: probe clock device in > arch_cpu_init_dm > > Hi Peng, > > On 27.08.19 08:25, Peng Fan wrote: > > Because we need to get cpu freq in print_cpuinfo at very early stage, > > so we need to make sure the ccm be probed. > > > > Signed-off-by:

Re: [U-Boot] python3 support for pylibfdt

2019-08-28 Thread Tom Rini
On Wed, Aug 28, 2019 at 10:11:16AM -0600, Simon Glass wrote: > Hi Tom, > > On Wed, 28 Aug 2019 at 07:47, Tom Rini wrote: > > > > On Wed, Aug 28, 2019 at 07:44:11AM -0600, Simon Glass wrote: > > > Hi Peter, > > > > > > On Wed, 28 Aug 2019 at 05:46, Peter Robinson wrote: > > > > > > > > Hi Simon,

[U-Boot] rockchip: rk3399: TPL: rockpro64: Wrong memory size detected

2019-08-28 Thread Kurt Miller
The board has 4G memory but only 2G is detected by TPL. Please let me know if additional information is needed. With u-boot master TPL output: U-Boot TPL 2019.10-rc3-00020-ge4b8dd9b34-dirty (Aug 28 2019 - 17:26:44) LPDDR4, 50MHz BW=32 Col=10 Bk=8 CS0 Row=15 CS=1 Die BW=16 Size=1024MB LPDDR4,

Re: [U-Boot] [RFC PATCH] patman: Use the Change-Id, version, and prefix in the Message-Id

2019-08-28 Thread Doug Anderson
Hi, On Wed, Aug 28, 2019 at 2:05 PM Johannes Berg wrote: > > Hi Doug, > > Some comments on the actual mechanics here (vs. on the kernel list I > picked this up from). > > It seems like perhaps you could increase the "count" variable. You got: > >

Re: [U-Boot] [PATCH] board_f: fix noncached reservation calculation

2019-08-28 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Tom Rini > Sent: Wednesday, August 28, 2019 12:31 PM > To: Vikas MANOCHA > Cc: Stephen Warren ; twar...@wwwdotorg.org; > u-boot@lists.denx.de; Stephen Warren > Subject: Re: [PATCH] board_f: fix noncached reservation calculation > > On Wed, Aug 28,

[U-Boot] [RFC PATCH] patman: Use the Change-Id, version, and prefix in the Message-Id

2019-08-28 Thread Douglas Anderson
As per the centithread on ksummit-discuss [1], there are folks who feel that if a Change-Id is present in a developer's local commit that said Change-Id could be interesting to include in upstream posts. Specifically if two commits are posted with the same Change-Id there's a reasonable chance

Re: [U-Boot] [PATCH] board_f: fix noncached reservation calculation

2019-08-28 Thread Tom Rini
On Wed, Aug 28, 2019 at 07:22:36PM +, Vikas MANOCHA wrote: > Hi, > > > -Original Message- > > From: Stephen Warren > > Sent: Tuesday, August 27, 2019 7:50 PM > > To: Vikas MANOCHA ; Tom Rini > > > > Cc: twar...@wwwdotorg.org; u-boot@lists.denx.de; Stephen Warren > > > > Subject:

Re: [U-Boot] [PATCH] board_f: fix noncached reservation calculation

2019-08-28 Thread Vikas MANOCHA
Hi, > -Original Message- > From: Stephen Warren > Sent: Tuesday, August 27, 2019 7:50 PM > To: Vikas MANOCHA ; Tom Rini > > Cc: twar...@wwwdotorg.org; u-boot@lists.denx.de; Stephen Warren > > Subject: Re: [PATCH] board_f: fix noncached reservation calculation > > On 8/27/19 6:01 PM,

Re: [U-Boot] Wandboard boot failure when HAB support is enabled

2019-08-28 Thread Jon Szymaniak
Hi Breno, On Wed, Aug 28, 2019 at 12:14 PM Breno Matheus Lima wrote: > > Hi Jon, > > Em qua, 28 de ago de 2019 às 09:49, Jon Szymaniak > escreveu: > > > > Hello all, > > > > I'd like to get U-Boot >= 2019.07 booting on a Wandboard Quad with HAB > > support enabled, but appear to be running into

[U-Boot] [RFC BUG] CONFIG_OF_SEPARATE - ARM64 Incorrect calculation for uboot-spl.bin padding

2019-08-28 Thread Anand Gore
Hello, While trying to use the CONFIG_OF_SEPARATE option for ARM64, I noticed that the )/$(SPL_BIN)-pad.bin creates a 0 byte size in scripts/Makefile.spl in the following rule. scripts/Makefile.spl: # Create a file that pads from the end of u-boot-spl-nodtb.bin to bss_end

Re: [U-Boot] [PATCH] sifive-fu540: config: Add mmc0 as a boot target device

2019-08-28 Thread Alistair Francis
On Mon, 2019-08-26 at 20:45 +0800, Bin Meng wrote: > On Tue, Aug 20, 2019 at 11:38 PM Auer, Lukas > wrote: > > On Fri, 2019-08-16 at 11:00 -0700, Alistair Francis wrote: > > > Add the mmc0 device as a BOOT_TARGET_DEVICES. > > > > > > Signed-off-by: Alistair Francis > > > --- > > >

Re: [U-Boot] [PATCH v4 1/1] board: arm: Add support for Broadcom BCM7445

2019-08-28 Thread Thomas Fitzsimmons
Hi Bin, Bin Meng writes: > Hi Thomas, > > On Wed, Aug 28, 2019 at 6:31 AM Thomas Fitzsimmons > wrote: >> >> Hi Bin, >> >> Bin Meng writes: >> >> > Hi Thomas, >> > >> > On Sat, Jun 9, 2018 at 6:06 AM Thomas Fitzsimmons >> > wrote: >> >> >> >> Add support for loading U-Boot on the Broadcom

Re: [U-Boot] Wandboard boot failure when HAB support is enabled

2019-08-28 Thread Breno Matheus Lima
Hi Jon, Em qua, 28 de ago de 2019 às 09:49, Jon Szymaniak escreveu: > > Hello all, > > I'd like to get U-Boot >= 2019.07 booting on a Wandboard Quad with HAB > support enabled, but appear to be running into either some regressions > (or matters of PEBKAC). For the scope of this discussion, I'm

[U-Boot] [PATCH V3 4/6] bmips: bcm6362: add support for brcmnand

2019-08-28 Thread Álvaro Fernández Rojas
BCM6362 uses old 2.2 HW nand controller, which isn't currently supported by brcmnand driver. Signed-off-by: Álvaro Fernández Rojas --- v3: no changes v2: no changes arch/mips/dts/brcm,bcm6362.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git

[U-Boot] [PATCH V3 3/6] bmips: bcm6328: add support for brcmnand

2019-08-28 Thread Álvaro Fernández Rojas
BCM6328 uses old 2.2 HW nand controller, which isn't currently supported by brcmnand driver. Signed-off-by: Álvaro Fernández Rojas --- v3: no changes v2: no changes arch/mips/dts/brcm,bcm6328.dtsi | 16 1 file changed, 16 insertions(+) diff --git

[U-Boot] [PATCH V3 5/6] bmips: bcm63268: add support for brcmnand

2019-08-28 Thread Álvaro Fernández Rojas
BCM63268 uses 4.0 HW nand controller, which is currently supported by brcmnand driver. Signed-off-by: Álvaro Fernández Rojas --- v3: no changes v2: no changes arch/mips/dts/brcm,bcm63268.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git

[U-Boot] [PATCH V3 6/6] bmips: enable vr-3032u nand support

2019-08-28 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v3: no changes v2: Drop CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT arch/mips/dts/comtrend,vr-3032u.dts| 13 + configs/comtrend_vr3032u_ram_defconfig | 5 + include/configs/comtrend_vr3032u.h | 5 + 3 files changed, 23

[U-Boot] [PATCH V3 2/6] bmips: bcm6368: add support for brcmnand

2019-08-28 Thread Álvaro Fernández Rojas
BCM6368 uses old 2.1 HW nand controller, which isn't currently supported by brcmnand driver. Signed-off-by: Álvaro Fernández Rojas --- v3: no changes v2: no changes arch/mips/dts/brcm,bcm6368.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git

[U-Boot] [PATCH V3 1/6] nand: brcm: add BCM6368 support

2019-08-28 Thread Álvaro Fernández Rojas
This adds support for BCM6368, BCM6328, BCM6362 and BCM63268 SoCs. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck --- v3: Introduce changes suggested by Daniel Schwierzeck: - Introduce soc_to_priv helper definition. - Switch to dev_remap_addr_name. v2: no changes

[U-Boot] [PATCH V3 0/6] bmips: add brcmnand support

2019-08-28 Thread Álvaro Fernández Rojas
These patches add support for brcmnand on bmips. The current brcmnand driver only supports controller >= 4.0, which means that only BCM63268 works right now. v3: Introduce changes suggested by Daniel Schwierzeck: - Introduce soc_to_priv helper definition. - Switch to dev_remap_addr_name. v2:

[U-Boot] [PATCH v1] apalis-tk1: use distroboot by default

2019-08-28 Thread Igor Opaniuk
From: Igor Opaniuk Use distro boot by default instead legacy wrappers. Signed-off-by: Igor Opaniuk --- configs/apalis-tk1_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/apalis-tk1_defconfig b/configs/apalis-tk1_defconfig index be0554b150..bb36bb3870

Re: [U-Boot] python3 support for pylibfdt

2019-08-28 Thread Simon Glass
Hi Tom, On Wed, 28 Aug 2019 at 07:47, Tom Rini wrote: > > On Wed, Aug 28, 2019 at 07:44:11AM -0600, Simon Glass wrote: > > Hi Peter, > > > > On Wed, 28 Aug 2019 at 05:46, Peter Robinson wrote: > > > > > > Hi Simon, > > > > > > > > > > > > With the EOL of python2 soon I've been looking at the

Re: [U-Boot] [PATCH V3 24/27] imx8m: soc: probe clock device in arch_cpu_init_dm

2019-08-28 Thread Schrempf Frieder
Hi Peng, On 27.08.19 08:25, Peng Fan wrote: > Because we need to get cpu freq in print_cpuinfo at very early stage, > so we need to make sure the ccm be probed. > > Signed-off-by: Peng Fan > --- > arch/arm/mach-imx/imx8m/soc.c | 17 + > 1 file changed, 17 insertions(+) > >

Re: [U-Boot] [PATCH v5 0/7] usb: Add cadence USB3 gadget/host/phy driver

2019-08-28 Thread Sherry Sun
Hi Vignesh, > > Hi Sherry, > > On 21/08/19 8:05 PM, Sherry Sun wrote: > > These patches introduce new Cadence driver to U-Boot. > > The first patch is to add the Cadence USB3 IP(CDNS3) core and driver > > for the usb gadget. > > The second patch introduce the xhci-imx8 usb host driver

Re: [U-Boot] [PATCH 1/3] arm: socfpga: Convert reset manager from struct to defines

2019-08-28 Thread Ley Foon Tan
On Wed, Aug 28, 2019 at 9:39 PM Marek Vasut wrote: > > On 8/28/19 3:28 PM, Ley Foon Tan wrote: > > [...] > > >>>Tested this on Agilex, look okay. But, pending test on other device > >>> families, like Gen5 or A10. Not sure any side effect with this change. > >>> 2. Secure (for PSCI) and

Re: [U-Boot] [PATCH 25/26] configs: mtmips: change all boards to use mtk high-speed uart driver

2019-08-28 Thread Stefan Roese
On 28.08.19 08:38, Weijie Gao wrote: This patch changes all defconfig files of mtmips to use mtk high-speed uart driver. This driver is compatible with ns16550a when baudrate <= 115200. Signed-off-by: Weijie Gao As already suggested by Daniel, please move this change into a Kconfig "select"

Re: [U-Boot] [PATCH 24/26] dts: mtmips: add default pinctrl to eth nodes for all boards

2019-08-28 Thread Stefan Roese
On 28.08.19 08:38, Weijie Gao wrote: This patch adds a referenceable name to eth node, and adds default pinctrl for all boards. There are two pinctrl nodes used for two scenarios: ephy_iot_mode- for IOT boards which have only one port (PHY0) ephy_router_mode - For routers which have more

Re: [U-Boot] [PATCH 23/26] dts: mtmips: add default pinctrl for gardena-smart-gateway-mt7688

2019-08-28 Thread Stefan Roese
On 28.08.19 08:38, Weijie Gao wrote: This adds default pinctrl (dual SPI chip select) for gardena smart gateway Signed-off-by: Weijie Gao Please see my comment about the pinctrl-single driver usage in Linux. And my patch to add support to the mt7628.dtsi file as well. We should stay in sync

Re: [U-Boot] [PATCH 20/26] mmc: mtk-sd: add support for MediaTek MT7620/MT7628 SoCs

2019-08-28 Thread Stefan Roese
On 28.08.19 08:38, Weijie Gao wrote: This patch adds mmc support for MediaTek MT7620/MT7628 SoCs. Signed-off-by: Weijie Gao --- drivers/mmc/Kconfig | 2 +- drivers/mmc/mtk-sd.c | 23 --- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git

Re: [U-Boot] [PATCH 19/26] dts: mtmips: enable eth port0 led function for all boards

2019-08-28 Thread Stefan Roese
On 28.08.19 08:38, Weijie Gao wrote: This patch adds default p0led status for all boards. Signed-off-by: Weijie Gao Reviewed-by: Stefan Roese Thanks, Stefan ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] python3 support for pylibfdt

2019-08-28 Thread Tom Rini
On Wed, Aug 28, 2019 at 07:44:11AM -0600, Simon Glass wrote: > Hi Peter, > > On Wed, 28 Aug 2019 at 05:46, Peter Robinson wrote: > > > > Hi Simon, > > > > > > > > > > With the EOL of python2 soon I've been looking at the Fedora > > > > > > > > U-Boot > > > > > > > > builds to see what it would

Re: [U-Boot] [PATCH 18/26] net: mt7628-eth: add support to isolate LAN/WAN ports

2019-08-28 Thread Stefan Roese
On 28.08.19 08:38, Weijie Gao wrote: This patch add support for mt7628-eth to isolate LAN/WAN ports mainly to Nitpicking: s/add/adds prevent LAN devices from getting IP address from WAN. Signed-off-by: Weijie Gao --- drivers/net/mt7628-eth.c | 32 1

Re: [U-Boot] python3 support for pylibfdt

2019-08-28 Thread Simon Glass
Hi Peter, On Wed, 28 Aug 2019 at 05:46, Peter Robinson wrote: > > Hi Simon, > > > > > > > > With the EOL of python2 soon I've been looking at the Fedora > > > > > > > U-Boot > > > > > > > builds to see what it would take to move over to python3. There's > > > > > > > a > > > > > > > couple of

Re: [U-Boot] [PATCH 17/26] net: mt7628-eth: free rx descriptor on receiving failure

2019-08-28 Thread Stefan Roese
On 28.08.19 08:38, Weijie Gao wrote: When received a packet with an invalid length recorded in rx descriptor, we should free this rx descriptor to allow us to continue to receive following packets. Without doing so, u-boot will stuck in a dead loop trying to process this invalid rx descriptor.

Re: [U-Boot] [PATCH 26/26] configs: mtmips: add necessary drivers for mtmips boards

2019-08-28 Thread Stefan Roese
On 28.08.19 15:35, Daniel Schwierzeck wrote: Am 28.08.19 um 08:38 schrieb Weijie Gao: This patch adds pinctrl driver, clock gate driver and reset controller support for defconfig files of mtmips boards. Signed-off-by: Weijie Gao --- configs/gardena-smart-gateway-mt7688_defconfig | 6

Re: [U-Boot] [PATCH 1/3] arm: socfpga: Convert reset manager from struct to defines

2019-08-28 Thread Marek Vasut
On 8/28/19 3:28 PM, Ley Foon Tan wrote: [...] >>>Tested this on Agilex, look okay. But, pending test on other device >>> families, like Gen5 or A10. Not sure any side effect with this change. >>> 2. Secure (for PSCI) and non-secure functions share same functions, >>> these functions can't

Re: [U-Boot] [PATCH 16/26] net: mt7628-eth: remove phy link up detection

2019-08-28 Thread Stefan Roese
On 28.08.19 08:38, Weijie Gao wrote: The mt7628 has an embedded ethernet switch (5 phy ports + 1 cpu port). Although in IOT mode only port0 is usable, the phy0 is still connected to the switch, not the ethernet gmac directly. This patch removes these codes as we should not check only the status

Re: [U-Boot] [PATCH 26/26] configs: mtmips: add necessary drivers for mtmips boards

2019-08-28 Thread Daniel Schwierzeck
Am 28.08.19 um 08:38 schrieb Weijie Gao: > This patch adds pinctrl driver, clock gate driver and reset controller > support for defconfig files of mtmips boards. > > Signed-off-by: Weijie Gao > --- > configs/gardena-smart-gateway-mt7688_defconfig | 6 ++ >

Re: [U-Boot] [PATCH v3 3/4] configs: AST2500 EVB: Enable SD controller

2019-08-28 Thread Peng Fan
Hi Eddie, > Subject: [PATCH v3 3/4] configs: AST2500 EVB: Enable SD controller > > Enable the MMC subsystem and the Aspeed SD controller. Also enable the use > of the device tree for probing the controller. Would you add a MAINTAINERS file for this board? Thanks, Peng. > > Signed-off-by:

Re: [U-Boot] [PATCH 15/26] net: mt7628-eth: remove hardcoded gpio settings and regmap-based phy reset

2019-08-28 Thread Stefan Roese
On 28.08.19 08:38, Weijie Gao wrote: This patch removes hardcoded gpio settings as they have been replaced by pinctrl in dts, and also replaces regmap-based phy reset with a more generic reset controller. Signed-off-by: Weijie Gao --- drivers/net/mt7628-eth.c | 45

Re: [U-Boot] [PATCH 1/3] arm: socfpga: Convert reset manager from struct to defines

2019-08-28 Thread Ley Foon Tan
On Wed, Aug 28, 2019 at 8:44 PM Marek Vasut wrote: > > On 8/28/19 10:13 AM, Ley Foon Tan wrote: > [...] > > >> If want to use address from DT, we need get address every time need to > >> use the address. > >> For non-DM, it is easier to use constant address. Let me know if you >

Re: [U-Boot] [PATCH 12/26] clk: add clock gating driver for MediaTek MIPS platform

2019-08-28 Thread Daniel Schwierzeck
Am 28.08.19 um 08:37 schrieb Weijie Gao: > This patch adds clock gating driver for MediaTek MIPS platform > > Signed-off-by: Weijie Gao > --- > drivers/clk/Kconfig | 8 > drivers/clk/Makefile | 1 + > drivers/clk/clk-mtmips-cg.c | 63

[U-Boot] [PULL u-boot] Please pull u-boot-amlogic-20190828

2019-08-28 Thread Neil Armstrong
://gitlab.denx.de/u-boot/custodians/u-boot-mpc85xx (2019-08-27 07:11:37 -0400) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic.git tags/u-boot-amlogic-20190828 for you to fetch changes up to d0e8c4ad513c0df492cc90bdc59f272687e90b32: clk: meson-g12b: add

Re: [U-Boot] [PATCH 11/26] dts: mtmips: update reset controller node for mt7628

2019-08-28 Thread Stefan Roese
On 28.08.19 08:37, Weijie Gao wrote: This patch updates reset controller node for mt7628 Signed-off-by: Weijie Gao --- arch/mips/dts/mt7628a.dtsi | 36 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/arch/mips/dts/mt7628a.dtsi

Re: [U-Boot] [PATCH v4 3/8] dm: cache: add v5l2 cache controller driver

2019-08-28 Thread Bin Meng
On Wed, Aug 28, 2019 at 6:52 PM Andes wrote: > > From: Rick Chen > > Add a v5l2 cache controller driver that is usually found on > Andes RISC-V ae350 platform. It will parse the cache settings > from the dtb. > > In this version tag and data ram control timing can be adjusted > by the

Re: [U-Boot] [PATCH V2 1/6] nand: brcm: add BCM6368 support

2019-08-28 Thread Daniel Schwierzeck
Am 28.08.19 um 13:44 schrieb Álvaro Fernández Rojas: > This adds support for BCM6368, BCM6328, BCM6362 and BCM63268 SoCs. > > Signed-off-by: Álvaro Fernández Rojas > --- > v2: no changes > > drivers/mtd/nand/raw/Kconfig | 6 + > drivers/mtd/nand/raw/brcmnand/Makefile

Re: [U-Boot] Wandboard boot failure when HAB support is enabled

2019-08-28 Thread Fabio Estevam
Hi Jon, [Adding Breno on Cc, who is familiar with HAB support]. On Tue, Aug 27, 2019 at 3:03 PM Jon Szymaniak wrote: > > Hello all, > > I'd like to get U-Boot >= 2019.07 booting on a Wandboard Quad with HAB > support enabled, but appear to be running into either some regressions > (or matters

Re: [U-Boot] [PATCH 1/3] arm: socfpga: Convert reset manager from struct to defines

2019-08-28 Thread Simon Goldschmidt
Marek Vasut schrieb am Mi., 28. Aug. 2019, 14:44: > On 8/28/19 10:13 AM, Ley Foon Tan wrote: > [...] > > >> If want to use address from DT, we need get address every time need > to > >> use the address. > >> For non-DM, it is easier to use constant address. Let me know if you >

[U-Boot] [PATCH 24/25] armv8: K3: am65x: Update DDR address regions in MMU table

2019-08-28 Thread Lokesh Vutla
From: Suman Anna The A53 U-Boot code can load and boot the MCU domain R5F cores (either a single core in LockStep mode or 2 cores in Split mode) to achieve various early system functionalities. Change the memory attributes for the DDR regions used by the remote processors so that the cores can

[U-Boot] [PATCH 18/25] env: ti: j721e-evm: Add support to boot rprocs including R5Fs and DSPs

2019-08-28 Thread Lokesh Vutla
From: Suman Anna Add support to boot some remoteprocs at U-boot prompt on the J721E EVM boards by using the 'boot_rprocs' and other env variables defined in the common environment file k3_rproc.h, and updating the 'DEFAULT_RPROCS' macro. The list of R5F cores to be started before loading and

[U-Boot] [PATCH 19/25] env: ti: am65x_evm: Add env support to boot the MCU R5F rprocs

2019-08-28 Thread Lokesh Vutla
From: Suman Anna Add support to boot the MCU domain R5F Core0 remoteproc at U-boot prompt on the AM65x EVM boards by using the 'boot_rprocs' and other env variables defined in the common environment file k3_rproc.h, and updating the 'DEFAULT_RPROCS' macro. The default configuration is to use

[U-Boot] [PATCH 25/25] armv8: K3: j721e: Updated ddr address regions in MMU table

2019-08-28 Thread Lokesh Vutla
From: Kedar Chitnis The A72 U-Boot code loads and boots a number of remote processors including the C71x DSP, both the C66_0 and C66_1 DSPs, and the various Main R5FSS Cores. In order to view the code loaded by the U-Boot by remote cores, U-Boot should configure the memory region with right

[U-Boot] [PATCH 22/25] configs: am65x_evm_a53: Enable R5F remoteproc driver

2019-08-28 Thread Lokesh Vutla
From: Suman Anna Enable the R5F remoteproc driver for the AM65x GP EVM so that the MCU domain R5F cores can be booted from A53 U-boot. Signed-off-by: Suman Anna Signed-off-by: Lokesh Vutla --- configs/am65x_evm_a53_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git

[U-Boot] [PATCH 10/25] dt-bindings: remoteproc: Add bindings for DSP C66x clusters on TI K3 SoCs

2019-08-28 Thread Lokesh Vutla
From: Suman Anna Some Texas Instruments K3 family of SoCs have one of more Digital Signal Processor (DSP) subsystems that are comprised of either a TMS320C66x CorePac and/or a next-generation TMS320C71x CorePac processor subsystem. Add the device tree bindings document for the C66x DSP devices

[U-Boot] [PATCH 15/25] arm: dts: k3-j721e-main: Add C71x DSP node

2019-08-28 Thread Lokesh Vutla
The J721E SoCs have a single TMS320C71x DSP Subsystem in the MAIN voltage domain containing the next-generation C711 CPU core. The subsystem has 32 KB of L1D configurable SRAM/Cache and 512 KB of L2 configurable SRAM/Cache. This subsystem has a CMMU but is not used currently. The inter-processor

[U-Boot] [PATCH 11/25] remoteproc: Introduce K3 C66 and C71 remoteproc driver

2019-08-28 Thread Lokesh Vutla
Certain SoCs with K3 architecture have integrated a C66 Corepac DSP subsystem and an advanced C71 DSPs. Introduce a remoteproc driver that that does take care of loading an elf to any of the specified DSPs and start it. Signed-off-by: Lokesh Vutla Signed-off-by: Suman Anna ---

[U-Boot] [PATCH 21/25] configs: j721e_evm_a72: Enhance bootcmd to start remoteprocs

2019-08-28 Thread Lokesh Vutla
From: Suman Anna The A72 U-boot can support early booting of any of the R5F or C66x or C71x remote processors from U-boot prompt to achieve various system usecases before booting the Linux kernel. Update the default BOOTCOMMAND to provide an automatic and easier way to start various remote

[U-Boot] [PATCH 23/25] configs: am65x_evm_a53: Enhance bootcmd to start remoteprocs

2019-08-28 Thread Lokesh Vutla
From: Suman Anna The A53 U-boot can support early booting of the MCU R5F remote processor(s) from U-boot prompt to achieve various system usecases before booting the Linux kernel. Update the default BOOTCOMMAND to provide an automatic and easier way to start the MCU R5F cores through added

[U-Boot] [PATCH 09/25] remoteproc: Introduce K3 remoteproc driver for R5F subsystem

2019-08-28 Thread Lokesh Vutla
SoCs with K3 architecture have an integrated Arm Cortex-R5F subsystem that is comprised of dual-core Arm Cortex-R5F processor cores. This R5 subsytem can be configured at boot time to be either run in a LockStep mode or in an Asymmetric Multi Processing (AMP) fashion in Split-mode. This subsystem

[U-Boot] [PATCH 06/25] remoteproc: elf_loader: Introduce rproc_elf_get_boot_addr() api

2019-08-28 Thread Lokesh Vutla
Introduce rproc_elf_get_boot_addr() that returns the entry point of the elf file. This api auto detects the 64/32 bit elf file and returns the boot addr accordingly. Signed-off-by: Lokesh Vutla --- drivers/remoteproc/rproc-elf-loader.c | 24 include/remoteproc.h

[U-Boot] [PATCH 16/25] arm: dts: k3-am65-mcu: Add MCU domain R5F DT nodes

2019-08-28 Thread Lokesh Vutla
From: Suman Anna The AM65x SoCs has a single dual-core Arm Cortex-R5F processor subsystem/cluster (MCU_R5FSS0) within the MCU domain. This cluster can be configured at boot time to be either run in a LockStep mode or in an Asymmetric Multi Processing (AMP) fashion in Split-mode. This subsystem

[U-Boot] [PATCH 20/25] configs: j721e_evm_a72: Enable R5F and DSP remoteproc driver

2019-08-28 Thread Lokesh Vutla
Enable R5F and DSP remoteproc drivers for j721e running on a72. Signed-off-by: Lokesh Vutla --- configs/j721e_evm_a72_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/j721e_evm_a72_defconfig b/configs/j721e_evm_a72_defconfig index 6e355f5247..6e0c3f05fb 100644 ---

[U-Boot] [PATCH 13/25] arm: dts: k3-j721e-main: Add MAIN domain R5F cluster nodes

2019-08-28 Thread Lokesh Vutla
The J721E SoCs have 3 dual-core Arm Cortex-R5F processor (R5FSS) subsystems/clusters. One R5F cluster (MCU_R5FSS0) is present within the MCU domain, and the remaining two clusters are present in the MAIN domain (MAIN_R5FSS0 & MAIN_R5FSS1). Each of these can be configured at boot time to be either

[U-Boot] [PATCH 12/25] arm: dts: k3-j721e-mcu: Add MCU domain R5F cluster node

2019-08-28 Thread Lokesh Vutla
The J721E SoCs have 3 dual-core Arm Cortex-R5F processor (R5FSS) subsystems/clusters. One R5F cluster (MCU_R5FSS0) is present within the MCU domain, and the remaining two clusters are present in the MAIN domain (MAIN_R5FSS0 & MAIN_R5FSS1). Each of these can be configured at boot time to be either

[U-Boot] [PATCH 08/25] dt-bindings: remoteproc: Add bindings for R5F subsystem on TI K3 SoCs

2019-08-28 Thread Lokesh Vutla
From: Suman Anna The Texas Instruments K3 family of SoCs have one of more dual-core Arm Cortex R5F processor subsystems/clusters (R5FSS). Add the device tree bindings document for these R5F subsystem devices. These R5F processors do not have an MMU, and so require fixed memory carveout regions

[U-Boot] [PATCH 07/25] remoteproc: tisci_proc: Add helper api for controlling core power domain

2019-08-28 Thread Lokesh Vutla
Power domain for the remote cores needs to be handled in a right sequence as mandated by the spec. Introduce tisci helper apis that can control power-domains of remote cores. TISCI clients can use this api and control the remote cores power domain instead of hooking it to power-domain layer.

[U-Boot] [PATCH 14/25] arm: dts: k3-j721e-main: Add C66x DSP nodes

2019-08-28 Thread Lokesh Vutla
The J721E SoCs have two TMS320C66x DSP Core Subsystems (C66x CorePacs) in the MAIN voltage domain, each with a C66x Fixed/Floating-Point DSP Core, and 32 KB of L1P & L1D configurable SRAMs/Cache and an additional 288 KB of L2 configurable SRAM/Cache. These subsystems do not have an MMU but contain

[U-Boot] [PATCH 03/25] remoteproc: elf_loader: Always check the validity of the image before loading

2019-08-28 Thread Lokesh Vutla
rproc_elf32_load_image() rely on user to send a valid address for elf loading. Instead do a sanity check on the address passed by user. This will help all rproc elf users to not call sanity_check explicitly before calling elf_loading. Now that rproc_elf32_sanity_check() is used only in

[U-Boot] [PATCH 17/25] env: ti: k3_rproc: Add common rproc environment variables

2019-08-28 Thread Lokesh Vutla
From: Suman Anna Add a new file include/environment/ti/k3_rproc.h that defines common environment variables useful for booting various remote processors from U-Boot. This file is expected to be included in the board config files with the EXTRA_ENV_RPROC_SETTINGS added to

[U-Boot] [PATCH 04/25] remoteproc: elf-loader: Add 64 bit elf loading support

2019-08-28 Thread Lokesh Vutla
The current rproc-elf-loader supports loading of only 32 bit elf files. Introduce support for loading of 64 bit elf files in rproc-elf-loader. Signed-off-by: Lokesh Vutla --- drivers/remoteproc/rproc-elf-loader.c | 109 ++ include/remoteproc.h | 12 +++

[U-Boot] [PATCH 05/25] remoteproc: elf_loader: Introduce a common elf loader function

2019-08-28 Thread Lokesh Vutla
Introduce a common remoteproc elf loader function that automatically detects the 64 bit elf file or 32 bit elf file and loads the sections accordingly. Signed-off-by: Lokesh Vutla --- drivers/remoteproc/rproc-elf-loader.c | 15 +++ include/remoteproc.h | 14

[U-Boot] [PATCH 01/25] dm: core: Add a function to count the children of a device

2019-08-28 Thread Lokesh Vutla
Add a function to count the available children of a device. Update the corresponding dm tests. Signed-off-by: Lokesh Vutla --- drivers/core/device.c | 11 +++ include/dm/device.h | 9 + test/dm/bus.c | 41 +++-- 3 files changed, 35

[U-Boot] [PATCH 00/25] remoteproc: Add support for R5F and DSP processors

2019-08-28 Thread Lokesh Vutla
This series addds support loading and starting for the following remote processors: - ARM Cortex-R5F in lockstep and split mode - C66x DSP - C7x DSP Enable these remoteprocessor in AM654-evm and J721E evm. Kedar Chitnis (1): armv8: K3: j721e: Updated ddr address regions in MMU table Lokesh

[U-Boot] [PATCH 02/25] remoteproc: ops: Add elf section size as input parameter to device_to_virt api

2019-08-28 Thread Lokesh Vutla
Introduce a new parameter size that accepts elf section size to remoteproc ops callback device_to_virt(). This can enforce more checks on the elf section that is being loaded. Signed-off-by: Lokesh Vutla --- drivers/remoteproc/rproc-elf-loader.c | 3 ++- drivers/remoteproc/sandbox_testproc.c |

[U-Boot] [PATCH v2] imx: support i.MX8QM ROM 7720 a1 board

2019-08-28 Thread Oliver Graute
Add i.MX8QM ROM 7720a1 board support Boot log as below: U-Boot 2019.07-1-g6c912ea4d4 (Aug 28 2019 - 13:01:45 +0200) CPU: NXP i.MX8QM RevB A53 at 1200 MHz Model: Advantech iMX8QM Qseven series Board: ROM-7720-A1 4GB Build: SCFW 65afe5f6 Boot: SD2 DRAM: 3.9 GiB MMC: FSL_SDHC: 0,

Re: [U-Boot] Error reading cluster" from fs/fat/fat.c

2019-08-28 Thread Oliver Graute
On 26/08/19, Oliver Graute wrote: > On 22/08/19, Oliver Graute wrote: > > Hello list, > > > > I have a annoying problem with u-boot 2019.07. I try to boot a Linux > > Image from a fat16 partition on a SD-Card. But I got the "Error reading > > cluster" Message from fs/fat/fat.c > > > > => boot >

  1   2   >