Re: [U-Boot] [PATCH v2] mmc: sdhci: Fix MMC HS200 tuning command failures

2018-06-13 Thread Masahiro Yamada
2018-06-13 15:20 GMT+09:00 Michal Simek : > From: Siva Durga Prasad Paladugu > > This patch fixes the mmc tuning command failures > when tuning pattern data needs to read back for > comparision against the expected bit pattern. > > Reported-by: Masahiro Yamada > Signed-off-by: Siva Durga Prasad P

[U-Boot] [PATCH] gpio: zynq: Do not check unsigned type that is >= 0

2018-06-13 Thread Michal Simek
There is no reason to check that unsigned type that is >= 0. Signed-off-by: Michal Simek --- drivers/gpio/zynq_gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/zynq_gpio.c b/drivers/gpio/zynq_gpio.c index 4cb75a862780..804ddbd4983b 100644 --- a/drivers/gpi

Re: [U-Boot] [PATCH V4 1/2] ARM: image: Add option for ignoring ep bit 3

2018-06-13 Thread Bin Chen
On 13 June 2018 at 14:13, Marek Vasut wrote: > Add option to the booti_setup() which indicates to it that the caller > requires the image to be relocated to the beginning of the RAM and > that the information whether the image can be located anywhere in RAM > at 2 MiB aligned boundary or not is t

[U-Boot] [PATCH] mmc: zynq: Fix tuning_loop_counter type in arasan_sdhci_execute_tuning()

2018-06-13 Thread Michal Simek
Code around tuning_loop_counter variable expects to go below zero. That's why this variable can't use unsigned type. Signed-off-by: Michal Simek --- drivers/mmc/zynq_sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c i

Re: [U-Boot] sun50i: h5: Add initial Orange Pi Zero Plus support

2018-06-13 Thread Maxime Ripard
On Sat, Jun 09, 2018 at 06:34:46PM +0200, Hauke Mehrtens wrote: > Orange Pi Zero Plus is an open-source single-board computer > using the Allwinner H5 SOC. > > H5 Orangepi Zero Plus has > - Quad-core Cortex-A53 > - 512MB DDR3 > - micrSD slot > - 16MBit SPI Nor flash > - Debug TTL UART > - 1G

Re: [U-Boot] sun8i: h2: Add initial Orange Pi R1 support

2018-06-13 Thread Maxime Ripard
On Sat, Jun 09, 2018 at 06:33:37PM +0200, Hauke Mehrtens wrote: > Orange Pi R1 is an open-source single-board computer using the > Allwinner H2+ SOC. > > H2+ Orange Pi R1 has > - Quad-core Cortex-A7 > - 256MB DDR3 > - micrSD slot > - 128MBit SPI Nor flash > - Debug TTL UART > - 100MBit/s Eth

[U-Boot] [PATCH] common/memsize.c: Increase save array for supporting memory size > 4GB

2018-06-13 Thread tien . fong . chee
From: Tien Fong Chee In ARM 64-bits, memory size can be supported is more than 4GB, hence increasing save array is needed to cope with testing larger memory. Signed-off-by: Tien Fong Chee --- common/memsize.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/mems

[U-Boot] [PATCH] arm64: zynqmp: Check return value from calloc

2018-06-13 Thread Michal Simek
calloc() can fail and return NULL. The patch is checking return value and return in case of error. Signed-off-by: Michal Simek --- board/xilinx/zynqmp/zynqmp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index 3e8edb81109a..6

Re: [U-Boot] [PATCH V4 2/2] bootm: Handle kernel_noload on arm64

2018-06-13 Thread Bin Chen
On 13 June 2018 at 14:13, Marek Vasut wrote: > The ARM64 has 2 MiB alignment requirement for the kernel. When using > fitImage, this requirement may by violated, the kernel will thus be > executed from unaligned address and fail to boot. Do what booti does > and run booti_setup() for kernel_noloa

[U-Boot] [PATCH] net: zynq_gem: Fix return type for phy...()

2018-06-13 Thread Michal Simek
wait_for_bit_le32 returns negative value on failure. Fix phy...() to handle these failures properly. Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index a218c9231

Re: [U-Boot] [PATCH v2 4/5] lib: Import hexdump.c from Linux

2018-06-13 Thread Mario Six
Hi Alexey, On Mon, Jun 4, 2018 at 6:05 PM, Alexey Brodkin wrote: > Hi Mario, > > On Wed, 2018-05-23 at 14:09 +0200, Mario Six wrote: >> Especially for commands, it is useful to be able to turn a hexadecimal >> string into its binary representation. >> >> Hence, import the hex_to_bin, bin2hex, and

Re: [U-Boot] [PATCH v2 1/4] core: Add functions to set properties in live-tree

2018-06-13 Thread Mario Six
Hi Simon, On Fri, May 4, 2018 at 11:37 PM, Simon Glass wrote: > Hi Mario, > > On 4 May 2018 at 01:14, Mario Six wrote: >> Hi Simon, >> >> On Tue, May 1, 2018 at 1:13 AM, Simon Glass wrote: >>> Hi Mario, >>> >>> On 27 April 2018 at 06:51, Mario Six wrote: Implement a set of functions

