Re: [U-Boot] [PATCH] nvme: add more cache flushes

2019-10-16 Thread Patrick Wildt
On Wed, Oct 16, 2019 at 06:11:23PM +0800, Bin Meng wrote: > On Mon, Oct 14, 2019 at 7:11 PM Patrick Wildt wrote: > > > > On an i.MX8MQ our nvme driver doesn't completely work since we are > > missing a few cache flushes. One is the prp list, which is an extra > > buffer that we need to flush

[U-Boot] [PATCH] cmd: sf: Mark it default if DM_SPI_FLASH enabled

2019-10-16 Thread Jagan Teki
If DM_SPI_FLASH enabled that means it is using sf command for flash interface to access. SPI_FLASH can be used via sf command and board/driver functions to call spi flash ops, so mark it default only for DM_SPI_FLASH. This would prevent explicit adding of CONFIG_CMD_SF when DM_SPI_FLASH being

Re: [U-Boot] [PATCH 3/3] pico-imx7d: polish uart clock id definition

2019-10-16 Thread Jun Nie
Stefano Babic 于2019年10月13日周日 下午9:35写道: > > Hi Jun, > > I am just trying to check if some patch was silently lost, I found yours: > > On 16/07/19 09:42, Jun Nie wrote: > > Polish uart clock id definition. Default IMX7 UART ID is UART1 > > as original parameter in imx_get_uartclk(). > > > >

[U-Boot] [PATCH v2 0/5] riscv: sifive/fu540: Enable SPI-NOR support

2019-10-16 Thread Jagan Teki
This is v2 patchset, enable SPI-NOR flash on SiFive hifive-unleashed-a00 board, here is v1 [1]. Changes for v2: - use latest sifive commit from linux-next - fix typos in commit message - rebased on master patch 0001 - 02: support devicetree patch 0003: add is25wp256 chip patch 0004 - 05:

Re: [U-Boot] [PATCH v2 3/4] dm: spi: Check cs number before accessing slaves

2019-10-16 Thread Jagan Teki
Hi Bin, On Mon, Sep 9, 2019 at 6:30 PM Bin Meng wrote: > > Add chip select number check in spi_find_chip_select(). > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - move the chip select number check to spi_find_chip_select() > > drivers/spi/spi-uclass.c | 45

[U-Boot] [PATCH v2] mtd: spi: Kconfig: Imply SPI_FLASH if DM_SPI_FLASH

2019-10-16 Thread Jagan Teki
DM_SPI_FLASH should require spi flash interface code for dm version, so select SPI_FLASH core by default if any board enabled DM_SPI_FLASH. This overcome the explicit enablement of CONFIG_SPI_FLASH on respective boards when DM_SPI_FLASH being used. Cc: Vignesh R Signed-off-by: Jagan Teki ---

Re: [U-Boot] [PATCH 1/2] watchdog: imx: Add DT ext-reset handling

2019-10-16 Thread Robert Hancock
On 2019-08-07 2:28 a.m., Marek Vasut wrote: > On 8/6/19 8:49 PM, Robert Hancock wrote: >> On 2019-08-06 11:11 a.m., Marek Vasut wrote: >>> On 8/6/19 7:05 PM, Robert Hancock wrote: The Linux imx2_wdt driver uses a fsl,ext-reset-output boolean in the device tree to specify whether the

Re: [U-Boot] [PATCH] lib: time: Add microsecond timer

2019-10-16 Thread Eugeniu Rosca
On Wed, Oct 16, 2019 at 07:26:44PM +0200, Marek Vasut wrote: > On 10/16/19 7:11 PM, Eugeniu Rosca wrote: > > On Tue, Oct 15, 2019 at 10:43:41PM +0200, Marek Vasut wrote: > >> Add get_timer_us(), which is useful e.g. when we need higher > >> precision timestamps. > > > > FWIW, I agree with Simon

Re: [U-Boot] [PATCH 3/3] ARM: bcm283x: Set memory map at run-time

2019-10-16 Thread Alexander Graf
On 16.10.19 18:50, Matthias Brugger wrote: On 27/09/2019 12:14, Alexander Graf wrote: On 27.09.19 11:00, matthias@kernel.org wrote: From: Matthias Brugger For bcm283x based on arm64 we also have to change the mm_region. Add assign this in mach_cpu_init() so we can create now one binary

Re: [U-Boot] [EXT] Re: Issues with driver binding and probing

2019-10-16 Thread Aaron Williams
Hi Simon, On Friday, October 11, 2019 4:42:55 PM PDT Simon Glass wrote: > Hi Aaron, > > On Wed, 25 Sep 2019 at 22:08, Aaron Williams wrote: > > Hi Simon, > > > > On Wednesday, September 25, 2019 8:40:48 PM PDT Bin Meng wrote: > > > External Email > > > > > >

Re: [U-Boot] [PATCH] lib: time: Add microsecond timer

2019-10-16 Thread Eugeniu Rosca
On Wed, Oct 16, 2019 at 07:43:09PM +0200, Eugeniu Rosca wrote: > On Wed, Oct 16, 2019 at 07:26:44PM +0200, Marek Vasut wrote: > > On 10/16/19 7:11 PM, Eugeniu Rosca wrote: > > > On Tue, Oct 15, 2019 at 10:43:41PM +0200, Marek Vasut wrote: > > >> Add get_timer_us(), which is useful e.g. when we

[U-Boot] [PATCH] nvme: flush dcache on both r/w, and the prp list

2019-10-16 Thread Patrick Wildt
It's possible that the data cache for the buffer still holds data to be flushed to memory, since the buffer was probably used as stack before. Thus we need to make sure to flush it also on reads, since it's possible that the cache is automatically flused to memory after the NVMe DMA transfer

