Re: [U-Boot] [PATCH 4/6] spl: mmc: support loading i.MX container format file

2019-05-22 Thread Lukasz Majewski
Hi Peng, > Hi Lukasz, > > > -Original Message- > > From: Lukasz Majewski [mailto:lu...@denx.de] > > Sent: 2019年5月21日 16:33 > > To: Peng Fan > > Cc: Marek Vasut ; Marek Vasut > > ; Simon Glass ; > > u-boot@lists.denx.de; Tien Fong Chee ; > > York Sun ; dl-uboot-imx > > Subject: Re:

Re: [U-Boot] [PATCH v2 00/18] Improvement for the DWC3 USB generic driver and fixes for the K2 platforms

2019-05-22 Thread Siva Durga Prasad Paladugu
Hi Lukasz, > -Original Message- > From: Lukasz Majewski [mailto:lu...@denx.de] > Sent: Tuesday, May 21, 2019 5:52 PM > To: Siva Durga Prasad Paladugu > Cc: Jean-Jacques Hiblot ; ma...@denx.de; Marcel Ziswiler > ; u-boot@lists.denx.de; Miquel Raynal > ; Stefan Roese ; Tom Rini > ; Ryder

[U-Boot] [PATCH V2 3/3] drivers: core: use strcmp when find device by name

2019-05-22 Thread Peng Fan
`if (!strncmp(dev->name, name, strlen(name)))` might find out the wrong device, it might find out `dram_pll_ref_sel`, when name is `dram_pll`. So use strcmp to avoid such issue. Signed-off-by: Peng Fan Reviewed-by: Simon Glass --- V2: None drivers/core/uclass.c | 2 +- 1 file changed, 1

[U-Boot] [PATCH V2 1/3] test: dm: adc: use the real device name

2019-05-22 Thread Peng Fan
"adc" is not the real device name, "adc@0" is. Signed-off-by: Peng Fan --- V2: new test/dm/adc.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test/dm/adc.c b/test/dm/adc.c index 1f82304f41..da7bd4bf1f 100644 --- a/test/dm/adc.c +++ b/test/dm/adc.c @@

[U-Boot] [PATCH V2 2/3] test: dm: usb: use the real device name

2019-05-22 Thread Peng Fan
"keyb" is not the real device name, "keyb@3" is. Signed-off-by: Peng Fan --- V2: New test/dm/usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/dm/usb.c b/test/dm/usb.c index 3493617544..ef454b0ae5 100644 --- a/test/dm/usb.c +++ b/test/dm/usb.c @@ -125,7 +125,7 @@

[U-Boot] [PATCH] ata: ahci: enable bus mastering

2019-05-22 Thread Christian Gmeiner
When using the coreboot target CONFIG_DM_SCSI gets set to y. This has the effect that the current 'enable bus mastering' logic gets not compiled in. This change fixes ahci problems I am seeing on an Intel Apollolake device. Signed-off-by: Christian Gmeiner --- drivers/ata/ahci.c | 6 ++ 1

Re: [U-Boot] [EXT] Re: [PATCH] i2c: pcf2127: fix bug that read wrong time

2019-05-22 Thread Lukasz Majewski
Hi Chuanhua, > > -Original Message- > > From: Lukasz Majewski > > Sent: 2019年5月22日 15:16 > > To: Chuanhua Han > > Cc: h...@denx.de; u-boot@lists.denx.de; Biwen Li ; > > s...@chromium.org > > Subject: [EXT] Re: [PATCH] i2c: pcf2127: fix bug that read wrong > > time > > > > Hi Chuanhua,

Re: [U-Boot] [PATCH 4/6] spl: mmc: support loading i.MX container format file

2019-05-22 Thread Peng Fan
> > > > > Subject: Re: [U-Boot] [PATCH 4/6] spl: mmc: support loading i.MX > > > > > container format file > > > > > > > > > > On 5/21/19 4:55 AM, Peng Fan wrote: > > > > > [...] > > > > > > > > > > > I do not know how other SoC vendor did FIT hardware secure > > > > > > boot, please share

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-22 Thread Eugeniu Rosca
Hi Simon, Thanks for the review. Would you please reply to my questions below? On Tue, May 21, 2019 at 06:53:29PM -0600, Simon Glass wrote: > Hi Eugeniu, > > On Fri, 17 May 2019 at 08:46, Eugeniu Rosca wrote: > > > > > > [1] https://android.googlesource.com/platform/bootable/recovery > > [2]

[U-Boot] [PATCH v2 2/4] dm: net: macb: Update macb_linkspd_cb() signature

2019-05-22 Thread Bin Meng
This updates DM version macb_linkspd_cb() signature for future expansion, eg: adding an implementation for link speed changes. Signed-off-by: Bin Meng Reviewed-by: Lukas Auer --- Changes in v2: None drivers/net/macb.c | 22 +- 1 file changed, 21 insertions(+), 1

Re: [U-Boot] [PATCH 4/6] spl: mmc: support loading i.MX container format file

2019-05-22 Thread Lukasz Majewski
Hi Peng, > > > > > > > > > > Subject: Re: [U-Boot] [PATCH 4/6] spl: mmc: support > > > > > > > > loading i.MX container format file > > > > > > > > > > > > > > > > On 5/21/19 4:55 AM, Peng Fan wrote: > > > > > > > > [...] > > > > > > > > > > > > > > > > > I do not know how other SoC

Re: [U-Boot] [PATCH 4/6] spl: mmc: support loading i.MX container format file

2019-05-22 Thread Lukasz Majewski
Hi Peng, > > > > > > Subject: Re: [U-Boot] [PATCH 4/6] spl: mmc: support loading > > > > > > i.MX container format file > > > > > > > > > > > > On 5/21/19 4:55 AM, Peng Fan wrote: > > > > > > [...] > > > > > > > > > > > > > I do not know how other SoC vendor did FIT hardware > > > > > >

