Re: [U-Boot] [PATCH] L3 cache : arch : arm : lib : Flush L3 after relocation

2019-02-19 Thread Prabhakar Kushwaha
> -Original Message- > From: Meenakshi Aggarwal > Sent: Tuesday, February 19, 2019 12:09 AM > To: u-boot@lists.denx.de; Prabhakar Kushwaha > ; York Sun > Cc: Meenakshi Aggarwal ; Udit Kumar > > Subject: [PATCH] L3 cache : arch : arm : lib : Flush L3 after relocation > > Flush L3 cache

Re: [U-Boot] [PATCH 1/2] armv8: ls1043ardb: Add the nand_bootcmd definition

2019-02-19 Thread Prabhakar Kushwaha
> -Original Message- > From: Wen He > Sent: Tuesday, November 20, 2018 2:34 PM > To: u-boot@lists.denx.de; York Sun > Cc: Prabhakar Kushwaha ; Alison Wang > ; Wen He > Subject: [PATCH 1/2] armv8: ls1043ardb: Add the nand_bootcmd definition > > nand_bootcmd doest not exist, it should

Re: [U-Boot] [PATCH] QE: ls1043a: modify CONFIG_SYS_QE_FW_ADDR to (512*4A00) in SD Card

2019-02-19 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot On Behalf Of Zhao Qiang > Sent: Wednesday, December 5, 2018 2:32 PM > To: York Sun > Cc: u-boot@lists.denx.de > Subject: [U-Boot] [PATCH] QE: ls1043a: modify CONFIG_SYS_QE_FW_ADDR > to (512*4A00) in SD Card > > Due to the new layout of Layerscape

Re: [U-Boot] [PATCH 1/1] LX2160AQDS: Adds SECURE_BOOT defconfig.

2019-02-19 Thread Prabhakar Kushwaha
> -Original Message- > From: Udit Agarwal > Sent: Friday, January 4, 2019 11:07 AM > To: u-boot@lists.denx.de > Cc: Priyanka Jain ; York Sun ; > Prabhakar Kushwaha ; Udit Agarwal > > Subject: [PATCH 1/1] LX2160AQDS: Adds SECURE_BOOT defconfig. > > Configs added to enable secure boot on

Re: [U-Boot] [PATCH v6] lx2160aqds : Add support for LX2160AQDS platform

2019-02-19 Thread Prabhakar Kushwaha
> -Original Message- > From: Pankaj Bansal > Sent: Friday, February 8, 2019 4:00 PM > To: Meenakshi Aggarwal ; Prabhakar > Kushwaha > Cc: u-boot@lists.denx.de; Pankaj Bansal ; Wasim > Khan ; Sriram Dash > Subject: [PATCH v6] lx2160aqds : Add support for LX2160AQDS platform > >

Re: [U-Boot] [PATCH] board/lx2160a: Add init_func_vid() definition

2019-02-19 Thread Prabhakar Kushwaha
> -Original Message- > From: Priyanka Jain > Sent: Monday, February 4, 2019 12:03 PM > To: u-boot@lists.denx.de; York Sun ; Prabhakar > Kushwaha > Cc: Priyanka Jain > Subject: [PATCH] board/lx2160a: Add init_func_vid() definition > > Add init_func_vid() which calls adjust_vdd() This

Re: [U-Boot] [PATCH][v3] board/lx2160ardb: Add distro boot support

2019-02-19 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot On Behalf Of Ashish Kumar > Sent: Thursday, January 24, 2019 11:04 AM > To: Priyanka Jain ; u-boot@lists.denx.de; York Sun > > Subject: Re: [U-Boot] [PATCH][v3] board/lx2160ardb: Add distro boot > support > > > > > -Original Message- > >

Re: [U-Boot] [PATCH v2] armv8:LX2160: Adds distro secure boot support.

2019-02-19 Thread Prabhakar Kushwaha
> -Original Message- > From: Udit Agarwal > Sent: Friday, December 14, 2018 10:14 AM > To: u-boot@lists.denx.de > Cc: York Sun ; Prabhakar Kushwaha > ; Priyanka Jain ; > Ruchika Gupta ; Udit Agarwal > > Subject: [PATCH v2] armv8:LX2160: Adds distro secure boot support. > > Adds esbc

Re: [U-Boot] [PATCH 2/2] lx2160: Enable support of EMC2305

2019-02-19 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot On Behalf Of Meenakshi > Aggarwal > Sent: Friday, November 30, 2018 10:32 PM > To: u-boot@lists.denx.de; York Sun > Subject: [U-Boot] [PATCH 2/2] lx2160: Enable support of EMC2305 > > Enable support for FAN controller EMC2305 for LX2160A RDB board. >

Re: [U-Boot] [PATCH 2/2] arm64: lx2160ardb: enable DM support for sata

2019-02-19 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot On Behalf Of Peng Ma > Sent: Friday, November 30, 2018 9:04 AM > To: York Sun > Cc: Xiaowei Bao ; Priyanka Jain > ; Z.q. Hou ; Peng Ma > ; u-boot@lists.denx.de; Rajat Srivastava > ; Yinbo Zhu > Subject: [U-Boot] [PATCH 2/2] arm64: lx2160ardb: enable

Re: [U-Boot] [PATCH 1/2] armv8: emc2305: add support for fan controller

2019-02-19 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot On Behalf Of Meenakshi > Aggarwal > Sent: Friday, November 30, 2018 10:32 PM > To: u-boot@lists.denx.de; York Sun > Subject: [U-Boot] [PATCH 1/2] armv8: emc2305: add support for fan > controller > > Add support for fan controller emc2305. > >

Re: [U-Boot] [PATCH v6 7/7] cmd: efidebug: add memmap command