Re: [U-Boot] [PATCH] lib: time: Add microsecond timer

2019-10-16 Thread Marek Vasut
On 10/16/19 7:51 PM, Eugeniu Rosca wrote: > On Wed, Oct 16, 2019 at 07:43:09PM +0200, Eugeniu Rosca wrote: >> On Wed, Oct 16, 2019 at 07:26:44PM +0200, Marek Vasut wrote: >>> On 10/16/19 7:11 PM, Eugeniu Rosca wrote: On Tue, Oct 15, 2019 at 10:43:41PM +0200, Marek Vasut wrote: > Add

Re: [U-Boot] [PATCH 5/5] doc: Add documentation for how to build U-Boot host tools

2019-10-16 Thread Tom Rini
On Wed, Oct 16, 2019 at 09:27:25AM -0700, Bin Meng wrote: > This adds a reST document for how to build U-Boot host tools, > including information for both Linux and Windows. > > Signed-off-by: Bin Meng So here's where I think things get interesting. Off the top of my head, I think we can use

Re: [U-Boot] [PATCH] lib: time: Add microsecond timer

2019-10-16 Thread Marek Vasut
On 10/16/19 7:11 PM, Eugeniu Rosca wrote: > On Tue, Oct 15, 2019 at 10:43:41PM +0200, Marek Vasut wrote: >> Add get_timer_us(), which is useful e.g. when we need higher >> precision timestamps. > > FWIW, I agree with Simon that bootstage [1] can be an awesome tool for > profiling and boot time

Re: [U-Boot] [PATCH v3 1/8] dm: regulator: support regulator more state

2019-10-16 Thread Simon Glass
Hi Elaine, On Thu, 19 Sep 2019 at 02:08, Elaine Zhang wrote: > > From: Joseph Chen > > support parse regulator standard property: > regulator-off-in-suspend; > regulator-init-microvolt; > regulator-suspend-microvolt: > regulator_get_suspend_enable > regulator_set_suspend_enable >

Re: [U-Boot] [EXT] Re: Issues with driver binding and probing

2019-10-16 Thread Simon Glass
Hi Aaron, On Wed, 16 Oct 2019 at 11:56, Aaron Williams wrote: > > Hi Simon, > > On Friday, October 11, 2019 4:42:55 PM PDT Simon Glass wrote: > > Hi Aaron, > > > > On Wed, 25 Sep 2019 at 22:08, Aaron Williams wrote: > > > Hi Simon, > > > > > > On Wednesday, September 25, 2019 8:40:48 PM PDT

[U-Boot] [PATCH v2] nvme: use page-aligned buffer for identify command

2019-10-16 Thread Patrick Wildt
Change the stack-allocated buffer for the identification command to explicitly allocate page-aligned buffers. Even though the spec seems to allow having admin queue commands on non page-aligned buffers, it seems to not be possible on my i.MX8MQ board with a a Silicon Power P34A80. Since all of

[U-Boot] [PATCH 17/19] configs: T4240: enable CONFIG_DM_USB support

2019-10-16 Thread Ran Wang
Signed-off-by: Ran Wang --- Depends on: http://patchwork.ozlabs.org/patch/1176766/ http://patchwork.ozlabs.org/patch/1176767/ configs/T4240QDS_NAND_defconfig | 1 + configs/T4240QDS_SDCARD_defconfig | 1 + configs/T4240QDS_SECURE_BOOT_defconfig| 1 +

[U-Boot] [PATCH 18/19] arch: powerpc: add usb nodes to P5040 dts

2019-10-16 Thread Ran Wang
Signed-off-by: Ran Wang --- Depends on: http://patchwork.ozlabs.org/patch/1176766/ http://patchwork.ozlabs.org/patch/1176767/ arch/powerpc/dts/p5040.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/powerpc/dts/p5040.dtsi b/arch/powerpc/dts/p5040.dtsi index

Re: [U-Boot] problems with building u-boot-fit-dtb.bin

2019-10-16 Thread Heiko Schocher
Hello Tom, Am 16.10.2019 um 06:56 schrieb Heiko Schocher: Hello Tom, I planned to send my patches which convert the imx6 based aristainetos boards to support DM ... building U-Boot works fine on 2 different build machines at home, also on 2 build machines in munich @ denx ... So I startet as

[U-Boot] [PATCH 03/19] arch: powerpc: add usb nodes to P1020 dts

2019-10-16 Thread Ran Wang
Signed-off-by: Ran Wang --- Depends on: http://patchwork.ozlabs.org/patch/1176766/ http://patchwork.ozlabs.org/patch/1176767/ arch/powerpc/dts/p1020-post.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/powerpc/dts/p1020-post.dtsi b/arch/powerpc/dts/p1020-post.dtsi

[U-Boot] [PATCH 01/19] arch: powerpc: add usb node in p3041 dts

2019-10-16 Thread Ran Wang
Signed-off-by: Ran Wang --- Depends on: http://patchwork.ozlabs.org/patch/1176766/ http://patchwork.ozlabs.org/patch/1176767/ arch/powerpc/dts/p3041.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/powerpc/dts/p3041.dtsi b/arch/powerpc/dts/p3041.dtsi index

[U-Boot] [PATCH 12/19] configs: T102x: enable CONFIG_DM_USB support

2019-10-16 Thread Ran Wang
Signed-off-by: Ran Wang --- Depends on: http://patchwork.ozlabs.org/patch/1176766/ http://patchwork.ozlabs.org/patch/1176767/ configs/T1023RDB_NAND_defconfig | 1 + configs/T1023RDB_SDCARD_defconfig | 1 + configs/T1023RDB_SPIFLASH_defconfig | 1 + configs/T1023RDB_defconfig |

