Re: [U-Boot] Buildman Kconfig issue with consecutive builds

2019-11-06 Thread Schrempf Frieder
On 06.11.19 17:16, Frieder Schrempf wrote: > Hi, > > I'm having some trouble using buildman to test the impact of some > Kconfig cleanup patches ([1]). > > The patches introduce a new CONFIG_SPL_* option and I try to find out > which defconfigs need to be fixed, by comparing build sizes. > > N

Re: [U-Boot] USB doesn't work on Rockpro64 in u-boot

2019-11-06 Thread Vasily Khoruzhick
On Wed, Nov 6, 2019 at 7:48 PM Vasily Khoruzhick wrote: > > On Wed, Nov 6, 2019 at 8:50 AM Jagan Teki wrote: > > > > Hi Vasily, > > > > On Wed, Nov 6, 2019 at 9:17 AM Vasily Khoruzhick wrote: > > > > > > Hi Akash, Jagan, > > > > > > Looks like USB is not functional in u-boot on Rockpro64. u-boot

Re: [U-Boot] [PATCH 4/8] riscv: andes_plic: Fix some wrong configurations

2019-11-06 Thread Anup Patel
On Thu, Nov 7, 2019 at 11:40 AM Rick Chen wrote: > > Hi Anup > > > > > On Thu, Nov 7, 2019 at 10:45 AM Anup Patel wrote: > > > > > > On Thu, Nov 7, 2019 at 7:04 AM Rick Chen wrote: > > > > > > > > Hi Anup > > > > > > > > > On Wed, Nov 6, 2019 at 2:51 PM Rick Chen wrote: > > > > > > > > > > > >

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

2019-11-06 Thread Vignesh Raghavendra
Hi Simon, On 07/11/19 1:25 AM, Simon Goldschmidt wrote: > Hi Vignesh, > > On Thu, Oct 17, 2019 at 2:31 PM Vignesh Raghavendra wrote: >> >> Hi Simon, >> >> On 17/10/19 4:50 PM, Simon Goldschmidt wrote: >>> On Mon, Oct 14, 2019 at 3:27 PM Vignesh Raghavendra wrote: Current Cadence QSPI

Re: [U-Boot] [PATCH 4/8] riscv: andes_plic: Fix some wrong configurations

2019-11-06 Thread Rick Chen
Hi Anup > > On Thu, Nov 7, 2019 at 10:45 AM Anup Patel wrote: > > > > On Thu, Nov 7, 2019 at 7:04 AM Rick Chen wrote: > > > > > > Hi Anup > > > > > > > On Wed, Nov 6, 2019 at 2:51 PM Rick Chen wrote: > > > > > > > > > > Hi Anup > > > > > > > > > > > > > > > > > On Wed, Nov 6, 2019 at 2:18 PM An

Re: [U-Boot] [PATCH 2/2] freescale/powerpc: Rename the config CONFIG_SECURE_BOOT name.

2019-11-06 Thread Priyanka Jain
>-Original Message- >From: Udit Agarwal >Sent: Thursday, October 31, 2019 5:38 PM >To: u-boot@lists.denx.de >Cc: Priyanka Jain ; Arun Pathak >; Ruchika Gupta ; Udit >Agarwal >Subject: [PATCH 2/2] freescale/powerpc: Rename the config >CONFIG_SECURE_BOOT name. > >Renames the CONFIG_SECURE

Re: [U-Boot] [PATCH 4/8] riscv: andes_plic: Fix some wrong configurations

2019-11-06 Thread Anup Patel
On Thu, Nov 7, 2019 at 10:45 AM Anup Patel wrote: > > On Thu, Nov 7, 2019 at 7:04 AM Rick Chen wrote: > > > > Hi Anup > > > > > On Wed, Nov 6, 2019 at 2:51 PM Rick Chen wrote: > > > > > > > > Hi Anup > > > > > > > > > > > > > > On Wed, Nov 6, 2019 at 2:18 PM Anup Patel wrote: > > > > > > > > >

Re: [U-Boot] [PATCH 1/2] arm: dts: hummingboard: add cubox/hummingboard DT

2019-11-06 Thread Baruch Siach
Hi Fabio, On Wed, Nov 06, 2019 at 03:37:18PM -0300, Fabio Estevam wrote: > On Wed, Nov 6, 2019 at 11:28 AM Baruch Siach wrote: > > These DT files are copied from kernel v5.3 with very little changes. > > Notably missing are audmux port configuration nodes, since U-Boot does > > not provide the IM

Re: [U-Boot] [PATCH] armv8: fsl-layerscape: use IS_ENABLED()

2019-11-06 Thread Priyanka Jain
>-Original Message- >From: U-Boot On Behalf Of Michael Walle >Sent: Monday, October 21, 2019 11:03 PM >To: u-boot@lists.denx.de >Cc: Tom Rini >Subject: [U-Boot] [PATCH] armv8: fsl-layerscape: use IS_ENABLED() > >We have to use IS_ENABLED() otherwise the compiler will throw an error if >

Re: [U-Boot] [PATCH 4/8] riscv: andes_plic: Fix some wrong configurations

