[U-Boot] [PATCH] ARM: Fix nand boot of imx6q and imx6qdl boards

2019-03-05 Thread Michael Trimarchi
The nand boot require a little more memory that we had previosly allocated so it stopped booting. This patch increase CONFIG_SPL_SYS_MALLOC_F_LEN to 0x2000. Signed-off-by: Michael Trimarchi --- configs/imx6dl_icore_nand_defconfig | 1 + configs/imx6q_icore_nand_defconfig | 1 + 2 files

Re: [U-Boot] [PATCH v4 0/9] arm: exynos: Fix reboot on Odroid HC1

2019-03-05 Thread Krzysztof Kozlowski
On Wed, 6 Mar 2019 at 08:03, Minkyu Kang wrote: > > Dear Krzysztof Kozlowski, > > On 06/03/2019 04:57, Krzysztof Kozlowski wrote: > > Hi, > > > > Changes since v3 > > > > 1. Add accumulated review and test tags. > > 2. Patch 6: Add "ramp" keyword to new function (as discussed

Re: [U-Boot] [PATCH v4 0/9] arm: exynos: Fix reboot on Odroid HC1

2019-03-05 Thread Minkyu Kang
Dear Krzysztof Kozlowski, On 06/03/2019 04:57, Krzysztof Kozlowski wrote: > Hi, > > Changes since v3 > > 1. Add accumulated review and test tags. > 2. Patch 6: Add "ramp" keyword to new function (as discussed with >Torsten Duwe). > 3. Rebased on v2019.04-rc3. > > > Changes

[U-Boot] [PATCH] armv7: ls102xa: Add workaround for DDR erratum A-008850

2019-03-05 Thread Alison Wang
Barrier transactions from CCI400 need to be disabled till the DDR is configured, otherwise it may lead to system hang. The patch adds workaround to fix the erratum. Signed-off-by: Shengzhou Liu Signed-off-by: Alison Wang --- arch/arm/cpu/armv7/ls102xa/Kconfig| 6 +++

[U-Boot] [PATCH v2] cmd: thordown: Fix spelling of download.

2019-03-05 Thread Vagrant Cascadian
Signed-off-by: Vagrant Cascadian Reviewed-by: Bin Meng Reviewed-by: Lukasz Majewski --- Changes in v2: - Add "cmd: thordown:" to define scope of the spelling fix. - Add Reviewed-by entries. cmd/thordown.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/thordown.c

Re: [U-Boot] [PATCH] configs: ls1046: Update mtd-id for QSPI nor in mtdparts variable

2019-03-05 Thread Jagdish Gediya
Hi Kuldeep, > -Original Message- > From: Kuldeep Singh > Sent: Tuesday, March 5, 2019 11:39 AM > To: u-boot@lists.denx.de > Cc: Rajesh Bhagat ; Prabhakar Kushwaha > ; Ashish Kumar > ; Jagdish Gediya ; > Mingkai Hu ; Ruchika Gupta > ; Kuldeep Singh > Subject: [PATCH] configs: ls1046:

Re: [U-Boot] [RFC 1/8] efi_loader: boottime: don't add device path protocol to image handle

2019-03-05 Thread Heinrich Schuchardt
On 3/6/19 6:04 AM, Heinrich Schuchardt wrote: > On 3/6/19 1:27 AM, AKASHI Takahiro wrote: >> On Tue, Mar 05, 2019 at 08:48:37PM +0100, Heinrich Schuchardt wrote: >>> On 3/5/19 6:53 AM, AKASHI Takahiro wrote: It is just wrong to add devcie path protocol to image handle.

Re: [U-Boot] [RFC 1/8] efi_loader: boottime: don't add device path protocol to image handle

2019-03-05 Thread Heinrich Schuchardt
On 3/6/19 1:27 AM, AKASHI Takahiro wrote: > On Tue, Mar 05, 2019 at 08:48:37PM +0100, Heinrich Schuchardt wrote: >> On 3/5/19 6:53 AM, AKASHI Takahiro wrote: >>> It is just wrong to add devcie path protocol to image handle. >>> >>> Signed-off-by: AKASHI Takahiro >>> --- >>>

Re: [U-Boot] [PATCH v11 8/9] ARM: socfpga: Synchronize the configuration for A10 SoCDK

2019-03-05 Thread Dinh Nguyen
On 3/5/19 10:23 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Update the default configuration file to enable the necessary functionality > the get the kit working. > > Signed-off-by: Tien Fong Chee > > --- > > changes for v8 > - Moved the FIT related configs to the patch

Re: [U-Boot] [PATCH v11 9/9] ARM: socfpga: Increase Malloc pool size to support FAT filesystem in SPL

2019-03-05 Thread Dinh Nguyen
On 3/5/19 10:23 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > After some series of patches to maximise reusable of memory pool, here come > to result of reasonable size required for whole SDMMC boot working on A10 > SoCDK. Size required come from default max cluster(0x1) +

Re: [U-Boot] [PATCH 1/1] efi_loader: release file buffer after loading image

2019-03-05 Thread Heinrich Schuchardt
On 3/6/19 1:41 AM, AKASHI Takahiro wrote: > On Tue, Mar 05, 2019 at 08:56:12PM +0100, Heinrich Schuchardt wrote: >> efi_load_pe() copies and rebases the UEFI image. >> We do not need the buffer with the file contents afterwards. >> >> Signed-off-by: Heinrich Schuchardt >> --- >>

Re: [U-Boot] [PATCH v11 4/9] ARM: socfpga: Move the watchdog reset to the looping location

2019-03-05 Thread Dinh Nguyen
It looks like this patch was not in the previous 9 versions of this series? Please try to not add new functionality to a series that is already gone through so many reviews. It make reviewing the series really confusing! On 3/5/19 10:23 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee

Re: [U-Boot] [PATCH v11 3/9] ARM: socfpga: Cleaning up the messages

2019-03-05 Thread Dinh Nguyen
On 3/5/19 10:23 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Ensure the comment and debug messages are always consistent with the rest. The rest of what? This patch seems unnecessary to me. Dinh > > Signed-off-by: Tien Fong Chee > --- > drivers/fpga/socfpga_arria10.c |

Re: [U-Boot] [PATCH v2 1/1] efi_loader: bootmgr: support BootNext and BootCurrent variable behavior

2019-03-05 Thread Heinrich Schuchardt
On 3/6/19 1:17 AM, AKASHI Takahiro wrote: > On Tue, Mar 05, 2019 at 08:38:40PM +0100, Heinrich Schuchardt wrote: >> On 3/5/19 2:58 AM, AKASHI Takahiro wrote: >>> See UEFI v2.7, section 3.1.2 for details of the specification. >>> >>> With efidebug command, you can run any EFI boot option as

Re: [U-Boot] [PATCH v11 6/9] ARM: socfpga: Add the configuration for FPGA SoCFPGA A10 SoCDK

2019-03-05 Thread Dinh Nguyen
On 3/5/19 10:23 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Update the default configuration file to enable the necessary functionality > to get the SoCFPGA loadfs driver support. This would enable the > implementation of programming bitstream into FPGA from MMC. > >

Re: [U-Boot] [PATCH v2 0/9] SMP support for RISC-V

2019-03-05 Thread Anup Patel
> -Original Message- > From: Lukas Auer > Sent: Wednesday, March 6, 2019 4:23 AM > To: u-boot@lists.denx.de > Cc: Atish Patra ; Anup Patel > ; Bin Meng ; Andreas > Schwab ; Palmer Dabbelt ; > Alexander Graf ; Lukas Auer > ; Anup Patel ; > Anup Patel ; Rick Chen ; > Baruch Siach ; Atish

Re: [U-Boot] [PATCH v2 7/9] riscv: do not rely on hart ID passed by previous boot stage

2019-03-05 Thread Anup Patel
> -Original Message- > From: Lukas Auer > Sent: Wednesday, March 6, 2019 4:23 AM > To: u-boot@lists.denx.de > Cc: Atish Patra ; Anup Patel > ; Bin Meng ; Andreas > Schwab ; Palmer Dabbelt ; > Alexander Graf ; Lukas Auer > ; Rick Chen ; Anup > Patel > Subject: [PATCH v2 7/9] riscv: do

Re: [U-Boot] [PATCH v2 5/9] riscv: add support for multi-hart systems

2019-03-05 Thread Anup Patel
> -Original Message- > From: Lukas Auer > Sent: Wednesday, March 6, 2019 4:23 AM > To: u-boot@lists.denx.de > Cc: Atish Patra ; Anup Patel > ; Bin Meng ; Andreas > Schwab ; Palmer Dabbelt ; > Alexander Graf ; Lukas Auer > ; Anup Patel ; Rick > Chen ; Baruch Siach ; Stefan > Roese ;

Re: [U-Boot] [PATCH v2 1/9] riscv: add infrastructure for calling functions on other harts

2019-03-05 Thread Anup Patel
> -Original Message- > From: Lukas Auer > Sent: Wednesday, March 6, 2019 4:23 AM > To: u-boot@lists.denx.de > Cc: Atish Patra ; Anup Patel > ; Bin Meng ; Andreas > Schwab ; Palmer Dabbelt ; > Alexander Graf ; Lukas Auer > ; Anup Patel ; Rick > Chen > Subject: [PATCH v2 1/9] riscv: add

Re: [U-Boot] [PATCH v11 9/9] ARM: socfpga: Increase Malloc pool size to support FAT filesystem in SPL

2019-03-05 Thread Chee, Tien Fong
On Tue, 2019-03-05 at 21:05 +0100, Simon Goldschmidt wrote: > Am 05.03.2019 um 17:23 schrieb tien.fong.c...@intel.com: > > > > From: Tien Fong Chee > > > > After some series of patches to maximise reusable of memory pool, > > here come > > to result of reasonable size required for whole SDMMC

Re: [U-Boot] [PATCH v2 2/3] net: add higmacv300 Ethernet driver for HiSilicon platform

2019-03-05 Thread Shawn Guo
On Tue, Mar 05, 2019 at 11:58:26PM +, Joe Hershberger wrote: > > +static int higmac_recv(struct udevice *dev, int flags, uchar **packetp) > > +{ > > + struct higmac_priv *priv = dev_get_priv(dev); > > + struct higmac_desc *fqd = priv->rxfq; > > + struct higmac_desc *bqd =

Re: [U-Boot] [PATCH 1/1] efi_loader: release file buffer after loading image

2019-03-05 Thread AKASHI Takahiro
On Tue, Mar 05, 2019 at 08:56:12PM +0100, Heinrich Schuchardt wrote: > efi_load_pe() copies and rebases the UEFI image. > We do not need the buffer with the file contents afterwards. > > Signed-off-by: Heinrich Schuchardt > --- > lib/efi_loader/efi_boottime.c | 50

Re: [U-Boot] [RFC 1/8] efi_loader: boottime: don't add device path protocol to image handle

2019-03-05 Thread AKASHI Takahiro
On Tue, Mar 05, 2019 at 08:48:37PM +0100, Heinrich Schuchardt wrote: > On 3/5/19 6:53 AM, AKASHI Takahiro wrote: > > It is just wrong to add devcie path protocol to image handle. > > > > Signed-off-by: AKASHI Takahiro > > --- > > lib/efi_loader/efi_boottime.c | 11 +-- > > 1 file

Re: [U-Boot] [PATCH v2 1/1] efi_loader: bootmgr: support BootNext and BootCurrent variable behavior

2019-03-05 Thread AKASHI Takahiro
On Tue, Mar 05, 2019 at 08:38:40PM +0100, Heinrich Schuchardt wrote: > On 3/5/19 2:58 AM, AKASHI Takahiro wrote: > > See UEFI v2.7, section 3.1.2 for details of the specification. > > > > With efidebug command, you can run any EFI boot option as follows: > > => efi boot add 1 SHELL ... > > =>

Re: [U-Boot] [PATCH v2 2/3] net: add higmacv300 Ethernet driver for HiSilicon platform

2019-03-05 Thread Joe Hershberger
On Sun, Feb 17, 2019 at 9:39 PM Shawn Guo wrote: > > It adds the driver for HIGMACV300 Ethernet controller found on HiSilicon > SoCs like Hi3798CV200. It's based on a downstream U-Boot driver, but > quite a lot of code gets rewritten and cleaned up to adopt driver model > and PHY API. > >

Re: [U-Boot] [U-Boot, v10, 04/10] fdt: parse "reserved-memory" for memory reservation

2019-03-05 Thread Marek Vasut
On 3/6/19 12:26 AM, Eugeniu Rosca wrote: > Simon, Marek, All, Hi, > Booting Linux on H3-ES2.0-Salvator-X, this patch contributes with > below runtime errors: > > ERROR: reserving fdt memory region failed (addr=5400 size=300) > ERROR: reserving fdt memory region failed (addr=5700

Re: [U-Boot] [U-Boot, v10, 04/10] fdt: parse "reserved-memory" for memory reservation

2019-03-05 Thread Eugeniu Rosca
Simon, Marek, All, Booting Linux on H3-ES2.0-Salvator-X, this patch contributes with below runtime errors: ERROR: reserving fdt memory region failed (addr=5400 size=300) ERROR: reserving fdt memory region failed (addr=5700 size=100) ERROR: reserving fdt memory region failed

Re: [U-Boot] [PATCH] ARM: rmobile: Convert to bootm_size

2019-03-05 Thread Marek Vasut
On 3/5/19 11:28 PM, Eugeniu Rosca wrote: > On Tue, Mar 05, 2019 at 07:56:39PM +0100, Marek Vasut wrote: >> On 3/5/19 7:42 PM, Eugeniu Rosca wrote: >>> Hello Marek, >> >> Hi, >> >>> May I ask for your opinion on Renesas commits [1-2] especially in >>> light of the `bootm_size` changes done in your

[U-Boot] [PATCH v2 6/9] riscv: boot images passed to bootm on all harts

2019-03-05 Thread Lukas Auer
Signed-off-by: Lukas Auer Reviewed-by: Anup Patel Reviewed-by: Bin Meng --- Changes in v2: None arch/riscv/lib/bootm.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/arch/riscv/lib/bootm.c b/arch/riscv/lib/bootm.c index f36b8702ef..efbd3e23e7 100644 ---

[U-Boot] [PATCH v2 8/9] riscv: fu540: enable SMP

2019-03-05 Thread Lukas Auer
Signed-off-by: Lukas Auer Reviewed-by: Anup Patel --- Changes in v2: - New patch to enable SMP on the SiFive FU540, which was previously sent independently board/sifive/fu540/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/board/sifive/fu540/Kconfig b/board/sifive/fu540/Kconfig

[U-Boot] [PATCH v2 7/9] riscv: do not rely on hart ID passed by previous boot stage

2019-03-05 Thread Lukas Auer
RISC-V U-Boot expects the hart ID to be passed to it via register a0 by the previous boot stage. Machine mode firmware such as BBL and OpenSBI do this when starting their payload (U-Boot) in supervisor mode. If U-Boot is running in machine mode, this task must be handled by the boot ROM.

[U-Boot] [PATCH v2 3/9] riscv: implement IPI platform functions using SBI

2019-03-05 Thread Lukas Auer
The supervisor binary interface (SBI) provides the necessary functions to implement the platform IPI functions riscv_send_ipi() and riscv_clear_ipi(). Use it to implement them. This adds support for inter-processor interrupts (IPIs) on RISC-V CPUs running in supervisor mode. Support for machine

[U-Boot] [PATCH v2 9/9] riscv: qemu: enable SMP

2019-03-05 Thread Lukas Auer
Signed-off-by: Lukas Auer Reviewed-by: Anup Patel Reviewed-by: Bin Meng --- Changes in v2: None board/emulation/qemu-riscv/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/board/emulation/qemu-riscv/Kconfig b/board/emulation/qemu-riscv/Kconfig index 88d07d568e..cf057e7de6 100644

[U-Boot] [PATCH v2 5/9] riscv: add support for multi-hart systems

2019-03-05 Thread Lukas Auer
On RISC-V, all harts boot independently. To be able to run on a multi-hart system, U-Boot must be extended with the functionality to manage all harts in the system. All harts entering U-Boot are registered in the available_harts mask stored in global data. A hart lottery system as used in the

[U-Boot] [PATCH v2 2/9] riscv: import the supervisor binary interface header file

2019-03-05 Thread Lukas Auer
Import the supervisor binary interface (SBI) header file from Linux (arch/riscv/include/asm/sbi.h). The last change to it was in commit 6d60b6ee0c97 ("RISC-V: Device, timer, IRQs, and the SBI"). Signed-off-by: Lukas Auer Reviewed-by: Anup Patel Reviewed-by: Bin Meng --- Changes in v2: None

[U-Boot] [PATCH v2 4/9] riscv: delay initialization of caches and debug UART

2019-03-05 Thread Lukas Auer
Move the initialization of the caches and the debug UART until after board_init_f_init_reserve. This is in preparation for SMP support, where code prior to this point will be executed by all harts. This ensures that initialization will only be performed once for the main hart running U-Boot.

[U-Boot] [PATCH v2 1/9] riscv: add infrastructure for calling functions on other harts

2019-03-05 Thread Lukas Auer
Harts on RISC-V boot independently, U-Boot is responsible for managing them. Functions are called on other harts with smp_call_function(), which sends inter-processor interrupts (IPIs) to all other available harts. Available harts are those marked as available in the device tree and present in the

[U-Boot] [PATCH v2 0/9] SMP support for RISC-V

2019-03-05 Thread Lukas Auer
This patch series adds SMP support for RISC-V to U-Boot. It allows U-Boot to run on multi-hart systems (hart is the RISC-V terminology for hardware thread). Images passed to bootm will be started on all harts. The bootm command is currently the only one that will boot images on all harts, bootefi

[U-Boot] [PATCH v2, RESEND] fdt: Fix FIT header verification in mkimage and conduct same checks as bootm

2019-03-05 Thread Jordan Hand
Signed-off-by: Jordan Hand --- FIT header verification in mkimage was treating a return code as a boolean, which meant that failures in validating the fit were seen as successes. Additionally, mkimage was checking all formats to find a header which passes validation, rather than using the image

Re: [U-Boot] [PATCH] ARM: rmobile: Convert to bootm_size

2019-03-05 Thread Eugeniu Rosca
On Tue, Mar 05, 2019 at 07:56:39PM +0100, Marek Vasut wrote: > On 3/5/19 7:42 PM, Eugeniu Rosca wrote: > > Hello Marek, > > Hi, > > > May I ask for your opinion on Renesas commits [1-2] especially in > > light of the `bootm_size` changes done in your patch? > > The topics look orthogonal to me,

Re: [U-Boot] [PATCH] ARM: rmobile: ebisu: Remove CONFIG_NET_MULTI

2019-03-05 Thread Marek Vasut
On 3/5/19 11:16 PM, Eugeniu Rosca wrote: > CONFIG_NET_MULTI seems to make a comeback each time it is wiped out in: > - v2011.12 commit 31a4f1e5b6ee ("board configs: drop NET_MULTI references") > - v2017.11 commit 795428fc679f ("net: remove CONFIG_NET_MULTI") > - v2018.05 commit ec5c4a8fd64a

Re: [U-Boot] [PATCH] ARM: rmobile: rcar-gen3: Activate bootm_size

2019-03-05 Thread Marek Vasut
On 3/5/19 11:13 PM, Eugeniu Rosca wrote: > v2019.01 commit 07a8060a1277 ("ARM: rmobile: Convert to bootm_size") > attempted converting to bootm_size of 256 MiB below targets: > - include/configs/alt.h > - include/configs/gose.h > - include/configs/koelsch.h > - include/configs/lager.h > -

[U-Boot] [PATCH] ARM: rmobile: ebisu: Remove CONFIG_NET_MULTI

2019-03-05 Thread Eugeniu Rosca
CONFIG_NET_MULTI seems to make a comeback each time it is wiped out in: - v2011.12 commit 31a4f1e5b6ee ("board configs: drop NET_MULTI references") - v2017.11 commit 795428fc679f ("net: remove CONFIG_NET_MULTI") - v2018.05 commit ec5c4a8fd64a ("configs: Drop CONFIG_NET_MULTI") Remove the

[U-Boot] [PATCH] ARM: rmobile: rcar-gen3: Activate bootm_size

2019-03-05 Thread Eugeniu Rosca
v2019.01 commit 07a8060a1277 ("ARM: rmobile: Convert to bootm_size") attempted converting to bootm_size of 256 MiB below targets: - include/configs/alt.h - include/configs/gose.h - include/configs/koelsch.h - include/configs/lager.h - include/configs/porter.h -

Re: [U-Boot] [RFC PATCHv1 3/3] ARM: socfpga: let the pl310 driver configure the cache settings

2019-03-05 Thread Marek Vasut
On 3/5/19 9:13 PM, Dinh Nguyen wrote: > > > On 3/5/19 1:20 PM, Marek Vasut wrote: >> On 3/5/19 8:03 PM, Dinh Nguyen wrote: >>> Load the PL310 L2 cache driver and allow it to setup the cache settings >>> >>> Signed-off-by: Dinh Nguyen >>> --- >>> arch/arm/mach-socfpga/misc.c | 15

Re: [U-Boot] [RFC PATCHv1 2/3] defconfig: socfpga_sockit_defconfig: enable L2X0_CACHE driver

2019-03-05 Thread Marek Vasut
On 3/5/19 9:17 PM, Dinh Nguyen wrote: > > > On 3/5/19 1:20 PM, Marek Vasut wrote: >> On 3/5/19 8:03 PM, Dinh Nguyen wrote: >>> Enable CONFIG_MISC and CONFIG_L2X0_CACHE config options. >>> >>> Signed-off-by: Dinh Nguyen >>> --- >>> configs/socfpga_sockit_defconfig | 2 ++ >>> 1 file changed, 2

Re: [U-Boot] [PATCH v2 4/5] arm: socfpga: imply/default common config options

2019-03-05 Thread Marek Vasut
On 3/5/19 9:28 PM, Simon Goldschmidt wrote: > Am 04.03.2019 um 22:34 schrieb Marek Vasut: >> On 3/4/19 10:23 PM, Simon Goldschmidt wrote: >>> >>> >>> Marek Vasut mailto:ma...@denx.de>> schrieb am Mo., 4. >>> März 2019, 22:19: >>> >>> On 3/4/19 9:53 PM, Simon Goldschmidt wrote: >>> > This

Re: [U-Boot] [RFC PATCHv1 1/3] misc: pl310: add a misc driver for the pl310 cache controller

2019-03-05 Thread Marek Vasut
On 3/5/19 9:07 PM, Dinh Nguyen wrote: > > > On 3/5/19 1:19 PM, Marek Vasut wrote: >> On 3/5/19 8:03 PM, Dinh Nguyen wrote: >>> The driver will read the cache properties from the device tree file and >>> set it up. >>> > >>> >>> +config L2X0_CACHE >>> + bool "L2x0 Cache support" >>> +

Re: [U-Boot] [PATCH v2 4/5] arm: socfpga: imply/default common config options

2019-03-05 Thread Simon Goldschmidt
Am 04.03.2019 um 22:34 schrieb Marek Vasut: On 3/4/19 10:23 PM, Simon Goldschmidt wrote: Marek Vasut mailto:ma...@denx.de>> schrieb am Mo., 4. März 2019, 22:19: On 3/4/19 9:53 PM, Simon Goldschmidt wrote: > This commit moves common config options used in all socfpga boards >

Re: [U-Boot] [RFC PATCHv1 2/3] defconfig: socfpga_sockit_defconfig: enable L2X0_CACHE driver

2019-03-05 Thread Dinh Nguyen
On 3/5/19 1:20 PM, Marek Vasut wrote: > On 3/5/19 8:03 PM, Dinh Nguyen wrote: >> Enable CONFIG_MISC and CONFIG_L2X0_CACHE config options. >> >> Signed-off-by: Dinh Nguyen >> --- >> configs/socfpga_sockit_defconfig | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git

Re: [U-Boot] [RFC PATCHv1 3/3] ARM: socfpga: let the pl310 driver configure the cache settings

2019-03-05 Thread Dinh Nguyen
On 3/5/19 1:20 PM, Marek Vasut wrote: > On 3/5/19 8:03 PM, Dinh Nguyen wrote: >> Load the PL310 L2 cache driver and allow it to setup the cache settings >> >> Signed-off-by: Dinh Nguyen >> --- >> arch/arm/mach-socfpga/misc.c | 15 ++- >> 1 file changed, 2 insertions(+), 13

Re: [U-Boot] [RFC PATCHv1 1/3] misc: pl310: add a misc driver for the pl310 cache controller

2019-03-05 Thread Dinh Nguyen
On 3/5/19 1:19 PM, Marek Vasut wrote: > On 3/5/19 8:03 PM, Dinh Nguyen wrote: >> The driver will read the cache properties from the device tree file and >> set it up. >> >> >> +config L2X0_CACHE >> +bool "L2x0 Cache support" >> +depends on MISC >> +help >> + Select this to

Re: [U-Boot] [PATCH v11 9/9] ARM: socfpga: Increase Malloc pool size to support FAT filesystem in SPL

2019-03-05 Thread Simon Goldschmidt
Am 05.03.2019 um 17:23 schrieb tien.fong.c...@intel.com: From: Tien Fong Chee After some series of patches to maximise reusable of memory pool, here come to result of reasonable size required for whole SDMMC boot working on A10 SoCDK. Size required come from default max cluster(0x1) +

Re: [U-Boot] [RFC 2/8] efi_loader: boottime: export efi_[un]load_image()

2019-03-05 Thread Heinrich Schuchardt
On 3/5/19 6:53 AM, AKASHI Takahiro wrote: > Those two functions will be used later to re-implement do_bootefi_exec(). > > Signed-off-by: AKASHI Takahiro Reviewed-by: Heinrich Schuchardt ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH v4 9/9] arm: dts: exynos: Add ramp delay property to LDO regulators to Odroid XU3 family

2019-03-05 Thread Krzysztof Kozlowski
Add startup time to LDO regulators of S2MPS11 PMIC on Odroid XU3/XU4/HC1 family of boards to be sure the voltage is proper before relying on the regulator. The datasheet for all the S2MPS1x family is inconsistent here and does not specify unambiguously the value of ramp delay for LDO. It

[U-Boot] [PATCH v4 7/9] power: regulator: s2mps11: Add enable delay

2019-03-05 Thread Krzysztof Kozlowski
According to datasheet, the output on LDO regulators will start appearing after 10-15 us. Signed-off-by: Krzysztof Kozlowski Tested-by: Anand Moon --- drivers/power/regulator/s2mps11_regulator.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v4 6/9] regulator: Add support for ramp delay

2019-03-05 Thread Krzysztof Kozlowski
Changing voltage and enabling regulator might require delays so the regulator stabilizes at expected level. Add support for "regulator-ramp-delay" binding which can introduce required time to both enabling the regulator and to changing the voltage. Signed-off-by: Krzysztof Kozlowski Tested-by:

[U-Boot] [PATCH v4 5/9] arm: exynos: Wait till ADC stabilizes before checking Odroid HC1 revision

2019-03-05 Thread Krzysztof Kozlowski
Fix detection of Odroid HC1 (Exynos5422) after reboot if kernel disabled the LDO4/VDD_ADC regulator. The LDO4 supplies both ADC block and the ADC input AIN9. Voltage on AIN9 will rise slowly, so use delay of 5 milliseconds instead of timers-based loop to wait for voltage stabilization. First

[U-Boot] [PATCH v4 8/9] arm: dts: exynos: Add supply for ADC block to Odroid XU3 family

2019-03-05 Thread Krzysztof Kozlowski
The ADC block requires VDD supply to be on so provide one. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Lukasz Majewski Tested-by: Anand Moon --- arch/arm/dts/exynos5422-odroidxu3.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/exynos5422-odroidxu3.dts

[U-Boot] [PATCH v4 3/9] arm: exynos: Detect revision later, when all resources are ready

2019-03-05 Thread Krzysztof Kozlowski
Detection of board revision is done early - before power setup. In case of Odroid XU3/XU4/HC1 family, the detection is done using ADC which is supplied by LDO4/VDD_ADC regulator. This regulator could be turned off (e.g. by kernel before reboot). If ADC is used early, the regulators are not yet

[U-Boot] [PATCH v4 4/9] arm: exynos: odroid-xu3: Display info late to have proper type

2019-03-05 Thread Krzysztof Kozlowski
Printing the "Type" of board requires proper detection of revision which can happen only late because regulators are needed. Signed-off-by: Krzysztof Kozlowski Tested-by: Anand Moon --- board/samsung/common/board.c | 2 +- configs/odroid-xu3_defconfig | 2 ++ 2 files changed, 3 insertions(+),

[U-Boot] [PATCH v4 2/9] power: regulator: s2mps11: Fix step for LDO27 and LDO35

2019-03-05 Thread Krzysztof Kozlowski
LDO27 and LDO35 have 25 mV step, not 50 mV. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Lukasz Majewski Tested-by: Anand Moon --- drivers/power/regulator/s2mps11_regulator.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/power/regulator/s2mps11_regulator.c

[U-Boot] [PATCH v4 1/9] adc: exynos-adc: Fix wrong bit operation used to stop the ADC

2019-03-05 Thread Krzysztof Kozlowski
When stopping the ADC_V2_CON1_STC_EN should be cleared. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Lukasz Majewski Tested-by: Anand Moon --- drivers/adc/exynos-adc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/adc/exynos-adc.c b/drivers/adc/exynos-adc.c

[U-Boot] [PATCH v4 0/9] arm: exynos: Fix reboot on Odroid HC1

2019-03-05 Thread Krzysztof Kozlowski
Hi, Changes since v3 1. Add accumulated review and test tags. 2. Patch 6: Add "ramp" keyword to new function (as discussed with Torsten Duwe). 3. Rebased on v2019.04-rc3. Changes since v2 1. Add Lukasz review tags. 2. Patch 7: Return on error, as suggested

[U-Boot] [PATCH 1/1] efi_loader: release file buffer after loading image

2019-03-05 Thread Heinrich Schuchardt
efi_load_pe() copies and rebases the UEFI image. We do not need the buffer with the file contents afterwards. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 50 +-- 1 file changed, 18 insertions(+), 32 deletions(-) diff --git

Re: [U-Boot] [PATCH v3 0/9] arm: exynos: Fix reboot on Odroid HC1

2019-03-05 Thread Krzysztof Kozlowski
On Tue, 5 Mar 2019 at 11:16, Minkyu Kang wrote: > > Dear Krzysztof Kozlowski, > > On 24/02/2019 21:55, Anand Moon wrote: > > Hi Krzysztof, > > > > Please add my. on Odroid HC1 > > > > Tested-by: Anand Moon > > > > Best Regards > > -Anand > > > > On Sat, 16 Feb 2019 at 15:16, Krzysztof Kozlowski

Re: [U-Boot] [RFC 1/8] efi_loader: boottime: don't add device path protocol to image handle

2019-03-05 Thread Heinrich Schuchardt
On 3/5/19 6:53 AM, AKASHI Takahiro wrote: > It is just wrong to add devcie path protocol to image handle. > > Signed-off-by: AKASHI Takahiro > --- > lib/efi_loader/efi_boottime.c | 11 +-- > 1 file changed, 1 insertion(+), 10 deletions(-) > > diff --git a/lib/efi_loader/efi_boottime.c

Re: [U-Boot] [PATCH v2 1/1] efi_loader: bootmgr: support BootNext and BootCurrent variable behavior

2019-03-05 Thread Heinrich Schuchardt
On 3/5/19 2:58 AM, AKASHI Takahiro wrote: > See UEFI v2.7, section 3.1.2 for details of the specification. > > With efidebug command, you can run any EFI boot option as follows: > => efi boot add 1 SHELL ... > => efi boot add 2 HELLO ... > => efi boot order 1 2 > => efi bootmgr >

Re: [U-Boot] [PATCH v2 6/6] i2c: rcar_i2c: Move FSDA check to rcar_i2c_recover

2019-03-05 Thread Marek Vasut
On 3/5/19 12:23 PM, Ismael Luceno Cortes wrote: > Cosmetic change. Any call to the recover function would need to do the > same check afterwards, so it's sensible to make it part of the function. > > Signed-off-by: Ismael Luceno > --- > > Notes: > Changes since v1: > - Rebased on top

Re: [U-Boot] [PATCH v2 4/6] i2c: rcar_i2c: Don't mask errors with EREMOTEIO at rcar_i2c_xfer

2019-03-05 Thread Marek Vasut
On 3/5/19 12:16 PM, Ismael Luceno Cortes wrote: Commit message is missing :-( > Signed-off-by: Ismael Luceno > --- > > Notes: > Changes since v1: > - Rebased on top of patch 1050650 ("i2c: rcar_i2c: Add Gen3 SoC support") > > drivers/i2c/rcar_i2c.c | 2 +- > 1 file changed, 1

Re: [U-Boot] [RFC PATCHv1 2/3] defconfig: socfpga_sockit_defconfig: enable L2X0_CACHE driver

2019-03-05 Thread Marek Vasut
On 3/5/19 8:03 PM, Dinh Nguyen wrote: > Enable CONFIG_MISC and CONFIG_L2X0_CACHE config options. > > Signed-off-by: Dinh Nguyen > --- > configs/socfpga_sockit_defconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/configs/socfpga_sockit_defconfig >

Re: [U-Boot] [RFC PATCHv1 1/3] misc: pl310: add a misc driver for the pl310 cache controller

2019-03-05 Thread Marek Vasut
On 3/5/19 8:03 PM, Dinh Nguyen wrote: > The driver will read the cache properties from the device tree file and > set it up. > > Signed-off-by: Dinh Nguyen > --- > arch/arm/include/asm/pl310.h | 3 ++ > drivers/misc/Kconfig | 7 +++ > drivers/misc/Makefile| 1 + >

Re: [U-Boot] [RFC PATCHv1 3/3] ARM: socfpga: let the pl310 driver configure the cache settings

2019-03-05 Thread Marek Vasut
On 3/5/19 8:03 PM, Dinh Nguyen wrote: > Load the PL310 L2 cache driver and allow it to setup the cache settings > > Signed-off-by: Dinh Nguyen > --- > arch/arm/mach-socfpga/misc.c | 15 ++- > 1 file changed, 2 insertions(+), 13 deletions(-) > > diff --git

Re: [U-Boot] [PATCH v2 5/6] i2c: rcar_i2c: Set the slave address from rcar_i2c_xfer

2019-03-05 Thread Marek Vasut
On 3/5/19 12:16 PM, Ismael Luceno Cortes wrote: Commit message is missing :-( The patch itself is fine though. Can you fill the commit message and do a V3 of the series ? > Signed-off-by: Ismael Luceno > --- > > Notes: > Changes since v1: > - Rebased on top of patch 1050650 ("i2c:

Re: [U-Boot] [PATCH v2 3/6] i2c: rcar_i2c: Fix sending of slave addresses

2019-03-05 Thread Marek Vasut
On 3/5/19 12:16 PM, Ismael Luceno Cortes wrote: > Do the reset before clearing the MSR, otherwise it may result in a read > or write operation instead if the start condition is repeated. > > Signed-off-by: Ismael Luceno Reviewed-by: Marek Vasut > --- > > Notes: > Changes since v1: >

Re: [U-Boot] [PATCH v2 1/6] i2c: rcar_i2c: Setup SCL/SDA delay at rcar_i2c_set_speed

2019-03-05 Thread Marek Vasut
On 3/5/19 12:16 PM, Ismael Luceno Cortes wrote: > It only needs to be done once. As much as I hate to do it, I need to ask you to reword the commit message again. When I look at just the commit message and I read "It only needs to be done once.", I literally have no clue what the change does. I

Re: [U-Boot] [PATCH v2 2/6] i2c: rcar_i2c: Add comments about registers & values

2019-03-05 Thread Marek Vasut
On 3/5/19 12:16 PM, Ismael Luceno Cortes wrote: Commit message is missing :( > Signed-off-by: Ismael Luceno > --- > > Notes: > Changes since v1: > - Rebased on top of patch 1050650 ("i2c: rcar_i2c: Add Gen3 SoC support") Thanks! > drivers/i2c/rcar_i2c.c | 45

Re: [U-Boot] [PATCH v11 1/9] ARM: socfpga: Description on FPGA bitstream type and file name for Arria 10

2019-03-05 Thread Dinh Nguyen
Curious, you sent out 3 versions(2x v10, and v11) within ~2 hours. What versions should we be reviewing? On 3/5/19 10:23 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > This patch adds description on properties about file name used for both > peripheral bitstream and core

[U-Boot] [RFC PATCHv1 3/3] ARM: socfpga: let the pl310 driver configure the cache settings

2019-03-05 Thread Dinh Nguyen
Load the PL310 L2 cache driver and allow it to setup the cache settings Signed-off-by: Dinh Nguyen --- arch/arm/mach-socfpga/misc.c | 15 ++- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/arch/arm/mach-socfpga/misc.c b/arch/arm/mach-socfpga/misc.c index

[U-Boot] [RFC PATCHv1 2/3] defconfig: socfpga_sockit_defconfig: enable L2X0_CACHE driver

2019-03-05 Thread Dinh Nguyen
Enable CONFIG_MISC and CONFIG_L2X0_CACHE config options. Signed-off-by: Dinh Nguyen --- configs/socfpga_sockit_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/socfpga_sockit_defconfig b/configs/socfpga_sockit_defconfig index 4c17d1a9e4..0009b0ebc3 100644 ---

[U-Boot] [RFC PATCHv1 1/3] misc: pl310: add a misc driver for the pl310 cache controller

2019-03-05 Thread Dinh Nguyen
The driver will read the cache properties from the device tree file and set it up. Signed-off-by: Dinh Nguyen --- arch/arm/include/asm/pl310.h | 3 ++ drivers/misc/Kconfig | 7 +++ drivers/misc/Makefile| 1 + drivers/misc/cache-l2x0.c| 84

[U-Boot] [RFC PATCHv1 0/3] misc: pl310: add a dm cache driver

2019-03-05 Thread Dinh Nguyen
Hello, I'm soliciting comments of this patchset. The patchset adds a driver for the cache controller(specifically the PL310). This cache controller can be found on many ARMv7 SoCs. I don't think it's used on ARMv8 platforms. This driver will retrieve the cache properties from the board DTS files

Re: [U-Boot] [PATCH] ARM: rmobile: Convert to bootm_size

2019-03-05 Thread Marek Vasut
On 3/5/19 7:42 PM, Eugeniu Rosca wrote: > Hello Marek, Hi, > May I ask for your opinion on Renesas commits [1-2] especially in > light of the `bootm_size` changes done in your patch? > The topics look orthogonal to me, but I kindly ask for your confirmation. What do you want to know ? With that

Re: [U-Boot] [PATCH v2 2/2] efi_loader: Fix possible starving in efi_cin_read_key

2019-03-05 Thread Heinrich Schuchardt
On 3/5/19 12:50 PM, matthias@kernel.org wrote: > From: Matthias Brugger > > The function efi_cin_read_key can be affected by a loss of > a character which will make u-boot to wait forever. > Fix this by calling term_get_char instead. > > Signed-off-by: Matthias Brugger You can test EFI

Re: [U-Boot] [PATCH v2 1/2] efi_loader: Fix serial console size detection

2019-03-05 Thread Heinrich Schuchardt
On 3/5/19 12:50 PM, matthias@kernel.org wrote: > From: Matthias Brugger > > Function term_read_reply tries to read from the serial console until > the end_char was read. This can hang forever if we are, for some reason, > not be able to read the full response (e.g. serial buffer too small, >

Re: [U-Boot] [PATCH] ARM: rmobile: Convert to bootm_size

2019-03-05 Thread Eugeniu Rosca
Hello Marek, May I ask for your opinion on Renesas commits [1-2] especially in light of the `bootm_size` changes done in your patch? The topics look orthogonal to me, but I kindly ask for your confirmation. Also, purely related to the `bootm_size` patch, compiling v2019.04-rc3 U-Boot for

Re: [U-Boot] IMX6 NAND boot regression

2019-03-05 Thread Michael Nazzareno Trimarchi
Hi On Tue, Mar 5, 2019 at 6:20 PM Tim Harvey wrote: > > On Tue, Mar 5, 2019 at 9:00 AM Michael Nazzareno Trimarchi > wrote: > > > > Hi Tim > > > > On Tue, Mar 5, 2019 at 5:54 PM Tim Harvey wrote: > > > > > > On Tue, Mar 5, 2019 at 8:41 AM Michael Nazzareno Trimarchi > > > wrote: > > > > > > >

Re: [U-Boot] [PATCH v2 1/2] efi_loader: Fix serial console size detection

2019-03-05 Thread Heinrich Schuchardt
On 3/5/19 12:50 PM, matthias@kernel.org wrote: > From: Matthias Brugger > > Function term_read_reply tries to read from the serial console until > the end_char was read. This can hang forever if we are, for some reason, > not be able to read the full response (e.g. serial buffer too small, >

Re: [U-Boot] [PATCH v3 03/13] net: sun8i_emac: Retrieve GMAC clock via 'syscon' phandle

2019-03-05 Thread Joe Hershberger
On Tue, Mar 5, 2019 at 10:17 AM Jagan Teki wrote: > > On Sat, Mar 2, 2019 at 12:29 AM Joe Hershberger > wrote: > > > > On Wed, Feb 27, 2019 at 12:59 PM Jagan Teki > > wrote: > > > > > > Unlike other Allwinner SoC's R40 GMAC clock control register > > > is locate in CCU, but rest located via

Re: [U-Boot] IMX6 NAND boot regression

2019-03-05 Thread Tim Harvey
On Tue, Mar 5, 2019 at 9:00 AM Michael Nazzareno Trimarchi wrote: > > Hi Tim > > On Tue, Mar 5, 2019 at 5:54 PM Tim Harvey wrote: > > > > On Tue, Mar 5, 2019 at 8:41 AM Michael Nazzareno Trimarchi > > wrote: > > > > > > HI all > > > > > > On Mon, Feb 4, 2019 at 7:14 PM Tim Harvey wrote: > > >

Re: [U-Boot] IMX6 NAND boot regression

2019-03-05 Thread Michael Nazzareno Trimarchi
Hi Tim On Tue, Mar 5, 2019 at 5:59 PM Michael Nazzareno Trimarchi wrote: > > Hi Tim > > On Tue, Mar 5, 2019 at 5:54 PM Tim Harvey wrote: > > > > On Tue, Mar 5, 2019 at 8:41 AM Michael Nazzareno Trimarchi > > wrote: > > > > > > HI all > > > > > > On Mon, Feb 4, 2019 at 7:14 PM Tim Harvey

Re: [U-Boot] net: dm: fec: Support phy-reset-post-delay property

2019-03-05 Thread Joe Hershberger
Hi Andrejs, https://patchwork.ozlabs.org/patch/1050177/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] ARM: k2g-ice: Add pinmux support for rgmii interface

2019-03-05 Thread Joe Hershberger
Hi Murali, https://patchwork.ozlabs.org/patch/1047978/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: ti: use generic helpers to access MMD registers

2019-03-05 Thread Joe Hershberger
Hi Carlo, https://patchwork.ozlabs.org/patch/1038820/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] mc : Reduce MC memory size to 128M

2019-03-05 Thread Joe Hershberger
Hi Meenakshi, https://patchwork.ozlabs.org/patch/1048656/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: micrel: Find Micrel PHY node correctly

2019-03-05 Thread Joe Hershberger
Hi James, https://patchwork.ozlabs.org/patch/1051237/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] ARM: dts: k2g-ice: add dt node for netcp

2019-03-05 Thread Joe Hershberger
Hi Murali, https://patchwork.ozlabs.org/patch/1047980/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: Fix return value check phy_probe

2019-03-05 Thread Joe Hershberger
Hi Michal, https://patchwork.ozlabs.org/patch/1051139/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] k2g: config enable ti phy dp83867 for k2g

2019-03-05 Thread Joe Hershberger
Hi Murali, https://patchwork.ozlabs.org/patch/1047983/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] dts: imx8qxp-mek: Add PHY post reset delay

2019-03-05 Thread Joe Hershberger
Hi Andrejs, https://patchwork.ozlabs.org/patch/1050178/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

  1   2   >