Re: [U-Boot] [PATCH v1 5/5] colibri_t30: disable rs232 serial transceiver forceoff pins

2019-10-16 Thread Igor Opaniuk
Hi Marcel, On Thu, Sep 12, 2019 at 12:15 PM Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > Use gpio_early_init_uart() function to disable RS232 serial transceiver > ForceOFF# pins on Iris. > > Signed-off-by: Marcel Ziswiler > > --- > > board/toradex/colibri_t30/colibri_t30.c | 11

[U-Boot] [PATCH 04/19] configs: p1020: enable CONFIG_DM_USB support

2019-10-16 Thread Ran Wang
Signed-off-by: Ran Wang --- Depends on: http://patchwork.ozlabs.org/patch/1176766/ http://patchwork.ozlabs.org/patch/1176767/ configs/P1020MBG-PC_36BIT_SDCARD_defconfig | 1 + configs/P1020MBG-PC_36BIT_defconfig | 1 + configs/P1020MBG-PC_SDCARD_defconfig | 1 +

[U-Boot] [PATCH 15/19] configs: T208x: enable CONFIG_DM_USB support

2019-10-16 Thread Ran Wang
Signed-off-by: Ran Wang --- Depends on: http://patchwork.ozlabs.org/patch/1176766/ http://patchwork.ozlabs.org/patch/1176767/ configs/T2080RDB_NAND_defconfig | 1 + configs/T2080RDB_SDCARD_defconfig | 1 + configs/T2080RDB_SECURE_BOOT_defconfig| 1 +

[U-Boot] [PATCH 19/19] configs: P5040: enable CONFIG_DM_USB support

2019-10-16 Thread Ran Wang
Signed-off-by: Ran Wang --- Depends on: http://patchwork.ozlabs.org/patch/1176766/ http://patchwork.ozlabs.org/patch/1176767/ configs/P5040DS_NAND_SECURE_BOOT_defconfig | 1 + configs/P5040DS_NAND_defconfig | 1 + configs/P5040DS_SDCARD_defconfig | 1 +

[U-Boot] [PATCH 16/19] arch: powerpc: add usb nodes to T4240 dts

2019-10-16 Thread Ran Wang
Signed-off-by: Ran Wang --- Depends on: http://patchwork.ozlabs.org/patch/1176766/ http://patchwork.ozlabs.org/patch/1176767/ arch/powerpc/dts/t4240.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/powerpc/dts/t4240.dtsi b/arch/powerpc/dts/t4240.dtsi index

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

2019-10-16 Thread Heiko Schocher
Hello Philippe, Am 14.10.2019 um 19:41 schrieb Philippe Reynes: We check (with a #if defined()) the config ENV_UBI_VOLUME_REDUND to know if there is a redundant env. But this config is a string and is always defined with env is in ubi, so we always condider that a redundand env is used. To fix

[U-Boot] [PATCH 1/3] rockchip: rk3328: use common struct sdram_base_params for struct rk3328_sdram_params

2019-10-16 Thread Matwey V. Kornilov
Currently, struct sdram_base_params and struct rk3328_sdram_params have similar layouts. Signed-off-by: Matwey V. Kornilov --- arch/arm/dts/rk3328-sdram-ddr3-666.dtsi | 2 ++ arch/arm/dts/rk3328-sdram-lpddr3-1600.dtsi| 2 ++ arch/arm/dts/rk3328-sdram-lpddr3-666.dtsi

[U-Boot] [PATCH 3/3] rockchip: rk3328: call sdram_print_ddr_info() at init

2019-10-16 Thread Matwey V. Kornilov
Make it possible to use CONFIG_RAM_ROCKCHIP_DEBUG when debuging TPL issues. Signed-off-by: Matwey V. Kornilov --- drivers/ram/rockchip/Makefile | 2 +- drivers/ram/rockchip/sdram_rk3328.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/ram/rockchip/Makefile

[U-Boot] [PATCH 2/3] rockchip: rk3328: use common struct sdram_cap_info for struct rk3328_sdram_channel

2019-10-16 Thread Matwey V. Kornilov
Currently, struct sdram_cap_info and struct rk3328_sdram_channel have similar layouts. Signed-off-by: Matwey V. Kornilov --- arch/arm/include/asm/arch-rockchip/sdram_rk3328.h | 13 +--- drivers/ram/rockchip/sdram_rk3328.c | 90 +++ 2 files changed, 46

Re: [U-Boot] [PATCH 1/2] libavb: Update libavb to current AOSP master

2019-10-16 Thread Igor Opaniuk
Hi Sam, On Thu, Aug 15, 2019 at 11:04 PM Sam Protsenko wrote: > > Update libavb to commit 5fbb42a189aa in AOSP/master, because new version > has support for super partition [1], which we need for implementing > Android dynamic partitions. All changes from previous patches for libavb > in U-Boot

[U-Boot] [PATCH 02/19] configs: p3041ds: enable CONFIG_DM_USB support

2019-10-16 Thread Ran Wang
Signed-off-by: Ran Wang --- Depends on: http://patchwork.ozlabs.org/patch/1176766/ http://patchwork.ozlabs.org/patch/1176767/ configs/P3041DS_NAND_SECURE_BOOT_defconfig | 1 + configs/P3041DS_NAND_defconfig | 1 + configs/P3041DS_SDCARD_defconfig | 1 +

[U-Boot] [PATCH 06/19] configs: P2020: enable CONFIG_DM_USB support

2019-10-16 Thread Ran Wang
Signed-off-by: Ran Wang --- Depends on: http://patchwork.ozlabs.org/patch/1176766/ http://patchwork.ozlabs.org/patch/1176767/ configs/P2020RDB-PC_36BIT_NAND_defconfig | 1 + configs/P2020RDB-PC_36BIT_SDCARD_defconfig | 1 + configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig | 1 +

[U-Boot] [PATCH 0/3] rockchip: rk3328: add CONFIG_RAM_ROCKCHIP_DEBUG support

2019-10-16 Thread Matwey V. Kornilov
It would be great to allow user to get extra information for debugging issues with TPL. We can reuse the existing code for rk3399 which print out results of memory configuration at TPL. Matwey V. Kornilov (3): rockchip: rk3328: use common struct sdram_base_params for struct

[U-Boot] [PATCH 2/2] rockchip: Init driver otg_data for rk3288 usb phy

2019-10-16 Thread Kever Yang
RK3288 needs to init the otg_data in board level to make the phy driver work. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/board.c | 28 1 file changed, 28 insertions(+) diff --git a/arch/arm/mach-rockchip/board.c b/arch/arm/mach-rockchip/board.c index

[U-Boot] [PATCH 1/2] rockchip: usb: Migrate to use ofnode

2019-10-16 Thread Kever Yang
Migrate to use ofnode_* instead of fdt_* so that we may able to use live dt for usb udc driver. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/board.c | 14 ++ drivers/usb/phy/rockchip_usb2_phy.c | 5 ++--- include/usb/dwc2_udc.h | 4 +++- 3 files changed,

[U-Boot] [PATCH] dm: core: Update log method for uclass_find_device_by_seq

2019-10-16 Thread Kever Yang
Use log() insted of debug() for uclass_find_device_by_seq function, since this print is very much and we can filter it out with log() interface. Signed-off-by: Kever Yang --- drivers/core/uclass.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH 11/19] powerpc: add usb nodes to T102x dts