2019-11-06 Thread Anup Patel
On Thu, Nov 7, 2019 at 7:04 AM Rick Chen wrote: > > Hi Anup > > > On Wed, Nov 6, 2019 at 2:51 PM Rick Chen wrote: > > > > > > Hi Anup > > > > > > > > > > > On Wed, Nov 6, 2019 at 2:18 PM Anup Patel wrote: > > > > > > > > > > On Wed, Nov 6, 2019 at 12:14 PM Rick Chen > > > > > wrote: > > > > >

Re: [U-Boot] [PATCH 1/2] freescale/layerscape: Rename the config CONFIG_SECURE_BOOT name.

2019-11-06 Thread Priyanka Jain
>-Original Message- >From: Udit Agarwal >Sent: Thursday, October 31, 2019 5:38 PM >To: u-boot@lists.denx.de >Cc: Priyanka Jain ; Arun Pathak >; Ruchika Gupta ; Udit >Agarwal >Subject: [PATCH 1/2] freescale/layerscape: Rename the config >CONFIG_SECURE_BOOT name. > >Renames CONFIG_SECURE_B

Re: [U-Boot] [PATCH v2 0/9] powerpc: convert socrates board to DM

2019-11-06 Thread Priyanka Jain
>-Original Message- >From: U-Boot On Behalf Of Heiko Schocher >Sent: Wednesday, October 16, 2019 9:26 AM >To: U-Boot Mailing List >Subject: [U-Boot] [PATCH v2 0/9] powerpc: convert socrates board to DM > >convert the socrates board to use DM. > >needed pending PCI patch >https://eur01.s

Re: [U-Boot] [PATCH v2] pci: add DM based mpc85xx driver

2019-11-06 Thread Priyanka Jain
>-Original Message- >From: U-Boot On Behalf Of Heiko Schocher >Sent: Monday, October 14, 2019 3:00 PM >To: u-boot@lists.denx.de >Cc: Heinrich Schuchardt ; Z.q. Hou >; Michal Simek ; Ryder >Lee ; Stefan Roese >Subject: [U-Boot] [PATCH v2] pci: add DM based mpc85xx driver > >add DM based

[U-Boot] pull request u-boot-mpc85xx

2019-11-06 Thread Priyanka Jain
Dear Tom, Please find my pull-request for u-boot-mpc85xx/master https://travis-ci.org/p-priyanka-jain/u-boot/builds/608129628 Summary mpc85xx,socrates: Add dts, enable DM support, fix warnings, disable video priyankajain -- The f

Re: [U-Boot] USB doesn't work on Rockpro64 in u-boot

2019-11-06 Thread Vasily Khoruzhick
On Wed, Nov 6, 2019 at 8:50 AM Jagan Teki wrote: > > Hi Vasily, > > On Wed, Nov 6, 2019 at 9:17 AM Vasily Khoruzhick wrote: > > > > Hi Akash, Jagan, > > > > Looks like USB is not functional in u-boot on Rockpro64. u-boot is > > from git, commit 680023c5fab6b1777c0c6f2e76e5d2effb7903a0. > > > > I'

Re: [U-Boot] [PATCH v5 1/4] arm: dts: socfpga: Add u-boot, dm-pre-reloc for sysmgr and clkmgr nodes

2019-11-06 Thread Ley Foon Tan
On Thu, Nov 7, 2019 at 10:49 AM Marek Vasut wrote: > > On 11/7/19 3:10 AM, Ley Foon Tan wrote: > [...] > > diff --git a/arch/arm/dts/socfpga-common-u-boot.dtsi > > b/arch/arm/dts/socfpga-common-u-boot.dtsi > > index 322c858c4b..d55460755f 100644 > > --- a/arch/arm/dts/socfpga-common-u-boot.dtsi >

Re: [U-Boot] [PATCH v5 3/4] arm: socfpga: Convert system manager from struct to defines

2019-11-06 Thread Marek Vasut
On 11/7/19 3:10 AM, Ley Foon Tan wrote: [...] > diff --git a/arch/arm/mach-socfpga/misc_arria10.c > b/arch/arm/mach-socfpga/misc_arria10.c > index 2e2a40b65d..ff6ab83441 100644 > --- a/arch/arm/mach-socfpga/misc_arria10.c > +++ b/arch/arm/mach-socfpga/misc_arria10.c > @@ -28,9 +28,6 @@ > #define

Re: [U-Boot] [PATCH v5 2/4] arm: socfpga: Convert reset manager from struct to defines

2019-11-06 Thread Marek Vasut
On 11/7/19 3:10 AM, Ley Foon Tan wrote: > Convert reset manager for Gen5, Arria 10 and Stratix 10 from struct > to defines. > > Change to get reset manager base address from DT node instead of using > #define. It seems the patch also moves spl_early_init() around ? [...] > diff --git a/arch/arm

Re: [U-Boot] [PATCH v5 1/4] arm: dts: socfpga: Add u-boot, dm-pre-reloc for sysmgr and clkmgr nodes

2019-11-06 Thread Marek Vasut
On 11/7/19 3:10 AM, Ley Foon Tan wrote: [...] > diff --git a/arch/arm/dts/socfpga-common-u-boot.dtsi > b/arch/arm/dts/socfpga-common-u-boot.dtsi > index 322c858c4b..d55460755f 100644 > --- a/arch/arm/dts/socfpga-common-u-boot.dtsi > +++ b/arch/arm/dts/socfpga-common-u-boot.dtsi > @@ -10,6 +10,10 @

[U-Boot] [PATCH v5 4/4] arm: socfpga: Convert clock manager from struct to defines