[U-Boot] [PATCH] net: zynq_gem: Initialize phyreg variable

2018-06-13 Thread Michal Simek
In case of phyread()/phy_setup_op() timeout code is working with uninitialized phyreg variable. Initialize this variable to make sure that code it not working with random value. Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --

[U-Boot] [PATCH] arm64: zynqmp: Check return value in zynqmp_mmio_rawwrite()

2018-06-13 Thread Michal Simek
There should be return value check from zynqmp_mmio_read() in zynqmp_mmio_rawwrite() to make sure that errors are propagated properly. Signed-off-by: Michal Simek --- arch/arm/cpu/armv8/zynqmp/cpu.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv8/zynq

Re: [U-Boot] [PATCH 1/2] net: Add option to prefer bootp/dhcp serverip

2018-06-13 Thread Rick Chen
2018-06-13 9:42 GMT+08:00 Rick Chen : > 2018-06-13 3:59 GMT+08:00 Joe Hershberger : >> On Wed, Jun 6, 2018 at 8:54 PM, Rick Chen wrote: From: Alexander Graf [mailto:ag...@suse.de] Sent: Wednesday, June 06, 2018 8:32 PM To: u-boot@lists.denx.de Cc: Rick Jian-Zhi Chen(陳建志); Joe H

Re: [U-Boot] [PATCH v2 2/3] mpc83xx/pci: Register IMMR region

2018-06-13 Thread Mario Six
Hi Simon, On Fri, May 4, 2018 at 11:37 PM, Simon Glass wrote: > Hi Mario, > > On 4 May 2018 at 02:15, Mario Six wrote: >> Hi Simon, >> >> On Thu, May 3, 2018 at 9:02 PM, Simon Glass wrote: >>> Hi Mario, >>> >>> On 27 April 2018 at 06:53, Mario Six wrote: Register the IMMR region as a PCI

Re: [U-Boot] [PATCH v3 1/3] misc: docs: Fix comments in misc.h

2018-06-13 Thread Mario Six
Hi Simon, On Wed, May 30, 2018 at 9:18 PM, Simon Glass wrote: > Hi Mario, > > On 28 May 2018 at 07:01, Mario Six wrote: >> Hi Simon, >> >> On Fri, May 25, 2018 at 4:41 AM, Simon Glass wrote: >>> +Marex >>> >>> Hi Mario, >>> >>> On 23 May 2018 at 08:07, Mario Six wrote: The comments in mis

Re: [U-Boot] [PATCH v4 4/4] tools: zynqmpimage: Add bif support

2018-06-13 Thread Alexander Graf
Hi Peter, I'm not sure how much documentation you want. Basically mkimage becomes a replacement for bootgen in any official Xilinx documentation. So any Xilinx wiki like http://www.wiki.xilinx.com/Prepare+boot+image or even the official .bif documentation: https://www.xilinx.com/support/docu

Re: [U-Boot] [RFC PATCH 0/2] ARM: v7: Enable basic framework for supporting bits for CVE-2017-5715

2018-06-13 Thread Russell King - ARM Linux
On Tue, Jun 12, 2018 at 04:58:34PM -0500, Nishanth Menon wrote: > On 21:40-20180612, Russell King - ARM Linux wrote: > [...] > > > I started respinning the series, while there is definitely a use of > > > implementing in u-boot, > > > I am starting to wonder if we should also be doing this in kerne

Re: [U-Boot] [PATCH v5 10/13] efi: sandbox: Add a simple 'bootefi test' command

2018-06-13 Thread Alexander Graf
On 12.06.18 23:57, Simon Glass wrote: > Hi Alex, > > On 12 June 2018 at 08:11, Alexander Graf wrote: >> >> >> On 12.06.18 15:48, Simon Glass wrote: >>> Hi Alex, >>> >>> On 12 June 2018 at 02:28, Alexander Graf wrote: On 12.06.18 07:26, Simon Glass wrote: > This jumps to test

Re: [U-Boot] [PATCH v5 04/13] sandbox: smbios: Update to support sandbox

2018-06-13 Thread Alexander Graf
On 12.06.18 23:56, Simon Glass wrote: > Hi Alex, > > On 12 June 2018 at 08:05, Alexander Graf wrote: >> >> >> On 12.06.18 15:48, Simon Glass wrote: >>> Hi Alex, >>> >>> On 12 June 2018 at 02:12, Alexander Graf wrote: On 12.06.18 07:26, Simon Glass wrote: > At present this co

Re: [U-Boot] [PATCH v2 02/13] efi.h: Do not use config options

2018-06-13 Thread Alexander Graf
On 13.06.18 03:29, Simon Glass wrote: > Hi Bin, Alex, > > On 12 June 2018 at 09:36, Bin Meng wrote: >> From: Alexander Graf >> >> Currently efi.h determines a few bits of its environment according to >> config options. This falls apart with the efi stub support which may >> result in efi.h get

Re: [U-Boot] [PATCH RESEND 1/2] rockchip: make_fit_atf: use elf entry point

