[U-Boot] [PATCH 20/21] Add inttypes.h

2018-11-23 Thread Simon Glass
Even if U-Boot does not use this, some libraries do. Add back this header file so that the build does not fall back to using the host version, which may include stdint.h and break the build due to conflicts with uint64_t, etc. This partially reverts commit dee37fc99d94 ("Remove includes and PRI*

[U-Boot] [PATCH 17/21] time: Update mdelay() to delay in one large chunk

2018-11-23 Thread Simon Glass
The current function delays in one millisecond at a time. This does not work well on sandbox since it results in lots of calls to usleep(1000) in a tight loop. This makes the sleep duration quite variable since each call results in a sleep of *at least* 1000us, but possibly more. Depending on how b

[U-Boot] [PATCH 14/21] cros_ec: Adjust to use v1 vboot context only

2018-11-23 Thread Simon Glass
At present there are no users of the 64-byte v2 context. The v1 context is only 16 bytes long and currently an error is raised if too much data is returned from the EC. Update the code to limit the size to 16 bytes. Signed-off-by: Simon Glass --- drivers/misc/cros_ec_sandbox.c | 10 ++

[U-Boot] [PATCH 12/21] tpm: Fix a logging warning in unpack_byte_string()

2018-11-23 Thread Simon Glass
Fix the printf() string to avoid a warning. Signed-off-by: Simon Glass --- lib/tpm-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tpm-common.c b/lib/tpm-common.c index 2bf0b41e26f..86b4f413c2e 100644 --- a/lib/tpm-common.c +++ b/lib/tpm-common.c @@ -119,7 +119,

[U-Boot] [PATCH 19/21] Add UINT32_MAX and UINT64_MAX

2018-11-23 Thread Simon Glass
These constants are defined by stdint.h but not by kernel.h, which is its stand-in in U-Boot. Add the definitions so that libraries which expect stdint.h constants can work. Signed-off-by: Simon Glass --- include/linux/kernel.h | 4 1 file changed, 4 insertions(+) diff --git a/include/lin

[U-Boot] [PATCH 18/21] log: Check printf() arguments

2018-11-23 Thread Simon Glass
At present logging does not check printf() arguments. Now that all users have been corrected, enable this to prevent further problems. Signed-off-by: Simon Glass --- include/log.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/log.h b/include/log.h index 4f14937b7

[U-Boot] [PATCH 04/21] sandbox: net: Correct name copy in eth_raw_bus_post_bind()

2018-11-23 Thread Simon Glass
We cannot be sure that the interface name takes up the full length of the space available to it. Use strcpy() instead of memcpy() in this case. This corrects a valgrind warning. Signed-off-by: Simon Glass --- drivers/net/sandbox-raw-bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[U-Boot] [PATCH 21/21] RFC: Makefile: Build U-Boot as a library

2018-11-23 Thread Simon Glass
As an experiment, build U-Boot as a library, u-boot.o, so it can be used by other open-source software. Update the sandbox build rules to suit. This has not been tested in any meaningful way. It breaks sandbox_spl and all x86 boards. I am interested in feedback as to how useful this might be. Si

[U-Boot] [PATCH 16/21] video: backlight: Fix log message in enable_sequence()

2018-11-23 Thread Simon Glass
This has an extra argument. Remove it. Signed-off-by: Simon Glass --- drivers/video/pwm_backlight.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/pwm_backlight.c b/drivers/video/pwm_backlight.c index c13a9077090..bd733f5f1ca 100644 --- a/drivers/video/pwm_bac

[U-Boot] [PATCH 09/21] tpm: Remove use of build-time TPM versions

2018-11-23 Thread Simon Glass
There is only one place in the code which assumes at build-time that we are using either a v1 or a v2 TPM. Fix this up and add a new function to return the version of a TPM. Supported TPM versions (v1 and v2) can be enabled independently and it is possible to use both versions at once. This is use

[U-Boot] [PATCH 15/21] input: i8042: Use remove() instead of exported functions

2018-11-23 Thread Simon Glass
We should not have exported functions in a driver. The i8042_disable() function is used to disable the keyboard. Provide a remove() method instead, which is the standard way of disabling a device. We could potentially add a method to flush input but that does not seem necessary. Signed-off-by: Si

[U-Boot] [PATCH 10/21] tpm: Export tpm_clear_and_reenable()

2018-11-23 Thread Simon Glass
This function is intended to be exported but is not. Add it to the header file. Signed-off-by: Simon Glass --- include/tpm-common.h | 8 1 file changed, 8 insertions(+) diff --git a/include/tpm-common.h b/include/tpm-common.h index 91a1484b3d6..f9c2ca20539 100644 --- a/include/tpm-com

[U-Boot] [PATCH 11/21] tpm: Add non-volatile index attributes needed for v2

2018-11-23 Thread Simon Glass
Version-2 TPMs support attributes for nvdata. Add definitions to the header file so that clients can use it. Signed-off-by: Simon Glass --- include/tpm-v2.h | 33 + 1 file changed, 33 insertions(+) diff --git a/include/tpm-v2.h b/include/tpm-v2.h index 2f2e66de1

[U-Boot] [PATCH 07/21] sandbox: Use 'extras' to specify 'head' files

2018-11-23 Thread Simon Glass
At present sandbox has a start.o in the 'start' target but also includes it in the normal target list. This is not how this is normally handled. It is needed because sandbox does not include the u-boot-init variable in its link rule. Update the rule and move start.o from the normal target list to

[U-Boot] [PATCH 05/21] sandbox: sysreset: Update to support power-on reset

2018-11-23 Thread Simon Glass
If U-Boot is started from SPL or TPL, then those earlier phases deal with the reset cause. On real hardware this cause may be lost once it is read. Emulate that behaviour in sandbox by reporting a warm reset when a previous phase has run since start-up. Signed-off-by: Simon Glass --- drivers/sy

[U-Boot] [PATCH 13/21] cros: Correct a printf() string and comment

2018-11-23 Thread Simon Glass
Correct a warning that occurs on sandbox. Also fix the comment style in cros_ec_set_lid_shutdown_mask(). Signed-off-by: Simon Glass --- drivers/misc/cros_ec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/cros_ec.c b/drivers/misc/cros_ec.c index 2dcdb3d8d6

[U-Boot] [PATCH 06/21] sandbox: Zero the ram buffer on startup

2018-11-23 Thread Simon Glass
At present the RAM buffer is not inited unless it is read from a file, likely produced by an earlier phase of U-Boot. This causes valgrind warnings whenever the RAM buffer is used. Correct this by initing it if needed. Signed-off-by: Simon Glass --- arch/sandbox/cpu/start.c | 7 +++

[U-Boot] [PATCH 03/21] sandbox: physmem: Use mapping to support sandbox

2018-11-23 Thread Simon Glass
Replace the raw cast with a map_sysmem() call so this code works with sandbox. Signed-off-by: Simon Glass --- lib/physmem.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/physmem.c b/lib/physmem.c index f21ac243edc..84b191dae3e 100644 --- a/lib/physmem.c +++ b/lib/ph

[U-Boot] [PATCH 02/21] sandbox: Check the filename in jump_to_image_no_args()

2018-11-23 Thread Simon Glass
If the filename is NULL this function currently crashes. Update it to fail gracefully. Signed-off-by: Simon Glass --- arch/sandbox/cpu/spl.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/sandbox/cpu/spl.c b/arch/sandbox/cpu/spl.c index 5005ed2f54a..2ca4cd6e35e

[U-Boot] [PATCH 08/21] sandbox: Allow running from valgrind

2018-11-23 Thread Simon Glass
It is useful to run sandbox from valgrind to find memory errors, etc. At present this works OK until U-Boot jumps into the next phase (e.g. from SPL to U-Boot). Update os_jump_to_file() to use valgrind for each subsequent phase also. Signed-off-by: Simon Glass --- arch/sandbox/cpu/os.c | 37 +++

[U-Boot] [PATCH 01/21] sandbox: Fix up the debug message for the image filename

2018-11-23 Thread Simon Glass
This currently prints out the wrong filename. Fix it. Signed-off-by: Simon Glass --- arch/sandbox/cpu/os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sandbox/cpu/os.c b/arch/sandbox/cpu/os.c index aa926943427..58d9a46263e 100644 --- a/arch/sandbox/cpu/os.c +++ b/ar

[U-Boot] [PATCH 00/21] Various patches for verified boot support

2018-11-23 Thread Simon Glass
This is (for now) the last series to enable Chromium OS verified boot in U-Boot. It includes: - Sandbox valgrind spport - Minor TPM enhancements and fixes - Resurection of inttypes.h - Args checking for log functions - Sandbox fix for time jitter - Various other minir things Simon Glass (21):

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

2018-11-23 Thread Tom Rini
On Wed, Nov 21, 2018 at 05:25:59PM -0700, Simon Glass wrote: > Hi Tom, > > The following changes since commit a3e1653ddeb02f39481eba572275016171e9670c: > > Merge git://git.denx.de/u-boot-marvell (2018-11-20 12:39:16 -0500) > > are available in the Git repository at: > > git://git.denx.de/u

[U-Boot] [PATCH] fdt: Fix string property comparison overflow

2018-11-23 Thread Teddy Reed
FDT property searching can overflow when comparing strings. This will result in undefined behavior. This upstream patch adds checks to assure property name lengths do not overrun the string region or the totalsize. The implementation is from upstream dtc: 70166d62a27f libfdt: Safer access to stri

Re: [U-Boot] [PATCH v15 2/4] efi: Split out test init/uninit into functions

2018-11-23 Thread Heinrich Schuchardt
On 11/22/18 9:46 PM, Simon Glass wrote: > The functions in bootefi are very long because they mix high-level code > and control with the low-level implementation. To help with this, create > functions which handle preparing for running the test and cleaning up > afterwards. > > Also shorten the aw

[U-Boot] i.MX needs prior to DM conversion?

2018-11-23 Thread Tom Rini
Hey guys, So, from the BLK conversion thread, I'd like to bring up and ask what needs to happen before we can consider the i.MX families ready for bulk conversion to using DM (and OF_CONTROL and BLK and ..) at least in full U-Boot. I know some things have been converted already and some platforms

Re: [U-Boot] [PATCH 00/93] dm: Move towards completing CONFIG_BLK migration

2018-11-23 Thread Tom Rini
On Fri, Nov 23, 2018 at 05:04:46AM -0700, Simon Glass wrote: > Hi Tom, > > On Thu, 22 Nov 2018 at 16:31, Tom Rini wrote: > > > > On Thu, Nov 22, 2018 at 01:50:34PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Wed, 21 Nov 2018 at 08:10, Tom Rini wrote: > > > > > > > > On Tue, Nov 20, 20

Re: [U-Boot] [PATCH] drivers: regulator: regulator-uclass: disallow disable of always-on

2018-11-23 Thread Philipp Tomsich
> On 22.11.2018, at 22:12, Richard Röjfors wrote: > > It does not make sense to allow disable of a regulator that > is defined always on. > > I found this because the new mmc code that tests if the mmc > power can be switched off. That results in the rk3288 > firefly board to die since the regu

Re: [U-Boot] [PATCH] drivers: regulator: regulator-uclass: disallow disable of always-on

2018-11-23 Thread Jack Mitchell
On 22/11/2018 21:12, Richard Röjfors wrote: > It does not make sense to allow disable of a regulator that > is defined always on. > > I found this because the new mmc code that tests if the mmc > power can be switched off. That results in the rk3288 > firefly board to die since the regulator, whic

[U-Boot] [PATCH v2 3/3] imx: Add PHYTEC phyBOARD-i.MX6UL-Segin

2018-11-23 Thread Martyn Welch
Port for the PHYTEC phyBOARD-i.MX6UL-Segin single board computer. Based on the PHYTEC phyCORE-i.MX6UL SOM (PCL063). This port provides both SPL and DCD based boot options (hence the two defconfigs). CPU: Freescale i.MX6UL rev1.2 528 MHz (running at 396 MHz) CPU: Industrial temperature grade (-

[U-Boot] [PATCH v2 2/3] Only attempt to build USB driver model in SPL when required

2018-11-23 Thread Martyn Welch
Current define usage causes tooling to attempt to build for USB driver model when building non-DM SPL. Update logic to avoid this. Signed-off-by: Martyn Welch --- Changes in v2: - New in v2 drivers/usb/gadget/ci_udc.c | 2 +- drivers/usb/host/Makefile | 14 ++ drivers/usb/host/

[U-Boot] [PATCH v2 1/3] Enable FEC driver to retrieve PHY address from device tree

2018-11-23 Thread Martyn Welch
Currently if we have more than one phy on the MDIO bus, we do not have a good mechanism for determining which should be used at runtime. Enable the FEC driver to determine the address for the PHY from the device tree. Signed-off-by: Martyn Welch --- Changes in v2: - New in v2 drivers/net/fec_

Re: [U-Boot] [PATCH v2] usb: gadget: f_sdp: Provide filesize env variable for downloaded images

2018-11-23 Thread Stefan Agner
On 23.11.18 14:37, Petr Štetiar wrote: > Currently it's not possible to get filesize of downloaded images and > it's impossible to automate some tasks in scripts. So this patch adds > `filesize` environment variable with size (as hex number in bytes) of > the last successfully downloaded file via

Re: [U-Boot] [PATCH 00/93] dm: Move towards completing CONFIG_BLK migration

2018-11-23 Thread Soeren Moch
Hi Fabio, On 23.11.18 01:31, Fabio Estevam wrote: > Hi Soeren, > > On Tue, Nov 20, 2018 at 10:44 AM Soeren Moch wrote: > >> Fabio, Stefano, >> >> it seems (almost?) all i.mx6 boards should be removed within two weeks. >> But would it not make more sense to convert the reference boards first >> (m

[U-Boot] [PATCH v2] u-boot: Upgrade 2018.07 -> 2018.11

2018-11-23 Thread Otavio Salvador
This upgrades U-Boot to 2018.11 release and drop the backported security fixes which are now included upstream. Signed-off-by: Otavio Salvador --- Changes in v2: - rebase on top of mkimage rework patch .../u-boot/files/CVE-2018-1000205-1.patch | 59 .../u-boot/files/CVE-2018-1000

Re: [U-Boot] [Status] [U-boot] [PATCH v4 0/7] Add ethernet support for phyCORE-RK3288

2018-11-23 Thread Janine Hagemann
Oh, I missed that. I will send them as a separate series soon. Thanks! Janine On 23.11.18 14:18, Philipp Tomsich wrote: I had asked for these to be split out as a separate series and rebased. Might have been v3 that I replied to, though… Thanks, Philipp. On 23.11.2018, at 14:13, Janine Ha

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

2018-11-23 Thread Poonam Aggrwal
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Chuanhua > Han > Sent: Friday, November 23, 2018 2:08 PM > To: u-boot@lists.denx.de > Cc: Chuanhua Han > Subject: [U-Boot] [PATCH] armv8: lx2160a: Modify dspi1 controller intrrupts > property > > This

Re: [U-Boot] [PATCH v2] dm: spi: prevent setting a speed of 0 Hz

2018-11-23 Thread Simon Goldschmidt
On 23.11.2018 14:12, Jagan Teki wrote: On Fri, Nov 23, 2018 at 6:24 PM Simon Goldschmidt wrote: [Responding from my work address due to problems with gmail] On 23.11.2018 13:27, Jagan Teki wrote: On Fri, Nov 23, 2018 at 1:51 AM wrote: On Fri, 16 Nov 2018 at 12:40, Simon Goldschmidt wro

Re: [U-Boot] [PATCH] usb: gadget: f_sdp: Provide filesize env variable for downloaded images

2018-11-23 Thread Marek Vasut
On 11/23/2018 10:21 AM, Petr Štetiar wrote: > Currently it's not possible to get filesize of downloaded images and > it's impossible to automate some tasks in scripts. ... so ... what does this patch do about it ? That sort of thing should be in the commit message. > Cc: Lukasz Majewski > Cc: Ma

Re: [U-Boot] [Status] [U-boot] [PATCH v4 0/7] Add ethernet support for phyCORE-RK3288

2018-11-23 Thread Philipp Tomsich
I had asked for these to be split out as a separate series and rebased. Might have been v3 that I replied to, though… Thanks, Philipp. > On 23.11.2018, at 14:13, Janine Hagemann wrote: > > Hello, > > I just want to ask what happened to some of my patches from august 2018. > > https://patchw

[U-Boot] [Status] [U-boot] [PATCH v4 0/7] Add ethernet support for phyCORE-RK3288

2018-11-23 Thread Janine Hagemann
Hello, I just want to ask what happened to some of my patches from august 2018.   https://patchwork.ozlabs.org/patch/962733/   https://patchwork.ozlabs.org/patch/962736/   https://patchwork.ozlabs.org/patch/962742/   https://patchwork.ozlabs.org/patch/962735/ Should I send them again? Kind re

Re: [U-Boot] [PATCH v2] dm: spi: prevent setting a speed of 0 Hz

2018-11-23 Thread Jagan Teki
On Fri, Nov 23, 2018 at 6:24 PM Simon Goldschmidt wrote: > > [Responding from my work address due to problems with gmail] > > On 23.11.2018 13:27, Jagan Teki wrote: > > On Fri, Nov 23, 2018 at 1:51 AM wrote: > >> > >> On Fri, 16 Nov 2018 at 12:40, Simon Goldschmidt > >> wrote: > >>> > >>> On 31.

Re: [U-Boot] [PATCH 67/93] arm: Remove socfpga_stratix10 board

2018-11-23 Thread Simon Glass
Hi Tom, On Thu, 22 Nov 2018 at 16:25, Tom Rini wrote: > > On Thu, Nov 22, 2018 at 01:50:26PM -0700, Simon Glass wrote: > > Hi, > > > > On Tue, 20 Nov 2018 at 18:01, Ley Foon Tan wrote: > > > > > > On Tue, Nov 20, 2018 at 1:27 AM Simon Glass wrote: > > > > > > > > This board has not been convert

[U-Boot] [PATCH] usb: gadget: f_sdp: Provide filesize env variable for downloaded images

2018-11-23 Thread Petr Štetiar
Currently it's not possible to get filesize of downloaded images and it's impossible to automate some tasks in scripts. Cc: Lukasz Majewski Cc: Marek Vasut Cc: Stefan Agner Signed-off-by: Petr Štetiar --- drivers/usb/gadget/f_sdp.c | 5 + 1 file changed, 5 insertions(+) diff --git a/driv

Re: [U-Boot] [OE-core] [PATCH] u-boot: Upgrade 2018.07 -> 2018.11

2018-11-23 Thread Burton, Ross
Can you rebase this on top of the mkimage changes? Ross On Wed, 21 Nov 2018 at 13:42, Otavio Salvador wrote: > > This upgrades U-Boot to 2018.11 release and drop the backported > security fixes which are now included upstream. > > Signed-off-by: Otavio Salvador > --- > > .../u-boot/files/CVE-20

[U-Boot] SPL for Cubietruck

2018-11-23 Thread mo2mo
Hello to each other, can you help me start the Cubietruck / Cubieboard 3? I can not use the SD card / mmc because the drive is broken. Currently I use Debian wheezy; uname -a Kernel Linux cubietruck 3.4.61+ # 1 SMP PREEMPT Mon Dec 23 12:44:19 CST 2013 armv7l GNU / Linux However, I would like t

Re: [U-Boot] [PATCH v2] dm: spi: prevent setting a speed of 0 Hz

2018-11-23 Thread Simon Goldschmidt
[Responding from my work address due to problems with gmail] On 23.11.2018 13:27, Jagan Teki wrote: On Fri, Nov 23, 2018 at 1:51 AM wrote: On Fri, 16 Nov 2018 at 12:40, Simon Goldschmidt wrote: On 31.10.2018 07:42, Simon Goldschmidt wrote: On Wed, Oct 31, 2018 at 7:22 AM Jagan Teki wrote

[U-Boot] am335x with 1GB of ram EMIF support

2018-11-23 Thread Belisko Marek
Hi, I have custom board based on am335x which have assembled 43-46TR16512A RAM (should be 512x16 = 1GB size). Board boots fine with DDR3 config for BBB (RAM data looks similar) but shows only 512MB of RAM available (also in linux). IIRC it is necessary to update RAM EMIF table to have support for

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

2018-11-23 Thread Chuanhua Han
This patch is to modify the dspi1 controller interrupt number for lx2160a, the original 240 interrupt is problematic and cannot be registered, so first change it to share an interrupt with dspi0. Signed-off-by: Chuanhua Han --- depend on: - https://patchwork.ozlabs.org/patch/990093/ ar

Re: [U-Boot] [PATCH v2 17/18] spi: mtk_qspi: add qspi driver for MT7629 SoC

2018-11-23 Thread Guochun Mao
On Fri, 2018-11-23 at 11:13 +0530, Jagan Teki wrote: > On Thu, Nov 22, 2018 at 2:29 PM Guochun Mao wrote: > > > > On Thu, 2018-11-22 at 11:51 +0530, Jagan Teki wrote: > > > On Wed, Nov 21, 2018 at 5:16 PM Guochun Mao > > > wrote: > > > > > > > > Hi Jagan, > > > > > > > > On Wed, 2018-11-21 at 15

Re: [U-Boot] [PATCH 5/9] ARM: socfpga: Add SPL fitImage config match

2018-11-23 Thread Marek Vasut
On 11/23/2018 11:05 AM, Chee, Tien Fong wrote: > On Wed, 2018-11-21 at 15:21 +0100, Marek Vasut wrote: >> On 11/21/2018 11:41 AM, tien.fong.c...@intel.com wrote: >>> >>> From: Tien Fong Chee >>> >>> Add empty SPL fitImage configuration match. This can be extended >>> if there is ever need to suppo

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

2018-11-23 Thread Chuanhua Han
This patch is to modify the dspi1 controller interrupt number for lx2160a, the original 240 interrupt is problematic and cannot be registered, so first change it to share an interrupt with dspi0. Signed-off-by: Chuanhua Han --- depend on: - https://patchwork.ozlabs.org/patch/990093/ ar

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

2018-11-23 Thread Chuanhua Han
This patch is to modify the dspi1 controller interrupt number for lx2160a, the original 240 interrupt is problematic and cannot be registered, so first change it to share an interrupt with dspi0. Signed-off-by: Chuanhua Han --- depend on: - https://patchwork.ozlabs.org/patch/990093/ ar

Re: [U-Boot] [PATCH 6/9] ARM: socfpga: Set default DTB address on A10

2018-11-23 Thread Marek Vasut
On 11/23/2018 11:10 AM, Chee, Tien Fong wrote: > On Wed, 2018-11-21 at 15:22 +0100, Marek Vasut wrote: >> On 11/21/2018 11:41 AM, tien.fong.c...@intel.com wrote: >>> >>> From: Tien Fong Chee >> Again, not your patch, please don't change authorship. >> >> http://git.denx.de/?p=u-boot/u-boot-socfpga

Re: [U-Boot] [PATCH 4/9] ARM: socfpga: Bundle U-Boot fitImage into SFP on Arria10

2018-11-23 Thread Marek Vasut
On 11/23/2018 10:54 AM, Chee, Tien Fong wrote: > On Wed, 2018-11-21 at 15:21 +0100, Marek Vasut wrote: >> On 11/21/2018 11:41 AM, tien.fong.c...@intel.com wrote: >>> >>> From: Tien Fong Chee >> Did you change Author:ship of the patch ? I believe you did, so please fix that. >>> Bundle U-Boot fit

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

2018-11-23 Thread Marek Vasut
On 11/23/2018 10:43 AM, Chee, Tien Fong wrote: > On Wed, 2018-11-21 at 15:18 +0100, Marek Vasut wrote: >> On 11/21/2018 11:41 AM, tien.fong.c...@intel.com wrote: >>> >>> From: Tien Fong Chee >>> >>> Add FPGA driver to support program FPGA with FPGA bitstream loading >>> from >>> filesystem. The dr

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

2018-11-23 Thread Marek Vasut
On 11/23/2018 10:51 AM, Chee, Tien Fong wrote: > On Wed, 2018-11-21 at 15:19 +0100, Marek Vasut wrote: >> On 11/21/2018 11:41 AM, tien.fong.c...@intel.com wrote: >>> >>> From: Tien Fong Chee >>> >>> Add support for loading FPGA bitstream to get DDR up running before >>> U-Boot is loaded into DDR.

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

2018-11-23 Thread Marek Vasut
On 11/23/2018 10:19 AM, Chee, Tien Fong wrote: > On Wed, 2018-11-21 at 15:11 +0100, Marek Vasut wrote: >> On 11/21/2018 11:41 AM, tien.fong.c...@intel.com wrote: >>> >>> From: Tien Fong Chee >>> >>> This patch adds description on properties about file name used for >>> both >>> peripheral bitstrea

Re: [U-Boot] [PATCH v2] dm: spi: prevent setting a speed of 0 Hz

2018-11-23 Thread Jagan Teki
On Fri, Nov 23, 2018 at 1:51 AM wrote: > > On Fri, 16 Nov 2018 at 12:40, Simon Goldschmidt > wrote: > > > > On 31.10.2018 07:42, Simon Goldschmidt wrote: > > > On Wed, Oct 31, 2018 at 7:22 AM Jagan Teki > > > wrote: > > >> On Wed, Oct 31, 2018 at 1:40 AM Simon Goldschmidt > > >> wrote: > > >>>

Re: [U-Boot] [PATCH 00/93] dm: Move towards completing CONFIG_BLK migration

2018-11-23 Thread Simon Glass
Hi Tom, On Thu, 22 Nov 2018 at 16:31, Tom Rini wrote: > > On Thu, Nov 22, 2018 at 01:50:34PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 21 Nov 2018 at 08:10, Tom Rini wrote: > > > > > > On Tue, Nov 20, 2018 at 08:53:12AM -0500, Tom Rini wrote: > > > > On Tue, Nov 20, 2018 at 02:45:24P

Re: [U-Boot] [PATCH 6/9] ARM: socfpga: Set default DTB address on A10

2018-11-23 Thread Chee, Tien Fong
On Wed, 2018-11-21 at 15:22 +0100, Marek Vasut wrote: > On 11/21/2018 11:41 AM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > Again, not your patch, please don't change authorship. > > http://git.denx.de/?p=u-boot/u-boot-socfpga.git;a=commit;h=eb32e56886 > 9b5f91fe34efb2642875a8

Re: [U-Boot] [PATCH 5/9] ARM: socfpga: Add SPL fitImage config match

2018-11-23 Thread Chee, Tien Fong
On Wed, 2018-11-21 at 15:21 +0100, Marek Vasut wrote: > On 11/21/2018 11:41 AM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > Add empty SPL fitImage configuration match. This can be extended > > if there is ever need to support multiple boards with single SFP > > image. >

Re: [U-Boot] [PATCH 4/9] ARM: socfpga: Bundle U-Boot fitImage into SFP on Arria10

2018-11-23 Thread Chee, Tien Fong
On Wed, 2018-11-21 at 15:21 +0100, Marek Vasut wrote: > On 11/21/2018 11:41 AM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > Did you change Author:ship of the patch ? > > > > > Bundle U-Boot fitImage containing U-Boot and FPGA bitstream into > > the > > u-boot-with-spl.sfp on

[U-Boot] [PATCH] w1: fix occasional enumeration failure

2018-11-23 Thread Martin Fuzzey
Sometimes enumeration fails (about 1 in 50 times on my custom board). The underlying reason is probably electrical but Linux does not have the problem. Comparing the Linux / u-boot implementations shows that Linux retries the error case whereas u-boot aborts early. Removing the early abort in u-

Re: [U-Boot] [PATCH v2] sun8i_emac: add support for setting EMAC TX/RX delay

2018-11-23 Thread Alexander Weidinger
On 23.11.18 06:34, Jagan Teki wrote: > Note, that the DT patch for emac enable is already synced, check it on master. Saw it while updating the patch with the requested change. I made a note about this in the change description and only send one patch in the v2 version of this series. I'm a first

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

2018-11-23 Thread Chee, Tien Fong
On Wed, 2018-11-21 at 15:19 +0100, Marek Vasut wrote: > On 11/21/2018 11:41 AM, tien.fong.c...@intel.com wrote: > > > > 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

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

2018-11-23 Thread Chee, Tien Fong
On Wed, 2018-11-21 at 15:18 +0100, Marek Vasut wrote: > On 11/21/2018 11:41 AM, tien.fong.c...@intel.com wrote: > > > > 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 > >

Re: [U-Boot] [PATCH] usb: gadget: f_sdp: Provide filesize env variable for downloaded images

2018-11-23 Thread Lukasz Majewski
On Fri, 23 Nov 2018 10:21:24 +0100 Petr Štetiar wrote: > Currently it's not possible to get filesize of downloaded images and > it's impossible to automate some tasks in scripts. > > Cc: Lukasz Majewski > Cc: Marek Vasut > Cc: Stefan Agner > Signed-off-by: Petr Štetiar > --- > drivers/usb/g

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

2018-11-23 Thread Chee, Tien Fong
On Wed, 2018-11-21 at 15:11 +0100, Marek Vasut wrote: > On 11/21/2018 11:41 AM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > This patch adds description on properties about file name used for > > both > > peripheral bitstream and core bitstream. > > > > Signed-off-by: Ti

[U-Boot] Antwort: Re: [PATCH] x86: tsc: Add support for APL soc

2018-11-23 Thread Bernhard Messerklinger
Hi Bin, > Missing commit message I will fix this. > > APL means ApolloLake? Could you please spell it out? I will fix this. > > > Signed-off-by: Bernhard Messerklinger automation.com> > > --- > > > > drivers/timer/tsc_timer.c | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/dri

Re: [U-Boot] [PATCH] RFC: checkpatch: Add a check for tests needed for uclasses

2018-11-23 Thread Heinrich Schuchardt
On 11/22/18 9:50 PM, Simon Glass wrote: > Hi Heinrich, > > On Wed, 21 Nov 2018 at 07:35, Heinrich Schuchardt wrote: >> >> On 11/18/18 4:16 PM, Simon Glass wrote: >>> This is an experimental check for adding new uclasses without a test. >>> >>> I am not sure of the best way to add U-Boot-specific

[U-Boot] [PATCH] arm64: zynqmp: Enable SPL_SEPARATE_BSS by default

2018-11-23 Thread Michal Simek
BSS section was all the time separated for SPL but this symbol wasn't enabled. It is necessary to have it enabled for OF_SEPARATE configuration where DTB is appended to u-boot with DTB. Signed-off-by: Michal Simek --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm