[U-Boot] [PATCH 1/2] fastboot: getvar_partition_{type, size}: Sanitize arguments

2019-03-19 Thread Eugeniu Rosca
Correct usage of "fastboot getvar_partition_{type,size}" is: host $> fastboot getvar partition-size:misc partition-size:misc: 0x0400 Finished. Total time: 0.214s When the partition name is omitted, current behavior is: host $> fastboot getvar partition-size getvar:partition-size

Re: [U-Boot] [PATCH 5/6] spl: support using full malloc with SYS_MALLOC_F_LEN

2019-03-19 Thread Simon Goldschmidt
Hi Simon, you were replying to v1 where v2 has already been sent. However, this patch hasn't changed, so I'm commenting here. Am 19.03.2019 um 02:24 schrieb Simon Glass: Hi Simon, On Tue, 12 Mar 2019 at 05:35, Simon Goldschmidt wrote: Some platforms (like socfpga A10) need a big hep

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

2019-03-19 Thread Tom Rini
On Mon, Mar 18, 2019 at 04:08:48AM +0100, Marek Vasut wrote: > The following changes since commit 9659eb46af6249b6e4b3712e60a1eb2e87fc48a1: > > Merge branch 'master' of git://git.denx.de/u-boot-samsung (2019-03-14 > 11:37:11 -0400) > > are available in the Git repository at: > >

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

2019-03-19 Thread Tom Rini
On Mon, Mar 18, 2019 at 04:08:18AM +0100, Marek Vasut wrote: > The following changes since commit 9659eb46af6249b6e4b3712e60a1eb2e87fc48a1: > > Merge branch 'master' of git://git.denx.de/u-boot-samsung (2019-03-14 > 11:37:11 -0400) > > are available in the Git repository at: > >

Re: [U-Boot] Pull request: u-boot-net.git master

2019-03-19 Thread Tom Rini
On Tue, Mar 12, 2019 at 01:15:46PM -0500, Joe Hershberger wrote: > Hi Tom, > > These patches passed the CI build here: > https://travis-ci.org/jhershbe/u-boot/builds/501807294 > > The following changes since commit 2e8092d94f40a5692baf3ec768ce3216a7bf032a: > > Merge branch 'master' of

Re: [U-Boot] [PATCH v3 1/3] reset: add reset driver for HiSilicon platform

2019-03-19 Thread Joe Hershberger
Hi Shawn, On Sun, Mar 10, 2019 at 3:53 AM Shawn Guo wrote: > > It adds a Driver Model compatible reset driver for HiSlicon platform. > The driver implements a custom .of_xlate function, and uses .data field > as reset register offset and .id field as bit shift. > > Signed-off-by: Shawn Guo >

Re: [U-Boot] [PATCH v3 3/3] poplar: enable Ethernet driver support

2019-03-19 Thread Joe Hershberger
On Sun, Mar 10, 2019 at 3:53 AM Shawn Guo wrote: > > The 'phy' reset of gmac device in kernel device tree is not generic > enough for u-boot to use, so we need to overwrite the 'resets' property > as needed. With this device tree fixup and poplar_defconfig changes, > Ethernet starts working on

[U-Boot] [PATCH 2/2] fastboot: getvar_partition_type: Return 'raw' when FS-unaware

2019-03-19 Thread Eugeniu Rosca
Only a handful of Android/fastboot partitions (e.g. /system, /vendor, /userdata) have filesystem: host $> fastboot getvar partition-type:userdata partition-type:userdata: ext4 Finished. Total time: 0.013s Most of them (/misc, /pstore, /vbmeta, /dtb{o}, /boot, etc) don't. And for the latter

Re: [U-Boot] [PATCH 1/1] efi_loader: correct parameter size in efi_allocate_pool

2019-03-19 Thread Takahiro Akashi
On Tue, Mar 19, 2019 at 07:59:37AM +0100, Heinrich Schuchardt wrote: > On 3/19/19 1:19 AM, Takahiro Akashi wrote: > > On Mon, Mar 18, 2019 at 08:32:23PM +0100, Heinrich Schuchardt wrote: > >> efi_allocate_pages() expects a (uint64_t *) pointer to pass the address of > >> the assigned memory. If we

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

2019-03-19 Thread Joe Hershberger
On Sun, Mar 10, 2019 at 3:52 AM 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. > >

[U-Boot] [PATCH 1/1] efi_selftest: fix test_hii_string_get_string()

2019-03-19 Thread Heinrich Schuchardt
The check testing the string result of get_string() returned the wrong result. The result was ignored. Use efi_st_strcmp_16_8() for the string comparison. Signed-off-by: Heinrich Schuchardt --- lib/efi_selftest/efi_selftest_hii.c | 17 - 1 file changed, 4 insertions(+), 13

[U-Boot] [PATCH v4 0/1] efi_loader: support BootNext and BootCurrent

2019-03-19 Thread AKASHI Takahiro
This patch was originally posted as a single one, but then was merged in my "run -e." Now I would like to post it on its own. With this patch, EFI Boot Manager will handles BootNext and BootCurrent variable as UEFI specification describes. Changes in v4 (Mar 20, 2019) * strictly check the size

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

2019-03-19 Thread AKASHI Takahiro
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 (starting SHELL ...) => efi boot next 2 => efi bootmgr

Re: [U-Boot] [PATCH v3 1/3] reset: add reset driver for HiSilicon platform