2018-06-13 Thread Mian Yousaf Kaukab
On 06/13/2018 08:45 AM, Kever Yang wrote: Hi Yousaf,     You patch looks good, but I don't know why the script always work for me, and I don't met the abort, where do you get the BL31? I am building it with the following command line: make -j4 CROSS_COMPILE=aarch64-linux-gnu- PLAT=rk3399 DEBU

Re: [U-Boot] [PATCH] MAINTAINERS: update ARM Snapdragon

2018-06-13 Thread Mateusz Kulikowski
Hi, On 06/10/2018 01:51 PM, Ramon Fried wrote: Replace Mateusz as Maintainer for ARM Snapdragon arch. Signed-off-by: Ramon Fried --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 642c448093..b2c9717cb7 100644 --- a/MAINTAINER

Re: [U-Boot] [PATCH V4 2/2] bootm: Handle kernel_noload on arm64

2018-06-13 Thread Marek Vasut
On 06/13/2018 09:51 AM, Bin Chen wrote: > > > On 13 June 2018 at 14:13, Marek Vasut > wrote: > > The ARM64 has 2 MiB alignment requirement for the kernel. When using > fitImage, this requirement may by violated, the kernel will thus be > executed from u

Re: [U-Boot] T1040RDB u-boot chain load u-boot

2018-06-13 Thread Radu-andrei Bulie
Hi, The u-boot-spl.bin (written in nand) loads the u-boot.bin which was previously written in nand. When the board boots, this process is transparent to you. (The address for the u-boot.bin in nand is 0x4). The load process is done through the spl routines that are used by the u-boot-spl.b

Re: [U-Boot] [PATCH v4 4/4] tools: zynqmpimage: Add bif support

2018-06-13 Thread Peter Robinson
Hi Alex On Wed, Jun 13, 2018 at 11:07 AM, Alexander Graf wrote: > Hi Peter, > > I'm not sure how much documentation you want. Basically mkimage becomes > a replacement for bootgen in any official Xilinx documentation. So any > Xilinx wiki like > > http://www.wiki.xilinx.com/Prepare+boot+image

Re: [U-Boot] [PATCH V4 2/2] bootm: Handle kernel_noload on arm64

2018-06-13 Thread Tom Rini
On Wed, Jun 13, 2018 at 12:39:25PM +0200, Marek Vasut wrote: > On 06/13/2018 09:51 AM, Bin Chen wrote: > > > > > > On 13 June 2018 at 14:13, Marek Vasut > > wrote: > > > > The ARM64 has 2 MiB alignment requirement for the kernel. When using > > fitImage, th

[U-Boot] [PATCH] cmd: gpio: Remove dead code from do_gpio

2018-06-13 Thread Michal Simek
gpio input/set/clear and toggle commands are already cover that's why there is no any other case which should be handled. Signed-off-by: Michal Simek --- Reported by: Coverity (local) Not sure how to report this properly without CID --- cmd/gpio.c | 2 -- 1 file changed, 2 deletions(-) diff -

Re: [U-Boot] [PATCH v4 4/4] tools: zynqmpimage: Add bif support

2018-06-13 Thread Michal Simek
Hi, > Hi Alex > > On Wed, Jun 13, 2018 at 11:07 AM, Alexander Graf wrote: >> Hi Peter, >> >> I'm not sure how much documentation you want. Basically mkimage becomes >> a replacement for bootgen in any official Xilinx documentation. So any >> Xilinx wiki like >> >> http://www.wiki.xilinx.com/

[U-Boot] [PATCH] net: gem: Check return value from mealign/malloc

2018-06-13 Thread Michal Simek
Functions can return NULL in case of error that's why checking return value is needed. Signed-off-by: Michal Simek --- Reported by: Coverity (local) --- drivers/net/zynq_gem.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index 14564e

Re: [U-Boot] [RFC PATCH 0/2] ARM: v7: Enable basic framework for supporting bits for CVE-2017-5715

2018-06-13 Thread Nishanth Menon
On 10:08-20180613, Russell King - ARM Linux wrote: > On Tue, Jun 12, 2018 at 04:58:34PM -0500, Nishanth Menon wrote: > > On 21:40-20180612, Russell King - ARM Linux wrote: > > [...] > > > > I started respinning the series, while there is definitely a use of >

Re: [U-Boot] [PATCH 2/4] ARM: Introduce ability to enable invalidate of BTB with ICIALLU on Cortex-A15 for CVE-2017-5715

2018-06-13 Thread Nishanth Menon
On 23:05-20180612, Marek Vasut wrote: > On 06/12/2018 10:24 PM, Nishanth Menon wrote: [..] > > +#ifdef CONFIG_ARM_CORTEX_A15_CVE_2017_5715 > > + mrc p15, 0, r0, c1, c0, 1 @ read auxilary control register > > + orr r0, r0, #1 << 0 @ Enable invalidates of BTB > > Can we use BIT

Re: [U-Boot] [PATCH 2/4] ARM: Introduce ability to enable invalidate of BTB with ICIALLU on Cortex-A15 for CVE-2017-5715

2018-06-13 Thread Nishanth Menon
On 00:30-20180613, Florian Fainelli wrote: > On June 12, 2018 1:24:09 PM PDT, Nishanth Menon wrote: > >As recommended by Arm in [1], ACTLR[0] (Enable invalidates of BTB) > >needs to be set[2] for BTB to be invalidated on ICIALLU. This needs to > >be done unconditionally for

