[U-Boot] [PATCH] db410c: fix alignment of dts file

2018-06-08 Thread Ramon Fried
Alignment was wrong, missing one tab. fix it. Signed-off-by: Ramon Fried --- arch/arm/dts/dragonboard410c-uboot.dtsi | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/dts/dragonboard410c-uboot.dtsi b/arch/arm/dts/dragonboard410c-uboot.dtsi index

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

2018-06-08 Thread York Sun
On 06/08/2018 09:39 PM, Tom Rini wrote: > On Fri, Jun 08, 2018 at 11:49:32PM +, York Sun wrote: > >> Tom, >> >> The following changes since commit 71002b508a1bc0986023764f155f0db26f548db2: >> >> cmd: add missing line breaks for pr_err() (2018-06-07 20:06:29 -0400) >> >> are available in the

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

2018-06-08 Thread York Sun
Thanks for the feedback. I didn't catch the failure. Travis build failed on many targets due to toolchain download. My setup doesn't cover i.mx. York Sent from my iPhone > On Jun 8, 2018, at 21:39, Tom Rini wrote: > >> On Fri, Jun 08, 2018 at 11:49:32PM +, York Sun wrote: >> >> Tom, >>

Re: [U-Boot] Please pull u-boot-dm

2018-06-08 Thread Tom Rini
On Thu, Jun 07, 2018 at 03:18:29PM -0800, Simon Glass wrote: > Hi Tom, > > Here are the binman patches (support for hierarchical images and map > files), buildman environment support and a few test fixes. > > As you know there are more test fixes to come once we figure things out. > > > >

Re: [U-Boot] Please pull from u-boot-i2c

2018-06-08 Thread Tom Rini
On Fri, Jun 08, 2018 at 03:59:48PM +0200, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c.git master > > The following changes since commit 3eceff642c01e03e055127c9cf21608faaff28ac: > > Merge branch 'master' of git://git.denx.de/u-boot-samsung (2018-06-06 > 09:08:16

Re: [U-Boot] Pull request: u-boot-ubi/master

2018-06-08 Thread Tom Rini
On Fri, Jun 08, 2018 at 04:03:06PM +0200, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-ubi.git master > > The following changes since commit 89d811eee694ebd7dee0766e90552b91e89f60fb: > > Merge git://git.denx.de/u-boot-marvell (2018-06-05 07:13:42 -0400) > > are available

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

2018-06-08 Thread Tom Rini
On Fri, Jun 08, 2018 at 11:49:32PM +, York Sun wrote: > Tom, > > The following changes since commit 71002b508a1bc0986023764f155f0db26f548db2: > > cmd: add missing line breaks for pr_err() (2018-06-07 20:06:29 -0400) > > are available in the git repository at: > >

Re: [U-Boot] fit: Enable fitImage by default if OF_LIBFDT is enabled

2018-06-08 Thread Tom Rini
On Fri, Jun 08, 2018 at 04:18:43PM +0200, Marek Vasut wrote: > On 06/08/2018 01:18 PM, Tom Rini wrote: > > On Wed, May 23, 2018 at 12:49:56AM +0200, Marek Vasut wrote: > > > >> Enable fitImage by default on systems which already use libfdt. > >> The fitImage has many benefits over zImage and

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

2018-06-08 Thread York Sun
Tom, The following changes since commit 71002b508a1bc0986023764f155f0db26f548db2: cmd: add missing line breaks for pr_err() (2018-06-07 20:06:29 -0400) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git for you to fetch changes up to

Re: [U-Boot] [PATCH 3/3] LS1012AFRWY: Add Secure Boot support

2018-06-08 Thread York Sun
On 05/23/2018 03:15 AM, Bhaskar Upadhaya wrote: > From: Vinitha V Pillai > > Added the following: > 1. defconfig for LS1012AFRWY Secure boot > 2. PfE Validation support > > Signed-off-by: Vinitha V Pillai > --- Applied to u-boot-fsl-qoriq master. Awaiting upstream. Thanks. York

Re: [U-Boot] [PATCH 2/3] board: ls1012a: FRWY-LS1012A board support

2018-06-08 Thread York Sun
On 05/23/2018 03:15 AM, Bhaskar Upadhaya wrote: > FRWY-LS1012A belongs to LS1012A family with features > 2 1G SGMII PFE MAC, Micro SD, USB 3.0, DDR, QuadSPI, Audio, > UART. > > Signed-off-by: Bhaskar Upadhaya > --- Applied to u-boot-fsl-qoriq master. Awaiting upstream. Thanks. York

Re: [U-Boot] [PATCH 1/3] board: Kconfig: Re-Arrangement of PPA firmware and header addresses

2018-06-08 Thread York Sun
On 05/23/2018 03:15 AM, Bhaskar Upadhaya wrote: > ppa firmware and header address may vary depending upon different boards, > configure ppa firmware and header address in board specific kconfig > > Signed-off-by: Vinitha V Pillai > Signed-off-by: Jagdish Gediya > Signed-off-by: Bhaskar Upadhaya

Re: [U-Boot] [PATCH] arm: ls1021aqds: config: enable CONFIG_ID_EEPROM for mac command