2019-03-19 Thread Shawn Guo
Hi Joe, Thanks for the comments. On Tue, Mar 19, 2019 at 06:42:06PM +, Joe Hershberger wrote: > Hi Shawn, > > On Sun, Mar 10, 2019 at 3:53 AM Shawn Guo wrote: > > > > It adds a Driver Model compatible reset driver for HiSlicon platform. > > The driver implements a custom .of_xlate

Re: [U-Boot] [PATCH 01/10] ddr: altera: stratix10: Move SDRAM size check to SDRAM driver

2019-03-19 Thread Ley Foon Tan
On Tue, Mar 19, 2019 at 5:47 PM Marek Vasut wrote: > > On 3/19/19 10:46 AM, Ley Foon Tan wrote: > > On Tue, Mar 19, 2019 at 5:39 PM Marek Vasut wrote: > >> > >> On 3/19/19 4:26 AM, Ley Foon Tan wrote: > >>> On Tue, Mar 12, 2019 at 7:03 PM Marek Vasut wrote: > > On 3/12/19 9:31 AM, Ley

Re: [U-Boot] [PATCH v3 3/3] poplar: enable Ethernet driver support

2019-03-19 Thread Shawn Guo
On Tue, Mar 19, 2019 at 06:42:17PM +, Joe Hershberger wrote: > On Sun, Mar 10, 2019 at 3:53 AM Shawn Guo wrote: > > > > The 'phy' reset of gmac device in kernel device tree is not generic > > enough for u-boot to use, so we need to overwrite the 'resets' property > > as needed. With this

Re: [U-Boot] [PATCH v2 6/6] arm: socfpga: a10: move SPL stack size to Kconfig

2019-03-19 Thread Chee, Tien Fong
On Tue, 2019-03-19 at 17:29 +0100, Simon Goldschmidt wrote: > Am 19.03.2019 um 17:19 schrieb Chee, Tien Fong: > > > > On Fri, 2019-03-15 at 21:13 +0100, Simon Goldschmidt wrote: > > > > > > Instead of fixing the SPL stack to 64 KiB in the board config > > > header > > > via > > >

[U-Boot] [PATCH 1/1] efi_loader: remove superfluous check in efi_setup_loaded_image()

2019-03-19 Thread Heinrich Schuchardt
It does not make any sense to check if a pointer is NULL if we have dereferenced it before. Fixes Coverity CID 185827 Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/efi_loader/efi_boottime.c

Re: [U-Boot] [PATCH v2] ARM: kirkwood: disable dcache for Kirkwood boards

2019-03-19 Thread Stefan Roese
On 18.03.19 08:51, Chris Packham wrote: Prior to commit 93b283d49f93 ("ARM: CPU: arm926ejs: Consolidate cache routines to common file") the kirkwood boards didn't have and dcache support. The network and usb drivers rely on this. Set CONFIG_SYS_DCACHE_OFF in the Kirkwood specific config.h.

Re: [U-Boot] [PATCH 00/11] Fix Ethernet boot in am335x

2019-03-19 Thread Faiz Abbas
Hi Tom, On 18/03/19 7:40 PM, Tom Rini wrote: > On Mon, Mar 18, 2019 at 01:54:30PM +0530, Faiz Abbas wrote: > >> The following patches fix ethernet boot in am335x. >> >> Enabling OF_CONTROL in SPL makes it overflow the sram size. To avoid >> this, I am using static platdata in the am335x board

[U-Boot] [PATCH v12 3/9] ARM: socfpga: Cleaning up and ensuring consistent format messages in driver

2019-03-19 Thread tien . fong . chee
From: Tien Fong Chee Ensure all the debug messages are always prefix with "FPGA: " and comment beginning with uppercase letter. Signed-off-by: Tien Fong Chee --- changes for v12 - Improved the commit messages. changes for v11 - No changes. changes for v10 - This patch was split out from

[U-Boot] [PATCH v12 4/9] ARM: socfpga: Moving the watchdog reset to the for-loop status polling

2019-03-19 Thread tien . fong . chee
From: Tien Fong Chee Ensure the watchdog is reset timely on each status polling. Signed-off-by: Tien Fong Chee --- changes for v12 - Improved the commit messages. changes for v11 - No changes. changes for v10 - This patch was split out from [PATCH v10 5/9] ARM: socfpga: Add FPGA drivers

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

2019-03-19 Thread tien . fong . chee
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. Signed-off-by: Tien Fong Chee --- changes for v12 - No changes.

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

2019-03-19 Thread tien . fong . chee
From: Tien Fong Chee Increasing Malloc pool size up to 0x15000 is required to support FAT in SPL . The result of calculation is come from after applying some few patches which are required for optimizing vfat and maximizing resusable of the memory pool, and then followed by the size required

[U-Boot] [PATCH v12 2/9] ARM: socfpga: Add default FPGA bitstream fitImage for Arria10 SoCDK

2019-03-19 Thread tien . fong . chee
From: Tien Fong Chee Add default fitImage file bundling FPGA bitstreams for Arria10. Signed-off-by: Tien Fong Chee --- changes for v12 - No changes. changes for v11 - Replaced core image node "-2" with "-1", the numeric associates the core and periph images in case where there are

Re: [U-Boot] [RFC 0/8] efi_loader: rework bootefi/bootmgr

2019-03-19 Thread AKASHI Takahiro
Heinrich, Do you have any comments, in particular, on patch#7 which is core part of my RFC? Thanks, -Takahiro Akashi On Tue, Mar 05, 2019 at 02:53:29PM +0900, AKASHI Takahiro wrote: > There are several reasons that I want to rework/refactor bootefi command > as well as bootmgr: > * Some

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