Re: [U-Boot] [PATCH 3/4] ARM: mach-omap2: omap5/dra7: Enable ACTLR[0] (Enable invalidates of BTB) to facilitate CVE_2017-5715 WA in OS

2018-06-13 Thread Nishanth Menon
On 23:06-20180612, Marek Vasut wrote: > On 06/12/2018 10:24 PM, Nishanth Menon wrote: > > Enable CVE_2017_5715 and since we have our own v7_arch_cp15_set_acr > > function to setup the bits, we are able to override the settings. > > > > Without this enabled, Linux kernel reports: > > CPU0: Spectre

Re: [U-Boot] [PATCH v3 2/2] mdio: add marvell MDIO driver

2018-06-13 Thread Stefan Roese
On 13.06.2018 06:37, m...@marvell.com wrote: From: Ken Ma This patch adds a separate driver for the MDIO interface of the Marvell Ethernet controllers based on driver model. There are two reasons to have a separate driver rather than including it inside the MAC driver itself: *) The MDIO int

Re: [U-Boot] [PATCH] spl: Kconfig: SPL_LOAD_FIT_ADDRESS to Kconfig

2018-06-13 Thread Ibai Erkiaga Elorza
> -Original Message- > From: Michal Simek [mailto:mon...@monstr.eu] > Sent: 08 June 2018 06:45 > To: Ibai Erkiaga Elorza ; u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH] spl: Kconfig: SPL_LOAD_FIT_ADDRESS to > Kconfig > > On 7.6.2018 14:29, Ibai Erkiaga wrote: > > Create a new KConfi

Re: [U-Boot] [PATCH 1/3] ARM: HYP/non-sec: save and restore stack

2018-06-13 Thread Mark Kettenis
> From: Alexander Graf > Date: Tue, 12 Jun 2018 22:32:38 +0200 > > On 12.06.18 22:17, Mark Kettenis wrote: > >> From: Alexander Graf > >> Date: Tue, 12 Jun 2018 20:46:02 +0200 > >> > >> On 12.06.18 19:27, Mark Kettenis wrote: > >>> The current code that switches into HYP mode doesn't bother to s

Re: [U-Boot] [U-Boot,1/4] configs: pcm051: Support distro bootcmds

2018-06-13 Thread Tom Rini
On Sat, Jun 02, 2018 at 08:22:25PM +0300, Matwey V. Kornilov wrote: > Add support for distro bootcmds. > > Signed-off-by: Matwey V. Kornilov Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot, 2/4] configs: pcm051: Use DEFAULT_MMC_TI_ARGS instead of hardcoded duplicates

2018-06-13 Thread Tom Rini
On Sat, Jun 02, 2018 at 08:22:26PM +0300, Matwey V. Kornilov wrote: > Signed-off-by: Matwey V. Kornilov Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.den

Re: [U-Boot] [U-Boot, 3/4] configs: pcm051: Use DEFAULT_LINUX_BOOT_ENV instead of hardcoded values

2018-06-13 Thread Tom Rini
On Sat, Jun 02, 2018 at 08:22:27PM +0300, Matwey V. Kornilov wrote: > It appears that DEFAULT_LINUX_BOOT_ENV can be used to boot pcm051 board. > > Signed-off-by: Matwey V. Kornilov Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, 4/4] configs: pcm051: Use am335x-wega-rdk.dtb as fdtfile

2018-06-13 Thread Tom Rini
On Sat, Jun 02, 2018 at 08:22:28PM +0300, Matwey V. Kornilov wrote: > In upstream Linux kernel, the fdtfile > for this specific board is called am335x-wega-rdk.dtb > > Signed-off-by: Matwey V. Kornilov Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [U-Boot, v2] include/linux/byteorder: Sync to latest Linux definitions

2018-06-13 Thread Tom Rini
On Mon, Jun 04, 2018 at 04:20:50AM +0300, Ramon Fried wrote: > generic.h has changed in Linux and new addtionals functions were > added. > > This commit takes the latest and greatest from Linux (v4.17-rc5) > to aid with porting drivers that utilize these functions. > > Signed-off-by: Ramon Fried

Re: [U-Boot] fs: fat: fix wrong casting to unsigned value of sect_to_cluster()

2018-06-13 Thread Tom Rini
On Mon, Jun 04, 2018 at 08:45:54PM +0900, Seung-Woo Kim wrote: > After the commit 265edc03d5a1 ("fs/fat: Clean up open-coded sector > <-> cluster conversions"), it is hung up writing new file to FAT16 > disk with more than 19 files in armv7. It is because result value > of sect_to_cluster() is not

Re: [U-Boot] doc: cmd: bubt: drop duplicated text

2018-06-13 Thread Tom Rini
On Sun, Jun 03, 2018 at 04:19:31PM +0300, Baruch Siach wrote: > This commit removes text that is exact duplicated of the text above. > > Cc: Konstantin Porotchkin > Signed-off-by: Baruch Siach > Reviewed-by: Stefan Roese Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] u-boot: Fix several typos