2019-11-06 Thread Ley Foon Tan
Convert clock manager for Gen5, Arria 10 and Stratix 10 from struct to defines. Change to get clock manager base address from DT node instead of using #define. Signed-off-by: Ley Foon Tan --- v5: - Change macro value to 0x** format. v4: - Update commit message about get base address from DT no

[U-Boot] [PATCH v5 3/4] arm: socfpga: Convert system manager from struct to defines

2019-11-06 Thread Ley Foon Tan
Convert system manager for Gen5, Arria 10 and Stratix 10 from struct to defines. Change to get system manager base address from DT node instead of using #define. Signed-off-by: Ley Foon Tan --- v5: - Change macro value to 0x** format. v4: - Update commit message about get base address from DT

[U-Boot] [PATCH v5 2/4] arm: socfpga: Convert reset manager from struct to defines

2019-11-06 Thread Ley Foon Tan
Convert reset manager for Gen5, Arria 10 and Stratix 10 from struct to defines. Change to get reset manager base address from DT node instead of using #define. Signed-off-by: Ley Foon Tan --- v5: - Change macro values with 0x** format. v4: - Update commit message about get base address from DT

[U-Boot] [PATCH v5 1/4] arm: dts: socfpga: Add u-boot, dm-pre-reloc for sysmgr and clkmgr nodes

2019-11-06 Thread Ley Foon Tan
Add u-boot,dm-pre-reloc for sysmgr and clkmgr nodes to use it in SPL. In preparation to get base address from DT. Signed-off-by: Ley Foon Tan Reviewed-by: Simon Goldschmidt --- v3: - Fix missing '0' in clkmgr@ffd1 node. --- arch/arm/dts/socfpga-common-u-boot.dtsi | 8 arc

[U-Boot] [PATCH v5 0/4] arm: socfpga: Convert drivers from struct to defines

2019-11-06 Thread Ley Foon Tan
This is 5th version of patchset to convert reset, system and clock manager drivers to use #define instead of struct. Patch 1 unchanged, patch 2,3,4 change macro value to 0x** format. Tested on Cyclone 5, Arria 10 and Stratix 10 devices. Changes in v5: - Patch 2,3,4: Change macro value to 0x** fo

Re: [U-Boot] [PATCH 4/8] riscv: andes_plic: Fix some wrong configurations

2019-11-06 Thread Rick Chen
Hi Anup > On Wed, Nov 6, 2019 at 2:51 PM Rick Chen wrote: > > > > Hi Anup > > > > > > > > On Wed, Nov 6, 2019 at 2:18 PM Anup Patel wrote: > > > > > > > > On Wed, Nov 6, 2019 at 12:14 PM Rick Chen wrote: > > > > > > > > > > Hi Anup > > > > > > > > > > > > > > > > > On Tue, Nov 5, 2019 at 7:19 A

Re: [U-Boot] [EXT] Re: Cavium/Marvell Octeon Support

2019-11-06 Thread Tom Rini
On Wed, Nov 06, 2019 at 12:03:23AM +, Aaron Williams wrote: > Hi Tom, > > > From: Tom Rini > Sent: Tuesday, November 5, 2019 6:16 AM > To: Wolfgang Denk > Cc: Aaron Williams; Daniel Schwierzeck; u-boot@lists.denx.de > Subject: Re: [EXT] Re: Cavium/Marvell Octeo

[U-Boot] [PATCH] gitlab/azure: Enable LLVM tests

2019-11-06 Thread Tom Rini
Now that we have again fixed the problems that building with clang exposes, enable these tests on Azure and GitLab-CI as well. Signed-off-by: Tom Rini --- .azure-pipelines.yml | 5 + .gitlab-ci.yml | 8 2 files changed, 13 insertions(+) diff --git a/.azure-pipelines.yml b/.az

[U-Boot] [PATCH] binman: tegra: Adjust symbol calculation depending on end-at-4gb

2019-11-06 Thread Simon Glass
A recent change adjusted the symbol calculation to work on x86 but broke it for Tegra. In fact this is because they have different needs. On x86 devices the code is linked to a ROM address and the end-at-4gb property is used for the image. In this case there is no need to add the base address of t

Re: [U-Boot] [EXT] Re: Cavium/Marvell Octeon Support

2019-11-06 Thread Tom Rini
On Wed, Nov 06, 2019 at 10:18:45PM +, Aaron Williams wrote: > Hi Wolfgang, > > On Wednesday, November 6, 2019 7:06:17 AM PST Wolfgang Denk wrote: > > Dear Aaron, > > > > In message > > > you wrote: > > > > Definitely not. You could not implement any of this without heavily > > > > relyin

Re: [U-Boot] [GIT] Pull request: u-boot-dfu (06.11.2019)

2019-11-06 Thread Marek Vasut
On 11/6/19 1:27 PM, Lukasz Majewski wrote: > Hi Marek, Hi, >> On 11/6/19 12:27 PM, Lukasz Majewski wrote: >>> Hi Marek, >>> On 11/6/19 10:21 AM, Lukasz Majewski wrote: > Dear Marek, > > The following changes since commit > 14d39c9e1dc9397febd58399a70f32e7481bbc27: > >

Re: [U-Boot] Add support for imxrt