2019-03-19 Thread AKASHI Takahiro
Heinrich, On Fri, Mar 08, 2019 at 08:06:06AM +0100, Heinrich Schuchardt wrote: > On 3/8/19 2:29 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 1/1] efi_loader: correct parameter size in efi_allocate_pool

2019-03-19 Thread Heinrich Schuchardt
On 3/19/19 1:19 AM, Takahiro Akashi wrote: > On Mon, Mar 18, 2019 at 08:32:23PM +0100, Heinrich Schuchardt wrote: >> efi_allocate_pages() expects a (uint64_t *) pointer to pass the address of >> the assigned memory. If we pass the address of a pointer here, an illegal >> memory access occurs on

Re: [U-Boot] [PATCH v2] ARM: kirkwood: disable dcache for Kirkwood boards

2019-03-19 Thread Chris Packham
On Tue, 19 Mar 2019, 8:39 PM Stefan Roese, wrote: > > > On 18.03.19 08:51, Chris Packham wrote: > > Prior to commit 93b283d49f93 ("ARM: CPU: arm926ejs: Consolidate cache > > routines to common file") the kirkwood boards didn't have and dcache > > support. The network and usb drivers rely on

Re: [U-Boot] [PATCH 07/11] board: ti: am335x: Add platdata for cpsw in SPL

2019-03-19 Thread Faiz Abbas
Hi Tom, On 18/03/19 7:40 PM, Tom Rini wrote: > On Mon, Mar 18, 2019 at 01:54:37PM +0530, Faiz Abbas wrote: > >> The SPL image overflows when cpsw dt nodes are added and SPL_OF_CONTROL >> is enabled. Use static platdata instead to save space. >> >> Signed-off-by: Faiz Abbas > > We don't have

[U-Boot] [PATCH v12 5/9] ARM: socfpga: Add FPGA drivers for Arria 10 FPGA bitstream loading

2019-03-19 Thread tien . fong . chee
From: Tien Fong Chee Add FPGA driver to support program FPGA with FPGA bitstream loading from filesystem. The driver are designed based on generic firmware loader framework. The driver can handle FPGA program operation from loading FPGA bitstream in flash to memory and then to program FPGA.

[U-Boot] [PATCH v12 7/9] spl : socfpga: Implement fpga bitstream loading with socfpga loadfs

2019-03-19 Thread tien . fong . chee
From: Tien Fong Chee Add support for loading FPGA bitstream to get DDR up running before U-Boot is loaded into DDR. Boot device initialization, generic firmware loader and SPL FAT support are required for this whole mechanism to work. Signed-off-by: Tien Fong Chee --- changes for v12 - No

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

2019-03-19 Thread tien . fong . chee
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 v12 - No changes. changes for v11 - No changes. changes for v10 - No changes. changes for v9 - No changes. changes for

Re: [U-Boot] [ANN] U-Boot v2019.04-rc4 released

2019-03-19 Thread Anatolij Gustschin
Hi Tom, On Mon, 18 Mar 2019 21:15:50 -0400 Tom Rini tr...@konsulko.com wrote: > Hey all, > > So it's release day and I've put up v2019.04-rc4, I've updated git and > the tarballs are also up now. Thanks! ... > Right now I have outstanding changes in u-boot-socfpga and u-boot-usb to > apply.

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

2019-03-19 Thread tien . fong . chee
From: Tien Fong Chee This patch adds description on properties about file name used for both peripheral bitstream and core bitstream. Signed-off-by: Tien Fong Chee --- changes for v12 - No changes. changes for v11 - No changes. changes for v10 - No changes. changes for v9 - No changes.

[U-Boot] [PATCH v12 0/9] Add support for loading FPGA bitstream

2019-03-19 Thread tien . fong . chee
From: Tien Fong Chee This version mainly resolved comments from Dinh in [v11]. This series is working on top of u-boot.git http://git.denx.de/u-boot.git These patches are required before applying this series of patches 1. [U-Boot,v4] misc: fs_loader: Add support for initializing block device

Re: [U-Boot] [PATCH v3] usb: host: Print device name when scanning

2019-03-19 Thread Ismael Luceno Cortes
On 19/Mar/2019 02:14, Marek Vasut wrote: > On 3/18/19 2:21 PM, Ismael Luceno Cortes wrote: > > Drop the counter, it has no meaning other than being the order in which > > the interface is found; the name assigned to the USB host controller > > interface is a better indicator. > > > > Example of

Re: [U-Boot] [PATCH v2] ARM: kirkwood: disable dcache for Kirkwood boards

2019-03-19 Thread Stefan Roese
On 19.03.19 09:00, Chris Packham wrote: On Tue, 19 Mar 2019, 8:39 PM Stefan Roese, mailto:s...@denx.de>> wrote: On 18.03.19 08:51, Chris Packham wrote: > Prior to commit 93b283d49f93 ("ARM: CPU: arm926ejs: Consolidate cache > routines to common file") the kirkwood boards

Re: [U-Boot] [PATCH v3 0/3] Add Ethernet support for Poplar board

2019-03-19 Thread Shawn Guo
Hi Joe, On Sun, Mar 10, 2019 at 04:51:24PM +0800, Shawn Guo wrote: > The series adds Ethernet support for Poplar board. It firstly creates > a reset driver for HiSilicon platform, then introduces higmacv300 > Ethernet driver, and finally enables Ethernet support for Poplar board. > > Changes

Re: [U-Boot] [PATCH] misc: fs_loader: Replace label with DT phandle

