[U-Boot] [PATCH v5 6/8] net: macb: Extend MACB driver for SiFive Unleashed board

2019-06-19 Thread Anup Patel
The SiFive MACB ethernet has a custom TX_CLK_SEL register to select different TX clock for 1000mbps vs 10/100mbps. This patch adds SiFive MACB compatible string and extends the MACB ethernet driver to change TX clock using TX_CLK_SEL register for SiFive MACB. Signed-off-by: Anup Patel --- drive

[U-Boot] [PATCH v5 8/8] doc: sifive-fu540: Update README for steps to create FW_PAYLOAD

2019-06-19 Thread Anup Patel
Due changes in DT bindings, we now embed DTB from Linux-5.3 (or higher) in OpenSBI FW_PAYLOAD along with payload u-boot.bin. This patch updates SiFive FU540 README to reflect the changes in build and boot steps. Signed-off-by: Anup Patel --- doc/README.sifive-fu540 | 356 ++--

[U-Boot] [PATCH v5 7/8] riscv: sifive: fu540: Setup ethaddr env variable using OTP

2019-06-19 Thread Anup Patel
This patch extends SiFive FU540 board support to setup ethaddr env variable based on board serialnum read from OTP. Signed-off-by: Anup Patel --- board/sifive/fu540/fu540.c | 118 + configs/sifive_fu540_defconfig | 1 + 2 files changed, 119 insertions(+) di

[U-Boot] [PATCH v5 2/8] clk: sifive: Sync-up WRPLL library with upstream Linux

2019-06-19 Thread Anup Patel
Now that SiFive clock driver is merged in upstream Linux, we sync-up WRPLL library used by SiFive clock driver with upstream Linux sources. Signed-off-by: Anup Patel --- drivers/clk/analogbits/wrpll-cln28hpc.c | 165 -- drivers/clk/sifive/fu540-prci.c | 26 +-

[U-Boot] [PATCH v5 5/8] clk: sifive: Drop GEMGXL clock driver

2019-06-19 Thread Anup Patel
The GEMGXL clock driver is now directly part of Cadence MACB ethernet driver in upstream Linux kernel. There is no separate GEMGXL clock driver in upstream Linux kernel hence we drop GEMGXL clock driver from U-Boot as well. Signed-off-by: Anup Patel Reviewed-by: Bin Meng --- board/sifive/fu540/

[U-Boot] [PATCH v5 3/8] clk: sifive: Sync-up DT bindings header with upstream Linux

2019-06-19 Thread Anup Patel
The location and license header of DT bindings header for SiFive clock driver has changed in upstream Linux hence this patch. Signed-off-by: Anup Patel --- drivers/clk/sifive/fu540-prci.c | 2 +- include/dt-bindings/clk/sifive-fu540-prci.h | 29 --- include/dt-bi

[U-Boot] [PATCH v5 4/8] clk: sifive: Sync-up main driver with upstream Linux

2019-06-19 Thread Anup Patel
The DT bindings of SiFive clock driver in upstream Linux has changes. As-per latest DT bindings, the clock driver takes two parent clocks and compatible string has also changed. This patch sync-up SiFive clock driver implementation as-per upstream Linux so that we now use latest DT bindings. Sign

[U-Boot] [PATCH v5 1/8] clk: sifive: Factor-out PLL library as separate module

2019-06-19 Thread Anup Patel
To match SiFive clock driver with latest Linux, we factor-out PLL library as separate module under drivers/clk/analogbits. Signed-off-by: Anup Patel --- drivers/clk/Kconfig | 1 + drivers/clk/Makefile | 1 + drive

[U-Boot] [PATCH v5 0/8] Update SiFive Unleashed Drivers

2019-06-19 Thread Anup Patel
This series update SiFive Unleashed clock driver and Cadence MACB driver so that: 1. It is in sync with upstream Linux driver 2. It uses latest DT bindings as-per upstream Linux driver With this series, we can now use latest DT bindings with U-Boot. I have tested SiFive Serial driver and Cadence M

[U-Boot] [PULL] u-boot-stm32 for v2019.07​ (round 6)

2019-06-19 Thread Patrice CHOTARD
boot-stm32-20190619 for you to fetch changes up to 7c654683464dc4cd89f9a8198e26336263390b57:   usb: dwc2: allow peripheral mode for OTG configuration (2019-06-19 16:56:11 +0200) Travis CI status: https://travis-ci.org/pchotard/u-boot/builds/547780537?utm_medium=notification&ut

Re: [U-Boot] [ANNOUNCEMENT] Switching to gitlab.denx.de

2019-06-19 Thread Peng Fan
Hi Wolfgang, > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Wolfgang > Denk > Sent: 2019年6月17日 22:42 > To: u-boot-custodi...@lists.denx.de > Cc: u-boot@lists.denx.de; Tom Rini > Subject: [U-Boot] [ANNOUNCEMENT] Switching to gitlab.denx.de > > Hello

Re: [U-Boot] [PATCH] arm64: zynqmp: add MAINTAINERS entry for Avnet UltraZed

2019-06-19 Thread Michal Simek
On 19. 06. 19 18:28, Luca Ceresoli wrote: > The board was added without adding a MAINTAINERS entry. > > Fixes: > > $ ./tools/genboardscfg.py -f > WARNING: no status info for 'avnet_ultrazedev_cc_v1_0_ultrazedev_som_v1_0' > WARNING: no maintainers for 'avnet_ultrazedev_cc_v1_0_ultrazedev_som

[U-Boot] [PATCH] arm64: zynqmp: Cover ultra96 dts file by MAINTAINERS fragment

2019-06-19 Thread Michal Simek
Avnet Ultra96 dts file should be also cover by MAINTAINERS fragment. Signed-off-by: Michal Simek --- board/xilinx/zynqmp/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/xilinx/zynqmp/MAINTAINERS b/board/xilinx/zynqmp/MAINTAINERS index e6fed25152ac..efc1d356d6d3 100644 ---

Re: [U-Boot] [PATCH v2 4/4] net: NC-SI setup and handling

2019-06-19 Thread Samuel Mendoza-Jonas
On Wed, 2019-06-19 at 02:35 +, Joel Stanley wrote: > On Tue, 18 Jun 2019 at 01:38, Samuel Mendoza-Jonas > wrote: > > Add the handling of NC-SI ethernet frames, and add a check at the start > > of net_loop() to configure NC-SI before starting other network commands. > > This also adds an "ncsi