2018-06-13 Thread Tom Rini
On Thu, Jun 07, 2018 at 07:47:19PM +0530, Shyam Saini wrote: > 's/environemnt/environment/' and > 's/Environemnt/Environment/' > > Signed-off-by: Shyam Saini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] tools: env: Use getline rather than fgets when reading config/script

2018-06-13 Thread Tom Rini
On Thu, Jun 07, 2018 at 12:20:05PM +, Alex Kiernan wrote: > When reading the config file, or a script file, use getline rather than > fgets so line lengths aren't limited by the size of a compiled in buffer > (128 characters for config, 1024 for scripts). > > Rename 'dump' to 'line' so it's c

Re: [U-Boot] [U-Boot,1/2] dra7/am5: remove CEC pin pull-up

2018-06-13 Thread Tom Rini
On Fri, Jun 08, 2018 at 12:51:19PM +0300, Tomi Valkeinen wrote: > HDMI CEC pins are set to pull-up, but CEC requires no pull. Fix this. > > Signed-off-by: Tomi Valkeinen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] fs: btrfs: Fix not all CHUNK_ITEMs being read from CHUNK_TREE

2018-06-13 Thread Tom Rini
On Tue, Jun 05, 2018 at 01:11:01PM +0300, Yevgeny Popovych wrote: > This causes errors when translating logical addresses to physical: > btrfs_map_logical_to_physical: Cannot map logical address to physical > btrfs_file_read: Error reading extent > > The behavior of btrfs_map_logical_to_phys

Re: [U-Boot] ARM: DTS: resync a3517.dtsi with Linux 4.17

2018-06-13 Thread Tom Rini
On Fri, Jun 08, 2018 at 09:26:30AM -0500, Adam Ford wrote: > Linux 4.17 was just released with some minor changes to the > am3517.dtsi. This patch re-syncs the file. > > Signed-off-by: Adam Ford > > diff --git a/arch/arm/dts/am3517.dtsi b/arch/arm/dts/am3517.dtsi > index 00da3f2c40..ca294914bb

Re: [U-Boot] [U-Boot,u-boot] ARM64: meson: Sync DT with Linux 4.17

2018-06-13 Thread Tom Rini
On Tue, Jun 05, 2018 at 10:10:44AM +0200, Neil Armstrong wrote: > Synchronize the Linux Device Tree for Amlogic Meson GX boards from Linux > 4.17.0 > > This will enable USB on Amlogic Meson GXL Boards like Khadas VIM, P212 or > LibreTech-CC. > > Signed-off-by: Neil Armstrong Applied to u-boot

Re: [U-Boot] [U-Boot,2/2] dra76: fix HDMI HPD pinmux

2018-06-13 Thread Tom Rini
On Fri, Jun 08, 2018 at 12:51:20PM +0300, Tomi Valkeinen wrote: > The pin used for HDMI HPD should be set to GPIO mode on DRA76, similarly > to all the other DRA7 and AM5 SoCs. > > Signed-off-by: Tomi Valkeinen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signatur

Re: [U-Boot] [U-Boot,v3] lib: Add hexdump

2018-06-13 Thread Tom Rini
On Tue, Jun 05, 2018 at 05:17:57PM +0300, Alexey Brodkin wrote: > Often during debugging session it's very interesting to see > what data we were dealing with. For example what we write or read > to/from memory or peripherals. > > This change introduces functions that allow to dump binary > data

Re: [U-Boot] ARM: am3517_evm: Enable SPL_OF_CONTROL and SPL_OF_PLATDATA

2018-06-13 Thread Tom Rini
On Fri, Jun 08, 2018 at 09:22:30AM -0500, Adam Ford wrote: > The SPL doesn't have much room, so in order to support OF_CONTROL > in SPL, we need the extra functionality of SPL_OF_PLATDATA. > > Adding these features allows us to remove a small part of code without > losing the serial port during S

Re: [U-Boot] AM3517_EVM: Fix Environmental location

2018-06-13 Thread Tom Rini
On Wed, Jun 06, 2018 at 02:39:50PM -0500, Adam Ford wrote: > The am3517-evm boards stores the environment in NAND, but after merging > various configs, the board was trying to load environment variables from > FAT which would ultimately fail and cause some chatter. > > This patch removes the ENV_

Re: [U-Boot] [U-Boot, v2] script: Make get_default_envs.sh script exclude tools/env

2018-06-13 Thread Tom Rini
On Tue, Jun 05, 2018 at 02:28:54PM +0900, Seung-Woo Kim wrote: > If building envtools, there is env directory in tools directory. > Make the get_default_envs.sh script exclude tools/env directory. > > Signed-off-by: Seung-Woo Kim Applied to u-boot/master, thanks! -- Tom signature.asc Descri

Re: [U-Boot] [U-Boot, v4, 2/2] test/py: add test for whitelist of variables while importing environment

2018-06-13 Thread Tom Rini
On Mon, Jun 04, 2018 at 11:47:30AM +0200, Quentin Schulz wrote: > This tests that the importing of an environment with a specified > whitelist works as intended. > > If there are variables passed as parameter to the env import command, >those only should be imported in the current environment

Re: [U-Boot] env: Add !ENV_IS_IN_EXT4 dependency to ENV_IS_NOWHERE