2019-03-19 Thread Chee, Tien Fong
On Tue, 2019-03-19 at 09:22 +0800, Simon Glass wrote: > Hi Tien Fong, > > On Mon, 11 Mar 2019 at 12:28, Chee, Tien Fong om> wrote: > > > > > > On Sun, 2019-03-10 at 15:51 -0600, Simon Glass wrote: > > > > > > Hi Tien Fong, > > > > > > On Tue, 26 Feb 2019 at 05:37, Chee, Tien Fong > > el.c >

Re: [U-Boot] [PATCH] ti: am335x_evm: Enable CONFIG_SPL_OF_CONTROL

2019-03-19 Thread Faiz Abbas
Hi Tom, On 19/03/19 4:49 PM, Tom Rini wrote: > Enable support for SPL_OF_CONTROL on this platform. That means doing a > few things: > - Add u-boot,dm-pre-reloc to a number of nodes > - Drop static platdata in the board file. > - A lot of tweaks to the defconfig. We remove some things such as >

Re: [U-Boot] [PATCH] p2371-2180: Build position independent binary

2019-03-19 Thread Thierry Reding
On Mon, Mar 18, 2019 at 12:31:32PM -0600, Stephen Warren wrote: > On 3/8/19 1:10 PM, Thierry Reding wrote: > > From: Thierry Reding > > > > In order to support chainloading of U-Boot by an earlier bootloader, > > make sure the binary is position independent, so that the earlier boot- > > loader

Re: [U-Boot] [PATCH 10/10] ddr: altera: Stratix10: Add ECC memory scrubbing

2019-03-19 Thread Marek Vasut
On 3/19/19 10:49 AM, Ley Foon Tan wrote: > On Tue, Mar 19, 2019 at 5:39 PM Marek Vasut wrote: >> >> On 3/19/19 4:14 AM, Ley Foon Tan wrote: >>> On Tue, Mar 12, 2019 at 7:03 PM Marek Vasut wrote: On 3/12/19 9:31 AM, Ley Foon Tan wrote: > Scrub memory content if ECC is enabled and it

Re: [U-Boot] [PATCH] ARM: mvebu: use correct name for pcie controller

2019-03-19 Thread Stefan Roese
On 16.03.19 08:46, Chris Packham wrote: When armada-385.dtsi was sync'd from Linux the name of the node describing the pcie controller was changed from pcie-controller to pcie. Some of the boards that include armada-385.dtsi were missed in the update retaining the old name. This updates the

Re: [U-Boot] [PATCH] ARM: mvebu: db-88f6820-amc: enable SPI_FLASH_BAR

2019-03-19 Thread Stefan Roese
On 02.03.19 08:45, Chris Packham wrote: This board uses Micron N25Q256A SPI flash. Enable SPI_FLASH_BAR to allow us to access the whole chip. Signed-off-by: Chris Packham Cc: Vignesh R Applied to u-boot-marvell/master. Thanks, Stefan ___ U-Boot

[U-Boot] [PATCH 1/3] arm64: zynqmp: Add spi-flash compatible string to flash node

2019-03-19 Thread Michal Simek
From: Siva Durga Prasad Paladugu spi-flash compatible string is needed for reading tx and rx bus widths, hence add this compatible string to flash node. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-mini-qspi.dts | 2 +- 1 file changed, 1

Re: [U-Boot] [PATCH] pci: pci_mvebu: Add comment about missing of_n_addr_cells() call

2019-03-19 Thread Stefan Roese
On 11.02.19 07:53, Stefan Roese wrote: This patch adds a comment to explain the use of the hardcoded value for the number of address cells in mvebu_get_tgt_attr(). This should help to rework this function, once CONFIG_OF_LIVE is enabled for MVEBU in general. Signed-off-by: Stefan Roese Cc: Bin

Re: [U-Boot] [PATCH] ARM: kirkwood: add spi0 alias for dreamplug

2019-03-19 Thread Stefan Roese
On 28.02.19 08:53, Chris Packham wrote: The conversion to DM_SPI managed to break accessing the environment on dreamplug. This is because the environment code relies on being to able to select the SPI device based on the sequence number. Add an alias so that the spi0 bus gets sequence number 0.

Re: [U-Boot] [PATCH] MAINTAINERS: Update u-boot-marvell entry

2019-03-19 Thread Stefan Roese
On 15.02.19 13:56, Stefan Roese wrote: This patch does the following changes to the u-boot-marvell maintainers entry: - Add Armada-7k/8k to the list - Remove Prafulla and Luka since they have been silent on the list for a long time. Please speak up, if you would like to continue or better

Re: [U-Boot] [PATCH] configs/clearfog_gt_8k: add network interface support

2019-03-19 Thread Stefan Roese
On 11.02.19 13:19, Baruch Siach wrote: Enable the mvpp2 network driver for the Armada 8K SoC. Enable the Marvell PHY driver for the on-board 1512 PHY. Signed-off-by: Baruch Siach Applied to u-boot-marvell/master. Thanks, Stefan ___ U-Boot mailing

Re: [U-Boot] [PATCH] ARM: mvebu: set CONFIG_SYS_MALLOC_F_LEN to 0x2000

2019-03-19 Thread Stefan Roese
On 01.03.19 02:30, Chris Packham wrote: Set CONFIG_SYS_MALLOC_F_LEN to match the rest of the mvebu boards. The default of 0x400 is not enough when booting from SPI. Signed-off-by: Chris Packham Applied to u-boot-marvell/master. Thanks, Stefan ___

Re: [U-Boot] [PATCH v2] ARM: kirkwood: disable dcache for Kirkwood boards