2019-10-16 Thread Ran Wang
Signed-off-by: Ran Wang --- Depends on: http://patchwork.ozlabs.org/patch/1176766/ http://patchwork.ozlabs.org/patch/1176767/ arch/powerpc/dts/t102x.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/powerpc/dts/t102x.dtsi b/arch/powerpc/dts/t102x.dtsi index

[U-Boot] [PATCH 14/19] configs: T104x: enable CONFIG_DM_USB support

2019-10-16 Thread Ran Wang
Signed-off-by: Ran Wang --- Depends on: http://patchwork.ozlabs.org/patch/1176766/ http://patchwork.ozlabs.org/patch/1176767/ configs/T1040D4RDB_NAND_defconfig | 1 + configs/T1040D4RDB_SDCARD_defconfig| 1 + configs/T1040D4RDB_SPIFLASH_defconfig | 1 + configs/T1040D4RDB_defconfig

[U-Boot] [PATCH 07/19] arch: powerpc: add usb node to p2041 dts

2019-10-16 Thread Ran Wang
Signed-off-by: Ran Wang --- Depends on: http://patchwork.ozlabs.org/patch/1176766/ http://patchwork.ozlabs.org/patch/1176767/ arch/powerpc/dts/p2041.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/powerpc/dts/p2041.dtsi b/arch/powerpc/dts/p2041.dtsi index

[U-Boot] [PATCH 05/19] arch: powerpc: add usb node to p2020 dts

2019-10-16 Thread Ran Wang
Signed-off-by: Ran Wang --- Depends on: http://patchwork.ozlabs.org/patch/1176766/ http://patchwork.ozlabs.org/patch/1176767/ arch/powerpc/dts/p2020-post.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/powerpc/dts/p2020-post.dtsi b/arch/powerpc/dts/p2020-post.dtsi index

[U-Boot] [PATCH 10/19] configs: P4080: enable CONFIG_DM_USB support

2019-10-16 Thread Ran Wang
Signed-off-by: Ran Wang --- Depends on: http://patchwork.ozlabs.org/patch/1176766/ http://patchwork.ozlabs.org/patch/1176767/ configs/P4080DS_SDCARD_defconfig | 1 + configs/P4080DS_SECURE_BOOT_defconfig| 1 + configs/P4080DS_SPIFLASH_defconfig | 1 +

[U-Boot] [PATCH 13/19] arch: powerpc: add usb nodes to T104x dts

2019-10-16 Thread Ran Wang
Signed-off-by: Ran Wang --- Depends on: http://patchwork.ozlabs.org/patch/1176766/ http://patchwork.ozlabs.org/patch/1176767/ arch/powerpc/dts/t104x.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/powerpc/dts/t104x.dtsi b/arch/powerpc/dts/t104x.dtsi index

Re: [U-Boot] [PATCH 1/3] ubi: provide a way to skip CRC checks

2019-10-16 Thread Heiko Schocher
Hello Stefan, Am 12.09.2019 um 16:41 schrieb Stefan Roese: From: Quentin Schulz Some users of static UBI volumes implement their own integrity check, thus making the volume CRC check done at open time useless. For instance, this is the case when one use the ubiblock + dm-verity + squashfs

Re: [U-Boot] [PATCH 2/3] ubi: Print skip_check in ubi_dump_vol_info()

2019-10-16 Thread Heiko Schocher
Hello Stefan, Am 17.09.2019 um 07:39 schrieb Heiko Schocher: Hello Stefan, Am 12.09.2019 um 16:41 schrieb Stefan Roese: It might be interesting, if "skip_check" is set of not, so lets print s/of/or ? this flag in ubi_dump_vol_info() as well. Signed-off-by: Stefan Roese Cc: Quentin

Re: [U-Boot] [PATCH v2 3/3] ubi: Add "skipcheck" command to set/clear this bit in the UBI volume hdr

