Re: [U-Boot] [PATCH 2/4] armv8: ls2088aqds: The ls2088aqds board supports the I2C driver model.

2019-07-24 Thread Wolfgang Denk
Dear Chuanhua Han, In message <20190724025904.469-2-chuanhua@nxp.com> you wrote: ... > /* Set I2c to Slot 1 */ > +#ifndef CONFIG_DM_I2C > i2c_write(0x77, 0, 0, , 1); > +#else > + struct udevice *udev; Please - no declarations in the in the middle of the code (even if

[U-Boot] 答复: [EXT] Re: Upstreaming usb host drivers for iMX8/iMX8M

2019-07-24 Thread Sherry Sun
Hi,Igor > -邮件原件- > 发件人: Igor Opaniuk > 发送时间: 2019年7月23日 20:43 > 收件人: Sherry Sun > 抄送: Ying Liu ; Peng Fan ; Jun Li > ; Ye Li ; U-Boot Mailing List > ; Peter Chen ; dl-uboot-imx > ; Marcel Ziswiler ; Max > Krummenacher ; Igor Opaniuk > ; Frank Li > 主题: Re: [EXT] Re: Upstreaming usb host

Re: [U-Boot] [PATCH 00/50] doc: Shape into useful HTML docs

2019-07-24 Thread Bin Meng
Hi Wolfgang, On Wed, Jul 24, 2019 at 3:08 PM Wolfgang Denk wrote: > > Dear Bin, > > In message > you > wrote: > > > > The HTML files can be generated from the U-Boot source tree by "make > > htmldocs". > > > > > would you want to put them? And what is the planned update > > > strategy? > >

Re: [U-Boot] [PATCH 1/3] edid: add edid_get_timing_validate() variant to filter out edid modes

2019-07-24 Thread Neil Armstrong
On 04/07/2019 15:52, Neil Armstrong wrote: > The original edid_get_timing() function returns the first valid timing, > but on some plaforms, we could only supports a subset of the listed > monitot's navite timing. > > Let's introduce a edid_get_timing_validate() adding a mode_valid callback >

Re: [U-Boot] [PATCH 2/4] armv8: ls2088aqds: The ls2088aqds board supports the I2C driver model.

2019-07-24 Thread Wolfgang Denk
Dear Chuanhua, In message <20190724025904.469-2-chuanhua@nxp.com> you wrote: > This patch is updating ls2088aqds board init code to support DM_I2C. I have a generic question about error handling in your code: > + a = 0x18; > +

Re: [U-Boot] [PATCH 00/50] doc: Shape into useful HTML docs

2019-07-24 Thread Wolfgang Denk
Dear Bin, In message you wrote: > > The HTML files can be generated from the U-Boot source tree by "make > htmldocs". > > > would you want to put them? And what is the planned update > > strategy? > > If possible, can we have denx.de or gitlab.denx.de host the generated HTML > docs? I had

Re: [U-Boot] [PATCH 4/6] arm: socfpga: gen5: move initial reset handling to reset driver

2019-07-24 Thread Marek Vasut
On 7/23/19 10:27 PM, Simon Goldschmidt wrote: > This moves disabling all peripherals from ad-hoc code in arch/arm > to the socfpga reset driver. That doesn't seem like what the patch does. Also, the WDT has to be kept enabled, is that functionality retained ? > To do this, DM initialization and

Re: [U-Boot] [PATCH 4/6] arm: socfpga: gen5: move initial reset handling to reset driver

2019-07-24 Thread Simon Goldschmidt
On Wed, Jul 24, 2019 at 9:31 AM Marek Vasut wrote: > > On 7/23/19 10:27 PM, Simon Goldschmidt wrote: > > This moves disabling all peripherals from ad-hoc code in arch/arm > > to the socfpga reset driver. > > That doesn't seem like what the patch does. D'oh, you're right. I messed that up during

Re: [U-Boot] [PATCH v4 1/2] arm: dts: Add devicetree support for iMXQXP AI_ML board

2019-07-24 Thread Lukasz Majewski
On Fri, 19 Jul 2019 12:27:42 +0530 Manivannan Sadhasivam wrote: > Add devicetree support for iMXQXP AI_ML board from Einfochips. > > Signed-off-by: Manivannan Sadhasivam > --- > arch/arm/dts/Makefile | 1 + > arch/arm/dts/fsl-imx8qxp-ai_ml-u-boot.dtsi | 117

[U-Boot] [PATCH v2 08/14] davinci: omapl138-lcdk: enable driver model for NAND

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Enable the driver-model on da850-lcdk. We need to add a dummy nand node to the device tree, as the real nand node is a sub-node of the aemif device. On linux the aemif driver populates all its child nodes, but we can't do it in u-boot currently. Signed-off-by: Bartosz

[U-Boot] [PATCH v2 03/14] sandbox: remove CONFIG_DM_I2C_COMPAT from defconfigs

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There are no more "real" users of CONFIG_DM_I2C_COMPAT and we'll soon remove it altogether. Stop building it in sandbox mode. Signed-off-by: Bartosz Golaszewski Acked-by: Heiko Schocher --- Makefile | 2 +- configs/sandbox64_defconfig

[U-Boot] [PATCH v2 14/14] configs: omapl138_lcdk: enable NAND self-init in SPL

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Now that we have enabled the driver-model in SPL, we can remove the code disabling NAND self-init in SPL from the config include for omapl138-lcdk. Signed-off-by: Bartosz Golaszewski --- include/configs/omapl138_lcdk.h | 4 1 file changed, 4 deletions(-) diff