2019-03-19 Thread Stefan Roese
On 18.03.19 08:51, Chris Packham wrote: Prior to commit 93b283d49f93 ("ARM: CPU: arm926ejs: Consolidate cache routines to common file") the kirkwood boards didn't have and dcache support. The network and usb drivers rely on this. Set CONFIG_SYS_DCACHE_OFF in the Kirkwood specific config.h.

Re: [U-Boot] [PATCH] hikey: Take peripherals out of reset during board init

2019-03-19 Thread Peter Griffin
Hi Mani, This looks like a bug in the Linux kernel. The kernel driver should be correctly handling the reset lines of the I2C or SPI peripheral rather than replying on the bootloader to have already taken it out of reset. Peter. On Fri, 8 Mar 2019 at 08:57, Manivannan Sadhasivam <

[U-Boot] [PATCH 1/1] efi_loader: endless loop in add_strings_package()

2019-03-19 Thread Heinrich Schuchardt
Avoid an endless loop in add_strings_package(). Fixes Coverity CID 185833 Suggested-by: Takahiro Akashi Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_hii.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/efi_loader/efi_hii.c b/lib/efi_loader/efi_hii.c

Re: [U-Boot] [PATCH 1/2] mv_ddr: ddr3: fix tRAS timimg parameter

2019-03-19 Thread Stefan Roese
On 28.02.19 22:11, Chris Packham wrote: From: Chris Packham Based on the JEDEC standard JESD79-3F. The tRAS timings should include the highest speed bins at a given frequency. This is similar to commit 683c67b ("mv_ddr: ddr3: fix tfaw timimg parameter") where the wrong comparison was used in

Re: [U-Boot] [PATCH 2/2] mv_ddr: ddr3: only use active chip-selects when tuning ODT

2019-03-19 Thread Stefan Roese
On 28.02.19 22:11, Chris Packham wrote: From: Chris Packham Inactive chip-selects will give invalid values for read_sample so don't consider them when trying to determine the overall min/max read sample. Signed-off-by: Chris Packham

[U-Boot] Please pull u-boot-marvell/master

2019-03-19 Thread Stefan Roese
Hi Tom, please pull the following Marvell related patches, mostly fixes which should go into the upcoming release: - Enable network interface on clearfog_gt_8k (Baruch) - Fix dreamplug boot by adding an spi0 alias to the DT

[U-Boot] [PATCH 2/3] arm64: zynqmp: Define label for flash node

2019-03-19 Thread Michal Simek
From: Siva Durga Prasad Paladugu Define a label for flash node so that it can be referenced easily as required. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-mini-qspi.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 3/3] arm64: xilinx: zynqmp: Remove unneeded configs

2019-03-19 Thread Michal Simek
From: Siva Durga Prasad Paladugu Remove unneeded configs from mini qspi configuration so that it saves space for this mini configuration. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_mini_qspi_defconfig | 2 ++ 1 file changed, 2

Re: [U-Boot] [PATCH v2] ARM: kirkwood: disable dcache for Kirkwood boards