2019-02-19 Thread AKASHI Takahiro
On Wed, Feb 20, 2019 at 07:53:48AM +0100, Heinrich Schuchardt wrote: > On 2/20/19 1:53 AM, AKASHI Takahiro wrote: > > On Tue, Feb 19, 2019 at 08:11:05PM +0100, Heinrich Schuchardt wrote: > >> On 1/24/19 12:04 PM, AKASHI Takahiro wrote: > >>> "memmap" command prints uefi-specific memory map

Re: [U-Boot] [v1 1/2] armv8: dts: fsl-lx2160a: add sata node support

2019-02-19 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot On Behalf Of Peng Ma > Sent: Friday, November 30, 2018 9:15 AM > To: York Sun > Cc: Xiaowei Bao ; Priyanka Jain > ; Z.q. Hou ; Peng Ma > ; u-boot@lists.denx.de; Rajat Srivastava > ; Yinbo Zhu > Subject: [U-Boot] [v1 1/2] armv8: dts: fsl-lx2160a: add

Re: [U-Boot] [PATCH] armv8: lx2160a: Modify dspi1 controller intrrupts property

2019-02-19 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot On Behalf Of Chuanhua Han > Sent: Friday, November 23, 2018 1:47 PM > To: albert.u.b...@aribaud.net > Cc: Xiaowei Bao ; Priyanka Jain > ; Z.q. Hou ; u- > b...@lists.denx.de; Chuanhua Han ; > sriram.d...@nxp.com > Subject: [U-Boot] [PATCH] armv8:

Re: [U-Boot] [PATCH v1] configs: lx2160a: enable driver model for eSDHC

2019-02-19 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot On Behalf Of Yinbo Zhu > Sent: Wednesday, October 10, 2018 8:45 AM > To: Yinbo Zhu ; Y.b. Lu ; open > list ; york...@freescale.com > Cc: Xiaobo Xie > Subject: [U-Boot] [PATCH v1] configs: lx2160a: enable driver model for > eSDHC > > Enable driver

Re: [U-Boot] [PATCH v6 3/7] cmd: efidebug: add devices command

2019-02-19 Thread AKASHI Takahiro
On Wed, Feb 20, 2019 at 07:49:01AM +0100, Heinrich Schuchardt wrote: > On 2/20/19 3:20 AM, AKASHI Takahiro wrote: > > On Tue, Feb 19, 2019 at 08:46:52PM +0100, Heinrich Schuchardt wrote: > >> On 1/24/19 12:04 PM, AKASHI Takahiro wrote: > >>> "devices" command prints all the uefi variables on the

Re: [U-Boot] [PATCH][v3] armv8: lx2160ardb : Add support for LX2160ARDB platform

2019-02-19 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot On Behalf Of Priyanka Jain > Sent: Wednesday, November 28, 2018 6:34 PM > To: u-boot@lists.denx.de; York Sun > Cc: Priyanka Jain ; Pankit Garg > ; Wasim Khan > Subject: [U-Boot] [PATCH][v3] armv8: lx2160ardb : Add support for > LX2160ARDB platform >

Re: [U-Boot] [PATCH v1] armv8: lx2160a: add eSDHC nodes

2019-02-19 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot On Behalf Of Yinbo Zhu > Sent: Wednesday, October 10, 2018 8:45 AM > To: Yinbo Zhu ; Y.b. Lu ; open > list ; york...@freescale.com > Cc: Xiaobo Xie > Subject: [U-Boot] [PATCH v1] armv8: lx2160a: add eSDHC nodes > > This patch is to add eSDHC nodes

Re: [U-Boot] [PATCH v2] armv8: fsl-layerscape: reorder rgmii dpmacs' enablement

2019-02-19 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot On Behalf Of Pankaj Bansal > Sent: Monday, October 29, 2018 4:58 PM > To: York Sun > Cc: u-boot@lists.denx.de; Sriram Dash ; Wasim > Khan ; Varun Sethi > Subject: [U-Boot] [PATCH v2] armv8: fsl-layerscape: reorder rgmii dpmacs' > enablement > > some

Re: [U-Boot] [PATCH] armv8, lx2160a: Initialize ethernet array in serdes_init

2019-02-19 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot On Behalf Of Priyanka Jain > Sent: Wednesday, November 28, 2018 3:30 PM > To: u-boot@lists.denx.de; York Sun > Cc: Priyanka Jain > Subject: [U-Boot] [PATCH] armv8, lx2160a: Initialize ethernet array in > serdes_init > > Add code to initial ethernet

Re: [U-Boot] [PATCH] drivers/ddr/fsl: Update fsl_ddr_board_options as weak function

2019-02-19 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot On Behalf Of Priyanka Jain > Sent: Monday, October 29, 2018 3:08 PM > To: u-boot@lists.denx.de; York Sun > Cc: Priyanka Jain > Subject: [U-Boot] [PATCH] drivers/ddr/fsl: Update fsl_ddr_board_options as > weak function > > fsl_ddr_board_options is

Re: [U-Boot] [PATCH] armv8: lx2160a: Update CONFIG_SYS_FSL_PEBUF_BASE

2019-02-19 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot On Behalf Of Priyanka Jain > Sent: Wednesday, November 28, 2018 3:27 PM > To: u-boot@lists.denx.de; York Sun > Cc: Priyanka Jain > Subject: [U-Boot] [PATCH] armv8: lx2160a: Update > CONFIG_SYS_FSL_PEBUF_BASE > > As per hardware documentation, >

[U-Boot] Please pull u-boot-fsl-qoriq master

2019-02-19 Thread Prabhakar Kushwaha
Hi Tom, The following changes since commit f14de0014c56093feecf42ca38b8ae5b3878f176: Prepare v2019.04-rc2 (2019-02-18 21:36:39 -0500) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git HEAD for you to fetch changes up to

