Re: [U-Boot] [PATCH 01/10] power: add driver for K3 Adaptive Voltage Scaling Class 0

2019-10-14 Thread Lokesh Vutla
[..snip..] > +}; > diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h > index f431f3bf29..605b52905e 100644 > --- a/include/dm/uclass-id.h > +++ b/include/dm/uclass-id.h > @@ -31,6 +31,7 @@ enum uclass_id { > UCLASS_ADC, /* Analog-to-digital converter */ > UCLASS

Re: [U-Boot] [PATCH 1/5] ARM: MediaTek: Add support for MediaTek MT8518 SoC

2019-10-14 Thread Mingming Lee
On Sun, 2019-10-13 at 18:55 +0800, Matthias Brugger wrote: > > On 11/09/2019 13:14, mingming lee wrote: > > Add support for MediaTek MT8518 SoC. This include the file > > that will initialize the SoC after boot and its device tree. > > > > Signed-off-by: mingming lee > > --- > > arch/arm/dts/mt

Re: [U-Boot] [PATCH 1/5] ARM: MediaTek: Add support for MediaTek MT8518 SoC

2019-10-14 Thread Mingming Lee
On Sun, 2019-10-13 at 18:55 +0800, Matthias Brugger wrote: > > On 11/09/2019 13:14, mingming lee wrote: > > Add support for MediaTek MT8518 SoC. This include the file > > that will initialize the SoC after boot and its device tree. > > > > Signed-off-by: mingming lee > > --- > > arch/arm/dts/mt

Re: [U-Boot] [PATCH 1/5] ARM: MediaTek: Add support for MediaTek MT8518 SoC

2019-10-14 Thread Mingming Lee
On Sun, 2019-10-13 at 18:55 +0800, Matthias Brugger wrote: > > On 11/09/2019 13:14, mingming lee wrote: > > Add support for MediaTek MT8518 SoC. This include the file > > that will initialize the SoC after boot and its device tree. > > > > Signed-off-by: mingming lee > > --- > > arch/arm/dts/mt

Re: [U-Boot] [PATCH] imx: update i.MX8MQ device trees

2019-10-14 Thread Peng Fan
> Subject: [PATCH] imx: update i.MX8MQ device trees > > This updates the i.MX8MQ device trees and, necessarily, also the > i.MX8MQ clock bindings. These are taken verbatim from from the > Linux kernel version v5.4-rc2, which three small changes which > were already part of the previous device tre

Re: [U-Boot] [PATCH] imx: require CCM driver only on i.MX8MM

2019-10-14 Thread Peng Fan
> Subject: [PATCH] imx: require CCM driver only on i.MX8MM > > Since there is no clock driver like that for i.MX8MQ, we cannot require it on > that platform, so make sure it is only built for i.MX8MM. This makes > i.MX8MQ platforms work again. I would add this: diff --git a/arch/arm/mach-imx/im

Re: [U-Boot] [PATCH] test/py: hush_if_test: Add tests to cover octal/hex values

2019-10-14 Thread Michal Simek
Hi Simon, On 11. 10. 19 17:53, Simon Glass wrote: > Hi Michal, > > On Fri, 11 Oct 2019 at 01:50, Michal Simek wrote: >> >> On 10. 10. 19 19:06, Simon Glass wrote: >>> Hi Michal, >>> >>> On Thu, 10 Oct 2019 at 05:44, Michal Simek wrote: Extend test suite to cover also automatic octal/h

Re: [U-Boot] [NXP-IMX] please pull imx-master-10-14

2019-10-14 Thread Peng Fan
Hi Stefano, > > > Subject: Re: [NXP-IMX] please pull imx-master-10-14 > > > > Hi Peng, > > > > On 14/10/19 11:48, Peng Fan wrote: > > > Hi Stefano, > > > > > > Please pull imx-master-10-14. This pull request was based on imx/master. > > > > > > > I have 40 patches already applied in my -next, any

Re: [U-Boot] [PATCH v2] cmd: pxe: Use internal FDT if retrieving from FDTDIR fails

2019-10-14 Thread Anton Leontiev
2019-09-03 10:52, Anton Leontiev : > From: Anton Leontiev > > As FDTDIR label doesn't specify exact file to be loaded, it should > not fail if no file exists in the directory. In this case try to boot > with internal FDT if it exists. > > Signed-off-by: Anton Leontiev Tom, could you take a look

Re: [U-Boot] [PATCH v5] cmd: env: extend "env [set|print] -e" to manage UEFI variables

2019-10-14 Thread Heinrich Schuchardt
On 10/15/19 3:42 AM, AKASHI Takahiro wrote: With this patch, when setting UEFI variable with "env set -e" command, we will be able to - specify vendor guid with "-guid guid", - specify variable attributes, BOOTSERVICE_ACCESS, RUNTIME_ACCESS, respectively with "-bs" and "-rt", - append a value

Re: [U-Boot] [PATCH v1 00/11] import x509/pkcs7 parsers from linux

2019-10-14 Thread Heinrich Schuchardt
On 10/15/19 5:18 AM, AKASHI Takahiro wrote: On Sat, Oct 12, 2019 at 03:02:09PM +0200, Heinrich Schuchardt wrote: On 10/11/19 9:55 AM, AKASHI Takahiro wrote: I hope this patch set will be reviewed promptly as I'm aiming to push my "UEFI secure boot" patch for v2020.01. How can I make all of t

[U-Boot] [PATCH 1/2] ata: fsl_sata: Add sata DM support for Freescale powerpc

2019-10-14 Thread Peng Ma
T series socs This patch is to support Freescale sata driver with dts initialized. We needed to enable CONFIG_BLK on this platform. It adds the SATA controller as AHCI device, which is strictly speaking not correct, as the controller is not AHCI compatible. But the U-Boot AHCI uclass interface ena

[U-Boot] [PATCH 2/2] ata: sata_sil: Add sata DM support for Silicon driver

2019-10-14 Thread Peng Ma
This patch is to support Silicon(SIL3131 / SIL3132 / SIL3124) sata driver with dts initialized. This changed same as fsl_sata.c some of our socs need to use this driver such as P series platforms. Also resolved the following problems. = WARNING ==" This boar

Re: [U-Boot] [PATCH] pci: layerscape: remove multiple definitions of SVR

2019-10-14 Thread Z.q. Hou
Hi Pankaj, > -Original Message- > From: Pankaj Bansal > Sent: 2019年10月14日 16:56 > To: Priyanka Jain ; Xiaowei Bao > ; Tom Rini ; Z.q. Hou > > Cc: u-boot@lists.denx.de; Pankaj Bansal > Subject: [PATCH] pci: layerscape: remove multiple definitions of SVR > > SVR values for various nxp SOC

Re: [U-Boot] [PATCH v1 00/11] import x509/pkcs7 parsers from linux

2019-10-14 Thread AKASHI Takahiro
On Sat, Oct 12, 2019 at 03:02:09PM +0200, Heinrich Schuchardt wrote: > On 10/11/19 9:55 AM, AKASHI Takahiro wrote: > >I hope this patch set will be reviewed promptly as I'm aiming to > >push my "UEFI secure boot" patch for v2020.01. > > > > How can I make all of these new files being built to chec

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

2019-10-14 Thread Tom Rini
On Tue, Oct 15, 2019 at 01:45:09AM +0200, Marek Vasut wrote: > The following changes since commit 548aefa5b9e5c31681e0a8bd78e96b66eedd1137: > > travis: Move keystone 3 (k3) boards into the k2 job (2019-10-09 > 11:44:59 -0400) > > are available in the Git repository at: > > git://git.denx.de

Re: [U-Boot] [PATCH] pci: layerscape: Only set EP CFG READY bit

2019-10-14 Thread Z.q. Hou
> -Original Message- > From: Pankaj Bansal > Sent: 2019年10月14日 19:43 > To: Priyanka Jain ; Xiaowei Bao > ; Tom Rini ; Z.q. Hou > > Cc: u-boot@lists.denx.de; Pankaj Bansal > Subject: [PATCH] pci: layerscape: Only set EP CFG READY bit > > As part of EP setup, we want to set the config re

Re: [U-Boot] Using MinGW gcc cross-compiling host tools for Windows broken

2019-10-14 Thread Peter Tyser
Hi Bin, - Original Message - > From: "Bin Meng" > To: "ptyser" , "Vladimir Yakovlev" , > "Mike Frysinger" , "Remy > Bohmer" , "U-Boot Mailing List" > Cc: "Tom Rini" > Sent: Monday, October 14, 2019 4:46:16 AM > Subject: Using MinGW gcc cross-compiling host tools for Windows broken > H

[U-Boot] [PATCH v5] cmd: env: extend "env [set|print] -e" to manage UEFI variables

2019-10-14 Thread AKASHI Takahiro
With this patch, when setting UEFI variable with "env set -e" command, we will be able to - specify vendor guid with "-guid guid", - specify variable attributes, BOOTSERVICE_ACCESS, RUNTIME_ACCESS, respectively with "-bs" and "-rt", - append a value instead of overwriting with "-a", - use memory

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

2019-10-14 Thread Marek Vasut
On 10/15/19 2:59 AM, Tom Rini wrote: > On Tue, Oct 15, 2019 at 01:34:57AM +0200, Marek Vasut wrote: > >> The following changes since commit 44fb0d6c9f5147a41c710032869e5e01b3c9e310: >> >> Merge tag 'xilinx-for-v2020.01' of >> https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze (2019-10-09

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

2019-10-14 Thread Tom Rini
On Tue, Oct 15, 2019 at 01:34:57AM +0200, Marek Vasut wrote: > The following changes since commit 44fb0d6c9f5147a41c710032869e5e01b3c9e310: > > Merge tag 'xilinx-for-v2020.01' of > https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze (2019-10-09 > 16:22:03 -0400) > > are available in the

Re: [U-Boot] [U-Boot PATCH v2] RISC-V: Align boot image header with Linux

2019-10-14 Thread Rick Chen
> > From: Atish Patra [mailto:atish.pa...@wdc.com] > > Sent: Thursday, October 10, 2019 1:34 AM > > To: u-boot@lists.denx.de > > Cc: Atish Patra; Marek Vasut; Rick Jian-Zhi Chen(陳建志); David > > Abdurachmanov; paul.walms...@sifive.com > > Subject: [U-Boot PATCH v2] RISC-V: Align boot image header wi

Re: [U-Boot] [PATCH v3] cmd: env: extend "env [set|print] -e" to manage UEFI variables

2019-10-14 Thread AKASHI Takahiro
Heinrich, Thank you for your review. On Sun, Oct 13, 2019 at 05:38:27PM +0200, Heinrich Schuchardt wrote: > On 10/8/19 2:05 AM, AKASHI Takahiro wrote: > >On Mon, Oct 07, 2019 at 06:45:08PM +0200, Heinrich Schuchardt wrote: > >>On 10/7/19 5:43 PM, Tom Rini wrote: > >>>On Mon, Oct 07, 2019 at 02:02

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

2019-10-14 Thread Marek Vasut
The following changes since commit 548aefa5b9e5c31681e0a8bd78e96b66eedd1137: travis: Move keystone 3 (k3) boards into the k2 job (2019-10-09 11:44:59 -0400) are available in the Git repository at: git://git.denx.de/u-boot-socfpga.git master for you to fetch changes up to e6281b8ab07e0d64be3

Re: [U-Boot] [RESEND PATCH 4/5] usb: host: dwc2: add usb33d supply support for stm32mp1

2019-10-14 Thread Marek Vasut
On 10/14/19 10:00 AM, Patrick Delaunay wrote: > Enable the usb33d-supply on STM32MP1 SoCs (with "st,stm32mp1-hsotg" > compatible), it is the external VBUS and ID sensing comparators supply > needed to perform OTG operation. I suspect we might need some dwc2-stm32p1.c SoC-specific driver here. Addi

Re: [U-Boot] [RESEND PATCH 3/5] usb: host: dwc2: force reset assert

2019-10-14 Thread Marek Vasut
On 10/14/19 10:00 AM, Patrick Delaunay wrote: > Assert reset before deassert in dwc2_reset; > It should be more safe for DWC2. Can you be more descriptive about this issue ? I have no idea what this patch does or fixes from the description. > Signed-off-by: Patrick Delaunay > --- > > drivers/u

Re: [U-Boot] [RESEND PATCH 2/5] usb: host: dwc2: add support for clk

2019-10-14 Thread Marek Vasut
On 10/14/19 10:00 AM, Patrick Delaunay wrote: > Add support for clock with driver model. > Same question as with the PHY -- is there now a mandatory dependency on the DM CLK ? [...] > @@ -1403,6 +1429,7 @@ static int dwc2_usb_remove(struct udevice *dev) > dwc2_uninit_common(priv->regs); >

Re: [U-Boot] [RESEND PATCH 1/5] usb: host: dwc2: add phy support

2019-10-14 Thread Marek Vasut
On 10/14/19 10:00 AM, Patrick Delaunay wrote: > Use generic phy to initialize the PHY associated to the PHY and USB are abbreviations, should be in capitals. > DWC2 device and available in the device tree. [...] General question -- is the PHY subsystem a mandatory dependency of this driver now

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

2019-10-14 Thread Marek Vasut
The following changes since commit 44fb0d6c9f5147a41c710032869e5e01b3c9e310: Merge tag 'xilinx-for-v2020.01' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze (2019-10-09 16:22:03 -0400) are available in the Git repository at: git://git.denx.de/u-boot-usb.git master for you to f

Re: [U-Boot] [PATCH 2/2] test: provide test for errno_str()

2019-10-14 Thread Tom Rini
On Sun, Oct 13, 2019 at 05:36:06PM +0200, Heinrich Schuchardt wrote: > On 10/13/19 5:03 PM, Simon Glass wrote: > > Hi Heinrich, > > > > On Sun, 6 Oct 2019 at 06:33, Heinrich Schuchardt wrote: > > > > > > Provide a unit test for errno_str(). Test that known and unknown error > > > numbers are han

Re: [U-Boot] [PATCH v2] arm: add initial support for the Phytium FT2004 SoC

2019-10-14 Thread Tom Rini
On Fri, Oct 11, 2019 at 07:13:59AM +, liu hao wrote: > This adds platform code and the device tree for the Phytium FT2004 SoC. > The initial support comprises the UART and the GMAC. > > v2: > - Some printf() are removed or replace by debug(). @Tom > - The ft2004_defconfig file is generated wi

[U-Boot] [PATCH 8/9] bootstage: Mark the start/end of TPL and SPL separately

2019-10-14 Thread Simon Glass
At present bootstage in TPL and SPL use the same ID so it is not possible to see the timing of each. Separate out the IDs and use the correct one depending on which phase we are at. Example output: Timer summary in microseconds (14 records): MarkElapsed Stage 0 0 r

[U-Boot] [PATCH 7/9] bootstage: Correct relocation algorithm

2019-10-14 Thread Simon Glass
At present bootstage relocation assumes that it is possible to point back to memory available before relocation, so it does not relocate the strings. However this is not the case on some platforms, such as x86 which uses the cache as RAM and loses access to this when the cache is enabled. Move the

[U-Boot] [PATCH 5/9] bootstage: Fix counting of entries in stash

2019-10-14 Thread Simon Glass
The current code searches for empty records but these do not exist with bootstage now. This used to be needed when bootstage records were stored in a sparse array. Drop the unnecessary code and fix a code-style nit at the same time. Signed-off-by: Simon Glass --- common/bootstage.c | 12 ++

[U-Boot] [PATCH 9/9] bootstage: Allow SPL to obtain bootstage info from TPL

2019-10-14 Thread Simon Glass
It is possible to enable bootstage in TPL. TPL can stash the info for SPL. But at present this information is then lost because SPL does not read from the stash. Add support for SPL not being the first phase to enable bootstage. Signed-off-by: Simon Glass --- common/spl/spl.c | 16 +

[U-Boot] [PATCH 2/9] tiny-printf: Add print_grouped_ull()

2019-10-14 Thread Simon Glass
This function is used in the bootstage report which may be triggered in sPL or TPL. Add a very basic implication of this function so that it builds. There is no attempt to get the formatting right, since this would add too much to code size. Signed-off-by: Simon Glass --- lib/tiny-printf.c | 6

[U-Boot] [PATCH 6/9] bootstage: Avoid conflicts between stash/unstash

2019-10-14 Thread Simon Glass
At present there is a single shared address for bootstage data in both TPL and SPL. If SPL unstashs TPL bootstage info and then stashes it again to pass it to U-Boot, the new stash overwrites the strings of the old stash. Fix this by duplicating the strings into the malloc() region. This should be

[U-Boot] [PATCH 1/9] tiny-printf: Reduce size by removing ctype

2019-10-14 Thread Simon Glass
The ctype array is brought into the image, adding 256 bytes, when it is unlikely to be needed. The extra code for %p is only present when DEBUG is defined, so let's drop ctype as well unless DEBUG is defined. Signed-off-by: Simon Glass --- lib/tiny-printf.c | 7 +++ 1 file changed, 7 insert

[U-Boot] [PATCH 4/9] bootstage: Store the next ID in the stash

2019-10-14 Thread Simon Glass
When stashing bootstage info, store the next ID so that it can be used when the stash is restored. This avoids the ID starting at zero and potentially overwriting existing entries. Signed-off-by: Simon Glass --- common/bootstage.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-

[U-Boot] [PATCH 3/9] bloblist: Reserve an aligned base

2019-10-14 Thread Simon Glass
Make sure that the bloblist starts on an aligned boundary. This protects against one of the earlier allocations causing the alignment to be lost. Signed-off-by: Simon Glass --- common/board_f.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/board_f.c b/common/board_f.c index 591f18f

[U-Boot] [PATCH 0/9] bootstage: TPL and SPL improvements

2019-10-14 Thread Simon Glass
At present bootstage cannot be fully used on x86 since it violates a few U-Boot rules, mostly accessing pre-relocation memory after relocation. This series corrects this and adds better support for using bootstage in TPL. Simon Glass (9): tiny-printf: Reduce size by removing ctype tiny-printf

Re: [U-Boot] [PATCH 097/126] x86: Add support for newer CAR schemes

2019-10-14 Thread Simon Glass
Hi Bin, On Sun, 13 Oct 2019 at 19:58, Bin Meng wrote: > > Hi Simon, > > On Sun, Oct 13, 2019 at 1:53 AM Simon Glass wrote: > > > > Hi Bin, > > > > On Fri, 11 Oct 2019 at 22:48, Bin Meng wrote: > > > > > > Hi Simon, > > > > > > On Sat, Oct 12, 2019 at 11:38 AM Simon Glass wrote: > > > > > > > >

Re: [U-Boot] IS_ERR_VALUE failing on socfpga gen5

2019-10-14 Thread Simon Glass
Hi Simon, On Mon, 14 Oct 2019 at 14:05, Simon Goldschmidt wrote: > > Am 14.10.2019 um 22:02 schrieb Simon Glass: > > Hi Simon, > > > > On Mon, 14 Oct 2019 at 13:13, Simon Goldschmidt > > wrote: > >> > >> Am 12.10.2019 um 00:11 schrieb Simon Glass: > >>> Hi Simon, > >>> > >>> On Fri, 11 Oct 2019

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx u-boot-imx-20191014

2019-10-14 Thread Tom Rini
> are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git > tags/u-boot-imx-20191014 > > for you to fetch changes up to d02be21d3004b51c6fc9a54b90d31dcc2dac4a9a: > > i2c: imx_lpi2c: add ipg clk (2019-10-14 09:31:41 +0200

Re: [U-Boot] IS_ERR_VALUE failing on socfpga gen5

2019-10-14 Thread Simon Goldschmidt
Am 14.10.2019 um 22:02 schrieb Simon Glass: Hi Simon, On Mon, 14 Oct 2019 at 13:13, Simon Goldschmidt wrote: Am 12.10.2019 um 00:11 schrieb Simon Glass: Hi Simon, On Fri, 11 Oct 2019 at 12:31, Simon Goldschmidt wrote: Simon Glass schrieb am Fr., 11. Okt. 2019, 20:27: Hi Simon, On T

Re: [U-Boot] [PATCH 066/126] x86: spl: Support init of a PUNIT

2019-10-14 Thread Simon Glass
Hi Bin, On Wed, 9 Oct 2019 at 08:02, Bin Meng wrote: > > Hi Simon, > > On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote: > > > > The x86 power unit handles power management. Support initing this device > > which is modelled as a new type of system controller since there are no > > operations n

Re: [U-Boot] [PATCH 021/126] sandbox: net: Suppress the MAC-address warnings

2019-10-14 Thread Simon Glass
Hi, On Sat, 5 Oct 2019 at 20:42, Joe Hershberger wrote: > > Hi Bin, > > On Sat, Oct 5, 2019 at 9:13 PM Bin Meng wrote: > > > > Hi Joe, > > > > On Sun, Oct 6, 2019 at 9:05 AM Joe Hershberger > > wrote: > > > > > > Hi Bin, > > > > > > On Fri, Oct 4, 2019 at 9:27 PM Bin Meng wrote: > > > > > > >

Re: [U-Boot] IS_ERR_VALUE failing on socfpga gen5

2019-10-14 Thread Simon Glass
Hi Simon, On Mon, 14 Oct 2019 at 13:13, Simon Goldschmidt wrote: > > Am 12.10.2019 um 00:11 schrieb Simon Glass: > > Hi Simon, > > > > On Fri, 11 Oct 2019 at 12:31, Simon Goldschmidt > > wrote: > >> > >> > >> > >> Simon Glass schrieb am Fr., 11. Okt. 2019, 20:27: > >>> > >>> Hi Simon, > >>> > >

Re: [U-Boot] IS_ERR_VALUE failing on socfpga gen5

2019-10-14 Thread Simon Goldschmidt
Am 12.10.2019 um 00:11 schrieb Simon Glass: Hi Simon, On Fri, 11 Oct 2019 at 12:31, Simon Goldschmidt wrote: Simon Glass schrieb am Fr., 11. Okt. 2019, 20:27: Hi Simon, On Tue, 8 Oct 2019 at 14:34, Simon Goldschmidt wrote: In a series I'm currently preparing, I've stumbled accross th

[U-Boot] [PATCH] ubi: env: fix redundand management

2019-10-14 Thread Philippe Reynes
We check (with a #if defined()) the config ENV_UBI_VOLUME_REDUND to know if there is a redundant env. But this config is a string and is always defined with env is in ubi, so we always condider that a redundand env is used. To fix this issue, I've added a hidden flag ENV_UBI_IS_VOLUME_REDUND that

Re: [U-Boot] [PATCH v5 15/15] stm32mp1: configs: add display devices

2019-10-14 Thread Anatolij Gustschin
On Mon, 7 Oct 2019 15:29:15 +0200 Yannick Fertré yannick.fer...@st.com wrote: > Add support of panels otm8009A, RM68200 & DSI controller. > Limit resolution to 1280x800. > > Signed-off-by: Yannick Fertré > --- > configs/stm32mp15_basic_defconfig | 6 ++ > configs/stm32mp15_optee_defconfig

Re: [U-Boot] [PATCH v5 14/15] stm32mp1: configs: update video

2019-10-14 Thread Anatolij Gustschin
On Mon, 7 Oct 2019 15:29:14 +0200 Yannick Fertré yannick.fer...@st.com wrote: > Update video configs to support bitmap 16bpp, 24bpp, > 32bpp & RLE8. > > Signed-off-by: Yannick Fertré > --- > include/configs/stm32mp1.h | 7 +++ > 1 file changed, 7 insertions(+) Applied to u-boot-video/maste

Re: [U-Boot] [PATCH v5 12/15] ARM: dts: stm32mp1: add dsi host for stm32mp157c-ev1 board

2019-10-14 Thread Anatolij Gustschin
On Mon, 7 Oct 2019 15:29:12 +0200 Yannick Fertré yannick.fer...@st.com wrote: > The new class dsi host allows the management of the bridge DPI to DSI. > This bridge is embedded in the chipset mp1 (come from synopsys company). > > Signed-off-by: Yannick Fertré > --- > arch/arm/dts/stm32mp157c-ev

Re: [U-Boot] [PATCH v5 13/15] ARM: dts: stm32mp1: add dsi host for stm32mp157c-dk2 board

2019-10-14 Thread Anatolij Gustschin
On Mon, 7 Oct 2019 15:29:13 +0200 Yannick Fertré yannick.fer...@st.com wrote: > The new class dsi host allows the management of the bridge DPI to DSI. > This bridge is embedded in the chipset mp1 (come from synopsys company). > > Signed-off-by: Yannick Fertré > --- > arch/arm/dts/stm32mp157c-dk

Re: [U-Boot] [PATCH v5 11/15] ARM: dts: stm32f769: add display for STM32F769 disco board

2019-10-14 Thread Anatolij Gustschin
On Mon, 7 Oct 2019 15:29:11 +0200 Yannick Fertré yannick.fer...@st.com wrote: > Enable the display controller, mipi dsi bridge & panel. > Set panel display timings. > > Signed-off-by: Yannick Fertré > --- > arch/arm/dts/stm32f769-disco-u-boot.dtsi | 62 > > 1 f

Re: [U-Boot] [PATCH v5 10/15] board: Add STM32F769 SoC, discovery board support

2019-10-14 Thread Anatolij Gustschin
On Mon, 7 Oct 2019 15:29:10 +0200 Yannick Fertré yannick.fer...@st.com wrote: > Signed-off-by: Yannick Fertré > --- > configs/stm32f769-disco_defconfig | 63 > +++ > 1 file changed, 63 insertions(+) > create mode 100644 configs/stm32f769-disco_defconfig Add

Re: [U-Boot] [PATCH v5 08/15] video: add support of panel OTM8009A

2019-10-14 Thread Anatolij Gustschin
On Mon, 7 Oct 2019 15:29:08 +0200 Yannick Fertré yannick.fer...@st.com wrote: > Support for Orise Tech otm8009a 480p dsi 2dl video mode panel. > > Signed-off-by: Yannick Fertré > --- > drivers/video/Kconfig | 9 + > drivers/video/Makefile | 1 + > drivers/video/oris

Re: [U-Boot] [PATCH v5 09/15] video: add support of panel RM68200

2019-10-14 Thread Anatolij Gustschin
On Mon, 7 Oct 2019 15:29:09 +0200 Yannick Fertré yannick.fer...@st.com wrote: > Support for Raydium RM68200 720p dsi 2dl video mode panel. > This rm68200 panel driver is based on the Linux Kernel driver from > drivers/gpu/drm/panel/panel-raydium-rm68200.c. > > Signed-off-by: Yannick Fertré > ---

Re: [U-Boot] [PATCH v5 07/15] video: add support of STM32 MIPI DSI controller driver

2019-10-14 Thread Anatolij Gustschin
On Mon, 7 Oct 2019 15:29:07 +0200 Yannick Fertré yannick.fer...@st.com wrote: > Add the STM32 DSI controller driver that uses the Synopsys DesignWare > MIPI DSI host controller bridge. > > Signed-off-by: Yannick Fertré > --- > drivers/video/stm32/Kconfig | 9 + > drivers/video/stm32/Makef

Re: [U-Boot] [PATCH v5 06/15] video: add MIPI DSI host controller bridge

2019-10-14 Thread Anatolij Gustschin
On Mon, 7 Oct 2019 15:29:06 +0200 Yannick Fertré yannick.fer...@st.com wrote: > Add a Synopsys Designware MIPI DSI host bridge driver, based on the > Rockchip version from rockchip/dw-mipi-dsi.c with phy & bridge APIs. > > Signed-off-by: Yannick Fertré > --- > drivers/video/Kconfig | 10

Re: [U-Boot] [PATCH v5 05/15] dm: Add a dsi host uclass

2019-10-14 Thread Anatolij Gustschin
On Mon, 7 Oct 2019 15:29:05 +0200 Yannick Fertré yannick.fer...@st.com wrote: > Display Serial Interface (DSI) host can usefully be modelled > as their own uclass. > DSI defines a serial bus and a communication protocol > between the host and the device (panel, bridge). > > Signed-off-by: Yannick

Re: [U-Boot] [PATCH v5 04/15] video: add support of MIPI DSI interface

2019-10-14 Thread Anatolij Gustschin
On Mon, 7 Oct 2019 15:29:04 +0200 Yannick Fertré yannick.fer...@st.com wrote: > Mipi_display.c contains a set of dsi helpers. > This file is a copy of file drm_mipi_dsi.c (linux kernel). > > Signed-off-by: Yannick Fertré > --- > drivers/video/Kconfig| 8 + > drivers/video/Makefile | 1

Re: [U-Boot] [PATCH v5 03/15] include: Add new DCS commands in the enum list

2019-10-14 Thread Anatolij Gustschin
On Mon, 7 Oct 2019 15:29:03 +0200 Yannick Fertré yannick.fer...@st.com wrote: > Adding new DCS commands which are specified in the > DCS 1.3 spec related to CABC. > > Signed-off-by: Yannick Fertré > --- > include/mipi_display.h | 8 > 1 file changed, 8 insertions(+) Applied to u-boot-

Re: [U-Boot] [PATCH v5 02/15] video: stm32: stm32_ltdc: add bridge to display controller

2019-10-14 Thread Anatolij Gustschin
On Mon, 7 Oct 2019 15:29:02 +0200 Yannick Fertré yannick.fer...@st.com wrote: > Manage a bridge insert between the display controller & a panel. > > Signed-off-by: Yannick Fertré > --- > drivers/video/stm32/stm32_ltdc.c | 143 > +++ > 1 file changed, 83 inse

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

2019-10-14 Thread Tom Rini
On Mon, Oct 14, 2019 at 11:40:13AM +0200, Anatolij Gustschin wrote: > Hi Tom, > > please pull video updates for v2020.01. > > Travis-CI: https://travis-ci.org/vdsao/u-boot-video/builds/597379178 > > Thanks, > Anatolij > > The following changes since commit 7a779ed1755c2d5011bd9598da90291f759ae

Re: [U-Boot] [PULL] u-boot-mmc mmc-10-10-2019

2019-10-14 Thread Tom Rini
On Mon, Oct 14, 2019 at 02:16:59AM +, Peng Fan wrote: > Hi Tom, > > Please pull u-boot-mmc mmc-10-10-2019 > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://

[U-Boot] cmd: clarification on 'env ask' command execution

2019-10-14 Thread Adarsh Babu Kalepalli
Hi, 'help env' gives usage for 'ask' option as : "env ask name [message] [size] - ask for environment variable" How are the optional parameters [message] and [size] related to env variable 'name' ?? When I execute 'env' with option 'ask' and do not enter any value for the environment variable,

Re: [U-Boot] [PATCH 3/5] remoteproc: stm32: load resource table from firmware

2019-10-14 Thread Fabien DESSENNE
On 11/10/2019 10:09 PM, Suman Anna wrote: > Hi Fabien, > > On 10/9/19 10:36 AM, Fabien Dessenne wrote: >> Load the optional resource table from the firmware, and write its >> address in the dedicated backup register. > What processor is this? Reason I ask is that you are using 0 as a no > resource

Re: [U-Boot] [PATCH 4/5] stm32mp1: Fixup the Linux DeviceTree with coprocessor information

2019-10-14 Thread Fabien DESSENNE
Hi Suman, Thank you for your comments. On 11/10/2019 9:57 PM, Suman Anna wrote: > Hi Fabien, > > On 10/9/19 10:36 AM, Fabien Dessenne wrote: >> When the coprocessor has been started, provide the context to Linux >> kernel so it can handle it: >> - update the coprocessor node of kernel DeviceTre

Re: [U-Boot] [PATCH 5/5] remoteproc: stm32: invert the is_running() return value

2019-10-14 Thread Fabien DESSENNE
On 11/10/2019 10:00 PM, Suman Anna wrote: > On 10/9/19 10:36 AM, Fabien Dessenne wrote: >> The .is_running() ops expects a return value of 0 if the processor is >> running, 1 if not running : align to this. >> >> Signed-off-by: Fabien Dessenne > This patch should be earlier than patch4, right?

Re: [U-Boot] [PATCH 26/34] binman: Correct symbol calculation with non-zero image base

2019-10-14 Thread Stephen Warren
On 9/26/19 6:38 PM, s...@google.com wrote: At present binman adds the image base address to the symbol value before it writes it to the binary. This is not correct since the symbol value itself (e.g. image position) has no relationship to the image base. Fix this and update the tests to cover th

[U-Boot] [PATCH v1] imx: defconfig: Enable CONFIG_SPL_FORCE_MMC_BOOT on display5

2019-10-14 Thread Lukasz Majewski
After the following commit: commit 772b55723bcb ("imx: Introduce CONFIG_SPL_FORCE_MMC_BOOT to force MMC boot on falcon mode") it is possible to set the CONFIG_SPL_FORCE_MMC_BOOT flag, which allows using MMC device as boot device regardless of the device used by Boot ROM (FBL) as the first boot medi

Re: [U-Boot] [PATCH v4 0/3] env: Add CONFIG_ENV_FULL_SUPPORT

2019-10-14 Thread Patrick DELAUNAY
Hi Wolfgang and Tom, > From: Wolfgang Denk > Sent: lundi 7 octobre 2019 19:57 > > Dear Patrick, > > In message <20191003072428.19197-1-patrick.delau...@st.com> you wrote: > > > > This patchset follow > > > > http://patchwork.ozlabs.org/project/uboot/list/?series=131268&state=* > > > > It follow

Re: [U-Boot] [ANN] U-Boot v2019.10 released

2019-10-14 Thread Tom Rini
On Mon, Oct 14, 2019 at 01:04:00PM +0200, Daniel Schwierzeck wrote: > Hi Tom, > > On Tue, Oct 8, 2019 at 2:53 PM Tom Rini wrote: > > > > On Tue, Oct 08, 2019 at 08:50:17AM -0400, Tom Rini wrote: > > > On Tue, Oct 08, 2019 at 08:42:58PM +0800, Bin Meng wrote: > > > > On Tue, Oct 8, 2019 at 8:36 PM

Re: [U-Boot] [BUG] cmd : Local Hush Variable Could not be deleted

2019-10-14 Thread Adarsh Babu Kalepalli
Hello Wolfgang Denk, > => localvar= > => showvar > HUSH_VERSION=0.01 > target=pxe > devnum=1 > localvar=hello When 'localvar' is assigned an empty value , the 'showvar' command displays the previously assigned 'hello'. How do we set an empty value to a hush shell local variable ?? Regards, Ada

[U-Boot] [PATCH] net: phy: aquantia: wait for phy init sequence to finish

2019-10-14 Thread Florin Chiculita
Aquantia quad-phys may take longer to initialize. This commit adds a polling mechanism for a global alarm bit that tells if phy init sequence is completed. Signed-off-by: Florin Chiculita --- drivers/net/phy/aquantia.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/n

[U-Boot] [PATCH 2/7] arm64: zynqmp: Switch to xlnx-zynqmp-clk header

2019-10-14 Thread Michal Simek
Use prepared header instead of hardcoded values. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-clk-ccf.dtsi | 164 ++- arch/arm/dts/zynqmp.dtsi | 2 +- drivers/clk/clk_zynqmp.c | 1 - 3 files changed, 73 insertions(+), 94 deletions(-) diff

[U-Boot] [PATCH 4/7] dt-bindings: arm64: zynqmp: Add power and reset headers

2019-10-14 Thread Michal Simek
Add power and reset headers to be sources by ZynqMP dtses. Signed-off-by: Michal Simek --- include/dt-bindings/power/xlnx-zynqmp-power.h | 39 ++ .../dt-bindings/reset/xlnx-zynqmp-resets.h| 130 ++ 2 files changed, 169 insertions(+) create mode 100644 include/dt-bindin

[U-Boot] [PATCH 5/7] arm64: zynqmp: Use reset header in zynqmp.dtsi

2019-10-14 Thread Michal Simek
Wire reset-controller and use macros from reset header. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 23 +++ 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index dea918a0419a..a498ff9af623 1006

[U-Boot] [PATCH 7/7] arm64: zynqmp: List lpd watchdog in dtsi

2019-10-14 Thread Michal Simek
There are use cases where lpd watchdog can be configured for APU use. By design this IP should be listed in zynqmp.dtsi to make sure that node is properly enabled by DTG. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-clk-ccf.dtsi | 4 arch/arm/dts/zynqmp-clk.dtsi | 4 arch/a

[U-Boot] [PATCH 3/7] arm64: zynqmp: Use backward compatible string for gem

2019-10-14 Thread Michal Simek
Add backward compatible string for gem ("cdns,gem"). Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index 854608c9382b..dea918a0419a 100644 --- a/arch/arm/dt

[U-Boot] [PATCH 6/7] arm64: zynqmp: Use power header in zynqmp.dtsi

2019-10-14 Thread Michal Simek
Use power header and add power-domains property. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 43 1 file changed, 43 insertions(+) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index a498ff9af623..6f81909043aa 100644 ---

[U-Boot] [PATCH 1/7] dt-bindings: clock: zynqmp: Add clk header

2019-10-14 Thread Michal Simek
From: Rajan Vaja Add dt clock header which can be included by dtses. And also use zynqmp-clk compatible string. Signed-off-by: Rajan Vaja Signed-off-by: Michal Simek --- include/dt-bindings/clock/xlnx-zynqmp-clk.h | 126 1 file changed, 126 insertions(+) create mode 100

[U-Boot] [PATCH 0/7] arm64: zynqmp: Switch to use dt-binding headers

2019-10-14 Thread Michal Simek
Hi, use macros from headers and sync dtses with latest description. Thanks, Michal Michal Simek (6): arm64: zynqmp: Switch to xlnx-zynqmp-clk header arm64: zynqmp: Use backward compatible string for gem dt-bindings: arm64: zynqmp: Add power and reset headers arm64: zynqmp: Use reset hea

[U-Boot] [PATCH] arm64: zynqmp: Update nand device tree node properties

2019-10-14 Thread Michal Simek
From: Naga Sureshkumar Relli This patch updates the nand device tree node properties as per updated driver. Signed-off-by: Naga Sureshkumar Relli Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts | 104 +-- arch/arm/dts/zynqmp.dtsi |

[U-Boot] [PATCH] arm64: zynqmp: Fix DT style for ipi mailbox

2019-10-14 Thread Michal Simek
Remove additional empty space. Fixes: 95497afada58 ("arm64: zynqmp: add firmware and mailbox node to DT") Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index 8e3517

[U-Boot] [PATCH 1/3] cmd: fru: Add support for FRU commands

2019-10-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch adds support for fru commands "fru capture" and "fru display". The fru capture parses the FRU table present at an address and stores in a structure for later use. The fru display prints the content of captured structured in a readable format. As of now

[U-Boot] [PATCH 3/3] arm64: versal: Enable FRU command

2019-10-14 Thread Michal Simek
Enable FRU command for Versal to enable FMC card decoding. Signed-off-by: Michal Simek --- configs/xilinx_versal_virt_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig index 1717039dc0d1..b05ed2fbeccc 10064

[U-Boot] [PATCH 2/3] cmd: fru: Add basic fru format generator

2019-10-14 Thread Michal Simek
Idea is to have something what can be used for board bringup from generic board perspective. There is a violation compare to spec that FRU ID is ASCII8 instead of binary format but this is really for having something to pass boot and boot to OS which has better generating options. Also time should

[U-Boot] [PATCH 0/3] cmd: fru: Add simple FRU generator and parser

2019-10-14 Thread Michal Simek
Hi, this code was develop for i2c eeprom decoding which is the part of VITA IPMI spec. This code is just deconding board information but it can be extended to cover other fields and SoC extensions. Thanks, Michal Michal Simek (2): cmd: fru: Add basic fru format generator arm64: versal: Enab

[U-Boot] [PATCH 1/2] spi: cadence_qspi: Move to spi-mem framework

2019-10-14 Thread Vignesh Raghavendra
Current Cadence QSPI driver has few limitations. It assumes all read operations to be in Quad mode and thus does not support SFDP parsing. Also, adding support for new mode such as Octal mode would not be possible with current configuration. Therefore move the driver over to spi-mem framework. This

[U-Boot] [PATCH 2/2] spi: cadence-qspi: Add direct mode support

2019-10-14 Thread Vignesh Raghavendra
Add support for Direct Access Controller mode of Cadence QSPI. This allows MMIO access to SPI NOR flash providing better read performance. Signed-off-by: Vignesh R Signed-off-by: Vignesh Raghavendra --- drivers/spi/cadence_qspi.c | 40 -- drivers/spi/cadence_qspi.h |

[U-Boot] [PATCH 0/2] spi: cadence-qspi: Move to spi-mem APIs

2019-10-14 Thread Vignesh Raghavendra
First patch moves driver over to spi-mem framework and implement spi_mem_ops. This is require to support more SPI Flash opcodes like SFDP parsing etc. Series is in prepartion to add Octal mode for support for the same driver to support OSPI version of the controller. Second patch adds DAC mode tha

[U-Boot] [PATCH] imx: sys_proto: Fixing function imx6_is_bmode_from_gpr9()

2019-10-14 Thread Christoph Niedermaier
A return type of u08 cuts the return value always to 0, because IMX6_SRC_GPR10_BMODE = bit 28 is above u08. Changing the return type to u32 gives the function the expected operation. Fixes: cba586b400 ("imx6: Add imx6_src_get_boot_mode") Signed-off-by: Christoph Niedermaier --- arch/arm/include/

[U-Boot] [PATCH] zynqmp: configs: Add single nand flash mini u-boot configuration

2019-10-14 Thread Michal Simek
From: T Karthik Reddy This patch adds configuration for single nand flash mini u-boot. Signed-off-by: T Karthik Reddy Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- .../xilinx_zynqmp_mini_nand_single_defconfig | 51 +++ 1 file changed, 51 insertio

[U-Boot] [PATCH 1/3] common: hash: Manually relocate struct hash_algo

2019-10-14 Thread Michal Simek
From: T Karthik Reddy This patch adds manual relocation for struct hash_algo if CONFIG_NEEDS_MANUAL_RELOC is enabled. Signed-off-by: T Karthik Reddy Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- common/hash.c | 29 + 1 file changed, 29

[U-Boot] [PATCH 2/3] drivers: crypto: rsa_mod_exp: Add manual relocation for ops->mod_exp()

2019-10-14 Thread Michal Simek
From: T Karthik Reddy This patch adds manual relocation for Modular Exponentiation if CONFIG_NEEDS_MANUAL_RELOC is enabled. Signed-off-by: T Karthik Reddy Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- drivers/crypto/rsa_mod_exp/mod_exp_uclass.c | 15 +

[U-Boot] [PATCH 0/3] crypto: Add manual relocation

2019-10-14 Thread Michal Simek
Hi, This patch series fixes manual relocation issue, as it is crashing when using RSA signed images on microblaze. Thanks, Michal T Karthik Reddy (3): common: hash: Manually relocate struct hash_algo drivers: crypto: rsa_mod_exp: Add manual relocation for ops->mod_exp() common: image-sig.

[U-Boot] [PATCH 3/3] common: image-sig.c: Add manual relocation

2019-10-14 Thread Michal Simek
From: T Karthik Reddy This patch adds manual relocation for struct checksum_algo & struct crypto_algo structures. Signed-off-by: T Karthik Reddy Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- common/image-sig.c | 29 + 1 file changed, 2

[U-Boot] [PATCH] ARM: dt: Also clean dtbo files

2019-10-14 Thread Michal Simek
dtbo files can be also generated that's why also clean them. Signed-off-by: Michal Simek --- arch/arm/dts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 53f919621bef..a9240ef450f3 100644 --- a/arch/arm/dts/Makefil

  1   2   3   >