2018-06-08 Thread York Sun
On 05/09/2018 04:36 AM, Jagdish Gediya wrote: > Signed-off-by: Jagdish Gediya > --- > include/configs/ls1021aqds.h | 9 + > 1 file changed, 9 insertions(+) > Applied to u-boot-fsl-qoriq master. Awaiting upstream. Thanks. York ___ U-Boot

Re: [U-Boot] [PATCH] board/freescale,lsch3: Add entry for 0.9v

2018-06-08 Thread York Sun
On 05/09/2018 12:25 AM, Priyanka Jain wrote: > As per updated hardware documentation for > lsch3 based chips like LS2088A, 0.9v support > has been added in possible supported SoC volatges > > Signed-off-by: Priyanka Jain > --- Applied to u-boot-fsl-qoriq master. Awaiting upstream. Thanks. York

[U-Boot] [PATCH] armv8: ls1046ardb: Enable IFC for SPL build

2018-06-08 Thread York Sun
Commit a52ff334c5b1 ("armv8: ls1046ardb: SPL size reduction") reduced image size for SPL. IFC was disabled. If PPA is loaded in SPL, MMU is enabled as a result. Removing IFC skips IFC region in the MMU table, causing later failure in RAM version U-boot when accessing CPLD through IFC. Only disable

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

2018-06-08 Thread Thomas Fitzsimmons
Florian Fainelli writes: > On 06/06/2018 11:35 AM, Thomas Fitzsimmons wrote: >> Add support for loading U-Boot on the Broadcom 7445 SoC. This port >> assumes Broadcom's BOLT bootloader is acting as the second stage >> bootloader, and U-Boot is acting as the third stage bootloader, loaded >> as

Re: [U-Boot] [PATCH v5 0/5] drivers: Add reset ctrl to drivers

2018-06-08 Thread Simon Glass
Hi Ley Foon, On 3 June 2018 at 23:19, Ley Foon Tan wrote: > Add reset ctrl to dwmmc socfpga, designware Ethernet and ns16550 serial > drivers. > > A reset property is an optional feature, so only print out a warning and > do not fail if a reset property is not present. > > If a reset property

Re: [U-Boot] [PATCH] drivers/gpio/mxc: fix MXC GPIO name in KConfig

2018-06-08 Thread Fabio Estevam
On Thu, Jun 7, 2018 at 7:10 AM, Hannes Schmelzer wrote: > The naming with "UART" is obviously wrong, we fix this here. > > Signed-off-by: Hannes Schmelzer > > --- > > drivers/gpio/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpio/Kconfig

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

2018-06-08 Thread Simon Glass
Hi, On 5 June 2018 at 06:17, 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 with one

Re: [U-Boot] [PATCH 3/3] rockchip: veyron: Set vcc33_sd regulator value

2018-06-08 Thread Simon Glass
On 7 June 2018 at 04:39, Carlo Caione wrote: > From: Carlo Caione > > On the veyron board the vcc33_sd regulator is used as vmmc-supply for > the SD card. This regulator is powered in the MMC core during power on > but its value is never actually set. > > In the veyron platform the reset value

Re: [U-Boot] [PATCH 2/3] rk3288: Disable JTAG function from sdmmc0 IO

2018-06-08 Thread Simon Glass
On 7 June 2018 at 04:39, Carlo Caione wrote: > From: Carlo Caione > > The GRF_SOC_CON0.grf_force_jtag bit is automatically set at boot and it > is preventing the SDMMC to work correctly. Disable the JTAG function on > the assumption that a working SD has higher priority over JTAG. > >

Re: [U-Boot] [PATCH v4 04/16] sandbox: smbios: Update to support sandbox

2018-06-08 Thread Simon Glass
Hi Alex, On 7 June 2018 at 12:47, Alexander Graf wrote: > > > On 07.06.18 22:41, Simon Glass wrote: >> Hi Alex, >> >> On 7 June 2018 at 12:36, Alexander Graf wrote: >>> >>> >>> On 07.06.18 22:25, Simon Glass wrote: Hi Alex, On 3 June 2018 at 04:13, Alexander Graf wrote: >

Re: [U-Boot] [PATCH v1 3/3] cmd: usb gadget: Add a command to bind a USB gadget driver to a UDC port

2018-06-08 Thread Simon Glass
Hi, On 7 June 2018 at 01:39, Lukasz Majewski wrote: > Hi Jean-Jacques, > >> Most of the time the UDC is bound to a driver when a dedicated >> command is executed, like 'dfu'. But the ethernet gadget driver must >> be bound by calling usb_ether_init() in the code otherwise the USB >> ethernet

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

2018-06-08 Thread Thomas Fitzsimmons
Add support for loading U-Boot on the Broadcom 7445 SoC. This port assumes Broadcom's BOLT bootloader is acting as the second stage bootloader, and U-Boot is acting as the third stage bootloader, loaded as an ELF program by BOLT. Signed-off-by: Thomas Fitzsimmons Cc: Stefan Roese Cc: Tom Rini

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

2018-06-08 Thread Thomas Fitzsimmons
Add support for Broadcom BCM7445 Changes for v4: - Use high timer register for get_ticks - Move hard-coded register addresses from Kconfig to header - Document I-cache/D-cache expectation Thomas Fitzsimmons (1): board: arm: Add support for Broadcom BCM7445 MAINTAINERS