Re: [U-Boot] [PATCH v6.2] cmd: env: add "-e" option for handling UEFI variables

2019-02-19 Thread AKASHI Takahiro
On Tue, Feb 19, 2019 at 07:58:29PM +0100, Heinrich Schuchardt wrote: > On 2/1/19 2:31 AM, AKASHI Takahiro wrote: > > # This is a replacement of my patch#1[1] with minor updates to fix > > # travis build errors. The other patches are the exact same as in v6. > > # [1]

Re: [U-Boot] [PATCH v4 00/25] MTD defconfigs/Kconfigs/Makefiles heavy cleanup

2019-02-19 Thread Miquel Raynal
Hi Vignesh, Vignesh R wrote on Wed, 20 Feb 2019 10:50:18 +0530: > Hi Jagan, > > On 09/12/18 11:37 PM, Miquel Raynal wrote: > > Hello, > > > > During my last project about SPI-NAND support in U-Boot, I discovered > > when modifying Makefiles a confusing organization where: > > *

Re: [U-Boot] [PATCH v6 7/7] cmd: efidebug: add memmap command

2019-02-19 Thread Heinrich Schuchardt
On 2/20/19 1:53 AM, AKASHI Takahiro wrote: > On Tue, Feb 19, 2019 at 08:11:05PM +0100, Heinrich Schuchardt wrote: >> On 1/24/19 12:04 PM, AKASHI Takahiro wrote: >>> "memmap" command prints uefi-specific memory map information. >>> => efi memmap >>> Type StartEnd

Re: [U-Boot] [PATCH v6 3/7] cmd: efidebug: add devices command

2019-02-19 Thread Heinrich Schuchardt
On 2/20/19 3:20 AM, AKASHI Takahiro wrote: > On Tue, Feb 19, 2019 at 08:46:52PM +0100, Heinrich Schuchardt wrote: >> On 1/24/19 12:04 PM, AKASHI Takahiro wrote: >>> "devices" command prints all the uefi variables on the system. >>> >>> => efi devices >>> Scanning disk ahci_scsi.id0lun0... >>>

Re: [U-Boot] [PATCH v6 2/7] cmd: add efidebug command

2019-02-19 Thread Heinrich Schuchardt
On 2/20/19 5:58 AM, AKASHI Takahiro wrote: > On Tue, Feb 19, 2019 at 08:32:52PM +0100, Heinrich Schuchardt wrote: >> On 1/24/19 12:04 PM, AKASHI Takahiro wrote: >>> Currently, there is no easy way to add or modify UEFI variables. >>> In particular, bootmgr supports BootOrder/Boot variables, it

[U-Boot] [PATCH v8 14/15] doc: Add a readme guide for SiFive FU540

2019-02-19 Thread Anup Patel
From: Atish Patra The readme guide describes the procedure to build, flash and boot Linux using U-Boot on HiFive Unleashed. It also explains the current state of U-boot support and future action items. Signed-off-by: Atish Patra Signed-off-by: Anup Patel Reviewed-by: Lukas Auer ---

[U-Boot] [PATCH v8 12/15] cpu: Bind timer driver for boot hart

2019-02-19 Thread Anup Patel
From: Atish Patra Currently, timer driver is bound only for hart0. There is no mandatory requirement that hart0 should always come up. In fact, HiFive Unleashed SoC hart0 doesn't boot in S-mode because it only has M-mode. The timer driver should be bound for boot hart. Signed-off-by: Atish

[U-Boot] [PATCH v8 08/15] clk: Add SiFive FU540 PRCI clock driver

2019-02-19 Thread Anup Patel
Add driver code for the SiFive FU540 PRCI IP block. This IP block handles reset and clock control for the SiFive FU540 device and implements SoC-level clock tree controls and dividers. Based on code written by Wesley Terpstra found in commit 999529edf517ed75b56659d456d221b2ee56bb60 of:

[U-Boot] [PATCH v8 06/15] net: macb: Fix clk API usage for RISC-V systems

2019-02-19 Thread Anup Patel
Don't fail in macb_enable_clk() if clk_enable() returns -ENOSYS because we get -ENOSYS for fixed-rate clocks. Signed-off-by: Anup Patel Reviewed-by: Bin Meng --- drivers/net/macb.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/net/macb.c

[U-Boot] [PATCH v8 10/15] drivers: serial_sifive: Fix baud rate calculation

2019-02-19 Thread Anup Patel
From: Atish Patra Compute the baud rate multipler with more precision. Signed-off-by: Atish Patra Signed-off-by: Anup Patel Reviewed-by: Alexander Graf Reviewed-by: Lukas Auer --- drivers/serial/serial_sifive.c | 28 ++-- 1 file changed, 26 insertions(+), 2

[U-Boot] [PATCH v8 09/15] clk: Add fixed-factor clock driver

2019-02-19 Thread Anup Patel
This patch adds fixed-factor clock driver which derives clock rate by dividing (div) and multiplying (mult) fixed factors to a parent clock. Signed-off-by: Atish Patra Signed-off-by: Anup Patel --- arch/sandbox/dts/test.dts | 8 drivers/clk/Makefile | 4 +-

[U-Boot] [PATCH v8 05/15] riscv: generic: Ensure that U-Boot runs within 4GB for 64bit systems

2019-02-19 Thread Anup Patel
On 64bit systems, the DRAM top can be easily beyond 4GB and U-Boot DMA mapping APIs will generate DMA addresses beyond 4GB. This breaks DMA programming in 32bit DMA capable devices (such as Cadence MACB ethernet). For example, If DRAM is more then 2GB on QEMU sifive_u machine then Cadence MACB

[U-Boot] [PATCH v8 11/15] drivers: serial_sifive: Skip baudrate config if no input clock