2019-11-06 Thread Giulio Benetti
Hi Fabio, On 10/9/19 6:03 PM, Fabio Estevam wrote: Hi Giulio, On Wed, Oct 9, 2019 at 12:59 PM Giulio Benetti wrote: Hi Fabio and Stefano, On 9/29/19 9:40 PM, Fabio Estevam wrote: We try to use DM in U-Boot proper as much as possible, but using DM in SPL is currently not a requirement, espe

Re: [U-Boot] [EXT] Re: Cavium/Marvell Octeon Support

2019-11-06 Thread Aaron Williams
Hi Wolfgang, On Wednesday, November 6, 2019 7:06:17 AM PST Wolfgang Denk wrote: > Dear Aaron, > > In message you wrote: > > > Definitely not. You could not implement any of this without heavily > > > relyin on and deriving from internal interfaces of U-Boot which are > > > not exported for n

[U-Boot] [RFC/RFT PATCH v3 3/3] image: Add compressed Image parsing support in booti.

2019-11-06 Thread Atish Patra
Add compressed Image parsing support so that booti can parse both flat and compressed Image to boot Linux. Currently, it is difficult to calculate a safe address for every board where the compressed image can be decompressed. It is also not possible to figure out the size of the compressed file as

[U-Boot] [RFC/RFT PATCH v3 1/3] lib: kconfig: Add option to set BZIP2 compression method

2019-11-06 Thread Atish Patra
There is no way to select BZIP2 compression method. Add it under library/compression config where all other compression related configs are present. Signed-off-by: Atish Patra --- lib/Kconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/lib/Kconfig b/lib/Kconfig index 3da45a5ec322..b

[U-Boot] [RFC/RFT PATCH v3 2/3] image: Add a common compression type detection function.

2019-11-06 Thread Atish Patra
Currently, there is no method that can detect compression types given a file. This is very useful where a compressed kernel image is loaded directly to the memory. Inspect initial few bytes to figure out compression type of the image. It will be used in booti method for now but can be reused any o

[U-Boot] [RFC/RFT PATCH v3 0/3] Add compressed Image booting support

2019-11-06 Thread Atish Patra
This patch series extends booti to support compressed images as well. Following compressed images are supported for now. lzma, lzo, bzip2, gz. Other compression methods can easily be supported if required. The above compression methods are the common ones that both Linux kernel (ARM64/RISC-V) an

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