Re: [U-Boot] [PATCH 4/5] include: dma: Update the function description for dma_memcpy

2018-06-08 Thread Simon Glass
Hi, On 3 June 2018 at 23:14, Chee, Tien Fong wrote: > On Fri, 2018-06-01 at 08:25 -0600, Simon Glass wrote: >> Hi, >> >> On 31 May 2018 at 02:08, wrote: >> > >> > From: Tien Fong Chee >> > >> > Update the dma_memcpy description on return argument for DMA330 >> > driver. >> > >> >

Re: [U-Boot] [PATCH] cmd: fpga: Remove fit image support passed without fpga device

2018-06-08 Thread Simon Glass
+Tom Hi, On 5 June 2018 at 04:47, Michal Simek wrote: > The patch applied in 2010 > "cmd_fpga: cleanup help and check parameters" > (sha1: a790b5b2326be9d7c9ad9e3d9b51a8bfabc62d07" > was adding this checking > > + if (dev == FPGA_INVALID_DEVICE) { > + puts("FPGA device not

Re: [U-Boot] [PATCH v3 2/2] patman: add test for SPDX license

2018-06-08 Thread Simon Glass
On 7 June 2018 at 00:45, Chris Packham wrote: > Add a test to exercise the check for a valid SPDX license. > > Signed-off-by: Chris Packham > --- > This is dependent on http://patchwork.ozlabs.org/patch/914202/ > > I also seem to get a bunch of doctest failures due to unicode strings, e.g. > >

Re: [U-Boot] [PATCH 1/4] lib: fdtdec: Fill initial ram top with DDR start value from dt

2018-06-08 Thread Simon Glass
Hi, On 7 June 2018 at 06:18, Michal Simek wrote: > Hi, > > On 5.6.2018 09:20, Siva Durga Prasad Paladugu wrote: >> Fill initial ram top with DDR base addr value from DT as not filling >> it here always assumes it as zero while calculating relocation >> offset and hence lead to failures in

Re: [U-Boot] [PATCH 1/3] rk3288: veyron: Init boot-on regulators

2018-06-08 Thread Simon Glass
On 7 June 2018 at 04:39, Carlo Caione wrote: > From: Carlo Caione > > Use regulators_enable_boot_on() to init all the regulators with > regulator-boot-on property. > > Signed-off-by: Carlo Caione > --- > arch/arm/mach-rockchip/rk3288-board.c | 6 ++ > 1 file changed, 6 insertions(+)

Re: [U-Boot] [PATCH v2 1/2] dm: mdio: add a uclass for MDIO

2018-06-08 Thread Simon Glass
Hi Ken, On 6 June 2018 at 18:08, wrote: > From: Ken Ma > > Add a uclass which provides access to MDIO busses and includes > operations required by MDIO. > The implementation is based on the existing mii/phy/mdio data > structures and APIs. > This patch also adds evice tree binding for MDIO

Re: [U-Boot] [PATCH v3 1/2] patman: add option for limiting the Cc list

2018-06-08 Thread Simon Glass
On 7 June 2018 at 00:45, Chris Packham wrote: > Many mailing-lists consider a long Cc list a sign of spam and will > either drop the message or mark it for moderation. Because patman > automatically invokes get_maintainer.pl the Cc list can expand > unexpectedly. Allow the user to specify a limit

Re: [U-Boot] [ANN] U-Boot v2018.05 released

2018-06-08 Thread Simon Glass
+Wolfgang Hi Tom, On 7 May 2018 at 07:34, Tom Rini wrote: > Hey all, > > It's release day, and here we are doing the release. It's live on git > and FTP and ACD (along with the PGP sig file). > This seems to be missing release stats here: https://www.denx.de/wiki/U-Boot/ReleaseCycle [..]

Re: [U-Boot] [PATCH] sandbox_flattree: Switch to TPMv2 support

2018-06-08 Thread Simon Glass
Hi Miquel, On 7 June 2018 at 23:36, Miquel Raynal wrote: > Hi Simon, > > On Thu, 7 Jun 2018 16:25:28 -0800, Simon Glass wrote: > >> Hi Miquel, >> >> On 6 June 2018 at 23:38, Miquel Raynal wrote: >> > Hello, >> > >> > Sorry for the delay. >> > >> > On Sat, 2 Jun 2018 10:15:17 -0600, Simon Glass

Re: [U-Boot] [PATCH] drivers/gpio/mxc: fix MXC GPIO name in KConfig

2018-06-08 Thread Simon Glass
On 7 June 2018 at 02:10, Hannes Schmelzer wrote: > The naming with "UART" is obviously wrong, we fix this here. > > Signed-off-by: Hannes Schmelzer > > --- > > drivers/gpio/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Simon Glass

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

2018-06-08 Thread Simon Glass
On 7 June 2018 at 23:10, 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 > --- > > env/Kconfig | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Simon Glass ___

Re: [U-Boot] [PATCH v2] tegra: nyan-big: Update CONFIG_SYS_TEXT to the default in README.chromium

2018-06-08 Thread Simon Glass
On 7 June 2018 at 19:43, Peter Robinson wrote: > To build u-boot on a Nyan Big Chromebook the docs outline adjusting the > Tegra124 > defined CONFIG_SYS_TEXT_BASE but this has since been moved to individual > config > files. We should have the default required for u-boot chain loading on the

Re: [U-Boot] [PATCH] net: mvgbe: extract common code for SMI wait

2018-06-08 Thread Joe Hershberger
On Wed, May 30, 2018 at 5:49 AM, Chris Packham wrote: > Combine repeated code from smi_reg_read/smi_reg_write into a common > function smi_wait_ready. > > Signed-off-by: Chris Packham > --- > > drivers/net/mvgbe.c | 48 ++--- > 1 file changed, 24

Re: [U-Boot] [PATCH v2 1/2] mvebu: neta: align DMA buffers

2018-06-08 Thread Joe Hershberger
On Wed, May 30, 2018 at 12:52 AM, Baruch Siach wrote: > From: Jon Nettleton > > This makes sure the DMA buffers are properly aligned for the > hardware. > > Reviewed-by: Stefan Roese > Signed-off-by: Jon Nettleton > Signed-off-by: Baruch Siach Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH v2 2/2] net: ping, arp: Fix cache alignment issues