2019-02-19 Thread Anup Patel
From: Atish Patra It is possible that input clock is not available because clk device was not available and 'clock-frequency' DT property is also not available. In this case, instead of failing we should just skip baudrate config by returning zero. Signed-off-by: Atish Patra Signed-off-by:

[U-Boot] [PATCH v8 13/15] riscv: Add SiFive FU540 board support

2019-02-19 Thread Anup Patel
This patch adds SiFive FU540 board support. For now, only SiFive serial, SiFive PRCI, and Cadance MACB drivers are only enabled. The SiFive FU540 defconfig by default builds U-Boot for S-Mode because U-Boot on SiFive FU540 will run in S-Mode as payload of BBL or OpenSBI. Signed-off-by: Atish

[U-Boot] [PATCH v8 15/15] riscv: Enable CONFIG_SYS_BOOT_RAMDISK_HIGH for using initrd

2019-02-19 Thread Anup Patel
This patch enables CONFIG_SYS_BOOT_RAMDISK_HIGH for RISC-V because bootm will update initrd location in DTB only if CONFIG_SYS_BOOT_RAMDISK_HIGH is enabled. If we don't enable this option then bootm assumes DTB already has initrd details which is not the case most of the time. Signed-off-by:

[U-Boot] [PATCH v8 07/15] net: macb: Fix GEM hardware detection

2019-02-19 Thread Anup Patel
From: Atish Patra Fix MID bit field check to correctly identify all GEM hardwares. The check is updated as per macb driver in Linux location: /drivers/net/ethernet/cadence/macb_main.c:259 Signed-off-by: Atish Patra Signed-off-by: Anup Patel Reviewed-by: Alexander Graf Reviewed-by: Lukas

[U-Boot] [PATCH v8 03/15] riscv: Add asm/dma-mapping.h for DMA mappings

2019-02-19 Thread Anup Patel
This patch adds asm/dma-mapping.h for Linux-like DMA mappings APIs required by some of the drivers (such as, Cadance MACB Ethernet driver). Signed-off-by: Anup Patel Reviewed-by: Bin Meng Reviewed-by: Alexander Graf Reviewed-by: Lukas Auer --- arch/riscv/include/asm/dma-mapping.h | 38

[U-Boot] [PATCH v8 04/15] riscv: Add place-holder asm/arch/clk.h for driver compilation

2019-02-19 Thread Anup Patel
Some of the drivers (such as Cadence MACB ethernet driver) expect asm/arch/clk.h to be provided by arch support so we add place-holder asm/arch-generic/clk.h for RISC-V generic CPU. Signed-off-by: Anup Patel Reviewed-by: Lukas Auer --- arch/riscv/include/asm/arch-generic/clk.h | 14

[U-Boot] [PATCH v8 02/15] riscv: Rename cpu/qemu to cpu/generic

2019-02-19 Thread Anup Patel
The QEMU CPU support under arch/riscv is pretty much generic and works fine for SiFive Unleashed as well. In fact, there will be quite a few RISC-V SOCs for which QEMU CPU support will work fine. This patch renames cpu/qemu to cpu/generic to indicate the above fact. If there are SOC specific

[U-Boot] [PATCH v8 01/15] riscv: Enable create symlink using kconfig

2019-02-19 Thread Anup Patel
We select CREATE_ARCH_SYMLINK for RISC-V so that we can have include/asm/arch linked to include/asm/arch-xyz. Signed-off-by: Anup Patel --- arch/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/Kconfig b/arch/Kconfig index 35e2712fce..4ebc66227e 100644 --- a/arch/Kconfig +++

[U-Boot] [PATCH v8 00/15] SiFive FU540 Support