2019-10-16 Thread Heiko Schocher
Hello Stefan, Am 17.09.2019 um 09:17 schrieb Stefan Roese: U-Boot now supports the "skip_check" flag to optionally skip the CRC check at open time. Currently its only possible to set this bit upon UBI volume creation. But it might be very useful to also set this bit on already installed systems

[U-Boot] [PATCH] rockchip: firefly-rk3288: Enable TPL support

2019-10-16 Thread Kever Yang
This patch enable TPL support for firefly-rk3288 board, which works ths same way with other RK3288 board like Tinker, evb. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk3288/Kconfig | 1 + configs/firefly-rk3288_defconfig | 5 ++--- 2 files changed, 3 insertions(+), 3

Re: [U-Boot] [PATCH v2] cmd: avb: Fix requested partitions list

2019-10-16 Thread Igor Opaniuk
Hi Sam, On Thu, Aug 15, 2019 at 8:49 PM Sam Protsenko wrote: > > The requested_partitions[] array should contain only boot partitions. > Usually it's only 'boot' partition, as can be seen in [1]. Also, seems > like the requested_partitions[] are only used when there is no 'vbmeta' > partition

Re: [U-Boot] [PATCH v2 6/9] mpc85xx, socrates: disable VIDEO

2019-10-16 Thread Priyanka Jain
>-Original Message- >From: U-Boot On Behalf Of Heiko Schocher >Sent: Wednesday, October 16, 2019 9:26 AM >To: U-Boot Mailing List >Subject: [U-Boot] [PATCH v2 6/9] mpc85xx, socrates: disable VIDEO > >disable video, as not really needed longer. > I see the video driver code is getting

Re: [U-Boot] [PATCH v2 6/9] mpc85xx, socrates: disable VIDEO

2019-10-16 Thread Heiko Schocher
Hello Priyanka Jain, Am 16.10.2019 um 08:56 schrieb Priyanka Jain: -Original Message- From: U-Boot On Behalf Of Heiko Schocher Sent: Wednesday, October 16, 2019 9:26 AM To: U-Boot Mailing List Subject: [U-Boot] [PATCH v2 6/9] mpc85xx, socrates: disable VIDEO disable video, as not

Re: [U-Boot] [PATCH 36/37] dm: pmic: add da9063 PMIC driver and regulators

2019-10-16 Thread Schrempf Frieder
Hi Robert, On 15.10.19 17:53, Robert Beckett wrote: > Add DM driver to support Dialog DA9063. > Currently it support binding regulator children. > > Signed-off-by: Robert Beckett I also have a board with DA9063 and was looking for support in U-Boot. I found patches from Martin Fuzzey [1] and

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

2019-10-16 Thread AKASHI Takahiro
On Tue, Oct 15, 2019 at 06:09:10PM +0900, AKASHI Takahiro wrote: > On Tue, Oct 15, 2019 at 07:54:18AM +0200, Heinrich Schuchardt wrote: > > On 10/15/19 3:42 AM, AKASHI Takahiro wrote: > > >With this patch, when setting UEFI variable with "env set -e" command, > > >we will be able to > > >- specify

[U-Boot] [PATCH 08/19] configs: P2041: enable CONFIG_DM_USB support

2019-10-16 Thread Ran Wang
Signed-off-by: Ran Wang --- Depends on: http://patchwork.ozlabs.org/patch/1176766/ http://patchwork.ozlabs.org/patch/1176767/ configs/P2041RDB_NAND_defconfig | 1 + configs/P2041RDB_SDCARD_defconfig | 1 + configs/P2041RDB_SECURE_BOOT_defconfig| 1 +

[U-Boot] [PATCH 09/19] arch: powerpc: add usb nodes to P4080 dts

2019-10-16 Thread Ran Wang
Signed-off-by: Ran Wang --- Depends on: http://patchwork.ozlabs.org/patch/1176766/ http://patchwork.ozlabs.org/patch/1176767/ arch/powerpc/dts/p4080.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/powerpc/dts/p4080.dtsi b/arch/powerpc/dts/p4080.dtsi index

Re: [U-Boot] [PATCH] lib: time: Add microsecond timer

2019-10-16 Thread Marek Vasut
On 10/16/19 3:30 AM, Simon Glass wrote: > Hi Marek, Hi, > On Tue, 15 Oct 2019 at 14:43, Marek Vasut wrote: >> >> Add get_timer_us(), which is useful e.g. when we need higher >> precision timestamps. > > Can we use timer_get_us()? It seems confusing to have two. Nope, that one doesn't have the

[U-Boot] [PATCH 3/6] powerpc: p5040: dts: Added Sata DT nodes

2019-10-16 Thread Peng Ma
This patch is to add sata node for P5040 platform Signed-off-by: Peng Ma --- arch/powerpc/dts/p5040.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/p5040.dtsi b/arch/powerpc/dts/p5040.dtsi index 8ab123d..7b8218a 100644 --- a/arch/powerpc/dts/p5040.dtsi +++

[U-Boot] [PATCH 1/6] powerpc: p2041: dts: Added Sata DT nodes

2019-10-16 Thread Peng Ma
This patch is to add sata node for P2041 platform Signed-off-by: Peng Ma --- arch/powerpc/dts/p2041.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/p2041.dtsi b/arch/powerpc/dts/p2041.dtsi index 55f7adc..239439d 100644 --- a/arch/powerpc/dts/p2041.dtsi +++

[U-Boot] [PATCH 4/6] powerpc: t102x: dts: Added Sata DT nodes

2019-10-16 Thread Peng Ma
This patch is to add sata node for T102x platform Signed-off-by: Peng Ma --- arch/powerpc/dts/t102x.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/t102x.dtsi b/arch/powerpc/dts/t102x.dtsi index c49fd21..7d3f7c5 100644 --- a/arch/powerpc/dts/t102x.dtsi +++