2018-06-08 Thread Joe Hershberger
On Wed, May 30, 2018 at 12:52 AM, Baruch Siach wrote: > From: Jon Nettleton > > Both ping_receive and arp_receive would transmit a received packet > back out using its original point. This causes problems with > certain network cards that add a custom header to the packet. > Specifically the

Re: [U-Boot] [PATCHv2] block: Have BLOCK_CACHE default to y in some cases

2018-06-08 Thread Adam Ford
On Fri, Jun 8, 2018 at 3:20 PM Adam Ford wrote: > > On Fri, Jun 8, 2018 at 2:15 PM Tom Rini wrote: > > > > On Fri, Jun 08, 2018 at 10:30:36AM -0500, Adam Ford wrote: > > > On Tue, May 22, 2018 at 11:24 AM Tom Rini wrote: > > > > > > > > When dealing with filesystems that come from block devices

[U-Boot] [PATCH] block: Add SPL_BLOCK_CACHE and default n

2018-06-08 Thread Adam Ford
When enabling BLOCK_CACHE on devices with limited RAM during SPL, some devices may not boot. This creates an option to enable block caching in SPL by defaults off. It is dependant on BLOCK_CACHE and SPL_BLK Fixes: 46960ad6d09b ("block: Have BLOCK_CACHE default to y in some cases")

Re: [U-Boot] [PATCHv2] block: Have BLOCK_CACHE default to y in some cases

2018-06-08 Thread Adam Ford
On Fri, Jun 8, 2018 at 2:15 PM Tom Rini wrote: > > On Fri, Jun 08, 2018 at 10:30:36AM -0500, Adam Ford wrote: > > On Tue, May 22, 2018 at 11:24 AM Tom Rini wrote: > > > > > > When dealing with filesystems that come from block devices we can get a > > > noticeable performance gain in some use

Re: [U-Boot] How to build multiple object files from one source?

2018-06-08 Thread Tom Rini
On Fri, Jun 08, 2018 at 07:18:34PM +, Alexey Brodkin wrote: > Hello, > > I've been playing with libgcc sources imported in U-Boot [1] and so far > for some platforms it works but for some doesn't. > > The problem I just discovered is how libgcc's assembly is composed. > It has a couple of

[U-Boot] How to build multiple object files from one source?

2018-06-08 Thread Alexey Brodkin
Hello, I've been playing with libgcc sources imported in U-Boot [1] and so far for some platforms it works but for some doesn't. The problem I just discovered is how libgcc's assembly is composed. It has a couple of not very usual features: 1. The same labels used in different functions 2. A

Re: [U-Boot] [PATCHv2] block: Have BLOCK_CACHE default to y in some cases

2018-06-08 Thread Tom Rini
On Fri, Jun 08, 2018 at 10:30:36AM -0500, Adam Ford wrote: > On Tue, May 22, 2018 at 11:24 AM Tom Rini wrote: > > > > When dealing with filesystems that come from block devices we can get a > > noticeable performance gain in some use cases from having the block > > cache enabled. The code paths

[U-Boot] [PATCH v2] AXS10x: add spi flash support

2018-06-08 Thread Eugeniy Paltsev
AXS10x boards have n25q512 spi flash IC, so add corresponding nodes to device tree and enaple corresponding options in defconfig. Signed-off-by: Eugeniy Paltsev --- NOTE: this patch has prerequisite: http://patchwork.ozlabs.org/patch/926871/ Changes v1->v2: * change SPI CS gpio compatible

[U-Boot] [PATCH] AXS10x: add spi flash support

2018-06-08 Thread Eugeniy Paltsev
AXS10x boards have n25q512 spi flash IC, so add corresponding nodes to device tree and enaple corresponding options in defconfig. Signed-off-by: Eugeniy Paltsev --- NOTE: this patch has prerequisite: http://patchwork.ozlabs.org/patch/926871/ arch/arc/dts/axs10x_mb.dtsi | 34

Re: [U-Boot] [PATCH v3 2/4] usb: sunxi: ehci: get rid of ifdefs