Re: [U-Boot] [PATCH V2 3/3] drivers: core: use strcmp when find device by name

2019-05-22 Thread Bin Meng
On Wed, May 22, 2019 at 3:08 PM Peng Fan wrote: > > `if (!strncmp(dev->name, name, strlen(name)))` might find out > the wrong device, it might find out `dram_pll_ref_sel`, when name is > `dram_pll`. So use strcmp to avoid such issue. > > Signed-off-by: Peng Fan > Reviewed-by: Simon Glass > ---

Re: [U-Boot] [PATCH V2 1/3] test: dm: adc: use the real device name

2019-05-22 Thread Bin Meng
On Wed, May 22, 2019 at 3:08 PM Peng Fan wrote: > > "adc" is not the real device name, "adc@0" is. > > Signed-off-by: Peng Fan > --- > > V2: > new > > test/dm/adc.c | 16 > 1 file changed, 8 insertions(+), 8 deletions(-) > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH V2 2/3] test: dm: usb: use the real device name

2019-05-22 Thread Bin Meng
On Wed, May 22, 2019 at 3:09 PM Peng Fan wrote: > > "keyb" is not the real device name, "keyb@3" is. > > Signed-off-by: Peng Fan > --- > > V2: > New > > test/dm/usb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH 1/4] clk: sifive: Add clock driver for GEMGXL MGMT

2019-05-22 Thread Bin Meng
Hi Lukas, On Mon, May 20, 2019 at 7:26 PM Auer, Lukas wrote: > > Hi Bin, > > On Thu, 2019-05-16 at 02:12 -0700, Bin Meng wrote: > > This adds a clock driver to support the GEMGXL management IP block > > found in FU540 SoCs to control GEM TX clock operation mode for > > 10/100/1000 Mbps. > > > >

Re: [U-Boot] [PATCH] i2c: pcf2127: fix bug that read wrong time

2019-05-22 Thread Lukasz Majewski
Hi Chuanhua, > Because i2c driver does not generate a stop bit when reading registers > of pcf2127 The change (in the common i2c code) is rather large when considering the description above. Could you write a more detailed patch description? Is this only the problem with i2c in DM? Is the same

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-05-22 Thread Simon Goldschmidt
On Wed, May 22, 2019 at 2:53 AM Simon Glass wrote: > > Hi Andreas, > > On Tue, 21 May 2019 at 15:01, Andreas Dannenberg wrote: > > > > Hi Simon (Glass), > > > > On Sat, May 18, 2019 at 10:08:19AM -0600, Simon Glass wrote: > > > Hi Andreas, > > > > > > On Mon, 6 May 2019 at 22:49, Andreas

Re: [U-Boot] [PATCH] riscv: add Kconfig entries for the F and D ISA extensions support

2019-05-22 Thread tesheng
Hi Bin, > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Tuesday, May 21, 2019 3:56 PM > To: Eric Te-Sheng Lin(林德晟) > Cc: U-Boot Mailing List; Lukas Auer; Anup Patel; Rick Jian-Zhi Chen(陳建志); > Greentime Ying-Han Hu(胡英漢); dslin1...@gmail.com > Subject: Re: [PATCH]

Re: [U-Boot] [PATCH 3/4] dm: net: macb: Implement link speed change callback

2019-05-22 Thread Bin Meng
Hi Lukas, On Mon, May 20, 2019 at 7:29 PM Auer, Lukas wrote: > > Hi Bin, > > On Thu, 2019-05-16 at 02:12 -0700, Bin Meng wrote: > > At present the link speed change callback is a nop. According to > > macb device tree bindings, an optional "tx_clk" is used to clock > > the ethernet controller's

Re: [U-Boot] [PATCH 4/6] spl: mmc: support loading i.MX container format file

2019-05-22 Thread Peng Fan
> > > > > > > > Subject: Re: [U-Boot] [PATCH 4/6] spl: mmc: support loading > > > > > > > i.MX container format file > > > > > > > > > > > > > > On 5/21/19 4:55 AM, Peng Fan wrote: > > > > > > > [...] > > > > > > > > > > > > > > > I do not know how other SoC vendor did FIT hardware > > > > >

Re: [U-Boot] [PATCH] gpio: dwapb_gpio: fix broken dev->node

2019-05-22 Thread Simon Goldschmidt
On Tue, May 21, 2019 at 10:22 PM Marek Vasut wrote: > > On 5/21/19 10:03 PM, Simon Goldschmidt wrote: > > commit 1b898ffc040b ("gpio: dwapb_gpio: convert to livetree") introduced > > a bug in that dev->node of the gpio chip was accidentally set to the > > of_node of its bank subnode. > > > > What

Re: [U-Boot] [PATCH] riscv: add Kconfig entries for the F and D ISA extensions support

2019-05-22 Thread Bin Meng
Hi Eric, On Wed, May 22, 2019 at 4:23 PM wrote: > > Hi Bin, > > > -Original Message- > > From: Bin Meng [mailto:bmeng...@gmail.com] > > Sent: Tuesday, May 21, 2019 3:56 PM > > To: Eric Te-Sheng Lin(林德晟) > > Cc: U-Boot Mailing List; Lukas Auer; Anup Patel; Rick Jian-Zhi Chen(陳建志); > >

Re: [U-Boot] [PATCH] gpio: dwapb_gpio: fix broken dev->node

2019-05-22 Thread Marek Vasut
On 5/22/19 10:46 AM, Simon Goldschmidt wrote: > On Tue, May 21, 2019 at 10:22 PM Marek Vasut wrote: >> >> On 5/21/19 10:03 PM, Simon Goldschmidt wrote: >>> commit 1b898ffc040b ("gpio: dwapb_gpio: convert to livetree") introduced >>> a bug in that dev->node of the gpio chip was accidentally set to

[U-Boot] Please pull u-boot-fsl-qoriq master