Re: [U-Boot] [PATCH] cmd: avb: Support A/B slots

2019-10-16 Thread Igor Opaniuk
Hi Sam, On Fri, Aug 9, 2019 at 3:38 PM Sam Protsenko wrote: > > Add optional parameter to 'avb verify' sub-command, so that user is able > to specify which slot to use, in case when user's partitions are > slotted. If that parameter is omitted, the behavior of 'avb verify' will > be the same as

Re: [U-Boot] [PATCH v2 1/4] dm: spi: Return 0 if driver does not implement ops->cs_info

2019-10-16 Thread Jagan Teki
On Sun, Sep 29, 2019 at 1:34 PM Bin Meng wrote: > > Hi Jagan, > > On Mon, Sep 9, 2019 at 9:00 PM Bin Meng wrote: > > > > If an SPI controller driver does not implement ops->cs_info, that > > probably means any chip select number could be valid, hence let's > > return 0 for spi_cs_info(). > > > >

Re: [U-Boot] [PATCH v2] nvme: use page-aligned buffer for identify command

2019-10-16 Thread Bin Meng
On Wed, Oct 16, 2019 at 2:42 PM Patrick Wildt wrote: > > Change the stack-allocated buffer for the identification command > to explicitly allocate page-aligned buffers. Even though the spec > seems to allow having admin queue commands on non page-aligned > buffers, it seems to not be possible on

[U-Boot] [PATCH 08/10] power: pmic: Kconfig: add CONFIG_SPL_DM_PMIC_BD71837

2019-10-16 Thread Peng Fan
Add CONFIG_SPL_DM_PMIC_BD71837 to make this driver could be used in SPL stage Signed-off-by: Peng Fan --- drivers/power/pmic/Kconfig | 8 1 file changed, 8 insertions(+) diff --git a/drivers/power/pmic/Kconfig b/drivers/power/pmic/Kconfig index 586772fdec..4718dc700c 100644 ---

[U-Boot] [PATCH 10/10] imx8mm: evk: enable bd71837 pmic

2019-10-16 Thread Peng Fan
Enable bd71837 pmic for i.MX8MM EVK board, need to set voltage for DRAM and linux suspend voltage requirement. Signed-off-by: Peng Fan --- arch/arm/dts/imx8mm-evk-u-boot.dtsi | 20 ++ board/freescale/imx8mm_evk/spl.c| 41 +

[U-Boot] [PATCH 07/10] pmic: bd71837: drop DEBUG macro

2019-10-16 Thread Peng Fan
Drop DEBUG macro definition which is used for debug purpose. Signed-off-by: Peng Fan --- drivers/power/pmic/bd71837.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/power/pmic/bd71837.c b/drivers/power/pmic/bd71837.c index e292d42a8c..2e04298273 100644 ---

Re: [U-Boot] [PATCH v2 14/38] spi: Add support for memory-mapped flash

2019-10-16 Thread Vignesh Raghavendra
Hi Simon, On 12/10/19 10:03 AM, Bin Meng wrote: > Hi Simon, > > On Sat, Oct 12, 2019 at 11:08 AM Simon Glass wrote: >> >> Hi Bin, >> >> On Wed, 9 Oct 2019 at 07:55, Bin Meng wrote: >>> >>> Hi Simon, >>> >>> On Wed, Sep 25, 2019 at 10:12 PM Simon Glass wrote: On x86 platforms the SPI

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

2019-10-16 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. Reviewed-by: Oleksandr Suvorov Reviewed-by:

Re: [U-Boot] [PATCH v2 6/9] mpc85xx, socrates: disable VIDEO

2019-10-16 Thread Heiko Schocher
Hello Priyanka Jain, Am 16.10.2019 um 09:20 schrieb Heiko Schocher: Hello Priyanka Jain, Am 16.10.2019 um 08:56 schrieb Priyanka Jain: -Original Message- From: U-Boot On Behalf Of Heiko Schocher Sent: Wednesday, October 16, 2019 9:26 AM To: U-Boot Mailing List Subject: [U-Boot]

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

2019-10-16 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

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

2019-10-16 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 06/10] arm: dts: imx8mm: sync dts from Linux Kernel

2019-10-16 Thread Peng Fan
Sync dts for i.MX8MM from Linux Kernel 5.4.0-rc1 Signed-off-by: Peng Fan --- arch/arm/dts/imx8mm-evk-u-boot.dtsi | 2 +- arch/arm/dts/imx8mm-evk.dts | 285 +++- arch/arm/dts/imx8mm.dtsi| 222 ++-- 3 files changed, 459

[U-Boot] [PATCH 05/10] dt-bindings: import usb pd

2019-10-16 Thread Peng Fan
Import usb pd bindings from Linux 5.4.0-rc1. This file will be included by imx8mm-evk.dts. Signed-off-by: Peng Fan --- include/dt-bindings/usb/pd.h | 88 1 file changed, 88 insertions(+) create mode 100644 include/dt-bindings/usb/pd.h diff --git

[U-Boot] [PATCH 09/10] imx8m: evk: spl: probe clk in spl early stage

2019-10-16 Thread Peng Fan
We are going to add i2c pmic support before dram could be used. So we need enable clk driver earlier, so use spl_early_init and move clock controller probe eariler to board_init_f. Signed-off-by: Peng Fan --- board/freescale/imx8mm_evk/spl.c | 22 +++--- 1 file changed, 11

[U-Boot] [PATCH 04/10] imx: spl: implement spl_boot_mode for i.MX7/8/8M