2018-06-13 Thread Tom Rini
On Fri, Jun 08, 2018 at 07:10:27AM +, Alex Kiernan wrote: > If ENV_IS_IN_EXT4 is set you shouldn't be able to select ENV_IS_NOWHERE. > > Signed-off-by: Alex Kiernan > Reviewed-by: Simon Glass > Tested-by: Petr Vorel Applied to u-boot/master, thanks! -- Tom signature.asc Description: P

Re: [U-Boot] [PATCH 2/4] ARM: Introduce ability to enable invalidate of BTB with ICIALLU on Cortex-A15 for CVE-2017-5715

2018-06-13 Thread Tom Rini
On Wed, Jun 13, 2018 at 08:32:15AM -0500, Nishanth Menon wrote: > On 23:05-20180612, Marek Vasut wrote: > > On 06/12/2018 10:24 PM, Nishanth Menon wrote: > [..] > > > +#ifdef CONFIG_ARM_CORTEX_A15_CVE_2017_5715 > > > + mrc p15, 0, r0, c1, c0, 1 @ read auxilary control register > > > + orr

Re: [U-Boot] [PATCH v2 4/5] lib: Import hexdump.c from Linux

2018-06-13 Thread Alexey Brodkin
On Wed, 2018-06-13 at 10:24 +0200, Mario Six wrote: > Hi Alexey, > > On Mon, Jun 4, 2018 at 6:05 PM, Alexey Brodkin > wrote: > > Hi Mario, > > > > On Wed, 2018-05-23 at 14:09 +0200, Mario Six wrote: > > > Especially for commands, it is useful to be able to turn a hexadecimal > > > string into it

Re: [U-Boot] [PATCH 2/4] soc: qualcomm: Add Shared Memory Manager driver

2018-06-13 Thread Ramon Fried
On June 13, 2018 4:29:03 AM GMT+03:00, Simon Glass wrote: >Hi Ramon, > >On 12 June 2018 at 02:50, Ramon Fried wrote: >> On June 11, 2018 10:38:45 PM GMT+03:00, Simon Glass > wrote: >>>Hi Ramon, >>> >>>On 11 June 2018 at 13:14, Ramon Fried wrote: On Mon, Jun 11, 2018 at 5:53 PM, Si

Re: [U-Boot] [PATCH v5 2/5] include: reset: Change to use CONFIG_IS_ENABLED(DM_RESET)

2018-06-13 Thread Joe Hershberger
On Tue, Jun 12, 2018 at 9:23 PM, Ley Foon Tan wrote: > On Wed, Jun 13, 2018 at 5:02 AM, Joe Hershberger > wrote: >> On Mon, Jun 4, 2018 at 2:19 AM, Ley Foon Tan wrote: >>> Change to use CONFIG_IS_ENABLED(DM_RESET), so this can work in SPL >>> build (CONFIG_SPL_DM_RESET) and U-boot build (CONFIG

Re: [U-Boot] [PATCH 3/4] ARM: mach-omap2: omap5/dra7: Enable ACTLR[0] (Enable invalidates of BTB) to facilitate CVE_2017-5715 WA in OS

2018-06-13 Thread Russell King - ARM Linux
On Wed, Jun 13, 2018 at 01:06:13AM +0200, Marek Vasut wrote: > On 06/12/2018 10:24 PM, Nishanth Menon wrote: > > Enable CVE_2017_5715 and since we have our own v7_arch_cp15_set_acr > > function to setup the bits, we are able to override the settings. > > > > Without this enabled, Linux kernel repo

Re: [U-Boot] [PATCH 2/4] soc: qualcomm: Add Shared Memory Manager driver

2018-06-13 Thread Ramon Fried
On June 9, 2018 2:17:45 PM GMT+03:00, Heinrich Schuchardt wrote: >On 06/09/2018 12:29 PM, Ramon Fried wrote: >> On Sat, Jun 9, 2018 at 1:12 PM, Heinrich Schuchardt > wrote: >>> On 06/09/2018 01:06 PM, Ramon Fried wrote: The Shared Memory Manager driver implements an interface for >allocating

Re: [U-Boot] [PATCH] net: zynq_gem: Fix return type for phy...()

2018-06-13 Thread Joe Hershberger
On Wed, Jun 13, 2018 at 3:00 AM, Michal Simek wrote: > wait_for_bit_le32 returns negative value on failure. Fix phy...() to > handle these failures properly. > > Signed-off-by: Michal Simek Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@list

Re: [U-Boot] [PATCH] net: zynq_gem: Initialize phyreg variable

2018-06-13 Thread Joe Hershberger
On Wed, Jun 13, 2018 at 3:33 AM, Michal Simek wrote: > In case of phyread()/phy_setup_op() timeout code is working with > uninitialized phyreg variable. Initialize this variable to make sure > that code it not working with random value. > > Signed-off-by: Michal Simek Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH] net: gem: Check return value from mealign/malloc

2018-06-13 Thread Joe Hershberger
On Wed, Jun 13, 2018 at 8:20 AM, Michal Simek wrote: > Functions can return NULL in case of error that's why checking return > value is needed. > > Signed-off-by: Michal Simek Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] [U-Boot, v4, 2/2] test/py: add test for whitelist of variables while importing environment