Re: [U-Boot] [PATCH v2] arm64: dts: rockchip: Add support for Khadas Edge/Edge-V/Captain boards

2019-06-19 Thread Kever Yang
Hi Paul, On 06/20/2019 12:54 AM, Paul Kocialkowski wrote: > Hi Kever, > > Le mercredi 19 juin 2019 à 09:42 +0800, Kever Yang a écrit : >> Hi Paul, >> >> >> On 06/19/2019 12:12 AM, Mark Kettenis wrote: From: Paul Kocialkowski Date: Tue, 18 Jun 2019 14:47:33 +0200 Hi Kever, >>>

[U-Boot] Pull request for mmc sub-system for v2019.07

2019-06-19 Thread Peng Fan
Hi Tom, Please pull mmc-6-19 for v2019.07-rc4 CI: https://travis-ci.org/MrVan/u-boot/builds/547549538 Thanks, Peng. The following changes since commit 77f6e2dd0551d8a825bab391a1bd6b838874bcd4: Merge tag 'efi-2019-07-rc5-2' of git://git.denx.de/u-boot-efi (2019-06-15 13:03:00 -0400) are avai

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

2019-06-19 Thread Tom Rini
On Wed, Jun 19, 2019 at 11:42:51AM +, Prabhakar Kushwaha wrote: > Dear Tom, > > Please find my pull request for u-boot-fsl-qoriq/master > > Summary: > - LS1046AFRWY support > - USB errata fix and secure boot defconfig support for LS1028A > - Enabled SDHC and SATA for LX2160 >

Re: [U-Boot] [U-Boot-Custodians] [ANNOUNCEMENT] Switching to gitlab.denx.de

2019-06-19 Thread Angelo Dureghello
Hi Wolfgang, On Tue, Jun 18, 2019 at 03:46:56PM +0200, Wolfgang Denk wrote: > Hello everybody, > > I wrote: > > > as discussed before, we want to switch from the old git server to > > more powerful soft- and hardware. We will move the U-Boot master > > repository and all custodian repositories

Re: [U-Boot] [U-Boot-Custodians] [ANNOUNCEMENT] Switching to gitlab.denx.de

2019-06-19 Thread Joe Hershberger
On Wed, Jun 19, 2019 at 8:33 AM Harald Seiler wrote: > > On Tue, 2019-06-18 at 22:49 +0200, Heinrich Schuchardt wrote: > > Just use https, e.g > > > > git remote set-url net \ > > https://gitlab.denx.de/u-boot/custodians/u-boot-net.git > > > > And in .gitconfig put your email address: > > > > [cre

Re: [U-Boot] python3 support for pylibfdt

2019-06-19 Thread Tom Rini
On Tue, Jun 18, 2019 at 10:39:54AM +0100, Peter Robinson wrote: > Hi Simon, > > With the EOL of python2 soon I've been looking at the Fedora U-Boot > builds to see what it would take to move over to python3. There's a > couple of issues building the bundled pylibfdt, the first is the > Makefile ha

Re: [U-Boot] Continuous Integration (CI)

2019-06-19 Thread Tom Rini
On Mon, Jun 17, 2019 at 05:42:21PM +0800, Bin Meng wrote: > Hi, > > On Mon, Jun 17, 2019 at 4:39 PM Linder Pascal > wrote: > > > > Hi everyone, > > > > > > I recently saw the .travis.yml file in the repository and thought a > > bit more about CI in U-Boot. As I am using GitLab for my own > > re

Re: [U-Boot] [PATCH] travis.yml: Add buildman support for NXP's LS1028 & LX2160

2019-06-19 Thread Tom Rini
On Wed, Jun 19, 2019 at 03:27:30PM +, Prabhakar Kushwaha wrote: > > > -Original Message- > > From: Tom Rini > > Sent: Wednesday, June 19, 2019 5:49 PM > > To: Prabhakar Kushwaha > > Cc: u-boot@lists.denx.de > > Subject: Re: [PATCH] travis.yml: Add buildman support for NXP's LS1028 &