2019-02-19 Thread Anup Patel
This patchset adds SiFive Freedom Unleashed (FU540) support to RISC-V U-Boot. The patches are based upon latest U-Boot source tree (git://git.denx.de/u-boot.git) at v2019.04-rc2 commit id f14de0014c56093feecf42ca38b8ae5b3878f176 All drivers namely: SiFive PRCI, SiFive Serial, and Cadance MACB

Re: [U-Boot] [PATCH v4 00/25] MTD defconfigs/Kconfigs/Makefiles heavy cleanup

2019-02-19 Thread Vignesh R
Hi Jagan, On 09/12/18 11:37 PM, Miquel Raynal wrote: > Hello, > > During my last project about SPI-NAND support in U-Boot, I discovered > when modifying Makefiles a confusing organization where: > * Sub-directories/files are compiled from the root Makefile > * Commands are at the root of

Re: [U-Boot] [PATCH] treewide: Replace CONFIG_DM_SPI_FLASH with CONFIG_IS_ENABLED(DM_SPI_FLASH)

2019-02-19 Thread Vignesh R
On 19/02/19 10:37 AM, Marek Vasut wrote: > Perform the replacement to allow platforms use non-DM SPI flash access > in SPL/TPL. This is thus far needed on platforms with size constraints. > > Signed-off-by: Marek Vasut > Cc: Jagan Teki > Cc: Vignesh R > --- I have a similar patch, but you

Re: [U-Boot] [PATCH v6 2/7] cmd: add efidebug command

2019-02-19 Thread AKASHI Takahiro
On Tue, Feb 19, 2019 at 08:32:52PM +0100, Heinrich Schuchardt wrote: > On 1/24/19 12:04 PM, AKASHI Takahiro wrote: > > Currently, there is no easy way to add or modify UEFI variables. > > In particular, bootmgr supports BootOrder/Boot variables, it is > > quite hard to define them as u-boot

Re: [U-Boot] [PATCH v2 1/1] mtd: added missing GigaDevice chips

2019-02-19 Thread Vignesh R
Hi, On 18/02/19 3:30 PM, Jiri Kastner wrote: > Vocore2 (mt7688 based device) has g25q128 chip > from GigaDevice, which i've found in kernel tree. > added chips are gd25q128 and gd25q256. > > Cc: Jagan Teki > Cc: Vignesh R > --- > drivers/mtd/spi/spi-nor-ids.c | 10 ++ > 1 file

[U-Boot] [PATCH v1] mc : Add support to run MC in 128 MB DDR size

2019-02-19 Thread Meenakshi Aggarwal
ls2088, ls1088 : minimum DDR size for MC is 128 MB lx2 : minimum DDR size for MC is 256 MB Signed-off-by: Meenakshi Aggarwal --- drivers/net/fsl-mc/mc.c | 23 +++ include/configs/ls1088a_common.h | 2 +- include/configs/ls2080a_common.h | 2 +-

[U-Boot] [PATCH] imx: serial_mxc: use CONFIG_IS_ENABLED instead of ifdef

2019-02-19 Thread Adam Ford
Kconfig allows boards to configured with DM_SERIAL and still have SPL_DM_SERIAL disabled. This patch changes the ifdef's to CONFIG_IS_ENABLED to allow the modes to differ between SPL and U-Boot. Signed-off-by: Adam Ford diff --git a/drivers/serial/serial_mxc.c b/drivers/serial/serial_mxc.c

Re: [U-Boot] [PATCH] board/freescale: Enable DHCP distro boot for Layerscape board

2019-02-19 Thread Prabhakar Kushwaha
Dear Yunfeng, > -Original Message- > From: Yunfeng Ding > Sent: Tuesday, February 19, 2019 12:14 PM > To: Prabhakar Kushwaha ; u- > b...@lists.denx.de > Cc: Yunfeng Ding > Subject: [PATCH] board/freescale: Enable DHCP distro boot for Layerscape > board > > Enable DHCP distro boot for

Re: [U-Boot] [PATCH v2 1/3] sunxi: Sync Bananapi M2+ device tree from Linux v5.0-rc1

2019-02-19 Thread Chen-Yu Tsai
On Mon, Feb 18, 2019 at 4:28 PM Jagan Teki wrote: > > On Fri, Feb 15, 2019 at 7:48 PM Chen-Yu Tsai wrote: > > > > On Fri, Feb 15, 2019 at 9:58 PM Jagan Teki > > wrote: > > > > > > On Fri, Feb 15, 2019 at 4:33 PM Chen-Yu Tsai wrote: > > > > > > > > As of commit aa8fee415f46 ("ARM: dts: sun8i:

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

2019-02-19 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 v6 4/7] cmd: efidebug: add drivers command

2019-02-19 Thread AKASHI Takahiro
On Tue, Feb 19, 2019 at 08:49:30PM +0100, Heinrich Schuchardt wrote: > On 1/24/19 12:04 PM, AKASHI Takahiro wrote: > > "drivers" command prints all the uefi drivers on the system. > > > > => efi drivers > > Driver Name Image Path > >

Re: [U-Boot] [PATCH v6 3/7] cmd: efidebug: add devices command

2019-02-19 Thread AKASHI Takahiro
On Tue, Feb 19, 2019 at 08:46:52PM +0100, Heinrich Schuchardt wrote: > On 1/24/19 12:04 PM, AKASHI Takahiro wrote: > > "devices" command prints all the uefi variables on the system. > > > > => efi devices > > Scanning disk ahci_scsi.id0lun0... > > Scanning disk ahci_scsi.id1lun0... > > Found 4

Re: [U-Boot] Kernel hang when replace older uboot with uboot master V2

2019-02-19 Thread rosys...@rosinson.com
My old u-boot is 1.1.4 On Tue, 19 Feb 2019 17:45:12 +0800 "rosys...@rosinson.com" wrote:   > Thanks for your reply, but this firmware can find the rootfs itself,  > > >[    0.337492] 5 fixed-partitions partitions found on MTD device > >spi0.0 [    0.344060] Creating 5 MTD partitions on

Re: [U-Boot] [U-Boot,2/2] omap3_beagle: Enable DM_SPI

2019-02-19 Thread Tom Rini
On Sat, Feb 16, 2019 at 04:36:30PM -0500, Tom Rini wrote: > Switch to DM_SPI support now. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] ARM: omap3: evm: Update DM SPL support

2019-02-19 Thread Tom Rini
On Sat, Feb 16, 2019 at 04:56:50PM -0600, Derald D. Woods wrote: > - Switch to using the omap3-u-boot.dtsi file for needed properties > - Enable SPL_OF_CONTROL > > This commit is based on the following series: > > https://patchwork.ozlabs.org/project/uboot/list/?series=92472 >

Re: [U-Boot] [U-Boot,1/2] ARM: DTS: omap3-u-boot.dtsi

2019-02-19 Thread Tom Rini
On Sat, Feb 16, 2019 at 01:31:23PM -0600, Adam Ford wrote: > Create generic omap3-u-boot.dtsi file that omap3 based boards > can include to generate device tree in SPL for booting MLO. > > Credit should go to Tom Rini. > > Signed-off-by: Adam Ford > Signed-off-by: Tom Rini > Tested-by: Derald

Re: [U-Boot] dm: Fix typo 'Watchdot' -> 'Watchdog'

2019-02-19 Thread Tom Rini
On Mon, Feb 18, 2019 at 08:48:04AM +1300, Chris Packham wrote: > Signed-off-by: Chris Packham Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] cmd: pcmcia: Build only if CONFIG_CMD_PCMCIA=y

2019-02-19 Thread Tom Rini
On Mon, Feb 18, 2019 at 09:17:04AM +, Ismael Luceno Cortes wrote: > Signed-off-by: Ismael Luceno Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, 1/1] test: let use gdbserver for all sandbox targets