2018-06-13 Thread Quentin Schulz
Hi Tom, On Wed, Jun 13, 2018 at 11:43:32AM -0400, Tom Rini wrote: > On Mon, Jun 04, 2018 at 11:47:30AM +0200, Quentin Schulz wrote: > > > This tests that the importing of an environment with a specified > > whitelist works as intended. > > > > If there are variables passed as parameter to the en

Re: [U-Boot] [U-Boot, v4, 2/2] test/py: add test for whitelist of variables while importing environment

2018-06-13 Thread Stephen Warren
On 06/13/2018 12:53 PM, Quentin Schulz wrote: Hi Tom, On Wed, Jun 13, 2018 at 11:43:32AM -0400, Tom Rini wrote: On Mon, Jun 04, 2018 at 11:47:30AM +0200, Quentin Schulz wrote: This tests that the importing of an environment with a specified whitelist works as intended. If there are variables

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

2018-06-13 Thread Joe Hershberger
Hi Tom, The following changes since commit acaee30608ce203289a180d664b7f0abb2e64ee7: ARM: DTS: resync a3517.dtsi with Linux 4.17 (2018-06-13 07:49:14 -0400) are available in the git repository at: git://git.denx.de/u-boot-net.git master for you to fetch changes up to 5b2c9a6ce3ce66796e8c37

Re: [U-Boot] net: Always align tx packets

2018-06-13 Thread Joe Hershberger
Hi Mario, https://patchwork.ozlabs.org/patch/892179/ 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: Initialize as many ethernet devices as possible

2018-06-13 Thread Joe Hershberger
Hi Mario, https://patchwork.ozlabs.org/patch/905737/ 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/cortina: Add support for CS4223 PHY

2018-06-13 Thread Joe Hershberger
Hi Vicentiu, https://patchwork.ozlabs.org/patch/907515/ 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: Express LINK_LOCAL dependency on LIB_RAND

2018-06-13 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/906803/ 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: cpsw: ti: Reap completed packets before stopping interface

2018-06-13 Thread Joe Hershberger
Hi Alex, https://patchwork.ozlabs.org/patch/912382/ 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: Protect net_state from reentrant net_loop()

2018-06-13 Thread Joe Hershberger
Hi Leonid, https://patchwork.ozlabs.org/patch/910202/ 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] tsec: Fix reading phy registers from DT

2018-06-13 Thread Joe Hershberger
Hi Mario, https://patchwork.ozlabs.org/patch/905736/ 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] drivers/net/vsc9953: Initialize action RAM in VCAP complex

2018-06-13 Thread Joe Hershberger
Hi Kunihiko, https://patchwork.ozlabs.org/patch/915965/ 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: include/phy.h: add new mode for internal phy

2018-06-13 Thread Joe Hershberger
Hi Radu, https://patchwork.ozlabs.org/patch/917806/ 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: add Socionext AVE ethernet driver support

2018-06-13 Thread Joe Hershberger
Hi Kunihiko, https://patchwork.ozlabs.org/patch/919761/ 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: sunxi: Correct MAC address register order

2018-06-13 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/907230/ 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: gem: Check return value from memalign/malloc

2018-06-13 Thread Joe Hershberger
Hi Michal, https://patchwork.ozlabs.org/patch/928884/ 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: nfs: don't fail when nfs_read_reply returns -NFS_RPC_DROP

2018-06-13 Thread Joe Hershberger
Hi Vasily, https://patchwork.ozlabs.org/patch/913047/ 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: mvgbe: extract common code for SMI wait

2018-06-13 Thread Joe Hershberger
Hi Chris, https://patchwork.ozlabs.org/patch/927112/ 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: mv88e61xx: Force CPU port link up

2018-06-13 Thread Joe Hershberger
Hi Chris, https://patchwork.ozlabs.org/patch/924667/ 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: zynq_gem: Initialize phyreg variable

2018-06-13 Thread Joe Hershberger
Hi Michal, https://patchwork.ozlabs.org/patch/928754/ 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] mvebu: neta: align DMA buffers

2018-06-13 Thread Joe Hershberger
Hi Baruch, https://patchwork.ozlabs.org/patch/922540/ 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: designware: set the PS bit when resetting DMA bus in MII configuration

2018-06-13 Thread Joe Hershberger
Hi Quentin, https://patchwork.ozlabs.org/patch/924934/ 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: zynq_gem: Fix return type for phy...()

2018-06-13 Thread Joe Hershberger
Hi Michal, https://patchwork.ozlabs.org/patch/928736/ 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] [U-Boot, v4, 2/2] test/py: add test for whitelist of variables while importing environment

2018-06-13 Thread Tom Rini
On Wed, Jun 13, 2018 at 08:53:12PM +0200, Quentin Schulz wrote: > Hi Tom, > > On Wed, Jun 13, 2018 at 11:43:32AM -0400, Tom Rini wrote: > > On Mon, Jun 04, 2018 at 11:47:30AM +0200, Quentin Schulz wrote: > > > > > This tests that the importing of an environment with a specified > > > whitelist wo