Re: [U-Boot] x86: Slim Bootloader(https://github.com/slimbootloader/slimbootloader) support

2019-06-19 Thread Park, Aiden
Hi Bin, Thanks for asking about Slim Bootloader. It is an open-source boot firmware(BSD-2-Clause-Patent license) and one of UEFI BIOS alternatives like coreboot and bare-metal u-boot. Slim Bootloader is leveraging EDK2 frameworks/tools/libraries and following its coding standard. That's why it

Re: [U-Boot] [PATCH v2] arm64: dts: rockchip: Add support for Khadas Edge/Edge-V/Captain boards

2019-06-19 Thread Paul Kocialkowski
Hi Kever, Le mercredi 19 juin 2019 à 09:42 +0800, Kever Yang a écrit : > Hi Paul, > > > On 06/19/2019 12:12 AM, Mark Kettenis wrote: > > > From: Paul Kocialkowski > > > Date: Tue, 18 Jun 2019 14:47:33 +0200 > > > > > > Hi Kever, > > > > > > On Tue, 2019-06-18 at 18:08 +0800, Kever Yang wrote:

[U-Boot] [PATCH] arm64: zynqmp: add MAINTAINERS entry for Avnet UltraZed

2019-06-19 Thread Luca Ceresoli
The board was added without adding a MAINTAINERS entry. Fixes: $ ./tools/genboardscfg.py -f WARNING: no status info for 'avnet_ultrazedev_cc_v1_0_ultrazedev_som_v1_0' WARNING: no maintainers for 'avnet_ultrazedev_cc_v1_0_ultrazedev_som_v1_0' $ Reported-by: Michal Simek Signed-off-by: Lu

Re: [U-Boot] [PATCH v3 2/2] arm64: zynqmp: add support for Avnet UltraZed-EV Starter Kit

2019-06-19 Thread Luca Ceresoli
Hi Michal, On 19/06/19 09:20, Michal Simek wrote: [...] >> I have removed this line and applied this patch. > > Can you please also send a patch to create maintainer fragment for this > board? > > [u-boot](sdhci2)$ ./tools/genboardscfg.py -f > WARNING: no status info for 'avnet_ultrazedev_cc_v1_

Re: [U-Boot] [PATCH] vexpress64: fix a typo of SPDX-License-Identifier

2019-06-19 Thread Liviu Dudau
On Tue, Jun 18, 2019 at 12:25:51PM +0900, Masahiro Yamada wrote: > Misspelling of SPDX-License-Identifier is rather fatal than other > general typos, so must be fixed. > > This file spells SPDX-Licence-Identifier. >^ > > I also moved it to the very top of the file with

Re: [U-Boot] QSPI support on i.MX7D Sabre Eval Board

2019-06-19 Thread Thomas Schaefer
Hi Fabio, > Hi Thomas, > > On Wed, Jun 19, 2019 at 10:04 AM Thomas Schaefer > wrote: > > > > Hi all, > > > > I've built current u-boot (v2019.07-rc4) with QSPI support for our i.MX7D > > Sabre eval system. I am using mx7dsabresd_qspi_defconfig. > > > > The resulting u-boot fails to read from Q

Re: [U-Boot] [PATCH 5/7] sunxi: H6: Add DDR3-1333 timings

2019-06-19 Thread Jernej Škrabec
Hi! Dne sreda, 19. junij 2019 ob 03:11:07 CEST je Andre Przywara napisal(a): > Add a routine to program the timing parameters for DDR3-1333 DRAM chips > connected to the H6 DRAM controller. > > The values were gathered from doing back-calculations from a register > dump, trying to match them up w

Re: [U-Boot] [PATCH] MAINTAINERS: Update git repo links

2019-06-19 Thread Harald Seiler
On Wed, 2019-06-19 at 11:37 +0900, Masahiro Yamada wrote: > On Wed, Jun 19, 2019 at 1:49 AM Wolfgang Denk wrote: > > Dear Bin, > > > > In message <1560872253-6077-1-git-send-email-bmeng...@gmail.com> you wrote: > > > Update all git repo links with the new gitlab ones. > > > > > > Signed-off-by:

Re: [U-Boot] [linux-sunxi] [PATCH 4/7] sunxi: H6: Add DDR3 support to DRAM controller driver

2019-06-19 Thread Jernej Škrabec
Hi! Dne sreda, 19. junij 2019 ob 03:11:06 CEST je Andre Przywara napisal(a): > At the moment the H6 DRAM driver only supports LPDDR3 DRAM. > > Extend the driver to cover DDR3 DRAM as well. > > The changes are partly motivated by looking at the ZynqMP register > documentation, partly by looking a

Re: [U-Boot] [PATCH 0/5] Virtex2 FPGA enhancements

2019-06-19 Thread Robert Hancock
On 2019-06-19 6:10 a.m., Michal Simek wrote: > On 18. 06. 19 17:47, Robert Hancock wrote: >> These changes add support for slave serial mode, in addition to the >> existing slave SelectMAP mode, for programming Xilinx Virtex2 (and later) >> FPGAs, as well as fixing up code style and an issue with t

Re: [U-Boot] [PATCH] driver: watchdog: Add new iMX/LSCH2 WDT driver

2019-06-19 Thread Robert Hancock
On 2019-06-18 11:32 p.m., Stefan Roese wrote: > Hi Robert, > > (Cc'ing Marek and Heiko) > > On 18.06.19 17:52, Robert Hancock wrote: >> This is a new watchdog timer driver for iMX and LSCH2 using the WDT >> framework and driver model. This allows ensuring that U-Boot uses the >> same watchdog tim

Re: [U-Boot] [PATCH v4 6/6] net: macb: Extend MACB driver for SiFive Unleashed board

2019-06-19 Thread Anup Patel
Hi Ramon, On Wed, Jun 19, 2019 at 5:29 PM Ramon Fried wrote: > > On Wed, Jun 19, 2019 at 11:29 AM Anup Patel wrote: > > > > The SiFive MACB ethernet has a custom TX_CLK_SEL register to select > > different TX clock for 1000mbps vs 10/100mbps. > > > > This patch adds SiFive MACB compatible string

[U-Boot] [PATCH v6 6/6] spi: mxs: Add support DM/DTS for i.MX28 mxs SPI driver (DM_SPI conversion)

2019-06-19 Thread Lukasz Majewski
This patch converts mxs_spi driver to support DM/DTS. Signed-off-by: Lukasz Majewski Reviewed-by: Marek Vasut --- Changes in v6: None Changes in v5: - Set more appropriate tags ("spi: mxs:") Changes in v4: - Adjust the driver to support i.MX23 (add compatible, adjust clk code) - Use BIT() ma

[U-Boot] [PATCH v6 1/6] ARM: dts: imx: Copy imx28 device tree related files from Linux kernel (v5.1.11)

2019-06-19 Thread Lukasz Majewski
This patch copies from the Linux kernel stable (tag v5.1.11) SHA1: 17bb763e7eaf i.MX28 related device tree files. Signed-off-by: Lukasz Majewski Reviewed-by: Marek Vasut --- Changes in v6: None Changes in v5: - Add 12 digit SHA1 ID for tag v5.1.11 Changes in v4: - Add 12 digit SHA1 ID for tag

[U-Boot] [PATCH v6 5/6] pinctrl: mxs: Add support for i.MX2[38] mxs pinctrl driver

2019-06-19 Thread Lukasz Majewski
The code responsible for setting proper values in the MUX registers (in the mxs_pinctrl_set_state()) has been ported from Linux kernel - SHA1: 17bb763e7eaf tag v5.1.11 from linux-stable. As the pinctrl node in the imx28.dtsi file has gpio pins nodes as subnodes, it was necessary to use 'dm_scan_fd

[U-Boot] [PATCH v6 3/6] ARM: dts: imx: Provide 'gpio-ranges' for mxs_gpio driver

2019-06-19 Thread Lukasz Majewski
Those properties are U-Boot specific as the mxs gpio Linux driver (up to version v5.1.11) is not supporting them. Signed-off-by: Lukasz Majewski --- Changes in v6: - Provide correct values for gpio-ranges Changes in v5: - Use "ARM: dts: imx: tags" Changes in v4: - New file - imx28-u-boot.dtsi

[U-Boot] [PATCH v6 2/6] net: fec: Enable support for i.MX28 DM_ETH in the fec_mxc.c driver

2019-06-19 Thread Lukasz Majewski
The fec_mxc.c driver can be reused by i.MX28 when DM_ETH is enabled. One only needs to add proper compatible and dependency on FEC_MXC in the Kconfig. Signed-off-by: Lukasz Majewski Reviewed-by: Marek Vasut --- Changes in v6: None Changes in v5: - Set more appropriate tags (net: fec:) Changes

[U-Boot] [PATCH v6 4/6] gpio: mxs: Add support for DM/DTS in the mxs_gpio.c driver (DM_GPIO)

2019-06-19 Thread Lukasz Majewski
This patch adds support for DM/DTS in the mxs_gpio.c driver. Information regarding per gpio controller pin number is passed via DTS. Signed-off-by: Lukasz Majewski Reviewed-by: Marek Vasut --- Changes in v6: None Changes in v5: - Update tags ("gpio: mxs") Changes in v4: - Use BIT() macro inst

[U-Boot] [PATCH v6 0/6] DM: Convert i.MX28 gpio, pinmux, spi and eth drivers to DM/DTS

2019-06-19 Thread Lukasz Majewski
This patch series converts some i.MX28 drivers to use DM/DTS. Converted drivers: - mxs_gpio.c - gpio driver - pinctrl-mxs.c - pinmux driver - Adjust fec_eth.c to support also i.MX28 SoC. - mxs_spi.c - SPI driver After applying this series it is possible to use ETH on i.MX28 board with following D

Re: [U-Boot] [PATCH] travis.yml: Add buildman support for NXP's LS1028 & LX2160

2019-06-19 Thread Prabhakar Kushwaha
> -Original Message- > From: Tom Rini > Sent: Wednesday, June 19, 2019 5:49 PM > To: Prabhakar Kushwaha > Cc: u-boot@lists.denx.de > Subject: Re: [PATCH] travis.yml: Add buildman support for NXP's LS1028 & > LX2160 > > On Wed, Jun 19, 2019 at 05:47:12PM +0530, Prabhakar Kushwaha wrote:

Re: [U-Boot] [PATCH v5 3/6] ARM: dts: imx: Provide 'gpio-ranges' for mxs_gpio driver

2019-06-19 Thread Marek Vasut
On 6/19/19 4:53 PM, Lukasz Majewski wrote: > On Wed, 19 Jun 2019 16:32:57 +0200 > Marek Vasut wrote: > >> On 6/19/19 4:19 PM, Lukasz Majewski wrote: >>> Hi Marek, >>> On 6/19/19 2:27 PM, Lukasz Majewski wrote: > Those properties are U-Boot specific as the mxs gpio Linux driver >

Re: [U-Boot] [PATCH v3] fastboot: Remove "slot-suffixes" variable

2019-06-19 Thread Marek Vasut
On 6/19/19 4:38 PM, Sam Protsenko wrote: > On Wed, Jun 19, 2019 at 4:52 PM Marek Vasut wrote: >> >> On 6/19/19 2:14 PM, Sam Protsenko wrote: >>> On Tue, Jun 18, 2019 at 7:31 PM Marek Vasut wrote: On 6/18/19 4:57 PM, Sam Protsenko wrote: > Hi Marek, > > As you mentioned USB P

Re: [U-Boot] [PATCH] configs: stm32mp15: Select correct Ethernet driver for trusted mode

2019-06-19 Thread Patrice CHOTARD
On 6/17/19 9:54 AM, Patrice Chotard wrote: > Select the correct Ethernet driver from Synopsis. > Initially, "Synopsys Designware Ethernet MAC" driver was wrongly > selected instead of "Synopsys DWC Ethernet QOS device" driver. > > Fixes: commit f90b3f5b68ed ("configs: stm32mp15: Enable Ethernet fe

Re: [U-Boot] [PATCH] MAINTAINERS: Remove Christophe Kerello from STM32MP entry

2019-06-19 Thread Patrice CHOTARD
On 6/18/19 10:58 AM, Patrice Chotard wrote: > Christophe will not have maintainer activities, so remove its name. > > Signed-off-by: Patrice Chotard > Cc: Christophe Kerello > Cc: Patrick Delaunay > --- > > MAINTAINERS | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/MAINTAINERS b/MAINT

Re: [U-Boot] [PATCH v2 3/3] usb: dwc2: allow peripheral mode for OTG configuration

2019-06-19 Thread Patrice CHOTARD
Hi Patrick On 6/18/19 6:46 PM, Marek Vasut wrote: > On 6/18/19 4:57 PM, Patrick Delaunay wrote: >> Allow device mode in DWC2 driver when device tree select the dr_mode >> "peripheral" or "otg". >> >> The device mode is not allowed when dr_mode = "host" in device tree. >> >> Signed-off-by: Patrick

Re: [U-Boot] [PATCH v2 2/3] ARM: dts: stm32mp1: remove override for g-tx-fifo-size

2019-06-19 Thread Patrice CHOTARD
Hi Patrick On 6/18/19 4:57 PM, Patrick Delaunay wrote: > Remove the override for usbotg_hs on g-tx-fifo-size as the correct > binding, used in the kernel device tree, is now supported in dwc2 > device driver. > > Signed-off-by: Patrick Delaunay > --- > > Changes in v2: > - move dt update in a sep

Re: [U-Boot] [PATCH v2 1/3] usb: dwc2: correctly handle binding for g-tx-fifo-size

2019-06-19 Thread Patrice CHOTARD
Hi Patrick On 6/18/19 6:46 PM, Marek Vasut wrote: > On 6/18/19 4:57 PM, Patrick Delaunay wrote: >> Manage g-tx-fifo-size as a array as specify in the binding. >> >> Signed-off-by: Patrick Delaunay > Reviewed-by: Marek Vasut > > I'm missing 2/3 , although I think it might be better if you take th

Re: [U-Boot] imx6: [PATCH] Add support for new board "eval1a"

2019-06-19 Thread Lukasz Majewski
Hi Claudio, > Hi Lukasz > > Thank you for your answer and your warm welcome. > > Actually I have tried to enable dm_mmc by including > > select DM > select DM_MMC > select OF_CONTROL > imply CMD_DM With DM_MMC you also need to enable CONFIG_BLK Moreover, I don't know how experienced are you

Re: [U-Boot] [PATCH v5 3/6] ARM: dts: imx: Provide 'gpio-ranges' for mxs_gpio driver

2019-06-19 Thread Lukasz Majewski
On Wed, 19 Jun 2019 16:32:57 +0200 Marek Vasut wrote: > On 6/19/19 4:19 PM, Lukasz Majewski wrote: > > Hi Marek, > > > >> On 6/19/19 2:27 PM, Lukasz Majewski wrote: > >>> Those properties are U-Boot specific as the mxs gpio Linux driver > >>> (up to version v5.1.11) is not supporting them. >

Re: [U-Boot] [PATCH v2 1/3] usb: dwc2: correctly handle binding for g-tx-fifo-size

2019-06-19 Thread Patrick DELAUNAY
Hi Marek, > From: Marek Vasut > Sent: mardi 18 juin 2019 18:46 > > On 6/18/19 4:57 PM, Patrick Delaunay wrote: > > Manage g-tx-fifo-size as a array as specify in the binding. > > > > Signed-off-by: Patrick Delaunay > > Reviewed-by: Marek Vasut > > I'm missing 2/3 , although I think it might

Re: [U-Boot] [PATCH v3] fastboot: Remove "slot-suffixes" variable

2019-06-19 Thread Sam Protsenko
On Wed, Jun 19, 2019 at 4:52 PM Marek Vasut wrote: > > On 6/19/19 2:14 PM, Sam Protsenko wrote: > > On Tue, Jun 18, 2019 at 7:31 PM Marek Vasut wrote: > >> > >> On 6/18/19 4:57 PM, Sam Protsenko wrote: > >>> Hi Marek, > >>> > >>> As you mentioned USB PR is now open, please apply this patch in >

Re: [U-Boot] [PATCH] driver: watchdog: Add new iMX/LSCH2 WDT driver

2019-06-19 Thread Marek Vasut
On 6/19/19 6:56 AM, daniel.sangor...@toshiba.co.jp wrote: > Hello Robert, > > I am not an expert on this, but I have been modifying a watchdog driver > lately. Please check my comments below, although they may need a review from > the corresponding maintainer: > >> -Original Message- >>

Re: [U-Boot] [PATCH v5 3/6] ARM: dts: imx: Provide 'gpio-ranges' for mxs_gpio driver

2019-06-19 Thread Marek Vasut
On 6/19/19 4:19 PM, Lukasz Majewski wrote: > Hi Marek, > >> On 6/19/19 2:27 PM, Lukasz Majewski wrote: >>> Those properties are U-Boot specific as the mxs gpio Linux driver >>> (up to version v5.1.11) is not supporting them. >>> >>> Signed-off-by: Lukasz Majewski >> >> [...] >> >>> +&gpio4 { >>

Re: [U-Boot] [PATCH] pinctrl: renesas: Synchronize Gen2/Gen3 tables with Linux 5.2-rc5

2019-06-19 Thread Eugeniu Rosca
Hi Jeremy, On Wed, Jun 19, 2019 at 08:05:10AM +0800, Jeremy Kerr wrote: > Hi Eugeniu, > > > Replicating the chronology of the issue, do you think it could be > > related to 1) the patch size or to 2) the moderator's approval event? > > > > +--+ > > |1. Patch sent | > > +--+

Re: [U-Boot] [PATCH v5 3/6] ARM: dts: imx: Provide 'gpio-ranges' for mxs_gpio driver

2019-06-19 Thread Lukasz Majewski
Hi Marek, > On 6/19/19 2:27 PM, Lukasz Majewski wrote: > > Those properties are U-Boot specific as the mxs gpio Linux driver > > (up to version v5.1.11) is not supporting them. > > > > Signed-off-by: Lukasz Majewski > > [...] > > > +&gpio4 { > > + gpio-ranges = <&pinctrl 120 0 21>; > >

Re: [U-Boot] [PATCH v5 4/6] gpio: mxs: Add support for DM/DTS in the mxs_gpio.c driver (DM_GPIO)

2019-06-19 Thread Marek Vasut
On 6/19/19 2:27 PM, Lukasz Majewski wrote: > This patch adds support for DM/DTS in the mxs_gpio.c driver. > Information regarding per gpio controller pin number is passed via DTS. > > Signed-off-by: Lukasz Majewski > > --- Reviewed-by: Marek Vasut -- Best regards, Marek Vasut ___

Re: [U-Boot] [PATCH v5 6/6] spi: mxs: Add support DM/DTS for i.MX28 mxs SPI driver (DM_SPI conversion)

2019-06-19 Thread Marek Vasut
On 6/19/19 2:27 PM, Lukasz Majewski wrote: > This patch converts mxs_spi driver to support DM/DTS. > > Signed-off-by: Lukasz Majewski > > > --- Reviewed-by: Marek Vasut -- Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] [PATCH v5 2/6] net: fec: Enable support for i.MX28 DM_ETH in the fec_mxc.c driver

2019-06-19 Thread Marek Vasut
On 6/19/19 2:27 PM, Lukasz Majewski wrote: > The fec_mxc.c driver can be reused by i.MX28 when DM_ETH is enabled. > One only needs to add proper compatible and dependency on FEC_MXC in the > Kconfig. > > Signed-off-by: Lukasz Majewski > --- Reviewed-by: Marek Vasut -- Best regards, Marek Vasu

Re: [U-Boot] [PATCH v5 5/6] pinctrl: mxs: Add support for i.MX2[38] mxs pinctrl driver

2019-06-19 Thread Marek Vasut
On 6/19/19 2:27 PM, Lukasz Majewski wrote: > The code responsible for setting proper values in the MUX registers > (in the mxs_pinctrl_set_state()) has been ported from Linux kernel > - SHA1: 17bb763e7eaf tag v5.1.11 from linux-stable. > > As the pinctrl node in the imx28.dtsi file has gpio pins n

Re: [U-Boot] [PATCH v5 1/6] ARM: dts: imx: Copy imx28 device tree related files from Linux kernel (v5.1.11)

2019-06-19 Thread Marek Vasut
On 6/19/19 2:27 PM, Lukasz Majewski wrote: > This patch copies from the Linux kernel stable (tag v5.1.11) > SHA1: 17bb763e7eaf i.MX28 related device tree files. > > Signed-off-by: Lukasz Majewski > --- Reviewed-by: Marek Vasut -- Best regards, Marek Vasut _

Re: [U-Boot] [PATCH v5 3/6] ARM: dts: imx: Provide 'gpio-ranges' for mxs_gpio driver

2019-06-19 Thread Marek Vasut
On 6/19/19 2:27 PM, Lukasz Majewski wrote: > Those properties are U-Boot specific as the mxs gpio Linux driver (up to > version v5.1.11) is not supporting them. > > Signed-off-by: Lukasz Majewski [...] > +&gpio4 { > + gpio-ranges = <&pinctrl 120 0 21>; Are you sure the GPIO controller offs

Re: [U-Boot] [PATCH v3] fastboot: Remove "slot-suffixes" variable

2019-06-19 Thread Marek Vasut
On 6/19/19 2:14 PM, Sam Protsenko wrote: > On Tue, Jun 18, 2019 at 7:31 PM Marek Vasut wrote: >> >> On 6/18/19 4:57 PM, Sam Protsenko wrote: >>> Hi Marek, >>> >>> As you mentioned USB PR is now open, please apply this patch in u-boot-usb. >> >> Fastboot is gadget stuff, so that's up to Lukasz. >>

Re: [U-Boot] [U-Boot-Custodians] [ANNOUNCEMENT] Switching to gitlab.denx.de

2019-06-19 Thread Harald Seiler
On Tue, 2019-06-18 at 22:49 +0200, Heinrich Schuchardt wrote: > Just use https, e.g > > git remote set-url net \ > https://gitlab.denx.de/u-boot/custodians/u-boot-net.git > > And in .gitconfig put your email address: > > [credential "https://gitlab.denx.de";] > username = joe.hershber..

Re: [U-Boot] [U-Boot-Custodians] [ANNOUNCEMENT] Switching to gitlab.denx.de

2019-06-19 Thread Harald Seiler
Hi Joe, On Tue, 2019-06-18 at 15:08 -0500, Joe Hershberger wrote: > > I tried to push to u-boot-net an got this... > > --8<-- > > $ git push -u -v net-push master > Pushing to g...@gitlab.denx.de:u-boot/custodians/u-boot-net.git > gitaly-receive-pack: fatal: error: %v > fatal: Could not

[U-Boot] [PATCH] .gitlab-ci.yml: Initial conversion of Travis CI build to GitLab CI

2019-06-19 Thread Tom Rini
Migrate all of the logic in our current .travis.yml file to a GitLab CI config file. Notable changes are that this will run the jobs on runners with the "all" tag. The timeout for a job needs to be configured higher than normal as we no longer split building the world up into a large number of sm

Re: [U-Boot] [ANNOUNCEMENT] Switching to gitlab.denx.de

2019-06-19 Thread Tom Rini
On Wed, Jun 19, 2019 at 03:14:42PM +0200, Harald Seiler wrote: > On Tue, 2019-06-18 at 12:58 -0400, Tom Rini wrote: > > On a related note, where do we go for a new repository? I'd like to get > > "u-boot-gitlab-ci-runner" configured so I can more easily publish the > > Dockerfile (and license, etc

Re: [U-Boot] [ANNOUNCEMENT] Switching to gitlab.denx.de

2019-06-19 Thread Harald Seiler
On Tue, 2019-06-18 at 12:58 -0400, Tom Rini wrote: > On a related note, where do we go for a new repository? I'd like to get > "u-boot-gitlab-ci-runner" configured so I can more easily publish the > Dockerfile (and license, etc) for the gitlab-ci runner container. > Thanks! I created a repo for y

Re: [U-Boot] QSPI support on i.MX7D Sabre Eval Board

2019-06-19 Thread Fabio Estevam
Hi Thomas, On Wed, Jun 19, 2019 at 10:04 AM Thomas Schaefer wrote: > > Hi all, > > I've built current u-boot (v2019.07-rc4) with QSPI support for our i.MX7D > Sabre eval system. I am using mx7dsabresd_qspi_defconfig. > > The resulting u-boot fails to read from QSPI, i.e. the data read is not the

[U-Boot] QSPI support on i.MX7D Sabre Eval Board

2019-06-19 Thread Thomas Schaefer
Hi all, I've built current u-boot (v2019.07-rc4) with QSPI support for our i.MX7D Sabre eval system. I am using mx7dsabresd_qspi_defconfig. The resulting u-boot fails to read from QSPI, i.e. the data read is not the same than that written before with a previous (v2018) version. After some inve

[U-Boot] [PATCH v3] drivers: net: phy: Use Aquantia driver for AQR112, AQR412

2019-06-19 Thread Alexandru Marginean
adds AQR112 and AQR412 to the list of supported PHYs using existing AQR code. Signed-off-by: Alex Marginean Reviewed-By: Ramon Fried --- Changes in v2: - Numerical ordering of structure definition and function calls Changes in v3: - Resent, v2 was mangled up pretty bad by micros

Re: [U-Boot] [PATCH v3 0/7] Add STM32 Cortex-M4 remoteproc driver

2019-06-19 Thread Fabien DESSENNE
Hi Are there any further comments? BR Fabien On 31/05/2019 3:11 PM, Fabien Dessenne wrote: > This patchset adds an STM32 remoteproc driver. > > Patch 1 adds the xxx_translate_dma_address() API which is the equivalent > of the xxx_translate_address() relying on the "dma-ranges" property > ins

[U-Boot] [PATCH v2 3/3] mmc: sdhci: Implement SDHCI card detect

2019-06-19 Thread Michal Simek
From: T Karthik Reddy Card detect function implemented for SDHCI framework. Signed-off-by: T Karthik Reddy Signed-off-by: Michal Simek --- Changes in v2: - Used CARD_PRESENT instead of SDHCI_CARD_DETECT_PIN_LEVEL for reading sd card presence detection. drivers/mmc/sdhci.c | 32 +

[U-Boot] [PATCH v2 1/3] mmc: Read sd card detect properties from DT

2019-06-19 Thread Michal Simek
From: T Karthik Reddy This patch reads card detect properties from device tree & added mmc capability macros in mmc.h. Signed-off-by: T Karthik Reddy Signed-off-by: Michal Simek --- Changes in v2: - Moved reading CD devicetree properties functionality from sdhci.c to mmc-uclass.c & moved

[U-Boot] [PATCH v2 2/3] mmc: sdhci: Read cd-gpio from devicetree

2019-06-19 Thread Michal Simek
From: T Karthik Reddy This patch reads cd-gpio property from devicetree Signed-off-by: T Karthik Reddy Signed-off-by: Michal Simek --- Changes in v2: - Created a new patch for reading "cd-gpio" property from DT. drivers/mmc/sdhci.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/

[U-Boot] [PATCH v2 0/3] Add SDHCI card detection support

2019-06-19 Thread Michal Simek
Hi, This patch series adds card detection support in sdhci framework & added functionality to read card detect dt properties. Thanks, Michal Changes in v2: - Moved reading CD devicetree properties functionality from sdhci.c to mmc-uclass.c & moved mmc capability macros to mmc.h from sdhci.h.

Re: [U-Boot] [PATCH v2] drivers: net: phy: Use Aquantia driver for AQR112, AQR412

2019-06-19 Thread Ramon Fried
On Wed, Jun 19, 2019 at 3:26 PM Alexandru Marginean wrote: > > adds AQR112 and AQR412 to the list of supported PHYs using existing AQR > code. > > Signed-off-by: Alex Marginean > --- > > Changes in v2: > - Numerical ordering of structure definition and function calls > > drivers/net/phy/

[U-Boot] [PATCH v5 6/6] spi: mxs: Add support DM/DTS for i.MX28 mxs SPI driver (DM_SPI conversion)

2019-06-19 Thread Lukasz Majewski
This patch converts mxs_spi driver to support DM/DTS. Signed-off-by: Lukasz Majewski --- Changes in v5: - Set more appropriate tags ("spi: mxs:") Changes in v4: - Adjust the driver to support i.MX23 (add compatible, adjust clk code) - Use BIT() macro where applicable Changes in v3: - Set mor

[U-Boot] [PATCH v5 5/6] pinctrl: mxs: Add support for i.MX2[38] mxs pinctrl driver

2019-06-19 Thread Lukasz Majewski
The code responsible for setting proper values in the MUX registers (in the mxs_pinctrl_set_state()) has been ported from Linux kernel - SHA1: 17bb763e7eaf tag v5.1.11 from linux-stable. As the pinctrl node in the imx28.dtsi file has gpio pins nodes as subnodes, it was necessary to use 'dm_scan_fd

[U-Boot] [PATCH v5 3/6] ARM: dts: imx: Provide 'gpio-ranges' for mxs_gpio driver

2019-06-19 Thread Lukasz Majewski
Those properties are U-Boot specific as the mxs gpio Linux driver (up to version v5.1.11) is not supporting them. Signed-off-by: Lukasz Majewski --- Changes in v5: - Use "ARM: dts: imx: tags" Changes in v4: - New file - imx28-u-boot.dtsi Changes in v3: None Changes in v2: None arch/arm/dts/

[U-Boot] [PATCH v5 4/6] gpio: mxs: Add support for DM/DTS in the mxs_gpio.c driver (DM_GPIO)

2019-06-19 Thread Lukasz Majewski
This patch adds support for DM/DTS in the mxs_gpio.c driver. Information regarding per gpio controller pin number is passed via DTS. Signed-off-by: Lukasz Majewski --- Changes in v5: - Update tags ("gpio: mxs") Changes in v4: - Use BIT() macro instead of 1 << offset - Use devfdt_get_addr to ge

[U-Boot] [PATCH v5 2/6] net: fec: Enable support for i.MX28 DM_ETH in the fec_mxc.c driver

2019-06-19 Thread Lukasz Majewski
The fec_mxc.c driver can be reused by i.MX28 when DM_ETH is enabled. One only needs to add proper compatible and dependency on FEC_MXC in the Kconfig. Signed-off-by: Lukasz Majewski --- Changes in v5: - Set more appropriate tags (net: fec:) Changes in v4: - Sort the entries for compatibles and

[U-Boot] [PATCH v5 1/6] ARM: dts: imx: Copy imx28 device tree related files from Linux kernel (v5.1.11)

2019-06-19 Thread Lukasz Majewski
This patch copies from the Linux kernel stable (tag v5.1.11) SHA1: 17bb763e7eaf i.MX28 related device tree files. Signed-off-by: Lukasz Majewski --- Changes in v5: - Add 12 digit SHA1 ID for tag v5.1.11 Changes in v4: - Add 12 digit SHA1 ID for tag v5.1.9 Changes in v3: - Update tag to 5.1.9 -

[U-Boot] [PATCH v5 0/6] DM: Convert i.MX28 gpio, pinmux, spi and eth drivers to DM/DTS

2019-06-19 Thread Lukasz Majewski
This patch series converts some i.MX28 drivers to use DM/DTS. Converted drivers: - mxs_gpio.c - gpio driver - pinctrl-mxs.c - pinmux driver - Adjust fec_eth.c to support also i.MX28 SoC. - mxs_spi.c - SPI driver After applying this series it is possible to use ETH on i.MX28 board with following D

[U-Boot] [PATCH v2] drivers: net: phy: Use Aquantia driver for AQR112, AQR412

2019-06-19 Thread Alexandru Marginean
adds AQR112 and AQR412 to the list of supported PHYs using existing AQR code. Signed-off-by: Alex Marginean --- Changes in v2: - Numerical ordering of structure definition and function calls drivers/net/phy/aquantia.c | 28 1 file changed, 28 insertions(+)

Re: [U-Boot] [PATCH v2 2/2] fastboot: Fix slot names reported by getvar

2019-06-19 Thread Sam Protsenko
On Wed, Jun 19, 2019 at 12:10 AM Lukasz Majewski wrote: > > On Tue, 18 Jun 2019 17:34:54 +0300 > Sam Protsenko wrote: > > > Hi Lukasz, > > > > Seems like the versioning is basically useless in fastboot USB > > protocol. It exists, but only host requests the version from device > > (bootloader), l

Re: [U-Boot] [PATCH] travis.yml: Add buildman support for NXP's LS1028 & LX2160

2019-06-19 Thread Tom Rini
On Wed, Jun 19, 2019 at 05:47:12PM +0530, Prabhakar Kushwaha wrote: > NXP's LS1028 and LX2160 platform build support added via buildman > in travis.yml. > > Signed-off-by: Prabhakar Kushwaha > --- > .travis.yml | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/.travis.yml b/.travi

[U-Boot] [PATCH] travis.yml: Add buildman support for NXP's LS1028 & LX2160

2019-06-19 Thread Prabhakar Kushwaha
NXP's LS1028 and LX2160 platform build support added via buildman in travis.yml. Signed-off-by: Prabhakar Kushwaha --- .travis.yml | 6 ++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 8bd49ef1a5..e4e7e653f6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -183,6

Re: [U-Boot] [PATCH v4 6/6] net: macb: Extend MACB driver for SiFive Unleashed board

2019-06-19 Thread Bin Meng
Hi Anup, On Wed, Jun 19, 2019 at 6:38 PM Anup Patel wrote: > > On Wed, Jun 19, 2019 at 3:32 PM Bin Meng wrote: > > > > Hi Anup, > > > > On Wed, Jun 19, 2019 at 4:26 PM Anup Patel wrote: > > > > > > The SiFive MACB ethernet has a custom TX_CLK_SEL register to select > > > different TX clock for

Re: [U-Boot] [PATCH v3] fastboot: Remove "slot-suffixes" variable

2019-06-19 Thread Sam Protsenko
On Tue, Jun 18, 2019 at 7:31 PM Marek Vasut wrote: > > On 6/18/19 4:57 PM, Sam Protsenko wrote: > > Hi Marek, > > > > As you mentioned USB PR is now open, please apply this patch in u-boot-usb. > > Fastboot is gadget stuff, so that's up to Lukasz. > Is this a bugfix ? > No, this is not a bugfix.

Re: [U-Boot] [PATCH 4/5] fpga: virtex2: Add additional clock cycles after DONE assertion

2019-06-19 Thread Michal Simek
On 18. 06. 19 17:47, Robert Hancock wrote: > Some Xilinx FPGA configuration options can result in the startup > sequence extending past the end of the FPGA bitstream. Continue applying > CCLK clock cycles for 8 cycles after DONE is asserted in order to ensure > the startup sequence is complete, as

Re: [U-Boot] [PATCH 0/5] Virtex2 FPGA enhancements

2019-06-19 Thread Michal Simek
On 18. 06. 19 17:47, Robert Hancock wrote: > These changes add support for slave serial mode, in addition to the > existing slave SelectMAP mode, for programming Xilinx Virtex2 (and later) > FPGAs, as well as fixing up code style and an issue with the programming > sequence. > > Robert Hancock (5)

Re: [U-Boot] [PATCH] drivers: net: phy: Ignore PHY ID 0 during PHY probing

2019-06-19 Thread Ramon Fried
On Wed, Jun 19, 2019 at 12:07 PM Alexandru Marginean wrote: > > Current code fails to probe some C45 PHYs that also respond to C22 reads. > This is the case for PHYs like Aquantia AQR112, Marvell 88X2242 (as > previously posted on the u-boot list). > If the PHY ID reads all 0s just ignore it and t

Re: [U-Boot] [EXT] command 'saveenv' fails to write into QSPI memory Macronix MX25U25645GMI00

2019-06-19 Thread Ashish Kumar
> -Original Message- > From: U-Boot On Behalf Of Manoel, Florian > Sent: Wednesday, June 19, 2019 1:16 PM > To: u-boot@lists.denx.de > Subject: [EXT] [U-Boot] command 'saveenv' fails to write into QSPI memory > Macronix MX25U25645GMI00 > > Caution: EXT Email > > Hello U-Boot community, >

Re: [U-Boot] [PATCH 1/2] board: lx2160a: fix fsl-mc status in fdt with bootefi

2019-06-19 Thread Prabhakar Kushwaha
> -Original Message- > From: Mian Yousaf Kaukab > Sent: Thursday, May 23, 2019 2:28 PM > To: u-boot@lists.denx.de; Prabhakar Kushwaha > > Cc: Mian Yousaf Kaukab > Subject: [PATCH 1/2] board: lx2160a: fix fsl-mc status in fdt with bootefi > > fsl-mc lazyapply command applies dpl from ef

Re: [U-Boot] [PATCH] configs/ls1046ardb_*: disable CONFIG_SPI_FLASH_USE_4K_SECTORS

2019-06-19 Thread Prabhakar Kushwaha
> -Original Message- > From: Maciej Pijanowski > Sent: Saturday, June 1, 2019 2:01 AM > To: u-boot@lists.denx.de > Cc: piotr.k...@3mdeb.com; Maciej Pijanowski > ; Prabhakar Kushwaha > > Subject: [PATCH] configs/ls1046ardb_*: disable > CONFIG_SPI_FLASH_USE_4K_SECTORS > > With this settin

Re: [U-Boot] [PATCH v3] armv8/fsl-layerscape: Add loop to check L3 dcache status

2019-06-19 Thread Prabhakar Kushwaha
> -Original Message- > From: Meenakshi Aggarwal > Sent: Tuesday, May 28, 2019 9:38 PM > To: u-boot@lists.denx.de; Prabhakar Kushwaha > > Cc: Meenakshi Aggarwal ; Udit Kumar > > Subject: [PATCH v3] armv8/fsl-layerscape: Add loop to check L3 dcache status > > Flushing L3 cache may need v

Re: [U-Boot] [PATCH] fsl-layerscape/ls1046a_serdes.c: fix 0x3363 serdes1 setting

2019-06-19 Thread Prabhakar Kushwaha
> -Original Message- > From: Maciej Pijanowski > Sent: Friday, May 31, 2019 7:30 PM > To: u-boot@lists.denx.de > Cc: Prabhakar Kushwaha ; > maciej.pijanow...@3mdeb.com > Subject: [PATCH] fsl-layerscape/ls1046a_serdes.c: fix 0x3363 serdes1 setting > > According to the table 31-1 in the Qo

Re: [U-Boot] [PATCH 2/2] board: lx2160a: use default scan_dev_for_boot

2019-06-19 Thread Prabhakar Kushwaha
> -Original Message- > From: Mian Yousaf Kaukab > Sent: Thursday, May 23, 2019 2:28 PM > To: u-boot@lists.denx.de; Prabhakar Kushwaha > > Cc: Mian Yousaf Kaukab > Subject: [PATCH 2/2] board: lx2160a: use default scan_dev_for_boot > > Default environment variable is more complete. Also

  1   2   >