Re: [U-Boot] [PATCH] doc: add full path to patman README

2019-08-23 Thread Simon Glass
On Mon, 19 Aug 2019 at 12:00, Ralph Siemsen wrote: > > Make it a little easier to find the documentation. > > Signed-off-by: Ralph Siemsen > --- > > doc/driver-model/spi-howto.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Simon Glass

Re: [U-Boot] Travis test/py sandbox_spl test fail

2019-08-23 Thread Simon Glass
Hi Kever, On Mon, 19 Aug 2019 at 19:53, Kever Yang wrote: > > Hi Stephen, > > On 2019/8/20 上午1:34, Stephen Warren wrote: > > On 8/18/19 7:01 PM, Kever Yang wrote: > >> Hi Simon, Stephen, > >> > >> Could you help to comment on my other mail, which patch cause > >> this failure. > > > > If

Re: [U-Boot] [ANN] U-Boot v2019.10-rc2 released

2019-08-23 Thread David Abdurachmanov
On Wed, Aug 21, 2019 at 1:24 AM Peter Robinson wrote: > > Hi Simon, > > > It's the day after the scheduled release day, and here is v2019.10-rc2. > > It took me a while to confirm that the riscv PR was causing the issue I > > saw, and I got extra paranoid about testing all of the other PRs to be

[U-Boot] Pull request: u-boot-rockchip-20190823

2019-08-23 Thread Kever Yang
://gitlab.denx.de/u-boot/custodians/u-boot-rockchip.git tags/u-boot-rockchip-20190823 for you to fetch changes up to cbd298b6ee78f3a1187798a30ecdca339df8c65d: evb_rk3399: revert CONFIG_SYS_MMC_ENV_DEV to 0 (2019-08-23 18:15:31 +0800) Kever Yang

Re: [U-Boot] [PATCH] Add the submit_int_msg nonblock argument in musb_hcd.c

2019-08-23 Thread Michal Suchánek
On Fri, 23 Aug 2019 23:11:44 +0200 Marek Vasut wrote: > On 8/23/19 10:41 PM, Michal Suchanek wrote: > > Signed-off-by: Michal Suchanek > > --- > > drivers/usb/musb/musb_hcd.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > Can you squash this to [4/5] or do you want to

Re: [U-Boot] [PATCH V3 3/4] clk: support clk tree dump

2019-08-23 Thread Simon Glass
Hi Peng, On Wed, 21 Aug 2019 at 07:35, Peng Fan wrote: > > The previous code only dump the clk list. This patch is > to support clk tree dump, and also dump the enable_cnt. > > The code used in patch is similar to dm_dump_all, but > the code here only filter out the UCLASS_CLK devices. > > On

Re: [U-Boot] [PATCH V3 4/4] sandbox: clk: add clk enable/disable test code

2019-08-23 Thread Simon Glass
On Wed, 21 Aug 2019 at 07:35, Peng Fan wrote: > > Since we added clk enable_count and prograte clk child enabling > operation to clk parent, so add a new function sandbox_clk_enable_count > to get enable_count for test usage. > > And add test code to get the enable_count after we enable/disable >

Re: [U-Boot] [PATCH V3 1/4] clk: introduce enable_count

2019-08-23 Thread Simon Glass
Hi Peng, On Wed, 21 Aug 2019 at 07:35, Peng Fan wrote: > > As what Linux Kernel 5.3.0 provides when enable/disable clk, > there is an enable_count in clk_core_disable/enable. Introduce > enable_count to track the clk enable/disable count when > clk_enable/disable for CCF. And Initialize

Re: [U-Boot] [PATCH] Add the submit_int_msg nonblock argument in musb_hcd.c

2019-08-23 Thread Marek Vasut
On 8/23/19 10:41 PM, Michal Suchanek wrote: > Signed-off-by: Michal Suchanek > --- > drivers/usb/musb/musb_hcd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > Can you squash this to [4/5] or do you want to respin? Squashed and pushed, please check if it's OK.

Re: [U-Boot] [PATCH 1/2] sunxi: fix support board-specific CONFIG_PREBOOT

2019-08-23 Thread Lukasz Majewski
Hi Jonas, > Quoting Lukasz Majewski (2019-08-23 10:37:28) > > On Sun, 18 Aug 2019 17:16:06 +0200 > > Jonas Smedegaard wrote: > > > > > commit 37304aaf60bf ("Convert CONFIG_USE_PREBOOT and > > > CONFIG_PREBOOT to Kconfig") intended to support CONFIG_PREBOOT, > > > but