[U-Boot] [PATCH] clk: rmobile: Add R8A77990 RPC clock

2018-06-13 Thread Marek Vasut
Add missing RPC entry into the R8A77990 clock driver tables. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/r8a77990-cpg-mssr.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/clk/renesas/r8a77990-cpg-mssr.c b/drivers/clk/renesas/r8a77990-cpg-mssr.c i

[U-Boot] [PATCH 1/4] ARM: dts: rmobile: Add Renesas RPC HF/QSPI DT node to R8A77990

2018-06-13 Thread Marek Vasut
Add device tree nodes for the Renesas RPC HF/QSPI controller to R8A77990 E3. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a77990.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/r8a77990.dtsi b/arch/arm/dts/r8a77990.dtsi index be4f519711..4f77

[U-Boot] [PATCH 3/4] ARM: dts: rmobile: Add initial SDHI nodes to R8A77990 E3

2018-06-13 Thread Marek Vasut
Add SDHI nodes to R8A77990 E3 SoC to allow SDHI operation. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a77990.dtsi | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/dts/r8a77990.dtsi b/arch/arm/dts/r8a77990.dtsi index 4f77be2a60..6d2d

[U-Boot] [PATCH 2/4] ARM: dts: rmobile: Add SCIF2 pinmux to E3 Ebisu

2018-06-13 Thread Marek Vasut
Add SCIF2 pinmux nodes to R8A77990 E3 Ebisu. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a77990-ebisu.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/dts/r8a77990-ebisu.dts b/arch/arm/dts/r8a77990-ebisu.dts index 8fd9fd1b4d..ad4923888d

[U-Boot] [PATCH 4/4] ARM: dts: rmobile: Enable SDHI on E3 Ebisu

2018-06-13 Thread Marek Vasut
Enable SDHI on R8A77990 E3 Ebisu in DT. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a77990-ebisu.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/dts/r8a77990-ebisu.dts b/arch/arm/dts/r8a77990-ebisu.dts index ad4923888d..08991bb5c6 100644

Re: [U-Boot] [PATCH 3/4] ARM: mach-omap2: omap5/dra7: Enable ACTLR[0] (Enable invalidates of BTB) to facilitate CVE_2017-5715 WA in OS

2018-06-13 Thread Marek Vasut
On 06/13/2018 07:36 PM, Russell King - ARM Linux wrote: > On Wed, Jun 13, 2018 at 01:06:13AM +0200, Marek Vasut wrote: >> On 06/12/2018 10:24 PM, Nishanth Menon wrote: >>> Enable CVE_2017_5715 and since we have our own v7_arch_cp15_set_acr >>> function to setup the bits, we are able to override the

Re: [U-Boot] [PATCH 3/4] ARM: mach-omap2: omap5/dra7: Enable ACTLR[0] (Enable invalidates of BTB) to facilitate CVE_2017-5715 WA in OS

2018-06-13 Thread Nishanth Menon
On 20:36-20180613, Marek Vasut wrote: > On 06/13/2018 07:36 PM, Russell King - ARM Linux wrote: > > On Wed, Jun 13, 2018 at 01:06:13AM +0200, Marek Vasut wrote: > >> On 06/12/2018 10:24 PM, Nishanth Menon wrote: > >>> Enable CVE_2017_5715 and since we hav

Re: [U-Boot] [PATCH 2/4] ARM: Introduce ability to enable invalidate of BTB with ICIALLU on Cortex-A15 for CVE-2017-5715

2018-06-13 Thread Nishanth Menon
On 15:46-20180613, Tom Rini wrote: > On Wed, Jun 13, 2018 at 08:32:15AM -0500, Nishanth Menon wrote: > > On 23:05-20180612, Marek Vasut wrote: > > > On 06/12/2018 10:24 PM, Nishanth Menon wrote: > > [..] > > > > +#ifdef CONFIG_ARM_CORTEX_A15_CVE_2017_5715 > &

Re: [U-Boot] [PATCH 2/4] ARM: Introduce ability to enable invalidate of BTB with ICIALLU on Cortex-A15 for CVE-2017-5715

2018-06-13 Thread Florian Fainelli
On 06/13/2018 06:37 AM, Nishanth Menon wrote: > On 00:30-20180613, Florian Fainelli wrote: >> On June 12, 2018 1:24:09 PM PDT, Nishanth Menon wrote: >>> As recommended by Arm in [1], ACTLR[0] (Enable invalidates of BTB) >>> needs to be set[2] for BTB to be invalidate

Re: [U-Boot] [PATCH 3/4] ARM: mach-omap2: omap5/dra7: Enable ACTLR[0] (Enable invalidates of BTB) to facilitate CVE_2017-5715 WA in OS

2018-06-13 Thread Russell King - ARM Linux
On Wed, Jun 13, 2018 at 10:36:56PM +0200, Marek Vasut wrote: > On 06/13/2018 07:36 PM, Russell King - ARM Linux wrote: > > On Wed, Jun 13, 2018 at 01:06:13AM +0200, Marek Vasut wrote: > >> On 06/12/2018 10:24 PM, Nishanth Menon wrote: > >>> Enable CVE_2017_5715 and since we have our own v7_arch_cp1

  1   2   >