2019-10-16 Thread Peng Fan
It will be easy to separate SD/EMMC when booting in SPL stage, then no need to bother which device is BOOT_DEVICE_MMC1/2. Signed-off-by: Peng Fan --- arch/arm/mach-imx/spl.c | 29 + 1 file changed, 29 insertions(+) diff --git a/arch/arm/mach-imx/spl.c

[U-Boot] [PATCH 03/10] imx: imx8mq: add init_nand_clk

2019-10-16 Thread Peng Fan
Add init_nand_clk to enable gpmi nand clock. Since i.MX8MQ not use CCF, so we still use legacy mode to configure the clock. Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-imx8m/clock_imx8mq.h | 2 ++ arch/arm/mach-imx/imx8m/clock_imx8mq.c | 9 + 2 files changed, 11

[U-Boot] [PATCH] arm: freescale: ls102xa: add helper Macro to get the SVR

2019-10-16 Thread Pankaj Bansal
32 bit System Version Register (SVR) in NXP SOCs contains information about SOC such as: 1. SOC type (bits 8 - 31) 2. SOC Major Revision (bits 4 - 7) 3. SOC Minor Revision (bits 0 - 3) This Macro (SVR_DEV) strips the Major and Minor revision info, so that SOC can be correctly identified. This

Re: [U-Boot] [PATCH] nvme: add more cache flushes

2019-10-16 Thread Bin Meng
On Mon, Oct 14, 2019 at 7:11 PM Patrick Wildt wrote: > > On an i.MX8MQ our nvme driver doesn't completely work since we are > missing a few cache flushes. One is the prp list, which is an extra > buffer that we need to flush before handing it to the hardware. Also > the block read/write

[U-Boot] [PATCH 01/10] imx8m: imx8mq: get chip rev for B1 revision

2019-10-16 Thread Peng Fan
The i.MX8MQ B1 uses OCOTP_HW_OCOTP_READ_FUSE_DATA register for chip id. It returns a magic number 0xff0055aa. update get_cpu_rev to support it, and enable ocotp clock to access ocotp. Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/clock_imx8mq.c | 1 + arch/arm/mach-imx/imx8m/soc.c

[U-Boot] [PATCH 02/10] imx8m: clock: improve irq response latency

2019-10-16 Thread Peng Fan
Improve the IRQ response latency by setting GIC root clock source to sys_pll2_200m from osc. Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/clock_imx8mq.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-imx/imx8m/clock_imx8mq.c

Re: [U-Boot] [PATCH v2 6/9] mpc85xx, socrates: disable VIDEO

2019-10-16 Thread Priyanka Jain
>-Original Message- >From: Heiko Schocher >Sent: Wednesday, October 16, 2019 4:11 PM >To: Priyanka Jain >Cc: U-Boot Mailing List >Subject: Re: [U-Boot] [PATCH v2 6/9] mpc85xx, socrates: disable VIDEO > >Hello Priyanka Jain, > >Am 16.10.2019 um 09:20 schrieb Heiko Schocher: >> Hello

Re: [U-Boot] [PATCH v2 6/9] mpc85xx, socrates: disable VIDEO

2019-10-16 Thread Heiko Schocher
Hello Priyanka Jain, Am 16.10.2019 um 12:47 schrieb Priyanka Jain: -Original Message- From: Heiko Schocher Sent: Wednesday, October 16, 2019 4:11 PM To: Priyanka Jain Cc: U-Boot Mailing List Subject: Re: [U-Boot] [PATCH v2 6/9] mpc85xx, socrates: disable VIDEO Hello Priyanka

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

2019-10-16 Thread Pankaj Bansal
SVR values for various nxp SOCs are defined in asm/arch/soc.h we can use these values in any peripheral driver. we need not to redefine these values in peripheral driver, as this becomes difficult to manage (add or change new values) Signed-off-by: Pankaj Bansal --- Notes: V2: - fixed

[U-Boot] [PATCH 1/1] virtio: pci: use correct type in virtio_pci_bind()

2019-10-16 Thread Heinrich Schuchardt
For printing as %u we should use an unsigned int. Signed-off-by: Heinrich Schuchardt --- drivers/virtio/virtio_pci_legacy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/virtio/virtio_pci_legacy.c b/drivers/virtio/virtio_pci_legacy.c index 08764ee6f2..202e5ab1d3

Re: [U-Boot] [PATCH 36/37] dm: pmic: add da9063 PMIC driver and regulators

2019-10-16 Thread Martin Fuzzey
Hi Robert, On 16/10/2019 13:11, Robert Beckett wrote: Huh, I had not seen that. Martin's versions looks more complete than mine, so I would say go with that one. Martin: any objections to including your patches in here? I dont mind pushing it through and handling any review comments etc. I am

[U-Boot] [PATCH 5/6] powerpc: t104x: dts: Added Sata DT nodes

2019-10-16 Thread Peng Ma
This patch is to add sata node for T104x platform Signed-off-by: Peng Ma --- arch/powerpc/dts/t104x.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/t104x.dtsi b/arch/powerpc/dts/t104x.dtsi index 5998967..fe6cc3c 100644 --- a/arch/powerpc/dts/t104x.dtsi +++

[U-Boot] [PATCH 6/6] powerpc: t4240: dts: Added Sata DT nodes

2019-10-16 Thread Peng Ma
This patch is to add sata node for T4240 platform Signed-off-by: Peng Ma --- arch/powerpc/dts/t4240.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/t4240.dtsi b/arch/powerpc/dts/t4240.dtsi index fc34974..3bda2fa 100644 --- a/arch/powerpc/dts/t4240.dtsi +++

[U-Boot] [PATCH 2/6] powerpc: p3041: dts: Added Sata DT nodes