2018-06-08 Thread Maxime Ripard
On Fri, Jun 08, 2018 at 08:24:26AM -0700, Vasily Khoruzhick wrote: > On Fri, Jun 8, 2018 at 7:24 AM, Maxime Ripard > wrote: > > On Thu, Jun 07, 2018 at 07:23:39PM -0700, Vasily Khoruzhick wrote: > >> We can use compatibles instead. > >> > >> Signed-off-by: Vasily Khoruzhick > >> --- > >> v3:

Re: [U-Boot] [PATCHv2] block: Have BLOCK_CACHE default to y in some cases

2018-06-08 Thread Adam Ford
On Tue, May 22, 2018 at 11:24 AM Tom Rini wrote: > > When dealing with filesystems that come from block devices we can get a > noticeable performance gain in some use cases from having the block > cache enabled. The code paths are valid in other cases when we have BLK > set and may provide wins

Re: [U-Boot] [PATCH v3 2/4] usb: sunxi: ehci: get rid of ifdefs

2018-06-08 Thread Vasily Khoruzhick
On Fri, Jun 8, 2018 at 7:24 AM, Maxime Ripard wrote: > On Thu, Jun 07, 2018 at 07:23:39PM -0700, Vasily Khoruzhick wrote: >> We can use compatibles instead. >> >> Signed-off-by: Vasily Khoruzhick >> --- >> v3: use ehci_sunxi_cfg instead of id >> >> drivers/usb/host/ehci-sunxi.c | 83

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

2018-06-08 Thread Dr. Philipp Tomsich
Mian, Did you change anything or is this just a resend with the same content? I didn’t have a chance to review this yet, so wanted to make sure I work off the latest version... Thanks, Philipp. > On 8 Jun 2018, at 10:47, Mian Yousaf Kaukab wrote: > > make_fit_atf.py uses physical address of

[U-Boot] [PATCH 2/2] CREG GPIO: add device tree bindings

2018-06-08 Thread Eugeniy Paltsev
Signed-off-by: Eugeniy Paltsev --- MAINTAINERS | 1 + doc/device-tree-bindings/gpio/snps,creg-gpio.txt | 43 2 files changed, 44 insertions(+) create mode 100644 doc/device-tree-bindings/gpio/snps,creg-gpio.txt diff --git

[U-Boot] [PATCH 0/2] GPIO: CREG: improve flexibility of hsdk-creg-gpio driver