2019-05-22 Thread Prabhakar Kushwaha
Hi Tom, The following changes since commit e1a2ed7180adeefb6164239a18249dca5701319d: Merge git://git.denx.de/u-boot-mpc83xx (2019-05-21 07:13:35 -0400) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git HEAD for you to fetch changes up to

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-22 Thread Eugeniu Rosca
Hi Sam, On Tue, May 21, 2019 at 07:46:22PM +0300, Sam Protsenko wrote: > On Tue, May 21, 2019 at 2:20 PM Eugeniu Rosca wrote: [..] > > Agreed. In my queue. > > Just to be clear: can we expect it to be sent in v3, or it will be > separate patch-set? We'll have a v3 for fixing Simon's review

Re: [U-Boot] [EXT] Re: [PATCH] i2c: pcf2127: fix bug that read wrong time

2019-05-22 Thread Chuanhua Han
> -Original Message- > From: Lukasz Majewski > Sent: 2019年5月22日 15:16 > To: Chuanhua Han > Cc: h...@denx.de; u-boot@lists.denx.de; Biwen Li ; > s...@chromium.org > Subject: [EXT] Re: [PATCH] i2c: pcf2127: fix bug that read wrong time > > Hi Chuanhua, > > > Because i2c driver does not

[U-Boot] [PATCH 6/7] MAINTAINERS: Add stm32 remoteproc driver

2019-05-22 Thread Fabien Dessenne
Signed-off-by: Fabien Dessenne --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 33fd465..5c505d9 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -309,6 +309,7 @@ F: drivers/power/pmic/stpmic1.c F: drivers/power/regulator/stm32-vrefbuf.c F:

[U-Boot] [PATCH 5/7] remoteproc: Introduce STM32 Cortex-M4 remoteproc driver

2019-05-22 Thread Fabien Dessenne
This patch introduces support of Cortex-M4 remote processor for STM32 MCU and MPU families. Signed-off-by: Loic Pallardy Signed-off-by: Fabien Dessenne --- drivers/remoteproc/Kconfig | 10 ++ drivers/remoteproc/Makefile | 1 + drivers/remoteproc/stm32_copro.c | 257

[U-Boot] [PATCH 4/7] remoteproc: add elf file load support

2019-05-22 Thread Fabien Dessenne
The current implementation supports only binary file load. Add helpers to support ELF format (check validity, sanity check, and load). Note that since an ELF image is built for the remote processor, the load function uses the da_to_pa ops to translate the addresses. Signed-off-by: Loic Pallardy

Re: [U-Boot] [PATCH u-boot] pci: ensure enumeration of all devices in pci_init

2019-05-22 Thread Marek Behún
On Tue, 21 May 2019 13:43:54 +0200 Stefan Roese wrote: > (Added Simon & Bin to Cc) > > On 21.05.19 12:04, Marek Behún wrote: > > Use the uclass_first_device_check and uclass_next_device_check > > functions instead of uclass_first_device and uclass_next_device in > > pci_init. This ensures that

Re: [U-Boot] [PATCH 1/3] arm64: zynqmp: xil_io.h: declare functions as static

2019-05-22 Thread Michal Simek
On 10. 05. 19 10:15, Luca Ceresoli wrote: > Fixes chekcpatch warnings when building zynqmp defconfigs: it is not checkpatch who reports this. It is sparse. > ./board/xilinx/zynqmp/xil_io.h:12:6: warning: symbol 'Xil_Out32' was not > declared. Should it be static? >

[U-Boot] [PATCH] i2c: pcf2127: fix bug that read wrong time

2019-05-22 Thread Chuanhua Han
Because i2c driver does not generate a stop bit when reading registers of pcf2127 Signed-off-by: Biwen Li Signed-off-by: Chuanhua Han --- drivers/i2c/i2c-uclass.c | 2 ++ drivers/i2c/mxc_i2c.c| 70 +++- drivers/rtc/pcf2127.c| 18 ++-

[U-Boot] [PATCH 1/7] fdt: Introduce fdt_translate_dma_address()

2019-05-22 Thread Fabien Dessenne
Add the fdt_translate_dma_address() function to translate DMA address to CPU address. This function works the same way as fdt_translate_address(), with the difference that the translation relies on the "dma-ranges" property instead of the "ranges" property. Signed-off-by: Fabien Dessenne ---

[U-Boot] [PATCH 7/7] configs: stm32mp15: enable stm32 remoteproc

2019-05-22 Thread Fabien Dessenne
Activate the remote processor support for stm32mp15 configs. Signed-off-by: Fabien Dessenne --- configs/stm32mp15_basic_defconfig | 2 ++ configs/stm32mp15_trusted_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/stm32mp15_basic_defconfig

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

2019-05-22 Thread Fabien Dessenne
This patchset adds an STM32 remoteproc driver. The two first patches add the xxx_translate_dma_address() API which is the equivalent of the xxx_translate_address() relying on the "dma-ranges" property instead of the "ranges" property. The patches 3 & 4 add the support of the ELF image loading

[U-Boot] [PATCH 3/7] remoteproc: add da_to_pa ops

2019-05-22 Thread Fabien Dessenne
This patch introduces da_to_pa function to allow translation between device address (remote processor view) and physical address (main processor view). Signed-off-by: Loic Pallardy Signed-off-by: Fabien Dessenne --- include/remoteproc.h | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [U-Boot] [PATCH 2/3] arm64: zynqmp: add tool to minimize psu_init_gpl.c files

2019-05-22 Thread Michal Simek
On 10. 05. 19 10:15, Luca Ceresoli wrote: > This script transforms a pair of psu_init_gpl.c and .h files produced by > the Xilinx Vivado tool for ZynqMP into a smaller psu_init_gpl.c file that > is checkpatch compliant. > > Based on a script by Michal Simek. > > Signed-off-by: Luca Ceresoli >