2019-02-19 Thread Tom Rini
On Tue, Feb 12, 2019 at 04:18:14PM +0200, Igor Opaniuk wrote: > Enable usage of gdbserver for all sandbox targets (sandbox, > sandbox_flattree etc.). > > Signed-off-by: Igor Opaniuk > Reviewed-by: Tom Rini > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, v3, 2/2] fs: fat: Reduce default max clustersize 64KiB from malloc pool

2019-02-19 Thread Tom Rini
On Mon, Feb 11, 2019 at 02:56:20PM +0800, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Release cluster block immediately when no longer use would help to reduce > 64KiB memory allocated to the memory pool. > > Signed-off-by: Tien Fong Chee Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot, v3, 1/2] fs: fat: dynamically allocate memory for temporary buffer

2019-02-19 Thread Tom Rini
On Mon, Feb 11, 2019 at 02:56:19PM +0800, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Drop the statically allocated get_contents_vfatname_block and > dynamically allocate a buffer only if required. This saves > 64KiB of memory. > > Signed-off-by: Stefan Agner > Signed-off-by:

Re: [U-Boot] [U-Boot, 2/2] ARM: omap3_logic: Enable SPL booting device tree

2019-02-19 Thread Tom Rini
On Sat, Feb 16, 2019 at 01:31:24PM -0600, Adam Ford wrote: > With the generic omap3-u-boot.dtsi file available, this patch > increased the memory of the various incarnations of the omap3_logic > board, and points their respective u-boot.dtsi files to the newly > created generic one, and removes

Re: [U-Boot] ARM: da8xxevm: Add NAND instructions for da850-evm to README

2019-02-19 Thread Tom Rini
On Thu, Feb 14, 2019 at 08:13:53PM -0600, Adam Ford wrote: > The README.da850 file continues information on how to burn NAND > for the LCDK, but not the DA850-EVM. This patch adds both the > commands and dip switch instructions for burning and booting > NAND. > > Signed-off-by: Adam Ford > >

Re: [U-Boot] [U-Boot,1/2] omap3_beagle: Update for DM SPL support

2019-02-19 Thread Tom Rini
On Sat, Feb 16, 2019 at 04:36:29PM -0500, Tom Rini wrote: > - Switch to using the omap3-u-boot.dtsi file for needed properties. > - Remove a few SPL features to free up more SRAM space. > - Switch CONFIG_SYS_TEXT_BASE to the normal default, we don't need to > worry about X-Loader at this point

Re: [U-Boot] dtbo: Fix dtbo generation rules

2019-02-19 Thread Tom Rini
On Mon, Feb 11, 2019 at 02:51:02PM +0100, Michal Simek wrote: > Take the first prerequisite (dts overlay file) instead of standard > input. > > Signed-off-by: Michal Simek Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] cmd/fs: fix build if CMD_BOOTEFI is not set