Re: [U-Boot] [PATCH v2 4/4] spi: Convert CONFIG_DM_SPI* to CONFIG_$(SPL_TPL_)DM_SPI*

2019-08-23 Thread Tom Rini
On Fri, Aug 23, 2019 at 11:02:27PM +0200, Lukasz Majewski wrote: > Hi Tom, > > > On Tue, Aug 13, 2019 at 03:47:31PM +0200, Lukasz Majewski wrote: > > > This change allows more fine tuning of driver model based SPI > > > support in SPL and TPL. It is now possible to explicitly > > > enable/disable

[U-Boot] [PATCH 4/4] ci: add envtools support

2019-08-23 Thread Pierre-Jean Texier
This commit add envtools suppport to CI to verify if there is no build issues. Signed-off-by: Pierre-Jean Texier --- .gitlab-ci.yml | 7 +++ .travis.yml| 4 2 files changed, 11 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 84e79bf..a1c5b4f 100644 ---

[U-Boot] [PATCH 3/4] env: add missing header file

2019-08-23 Thread Pierre-Jean Texier
Since commit af95f20 ("env: Create a new file for environment functions"), a new header file exists. So, this commit add a missing header file. Fixes: include/env.h:158:1: error: unknown type name ‘ulong’; did you mean ‘long’? ulong env_get_ulong(const char *name, int base, ulong default_val);

[U-Boot] [PATCH 1/4] fw_env: remove duplicated definitions

2019-08-23 Thread Pierre-Jean Texier
Since commit d3716dd ("env: Rename the redundancy flags"), the definitions of ENV_REDUND_OBSOLETE & ENV_REDUND_ACTIVE was moved to env.h. Fixes: tools/env/fw_env.c:122:22: error: ‘ENV_REDUND_ACTIVE’ redeclared as different kind of symbol static unsigned char ENV_REDUND_ACTIVE = 1;

[U-Boot] [PATCH 2/4] fw_env: fix build error

2019-08-23 Thread Pierre-Jean Texier
The following error appears: tools/env/fw_env.c:1149:25: error: lvalue required as unary ‘&’ operand rc = write(fd, _REDUND_OBSOLETE, sizeof(ENV_REDUND_OBSOLETE)); Fixes: d3716dd ("env: Rename the redundancy flags") Signed-off-by: Pierre-Jean Texier --- tools/env/fw_env.c | 2 +- 1 file

[U-Boot] [PATCH 0/4] env: fix build error for envtools

2019-08-23 Thread Pierre-Jean Texier
Here is a set of patches that fixes envtools breakage introduced after v2019.10-rc2. This serie also adds envtools to travis CI and gitlab-ci. This was tested on WaRP7. Before this serie: - https://travis-ci.com/texierp/u-boot/jobs/227669967 After this serie: -

Re: [U-Boot] [PATCH v2 4/4] spi: Convert CONFIG_DM_SPI* to CONFIG_$(SPL_TPL_)DM_SPI*

2019-08-23 Thread Lukasz Majewski
Hi Tom, > On Tue, Aug 13, 2019 at 03:47:31PM +0200, Lukasz Majewski wrote: > > This change allows more fine tuning of driver model based SPI > > support in SPL and TPL. It is now possible to explicitly > > enable/disable the DM_SPI support in SPL and TPL via Kconfig option. > > > > Before this

[U-Boot] [PATCH] Add the submit_int_msg nonblock argument in musb_hcd.c

2019-08-23 Thread Michal Suchanek
Signed-off-by: Michal Suchanek --- drivers/usb/musb/musb_hcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Can you squash this to [4/5] or do you want to respin? Thanks Michal diff --git a/drivers/usb/musb/musb_hcd.c b/drivers/usb/musb/musb_hcd.c index 1f2805270aa3..ba4c206ccfdb

Re: [U-Boot] [PATCH] net: macb: Fix rx buffer cache handling

2019-08-23 Thread Ramon Fried
> > > Should it be: > > > > > >flush_dcache_range(macb->rx_buffer_dma, macb->rx_buffer_dma + > > > ALIGN(macb->rx_buffer_size * > > > MACB_RX_RING_SIZE, PKTALIGN)); > > > > Yes, this looks correct. v2 will follow soon. > > > > Thanks, > > Stefan > The entire

Re: [U-Boot] [U-Boot-Custodians] [RFC] enforce CONFIG_DM=y