[U-Boot] [PATCH] mtd: spi-nor-ids: Add SPI_NOR_4B_OPCODES to micron mt35xu512g flash ID

2019-05-22 Thread Kuldeep Singh
Signed-off-by: Kuldeep Singh --- drivers/mtd/spi/spi-nor-ids.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index af0b3a6488..a143fba265 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++

Re: [U-Boot] [PATCH v2 1/3] board_f: Add mach specific DMA address check function.

2019-05-22 Thread Heiko Stuebner
Hi Simon, Am Samstag, 18. Mai 2019, 18:08:58 CEST schrieb Simon Glass: > On Tue, 7 May 2019 at 09:59, Christoph Muellner > wrote: > > > > From: Christoph Müllner > > > > Some machines have limited DMA engines, which cannot deal > > with arbitrary addresses. This patch introduces a function > >

Re: [U-Boot] [PATCH v5 0/2] arm64: zynqmp: pass a PMUFW config object

2019-05-22 Thread Michal Simek
On 21. 05. 19 18:06, Luca Ceresoli wrote: > Hi, > > here's a minor improvement to 2/2 over v4. 1/1 is unchanged. > > This patchset aims at solving a long-standing issue in the ZynqMP users > community: loading a PMU firmware configuration object when U-Boot SPL is > used. > > The Platform

Re: [U-Boot] [EXT] Re: [PATCH] i2c: pcf2127: fix bug that read wrong time

2019-05-22 Thread Chuanhua Han
> -Original Message- > From: Lukasz Majewski > Sent: 2019年5月22日 16:41 > To: Chuanhua Han > Cc: h...@denx.de; u-boot@lists.denx.de; Biwen Li ; > s...@chromium.org; Stefano Babic > Subject: Re: [EXT] Re: [PATCH] i2c: pcf2127: fix bug that read wrong time > > Hi Chuanhua, > > > >

[U-Boot] [PATCH 2/7] dm: core: Introduce xxx_translate_dma_address()

2019-05-22 Thread Fabien Dessenne
Add the following functions to translate DMA address to CPU address: - dev_translate_dma_address() - ofnode_translate_dma_address() - of_translate_dma_address() These functions work the same way as xxx_translate_address(), with the difference that the translation relies on the "dma-ranges"

Re: [U-Boot] [PATCH] board/fsl/layerscape: Modify the aliases names

2019-05-22 Thread Cristi Sovaiala
ACK -Original Message- From: Pankaj Bansal Sent: Tuesday, May 21, 2019 2:16 PM To: Pankaj Bansal ; Prabhakar Kushwaha ; Cristi Sovaiala Cc: u-boot@lists.denx.de Subject: RE: [PATCH] board/fsl/layerscape: Modify the aliases names + Cristi, Hi Cristi, Can you please review this patch?

Re: [U-Boot] [EXT] Re: [PATCHv2 1/2] PCI: layerscape: Add Support for ls2088 PCIe EP mode

2019-05-22 Thread Xiaowei Bao
Hi Bin, -Original Message- From: Bin Meng Sent: 2019年5月17日 10:31 To: Xiaowei Bao ; Ramon Fried ; Simon Glass Cc: M.h. Lian ; Z.q. Hou ; Mingkai Hu ; Hongbo Wang ; York Sun ; u-boot@lists.denx.de; Jiafei Pan Subject: Re: [EXT] Re: [U-Boot] [PATCHv2 1/2] PCI: layerscape: Add Support

Re: [U-Boot] [PATCH 4/6] spl: mmc: support loading i.MX container format file

2019-05-22 Thread Marek Vasut
On 5/22/19 9:34 AM, Lukasz Majewski wrote: [...] >>> By using above approach we do have the NXP's "container" >>> format only seen in the SPL (which is OK, as for example >>> Samsung does similar thing with FBL/BL1). When SPL is >>> "trused" we may use available facilities.

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

2019-05-22 Thread Michal Simek
On 10. 05. 19 10:15, Luca Ceresoli wrote: > Avnet UltraZed-EV Starter Kit is composed by the UltraZed-EV SoM and the > only publicly-available compatible carrier card. The SoM is based on the EV > version of the Xilinx ZynqMP SoC+FPGA. > > The psu_init_gpl.c file has been generated from the board

Re: [U-Boot] [EXT] Re: [PATCH] i2c: pcf2127: fix bug that read wrong time

2019-05-22 Thread Lukasz Majewski
On Wed, 22 May 2019 09:31:35 + Chuanhua Han wrote: > > -Original Message- > > From: Lukasz Majewski > > Sent: 2019年5月22日 16:41 > > To: Chuanhua Han > > Cc: h...@denx.de; u-boot@lists.denx.de; Biwen Li ; > > s...@chromium.org; Stefano Babic > > Subject: Re: [EXT] Re: [PATCH] i2c:

Re: [U-Boot] [PATCH v4] configs: ls1046: Update mtd-id for QSPI nor in mtdparts variable

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Kuldeep Singh > Sent: Monday, April 8, 2019 11:33 AM > To: u-boot@lists.denx.de > Cc: Prabhakar Kushwaha ; Mingkai Hu > ; Jagdish Gediya ; Ashish > Kumar ; Kuldeep Singh > Subject: [PATCH v4] configs: ls1046: Update mtd-id for QSPI nor in mtdparts > variable

Re: [U-Boot] [Patch v3] armv8: fsl-layerscape: Set env_loc to ENVL_NOWHERE with CONFIG_ENV_IS_NOWHERE.

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Udit Agarwal > Sent: Tuesday, April 23, 2019 11:36 AM > To: u-boot@lists.denx.de > Cc: Prabhakar Kushwaha ; Ruchika Gupta > ; Jagdish Gediya ; Udit > Agarwal > Subject: [Patch v3] armv8: fsl-layerscape: Set env_loc to ENVL_NOWHERE with >