2018-06-08 Thread Eugeniy Paltsev
CREG GPIO is a driver for weird soc-specific output ports, which are controlled by some fields in memory mapped register. Example: 31 975 0 < bit number | ||| | [ not used | gpio-1 | gpio-0 | <-shift->

[U-Boot] [PATCH 1/2] GPIO: CREG: improve flexibility of hsdk-creg-gpio driver

2018-06-08 Thread Eugeniy Paltsev
CREG GPIO is a driver for weird soc-specific output ports, which are controlled by some fields in memory mapped register. Example: 31 975 0 < bit number | ||| | [ not used | gpio-1 | gpio-0 | <-shift->

Re: [U-Boot] [U-Boot,v4,5/6] cmd: iotrace: add dump trace command

2018-06-08 Thread Ramon Fried
On Fri, Jun 8, 2018 at 2:18 PM, Tom Rini wrote: > On Wed, May 30, 2018 at 11:10:01PM +0300, Ramon Fried wrote: > >> Add dump trace command which dump all trace >> buffer content in a much more readable fashion >> than md. >> >> Signed-off-by: Ramon Fried >> Reviewed-by: Simon Glass >> --- >> >>

[U-Boot] [PATCH v5 4/6] iotrace: move record definitons to header file

2018-06-08 Thread Ramon Fried
The header definitions are needed for reading record information in cmd/iotrace.c Signed-off-by: Ramon Fried Reviewed-by: Simon Glass --- Changes in v5: - Removed common.h include that caused werid compliation problems in other boards (trini) Changes in v4: None Changes in v3: None Changes

[U-Boot] [PATCH v5 6/6] iotrace: fix behaviour when buffer is full

2018-06-08 Thread Ramon Fried
Don't continue updating the offset when buffer is full. When the buffer size exhausts and there's no space left to write warn the user and update only the needed size and not both the offset and needed size. Add needed buffer size information in the iotrace command. Signed-off-by: Ramon Fried

[U-Boot] [PATCH v5 5/6] cmd: iotrace: add dump trace command

2018-06-08 Thread Ramon Fried
Add dump trace command which dump all trace buffer content in a much more readable fashion than md. Signed-off-by: Ramon Fried Reviewed-by: Simon Glass --- Changes in v5: - Fixed portability issue in printf (trini) Changes in v4: None Changes in v3: None Changes in v2: None Changes in v1:

[U-Boot] [PATCH v5 2/6] iotrace: add IO region limit

2018-06-08 Thread Ramon Fried
When dealing with a lot of IO regions, sometimes it makes sense only to trace a specific one. This patch adds support for region limits. If region is not set, the iotrace works the same as it was. If region is set, the iotrace only logs io operation that falls in the defined region.

[U-Boot] [PATCH v5 3/6] common: iotrace: add timestamp to iotrace records

2018-06-08 Thread Ramon Fried
Add timestamp to each iotrace record to aid in debugging of IO timing access bugs. Signed-off-by: Ramon Fried Reviewed-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None Changes in v1: - Change timestamp function to get_ticks()

[U-Boot] [PATCH v5 1/6] cmd: iotrace: add set region command

2018-06-08 Thread Ramon Fried
Signed-off-by: Ramon Fried Reviewed-by: Simon Glass --- Changes in v5: None Changes in v4: - Resend complete patchset with patman Changes in v3: None Changes in v2: None Changes in v1: None cmd/iotrace.c | 22 ++ 1 file changed, 22 insertions(+) diff --git

[U-Boot] [PATCH v5 0/6] Iotrace improvements

2018-06-08 Thread Ramon Fried
These set of patches add few improvements to iotrace. * Region limiting - allows setting an address and size where only io operations that falls into that address are logged. * Timestamping - Timestamp every iotrace

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

2018-06-08 Thread Adam Ford
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 100644 --- a/arch/arm/dts/am3517.dtsi +++ b/arch/arm/dts/am3517.dtsi @@

Re: [U-Boot] fit: Enable fitImage by default if OF_LIBFDT is enabled

2018-06-08 Thread Marek Vasut
On 06/08/2018 01:18 PM, Tom Rini wrote: > On Wed, May 23, 2018 at 12:49:56AM +0200, Marek Vasut wrote: > >> Enable fitImage by default on systems which already use libfdt. >> The fitImage has many benefits over zImage and supersedes legacy >> uImage, so enable it by default where possible to make

Re: [U-Boot] [PATCH v3 2/4] usb: sunxi: ehci: get rid of ifdefs

2018-06-08 Thread Maxime Ripard
On Thu, Jun 07, 2018 at 07:23:39PM -0700, Vasily Khoruzhick wrote: > We can use compatibles instead. > > Signed-off-by: Vasily Khoruzhick > --- > v3: use ehci_sunxi_cfg instead of id > > drivers/usb/host/ehci-sunxi.c | 83 ++- > 1 file changed, 63 insertions(+),

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

2018-06-08 Thread Adam Ford
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 SPL. Signed-off-by: Adam Ford diff --git

[U-Boot] Pull request: u-boot-ubi/master

2018-06-08 Thread Heiko Schocher
Hello Tom, please pull from u-boot-ubi.git master The following changes since commit 89d811eee694ebd7dee0766e90552b91e89f60fb: Merge git://git.denx.de/u-boot-marvell (2018-06-05 07:13:42 -0400) are available in the Git repository at: git://git.denx.de/u-boot-ubi.git master for you to

Re: [U-Boot] [PATCH] mtd: ubi: Add missing newlines in ubi_init()

2018-06-08 Thread Heiko Schocher
Hello Stefan, Am 29.05.2018 um 15:28 schrieb Stefan Roese: I just stumbled over some cluttered UBI messages. It seems some newline chars are missing in the current U-Boot UBI source. Lets fix this in U-Boot as well (Linux has those fixes already). Signed-off-by: Stefan Roese Cc: Heiko

[U-Boot] Please pull from u-boot-i2c

2018-06-08 Thread Heiko Schocher
Hello Tom, please pull from u-boot-i2c.git master The following changes since commit 3eceff642c01e03e055127c9cf21608faaff28ac: Merge branch 'master' of git://git.denx.de/u-boot-samsung (2018-06-06 09:08:16 -0400) are available in the Git repository at: git://git.denx.de/u-boot-i2c.git

Re: [U-Boot] [PATCH v4 2/2] mvebu: turris_omnia: add note about i2c slave disable

2018-06-08 Thread Heiko Schocher
Hello Baruch, Am 07.06.2018 um 11:38 schrieb Baruch Siach: Code that disables the i2c slave is now in the mvtwsi i2c driver. Platform must enable DM_I2C to use that code. Add a comment in the code as a reminder for the planned DM_I2C migration of Turris Omnia. Reviewed-by: Heiko Schocher

Re: [U-Boot] [PATCH v4 1/2] i2c: mvtwsi: disable i2c slave on Armada 38x

2018-06-08 Thread Heiko Schocher
Hello Baruch, Am 07.06.2018 um 11:38 schrieb Baruch Siach: Equivalent code that disables the hidden i2c0 slave already exists in the Turris Omnia platform specific code. But this hidden i2c0 slave that interferes the i2c bus is not board specific. Armada 38x SoCs and at least some Kirkwood

Re: [U-Boot] [U-Boot, v4, 4/6] iotrace: move record definitons to header file

2018-06-08 Thread Ramon Fried
On Fri, Jun 8, 2018 at 3:49 PM, Ramon Fried wrote: > On Fri, Jun 8, 2018 at 2:19 PM, Tom Rini wrote: >> On Wed, May 30, 2018 at 11:10:00PM +0300, Ramon Fried wrote: >> >>> The header definitions are needed for reading >>> record information in cmd/iotrace.c >>> >>> Signed-off-by: Ramon Fried

Re: [U-Boot] [U-Boot, v4, 4/6] iotrace: move record definitons to header file

2018-06-08 Thread Ramon Fried
On Fri, Jun 8, 2018 at 2:19 PM, Tom Rini wrote: > On Wed, May 30, 2018 at 11:10:00PM +0300, Ramon Fried wrote: > >> The header definitions are needed for reading >> record information in cmd/iotrace.c >> >> Signed-off-by: Ramon Fried >> Reviewed-by: Simon Glass > > This change ends up breaking

Re: [U-Boot] Uboot as x86_64 EFI payload

2018-06-08 Thread Bin Meng
Hi, On Mon, Jan 29, 2018 at 11:18 PM, Juan Alfonso Reyes Ajenjo wrote: > Hi, > I am Juan Alfonso Reyes, a firmware engineer in GMV. Currently we are > developing new boards based in Apollo Lake CPU. We are trying to load uboot > from UEFI. Using the default qemu-x86_efi_payload64_defconfig

Re: [U-Boot] [PATCH v2] xilinx: zynq: Add support to secure images

2018-06-08 Thread Michal Simek
On 7.6.2018 09:28, Siva Durga Prasad Paladugu wrote: > This patch basically adds two new commands for loadig secure > images/bitstreams. > 1. zynq rsa adds support to load secure image which can be both >authenticated or encrypted or both authenticated and encrypted >image in xilinx

[U-Boot] [RFC PATCH] fpga: zynq: Add encrypted bitstream support with auto detect

2018-06-08 Thread stefan
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- drivers/fpga/zynqpl.c | 73 --- 1 file changed, 57 insertions(+), 16 deletions(-) diff --git a/drivers/fpga/zynqpl.c b/drivers/fpga/zynqpl.c index fd37d18..6622750 100644

[U-Boot] [PATCH v2 3/4] arm: zynq: Add Nand flash mini u-boot configuration for zynq

2018-06-08 Thread Siva Durga Prasad Paladugu
Add configuration files/dtses for mini u-boot configuration which runs on smaller footprint of memory. This configuration has only required nand flash support. Signed-off-by: Siva Durga Prasad Paladugu --- Changes from v1: - Update memory node as per comment - Removed intc and fclk as per

[U-Boot] [PATCH v2 2/4] arm: zynq: Dont define SDRAM_BASE and SDRAM_SIZE in .h

2018-06-08 Thread Siva Durga Prasad Paladugu
Remove the SDRAM_BASE nad SDRAM_SIZE as it can now get these details from DT. Signed-off-by: Siva Durga Prasad Paladugu --- Changes from v1: - Removed commit reference from description as per comment --- include/configs/zynq_cse.h | 3 --- 1 file changed, 3 deletions(-) diff --git

[U-Boot] [PATCH v2 4/4] arm: zynq: Add parallel NOR flash mini u-boot configuration for zynq

2018-06-08 Thread Siva Durga Prasad Paladugu
Add configuration files/dtses for mini u-boot configuration which runs on smaller footprint OCM memory. This configuration only has required parallel nor flash support. Signed-off-by: Siva Durga Prasad Paladugu --- Changes from v1: - None --- arch/arm/dts/Makefile | 1 +

[U-Boot] [PATCH v2 1/4] lib: fdtdec: Fill initial ram top with DDR start value from dt

2018-06-08 Thread Siva Durga Prasad Paladugu
Fill initial ram top with DDR base addr value from DT as not filling it here always assumes it as zero while calculating relocation offset and hence lead to failures in somecases. This will assumed as zero if CONFIG_SYS_SDRAM_BASE is not defined. Signed-off-by: Siva Durga Prasad Paladugu

[U-Boot] [PATCH] arm: zynq: Add missing watchdog header

2018-06-08 Thread Michal Simek
Add missing header detected by sparse. Signed-off-by: Michal Simek --- board/xilinx/zynq/board.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c index e4f86d187a73..1106f5c2a892 100644 --- a/board/xilinx/zynq/board.c +++

Re: [U-Boot] [U-Boot, UNTESTED] ARM: orion5x: fix use of callee-saved registers in lowloevel_init

2018-06-08 Thread Tom Rini
On Mon, May 07, 2018 at 11:10:47AM +0100, Mans Rullgard wrote: > The lowlevel_init function uses r4 and r6 without preserving their > values as required by the AAPCS. Use r0 and r2 instead as these > are call-clobbered. > > Signed-off-by: Mans Rullgard > Reviewed-by: Chris Packham Applied to

Re: [U-Boot] [PATCH] ARC: Import entire libgcc from GCC 8.1.0

2018-06-08 Thread Tom Rini
On Thu, Jun 07, 2018 at 08:31:49PM +0300, Alexey Brodkin wrote: > Some background on private libgcc on ARC first. > > The whole point of having private libgcc in U-Boot is to be > toolchain agnostic. I.e. have an ability to use any more or less > up-to-date ARC GNU tools for building U-Boot for

Re: [U-Boot] [U-Boot, 3/3] cmd: add missing line breaks for pr_err()

2018-06-08 Thread Tom Rini
On Mon, Jun 04, 2018 at 04:04:51PM +0900, Seung-Woo Kim wrote: > After the commit 9b643e312d52 ("treewide: replace with error() with > pr_err()"), there are some pr_err() with no line break. Add missing > line breaks. > > Signed-off-by: Seung-Woo Kim Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v4, 3/6] common: iotrace: add timestamp to iotrace records

2018-06-08 Thread Tom Rini
On Wed, May 30, 2018 at 11:09:59PM +0300, Ramon Fried wrote: > Add timestamp to each iotrace record to aid in debugging > of IO timing access bugs. > > Signed-off-by: Ramon Fried > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

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

2018-06-08 Thread Tom Rini
On Mon, Jun 04, 2018 at 01:25:04PM +0900, Seung-Woo Kim wrote: > If building envtools, there is env directory in tools directory. > Mafe 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

Re: [U-Boot] [U-Boot, 2/3] board: samsung: add missing line breaks for pr_err()

2018-06-08 Thread Tom Rini
On Mon, Jun 04, 2018 at 04:03:05PM +0900, Seung-Woo Kim wrote: > After the commit 9b643e312d52 ("treewide: replace with error() with > pr_err()"), there are some pr_err() with no line break. Add missing > line breaks. > > Signed-off-by: Seung-Woo Kim > Reviewed-by: Minkyu Kang Applied to

Re: [U-Boot] [U-Boot, PATCHv2] block: Have BLOCK_CACHE default to y in some cases

2018-06-08 Thread Tom Rini
On Tue, May 22, 2018 at 12:24:16PM -0400, Tom Rini wrote: > When dealing with filesystems that come from block devices we can get a > noticeable performance gain in some use cases from having the block > cache enabled. The code paths are valid in other cases when we have BLK > set and may

Re: [U-Boot] [U-Boot,v3] bug.h: introduce WARN_ONCE

2018-06-08 Thread Tom Rini
On Wed, Jun 06, 2018 at 12:38:59AM +0300, Ramon Fried wrote: > Add WARN_ONCE definition to allow single time notification > of warnings to the user. > Taken from Linux kernel (4.17) with slight changes > (Removed __section(.data.once)) > > Signed-off-by: Ramon Fried Applied to u-boot/master,

Re: [U-Boot] [U-Boot, v4, 4/6] iotrace: move record definitons to header file

2018-06-08 Thread Tom Rini
On Wed, May 30, 2018 at 11:10:00PM +0300, Ramon Fried wrote: > The header definitions are needed for reading > record information in cmd/iotrace.c > > Signed-off-by: Ramon Fried > Reviewed-by: Simon Glass This change ends up breaking a number of platforms including k2l_hs_evm in a very odd

Re: [U-Boot] [U-Boot,v4,2/6] iotrace: add IO region limit

2018-06-08 Thread Tom Rini
On Wed, May 30, 2018 at 11:09:58PM +0300, Ramon Fried wrote: > When dealing with a lot of IO regions, sometimes > it makes sense only to trace a specific one. > This patch adds support for region limits. > If region is not set, the iotrace works the same as it was. > If region is set, the iotrace

Re: [U-Boot] [U-Boot,v4,1/6] cmd: iotrace: add set region command

2018-06-08 Thread Tom Rini
On Wed, May 30, 2018 at 11:09:57PM +0300, Ramon Fried wrote: > Signed-off-by: Ramon Fried > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] fit: Enable fitImage by default if OF_LIBFDT is enabled