2019-08-23 Thread Tom Rini
On Fri, Aug 23, 2019 at 08:49:29PM +0200, Marek Vasut wrote: > On 8/23/19 1:35 PM, Heinrich Schuchardt wrote: > > On 8/23/19 12:49 PM, Marek Vasut wrote: > >> On 8/13/19 11:53 AM, Marek Vasut wrote: > >>> On 8/13/19 11:34 AM, Simon Glass wrote: > On Fri, 9 Aug 2019 at 12:39, Heinrich

Re: [U-Boot] [U-Boot-Custodians] [RFC] enforce CONFIG_DM=y

2019-08-23 Thread Marek Vasut
On 8/23/19 1:35 PM, Heinrich Schuchardt wrote: > On 8/23/19 12:49 PM, Marek Vasut wrote: >> On 8/13/19 11:53 AM, Marek Vasut wrote: >>> On 8/13/19 11:34 AM, Simon Glass wrote: On Fri, 9 Aug 2019 at 12:39, Heinrich Schuchardt wrote: > > The time lines set force in

Re: [U-Boot] [PATCH v2 0/5] usb: kbd: implement special keys

2019-08-23 Thread Marek Vasut
On 8/23/19 8:20 PM, Heinrich Schuchardt wrote: > On 8/10/19 11:24 AM, Heinrich Schuchardt wrote: >> GRUB uses function keys. So we should support these with an USB keyboard. >> Provide support for F1-F12, Insert, Delete, Home, End, Page Up, Page >> Down. >> Simplify the code beforehand. >> >>

Re: [U-Boot] [PATCH v5 1/5] usb_kdb: only process events successfully received

2019-08-23 Thread Marek Vasut
On 8/18/19 10:55 AM, Michal Suchanek wrote: > Causes unbound key repeat on error otherwise. > > Signed-off-by: Michal Suchanek > --- > v2: fix indentation > v4: fix ! condition to >= 0 > v5: fix commit message typo The series still fails to build:

Re: [U-Boot] [PATCH v2 0/5] usb: kbd: implement special keys

2019-08-23 Thread Heinrich Schuchardt
On 8/10/19 11:24 AM, Heinrich Schuchardt wrote: GRUB uses function keys. So we should support these with an USB keyboard. Provide support for F1-F12, Insert, Delete, Home, End, Page Up, Page Down. Simplify the code beforehand. Enhance the keyboard unit test. v2: enhance the keyboard

Re: [U-Boot] [PATCH 2/2] efi_loader: device_path: support Sandbox's "host" devices

2019-08-23 Thread Heinrich Schuchardt
On 8/23/19 1:34 AM, AKASHI Takahiro wrote: On Thu, Aug 22, 2019 at 08:19:24PM +0200, Heinrich Schuchardt wrote: On 8/22/19 10:54 AM, AKASHI Takahiro wrote: Sandbox's "host" devices are currently described as UCLASS_ROOT udevice with DEV_IF_HOST block device. As the current implementation of

Re: [U-Boot] [PATCH v2 4/4] spi: Convert CONFIG_DM_SPI* to CONFIG_$(SPL_TPL_)DM_SPI*

2019-08-23 Thread Tom Rini
On Tue, Aug 13, 2019 at 03:47:31PM +0200, Lukasz Majewski wrote: > This change allows more fine tuning of driver model based SPI support in > SPL and TPL. It is now possible to explicitly enable/disable the DM_SPI > support in SPL and TPL via Kconfig option. > > Before this change it was

[U-Boot] [PATCH 5/5] doc: rockchip: use idbloader.img for rk3399

2019-08-23 Thread Matwey V. Kornilov
Makefile now produces ready-to-deploy idbloader.img file. u-boot has support for TPL at rk3399 platform for all boards, so there is not reason to refer binary loaders. Signed-off-by: Matwey V. Kornilov --- doc/README.rockchip | 6 -- 1 file changed, 6 deletions(-) diff --git

[U-Boot] [PATCH 4/5] doc: lion_rk3368: use idbloader.img for rk3368

2019-08-23 Thread Matwey V. Kornilov
Makefile now produces ready-to-deploy idbloader.img file. Signed-off-by: Matwey V. Kornilov --- board/theobroma-systems/lion_rk3368/README | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/board/theobroma-systems/lion_rk3368/README

[U-Boot] [PATCH 1/5] rockchip, Makefile: add idbloader.img target

2019-08-23 Thread Matwey V. Kornilov
Many Rockchip platforms require the same u-boot deploy procedure when TPL and SPL both enabled. The following examples are taken from doc/README.rockchip and board/theobroma-systems/lion_rk3368/README: RK3288: ./tools/mkimage -n rk3288 -T rksd -d ./tpl/u-boot-tpl.bin out cat