[U-Boot] [PATCH v2 12/14] davinci: omapl138-lcdk: remove unneeded includes

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There's no SPI on da850-lcdk. Remove unnecessary includes. Signed-off-by: Bartosz Golaszewski --- board/davinci/da8xxevm/omapl138_lcdk.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/board/davinci/da8xxevm/omapl138_lcdk.c

[U-Boot] [PATCH v2 11/14] davinci: omapl138-lcdk: enable CONFIG_USE_TINY_PRINTF

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We're working towards enabling the driver-model in SPL for da850-lcdk. Enable CONFIG_USE_TINY_PRINTF in defconfig to reduce SPL size. Signed-off-by: Bartosz Golaszewski --- configs/omapl138_lcdk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [U-Boot] [PATCH 5/6] arm: socfpga: gen5: add readonly clk driver

2019-07-24 Thread Simon Goldschmidt
On Wed, Jul 24, 2019 at 9:51 AM Marek Vasut wrote: > > On 7/24/19 9:45 AM, Simon Goldschmidt wrote: > > On Wed, Jul 24, 2019 at 9:31 AM Marek Vasut wrote: > >> > >> On 7/23/19 10:27 PM, Simon Goldschmidt wrote: > >>> This adds clk-gen5 as a readonly DM_CLK driver that can return clocks for > >>>

[U-Boot] [PATCH] arm: dts: imx: fsl-imx8qm.dtsi: add gpio aliases to fix gpio command

2019-07-24 Thread Peng Fan
The gpio command currently uses equal bank names "GPIO0_" for all existing gpio banks, i. e.: U-Boot# gpio status -a Bank GPIO0_: GPIO0_0: input: 0 [ ] GPIO0_1: input: 0 [ ] ... Bank GPIO0_: GPIO0_0: input: 0 [ ] GPIO0_1: input: 0 [ ] ... So the command is broken, it is not possible to

Re: [U-Boot] [PATCH 1/2] arm: dts: rock960: Enable booting from eMMC when using SPL

2019-07-24 Thread Kever Yang
Hi Manivannan, On 2019/7/24 下午3:59, Peter Robinson wrote: On Mon, May 20, 2019 at 4:47 PM Manivannan Sadhasivam wrote: This commits enables booting from eMMC when using SPL on 96Boards Rock960 board by adding SDHCI to boot order. Since the SDHCI driver already has the reloc flag, this works

Re: [U-Boot] [PATCH] board_r: re-order the board_early_init_r()

2019-07-24 Thread Simon Goldschmidt
On Wed, Jul 24, 2019 at 12:01 PM Kever Yang wrote: > > The board_early_init_r() suppose to be called before board_init(), > then the board callback functions in board_r will be: > - board_early_init_r() > - board_init() > - board_late_init() Searching through the code, elixir.bootlin.com gives

Re: [U-Boot] [PATCH 3/6] timer: dw-apb: add reset handling

2019-07-24 Thread Marek Vasut
On 7/24/19 9:43 AM, Simon Goldschmidt wrote: > On Wed, Jul 24, 2019 at 9:31 AM Marek Vasut wrote: >> >> On 7/23/19 10:27 PM, Simon Goldschmidt wrote: >>> To use this timer on socfpga as system tick, it needs to take itself out >>> of reset. >>> >>> Signed-off-by: Simon Goldschmidt >>> --- >>>

Re: [U-Boot] [PATCH 1/4] imx: add module fuse support

2019-07-24 Thread Lukasz Majewski
Hi Peng, > There are different parts from one SoC. Take i.MX6ULL for example, > some part might not have ENET, some might have; some might not have > USB, some might have. The information could be got from OCOTP, > to make one image support the different parts, we need runtime > disable linux

Re: [U-Boot] [PATCH v4 2/2] board: Add support for iMX8QXP AI_ML board

2019-07-24 Thread Lukasz Majewski
Hi Manivannan, > This commit adds initial board support for iMX8QXP AI_ML board from > Einfochips. This board is one of the 96Boards Consumer Edition and AI > boards of the 96Boards family based on i.MX8QXP SoC from > NXP/Freescale. > > This initial supports contains following peripherals which

Re: [U-Boot] [PATCH v2] net: davinci_emac: convert to using the driver model

2019-07-24 Thread Bartosz Golaszewski
śr., 24 lip 2019 o 01:22 Joe Hershberger napisał(a): > > On Mon, Jun 24, 2019 at 9:22 AM Bartosz Golaszewski wrote: > > > > From: Bartosz Golaszewski > > > > Now that we removed all legacy boards selecting TI_EMAC we can > > completely convert the driver code to using the driver model. > > This

[U-Boot] [PATCH v2 09/14] davinci: da850-evm: enable driver model for NAND

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Enable the driver-model on da850-evm. We need to add a dummy nand node to the device tree, as the real nand node is a sub-node of the aemif device. On linux the aemif driver populates all its child nodes, but we can't do it in u-boot currently. Signed-off-by: Bartosz

[U-Boot] [PATCH v2 07/14] nand: davinci: add support for driver model

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Extend the davinci NAND driver to support the driver model. For now this doesn't add any device-tree parsing due to the fact that we can't access the actual nand node on the device-tree - it's a subnode of the aemif device and we don't have an aemif driver on davinci at

[U-Boot] [PATCH v2 05/14] omapl138_lcdk_defconfig: don't build support for SPI

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The following warning is emited when building u-boot for da850-lcdk: = WARNING == This board does not use CONFIG_DM_SPI. Please update the board before v2019.04 for no dm conversion and v2019.07 for partially dm converted

[U-Boot] [PATCH v2 04/14] i2c: remove i2c driver-model compatibility layer

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There are no more users of the compatibility layer for i2c. Remove the driver and all references to it. Signed-off-by: Bartosz Golaszewski Acked-by: Heiko Schocher --- Makefile| 7 -- drivers/i2c/Kconfig | 13 +---