2019-02-19 Thread Tom Rini
On Sat, Feb 16, 2019 at 09:10:32PM +, Gervais, Francois wrote: > Fixes: > cmd/fs.c:29: undefined reference to `efi_set_bootdev' > > Signed-off-by: Francois Gervais Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] ARM: da850evm: Increase Malloc Size

2019-02-19 Thread Tom Rini
On Wed, Feb 13, 2019 at 01:06:37PM -0600, Adam Ford wrote: > The SPI NOR frameware was recently updated, but they require a little > more memory that we had previosly allocated, so it stopped booting. > This patch doubles the size of CONFIG_SPL_SYS_MALLOC_F_LEN to 0x800. > > Fixes: c4e8862308d4

Re: [U-Boot] ARM: am3517_evm: Enable Falcon Mode

2019-02-19 Thread Tom Rini
On Thu, Feb 14, 2019 at 02:06:35PM -0600, Adam Ford wrote: > The other OMAP3 based Logic PD boards have Falcon Mode enabled, > so this patch makes it possible on the AM3517-evm as well. > > Signed-off-by: Adam Ford > > diff --git a/configs/am3517_evm_defconfig b/configs/am3517_evm_defconfig >

Re: [U-Boot] hikey: Allow environment to store in eMMC and increase bootdelay

2019-02-19 Thread Tom Rini
On Wed, Feb 13, 2019 at 02:28:54PM +0530, Manivannan Sadhasivam wrote: > Current Hikey configuration allows us to store u-boot environment on uSD > card. But this will be useless if uSD card is not inserted, hence use > the onboard eMMC memory for storing environment at Boot1 partition. > While

Re: [U-Boot] bcm963158: use TARGET_BCM963158 instead of ARCH_BCM63158

2019-02-19 Thread Tom Rini
On Mon, Feb 11, 2019 at 03:56:14PM +0100, Philippe Reynes wrote: > We use TARGET_BCM63158 in the Kconfig instead of ARCH_BCM63158, > so we could add other board that use a bcm63158. > > Signed-off-by: Philippe Reynes Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [U-Boot] cmd: date: Do not overwrite arguments

2019-02-19 Thread Tom Rini
On Fri, Feb 08, 2019 at 10:01:02AM +0100, Roman Kapl wrote: > Arguments are const and belong to the caller. Calling date in a hush > loop will yield different results from the second invocation. > > Signed-off-by: Roman Kapl Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] configs: am57xx_evm: define CONFIG_SPL_LOAD_FIT_ADDRESS for SPL-DFU

2019-02-19 Thread Tom Rini
On Fri, Feb 08, 2019 at 11:01:37AM -0600, Bin Liu wrote: > Define CONFIG_SPL_LOAD_FIT_ADDRESS to enable SPL-DFU for am57x platform. > > Signed-off-by: Bin Liu Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [U-Boot,v3] spl: implement CRC check on U-Boot uImage

2019-02-19 Thread Tom Rini
On Sun, Feb 10, 2019 at 09:34:37PM +0100, Simon Goldschmidt wrote: > SPL currently does not check uImage CRCs when loading U-Boot. > > This patch adds checking the uImage CRC when SPL loads U-Boot. It does > this by reusing the existing config option SPL_CRC32_SUPPORT to allow > leaving out the

Re: [U-Boot] elf: fix cache flushing in 'bootelf -p' command

2019-02-19 Thread Tom Rini
On Thu, Feb 07, 2019 at 02:19:45PM +0300, Kurban Mallachiev wrote: > Currently there are two problems in 'bootelf -p' (load elf by segments) > command: > - bss section is not flushed, so booted elf can have non zero values > in bss; > - at least on ARM there are 'CACHE: Misaligned operation at

Re: [U-Boot] board/BuR/brxre1: convert do DM

2019-02-19 Thread Tom Rini
On Wed, Feb 06, 2019 at 01:25:59PM +0100, Hannes Schmelzer wrote: > This commit converts the brxre1 board to DM, > for this we have todo following things: > > - add a devicetree-file for this board > - drop all obsolete settings from board header-file > - use dm_i2c_xxx calls for read/write to

Re: [U-Boot] [U-Boot,1/1] tpm: simplify: tpm_set_global_lock()

2019-02-19 Thread Tom Rini
On Tue, Feb 05, 2019 at 01:38:41AM +0100, Heinrich Schuchardt wrote: > When in pack_byte_string() memcpy() is called for size 0 the source buffer > address has no relevance. So we can use NULL here. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass Applied to u-boot/master,

Re: [U-Boot] [U-Boot,1/1] dm: scsi: report correct device number

2019-02-19 Thread Tom Rini
On Tue, Feb 05, 2019 at 06:06:24PM +0100, Heinrich Schuchardt wrote: > Before the patch scsi would report the same device number for all SCSI > devices, e.g. > > Device 0: (1:0) Vendor: ATA Prod.: Crucial_CT128M55 Rev: MU01 > Type: Hard Disk > Capacity: 122104.3 MB =

Re: [U-Boot] [PULL] u-boot-socfpga/master

2019-02-19 Thread Tom Rini
On Tue, Feb 19, 2019 at 03:48:03AM +0100, Marek Vasut wrote: > The following changes since commit b89074f65047c4058741ed2bf3e6ff0c5af4c5bc: > > Merge tag 'u-boot-imx-2019-02-16' of git://git.denx.de/u-boot-imx > (2019-02-16 08:31:05 -0500) > > are available in the Git repository at: > >

Re: [U-Boot] [PATCH 1/1] travis: Exclude omap from the arm926ejs job

2019-02-19 Thread Tom Rini
On Tue, Feb 19, 2019 at 08:48:38PM -0500, Tom Rini wrote: > We build the platform here that matches with "omap" in its own job, > don't need to have it here as well. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

[U-Boot] [PATCH 1/1] travis: Exclude omap from the arm926ejs job

2019-02-19 Thread Tom Rini
We build the platform here that matches with "omap" in its own job, don't need to have it here as well. Signed-off-by: Tom Rini --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 49a7fa94f3ad..834502fc8c10 100644 --- a/.travis.yml

Re: [U-Boot] [PATCH] test: Update test-imagetools.sh to match new syntax

2019-02-19 Thread Vagrant Cascadian
On 2019-02-14, Martyn Welch wrote: > The syntax of dumpimage was simplified in commit 12b831879a76 ("tools: > dumpimage: Simplify arguments"), but the test > (test/image/test-imagetools.sh) was not updated and is now failing. > > Update the test to use the new syntax. This does fix the tests with

Re: [U-Boot] [PATCH v6 7/7] cmd: efidebug: add memmap command

2019-02-19 Thread AKASHI Takahiro
On Tue, Feb 19, 2019 at 08:11:05PM +0100, Heinrich Schuchardt wrote: > On 1/24/19 12:04 PM, AKASHI Takahiro wrote: > > "memmap" command prints uefi-specific memory map information. > > => efi memmap > > Type StartEnd Attributes > >

[U-Boot] [PATCH] mmc: dw_mmc: Round up descriptor end to nearest multiple of cacheline size

2019-02-19 Thread Marek Vasut
The driver currently calculates the end address of cache flush operation for the DMA descriptors by adding cacheline size to the start address of the last DMA descriptor. This is not safe, as the cacheline size may be, in some unlikely cases, smaller than the DMA descriptor size. Replace the

[U-Boot] Pull request, u-boot-tegra/master

2019-02-19 Thread Tom Warren
Tom, Please pull u-boot-tegra/master into U-Boot/master. Thanks! All Tegra builds are OK, and Stephen's automated test system reports that all tests pass. The following changes since commit f14de0014c56093feecf42ca38b8ae5b3878f176: Prepare v2019.04-rc2 (2019-02-18 21:36:39 -0500) are

[U-Boot] [PATCH V2] ARM: davinci: da850evm: Enable SPL_OF_CONTROL without PLATDATA

2019-02-19 Thread Adam Ford
With the memory mapping giving us some more avialable RAM, this updates the da850-evm-u-boot.dtsi to include the serial port, SPI and Flash nodes along with some dependent nodes in the SPL dtb. This also removes the platform data initialization code for the serial port and SPI Flash.

Re: [U-Boot] [PATCH] ARM: socfpga: Clear PL310 early in SPL

2019-02-19 Thread Marek Vasut
On 2/19/19 9:56 PM, Simon Goldschmidt wrote: > Am 19.02.2019 um 21:07 schrieb Marek Vasut: >> On 2/19/19 8:29 PM, Simon Goldschmidt wrote: >>> Am 19.02.2019 um 17:39 schrieb Marek Vasut: On 2/19/19 5:31 PM, Simon Goldschmidt wrote: > Am 19.02.2019 um 17:00 schrieb Marek Vasut: >> On

Re: [U-Boot] IMX6 DM_USB / DM_MMC requires OF_CONTROL?

2019-02-19 Thread Adam Ford
On Tue, Feb 19, 2019 at 1:11 PM Tim Harvey wrote: > > On Tue, Feb 19, 2019 at 10:38 AM Fabio Estevam wrote: > > > > Hi Tim, > > > > On Tue, Feb 19, 2019 at 3:24 PM Tim Harvey wrote: > > > > > > Greetings, > > > > > > I'm seeing that I need to switch my IMX6 board support > > >

Re: [U-Boot] [U-Boot, V2, 1/2] davinci: da850evm: Move BSS to SDRAM because SRAM is full

2019-02-19 Thread Tom Rini
On Fri, Feb 15, 2019 at 05:39:21PM -0600, Adam Ford wrote: > In order to fully support SPL_OF_CONTROL, we need BSS to be a bit > larger. This patch relocates BSS to SDRAM instead of SRAM which > is similar to how ARMv7 boards (like OMAP2+) do it. > > This means two new variables are required: >

Re: [U-Boot] [PATCH 3/4] lib: decode_timing_property should return -NOENT when proprty is not found

2019-02-19 Thread Ondřej Jirman
Hi, On Tue, Feb 19, 2019 at 07:17:01AM -0800, Simon Glass wrote: > Hi, > > On Sat, 9 Feb 2019 at 06:44, wrote: > > > > From: Ondrej Jirman > > > > Length may be unitialized when fdt_getprop fails. > > Not according to the docs: > > * if lenp is non-NULL, *lenp contains the length of the

Re: [U-Boot] [PATCH] ARM: socfpga: Clear PL310 early in SPL

2019-02-19 Thread Simon Goldschmidt
Am 19.02.2019 um 21:07 schrieb Marek Vasut: On 2/19/19 8:29 PM, Simon Goldschmidt wrote: Am 19.02.2019 um 17:39 schrieb Marek Vasut: On 2/19/19 5:31 PM, Simon Goldschmidt wrote: Am 19.02.2019 um 17:00 schrieb Marek Vasut: On 2/19/19 4:55 PM, Simon Goldschmidt wrote: Am 19.02.2019 um 15:00

Re: [U-Boot] [RFC 0/9] Convert Pico-Pi i.MX7D to DM

2019-02-19 Thread Fabio Estevam
Hi Joris, On Tue, Feb 19, 2019 at 4:24 PM Offouga Joris wrote: > Hi Fabio, > Have you been able to solve your bug? I think that the coming must come from > yours and that with the conversion dm that I have in local it must persist Unfortunately, I haven't had a chance to debug this further.

Re: [U-Boot] [PATCH] ARM: socfpga: Configure PL310 latencies

2019-02-19 Thread Dinh Nguyen
On 2/18/19 6:44 PM, Marek Vasut wrote: > Configure the PL310 tag and data latency registers, which slightly > improves performance and aligns the behavior with Linux. > > Signed-off-by: Marek Vasut > Cc: Dalon Westergreen > Cc: Dinh Nguyen > --- > arch/arm/mach-socfpga/misc.c | 3 +++ > 1

Re: [U-Boot] [PATCH] ARM: socfpga: Clear PL310 early in SPL

2019-02-19 Thread Marek Vasut
On 2/19/19 8:29 PM, Simon Goldschmidt wrote: > Am 19.02.2019 um 17:39 schrieb Marek Vasut: >> On 2/19/19 5:31 PM, Simon Goldschmidt wrote: >>> Am 19.02.2019 um 17:00 schrieb Marek Vasut: On 2/19/19 4:55 PM, Simon Goldschmidt wrote: > Am 19.02.2019 um 15:00 schrieb Marek Vasut: >> On

Re: [U-Boot] [PATCH v6 3/7] cmd: efidebug: add devices command

2019-02-19 Thread Heinrich Schuchardt
On 2/19/19 8:46 PM, Heinrich Schuchardt wrote: > On 1/24/19 12:04 PM, AKASHI Takahiro wrote: >> "devices" command prints all the uefi variables on the system. >> >> => efi devices >> Scanning disk ahci_scsi.id0lun0... >> Scanning disk ahci_scsi.id1lun0... >> Found 4 disks >> Device

Re: [U-Boot] [PATCH v6 6/7] cmd: efidebug: add images command

2019-02-19 Thread Heinrich Schuchardt
On 1/24/19 12:04 PM, AKASHI Takahiro wrote: > "images" command prints loaded images-related information. > > Signed-off-by: AKASHI Takahiro Reviewed-by: Heinrich Schuchardt > --- > cmd/efidebug.c | 14 +- > 1 file changed, 13 insertions(+), 1 deletion(-) > > diff --git

Re: [U-Boot] [PATCH v6 4/7] cmd: efidebug: add drivers command

2019-02-19 Thread Heinrich Schuchardt
On 1/24/19 12:04 PM, AKASHI Takahiro wrote: > "drivers" command prints all the uefi drivers on the system. > > => efi drivers > Driver Name Image Path > > 7ef003d0 > > Signed-off-by:

Re: [U-Boot] [PATCH v6 3/7] cmd: efidebug: add devices command

2019-02-19 Thread Heinrich Schuchardt
On 1/24/19 12:04 PM, AKASHI Takahiro wrote: > "devices" command prints all the uefi variables on the system. > > => efi devices > Scanning disk ahci_scsi.id0lun0... > Scanning disk ahci_scsi.id1lun0... > Found 4 disks > Device Device Path > >

  1   2   >