2019-03-19 Thread Leigh Brown
Hi Stefan, On 2019-03-19 08:04, Stefan Roese wrote: On 19.03.19 09:00, Chris Packham wrote: On Tue, 19 Mar 2019, 8:39 PM Stefan Roese, > wrote: On 18.03.19 08:51, Chris Packham wrote: > Prior to commit 93b283d49f93 ("ARM: CPU: arm926ejs: Consolidate cache

Re: [U-Boot] [PATCH v2] ARM: kirkwood: disable dcache for Kirkwood boards

2019-03-19 Thread Stefan Roese
Hi Leigh, On 19.03.19 10:29, Leigh Brown wrote: While collecting the queued fixes for the upcoming release, I do have one question regarding this Kirkwood cache issue (I don't have such a board here, so I can't test anything): Do we need this patch applied [1], if the

Re: [U-Boot] Odroid U3 - Upgrade to latest u-boot kernel load fails.

2019-03-19 Thread Anand Moon
Hi Krzysztof, On Tue, 19 Mar 2019 at 01:54, Anand Moon wrote: > > Hi Krzysztof, > > On Mon, 18 Mar 2019 at 23:33, Krzysztof Kozlowski wrote: > > > > On Mon, 18 Mar 2019 at 18:49, Anand Moon wrote: > > > > > > Hi Krzysztof, > > > > > > On Mon, 18 Mar 2019 at 18:20, Krzysztof Kozlowski wrote:

[U-Boot] [PATCH] rsa: check that pointer checksum isn't NULL before using it

2019-03-19 Thread Philippe Reynes
The pointer checksum were used before checking that it isn't NULL. We move the code that use it after the check. Reported-by: Coverity (CID: 185835) Signed-off-by: Philippe Reynes --- lib/rsa/rsa-verify.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/rsa/rsa-verify.c

[U-Boot] [PATCHv2 1/2] ti: keystone2: Move CONFIG_ISW_ENTRY_ADDR to a common place

2019-03-19 Thread Tom Rini
The ISW_ENTRY_ADDR Kconfig option under mach-omap2 isn't a SoC specific notion but rather "where is our previous stage loaded in memory?" option. Make use of this on ARCH_KEYSTONE rather than SPL_TEXT_BASE for our HS builds that are not using SPL anyhow. Cc: Vitaly Andrianov Cc: Andrew F. Davis

[U-Boot] [PATCH] ti: am335x_evm: Enable CONFIG_SPL_OF_CONTROL

2019-03-19 Thread Tom Rini
Enable support for SPL_OF_CONTROL on this platform. That means doing a few things: - Add u-boot,dm-pre-reloc to a number of nodes - Drop static platdata in the board file. - A lot of tweaks to the defconfig. We remove some things such as SPL_USE_ARCH_MEMCPY/SET for space. Increase our malloc

[U-Boot] [PATCH v4] usb: host: Print device name when scanning

2019-03-19 Thread Ismael Luceno Cortes
Drop the counter, it has no meaning other than being the order in which the interface is found; the name assigned to the USB host controller interface is a better indicator. Example of the original output: > USB0: USB EHCI 1.10 > scanning bus 0 for devices... 2 USB Device(s) found >

Re: [U-Boot] [PATCH v3] usb: host: Print device name when scanning

2019-03-19 Thread Marek Vasut
On 3/19/19 10:01 AM, Ismael Luceno Cortes wrote: > On 19/Mar/2019 02:14, Marek Vasut wrote: >> On 3/18/19 2:21 PM, Ismael Luceno Cortes wrote: >>> Drop the counter, it has no meaning other than being the order in which >>> the interface is found; the name assigned to the USB host controller >>>

Re: [U-Boot] [PATCH v3 3/7] common: Implement A/B metadata

2019-03-19 Thread Eugeniu Rosca
Hi Praneeth, Igor, On Mon, Mar 18, 2019 at 04:20:16PM -0500, Bajjuri, Praneeth wrote: > Eugeniu, [..] > Not a glitch, Igor's linaro email id is no longer active. He might respond > with updated email > address soon. Great news. Looking forward for v4 of this series. Many thanks, Eugeniu.

[U-Boot] [PATCH 2/9] riscv: Add a SYSCON driver for Andestech's PLIC

2019-03-19 Thread Andes
From: Rick Chen The Platform-Level Interrupt Controller(PLIC) block holds memory-mapped claim and pending registers associated with software interrupt.It is required for handling IPI. Signed-off-by: Rick Chen Cc: Greentime Hu --- arch/riscv/Kconfig | 9

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

2019-03-19 Thread Andes
From: Rick Chen This patch series was based on Lukas's patchsets of SMP support for RISC-V. Add Andestech's PLIC for IPI handling and PLMT to replace Soc timer. It has been verified on AE350 SMP platform in M-mode and boot SMP kernel ok. Verification in S-mode is still on-going. Rick Chen (9):

[U-Boot] [PATCH 4/9] riscv: ae350: initialize PLIC

2019-03-19 Thread Andes
From: Rick Chen Initialize PLIC when ae350 board startup. Signed-off-by: Rick Chen Cc: Greentime Hu --- board/AndesTech/ax25-ae350/ax25-ae350.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/board/AndesTech/ax25-ae350/ax25-ae350.c

[U-Boot] [PATCH 1/9] riscv: ax25: Create a simple-bus driver for the soc node

2019-03-19 Thread Andes
From: Rick Chen To enumerate devices on the /soc/ node, create a "simple-bus" driver to match "andestech,riscv-ae350-soc". Signed-off-by: Rick Chen Cc: Greentime Hu --- arch/riscv/cpu/ax25/cpu.c | 16 1 file changed, 16 insertions(+) diff --git a/arch/riscv/cpu/ax25/cpu.c

[U-Boot] [PATCH 8/9] riscv: dts: ae350 support SMP.

2019-03-19 Thread Andes
From: Rick Chen Signed-off-by: Rick Chen Cc: Greentime Hu --- arch/riscv/dts/ae350_32.dts | 81 + arch/riscv/dts/ae350_64.dts | 47 +++--- 2 files changed, 101 insertions(+), 27 deletions(-) diff --git

[U-Boot] [PATCH 5/9] riscv: ae350: disable ATCPIT100 timer

2019-03-19 Thread Andes
From: Rick Chen Disable ATCPIT100 SoC timer and replace by PLMT. Signed-off-by: Rick Chen Cc: Greentime Hu --- configs/ae350_rv32_defconfig | 1 - configs/ae350_rv64_defconfig | 1 - 2 files changed, 2 deletions(-) diff --git a/configs/ae350_rv32_defconfig b/configs/ae350_rv32_defconfig

[U-Boot] [PATCH 7/9] riscv: ax25: Andes specific cache shall only support in M-mode.

2019-03-19 Thread Andes
From: Rick Chen Limit the cache configuration only can be supported in M mode. It can not be manipulated in S mode. Signed-off-by: Rick Chen Cc: Greentime Hu --- arch/riscv/cpu/ax25/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/cpu/ax25/Kconfig

[U-Boot] [PATCH 3/9] riscv: Add a SYSCON driver for Andestech's PLMT

2019-03-19 Thread Andes
From: Rick Chen The platform-Level Machine Timer(PLMT) block holds memory-mapped mtime register associated with timer tick. This driver implements the riscv_get_time()which are required by the generic RISC-V timer driver. Signed-off-by: Rick Chen Cc: Greentime Hu --- arch/riscv/Kconfig

[U-Boot] [PATCH 6/9] riscv: ax25: Add platform-specific Kconfig options

2019-03-19 Thread Andes
From: Rick Chen Add ax25 RISC-V platform-specific Kconfig options, to include CPU and timer drivers. Signed-off-by: Rick Chen Cc: Greentime Hu --- arch/riscv/cpu/ax25/Kconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/riscv/cpu/ax25/Kconfig b/arch/riscv/cpu/ax25/Kconfig

Re: [U-Boot] [PATCH 10/10] ddr: altera: Stratix10: Add ECC memory scrubbing

2019-03-19 Thread Marek Vasut
On 3/19/19 4:14 AM, Ley Foon Tan wrote: > On Tue, Mar 12, 2019 at 7:03 PM Marek Vasut wrote: >> >> On 3/12/19 9:31 AM, Ley Foon Tan wrote: >>> Scrub memory content if ECC is enabled and it is not >>> from warm reset boot. >>> >>> Enable icache and dcache before scrub memory >>> and use "DC ZVA"

Re: [U-Boot] [PATCH 01/10] ddr: altera: stratix10: Move SDRAM size check to SDRAM driver

2019-03-19 Thread Marek Vasut
On 3/19/19 4:26 AM, Ley Foon Tan wrote: > On Tue, Mar 12, 2019 at 7:03 PM Marek Vasut wrote: >> >> On 3/12/19 9:31 AM, Ley Foon Tan wrote: >>> Move SDRAM size check to SDRAM driver. sdram_calculate_size() >>> is called in SDRAM initialization already, avoid calling >>> twice in size check

Re: [U-Boot] [PATCH 01/10] ddr: altera: stratix10: Move SDRAM size check to SDRAM driver

2019-03-19 Thread Ley Foon Tan
On Tue, Mar 19, 2019 at 5:39 PM Marek Vasut wrote: > > On 3/19/19 4:26 AM, Ley Foon Tan wrote: > > On Tue, Mar 12, 2019 at 7:03 PM Marek Vasut wrote: > >> > >> On 3/12/19 9:31 AM, Ley Foon Tan wrote: > >>> Move SDRAM size check to SDRAM driver. sdram_calculate_size() > >>> is called in SDRAM

Re: [U-Boot] [PATCH 10/10] ddr: altera: Stratix10: Add ECC memory scrubbing

2019-03-19 Thread Ley Foon Tan
On Tue, Mar 19, 2019 at 5:39 PM Marek Vasut wrote: > > On 3/19/19 4:14 AM, Ley Foon Tan wrote: > > On Tue, Mar 12, 2019 at 7:03 PM Marek Vasut wrote: > >> > >> On 3/12/19 9:31 AM, Ley Foon Tan wrote: > >>> Scrub memory content if ECC is enabled and it is not > >>> from warm reset boot. > >>> >

Re: [U-Boot] [PATCH 05/10] board: altera: Stratix10: Add board_get_usable_ram_top()

2019-03-19 Thread Ley Foon Tan
On Tue, Mar 12, 2019 at 10:40 PM Marek Vasut wrote: > > On 3/12/19 3:33 PM, Westergreen, Dalon wrote: > > On Tue, 2019-03-12 at 11:46 +0100, Marek Vasut wrote: > >> On 3/12/19 9:31 AM, Ley Foon Tan wrote: > >>> Add board_get_usable_ram_top() function. Limit maximum usable > >>> ram top to 2GB. >

Re: [U-Boot] [PATCH 06/10] board: altera: Stratix10: Add ft_board_setup()

2019-03-19 Thread Ley Foon Tan
On Tue, Mar 12, 2019 at 7:03 PM Marek Vasut wrote: > > On 3/12/19 9:31 AM, Ley Foon Tan wrote: > > Add ft_board_setup() function to setup memory banks before > > boot to Linux. > > Shouldn't bootm/booti be doing just that already ? Don't need this if we use fdtdec_setup_memory_banksize(). > > >

[U-Boot] [PATCH] ARM: HYP/non-sec: Don't enable ARMV7_LPAE for old sunxi kernels

2019-03-19 Thread Jonathan Liu
Old sunxi kernels fail to boot with ARMV7_LPAE enabled. Signed-off-by: Jonathan Liu --- arch/arm/cpu/armv7/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/Kconfig b/arch/arm/cpu/armv7/Kconfig index 73d57a2aae..cdb7e402b4 100644 ---

Re: [U-Boot] [PATCH v2] arm: fix hvc call

2019-03-19 Thread Ibai Erkiaga Elorza
Hi Tom > -Original Message- > From: Tom Rini > Sent: 15 March 2019 16:08 > To: Ibai Erkiaga Elorza > Cc: Alexander Graf ; u-boot@lists.denx.de; Sumit Garg > ; Heinrich Schuchardt ; Albert > Aribaud > Subject: Re: [U-Boot][PATCH v2] arm: fix hvc call > > On Fri, Mar 15, 2019 at

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

2019-03-19 Thread Andes
From: Rick Chen Signed-off-by: Rick Chen Cc: Greentime Hu --- board/AndesTech/ax25-ae350/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/board/AndesTech/ax25-ae350/Kconfig b/board/AndesTech/ax25-ae350/Kconfig index 44cb302..5e682b6 100644 --- a/board/AndesTech/ax25-ae350/Kconfig

Re: [U-Boot] [PATCH 01/10] ddr: altera: stratix10: Move SDRAM size check to SDRAM driver

2019-03-19 Thread Marek Vasut
On 3/19/19 10:46 AM, Ley Foon Tan wrote: > On Tue, Mar 19, 2019 at 5:39 PM Marek Vasut wrote: >> >> On 3/19/19 4:26 AM, Ley Foon Tan wrote: >>> On Tue, Mar 12, 2019 at 7:03 PM Marek Vasut wrote: On 3/12/19 9:31 AM, Ley Foon Tan wrote: > Move SDRAM size check to SDRAM driver.

Re: [U-Boot] [PATCH 01/10] ddr: altera: stratix10: Move SDRAM size check to SDRAM driver

2019-03-19 Thread Ley Foon Tan
On Tue, Mar 12, 2019 at 7:03 PM Marek Vasut wrote: > > On 3/12/19 9:31 AM, Ley Foon Tan wrote: > > Move SDRAM size check to SDRAM driver. sdram_calculate_size() > > is called in SDRAM initialization already, avoid calling > > twice in size check function. > > > > Signed-off-by: Ley Foon Tan > >

Re: [U-Boot] [PATCH 10/10] ddr: altera: Stratix10: Add ECC memory scrubbing

2019-03-19 Thread Ley Foon Tan
On Tue, Mar 12, 2019 at 7:03 PM Marek Vasut wrote: > > On 3/12/19 9:31 AM, Ley Foon Tan wrote: > > Scrub memory content if ECC is enabled and it is not > > from warm reset boot. > > > > Enable icache and dcache before scrub memory > > and use "DC ZVA" instruction to clear memory > > to zeros.

Re: [U-Boot] [PATCH] ARM: kirkwood: remove obsolete call to icache_enable

2019-03-19 Thread Stefan Roese
On 19.03.19 15:50, Leigh Brown wrote: Commit 93b283d49f93 ("ARM: CPU: arm926ejs: Consolidate cache routines to common file") changed cache setup for Kirkwood such that icache_enable() is now called from enable_caches() which is called from initr_caches() which is in the list of functions in

Re: [U-Boot] UCLASS_MISC bug

2019-03-19 Thread Jean-Jacques Hiblot
+ Simon Glass Hi Serguey, On 15/03/2019 22:55, Sergey Kubushyn wrote: I would like to point that this was not a very good idea: === Cut === --- uboot-imx-next/drivers/misc/misc-uclass.c    2018-12-20 20:35:22.505180339 -0800 +++ u-boot-imx/drivers/misc/misc-uclass.c    2019-03-13

[U-Boot] [PATCH] spl: spl_nand.c: Add NAND loading message

2019-03-19 Thread Stefan Roese
This patch adds a short message to the SPL NAND loader, which displays the source and destinations addresses including the size of the loaded image, like this: U-Boot SPL 2019.04-rc3-00113-g486efd8aaf (Mar 15 2019 - 14:18:02 +0100) Trying to boot from NAND Loading U-Boot from 0x0004 (size

Re: [U-Boot] [PATCH 1/3] thermal: Add multiple instance support

2019-03-19 Thread keerthy
On 3/19/2019 6:53 AM, Simon Glass wrote: Hi Keerthy, On Mon, 11 Mar 2019 at 14:13, Keerthy wrote: Currently single instance temperature read out is supported. Enhance the same to support multiple instances. Signed-off-by: Keerthy --- arch/arm/mach-imx/cpu.c | 2 +-

[U-Boot] [PATCH] ARM: kirkwood: remove obsolete call to icache_enable

2019-03-19 Thread Leigh Brown
Commit 93b283d49f93 ("ARM: CPU: arm926ejs: Consolidate cache routines to common file") changed cache setup for Kirkwood such that icache_enable() is now called from enable_caches() which is called from initr_caches() which is in the list of functions in init_sequence_r[] prior to

Re: [U-Boot] [PATCH] ti: am335x_evm: Enable CONFIG_SPL_OF_CONTROL

2019-03-19 Thread Tom Rini
On Tue, Mar 19, 2019 at 05:01:42PM +0530, Faiz Abbas wrote: > Hi Tom, > > On 19/03/19 4:49 PM, Tom Rini wrote: > > Enable support for SPL_OF_CONTROL on this platform. That means doing a > > few things: > > - Add u-boot,dm-pre-reloc to a number of nodes > > - Drop static platdata in the board

[U-Boot] [PATCH] ARM: meson: display Amlogic SoC Information

2019-03-19 Thread Julien Masson
The Amlogic SoCs have a registers containing the die revision and packaging type to determine the SoC family and package marketing name like S905X for the GXL SoC Family. This code is taken from the Linux meson-gx-socinfo driver and adapted to U-Boot printing. Signed-off-by: Julien Masson ---

Re: [U-Boot] [PATCH v2 15/15] ARM: tegra: Add NVIDIA Jetson Nano Developer Kit support

2019-03-19 Thread Stephen Warren
On 3/18/19 5:24 PM, Thierry Reding wrote: From: Thierry Reding The Jetson Nano Developer Kit is a Tegra X1 based development board. It is similar to Jetson TX1 but it is not pin compatible. It features 4 GB of LPDDR4, an SPI NOR flash for early boot firmware and an SD card slot used for

[U-Boot] [PATCH 1/1] efi_loader: missing return in efi_get_next_variable_name()

2019-03-19 Thread Heinrich Schuchardt
Add a missing return statement in efi_get_next_variable_name(). Fixes Coverity CID 185834 Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_variable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efi_loader/efi_variable.c b/lib/efi_loader/efi_variable.c index

[U-Boot] [PATCH 1/1] efi_loader: memory leak in efi_dump_single_var()

2019-03-19 Thread Heinrich Schuchardt
A misplaced return statement lead to a memory leak in efi_dump_single_var(). Fixes Coverity CID 185829 Signed-off-by: Heinrich Schuchardt --- cmd/nvedit_efi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/nvedit_efi.c b/cmd/nvedit_efi.c index ca32566a615..e65b38dbf39 100644 ---

[U-Boot] [PATCH 04/11] watchdog: Handle SPL build with watchdog disabled

2019-03-19 Thread Stefan Roese
This patch adds some checks, so that the watchdog can be enabled in main U-Boot proper but can be disabled in SPL. This will be used by some AT91SAM based boards, which might enable the watchdog in the main U-Boot proper and not in SPL. It will be enabled in SPL by default there, so no need to

  1   2   >