[U-Boot] [PATCH v2 13/14] davinci: omapl138-lcdk: enable driver-model in SPL

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Enable CONFIG_SPL_DM and enable the driver model for serial by defining an appropriate device in the board file for da850-lcdk. Signed-off-by: Bartosz Golaszewski --- board/davinci/da8xxevm/omapl138_lcdk.c | 16 configs/omapl138_lcdk_defconfig

Re: [U-Boot] [RFC PATCH 00/11] SPL support for RISC-V

2019-07-24 Thread Auer, Lukas
Hi Bin, On Wed, 2019-07-24 at 10:55 +0800, Bin Meng wrote: > Hi Lukas, > > On Wed, Jul 24, 2019 at 5:34 AM Auer, Lukas > wrote: > > Hi Bin, > > > > On Tue, 2019-07-23 at 16:32 +0800, Bin Meng wrote: > > > Hi Lukas, > > > > > > On Mon, Jul 22, 2019 at 2:00 AM Lukas Auer > > > wrote: > > > >

Re: [U-Boot] python3 support for pylibfdt

2019-07-24 Thread Peter Robinson
> > > 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

Re: [U-Boot] [PATCH 3/6] timer: dw-apb: add reset handling

2019-07-24 Thread Simon Goldschmidt
On Wed, Jul 24, 2019 at 9:31 AM Marek Vasut wrote: > > On 7/23/19 10:27 PM, Simon Goldschmidt wrote: > > To use this timer on socfpga as system tick, it needs to take itself out > > of reset. > > > > Signed-off-by: Simon Goldschmidt > > --- > > > > drivers/timer/dw-apb-timer.c | 18

[U-Boot] [PATCH v2] mmc: sti_sdhci: Fix sdhci_setup_cfg() call.

2019-07-24 Thread Patrice Chotard
host->mmc, host->mmc->dev and host->mmc->priv must be set before calling sdhci_setup_cfg() to avoid hang during mmc initialization. Thanks to commit 3d296365e4e8 ("mmc: sdhci: Add support for sdhci-caps-mask") which put this issue into evidence. Signed-off-by: Patrice Chotard --- Changes in

[U-Boot] [PATCH v2 01/14] net: davinci_emac: convert to using the driver model

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Now that we removed all legacy boards selecting TI_EMAC we can completely convert the driver code to using the driver model. This patch also updates all remaining users of davinci_emac. Signed-off-by: Bartosz Golaszewski Tested-by: Adam Ford #am3517-evm & da850-evm

[U-Boot] [PATCH v2 00/14] ARM: davinci: driver-model improvements

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The following series contains all the patches for davinci that have been sent to the mailing list recently rebased on top of v2019.07 and retested on da850-lcdk and da850-evm. I collected all the review and test tags too. The first patch is the emac driver conversion

Re: [U-Boot] [PATCH v2] mmc: sti_sdhci: Fix sdhci_setup_cfg() call.【请注意,邮件由u-boot-boun...@lists.denx.de代发】

2019-07-24 Thread Kever Yang
On 2019/7/24 下午3:51, Patrice Chotard wrote: host->mmc, host->mmc->dev and host->mmc->priv must be set before calling sdhci_setup_cfg() to avoid hang during mmc initialization. Thanks to commit 3d296365e4e8 ("mmc: sdhci: Add support for sdhci-caps-mask") which put this issue into evidence.

[U-Boot] [PATCH] board_r: re-order the board_early_init_r()

2019-07-24 Thread Kever Yang
The board_early_init_r() suppose to be called before board_init(), then the board callback functions in board_r will be: - board_early_init_r() - board_init() - board_late_init() Signed-off-by: Kever Yang --- common/board_r.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

Re: [U-Boot] [PATCH 5/6] arm: socfpga: gen5: add readonly clk driver

2019-07-24 Thread Simon Goldschmidt
On Wed, Jul 24, 2019 at 9:31 AM Marek Vasut wrote: > > On 7/23/19 10:27 PM, Simon Goldschmidt wrote: > > This adds clk-gen5 as a readonly DM_CLK driver that can return clocks for > > the peripherals. > > > > Further changes are: > > - select DM_CLK for gen5 U-Boot and SPL > > - add SPL tags to

Re: [U-Boot] [PATCH 1/2] arm: dts: rock960: Enable booting from eMMC when using SPL

2019-07-24 Thread Peter Robinson
On Mon, May 20, 2019 at 4:47 PM Manivannan Sadhasivam wrote: > > This commits enables booting from eMMC when using SPL on 96Boards > Rock960 board by adding SDHCI to boot order. Since the SDHCI driver > already has the reloc flag, this works straightaway. > > Signed-off-by: Manivannan Sadhasivam