2019-11-06 Thread Marek Vasut
On 11/6/19 7:27 PM, Patrick DELAUNAY wrote: > Hi, Hi, [...] >>> diff --git a/drivers/usb/host/dwc2.c b/drivers/usb/host/dwc2.c index >>> 51023b0c2c..3086411fc4 100644 >>> --- a/drivers/usb/host/dwc2.c >>> +++ b/drivers/usb/host/dwc2.c >>> @@ -1149,6 +1149,8 @@ static int dwc2_reset(struct udevic

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

2019-11-06 Thread Marek Vasut
On 11/6/19 7:03 PM, Patrick DELAUNAY wrote: > Hi Marek, Hi, [...] >> Same question as with the PHY -- is there now a mandatory dependency on the >> DM CLK ? > > No I don't think. > > Because the clk function are also stubbed in ./include/clk.h > CONFIG_IS_ENABLED(CLK) > > But I don't 100% sur

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

2019-11-06 Thread Marek Vasut
On 11/6/19 6:40 PM, Patrick DELAUNAY wrote: > Hi Marek, Hi, [...] >>> +static int dwc2_shutdown_phy(struct udevice *dev) { >>> + struct dwc2_priv *priv = dev_get_priv(dev); >>> + int ret; >>> + >>> + if (!generic_phy_valid(&priv->phy)) >>> + return 0; >>> + >>> + ret = generic_

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

2019-11-06 Thread Simon Goldschmidt
Hi Vignesh, On Thu, Oct 17, 2019 at 2:31 PM Vignesh Raghavendra wrote: > > Hi Simon, > > On 17/10/19 4:50 PM, Simon Goldschmidt wrote: > > On Mon, Oct 14, 2019 at 3:27 PM Vignesh Raghavendra wrote: > >> > >> Current Cadence QSPI driver has few limitations. It assumes all read > >> operations to

Re: [U-Boot] [PATCH] ARM: defconfig: add unified config for RPi3 and RPi4

2019-11-06 Thread Matthias Brugger
On 06/11/2019 19:06, Heinrich Schuchardt wrote: > On 11/6/19 3:41 PM, matthias@kernel.org wrote: >> From: Matthias Brugger >> >> Provide a defconfig which allows us to boot Raspberrry Pi 4 >> and Raspberry Pi 3 Model B/B+ >> Instead of using the embedded DTB as done in RPi3 we use the >> dev

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

2019-11-06 Thread Tom Rini
On Wed, Nov 06, 2019 at 11:49:05AM +0100, Marek Vasut wrote: > The following changes since commit 412326d1bc2d346d7b4faad6fa547eaf065681a2: > > Merge tag 'u-boot-clk-23Oct2019' of > https://gitlab.denx.de/u-boot/custodians/u-boot-clk (2019-10-30 13:13:46 > -0400) > > are available in the Git r

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

2019-11-06 Thread Tom Rini
On Wed, Nov 06, 2019 at 06:09:38AM +, Peng Fan wrote: > Hi Tom, > > Please pull u-boot-mmc mmc-2019-11-5 > > CI: https://travis-ci.org/MrVan/u-boot/builds/607453537 > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [PATCH] Makefile: fix dependency for imx targets

2019-11-06 Thread Tom Rini
On Fri, Oct 25, 2019 at 02:46:54PM +0200, Heiko Schocher wrote: > imx targets are defined in arch/arm/mach-imx/Makefile. > Some of them are dependent on targets defined in main > Makefile. For the Makefile in arch/arm/mach-imx this > targets must be finished before the imx targets are > build, if

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

2019-11-06 Thread Patrick DELAUNAY
Hi, > > 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-specif

Re: [U-Boot] [PATCH 1/2] arm: dts: hummingboard: add cubox/hummingboard DT

2019-11-06 Thread Fabio Estevam
Hi Baruch, On Wed, Nov 6, 2019 at 11:28 AM Baruch Siach wrote: > > These DT files are copied from kernel v5.3 with very little changes. > Notably missing are audmux port configuration nodes, since U-Boot does > not provide the IMX_AUDMUX_ macros. What about importing the include/dt-bindings/soun

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

2019-11-06 Thread Patrick DELAUNAY
Hi, > From: Marek Vasut > Sent: mardi 15 octobre 2019 01:30 > > 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

Re: [U-Boot] [PATCH] ARM: defconfig: add unified config for RPi3 and RPi4

2019-11-06 Thread Heinrich Schuchardt
On 11/6/19 3:41 PM, matthias@kernel.org wrote: From: Matthias Brugger Provide a defconfig which allows us to boot Raspberrry Pi 4 and Raspberry Pi 3 Model B/B+ Instead of using the embedded DTB as done in RPi3 we use the devicetree provided by the firmware. How different are the DTBs prov

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

2019-11-06 Thread Patrick DELAUNAY
Hi Marek, > From: Marek Vasut > Sent: mardi 15 octobre 2019 01:28 > > 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 ? No I don't think. Because the clk fun

Re: [U-Boot] [PATCH] include/env.h: Ensure ulong is defined

2019-11-06 Thread Alistair Francis
On Wed, 2019-11-06 at 17:59 +0200, David Abdurachmanov wrote: > On Wed, Nov 6, 2019 at 4:30 PM Alistair Francis > wrote: > > To fix these failures when building with musl: > >include/env.h:166:1: error: unknown type name 'ulong'; did you > > mean 'long'? > > ensure that ulong is defined. > >

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

2019-11-06 Thread Patrick DELAUNAY
Hi Marek, > From: Marek Vasut > Sent: mardi 15 octobre 2019 01:27 First sorry for my late answer > 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 ava

Re: [U-Boot] USB doesn't work on Rockpro64 in u-boot

2019-11-06 Thread Jagan Teki
Hi Vasily, On Wed, Nov 6, 2019 at 9:17 AM Vasily Khoruzhick wrote: > > Hi Akash, Jagan, > > Looks like USB is not functional in u-boot on Rockpro64. u-boot is > from git, commit 680023c5fab6b1777c0c6f2e76e5d2effb7903a0. > > I'm using u-boot SPL and mainline ATF > (19adcb415c313d656324d54e7608cdc7

[U-Boot] Buildman Kconfig issue with consecutive builds

2019-11-06 Thread Schrempf Frieder
Hi, I'm having some trouble using buildman to test the impact of some Kconfig cleanup patches ([1]). The patches introduce a new CONFIG_SPL_* option and I try to find out which defconfigs need to be fixed, by comparing build sizes. Now when I added a patch to fix a defconfig I noticed that bui

Re: [U-Boot] [PATCH] include/env.h: Ensure ulong is defined

2019-11-06 Thread David Abdurachmanov
On Wed, Nov 6, 2019 at 4:30 PM Alistair Francis wrote: > > To fix these failures when building with musl: >include/env.h:166:1: error: unknown type name 'ulong'; did you mean 'long'? > ensure that ulong is defined. I think, this was fixed before 2019.10 release by this patchset: https://patc

[U-Boot] [PATCH 1/3] ARM: dts: stm32: DT alignment with kernel v5.3

2019-11-06 Thread Patrick Delaunay
Device tree and binding alignment with kernel v5.3 and converted to SPDX. Signed-off-by: Patrick Delaunay --- arch/arm/dts/stm32429i-eval.dts | 4 +- arch/arm/dts/stm32746g-eval.dts | 105 +--- arch/arm/dts/stm32f4-pinctrl.dtsi | 38 +-- arch/a

[U-Boot] [PATCH 0/3] ARM: dts: stm32: udpate device tree for v2020.01

2019-11-06 Thread Patrick Delaunay
Alignment of the device tree for all STM32 boards (MCU/MPU) with the latest Linux kernel and solve STM32MP157c-EV1 issue for eMMC on SDMMC2. All the boards (except avenger96i: not available) correctly boot after the patches. Patrick Delaunay (3): ARM: dts: stm32: DT alignment with kernel v5.

[U-Boot] [PATCH 3/3] ARM: dts: stm32: update eMMC configuration for stm32mp157c-ev1

2019-11-06 Thread Patrick Delaunay
Update the sdmmc2 node for eMMC support on eval board stm32mp157c-ev1. - update slew-rate for pin configuration - update "vqmmc-supply" - remove "st,sig-dir" - add mandatory "pinctrl-names" - add "mmc-ddr-3_3v" This patch solve the eMMC detection issue for command "mmc dev 1". Signed-off-by: Patr

[U-Boot] [PATCH 2/3] ARM: dts: stm32: DT alignment with kernel v5.4-rc4

2019-11-06 Thread Patrick Delaunay
Device tree and binding alignment with kernel v5.4-rc4 Signed-off-by: Patrick Delaunay --- arch/arm/dts/st-pincfg.h | 1 + arch/arm/dts/stm32429i-eval.dts | 25 ++--- arch/arm/dts/stm32f429.dtsi | 12 +++ arch/arm/dts/stm32f746.dtsi | 12 +++ arch/arm

Re: [U-Boot] [EXT] Re: Cavium/Marvell Octeon Support

2019-11-06 Thread Wolfgang Denk
Dear Aaron, In message you wrote: > > > Definitely not. You could not implement any of this without heavily > > relyin on and deriving from internal interfaces of U-Boot which are > > not exported for non-GPL use. > > See https://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.en.html#GPLInProp=

[U-Boot] [PATCH] ARM: defconfig: add unified config for RPi3 and RPi4

2019-11-06 Thread matthias . bgg
From: Matthias Brugger Provide a defconfig which allows us to boot Raspberrry Pi 4 and Raspberry Pi 3 Model B/B+ Instead of using the embedded DTB as done in RPi3 we use the devicetree provided by the firmware. Signed-off-by: Matthias Brugger --- This patch is based on the series to enable one

[U-Boot] [uboot PATCH 1/4] phy: ti-pipe3: Use TRM recommended settings for SATA DPLL

2019-11-06 Thread Roger Quadros
The AM572x Technical Reference Manual, SPRUHZ6H, Revised November 2016 [1], shows recommended settings for the SATA DPLL in Table 26-8. DPLL CLKDCOLDO Recommended Settings. Use those settings in the driver. The TRM does not show a value for 20MHz SYS_CLK so we use something close to the 26MHz sett

[U-Boot] [uboot PATCH 2/4] phy: ti-pipe3: Introduce mode property in driver data

2019-11-06 Thread Roger Quadros
Introduce a mode property in the driver data so that we don't have to keep using "of_device_is_compatible()" throughtout the driver. No functional change. Signed-off-by: Roger Quadros --- drivers/phy/ti-pipe3-phy.c | 34 -- 1 file changed, 28 insertions(+), 6 del

[U-Boot] [uboot PATCH 3/4] phy: ti-pipe3: improve DPLL stability for SATA & USB

2019-11-06 Thread Roger Quadros
For increased DPLL stability use the settings recommended in the TRM [1] for PHY_RX registers for SATA and USB. For SATA we need to use spread spectrum settings even though we don't have spread spectrum enabled. The suggested non-spread spectrum settings don't work. [1] DRA75x, DRA74x TRM - http:

[U-Boot] [uboot PATCH 4/4] phy: ti-pipe3: Fix SATA & USB PHY power up sequence

2019-11-06 Thread Roger Quadros
As per "Table 26-7. SATA PHY Subsystem Low-Level Programming Sequence" in TRM [1] we need to turn on SATA_PHY_TX before SATA_PHY_RX. [1] DRA75x, DRA74x TRM - http://www.ti.com/lit/ug/sprui30f/sprui30f.pdf Signed-off-by: Roger Quadros --- drivers/phy/ti-pipe3-phy.c | 36 +++--

[U-Boot] [PATCH] pinctrl: bcm283x: Add compatible for RPi4

2019-11-06 Thread matthias . bgg
From: Matthias Brugger The Raspberry Pi 4 upstream kernel device tree instroduces a new compatible for the pinctroller. Add this to the driver so that we can boot with the upstream kernel DT. Signed-off-by: Matthias Brugger --- drivers/pinctrl/broadcom/pinctrl-bcm283x.c | 1 + 1 file changed

[U-Boot] `uclass_find_device_by_name` fails to find the device

2019-11-06 Thread Nandor Han
Hi everybody, I've noticed that commit 4213609cc7fb78f84b2ea63f4a5691b60d01c248 changes how `uclass.c:uclass_find_device_by_name` function compares the names for finding devices. Because of this I have an issue when having a DTS and trying to find a device by name. The `lists.c:lists_bind

[U-Boot] [uboot PATCH 0/4] phy: ti-pipe3: Match TRM sequence & settings

2019-11-06 Thread Roger Quadros
Hi, We need to follow the TRM sequence and settings to ensure that the DPLL & PHY operates correctly over the entire temperature range. Tested with SATA on dra7-evm. Since this is a bug fix, I will suggest to include it in current -rc. cheers, -roger Roger Quadros (4): phy: ti-pipe3: Use TRM

[U-Boot] [PATCH] sun8i: h3: Support H3 variant of Orange Pi Zero Plus 2

2019-11-06 Thread Diego Rondini
Orangepi Zero Plus 2 is an open-source single-board computer, available in two Allwinner SOC variants, H3 and H5. We add support for H3 variant here, as the H5 is already supported. H3 Orangepi Zero Plus 2 has: - Quad-core Cortex-A7 - 512MB DDR3 - microSD slot and 8GB eMMC - Debug TTL UART - HDMI

[U-Boot] [PATCH] include/env.h: Ensure ulong is defined

2019-11-06 Thread Alistair Francis
To fix these failures when building with musl: include/env.h:166:1: error: unknown type name 'ulong'; did you mean 'long'? ensure that ulong is defined. Signed-off-by: Alistair Francis --- include/env.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/env.h b/include/env.h index

[U-Boot] [PATCH 1/2] arm: dts: hummingboard: add cubox/hummingboard DT

2019-11-06 Thread Baruch Siach
These DT files are copied from kernel v5.3 with very little changes. Notably missing are audmux port configuration nodes, since U-Boot does not provide the IMX_AUDMUX_ macros. Add -u-boot.dtsi files to support GPIO based board detect. Signed-off-by: Baruch Siach --- arch/arm/dts/Makefile

Re: [U-Boot] required host packages on Travis CI

2019-11-06 Thread Tom Rini
On Wed, Nov 06, 2019 at 04:12:40PM +0900, AKASHI Takahiro wrote: > Tom, > > On Fri, Nov 01, 2019 at 09:07:04AM -0400, Tom Rini wrote: > > On Fri, Nov 01, 2019 at 02:34:35PM +0900, AKASHI Takahiro wrote: > > > Tom, > > > > > > On Wed, Oct 30, 2019 at 07:17:29AM -0400, Tom Rini wrote: > > > > On We

Re: [U-Boot] [GIT] Pull request: u-boot-dfu (06.11.2019)

2019-11-06 Thread Lukasz Majewski
Hi Marek, > On 11/6/19 12:27 PM, Lukasz Majewski wrote: > > Hi Marek, > > > >> On 11/6/19 10:21 AM, Lukasz Majewski wrote: > >>> Dear Marek, > >>> > >>> The following changes since commit > >>> 14d39c9e1dc9397febd58399a70f32e7481bbc27: > >>> > >>> travis: Rework how we write the ~/.buildman

Re: [U-Boot] [PATCH] rockchip: rk3399: rock960: Update config for TPL

2019-11-06 Thread Peter Robinson
On Mon, Oct 14, 2019 at 9:58 AM Kever Yang wrote: > > Hi Peter, > > On 2019/10/9 下午7:20, Peter Robinson wrote: > > The SPL is now running at SDRAM, and 0x1 is used by BL31, > and the ARM SPL do not support relocate now, we need reserved > 0x5 so that it won't overwrite the code when we loa

[U-Boot] [PATCH] rockchip: rk3399: rock960: Update config for TPL

2019-11-06 Thread Peter Robinson
The SPL is now running at SDRAM, and 0x1 is used by BL31, and the ARM SPL do not support relocate now, we need reserved 0x5 so that it won't overwrite the code when we load the bl31 to target space. We should remove this after we enable the relocate feature. Signed-off-by: Peter Robinson

Re: [U-Boot] [GIT] Pull request: u-boot-dfu (06.11.2019)

2019-11-06 Thread Marek Vasut
On 11/6/19 12:27 PM, Lukasz Majewski wrote: > Hi Marek, > >> On 11/6/19 10:21 AM, Lukasz Majewski wrote: >>> Dear Marek, >>> >>> The following changes since commit >>> 14d39c9e1dc9397febd58399a70f32e7481bbc27: >>> >>> travis: Rework how we write the ~/.buildman file (2019-11-05 >>> 10:44:16 -050

Re: [U-Boot] [GIT] Pull request: u-boot-dfu (06.11.2019)

2019-11-06 Thread Lukasz Majewski
Hi Marek, > On 11/6/19 10:21 AM, Lukasz Majewski wrote: > > Dear Marek, > > > > The following changes since commit > > 14d39c9e1dc9397febd58399a70f32e7481bbc27: > > > > travis: Rework how we write the ~/.buildman file (2019-11-05 > > 10:44:16 -0500) > > > > are available in the Git repository

Re: [U-Boot] [PATCH 4/8] riscv: andes_plic: Fix some wrong configurations

2019-11-06 Thread Anup Patel
On Wed, Nov 6, 2019 at 2:51 PM Rick Chen wrote: > > Hi Anup > > > > > On Wed, Nov 6, 2019 at 2:18 PM Anup Patel wrote: > > > > > > On Wed, Nov 6, 2019 at 12:14 PM Rick Chen wrote: > > > > > > > > Hi Anup > > > > > > > > > > > > > > On Tue, Nov 5, 2019 at 7:19 AM Rick Chen wrote: > > > > > > > >

[U-Boot] [PATCH 3/4] configs: ls1028a: Enable FSPI support

2019-11-06 Thread Kuldeep Singh
Enable FSPI controller support. So, flash environment can now be used Signed-off-by: Kuldeep Singh --- Depends on https://patchwork.ozlabs.org/patch/1190054/ https://patchwork.ozlabs.org/patch/1190052/ https://patchwork.ozlabs.org/patch/1190051/ configs/ls1028aqds_tfa_SECURE_BOOT_defconfig | 1

[U-Boot] [PATCH 1/4] arm: dts: ls1028a: Add FSPI node properties

2019-11-06 Thread Kuldeep Singh
Align flexspi node properties with linux device-tree properties Tested on LS1028A-RDB Signed-off-by: Kuldeep Singh --- Depends on https://patchwork.ozlabs.org/patch/1190054/ https://patchwork.ozlabs.org/patch/1190052/ https://patchwork.ozlabs.org/patch/1190051/ arch/arm/dts/fsl-ls1028a-qds.dts

[U-Boot] [PATCH 4/4] configs: lx2160a: Enable FSPI support

2019-11-06 Thread Kuldeep Singh
Enable FSPI controller support. So, flash environment can now be used Signed-off-by: Kuldeep Singh --- Depends on https://patchwork.ozlabs.org/patch/1190054/ https://patchwork.ozlabs.org/patch/1190052/ https://patchwork.ozlabs.org/patch/1190051/ configs/lx2160aqds_tfa_SECURE_BOOT_defconfig | 1

[U-Boot] [PATCH 2/4] arm: dts: lx2160a: Add FSPI node properties

2019-11-06 Thread Kuldeep Singh
Align flexspi node properties with linux device-tree properties Tested on LX2160A-RDB Signed-off-by: Kuldeep Singh --- Depends on https://patchwork.ozlabs.org/patch/1190054/ https://patchwork.ozlabs.org/patch/1190052/ https://patchwork.ozlabs.org/patch/1190051/ arch/arm/dts/fsl-lx2160a-rdb.dts

Re: [U-Boot] [GIT] Pull request: u-boot-dfu (06.11.2019)

2019-11-06 Thread Marek Vasut
On 11/6/19 10:21 AM, Lukasz Majewski wrote: > Dear Marek, > > The following changes since commit > 14d39c9e1dc9397febd58399a70f32e7481bbc27: > > travis: Rework how we write the ~/.buildman file (2019-11-05 10:44:16 > -0500) > > are available in the Git repository at: > > g...@gitlab.denx.

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

2019-11-06 Thread Marek Vasut
The following changes since commit 412326d1bc2d346d7b4faad6fa547eaf065681a2: Merge tag 'u-boot-clk-23Oct2019' of https://gitlab.denx.de/u-boot/custodians/u-boot-clk (2019-10-30 13:13:46 -0400) are available in the Git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch c

Re: [U-Boot] [EXT] [PATCH v3 1/3] spi: nxp_fspi: new driver for the FlexSPI controller

2019-11-06 Thread Kuldeep Singh
Hi, > -Original Message- > From: Michael Walle > Sent: Wednesday, November 6, 2019 4:33 AM > To: u-boot@lists.denx.de > Cc: Vignesh R ; Prabhakar X > ; Kuldeep Singh ; > Michael Walle ; Jagan Teki > > Subject: [EXT] [PATCH v3 1/3] spi: nxp_fspi: new driver for the FlexSPI > controller >

Re: [U-Boot] [PATCH 4/8] riscv: andes_plic: Fix some wrong configurations

2019-11-06 Thread Rick Chen
Hi Anup > > On Wed, Nov 6, 2019 at 2:18 PM Anup Patel wrote: > > > > On Wed, Nov 6, 2019 at 12:14 PM Rick Chen wrote: > > > > > > Hi Anup > > > > > > > > > > > On Tue, Nov 5, 2019 at 7:19 AM Rick Chen wrote: > > > > > > > > > > Hi Anup > > > > > > > > > > > > On Thu, Oct 31, 2019 at 1:42 PM Anu

[U-Boot] [GIT] Pull request: u-boot-dfu (06.11.2019)

2019-11-06 Thread Lukasz Majewski
Dear Marek, The following changes since commit 14d39c9e1dc9397febd58399a70f32e7481bbc27: travis: Rework how we write the ~/.buildman file (2019-11-05 10:44:16 -0500) are available in the Git repository at: g...@gitlab.denx.de:u-boot/custodians/u-boot-dfu.git BRANCH: master https://gitla

Re: [U-Boot] [PATCH 4/8] riscv: andes_plic: Fix some wrong configurations

2019-11-06 Thread Anup Patel
On Wed, Nov 6, 2019 at 2:18 PM Anup Patel wrote: > > On Wed, Nov 6, 2019 at 12:14 PM Rick Chen wrote: > > > > Hi Anup > > > > > > > > On Tue, Nov 5, 2019 at 7:19 AM Rick Chen wrote: > > > > > > > > Hi Anup > > > > > > > > > > On Thu, Oct 31, 2019 at 1:42 PM Anup Patel > > > > > > wrote: > > >

Re: [U-Boot] [PATCH 4/8] riscv: andes_plic: Fix some wrong configurations

2019-11-06 Thread Anup Patel
On Wed, Nov 6, 2019 at 12:14 PM Rick Chen wrote: > > Hi Anup > > > > > On Tue, Nov 5, 2019 at 7:19 AM Rick Chen wrote: > > > > > > Hi Anup > > > > > > > > On Thu, Oct 31, 2019 at 1:42 PM Anup Patel > > > > > wrote: > > > > > > > > > > > > On Thu, Oct 31, 2019 at 6:30 AM Alan Kao > > > > > > w

[U-Boot] [v4] armv8: ls1028ardb: enable DisplayPort Power support

2019-11-06 Thread Wen He
Enable DP_PWR signal to power the DP to HDMI converter cable. Signed-off-by: Wen He --- board/freescale/ls1028a/ls1028a.c | 14 ++ include/configs/ls1028a_common.h | 3 +++ 2 files changed, 17 insertions(+) diff --git a/board/freescale/ls1028a/ls1028a.c b/board/freescale/ls1028a/