Re: [U-Boot] [v2 2/2] scsi: ceva: Clean up the driver code

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Peng Ma > Sent: Wednesday, April 17, 2019 1:19 PM > To: albert.u.b...@aribaud.net; s...@chromium.org; Fabio Estevam > ; York Sun ; Prabhakar > Kushwaha > Cc: Andy Tang ; Yinbo Zhu ; > michal.si...@xilinx.com; u-boot@lists.denx.de; Peng Ma > > Subject: [v2

Re: [U-Boot] [PATCH v2 0/7] sound: Add sound support for Nyan

2019-05-22 Thread Simon Glass
Hi Tom, On Mon, 1 Apr 2019 at 14:38, Simon Glass wrote: > > This series adds sound support for Nyan. It allows simple beeps to be > generated in U-Boot. This requires the addition of an I2S driver, an > audio hub driver and a sound driver to pull things together. An existing > audio codec

Re: [U-Boot] [PATCH] dm: core: Fix dm_extended_scan_fdt()

2019-05-22 Thread Simon Glass
On Wed, 15 May 2019 at 02:26, Bin Meng wrote: > > On Wed, May 15, 2019 at 4:07 PM Patrice Chotard > wrote: > > > > This function takes an argument, blob, > > nits: there are 2 spaces between "function" and "takes" > > > but never uses it, instead uses gd->fdt_blob directly. > > > > Fixes:

Re: [U-Boot] [PATCH] buildman: Deal more nicely with invalid build-status file

2019-05-22 Thread Simon Glass
On Fri, 26 Apr 2019 at 19:02, Simon Glass wrote: > > The 'done' files created by buildman may end up being empty if buildman > runs out of disk space while writing them. At present buildman dies with > an exception when using -s to check the build status. Fix this. > > Seriesl-cc: trini > >

Re: [U-Boot] [PATCH] core: ofnode: Have ofnode_read_u32_default return a u32

2019-05-22 Thread Simon Glass
On Fri, 10 May 2019 at 11:48, Trent Piepho wrote: > > It was returning an int, which doesn't work if the u32 it is reading, > or the default value, will overflow a signed int. > > While it could be made to work, when using a C standard/compiler where > casting negative signed values to unsigned

Re: [U-Boot] [PATCHv5 0/8] pci: Add PCIe Gen4 controller driver for NXP Layerscape SoCs

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Z.q. Hou > Sent: Monday, April 8, 2019 3:45 PM > To: u-boot@lists.denx.de; albert.u.b...@aribaud.net; Priyanka Jain > ; York Sun ; > sriram.d...@nxp.com; yamada.masah...@socionext.com; Prabhakar > Kushwaha ; Mingkai Hu > ; M.h. Lian ; > bmeng...@gmail.com >

Re: [U-Boot] [PATCH] armv8: ls1028ardb: Add sd and emmc related environments

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Yuantian Tang > Sent: Tuesday, May 14, 2019 2:24 PM > To: Prabhakar Kushwaha ; Sudhanshu Gupta > ; Harninder Rai ; Rajesh > Bhagat > Cc: u-boot@lists.denx.de; Andy Tang > Subject: [PATCH] armv8: ls1028ardb: Add sd and emmc related environments > > Add SD

Re: [U-Boot] [PATCH v2 1/1] common: fdt_support: Check mtdparts cell size

2019-05-22 Thread Simon Glass
On Wed, 24 Apr 2019 at 09:18, Simon Glass wrote: > > On Tue, 23 Apr 2019 at 23:32, Stefan Mavrodiev wrote: > > > > When using fdt_fixup_mtdparts() offset and length cell sizes > > are limited to 4 bytes (1 cell). However if the mtd device is > > bigger then 4GiB, then #address-cells and

Re: [U-Boot] [RESEND PATCH] core: ofnode: Add ofnode_get_addr_size_index

2019-05-22 Thread Simon Glass
On Wed, 24 Apr 2019 at 17:59, Simon Glass wrote: > > On Wed, 24 Apr 2019 at 05:49, Keerthy wrote: > > > > Add ofnode_get_addr_size_index function to fetch the address > > and size of the reg space based on index. > > > > Signed-off-by: Keerthy > > --- > > > > Previous discussion can be found

Re: [U-Boot] [PATCHv5 0/8] pci: Add PCIe Gen4 controller driver for NXP Layerscape SoCs

2019-05-22 Thread Z.q. Hou
> -Original Message- > From: Prabhakar Kushwaha > Sent: 2019年5月22日 20:33 > To: Z.q. Hou ; u-boot@lists.denx.de; > albert.u.b...@aribaud.net; Priyanka Jain ; York Sun > ; sriram.d...@nxp.com; > yamada.masah...@socionext.com; Mingkai Hu ; M.h. > Lian ; bmeng...@gmail.com > Subject: RE:

Re: [U-Boot] [PATCH 2/3 v3] armv8: ls1028ardb: Add support for LS1028ARDB platform

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Yuantian Tang > Sent: Wednesday, April 10, 2019 2:14 PM > To: Prabhakar Kushwaha > Cc: albert.u.b...@aribaud.net; Sudhanshu Gupta > ; Harninder Rai ; Rajesh > Bhagat ; Bhaskar Upadhaya > ; Ran Wang ; u- > b...@lists.denx.de; Andy Tang > Subject: [PATCH 2/3

Re: [U-Boot] [PATCH] Enable CONFIG_SPI_FLASH to Kconfig for non-TFA

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Chuanhua Han > Sent: Wednesday, April 17, 2019 2:32 PM > To: Prabhakar Kushwaha ; Priyanka Jain > > Cc: u-boot@lists.denx.de; Chuanhua Han > Subject: [PATCH] Enable CONFIG_SPI_FLASH to Kconfig for non-TFA > > This enables the folowing to Kconfig: >

Re: [U-Boot] [PATCH 0/3] add new wdt driver for sp805

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot On Behalf Of Qiang Zhao > Sent: Monday, April 29, 2019 1:55 PM > To: York Sun > Cc: u-boot@lists.denx.de > Subject: [U-Boot] [PATCH 0/3] add new wdt driver for sp805 > > changes for v2: > - modify the driver to DM > > Zhao Qiang (3): >

Re: [U-Boot] [EXT] [PATCH] armv8: lx2160ardb: invert AQR107 pins polarity

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot On Behalf Of Florin Chiculita > Sent: Monday, April 22, 2019 2:28 PM > To: u-boot@lists.denx.de > Subject: [EXT] [U-Boot] [PATCH] armv8: lx2160ardb: invert AQR107 pins polarity > > WARNING: This email was created outside of NXP. DO NOT CLICK links or

Re: [U-Boot] [PATCH 1/3] configs: Unset CONFIG_SPI_BAR for all LS1088A defconfigs

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Rajat Srivastava > Sent: Wednesday, April 24, 2019 6:15 PM > To: u-boot@lists.denx.de; Prabhakar Kushwaha > > Cc: Ashish Kumar ; Rajat Srivastava > > Subject: [PATCH 1/3] configs: Unset CONFIG_SPI_BAR for all LS1088A defconfigs > > From: Ashish Kumar > >

Re: [U-Boot] [v2 1/2] ARM: dts: Freescale: Add ecc addr for sata node

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Peng Ma > Sent: Wednesday, April 17, 2019 1:19 PM > To: albert.u.b...@aribaud.net; s...@chromium.org; Fabio Estevam > ; York Sun ; Prabhakar > Kushwaha > Cc: Andy Tang ; Yinbo Zhu ; > michal.si...@xilinx.com; u-boot@lists.denx.de; Peng Ma > > Subject: [v2

Re: [U-Boot] [EXT] Re: [PATCH] i2c: pcf2127: fix bug that read wrong time

2019-05-22 Thread Chuanhua Han
> -Original Message- > From: Lukasz Majewski > Sent: 2019年5月22日 19:32 > To: Chuanhua Han > Cc: h...@denx.de; u-boot@lists.denx.de; Biwen Li ; > s...@chromium.org; Stefano Babic > Subject: Re: [EXT] Re: [PATCH] i2c: pcf2127: fix bug that read wrong time > > On Wed, 22 May 2019

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

2019-05-22 Thread Simon Glass
Hi Tom, Results here: https://travis-ci.org/sglass68/u-boot/builds/535552345 The following changes since commit e1a2ed7180adeefb6164239a18249dca5701319d: Merge git://git.denx.de/u-boot-mpc83xx (2019-05-21 07:13:35 -0400) are available in the Git repository at:

Re: [U-Boot] Cannot boot mx6qsabred with 2019.07-rc2

2019-05-22 Thread Fabio Estevam
On Tue, May 21, 2019 at 11:34 PM Tom Rini wrote: > As came up in another thread, CONFIG_MMC_TINY may be more widely useable > and should help with space. How it can be used exactly? I tried it like this: --- a/configs/mx6sabresd_defconfig +++ b/configs/mx6sabresd_defconfig @@ -6,7 +6,6 @@

Re: [U-Boot] Cannot boot mx6qsabred with 2019.07-rc2

2019-05-22 Thread Tom Rini
On Wed, May 22, 2019 at 11:23:11AM -0300, Fabio Estevam wrote: > On Tue, May 21, 2019 at 11:34 PM Tom Rini wrote: > > > As came up in another thread, CONFIG_MMC_TINY may be more widely useable > > and should help with space. > > How it can be used exactly? > > I tried it like this: > > ---

Re: [U-Boot] [PATCH 3/3 v3] armv8: ls1028aqds: Add support of LS1028AQDS

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Yuantian Tang > Sent: Wednesday, April 10, 2019 2:14 PM > To: Prabhakar Kushwaha > Cc: albert.u.b...@aribaud.net; Sudhanshu Gupta > ; Harninder Rai ; Rajesh > Bhagat ; Bhaskar Upadhaya > ; Ran Wang ; u- > b...@lists.denx.de; Andy Tang > Subject: [PATCH 3/3

Re: [U-Boot] [PATCH 1/3 v3] armv8: ls1028a: Add NXP LS1028A SoC support

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Yuantian Tang > Sent: Wednesday, April 10, 2019 2:14 PM > To: Prabhakar Kushwaha > Cc: albert.u.b...@aribaud.net; Sudhanshu Gupta > ; Harninder Rai ; Rajesh > Bhagat ; Bhaskar Upadhaya > ; Ran Wang ; u- > b...@lists.denx.de; Andy Tang > Subject: [PATCH 1/3

Re: [U-Boot] [PATCH 02/17] Add an empty stdint.h file

2019-05-22 Thread Simon Glass
On Sat, 18 May 2019 at 12:00, Simon Glass wrote: > > Some libraries build by U-Boot may include stdint.h. This is not used by > U-Boot itself and causes conflicts with the types defined in > linux/types.h. To work around this, add an empty file with this name so > that it will be used in

Re: [U-Boot] [PATCH 2/2] fdtdec: Remove fdt_{addr,size}_unpack()

2019-05-22 Thread Simon Glass
On Mon, 20 May 2019 at 10:05, Thierry Reding wrote: > > From: Thierry Reding > > U-Boot already defines the {upper,lower}_32_bits() macros that have the > same purpose. Use the existing macros instead of defining new APIs. > > Signed-off-by: Thierry Reding > --- > include/fdtdec.h | 24

Re: [U-Boot] [PATCH v2 02/10] spl: misc: Allow misc drivers in SPL and TPL

2019-05-22 Thread Simon Glass
On Thu, 31 Jan 2019 at 02:39, Jean-Jacques Hiblot wrote: > > > On 31/01/2019 03:57, Simon Glass wrote: > > Hi Jean-Jacques, > > > > On Tue, 20 Nov 2018 at 06:49, Jean-Jacques Hiblot wrote: > >> Hi Simon, > >> > >> On 18/11/2018 16:14, Simon Glass wrote: > >>> In some cases it is necessary to

Re: [U-Boot] Making U-Boot smaller

2019-05-22 Thread Tom Rini
On Wed, May 22, 2019 at 04:15:47PM +0200, Eugeniu Rosca wrote: > cc: Yamada-san > > I dream of a (Kconfig/Kbuild-assisted) bloaty-like output [1] which > would point out the culprit configs. This is hardly achievable, but > looks good on the paper! > > CONFIG FILE SIZE >

Re: [U-Boot] [PATCH 3/3] configs: Unset CONFIG_SPI_BAR for all LS2080A/LS2081A defconfigs

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Rajat Srivastava > Sent: Wednesday, April 24, 2019 6:15 PM > To: u-boot@lists.denx.de; Prabhakar Kushwaha > > Cc: Rajat Srivastava > Subject: [PATCH 3/3] configs: Unset CONFIG_SPI_BAR for all LS2080A/LS2081A > defconfigs > > Signed-off-by: Rajat Srivastava

Re: [U-Boot] [PATCH 2/3] configs: Unset CONFIG_SPI_BAR for all LS1046A defconfigs

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Rajat Srivastava > Sent: Wednesday, April 24, 2019 6:15 PM > To: u-boot@lists.denx.de; Prabhakar Kushwaha > > Cc: Rajat Srivastava > Subject: [PATCH 2/3] configs: Unset CONFIG_SPI_BAR for all LS1046A defconfigs > > Signed-off-by: Rajat Srivastava > --- >

Re: [U-Boot] [PATCH v1] armv8: lx2160: Drop useless CONFIG_CMDLINE_EDITING from config.h

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Andy Shevchenko > Sent: Monday, May 13, 2019 7:35 PM > To: u-boot@lists.denx.de > Cc: Andy Shevchenko ; Priyanka Jain > ; Peng Ma ; Prabhakar > Kushwaha > Subject: [PATCH v1] armv8: lx2160: Drop useless CONFIG_CMDLINE_EDITING > from config.h > > The commit

Re: [U-Boot] [Patch v2] armv8: Secure Boot: Modify boot_a_script definition

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Udit Agarwal > Sent: Tuesday, April 23, 2019 11:22 AM > To: u-boot@lists.denx.de > Cc: Prabhakar Kushwaha ; Ruchika Gupta > ; Jagdish Gediya ; Vinitha > V Pillai ; Udit Agarwal > Subject: [Patch v2] armv8: Secure Boot: Modify boot_a_script definition > >

Re: [U-Boot] [PATCH 2/3] configs: Unset CONFIG_SPI_BAR for all LS1046A defconfigs

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Rajat Srivastava > Sent: Wednesday, April 24, 2019 6:15 PM > To: u-boot@lists.denx.de; Prabhakar Kushwaha > > Cc: Rajat Srivastava > Subject: [PATCH 2/3] configs: Unset CONFIG_SPI_BAR for all LS1046A defconfigs > > Signed-off-by: Rajat Srivastava > --- >

Re: [U-Boot] Making U-Boot smaller

2019-05-22 Thread Eugeniu Rosca
cc: Yamada-san I dream of a (Kconfig/Kbuild-assisted) bloaty-like output [1] which would point out the culprit configs. This is hardly achievable, but looks good on the paper! CONFIG FILE SIZE -- CONFIG_FEATURE_A10.7Mi 37.1%

[U-Boot] [PATCH 08/14] mmc: am654_sdhci: Separate J721E compatible into 8bit and 4bit versions

2019-05-22 Thread Lokesh Vutla
From: Faiz Abbas The j721e 4 bit instances don't have a hard DLL and therefore don't need any DLL related configurations. Split the compatibles into an 8 bit and a 4 bit one. Add a private flags field which can be used to check if the DLL is present and don't register the set_ios_post callback

Re: [U-Boot] Cannot boot mx6qsabred with 2019.07-rc2

2019-05-22 Thread Ezequiel Garcia
On Wed, 2019-05-22 at 11:15 -0400, Tom Rini wrote: > On Wed, May 22, 2019 at 11:23:11AM -0300, Fabio Estevam wrote: > > On Tue, May 21, 2019 at 11:34 PM Tom Rini wrote: > > > > > As came up in another thread, CONFIG_MMC_TINY may be more widely useable > > > and should help with space. > > > >

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-05-22 Thread Simon Glass
Hi Simon, On Wed, 22 May 2019 at 02:05, Simon Goldschmidt wrote: > > On Wed, May 22, 2019 at 2:53 AM Simon Glass wrote: > > > > Hi Andreas, > > > > On Tue, 21 May 2019 at 15:01, Andreas Dannenberg wrote: > > > > > > Hi Simon (Glass), > > > > > > On Sat, May 18, 2019 at 10:08:19AM -0600, Simon

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-05-22 Thread Simon Goldschmidt
Simon Glass schrieb am Mi., 22. Mai 2019, 21:34: > Hi Simon, > > On Wed, 22 May 2019 at 02:05, Simon Goldschmidt > wrote: > > > > On Wed, May 22, 2019 at 2:53 AM Simon Glass wrote: > > > > > > Hi Andreas, > > > > > > On Tue, 21 May 2019 at 15:01, Andreas Dannenberg > wrote: > > > > > > > > Hi

[U-Boot] [PATCH v2 0/4] At present the GEM ethernet on SiFive Unleashed board can only work

2019-05-22 Thread Bin Meng
in 1000 Mbps mode. With a 10/100 Mbps connection it just fails to do any network communication. This adds a new GEMGXL clock driver to adjust the clock settings per the connection speed so that 10/100 Mbps works. Changes in v2: - rename driver name to "sifive-gemgxl-mgmt" - add a comment for

[U-Boot] [PATCH v2 3/4] dm: net: macb: Implement link speed change callback

2019-05-22 Thread Bin Meng
At present the link speed change callback is a nop. According to macb device tree bindings, an optional "tx_clk" is used to clock the ethernet controller's TX_CLK under different link speed. In 10/100 MII mode, transmit logic must be clocked from a free running clock generated by the external

Re: [U-Boot] [PATCH] drivers: core: use strcmp when find device by name

2019-05-22 Thread Peng Fan
Hi Simon, > Subject: Re: [PATCH] drivers: core: use strcmp when find device by name > > Hi Peng, > > On Wed, 15 May 2019 at 05:57, Peng Fan wrote: > > > > Hi Simon, > > > > > Subject: Re: [PATCH] drivers: core: use strcmp when find device by > > > name > > > > > > On Sun, 28 Apr 2019 at 03:43,

[U-Boot] [PATCH v2 1/4] clk: sifive: Add clock driver for GEMGXL MGMT

2019-05-22 Thread Bin Meng
This adds a clock driver to support the GEMGXL management IP block found in FU540 SoCs to control GEM TX clock operation mode for 10/100/1000 Mbps. Signed-off-by: Bin Meng Reviewed-by: Lukas Auer Tested-by: Lukas Auer --- Changes in v2: - rename driver name to "sifive-gemgxl-mgmt"

[U-Boot] [PATCH v2 4/4] riscv: sifive: fu540: Enable GEMGXL MGMT driver

2019-05-22 Thread Bin Meng
Enable the new GEMGXL MGMT driver so that GEM 10/100 Mbps works now. Signed-off-by: Bin Meng Reviewed-by: Lukas Auer Tested-by: Lukas Auer --- Changes in v2: None board/sifive/fu540/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/board/sifive/fu540/Kconfig

Re: [U-Boot] [PATCH v2 1/3] board_f: Add mach specific DMA address check function.

2019-05-22 Thread Simon Glass
Hi Heiko, On Wed, 22 May 2019 at 05:29, Heiko Stuebner wrote: > > Hi Simon, > > Am Samstag, 18. Mai 2019, 18:08:58 CEST schrieb Simon Glass: > > On Tue, 7 May 2019 at 09:59, Christoph Muellner > > wrote: > > > > > > From: Christoph Müllner > > > > > > Some machines have limited DMA engines,

Re: [U-Boot] [PATCH 2/7] dm: core: Introduce xxx_translate_dma_address()

2019-05-22 Thread Simon Glass
Hi Fabien, On Wed, 22 May 2019 at 02:07, Fabien Dessenne wrote: > > Add the following functions to translate DMA address to CPU address: > - dev_translate_dma_address() > - ofnode_translate_dma_address() > - of_translate_dma_address() > These functions work the same way as

Re: [U-Boot] [PATCH 3/7] remoteproc: add da_to_pa ops

2019-05-22 Thread Simon Glass
Hi Fabien, On Wed, 22 May 2019 at 02:07, Fabien Dessenne wrote: > > This patch introduces da_to_pa function to allow translation > between device address (remote processor view) and physical > address (main processor view). > > Signed-off-by: Loic Pallardy > Signed-off-by: Fabien Dessenne >

Re: [U-Boot] [PATCH 4/7] remoteproc: add elf file load support

2019-05-22 Thread Simon Glass
Hi Fabien, On Wed, 22 May 2019 at 02:07, Fabien Dessenne wrote: > > The current implementation supports only binary file load. > Add helpers to support ELF format (check validity, sanity check, and > load). > Note that since an ELF image is built for the remote processor, the load > function

Re: [U-Boot] [PATCH 1/7] fdt: Introduce fdt_translate_dma_address()

2019-05-22 Thread Simon Glass
Hi Fabien, On Wed, 22 May 2019 at 02:07, Fabien Dessenne wrote: > > Add the fdt_translate_dma_address() function to translate DMA address to > CPU address. > This function works the same way as fdt_translate_address(), with the > difference that the translation relies on the "dma-ranges"

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-05-22 Thread Andreas Dannenberg
Hi Simon (Glass) On Tue, May 21, 2019 at 06:53:31PM -0600, Simon Glass wrote: > > > > Not having BSS available to carry over certain state to the > > > > board_init_r() world would lead to a bunch of hacky changes across > > > > the board I'm afraid, more below. > > > > > > This is really

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-05-22 Thread Simon Glass
Hi Simon, On Wed, 22 May 2019 at 13:42, Simon Goldschmidt wrote: > > > > Simon Glass schrieb am Mi., 22. Mai 2019, 21:34: >> >> Hi Simon, >> >> On Wed, 22 May 2019 at 02:05, Simon Goldschmidt >> wrote: >> > >> > On Wed, May 22, 2019 at 2:53 AM Simon Glass wrote: >> > > >> > > Hi Andreas, >> >

[U-Boot] [PATCH v2 06/18] configs: am65x_evm_defconfig: Enable I2C support

2019-05-22 Thread Andreas Dannenberg
Enable I2C via driver model as well as the associated set of U-Boot commands to allow us interacting with various I2C slave devices. Signed-off-by: Andreas Dannenberg Signed-off-by: Vignesh R Reviewed-by: Lokesh Vutla --- configs/am65x_evm_a53_defconfig | 4

[U-Boot] [PATCH v2 00/18] Add EEPROM-based board detect support for TI K3 SoCs

2019-05-22 Thread Andreas Dannenberg
This series adds the pieces needed to fully configure the TI AM654x EVM and its associated (optional) daughtercards using a GPIO-based card presence detection scheme. Changes since initial submission: - Re-based onto latest 'master' branch - Collected all review tags - Re-tested Andreas

  1   2   >