[U-Boot] [PATCH v2 02/14] davinci: remove CONFIG_DM_I2C_COMPAT from defconfigs

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This option is no longer used on any davinci board but still selected in defconfigs which causes the following warning: = WARNING == This board uses CONFIG_DM_I2C_COMPAT. Please remove (possibly in a subsequent patch in your

[U-Boot] [PATCH v2 10/14] davinci: omapl138-lcdk: enable SPL_SYS_MALLOC_SIMPLE

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We're working towards enabling the driver model in SPL for da850-lcdk. Enable SPL_SYS_MALLOC_SIMPLE in defconfig to reduce SPL size. Signed-off-by: Bartosz Golaszewski --- configs/omapl138_lcdk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH v2 06/14] nand: davinci: make davinci_nand_init() static

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This function is only used within the driver itself. No need to export it. Signed-off-by: Bartosz Golaszewski --- arch/arm/include/asm/ti-common/davinci_nand.h | 2 -- drivers/mtd/nand/raw/davinci_nand.c | 2 +- 2 files changed, 1 insertion(+), 3

Re: [U-Boot] [PATCH 5/6] arm: socfpga: gen5: add readonly clk driver

2019-07-24 Thread Marek Vasut
On 7/24/19 10:24 AM, Simon Goldschmidt wrote: > On Wed, Jul 24, 2019 at 9:51 AM Marek Vasut wrote: >> >> On 7/24/19 9:45 AM, Simon Goldschmidt wrote: >>> On Wed, Jul 24, 2019 at 9:31 AM Marek Vasut wrote: On 7/23/19 10:27 PM, Simon Goldschmidt wrote: > This adds clk-gen5 as a

Re: [U-Boot] [PATCH] mmc: sti_sdhci: Fix sdhci_setup_cfg() call.

2019-07-24 Thread Patrice CHOTARD
Hi Peng On 7/24/19 4:21 AM, Peng Fan wrote: >> Subject: [PATCH] mmc: sti_sdhci: Fix sdhci_setup_cfg() call. >> >> host->mmc and host->mmc->dev must be set before calling >> sdhci_setup_cfg() to avoid hang during mmc initialization. >> >> Thanks to commit 3d296365e4e8 >> ("mmc: sdhci: Add support

Re: [U-Boot] [PATCH 5/6] arm: socfpga: gen5: add readonly clk driver

2019-07-24 Thread Marek Vasut
On 7/23/19 10:27 PM, Simon Goldschmidt wrote: > This adds clk-gen5 as a readonly DM_CLK driver that can return clocks for > the peripherals. > > Further changes are: > - select DM_CLK for gen5 U-Boot and SPL > - add SPL tags to clock nodes in socfpga-common-u-boot.dtsi > - adjust socfpga.dtsi to

Re: [U-Boot] [PATCH 3/6] timer: dw-apb: add reset handling

2019-07-24 Thread Marek Vasut
On 7/23/19 10:27 PM, Simon Goldschmidt wrote: > To use this timer on socfpga as system tick, it needs to take itself out > of reset. > > Signed-off-by: Simon Goldschmidt > --- > > drivers/timer/dw-apb-timer.c | 18 +- > 1 file changed, 17 insertions(+), 1 deletion(-) > > diff

Re: [U-Boot] [PATCH 1/4] imx: add module fuse support

2019-07-24 Thread Peng Fan
Hi Lukasz, > Subject: Re: [U-Boot] [PATCH 1/4] imx: add module fuse support > > Hi Peng, > > > There are different parts from one SoC. Take i.MX6ULL for example, > > some part might not have ENET, some might have; some might not have > > USB, some might have. The information could be got from

Re: [U-Boot] [PATCH v4 0/2] Add board support for iMX8QXP AI_ML board

2019-07-24 Thread Lukasz Majewski
Hi Manivannan, > Hello, > > This patchset adds initial board support for iMX8QXP AI_ML board > from Einfochips. This board is one of the Consumer Edition and AI > boards of the 96Boards family. > > This initial supports contains following peripherals which are tested > and known to work: >

Re: [U-Boot] [PATCH 5/6] arm: socfpga: gen5: add readonly clk driver

2019-07-24 Thread Marek Vasut
On 7/24/19 9:45 AM, Simon Goldschmidt wrote: > On Wed, Jul 24, 2019 at 9:31 AM Marek Vasut wrote: >> >> On 7/23/19 10:27 PM, Simon Goldschmidt wrote: >>> This adds clk-gen5 as a readonly DM_CLK driver that can return clocks for >>> the peripherals. >>> >>> Further changes are: >>> - select DM_CLK

Re: [U-Boot] [PATCH 2/2] arm: dts: ficus: Enable booting from eMMC when using SPL

2019-07-24 Thread Peter Robinson
On Mon, May 20, 2019 at 4:47 PM Manivannan Sadhasivam wrote: > > This commits enables booting from eMMC when using SPL on 96Boards > Ficus board by adding SDHCI to boot order. Since the SDHCI driver > already has the reloc flag, this works straightaway. > > Signed-off-by: Manivannan Sadhasivam >

[U-Boot] [PATCH] i2c: imx_lpi2c: add ipg clk

2019-07-24 Thread Peng Fan
The controller needs two clk, per clk and ipg clk, so let's add ipg clk. Signed-off-by: Peng Fan --- drivers/i2c/imx_lpi2c.c | 11 +++ include/imx_lpi2c.h | 1 + 2 files changed, 12 insertions(+) diff --git a/drivers/i2c/imx_lpi2c.c b/drivers/i2c/imx_lpi2c.c index

Re: [U-Boot] [PATCH 1/2] arm: dts: rock960: Enable booting from eMMC when using SPL

2019-07-24 Thread Manivannan Sadhasivam
Hi Peter, On 24 July 2019 1:29:27 PM IST, Peter Robinson wrote: >On Mon, May 20, 2019 at 4:47 PM Manivannan Sadhasivam > wrote: >> >> This commits enables booting from eMMC when using SPL on 96Boards >> Rock960 board by adding SDHCI to boot order. Since the SDHCI driver >> already has the reloc

Re: [U-Boot] [PATCH 1/4] imx: add module fuse support

2019-07-24 Thread Lukasz Majewski
Hi Peng, > Hi Lukasz, > > > Subject: Re: [U-Boot] [PATCH 1/4] imx: add module fuse support > > > > Hi Peng, > > > > > There are different parts from one SoC. Take i.MX6ULL for example, > > > some part might not have ENET, some might have; some might not > > > have USB, some might have. The

Re: [U-Boot] [EXT] Re: Upstreaming usb host drivers for iMX8/iMX8M

2019-07-24 Thread Igor Opaniuk
Hi Sherry, On Wed, Jul 24, 2019 at 9:19 AM Sherry Sun wrote: > > Hi,Igor > > > -邮件原件- > > 发件人: Igor Opaniuk > > 发送时间: 2019年7月23日 20:43 > > 收件人: Sherry Sun > > 抄送: Ying Liu ; Peng Fan ; Jun Li > > ; Ye Li ; U-Boot Mailing List > > ; Peter Chen ; dl-uboot-imx > > ; Marcel Ziswiler ; Max

Re: [U-Boot] [RFC PATCH 00/11] SPL support for RISC-V

2019-07-24 Thread Bin Meng
Hi Lukas, On Wed, Jul 24, 2019 at 5:23 PM Auer, Lukas wrote: > > Hi Bin, > > On Wed, 2019-07-24 at 10:55 +0800, Bin Meng wrote: > > Hi Lukas, > > > > On Wed, Jul 24, 2019 at 5:34 AM Auer, Lukas > > wrote: > > > Hi Bin, > > > > > > On Tue, 2019-07-23 at 16:32 +0800, Bin Meng wrote: > > > > Hi

Re: [U-Boot] [PATCH v1 1/2] pinctrl: nxp: mx6: DM_FLAG_PRE_RELOC by default

2019-07-24 Thread Igor Opaniuk
Hi Fabio, On Tue, Jul 16, 2019 at 3:44 PM Igor Opaniuk wrote: > > Hi Fabio, > > On Mon, Jul 15, 2019 at 10:10 PM Fabio Estevam wrote: > > > > Hi Igor, > > > > On Mon, Jul 15, 2019 at 11:20 AM Igor Opaniuk > > wrote: > > > > > > From: Igor Opaniuk > > > > > > For Colibri iMX6ULL we have to

Re: [U-Boot] [PATCH 00/50] doc: Shape into useful HTML docs

2019-07-24 Thread Tom Rini
On Thu, Jul 18, 2019 at 12:33:45AM -0700, Bin Meng wrote: > At present there is Sphinx doc build system in U-Boot, however the > contents are very limited, e.g.: only a few API descriptions like > EFI, are included. > > This series proposes an initial Sphinx doc layout for future extension, > by

[U-Boot] [PATCH v3] imx: add u-boot-nand.imx target

2019-07-24 Thread Igor Opaniuk
From: Igor Opaniuk Add an additional target which prepends the u-boot.imx image with 0x400 padding bytes. On Vybrid and i.MX 7, i.MX6ULL this is required for NAND boot devices. The configuration CONFIG_IMX_NAND enables this image for a board. Signed-off-by: Stefan Agner Signed-off-by: Igor

Re: [U-Boot] [PATCH 00/50] doc: Shape into useful HTML docs

2019-07-24 Thread Bin Meng
Hi Tom, On Wed, Jul 24, 2019 at 10:14 PM Tom Rini wrote: > > On Thu, Jul 18, 2019 at 12:33:45AM -0700, Bin Meng wrote: > > > At present there is Sphinx doc build system in U-Boot, however the > > contents are very limited, e.g.: only a few API descriptions like > > EFI, are included. > > > >

[U-Boot] [PATCH v2 0/8] Raspberry Pi 32/64 support

2019-07-24 Thread Andrei Gherzan
Changes for v2: - Removed patches that are not needed anymore due to firmware update - Removed usage of embedded dtb as opposed to reusing the loaded dtb by the firmware - Removed known unsupported/not applicable peripherals (i.e USB) from defconfigs - Make sure the

[U-Boot] [PATCH v2 4/8] RPI: Add entry for Raspberry Pi 4 model B

2019-07-24 Thread Andrei Gherzan
The Raspebrry Pi 4 uses the new revision code scheme as documented by the foundation. This change adds an entry for this board as well. Signed-off-by: Andrei Gherzan --- board/raspberrypi/rpi/rpi.c | 5 + 1 file changed, 5 insertions(+) diff --git a/board/raspberrypi/rpi/rpi.c

[U-Boot] [PATCH v2 3/8] ARM: bcm283x: Define configs for RaspberryPi 4

2019-07-24 Thread Andrei Gherzan
Define two target configs for Raspberry Pi 4 (32 and 64bit) and the corresponding BCM2838* configs. Be aware of the current limitation in firmware which requires an explicit configuration to force the arm in 64bit mode when the respective target is used. Signed-off-by: Andrei Gherzan

[U-Boot] [PATCH v2 5/8] ARM: bcm283x: Include definition for additional emmc clock

2019-07-24 Thread Andrei Gherzan
This clock has a different mbox ID so have this included in the relevant header file. Signed-off-by: Andrei Gherzan --- arch/arm/mach-bcm283x/include/mach/mbox.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-bcm283x/include/mach/mbox.h

[U-Boot] [PATCH v2 1/8] RPI: Add defconfigs for rpi4 (32/64)

2019-07-24 Thread Andrei Gherzan
This defines a minimum defconfig for each of the two Raspberry Pi 4 variants. One notable difference is that we don't have a embedded dt for this board given that the fw supplies us with one which we can reuse. Furthermore, the ram size is not queryable through mbox interface as the maximum

[U-Boot] [PATCH v2 6/8] mmc: bcm283x: Add support for bcm2711 device in bcm2835_sdhci

2019-07-24 Thread Andrei Gherzan
From: Matthias Brugger The bcm2711 has two emmc controllers. The difference is the clocks they use. Add support for the second emmc controller. Signed-off-by: Matthias Brugger Signed-off-by: Andrei Gherzan --- drivers/mmc/bcm2835_sdhci.c | 12 ++-- 1 file changed, 10 insertions(+), 2

[U-Boot] (Offlist) Re: U-Boot/EBBR plugfest at ELC-EU?

2019-07-24 Thread Daniel Kiper
On Mon, Jul 08, 2019 at 01:27:11PM +, Steve McIntyre wrote: > On Mon, Jul 08, 2019 at 11:18:56AM +0100, Leif Lindholm wrote: > >On Mon, Jul 08, 2019 at 12:13:07PM +0200, Daniel Kiper wrote: > >> > I don't know yet - UEFI Asia plugfest date hasn't been decided yet, > >> > and is likely to end

Re: [U-Boot] [PATCH v1 1/2] pinctrl: nxp: mx6: DM_FLAG_PRE_RELOC by default

2019-07-24 Thread Fabio Estevam
Hi Igor, On Wed, Jul 24, 2019 at 10:58 AM Igor Opaniuk wrote: > I'm currently in the middle of preparing v2, just wanted to know if you do > agree > with this point and in general have any additional suggestions regarding this? My only suggestion is to do a single patch that touches all the

Re: [U-Boot] [PATCH 00/50] doc: Shape into useful HTML docs

2019-07-24 Thread Tom Rini
On Wed, Jul 24, 2019 at 10:16:31PM +0800, Bin Meng wrote: > Hi Tom, > > On Wed, Jul 24, 2019 at 10:14 PM Tom Rini wrote: > > > > On Thu, Jul 18, 2019 at 12:33:45AM -0700, Bin Meng wrote: > > > > > At present there is Sphinx doc build system in U-Boot, however the > > > contents are very limited,

[U-Boot] [PATCH v2 8/8] git-mailrc: Add rpi and bcm283x maintainer

2019-07-24 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan --- doc/git-mailrc | 4 1 file changed, 4 insertions(+) diff --git a/doc/git-mailrc b/doc/git-mailrc index a63b76befc..68110e1963 100644 --- a/doc/git-mailrc +++ b/doc/git-mailrc @@ -35,6 +35,7 @@ alias mariosix Mario Six alias masahiro Masahiro

[U-Boot] [PATCH v2 2/8] ARM: bcm283x: Add BCM283x_BASE define

2019-07-24 Thread Andrei Gherzan
From: Matthias Brugger Devices of bcm283x have different base address, depending if they are on bcm2835 or bcm2836/7. Use BCM283x_BASE depending on the SoC you want to build and only add the offset in the header files. Signed-off-by: Matthias Brugger Signed-off-by: Andrei Gherzan ---

[U-Boot] [PATCH v3 3/3] board: puma: Use rockchip_* helpers to setup cpuid and macaddr

2019-07-24 Thread Rohan Garg
We should use the shared helpers to setup the necessary parts Signed-off-by: Rohan Garg --- .../puma_rk3399/puma-rk3399.c | 108 +++--- 1 file changed, 18 insertions(+), 90 deletions(-) diff --git a/board/theobroma-systems/puma_rk3399/puma-rk3399.c

Re: [U-Boot] [EXT] Re: [PATCH 2/4] armv8: ls2088aqds: The ls2088aqds board supports the I2C driver model.

2019-07-24 Thread Chuanhua Han
> -Original Message- > From: Wolfgang Denk > Sent: 2019年7月24日 14:55 > To: Chuanhua Han > Cc: albert.u.b...@aribaud.net; Prabhakar Kushwaha > ; Priyanka Jain ; > Rajesh Bhagat ; u-boot@lists.denx.de; > lu...@denx.de; tr...@konsulko.com > Subject: [EXT] Re: [PATCH 2/4] armv8: ls2088aqds:

Re: [U-Boot] [PATCH 1/4] imx: add module fuse support

2019-07-24 Thread Peng Fan
Hi Lukasz, > Subject: Re: [U-Boot] [PATCH 1/4] imx: add module fuse support > > Hi Peng, > > > Hi Lukasz, > > > > > Subject: Re: [U-Boot] [PATCH 1/4] imx: add module fuse support > > > > > > Hi Peng, > > > > > > > There are different parts from one SoC. Take i.MX6ULL for example, > > > > some

Re: [U-Boot] [PATCH v1] colibri_imx7: boot kernel in secure mode

2019-07-24 Thread Igor Opaniuk
Hi Stefan On Wed, Jul 24, 2019 at 2:32 PM Stefan Agner wrote: > > On 2019-07-03 15:50, Igor Opaniuk wrote: > > From: Igor Opaniuk > > > > NXP downstream kernel uses legacy method to enable other cores, > > which requires kernel to run in a security mode (althought upstream kernel > > uses PSCI

Re: [U-Boot] [PATCH v3 3/3] board: puma: Use rockchip_* helpers to setup cpuid and macaddr【请注意,邮件由u-boot-boun...@lists.denx.de代发】 setup cpuid and macaddr

2019-07-24 Thread Kever Yang
Hi Rohan, On 2019/7/24 下午7:09, Rohan Garg wrote: We should use the shared helpers to setup the necessary parts Signed-off-by: Rohan Garg --- .../puma_rk3399/puma-rk3399.c | 108 +++--- 1 file changed, 18 insertions(+), 90 deletions(-) diff --git

Re: [U-Boot] [PATCH] drivers: net: fsl_enetc: add support for SGMII 2500

2019-07-24 Thread Alex Marginean
On 7/23/2019 2:34 AM, Joe Hershberger wrote: On Mon, Jul 15, 2019 at 3:49 AM Alex Marginean wrote: SGMII 2500 as supported on NXP SoCs requires AN to be disabled, handle this case in the enetc sgmii init code. Signed-off-by: Alex Marginean In the future, please make sure to mention any

[U-Boot] [PATCH v2 7/8] RPI: Add memory map for bcm2838

2019-07-24 Thread Andrei Gherzan
Define the memory map for the BCM2838 based on the dt configuration available in the Raspberry Pi kernel fork. Signed-off-by: Andrei Gherzan --- board/raspberrypi/rpi/rpi.c | 27 --- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH] ARM: exynos5: Try to boot on mmc2 before mmc0/1

2019-07-24 Thread Guillaume GARDET
As stated in commit a61a4a1db009e3e600258551a01b54c4f50ec103 with DM_MMC, exynos boards now enumarates external SD/MMC slot as mmc2, instead of mmc1 with legacy mode. Moving mmc2 before mmc1/0 restore the previous behavior of trying external SD/MMC before internal slot. Signed-off-by: Guillaume

[U-Boot] [PATCH v3 2/3] rockchip: rk3399: Enable CONFIG_MISC_INIT_R for the Rock PI 4

2019-07-24 Thread Rohan Garg
This enables us to set a static MAC address Signed-off-by: Rohan Garg --- configs/rock-pi-4-rk3399_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/rock-pi-4-rk3399_defconfig b/configs/rock-pi-4-rk3399_defconfig index 14ae39a561..602be5a928 100644 ---

[U-Boot] [PATCH v3 1/3] rockchip: rk3399: derive ethaddr from cpuid

2019-07-24 Thread Rohan Garg
Generate a MAC address based on the cpuid available in the efuse block: Use the first 6 byte of the cpuid's SHA256 hash and set the locally administered bits. Also ensure that the multicast bit is cleared. The MAC address is only generated and set if there is no ethaddr present in the saved

Re: [U-Boot] Pull request for UEFI sub-system for v2019.10-rc1 (2)

2019-07-24 Thread Tom Rini
On Wed, Jul 17, 2019 at 06:20:09PM +0200, Heinrich Schuchardt wrote: > The following changes since commit 9c94e0a64490b90d48995a8230499167c0bdca68: > > Merge branch 'master' of git://git.denx.de/u-boot-net (2019-07-15 > 18:56:24 -0400) > > are available in the Git repository at: > >

Re: [U-Boot] Remote code execution vulnerabilities in U-Boot's NFS and other IP parsing code

2019-07-24 Thread Simon Goldschmidt
On Tue, Jul 23, 2019 at 4:02 PM Fermín Serna wrote: > > Of course, sorry about that. > Please note this was a quick untested patch used for highlighting the > vulnerabilities. I would start with it but most likely needs some > extra work. At this time, I would appreciate someone else to take it >

Re: [U-Boot] [PATCH v1] colibri_imx7: boot kernel in secure mode

2019-07-24 Thread Stefan Agner
On 2019-07-23 15:29, Tobias Junghans wrote: > Hi Igor, > > thanks for your comments! Is there any solution, patch or workaround I can > try > to power on the 2nd CPU core in secure mode with mainline kernel? I am afraid that is not possible since without PSCI mainline simply lacks the code how

Re: [U-Boot] [PATCH 4/4] arm: dts: Set custom names for cp110 master/slave MDIO buses

2019-07-24 Thread Alex Marginean
On 7/23/2019 8:22 PM, Nevo Hed wrote: For context from upstream linux, https://github.com/torvalds/linux/commit/f66b2aff46eaf0825dbe1560e28fcb845dd2a215 I was intending to submit the parallel change here once fully tested end-end on our hardware, but if not too late my proposal is to name the

[U-Boot] [PATCH v2] imx: add u-boot-nand.imx target

2019-07-24 Thread Igor Opaniuk
From: Igor Opaniuk Add an additional target which prepends the u-boot.imx image with 0x400 padding bytes. On Vybrid and i.MX 7, i.MX6ULL this is required for NAND boot devices. The configuration CONFIG_IMX_NAND enables this image for a board. Signed-off-by: Stefan Agner Signed-off-by: Igor

Re: [U-Boot] [PATCH v1] colibri_imx7: boot kernel in secure mode

2019-07-24 Thread Stefan Agner
On 2019-07-03 15:50, Igor Opaniuk wrote: > From: Igor Opaniuk > > NXP downstream kernel uses legacy method to enable other cores, > which requires kernel to run in a security mode (althought upstream kernel > uses PSCI for this). > > As we're using NXP kernel in our BSPs, lets enable this by

Re: [U-Boot] [PATCH] board_r: re-order the board_early_init_r()

2019-07-24 Thread Kever Yang
On 2019/7/24 下午6:22, Simon Goldschmidt wrote: On Wed, Jul 24, 2019 at 12:01 PM Kever Yang wrote: The board_early_init_r() suppose to be called before board_init(), then the board callback functions in board_r will be: - board_early_init_r() - board_init() - board_late_init() Searching

[U-Boot] [PATCH v2 2/3] ARM: dts: imx6ull-colibri: change hierarchy of DTS files

2019-07-24 Thread Igor Opaniuk
From: Igor Opaniuk Introduce imx6ull-colibri-u-boot.dtsi for u-boot specific properties to keep original imx6ull-colibri.dts in sync with Linux. Move all contents of imx6ull-colibri.dts to imx6ull-colibri.dtsi + additionally fix checkpatch warnings. Signed-off-by: Igor Opaniuk ---

[U-Boot] [PATCH v2 3/3] ARM: dts: imx6ull-colibri: pre-reloc for uart pinmux modes

2019-07-24 Thread Igor Opaniuk
From: Igor Opaniuk Add u-boot,dm-pre-reloc properties for uart pinmux configuration nodes, which enables UART as early as possible (before relocation). Without this we miss almost the half of output (U-boot version, CPU defails, Reset cause, DRAM details etc.). Fixes: cd69e8ef9b

Re: [U-Boot] [PATCH v2 3/3] ARM: dts: imx6ull-colibri: pre-reloc for uart pinmux modes

2019-07-24 Thread Fabio Estevam
On Wed, Jul 24, 2019 at 12:10 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Add u-boot,dm-pre-reloc properties for uart pinmux configuration > nodes, which enables UART as early as possible (before relocation). > > Without this we miss almost the half of output (U-boot version, > CPU

Re: [U-Boot] python3 support for pylibfdt

2019-07-24 Thread Simon Glass
Hi Peter, On Wed, 24 Jul 2019 at 02:23, Peter Robinson wrote: > > > > > 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

Re: [U-Boot] [RFC PATCH 00/11] SPL support for RISC-V

2019-07-24 Thread Auer, Lukas
Hi Bin, On Wed, 2019-07-24 at 21:49 +0800, Bin Meng wrote: > Hi Lukas, > > On Wed, Jul 24, 2019 at 5:23 PM Auer, Lukas > wrote: > > Hi Bin, > > > > On Wed, 2019-07-24 at 10:55 +0800, Bin Meng wrote: > > > Hi Lukas, > > > > > > On Wed, Jul 24, 2019 at 5:34 AM Auer, Lukas > > > wrote: > > > >

[U-Boot] [PATCH v2 1/3] pinctrl: nxp: DM_FLAG_PRE_RELOC by default

2019-07-24 Thread Igor Opaniuk
From: Igor Opaniuk For NXP SoCs we have to set pinmux configuration ASAP (ideally before relocation) to get serial console working. Without this we miss almost the half of output (U-boot version, CPU defails, Reset cause, DRAM details etc.). To achieve this we need to force appropriate pinctrl

[U-Boot] [PATCH v2 0/3] imx6ull: Fix missing initial output from UART

2019-07-24 Thread Igor Opaniuk
For Colibri iMX6ULL we have to set pinmux for uart configuration ASAP (ideally before relocation) to get serial console working. Without this we miss almost the half of output (U-boot version, CPU defails, Reset cause, DRAM details etc.). To achieve this we need to force pinctrl-mx6 to get probed

[U-Boot] [PATCH] gitlab-ci: Update Docker image to xenial-20190720-24Jul2019 tag

2019-07-24 Thread Tom Rini
- Add in lzma-alone for current binman tests - Update to Ubuntu's xenial-20190720 tag (latest). Signed-off-by: Tom Rini --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4cd657307be3..e166d8f74a68 100644 ---

Re: [U-Boot] [PATCH v2 1/3] pinctrl: nxp: DM_FLAG_PRE_RELOC by default

2019-07-24 Thread Fabio Estevam
On Wed, Jul 24, 2019 at 12:10 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > For NXP SoCs we have to set pinmux configuration ASAP (ideally > before relocation) to get serial console working. Without this we miss > almost the half of output (U-boot version, CPU defails, Reset cause, > DRAM

Re: [U-Boot] [PATCH v2 2/3] ARM: dts: imx6ull-colibri: change hierarchy of DTS files

2019-07-24 Thread Fabio Estevam
On Wed, Jul 24, 2019 at 12:10 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Introduce imx6ull-colibri-u-boot.dtsi for u-boot specific properties to > keep original imx6ull-colibri.dts in sync with Linux. > > Move all contents of imx6ull-colibri.dts to imx6ull-colibri.dtsi + > additionally

Re: [U-Boot] [PATCH v3 0/9] NXP LS1021A-TSN Board

2019-07-24 Thread Vladimir Oltean
On Tue, 23 Jul 2019 at 10:38, Joe Hershberger wrote: > > On Tue, Jul 23, 2019 at 1:08 AM Vladimir Oltean wrote: > > > > Hi Joe, > > > > On Tue, 23 Jul 2019 at 03:15, Joe Hershberger > > wrote: > > > > > > On Thu, Jul 18, 2019 at 4:33 PM Vladimir Oltean wrote: > > > > > > > > This patchset

[U-Boot] [PATCH] Drop linker-generated array creation when CONFIG_CMDLINE is disabled

2019-07-24 Thread andrej.rosano
From: Andrej Rosano Linker generated array entry is not needed when the command line is disabled. Remove this code in that case. This is required as the commit 80a48dd47e3bf3ede676fae5a630cb6c80de3e69 breaks the linking stage when CONFIG_CMDLINE=n: .. LDS u-boot.lds LD u-boot

Re: [U-Boot] [PATCH 1/4] imx: add module fuse support

2019-07-24 Thread Schrempf Frieder
Hi Lukasz, On 24.07.19 14:12, Peng Fan wrote: > Hi Lukasz, > >> Subject: Re: [U-Boot] [PATCH 1/4] imx: add module fuse support >> >> Hi Peng, >> >>> Hi Lukasz, >>> Subject: Re: [U-Boot] [PATCH 1/4] imx: add module fuse support Hi Peng, > There are different parts from one

Re: [U-Boot] [PATCH v2 00/14] ARM: davinci: driver-model improvements

2019-07-24 Thread Joe Hershberger
On Wed, Jul 24, 2019 at 3:12 AM Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > The following series contains all the patches for davinci that have > been sent to the mailing list recently rebased on top of v2019.07 and > retested on da850-lcdk and da850-evm. I collected all the

[U-Boot] [PATCH] gitlab-ci: Switch to a Docker image that contains a QEMU we build

2019-07-24 Thread Tom Rini
Rather than buiding QEMU for each test.py build it once in our Dockerfile and re-use it as needed. Signed-off-by: Tom Rini --- .gitlab-ci.yml | 36 +--- 1 file changed, 5 insertions(+), 31 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index

  1   2   >