2019-10-16 Thread Peng Ma
This patch is to add sata node for P3041 platform Signed-off-by: Peng Ma --- arch/powerpc/dts/p3041.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/p3041.dtsi b/arch/powerpc/dts/p3041.dtsi index 197896d..23bde81 100644 --- a/arch/powerpc/dts/p3041.dtsi +++

[U-Boot] [PATCH 00/10] Enable i.MX8MM EVK BD71837 pmic

2019-10-16 Thread Peng Fan
This patch is to enable BD71837 pmic for i.MX8MM EVK. Two i.MX8MQ patches are also included. Peng Fan (10): imx8m: imx8mq: get chip rev for B1 revision imx8m: clock: improve irq response latency imx: imx8mq: add init_nand_clk imx: spl: implement spl_boot_mode for i.MX7/8/8M dt-bindings:

Re: [U-Boot] [PATCH 36/37] dm: pmic: add da9063 PMIC driver and regulators

2019-10-16 Thread Robert Beckett
On Wed, 2019-10-16 at 07:24 +, Schrempf Frieder wrote: > Hi Robert, > > On 15.10.19 17:53, Robert Beckett wrote: > > Add DM driver to support Dialog DA9063. > > Currently it support binding regulator children. > > > > Signed-off-by: Robert Beckett > > I also have a board with DA9063 and

Re: [U-Boot] [PATCH 2/3] ARM: imx: Fix bmode detection from grp10

2019-10-16 Thread Fabio Estevam
Hi Claudius, On Wed, Oct 16, 2019 at 10:28 AM Claudius Heine wrote: > > imx6_is_bmode_from_gpr10 always returns false, because > IMX6_SRC_GPR10_BMODE is 1<<28 and gets casted to u8 on return. > > Instead cast them to a boolean value before return of the function. > > Signed-off-by: Claudius

Re: [U-Boot] [PATCH 1/1] virtio: pci: use correct type in virtio_pci_bind()

2019-10-16 Thread Bin Meng
On Wed, Oct 16, 2019 at 6:59 PM Heinrich Schuchardt wrote: > > For printing as %u we should use an unsigned int. > > Signed-off-by: Heinrich Schuchardt > --- > drivers/virtio/virtio_pci_legacy.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH v2 4/4] test: dm: spi: Fix sandbox dm_test_spi_find()

2019-10-16 Thread Jagan Teki
On Mon, Sep 9, 2019 at 6:30 PM Bin Meng wrote: > > Per sandbox_cs_info(), sandbox spi controller only supports chip > select 0. Current test case tries to locate devices on chip select > 1, and any call to spi_get_bus_and_cs() or spi_cs_info() with cs > number 1 should not return 0. > > This

Re: [U-Boot] [PATCH v2 3/4] dm: spi: Check cs number before accessing slaves

2019-10-16 Thread Jagan Teki
On Mon, Sep 9, 2019 at 6:30 PM Bin Meng wrote: > > Add chip select number check in spi_find_chip_select(). Since we discussed the cs check to common call in spi_find_chip_select. Would you please add some more commit description. > > Signed-off-by: Bin Meng > > --- Tested-by: Jagan Teki #

Re: [U-Boot] [PATCH v2 1/4] dm: spi: Return 0 if driver does not implement ops->cs_info

2019-10-16 Thread Jagan Teki
On Mon, Sep 9, 2019 at 6:30 PM Bin Meng wrote: > > If an SPI controller driver does not implement ops->cs_info, that > probably means any chip select number could be valid, hence let's > return 0 for spi_cs_info(). > > Signed-off-by: Bin Meng > Reviewed-by: Jagan Teki > > --- Applied to

Re: [U-Boot] [PATCH v1 02/11] include: time.h: define time64_t

2019-10-16 Thread Heinrich Schuchardt
On 10/17/19 7:39 AM, AKASHI Takahiro wrote: On Sat, Oct 12, 2019 at 01:40:32PM +0200, Heinrich Schuchardt wrote: On 10/11/19 9:41 AM, AKASHI Takahiro wrote: Adding time64_t definition will help improve portability of linux kernel code (in my case, lib/crypto/x509_cert_parser.c).

Re: [U-Boot] [PATCH v1 02/11] include: time.h: define time64_t

2019-10-16 Thread AKASHI Takahiro
On Sat, Oct 12, 2019 at 01:40:32PM +0200, Heinrich Schuchardt wrote: > On 10/11/19 9:41 AM, AKASHI Takahiro wrote: > >Adding time64_t definition will help improve portability of linux kernel > >code (in my case, lib/crypto/x509_cert_parser.c). > > > >Signed-off-by: AKASHI Takahiro > >--- > >

[U-Boot] [PATCH] arm: dts: k3-am65: Add R5F ranges in interconnect nodes

2019-10-16 Thread Lokesh Vutla
From: Suman Anna Add the address spaces for the R5F cores in MCU domain to the ranges property of the cbass_mcu interconnect node so that the addresses within the R5F nodes can be translated properly by the relevant OF address API. Signed-off-by: Suman Anna Signed-off-by: Lokesh Vutla --- -

Re: [U-Boot] [PATCH v1 01/11] linux_compat: add kmemdup()

2019-10-16 Thread AKASHI Takahiro
On Sat, Oct 12, 2019 at 01:22:15PM +0200, Heinrich Schuchardt wrote: > On 10/11/19 9:41 AM, AKASHI Takahiro wrote: > >Adding kmemdup() will help improve portability from linux kernel > >code (in my case, lib/crypto/x509_cert_parser.c and pkcs7_parser.c). > > > >Signed-off-by: AKASHI Takahiro >

  1   2   >