[U-Boot] [PATCH 3/5] doc: rockchip: use idbloader.img for rk3328

2019-08-23 Thread Matwey V. Kornilov
Makefile now produces ready-to-deploy idbloader.img file. Signed-off-by: Matwey V. Kornilov --- doc/README.rockchip | 5 - 1 file changed, 5 deletions(-) diff --git a/doc/README.rockchip b/doc/README.rockchip index 6e58cfde49..401dc19d91 100644 --- a/doc/README.rockchip +++

[U-Boot] [PATCH 2/5] doc: rockchip: use idbloader.img for rk3288

2019-08-23 Thread Matwey V. Kornilov
Makefile now produces ready-to-deploy idbloader.img file. Signed-off-by: Matwey V. Kornilov --- doc/README.rockchip | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/doc/README.rockchip b/doc/README.rockchip index 7d4dc1b33b..6e58cfde49 100644 --- a/doc/README.rockchip +++

[U-Boot] [PATCH 0/5] Introduce idbloader.img target for Makefile

2019-08-23 Thread Matwey V. Kornilov
Rockchip SoCs reqire the following deployment procedure for TPL/SPL: ./tools/mkimage -n rk3328 -T rksd -d ./tpl/u-boot-tpl.bin idbloader.img cat ./spl/u-boot-spl-dtb.bin >> idbloader.img dd if=idbloader.img of=/dev/mmcblk0 seek=64 The series is organized as the following. First patch

[U-Boot] [PATCH v2] sunxi: H6: DRAM: Add support for half DQ