2018-06-08 Thread Tom Rini
On Wed, May 23, 2018 at 12:49:56AM +0200, Marek Vasut wrote: > Enable fitImage by default on systems which already use libfdt. > The fitImage has many benefits over zImage and supersedes legacy > uImage, so enable it by default where possible to make it widely > available. > > Signed-off-by:

Re: [U-Boot] [U-Boot,v4,5/6] cmd: iotrace: add dump trace command

2018-06-08 Thread Tom Rini
On Wed, May 30, 2018 at 11:10:01PM +0300, Ramon Fried wrote: > Add dump trace command which dump all trace > buffer content in a much more readable fashion > than md. > > Signed-off-by: Ramon Fried > Reviewed-by: Simon Glass > --- > > Changes in v4: None > Changes in v3: None > Changes in v2:

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

2018-06-08 Thread Tomi Valkeinen
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 --- board/ti/dra7xx/mux_data.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/ti/dra7xx/mux_data.h b/board/ti/dra7xx/mux_data.h

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

2018-06-08 Thread Tomi Valkeinen
HDMI CEC pins are set to pull-up, but CEC requires no pull. Fix this. Signed-off-by: Tomi Valkeinen --- board/ti/am57xx/mux_data.h | 6 +++--- board/ti/dra7xx/mux_data.h | 8 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/board/ti/am57xx/mux_data.h

[U-Boot] [PATCH RESEND 2/2] rockchip: make_fit_atf: make python3 compatible

2018-06-08 Thread Mian Yousaf Kaukab
Make script python3 compatible. No functional changes intended. Signed-off-by: Mian Yousaf Kaukab --- arch/arm/mach-rockchip/make_fit_atf.py | 89 +- 1 file changed, 45 insertions(+), 44 deletions(-) diff --git a/arch/arm/mach-rockchip/make_fit_atf.py

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

2018-06-08 Thread Mian Yousaf Kaukab
make_fit_atf.py uses physical address of first segment as the entry point to bl31. It is incorrect and causes following abort when bl31_entry() is called: U-Boot SPL board initTrying to boot from MMC1 "Synchronous Abort" handler, esr 0x0200 elr: lr : ff8c7e8c x 0:

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

2018-06-08 Thread Quentin Schulz
Hi Stephen, On Thu, Jun 07, 2018 at 05:21:19PM -0600, Stephen Warren wrote: > On 06/04/2018 03:47 AM, 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

  1   2   >