2019-08-23 Thread Jernej Skrabec
Half DQ configuration seems to be very rare for H6 based boards/STBs, but exists nevertheless. Currently the only known product which needs this support is Tanix TX6 mini. This commit adds support for half DQ configuration. Code was tested for regressions on other configurations (OrangePi 3 1

[U-Boot] [PATCH v1 2/2] apalis_imx6: use distroboot by default

2019-08-23 Thread Igor Opaniuk
From: Igor Opaniuk Use distro_bootcmd as defauult bootcmd instead of legacy wrappers. Signed-off-by: Igor Opaniuk --- include/configs/apalis_imx6.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h index

[U-Boot] [PATCH v1 1/2] colibri_imx6/imx7/imx8x: use distroboot by default

2019-08-23 Thread Igor Opaniuk
From: Igor Opaniuk Use distro_bootcmd as defauult bootcmd instead of legacy wrappers. Signed-off-by: Igor Opaniuk --- include/configs/colibri-imx8x.h | 1 + include/configs/colibri_imx6.h | 4 ++-- include/configs/colibri_imx7.h | 5 +++-- 3 files changed, 6 insertions(+), 4 deletions(-)

Re: [U-Boot] [PATCH] net: macb: Fix rx buffer cache handling

2019-08-23 Thread Ramon Fried
On Fri, Aug 23, 2019 at 1:37 PM Stefan Roese wrote: > > Hi Bin, > > On 23.08.19 11:22, Bin Meng wrote: > > On Fri, Aug 23, 2019 at 5:17 PM Bin Meng wrote: > >> > >> Hi Stefan, > >> > >> On Fri, Aug 23, 2019 at 5:02 PM Stefan Roese wrote: > >>> > >>> With commit c6d07bf440bc ("net/macb: increase

Re: [U-Boot] [PATCH] net: macb: Fix rx buffer cache handling

2019-08-23 Thread Ramon Fried
On Fri, Aug 23, 2019 at 12:22 PM Bin Meng wrote: > > On Fri, Aug 23, 2019 at 5:17 PM Bin Meng wrote: > > > > Hi Stefan, > > > > On Fri, Aug 23, 2019 at 5:02 PM Stefan Roese wrote: > > > > > > With commit c6d07bf440bc ("net/macb: increase RX buffer size for GEM") > > > ethernet support does not

[U-Boot] [PATCH 3/3] imx: nandbcb: include long help only when enabled

2019-08-23 Thread Parthiban Nallathambi
conditionally include long help text when enabled Signed-off-by: Parthiban Nallathambi --- arch/arm/mach-imx/cmd_nandbcb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-imx/cmd_nandbcb.c b/arch/arm/mach-imx/cmd_nandbcb.c index 065b814b2e..7811c61d22 100644 ---

[U-Boot] [PATCH 2/3] imx: initialize fec only when enabled

2019-08-23 Thread Parthiban Nallathambi
board early initialize fec ethernet controller pinmux only when FEC is enabled Signed-off-by: Parthiban Nallathambi --- board/phytec/pcl063/pcl063.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/phytec/pcl063/pcl063.c b/board/phytec/pcl063/pcl063.c index f8cbd1c11e..96dd9e38f3

[U-Boot] [PATCH 1/3] imx: remove board specific boot order from spl

2019-08-23 Thread Parthiban Nallathambi
boot order was added to handle both SD and eMMC. But commit 14d319b1 introduced to handle both eMMC and SD globally. Signed-off-by: Parthiban Nallathambi --- board/phytec/pcl063/spl.c | 23 --- 1 file changed, 23 deletions(-) diff --git a/board/phytec/pcl063/spl.c

[U-Boot] [PATCH v2 1/2] i.MX6: nand: extend nandbcb command for imx6UL(L)

2019-08-23 Thread Parthiban Nallathambi
Firmware Configuration Block(FCB) for imx6ul(l) needs to be BCH encoded. This patch depends on [1]. [1]: https://patchwork.ozlabs.org/project/uboot/list/?series=113810 Signed-off-by: Parthiban Nallathambi Acked-by: Shyam Saini --- Notes: Changes in v2: - use kfree instead of free

[U-Boot] [PATCH v2 2/2] imx: pcl063: add nand boot support

2019-08-23 Thread Parthiban Nallathambi
Booting from NAND needs nandbcb and nand boot device selection Signed-off-by: Parthiban Nallathambi --- Notes: Changes in v2: - None board/phytec/pcl063/spl.c| 3 +++ configs/phycore_pcl063_defconfig | 1 + 2 files changed, 4 insertions(+) diff --git

Re: [U-Boot] [PATCH 1/2] sunxi: fix support board-specific CONFIG_PREBOOT

2019-08-23 Thread Jonas Smedegaard
Quoting Lukasz Majewski (2019-08-23 10:37:28) > On Sun, 18 Aug 2019 17:16:06 +0200 > Jonas Smedegaard wrote: > > > commit 37304aaf60bf ("Convert CONFIG_USE_PREBOOT and CONFIG_PREBOOT to > > Kconfig") intended to support CONFIG_PREBOOT, but > > include/configs/sunxi-common.h hardcodes preboot as

Re: [U-Boot] [PATCH 1/3] dm: pcie_fsl: Fix workaround of P4080 erratum A003

2019-08-23 Thread Z.q. Hou
Hi Bin, Thanks a lot for your comments! > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: 2019年8月23日 11:15 > To: Z.q. Hou > Cc: U-Boot Mailing List ; Prabhakar Kushwaha > > Subject: Re: [U-Boot] [PATCH 1/3] dm: pcie_fsl: Fix workaround of P4080 > erratum A003 >

[U-Boot] [PATCH] MAINTAINERS,board/siemens: update maintainer

2019-08-23 Thread Samuel Egli
Signed-off-by: Samuel Egli Acked-by: Roger Meier Cc: Heiko Schocher --- board/siemens/draco/MAINTAINERS | 2 +- board/siemens/pxm2/MAINTAINERS | 2 +- board/siemens/rut/MAINTAINERS | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/siemens/draco/MAINTAINERS

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

2019-08-23 Thread Prabhakar Kushwaha
++ Xiaowei Bao (he is taking over from Chuanhua) > -Original Message- > From: Wolfgang Denk > Sent: Friday, August 23, 2019 3:05 PM > To: Chuanhua Han > Cc: albert.u.b...@aribaud.net; Prabhakar Kushwaha > ; Priyanka Jain ; > Rajesh Bhagat ; u-boot@lists.denx.de; > lu...@denx.de;

Re: [U-Boot] [PATCH v4 1/4] rtc: ds3232/ds3231: Add support to generate 32KHz output for driver module

2019-08-23 Thread Prabhakar Kushwaha
++ Xiaowei Bao (he is taking over from Chuanhua) > -Original Message- > From: Wolfgang Denk > Sent: Friday, August 23, 2019 2:53 PM > To: Chuanhua Han > Cc: albert.u.b...@aribaud.net; Prabhakar Kushwaha > ; Priyanka Jain ; > Rajesh Bhagat ; u-boot@lists.denx.de; > lu...@denx.de;

Re: [U-Boot] [PATCH 1/2] dm: core: Add functions to read 64-bit dt properties

2019-08-23 Thread T Karthik Reddy
Hi Bin Meng, > -Original Message- > From: Bin Meng > Sent: Friday, August 23, 2019 8:58 AM > To: Michal Simek > Cc: U-Boot Mailing List ; T Karthik Reddy > ; git > Subject: Re: [U-Boot] [PATCH 1/2] dm: core: Add functions to read 64-bit dt > properties > > Hi Michal, > > On Thu, Aug

[U-Boot] [RFC PATCH v2 1/2] drivers: net: Add a driver for the Felix Ethernet switch on NXP LS1028A

2019-08-23 Thread Alex Marginean
The driver sets up the switch at probe allowing traffic though. Both the switch as a whole and the ports are registered as network devices in U-Boot, although neither supports direct I/O in this version. Traffic can originate from SoC though one of the internally linked ENETC interfaces,

[U-Boot] [RFC PATCH v2 0/2] Add a driver for the Felix Ethernet switch on NXP LS1028A

2019-08-23 Thread Alex Marginean
The driver sets up the switch during probe making external and internal ports available to use. It does not support direct I/O through these switch ports in this version and I'm not sure that is a feature useful in U-Boot. Instead ENETC ethernet interfaces that are internally linked to the

[U-Boot] [RFC PATCH v2 2/2] arm: dts: ls1028a: add node for the integrated Ethernet switch

2019-08-23 Thread Alex Marginean
Adds a device tree node to ls1028a dtsi that describes the Ethernet switch integrated in LS1028A SoC. Signed-off-by: Alex Marginean --- arch/arm/dts/fsl-ls1028a-rdb.dts | 36 arch/arm/dts/fsl-ls1028a.dtsi| 31 +++ 2 files changed, 67

Re: [U-Boot] [U-Boot-Custodians] [RFC] enforce CONFIG_DM=y

2019-08-23 Thread Heinrich Schuchardt
On 8/23/19 12:49 PM, Marek Vasut wrote: > On 8/13/19 11:53 AM, Marek Vasut wrote: >> On 8/13/19 11:34 AM, Simon Glass wrote: >>> On Fri, 9 Aug 2019 at 12:39, Heinrich Schuchardt wrote: The time lines set force in doc/driver-model/migration.rst for different subsystems to move to

Re: [U-Boot] [U-Boot-Custodians] [RFC] enforce CONFIG_DM=y

2019-08-23 Thread Marek Vasut
On 8/13/19 11:53 AM, Marek Vasut wrote: > On 8/13/19 11:34 AM, Simon Glass wrote: >> On Fri, 9 Aug 2019 at 12:39, Heinrich Schuchardt wrote: >>> >>> The time lines set force in doc/driver-model/migration.rst for different >>> subsystems to move to the driver model have been passed. >>> >>> I ran

[U-Boot] [PATCH v2] net: macb: Fix rx buffer cache handling

2019-08-23 Thread Stefan Roese
With commit c6d07bf440bc ("net/macb: increase RX buffer size for GEM") ethernet support does not work any more with d-cache enabled on the AT91SAM. The reason is, that MACB_RX_BUFFER_SIZE was changed from 4096 to 128 but this change was not refected in the rx_buffer flush and invalidate functions,

Re: [U-Boot] [PATCH] net: macb: Fix rx buffer cache handling

2019-08-23 Thread Stefan Roese
Hi Bin, On 23.08.19 11:22, Bin Meng wrote: On Fri, Aug 23, 2019 at 5:17 PM Bin Meng wrote: Hi Stefan, On Fri, Aug 23, 2019 at 5:02 PM Stefan Roese wrote: With commit c6d07bf440bc ("net/macb: increase RX buffer size for GEM") ethernet support does not work any more with d-cache enabled on

Re: [U-Boot] [PATCH 1/3] arm: socfpga: Convert reset manager from struct to defines

2019-08-23 Thread Marek Vasut
On 8/23/19 11:52 AM, Ley Foon Tan wrote: > On Fri, Aug 23, 2019 at 5:23 PM Marek Vasut wrote: >> >> On 8/23/19 10:57 AM, Ley Foon Tan wrote: >>> On Wed, Aug 21, 2019 at 9:50 AM Ley Foon Tan wrote: On Tue, Aug 20, 2019 at 5:50 PM Marek Vasut wrote: > > On 8/20/19 4:35 AM, Ley

Re: [U-Boot] [PATCH 1/3] arm: socfpga: Convert reset manager from struct to defines

2019-08-23 Thread Ley Foon Tan
On Fri, Aug 23, 2019 at 5:23 PM Marek Vasut wrote: > > On 8/23/19 10:57 AM, Ley Foon Tan wrote: > > On Wed, Aug 21, 2019 at 9:50 AM Ley Foon Tan wrote: > >> > >> On Tue, Aug 20, 2019 at 5:50 PM Marek Vasut wrote: > >>> > >>> On 8/20/19 4:35 AM, Ley Foon Tan wrote: > Convert reset manager

Re: [U-Boot] Question about GPL v3 font

2019-08-23 Thread Wolfgang Denk
Dear Tom, In message <20190726170700.GQ20116@bill-the-cat> you wrote: > > > It was designed in 1987. A subset of Nimbus Sans L were released > > under the GPL. Although the characters are not exactly the same, > > Nimbus Sans L has metrics almost identical to

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

2019-08-23 Thread Kever Yang
On 2019/8/12 下午11:04, Rohan Garg wrote: We should use the shared helpers to setup the necessary parts Signed-off-by: Rohan Garg Reviewed-by: Kever Yang Thanks, - Kever --- .../puma_rk3399/puma-rk3399.c | 108 +++--- 1 file changed, 18 insertions(+), 90

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

2019-08-23 Thread Kever Yang
Hi Rohan, On 2019/8/12 下午11:04, Rohan Garg wrote: 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

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

2019-08-23 Thread Kever Yang
On 2019/8/12 下午11:04, Rohan Garg wrote: This enables us to set a static MAC address Signed-off-by: Rohan Garg Reviewed-by: Kever Yang Thanks, - Kever --- configs/rock-pi-4-rk3399_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/rock-pi-4-rk3399_defconfig

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

2019-08-23 Thread Wolfgang Denk
Dear Chuanhua Han, In message <20190726112403.32842-2-chuanhua@nxp.com> you wrote: > This patch is updating ls2088aqds board init code to support DM_I2C. ... > +struct reg_pair { > + uint addr; > + u8 *val; > +}; > + > static void sgmii_configure_repeater(int serdes_port) > { >

Re: [U-Boot] [PATCH v4 1/4] rtc: ds3232/ds3231: Add support to generate 32KHz output for driver module

2019-08-23 Thread Wolfgang Denk
Dear Chuanhua Han, In message <20190726112403.32842-1-chuanhua@nxp.com> you wrote: > This patch add an implementation of the rtc_enable_32khz_output() that > uses the driver model i2c APIs. ... > + ret = i2c_get_chip_for_busnum(busnum, chip_addr, 1, ); > + if (!ret) > +

Re: [U-Boot] [PATCH 1/3] arm: socfpga: Convert reset manager from struct to defines

2019-08-23 Thread Marek Vasut
On 8/23/19 10:57 AM, Ley Foon Tan wrote: > On Wed, Aug 21, 2019 at 9:50 AM Ley Foon Tan wrote: >> >> On Tue, Aug 20, 2019 at 5:50 PM Marek Vasut wrote: >>> >>> On 8/20/19 4:35 AM, Ley Foon Tan wrote: Convert reset manager for Gen5, Arria 10 and Stratix 10 from struct to defines.

Re: [U-Boot] [PATCH] net: macb: Fix rx buffer cache handling

2019-08-23 Thread Bin Meng
On Fri, Aug 23, 2019 at 5:17 PM Bin Meng wrote: > > Hi Stefan, > > On Fri, Aug 23, 2019 at 5:02 PM Stefan Roese wrote: > > > > With commit c6d07bf440bc ("net/macb: increase RX buffer size for GEM") > > ethernet support does not work any more with d-cache enabled on the > > AT91SAM. The reason

Re: [U-Boot] [PATCH] net: macb: Fix rx buffer cache handling

2019-08-23 Thread Bin Meng
Hi Stefan, On Fri, Aug 23, 2019 at 5:02 PM Stefan Roese wrote: > > With commit c6d07bf440bc ("net/macb: increase RX buffer size for GEM") > ethernet support does not work any more with d-cache enabled on the > AT91SAM. The reason is, that MACB_RX_BUFFER_SIZE was changed from 4096 > to 128 but

[U-Boot] [PATCH] net: macb: Fix rx buffer cache handling

2019-08-23 Thread Stefan Roese
With commit c6d07bf440bc ("net/macb: increase RX buffer size for GEM") ethernet support does not work any more with d-cache enabled on the AT91SAM. The reason is, that MACB_RX_BUFFER_SIZE was changed from 4096 to 128 but this change was not refected in the rx_buffer flush and invalidate functions,

Re: [U-Boot] [PATCH 1/3] arm: socfpga: Convert reset manager from struct to defines

2019-08-23 Thread Ley Foon Tan
On Wed, Aug 21, 2019 at 9:50 AM Ley Foon Tan wrote: > > On Tue, Aug 20, 2019 at 5:50 PM Marek Vasut wrote: > > > > On 8/20/19 4:35 AM, Ley Foon Tan wrote: > > > Convert reset manager for Gen5, Arria 10 and Stratix 10 from struct > > > to defines. > > > No functional change. > > > > > >

Re: [U-Boot] [PATCH 2/3] mmc: fsl_esdhc: clean up code

2019-08-23 Thread Lukasz Majewski
On Mon, 19 Aug 2019 16:27:49 +0800 Yangbo Lu wrote: > /* Return the XFERTYP flags for a given command and data packet */ > -static uint esdhc_xfertyp(struct mmc_cmd *cmd, struct mmc_data *data) > +static uint esdhc_setup_xfertyp(struct mmc_cmd *cmd, struct mmc_data > *data) { > uint

Re: [U-Boot] [PATCH 1/2] sunxi: fix support board-specific CONFIG_PREBOOT

2019-08-23 Thread Lukasz Majewski
On Sun, 18 Aug 2019 17:16:06 +0200 Jonas Smedegaard wrote: > commit 37304aaf60bf ("Convert CONFIG_USE_PREBOOT and CONFIG_PREBOOT to > Kconfig") intended to support CONFIG_PREBOOT, but > include/configs/sunxi-common.h hardcodes preboot as part of internally > defined CONSOLE_STDIN_SETTINGS,

[U-Boot] [PATCH] board: ti: am43xx_evm_usbboot: Enable DM for USB, fix SPL build errors

2019-08-23 Thread sunil . m
From: Suniel Mahesh To address the following warning message: = WARNING == This board does not use CONFIG_DM_USB. Please update the board to use CONFIG_DM_USB before the v2019.07 release. Failure to update by the deadline may result in board removal. See

Re: [U-Boot] [PATCH v2] net/macb: increase RX buffer size for GEM

2019-08-23 Thread Stefan Roese
On 23.08.19 07:54, Ramon Fried wrote: BTW: When I disable the dcache (dcache off), tftp also works fine with this patch. So its definitely something cache / dma related. Thanks for letting me know, I'll be next to a PC tomorrow, I'll look into it. I did look into this patch a bit and did

Re: [U-Boot] [PATCH] net: make net_random_ethaddr() more random

2019-08-23 Thread Michael Walle
Am 2019-08-23 05:17, schrieb Bin Meng: On Fri, Aug 23, 2019 at 6:08 AM Michael Walle wrote: The net_random_ethaddr() tries to get some entropy from different startup times of a board. The seed is initialized with get_timer() which has only a granularity of milliseconds. We can do better if

Re: [U-Boot] [PATCH 1/2] mtd: spi: Add SYS_SPI_BLOCK_SIZE to Kconfig

2019-08-23 Thread Marek Vasut
On 8/23/19 5:29 AM, Chee, Tien Fong wrote: > On Thu, 2019-08-22 at 09:54 +0200, Marek Vasut wrote: >> On 8/22/19 9:40 AM, Chee, Tien Fong wrote: >>> >>> On Mon, 2019-07-29 at 15:48 +0800, tien.fong.c...@intel.com wrote: From: Tien Fong Chee Different SPI flash has different

Re: [U-Boot] [PATCH v5 1/5] spl: dm: disable SPI DM flash for non-DM SPL

2019-08-23 Thread Xiaowei Bao
> -Original Message- > From: Lukasz Majewski > Sent: 2019年8月23日 4:48 > To: Xiaowei Bao > Cc: w...@denx.de; Ruchika Gupta ; Shengzhou Liu > ; ja...@amarulasolutions.com; Prabhakar > Kushwaha ; u-boot@lists.denx.de; Jiafei > Pan ; Chuanhua Han > Subject: Re: [U-Boot] [PATCH v5 1/5] spl:

Re: [U-Boot] [PATCH] cmd: pci: Adjust display of digits for 64bit address and size

2019-08-23 Thread Bin Meng
Hi Kunihiko, On Fri, Aug 23, 2019 at 1:40 PM Kunihiko Hayashi wrote: > > Hi Bin, > > On Fri, 23 Aug 2019 11:43:55 +0800 wrote: > > > Hi Kunihiko, > > > > On Fri, Aug 23, 2019 at 9:57 AM Kunihiko Hayashi > > wrote: > > > > > > The command "pci bar" and "pci region" display the address and size