[U-Boot] [PATCH 1/1] efi_loader: factor our efi_check_register_notify_event()

2019-05-28 Thread Heinrich Schuchardt
The code to check if a registration key is a valid key returned by RegisterProtocolNotify() can be reused. So let us factor it out into a new function efi_check_register_notify_event(). Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 31 +++ 1

[U-Boot] [PATCH 5/5] remoteproc: k3_rproc: Rename to ti_k3_arm64_rproc

2019-05-28 Thread Lokesh Vutla
k3_rproc driver is specifically meant for controlling an arm64 core using TISCI protocol. So rename the driver, Kconfig symbol, compatible and functions accordingly. While at it drop this remoteproc selection for a53 defconfig. Signed-off-by: Lokesh Vutla --- configs/am65x_evm_a53_defconfig

[U-Boot] [PATCH 2/5] cmd: remoteproc: Allow list command to print the probed devices

2019-05-28 Thread Lokesh Vutla
'rproc list' is currently allowed only after probing all the available remoteproc devices. Given that 'rproc init' is updated to probe and initialize devices individually, allow the 'rproc list' command to print all probed devices at any point. Signed-off-by: Lokesh Vutla --- cmd/remoteproc.c |

[U-Boot] [PATCH 4/5] remoteproc: k3_rproc: Update the driver to use ti_sci_proc helpers

2019-05-28 Thread Lokesh Vutla
Update the k3_rproc driver to use the generic ti_sci_proc helper apis which simplifies the driver a bit. Signed-off-by: Lokesh Vutla --- drivers/remoteproc/k3_rproc.c | 79 ++- 1 file changed, 31 insertions(+), 48 deletions(-) diff --git

[U-Boot] [PATCH 3/5] remoteproc: tisci: add TI-SCI processor control helper functions

2019-05-28 Thread Lokesh Vutla
Texas Instruments' K3 generation SoCs has specific modules/register spaces used for configuring the various aspects of a remote processor. These include power, reset, boot vector and other configuration features specific to each compute processor present on the SoC. These registers are managed by

[U-Boot] [PATCH 1/5] cmd: remoteproc: Add support for initializing devices individually

2019-05-28 Thread Lokesh Vutla
'rproc init' does the probe and initialization of all the available remoteproc devices in the system. This doesn't allow the flexibility to initialize the remote cores needed as per use case. In order to provide flexibility, update 'rproc init' command to accept one more parameter with rproc id

[U-Boot] [PATCH 0/5] remoteproc: cleanup k3_rpoc driver

2019-05-28 Thread Lokesh Vutla
This series introduces generic proc helpers for controlling remotecores using TISCI protocol. Update the k3_rproc driver to use this generic proc helpers and rename it ti_k3_arm64_rproc as it is controlling arm64 core on k3 devices. This acts as base series for the other remoteprocs (like r5s,

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

2019-05-28 Thread Lokesh Vutla
On 27/05/19 5:53 PM, Fabien Dessenne wrote: > The current implementation supports only binary file load. > Add helpers to support ELF format (sanity check, and load). > Note that since an ELF image is built for the remote processor, the load > function uses the device_to_virt ops to translate

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

2019-05-28 Thread Bin Meng
On Tue, May 28, 2019 at 6:50 PM Greentime Hu wrote: > > Hi Bin, > On Tue, May 28, 2019 at 05:58:47PM +0800, Bin Meng wrote: > > Hi Greentime, > > > > On Tue, May 28, 2019 at 3:54 PM Greentime Hu > > wrote: > > > > > > Hi Bin, > > > On Fri, May 24, 2019 at 05:40:08PM +0800, Bin Meng wrote: > > >

[U-Boot] [PATCH] ARM: dts: ls1021a: Fixed reg for sata node

2019-05-28 Thread Peng Ma
This patch is to fixed the reg read to "0" for armv7 architecture. Signed-off-by: Peng Ma --- arch/arm/dts/ls1021a.dtsi |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/ls1021a.dtsi b/arch/arm/dts/ls1021a.dtsi index 5bde3f3..0e00ac2 100644 ---

Re: [U-Boot] [v3, 5/5] mmc: fsl_esdhc_imx: drop useless code

2019-05-28 Thread Peng Fan
> Subject: [v3, 5/5] mmc: fsl_esdhc_imx: drop useless code > > Dropped useless code for i.MX eSDHC driver. > > Signed-off-by: Yangbo Lu > --- > Changes for v2: > - Added this patch. > Changes for v3: > - None. > --- > drivers/mmc/fsl_esdhc_imx.c | 96

Re: [U-Boot] [v3, 3/5] Convert to use fsl_esdhc_imx for i.MX platforms

2019-05-28 Thread Jason Liu
> -Original Message- > From: Y.b. Lu > Sent: Tuesday, May 21, 2019 4:52 PM > To: u-boot@lists.denx.de > Cc: Stefano Babic ; Fabio Estevam ; > dl-uboot-imx ; Albert Aribaud > ; Eddy Petrișor ; > Akshay Bhat ; Ken Lin > ; Heiko Schocher ; Christian > Gmeiner ; Stefan Roese ; Patrick >

Re: [U-Boot] [v3, 4/5] mmc: fsl_esdhc: drop i.MX code

2019-05-28 Thread Peng Fan
> Subject: [v3, 4/5] mmc: fsl_esdhc: drop i.MX code > > Dropped i.MX code which couldn't be reused. > > Signed-off-by: Yangbo Lu > --- > Changes for v2: > - Added this patch. > Changes for v3: > - Rebased. > --- > drivers/mmc/fsl_esdhc.c | 609

Re: [U-Boot] [v3, 1/5] Move CONFIG_FSL_ESDHC to defconfig

2019-05-28 Thread Jason Liu
> -Original Message- > From: Y.b. Lu > Sent: Tuesday, May 21, 2019 4:52 PM > To: u-boot@lists.denx.de > Cc: Stefano Babic ; Fabio Estevam ; > dl-uboot-imx ; Albert Aribaud > ; Eddy Petrișor ; > Akshay Bhat ; Ken Lin > ; Heiko Schocher ; Christian > Gmeiner ; Stefan Roese ; Patrick >

Re: [U-Boot] [v3, 2/5] mmc: split fsl_esdhc driver for i.MX

2019-05-28 Thread Peng Fan
> Subject: [v3, 2/5] mmc: split fsl_esdhc driver for i.MX > > The fsl_esdhc driver was for Freescale eSDHC on MPC83XX/MPC85XX initially. > The later QoriQ series PowerPC processors (which were evolutions of > MPC83XX/MPC85XX), QorIQ series ARM processors, and i.MX series > processors were using

Re: [U-Boot] [v3, 1/5] Move CONFIG_FSL_ESDHC to defconfig

2019-05-28 Thread Peng Fan
> Subject: [v3, 1/5] Move CONFIG_FSL_ESDHC to defconfig > > Moved CONFIG_FSL_ESDHC from header files to defconfig files. > > Signed-off-by: Yangbo Lu > --- > Changes for v2: > - Rebased. > Changes for v3: > - Rebased. > --- > configs/imx8mq_evk_defconfig | 1 + >

[U-Boot] [PATCH] ARM: legoev3: convert to driver model

2019-05-28 Thread David Lechner
This converts LEGO MINDSTORMS EV3 to the driver model. MMC, SERIAL, SPI and SPI_FLASH are converted. The device tree contains only the minimal nodes required by U-Boot since the size of U-Boot is limited to 256K on this device. Signed-off-by: David Lechner --- arch/arm/dts/Makefile |

Re: [U-Boot] [PATCH] configs/legoev3: define CONFIG_SKIP_LOWLEVEL_INIT

2019-05-28 Thread David Lechner
On 5/28/19 8:52 PM, Adam Ford wrote: On Tue, May 28, 2019 at 7:03 PM David Lechner wrote: This adds a define for CONFIG_SKIP_LOWLEVEL_INIT in the legoev3 config. On the EV3, U-Boot is loaded into RAM by another bootloader, so we don't need the lowlevel init in U-Boot. Signed-off-by: David

Re: [U-Boot] [PATCH] configs/legoev3: define CONFIG_SKIP_LOWLEVEL_INIT

2019-05-28 Thread Adam Ford
On Tue, May 28, 2019 at 7:03 PM David Lechner wrote: > > This adds a define for CONFIG_SKIP_LOWLEVEL_INIT in the legoev3 config. > On the EV3, U-Boot is loaded into RAM by another bootloader, so we > don't need the lowlevel init in U-Boot. > > Signed-off-by: David Lechner > --- >

Re: [U-Boot] [PATCH 3/3] usb: musb-new: omap2430: Fix compilation warning with USB_MUSB_GADGET

2019-05-28 Thread Derald Woods
On Tue, May 28, 2019 at 7:49 PM Marek Vasut wrote: > > On 5/29/19 2:00 AM, Derald Woods wrote: > > On Tue, May 28, 2019 at 6:27 PM Marek Vasut wrote: > >> > >> On 5/29/19 1:16 AM, Derald Woods wrote: > >>> On Tue, May 28, 2019 at 4:16 PM Marek Vasut wrote: > > On 5/28/19 4:22 AM,

Re: [U-Boot] [PATCH 3/3] usb: musb-new: omap2430: Fix compilation warning with USB_MUSB_GADGET

2019-05-28 Thread Marek Vasut
On 5/29/19 2:00 AM, Derald Woods wrote: > On Tue, May 28, 2019 at 6:27 PM Marek Vasut wrote: >> >> On 5/29/19 1:16 AM, Derald Woods wrote: >>> On Tue, May 28, 2019 at 4:16 PM Marek Vasut wrote: On 5/28/19 4:22 AM, Derald D. Woods wrote: > This commit addresses the following

[U-Boot] [PATCH] configs/legoev3: define CONFIG_SKIP_LOWLEVEL_INIT

2019-05-28 Thread David Lechner
This adds a define for CONFIG_SKIP_LOWLEVEL_INIT in the legoev3 config. On the EV3, U-Boot is loaded into RAM by another bootloader, so we don't need the lowlevel init in U-Boot. Signed-off-by: David Lechner --- include/configs/legoev3.h | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [U-Boot] [PATCH 3/3] usb: musb-new: omap2430: Fix compilation warning with USB_MUSB_GADGET

2019-05-28 Thread Derald Woods
On Tue, May 28, 2019 at 6:27 PM Marek Vasut wrote: > > On 5/29/19 1:16 AM, Derald Woods wrote: > > On Tue, May 28, 2019 at 4:16 PM Marek Vasut wrote: > >> > >> On 5/28/19 4:22 AM, Derald D. Woods wrote: > >>> This commit addresses the following warning, when _NOT_ USB_MUSB_HOST: > >>> > >>>

[U-Boot] [PATCH v2] rtc: add Microcrystal RV-8803 driver

2019-05-28 Thread Michael Walle
Signed-off-by: Michael Walle --- Btw if anybody notices the compatible string difference to the rv3029 driver, ie mc,rv3029 vs microcrystal,rv8803. The "mc" prefix is actually the legacy one. changes since v1: - enable driver in sandbox_defconfig and sandbox64_defconfig

Re: [U-Boot] [PATCH 3/3] usb: musb-new: omap2430: Fix compilation warning with USB_MUSB_GADGET

2019-05-28 Thread Marek Vasut
On 5/29/19 1:16 AM, Derald Woods wrote: > On Tue, May 28, 2019 at 4:16 PM Marek Vasut wrote: >> >> On 5/28/19 4:22 AM, Derald D. Woods wrote: >>> This commit addresses the following warning, when _NOT_ USB_MUSB_HOST: >>> >>> [...] >>> CC drivers/usb/gadget/f_mass_storage.o >>> CC

Re: [U-Boot] [PATCH 3/3] usb: musb-new: omap2430: Fix compilation warning with USB_MUSB_GADGET

2019-05-28 Thread Derald Woods
On Tue, May 28, 2019 at 4:16 PM Marek Vasut wrote: > > On 5/28/19 4:22 AM, Derald D. Woods wrote: > > This commit addresses the following warning, when _NOT_ USB_MUSB_HOST: > > > > [...] > > CC drivers/usb/gadget/f_mass_storage.o > > CC drivers/usb/musb-new/omap2430.o > > CC

Re: [U-Boot] [PATCH] arm: davinci: remove leftover assembly

2019-05-28 Thread Tom Rini
On Mon, May 20, 2019 at 06:29:38PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > There are no more users of lowlevel_init.S. Remove the file. > > Suggested-by: Adam Ford > Signed-off-by: Bartosz Golaszewski NAK, legoev3 still uses this. -- Tom signature.asc

Re: [U-Boot] [RESEND, RFC 1/1] splash: display splash in DM_VIDEO configurations

2019-05-28 Thread Anatolij Gustschin
On Tue, 28 May 2019 15:19:37 + Igor Opaniuk igor.opan...@toradex.com wrote: ... > diff --git a/common/splash.c b/common/splash.c > index d251b3b654..f026390393 100644 > --- a/common/splash.c > +++ b/common/splash.c > @@ -80,11 +80,23 @@ void splash_get_pos(int *x, int *y) > } > #endif /*

Re: [U-Boot] [PATCH 3/3] usb: musb-new: omap2430: Fix compilation warning with USB_MUSB_GADGET

2019-05-28 Thread Marek Vasut
On 5/28/19 4:22 AM, Derald D. Woods wrote: > This commit addresses the following warning, when _NOT_ USB_MUSB_HOST: > > [...] > CC drivers/usb/gadget/f_mass_storage.o > CC drivers/usb/musb-new/omap2430.o > CC drivers/usb/gadget/f_fastboot.o > CC env/common.o > CC

Re: [U-Boot] [PATCH 8/8] mcx: remove board

2019-05-28 Thread Anatolij Gustschin
On Fri, 17 May 2019 11:17:20 +0200 Bartosz Golaszewski b...@bgdev.pl wrote: > From: Bartosz Golaszewski > > This board still doesn't select CONFIG_DM and seems to be umaintained. > As it makes progress on modernizing several DaVinci drivers more > difficult and the maintainer has not expressed

Re: [U-Boot] [PATCH v2] spl: add overall SPL size check

2019-05-28 Thread Simon Goldschmidt
Am 27.05.2019 um 18:25 schrieb Masahiro Yamada: On Fri, May 24, 2019 at 5:17 AM Tom Rini wrote: On Thu, May 23, 2019 at 10:08:54PM +0200, Simon Goldschmidt wrote: Am 13.05.2019 um 14:45 schrieb Simon Goldschmidt: On Sat, May 11, 2019 at 3:55 AM Tom Rini wrote: On Mon, Apr 22, 2019 at

Re: [U-Boot] [PATCH 1/3] spl: ram: Do not memcpy() identical buffers

2019-05-28 Thread Marek Vasut
On 5/28/19 1:19 PM, Tom Rini wrote: > On Tue, May 28, 2019 at 05:24:34AM +0200, Marek Vasut wrote: >> On 5/28/19 5:04 AM, Tom Rini wrote: >>> On Tue, May 28, 2019 at 04:44:52AM +0200, Marek Vasut wrote: On 5/28/19 4:42 AM, Tom Rini wrote: > On Tue, May 28, 2019 at 04:07:44AM +0200, Marek

Re: [U-Boot] [PATCH v2 5/5] test/py: clarify a package dependency for test_fs

2019-05-28 Thread Tom Rini
On Tue, May 28, 2019 at 07:18:34PM +0200, Heinrich Schuchardt wrote: > On 5/24/19 7:10 AM, AKASHI Takahiro wrote: > >File system tests, test_fs, relies on guestmount so that it can be > >executed in a user mode. Describe this in README.md. > > > >Signed-off-by: AKASHI Takahiro > >--- > >

Re: [U-Boot] [PATCH v2 5/5] test/py: clarify a package dependency for test_fs

2019-05-28 Thread Heinrich Schuchardt
On 5/24/19 7:10 AM, AKASHI Takahiro wrote: File system tests, test_fs, relies on guestmount so that it can be executed in a user mode. Describe this in README.md. Signed-off-by: AKASHI Takahiro --- test/py/README.md | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-)

Re: [U-Boot] [PATCH v2 4/5] test/py: test_fs: add tests for creating/deleting many files

2019-05-28 Thread Tom Rini
On Tue, May 28, 2019 at 06:46:36PM +0200, Heinrich Schuchardt wrote: > As both Tom and I wrote to you in reply of to the first version of the > patch it is not clear how these tests can be run. > > make tests > > simply skips them. > > Could you, please, provide a description in

Re: [U-Boot] [PATCH v2 5/5] test/py: clarify a package dependency for test_fs

2019-05-28 Thread Heinrich Schuchardt
On 5/24/19 7:10 AM, AKASHI Takahiro wrote: File system tests, test_fs, relies on guestmount so that it can be executed in a user mode. Describe this in README.md. It is unclear where commands from package libguestfs-tools are used. I could not find any script in directory test/ using it. As

Re: [U-Boot] [PATCH v2 4/5] test/py: test_fs: add tests for creating/deleting many files

2019-05-28 Thread Heinrich Schuchardt
As both Tom and I wrote to you in reply of to the first version of the patch it is not clear how these tests can be run. make tests simply skips them. Could you, please, provide a description in test/py/README.md. Best regards Heinrich On 5/24/19 7:10 AM, AKASHI Takahiro wrote: Two test

[U-Boot] Pull request, u-boot-tegra/master

2019-05-28 Thread Tom Warren
Tom, Please pull u-boot-tegra/master into U-Boot/master. Thanks! All Tegra builds are OK, and Stephen's automated test system reports that all tests pass. The following changes since commit 40920bdecc4e1b7096de6f546d7b5c2185554ba6: Merge tag 'dm-pull-22may19' of git://git.denx.de/u-boot-dm

Re: [U-Boot] [PATCH v3] spl: add overall SPL size check

2019-05-28 Thread Simon Goldschmidt
Am 28.05.2019 um 17:18 schrieb Jean-Jacques Hiblot: On 27/05/2019 17:15, Simon Goldschmidt wrote: Tom Rini mailto:tr...@konsulko.com>> schrieb am Mo., 27. Mai 2019, 16:54: On Mon, May 27, 2019 at 03:47:13PM +0200, Jean-Jacques Hiblot wrote: > Simon, > > > On 24/05/2019

[U-Boot] [PATCH] cmd/fpga.c: correct typo, capitalize "Xilinx"

2019-05-28 Thread Robert P. J. Day
A couple minor tweaks to printed strings in cmd/fpga.c. Signed-off-by: Robert P. J. Day --- diff --git a/cmd/fpga.c b/cmd/fpga.c index b1f224bc6a..62453f0a8f 100644 --- a/cmd/fpga.c +++ b/cmd/fpga.c @@ -458,7 +458,7 @@ U_BOOT_CMD(fpga, 6, 1, do_fpga_wrapper, "0-device key, 1-user

Re: [U-Boot] [PATCH v4 2/2] net: eth-uclass: Support device tree MAC addresses

2019-05-28 Thread Peter Robinson
On Tue, May 28, 2019 at 4:26 PM Thierry Reding wrote: > > On Mon, May 20, 2019 at 05:59:57PM +0200, Thierry Reding wrote: > > From: Thierry Reding > > > > Add the standard Ethernet device tree bindings (imported from v5.0 of > > the Linux kernel) and implement support for reading the MAC address

Re: [U-Boot] [PATCH v4 2/2] net: eth-uclass: Support device tree MAC addresses

2019-05-28 Thread Thierry Reding
On Mon, May 20, 2019 at 05:59:57PM +0200, Thierry Reding wrote: > From: Thierry Reding > > Add the standard Ethernet device tree bindings (imported from v5.0 of > the Linux kernel) and implement support for reading the MAC address for > Ethernet devices in the Ethernet uclass. If the

[U-Boot] [RESEND, RFC 1/1] splash: display splash in DM_VIDEO configurations

2019-05-28 Thread Igor Opaniuk
Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1]

Re: [U-Boot] [PATCH v3] spl: add overall SPL size check

2019-05-28 Thread Jean-Jacques Hiblot
On 27/05/2019 17:15, Simon Goldschmidt wrote: Tom Rini mailto:tr...@konsulko.com>> schrieb am Mo., 27. Mai 2019, 16:54: On Mon, May 27, 2019 at 03:47:13PM +0200, Jean-Jacques Hiblot wrote: > Simon, > > > On 24/05/2019 22:10, Simon Goldschmidt wrote: > >Am 24.05.2019

[U-Boot] [RFC 1/1] splash: display splash in DM_VIDEO configurations

2019-05-28 Thread Igor Opaniuk
Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1]

Re: [U-Boot] [PATCH v2 2/2] ARM: davinci: SPL: fix BSS initialization

2019-05-28 Thread Adam Ford
On Mon, May 27, 2019 at 6:46 AM Sekhar Nori wrote: > > U-Boot README recommends initializing SDRAM in board_init_f(). DA850 > was doing it as part of board_init_r() (through call to spl_board_init() > which calls arch_cpu_init() which calls da850_ddr_setup()) > > This worked fine till commit

Re: [U-Boot] [PATCH 4/4] davinci: omapl138-lcdk: enable driver-model in SPL

2019-05-28 Thread Adam Ford
On Tue, May 28, 2019 at 2:58 AM Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > Enable CONFIG_SPL_DM and enable the driver model for serial by defining > an appropriate device in the board file for da850-lcdk. > > Signed-off-by: Bartosz Golaszewski > --- >

Re: [U-Boot] [PATCH] rtc: add Microcrystal RV-8803 driver

2019-05-28 Thread Tom Rini
On Mon, May 27, 2019 at 10:23:21PM +0200, Michael Walle wrote: > Signed-off-by: Michael Walle > --- > > Btw if anybody notices the compatible string difference to the rv3029 > driver, ie mc,rv3029 vs microcrystal,rv8803. The "mc" prefix is actually > the legacy one. > > drivers/rtc/Kconfig |

Re: [U-Boot] [PATCH 1/3] spl: ram: Do not memcpy() identical buffers

2019-05-28 Thread J. William Campbell
On 5/28/2019 4:19 AM, Tom Rini wrote: On Tue, May 28, 2019 at 05:24:34AM +0200, Marek Vasut wrote: On 5/28/19 5:04 AM, Tom Rini wrote: On Tue, May 28, 2019 at 04:44:52AM +0200, Marek Vasut wrote: On 5/28/19 4:42 AM, Tom Rini wrote: On Tue, May 28, 2019 at 04:07:44AM +0200, Marek Vasut wrote:

Re: [U-Boot] DM_VIDEO and splash screen functionality

2019-05-28 Thread Igor Opaniuk
Hi Anatolij, On Tue, May 28, 2019 at 3:31 PM Anatolij Gustschin wrote: > > Hi Igor, > > On Tue, 28 May 2019 13:35:13 +0300 > Igor Opaniuk igor.opan...@gmail.com wrote: > > > Hi all, > > > > Just a clarifying question: > > I assume a splash screen functionality from common/splash.c and > >

Re: [U-Boot] [PATCH] rockchip: rk3399-puma: Reduce SPL size.

2019-05-28 Thread Christoph Müllner
On 28.05.19 15:06, Kever Yang wrote: > Hi Christoph, > >     This patch need re-base upon latest mainline tree. > >     And see below commons. > > > On 05/07/2019 04:42 PM, Christoph Muellner wrote: >> This commit reduces the SPL size by fixing typos in the removed property >> string list,

Re: [U-Boot] [PATCH] rockchip: Cleanup of make_fit_atf.py.

2019-05-28 Thread Kever Yang
Hi Christoph, On 05/07/2019 05:11 PM, Christoph Muellner wrote: > This patch cleans up make_fit_atf.py in the following way: > > * Fix all issues reported by pylint > * Move copyright notice from file-to-generate to script > * Fix of-by-one bugs in loadables property > * Remove commented-out

Re: [U-Boot] [PATCH] rockchip: rk3399-puma: Re-disable SPL_ATF_NO_PLATFORM_PARAM

2019-05-28 Thread Christoph Müllner
On 28.05.19 14:55, Kever Yang wrote: > Hi Christoph and Mark, > >     Does this patch ready for rk3399-puma? Hi Kever, yes, this commit is ready for mainline. However, there are more (not Puma specific) commits needed to make get mainline ATF working. I haven't got time recently to work on

Re: [U-Boot] [PATCH] rockchip: rk3399-puma: Reduce SPL size.

2019-05-28 Thread Kever Yang
Hi Christoph,     This patch need re-base upon latest mainline tree.     And see below commons. On 05/07/2019 04:42 PM, Christoph Muellner wrote: > This commit reduces the SPL size by fixing typos in the removed property > string list, switching to the tiny versions of printf/memset and >

Re: [U-Boot] [PATCH] rockchip: rk3399-puma: Re-disable SPL_ATF_NO_PLATFORM_PARAM

2019-05-28 Thread Kever Yang
Hi Christoph and Mark,     Does this patch ready for rk3399-puma? Thanks, - Kever On 05/07/2019 05:18 PM, Christoph Müllner wrote: > Hi Mark, > > On 07.05.19 10:57, Mark Kettenis wrote: >>> From: Christoph Muellner >>> Date: Tue, 7 May 2019 10:39:54 +0200 >>> >>> This reverts commit

Re: [U-Boot] [PATCH] rockchip: rk3399-puma: Move ENV_OFFSET to end of SPI NOR.

2019-05-28 Thread Kever Yang
Hi Christoph, On 05/07/2019 04:37 PM, Christoph Muellner wrote: > Puma SoMs have a 4 MB SPI NOR flash. > Therefore we can move the environment to the end of the flash > (4 MiB - 16 kiB) in order to not overlap with SPL. > > Reported-by: Jakob Unterwurzacher > Signed-off-by: Christoph Muellner

Re: [U-Boot] DM_VIDEO and splash screen functionality

2019-05-28 Thread Anatolij Gustschin
Hi Igor, On Tue, 28 May 2019 13:35:13 +0300 Igor Opaniuk igor.opan...@gmail.com wrote: > Hi all, > > Just a clarifying question: > I assume a splash screen functionality from common/splash.c and > common/splash_source.c is marked as deprecated and is not going to be > used anymore alongside

[U-Boot] [PATCH v2] arm, imx, Makefile: fix u-boot-dtb.imx build in CONFIG_MULTI_DTB_FIT case

2019-05-28 Thread Heiko Schocher
in case CONFIG_MULTI_DTB_FIT is set and u-boot-dtb.imx image is build, currently u-boot-dtb.bin is used for generating the u-boot-dtb.imx binary, which is wrong, as it contains only a dtb blob not the fit.blob Use instead the u-boot-fit-dtb.bin for generating u-boot-dtb.imx which contains the

Re: [U-Boot] [PATCH] arm, imx, Makefile: support CONFIG_MULTI_DTB_FIT

2019-05-28 Thread Fabio Estevam
Hi Heiko, On Tue, May 28, 2019 at 1:39 AM Heiko Schocher wrote: > I would reword the commit message and subject to: > """ > arm, imx, Makefile: fix u-boot-dtb.imx build in CONFIG_MULTI_DTB_FIT case > > in case CONFIG_MULTI_DTB_FIT is set and u-boot-dtb.imx > image is build, currently

Re: [U-Boot] [PATCH 1/3] spl: ram: Do not memcpy() identical buffers

2019-05-28 Thread Tom Rini
On Tue, May 28, 2019 at 05:24:34AM +0200, Marek Vasut wrote: > On 5/28/19 5:04 AM, Tom Rini wrote: > > On Tue, May 28, 2019 at 04:44:52AM +0200, Marek Vasut wrote: > >> On 5/28/19 4:42 AM, Tom Rini wrote: > >>> On Tue, May 28, 2019 at 04:07:44AM +0200, Marek Vasut wrote: > On 5/28/19 4:06 AM,

[U-Boot] [PATCH] boards: amlogic-g200: remove phy reset

2019-05-28 Thread Neil Armstrong
The PHY reset is now handled by the MAC driver, remove this leftover. Signed-off-by: Neil Armstrong --- board/amlogic/q200/q200.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/board/amlogic/q200/q200.c b/board/amlogic/q200/q200.c index 1932c14aa2..2ea97c362e 100644 ---

[U-Boot] [PATCH] ARM: meson-gx: Reset GXL/GXM to external PHY when not using internal PHY

2019-05-28 Thread Neil Armstrong
When using External PHY, reset the mux to use the external PHY in case U-Boot was chainloaded from a misconfigured bootloader. Fixes: 33e3378091 ("ARM: meson: rework soc arch file to prepare for new SoC") Signed-off-by: Neil Armstrong --- arch/arm/mach-meson/board-gx.c | 17 - 1

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

2019-05-28 Thread Greentime Hu
Hi Bin, On Tue, May 28, 2019 at 05:58:47PM +0800, Bin Meng wrote: > Hi Greentime, > > On Tue, May 28, 2019 at 3:54 PM Greentime Hu wrote: > > > > Hi Bin, > > On Fri, May 24, 2019 at 05:40:08PM +0800, Bin Meng wrote: > > > Hi Eric, > > > > > > On Fri, May 24, 2019 at 4:04 PM Eric Lin wrote: > >

Re: [U-Boot] [PATCH 1/2] pwm: imx: add Kconfig support

2019-05-28 Thread Martyn Welch
On Tue, 2019-05-28 at 06:51 +0200, Heiko Schocher wrote: > add Kconfig support for this driver. > > Signed-off-by: Heiko Schocher Acked-by: Martyn Welch > --- > > README| 4 > configs/aristainetos2_defconfig | 1 + >

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

2019-05-28 Thread Greentime Hu
Hi Bin, On Fri, May 24, 2019 at 05:40:08PM +0800, Bin Meng wrote: > Hi Eric, > > On Fri, May 24, 2019 at 4:04 PM Eric Lin wrote: > > > > Hi Bin > > > > Bin Meng ??? 2019???5???22??? ?? > > ??5:25? > > > > > > Hi Eric, > > > > > > On Wed, May 22, 2019 at 4:23 PM wrote: > > > >

[U-Boot] DM_VIDEO and splash screen functionality

2019-05-28 Thread Igor Opaniuk
Hi all, Just a clarifying question: I assume a splash screen functionality from common/splash.c and common/splash_source.c is marked as deprecated and is not going to be used anymore alongside with DM_VIDEO enabled, right? I understand that the same result can be achieved (showing a boot logo)

Re: [U-Boot] cfb_console.c: DM_VIDEO conversion questions/suggestions

2019-05-28 Thread Igor Opaniuk
On Mon, May 27, 2019 at 5:58 PM Tom Rini wrote: > > On Mon, May 27, 2019 at 09:22:05AM +0200, Stefan Agner wrote: > > On 27.05.2019 07:21, Igor Opaniuk wrote: > > > Hi everyone, > > > > > > I've finally started looking into the cfb_console.c driver and it's > > > conversion to DM_VIDEO after our

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

2019-05-28 Thread Meenakshi Aggarwal
Flushing L3 cache may need variable time depending upon cache line allocation. Coming up with a proper timeout value would be best handled by simulations under multiple scenarios in your actual system. From the purely HN-F point of view, the flush would take ~15 cycles for a clean line, and ~22

[U-Boot] [PATCH v4] riscv: Add Microchip MPFS Icicle board support

2019-05-28 Thread Padmarao Begari
This patch adds Microchip MPFS Icicle board support. For now, NS16550 serial driver is only enabled. The Microchip MPFS Icicle defconfig by default builds U-Boot for M-Mode with SMP support. Signed-off-by: Padmarao Begari Reviewed-by: Bin Meng --- Changes in V4 - Remove CONFIG_DISTRO_DEFAULTS

[U-Boot] [PATCH 1/1] efi_loader: bootmgr: print a message when loading from BootNext failed

2019-05-28 Thread Heinrich Schuchardt
From: AKASHI Takahiro If a user defines BootNext but not BootOrder and loading from BootNext fails, you will see only a message like this: BootOrder not defined This may confuse a user. Adding an error message will be helpful. Signed-off-by: AKASHI Takahiro Adjust message for

Re: [U-Boot] [PATCH] usb: dwc3: Handle case where setup_phy is not needed

2019-05-28 Thread Siva Durga Prasad Paladugu
Hi, > -Original Message- > From: Michal Simek [mailto:michal.si...@xilinx.com] > Sent: Monday, April 1, 2019 4:10 PM > To: Siva Durga Prasad Paladugu ; Lukasz Majewski > > Cc: u-boot@lists.denx.de; ma...@denx.de; jjhib...@ti.com; > s...@chromium.org; patrick.delau...@st.com > Subject:

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

2019-05-28 Thread Bin Meng
Hi Greentime, On Tue, May 28, 2019 at 3:54 PM Greentime Hu wrote: > > Hi Bin, > On Fri, May 24, 2019 at 05:40:08PM +0800, Bin Meng wrote: > > Hi Eric, > > > > On Fri, May 24, 2019 at 4:04 PM Eric Lin wrote: > > > > > > Hi Bin > > > > > > Bin Meng ??? 2019???5???22??? ?? > > >

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

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

[U-Boot] [PATCH 2/4] davinci: omapl138-lcdk: enable CONFIG_USE_TINY_PRINTF

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

[U-Boot] [PATCH 3/4] davinci: omapl138-lcdk: remove unneeded includes

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

[U-Boot] [PATCH 1/4] davinci: omapl138-lcdk: enable SPL_SYS_MALLOC_SIMPLE

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

[U-Boot] [PATCH 0/4] davinci: omapl138-lcdk: enable CONFIG_SPL_DM

2019-05-28 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This series enables the driver model in SPL on omapl138-lcdk. First two patches enable size-reducing options in defconfig. The third patch is just a cleanup of the board file. Last patch enables the driver model and defines the serial device so that we don't have to

[U-Boot] [PATCH] configs: atmel: sama5d4_xplained_mmc: enable HW PMECC

2019-05-28 Thread Eugen.Hristev
From: Eugen Hristev NAND: BUG at drivers/mtd/nand/raw/nand_base.c:4361/nand_scan_tail()! This board has a NAND flash enabled, and it requires the HW PMECC in order to correctly probe this flash. In the NAND flash configuration , this is selected by the GENERATE_PMECC_HEADER which is not needed

[U-Boot] [PATCH 6/6] riscv: ax25: use CCTL to flush d-cache

2019-05-28 Thread Andes
From: Rick Chen Use CCTL command to do d-cache write back and invalidate instead of fence. Signed-off-by: Rick Chen Cc: Greentime Hu --- arch/riscv/cpu/ax25/cache.c | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/arch/riscv/cpu/ax25/cache.c

[U-Boot] [PATCH 4/6] riscv: cache: Flush L2 cache before jump to linux

2019-05-28 Thread Andes
From: Rick Chen Flush and disable cache in cleanup_before_linux() which will be called before jump to linux. The sequence will be preferred as below: L1 flush -> L1 disable -> L2 flush -> L2 disable Signed-off-by: Rick Chen Cc: Greentime Hu --- arch/riscv/cpu/ax25/cpu.c | 4 1 file

[U-Boot] [PATCH 5/6] riscv: dts: move out AE350 L2 node from cpus node

2019-05-28 Thread Andes
From: Rick Chen When L2 node exists inside cpus node, uclass_get_device can not parse L2 node successfully. So move it outside from cpus node. Also add tag-ram-ctl and data-ram-ctl attributes for v5l2 cache controller driver. This can adjust timing by requirement from dtb to improve

[U-Boot] [PATCH 1/6] dm: cache: add v5l2 cache controller driver

2019-05-28 Thread Andes
From: Rick Chen Add a v5l2 cache controller driver that is usually found on Andes RISC-V ae350 platform. It will parse the cache settings from the dtb. In this version tag and data ram control timing can be adjusted by the requirement from the dtb. Signed-off-by: Rick Chen Cc: Greentime Hu

[U-Boot] [PATCH 3/6] riscv: ae350: add imply v5l2 cache controller

2019-05-28 Thread Andes
From: Rick Chen Select the v5l2 UCLASS_CACHE driver for AE350. Signed-off-by: Rick Chen Cc: Greentime Hu --- board/AndesTech/ax25-ae350/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/board/AndesTech/ax25-ae350/Kconfig b/board/AndesTech/ax25-ae350/Kconfig index 5e682b6..dd299d9

[U-Boot] [PATCH 2/6] riscv: ae350: use the v5l2 driver to configure the cache

2019-05-28 Thread Andes
From: Rick Chen Find the UCLASS_CACHE driver to configure the cache controller's settings. Signed-off-by: Rick Chen Cc: Greentime Hu --- board/AndesTech/ax25-ae350/ax25-ae350.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/board/AndesTech/ax25-ae350/ax25-ae350.c

[U-Boot] [PATCH 0/6] Support Andes RISC-V l2cache on AE350 platform

2019-05-28 Thread Andes
From: Rick Chen Add a v5l2 cache controller driver that is usually found on Andes RISC-V ae350 platform. It will parse and configure the cache settings (data & instruction prefetch, data & tag latency) from the device tree blob. Also implement L2 cache flush and disable before jump to linux.

[U-Boot] [PATCH 3/3] ARM: dts: Add missing DT for Meson G12A support

2019-05-28 Thread Neil Armstrong
The following DT nodes in the process on review for Linux 5.3, until Linux 5.3 is tagged, add the missing DT nodes in u-boot specific DTSI files that will be dropped when the v5.3-rc1 DT is synced again. Signed-off-by: Neil Armstrong --- arch/arm/dts/meson-g12a-u-boot.dtsi | 216

[U-Boot] [PATCH 2/3] clk: meson-g12a: Add PCIE PLL support

2019-05-28 Thread Neil Armstrong
The G12A PCIE PLL clock was introduced in Linux 5.2-rc1, and is needed for USB to operate, add basic support for it and associated gates. Signed-off-by: Neil Armstrong --- drivers/clk/meson/g12a.c | 103 +++ 1 file changed, 103 insertions(+) diff --git

[U-Boot] [PATCH 1/3] ARM: dts: sync Amlogic G12A DT with Linux 5.2-rc1

2019-05-28 Thread Neil Armstrong
Sync from Linux commit a188339ca5a3 ("Linux 5.2-rc1") Signed-off-by: Neil Armstrong --- arch/arm/dts/meson-g12a-u200.dts | 147 ++ arch/arm/dts/meson-g12a.dtsi | 465 ++ include/dt-bindings/clock/g12a-aoclkc.h | 2 +

[U-Boot] [PATCH 0/3] ARM: meson-g12a: Add missing support from Linux 5.2-rc1

2019-05-28 Thread Neil Armstrong
This patchset : - Syncs the G12A DT from v5.2-rc1 - Add support for the G12A PCIE PLL, introduced in v5.2-rc1 - Add missing DT to fill the gaps, that will be synced in Linux 5.3-rc1 Neil Armstrong (3): ARM: dts: sync Amlogic G12A DT with Linux 5.2-rc1 clk: meson-g12a: Add PCIE PLL support

Re: [U-Boot] [PATCH v2 2/3] spl: add relocation support【请注意,邮件由s...@google.com代发】

2019-05-28 Thread Andy Yan
Hi Simon: On 2019/5/23 上午3:39, Simon Glass wrote: Hi Andy, On Tue, 21 May 2019 at 19:43, Andy Yan wrote: Hi Andre: Andre Przywara 于2019年5月20日周一 下午11:59写道: On Mon, 20 May 2019 14:34:01 +0800 Andy Yan wrote: Hi, On 2019/5/19 上午12:26, Simon Glass wrote: Hi Andy, Instead of this could

Re: [U-Boot] [PATCH v2 2/3] spl: add relocation support【请注意,邮件由s...@google.com代发】

2019-05-28 Thread Andy Yan
Hi Simon: On 2019/5/23 上午3:39, Simon Glass wrote: Hi Andy, On Tue, 21 May 2019 at 19:56, Andy Yan wrote: Hi Simon: Simon Glass 于2019年5月22日周三 上午8:28写道: Hi Andy, On Tue, 21 May 2019 at 00:51, Andy Yan wrote: Hi Simon: On 2019/5/20 下午11:35, Simon Glass wrote: Hi Andy, On Mon, 20 May

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

2019-05-28 Thread Michal Simek
On 24. 05. 19 15:40, 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] [PATCH v2 2/3] arm64: zynqmp: add tool to minimize psu_init_gpl.c files

2019-05-28 Thread Michal Simek
On 24. 05. 19 15:40, 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 almost checkpatch compliant. > > Based on a script by Michal Simek. > > Signed-off-by: Luca

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

2019-05-28 Thread Michal Simek
On 24. 05. 19 15:40, Luca Ceresoli wrote: > Fixes sparse warnings when building zynqmp defconfigs: > ./board/xilinx/zynqmp/xil_io.h:12:6: warning: symbol 'Xil_Out32' was not > declared. Should it be static? > ./board/xilinx/zynqmp/xil_io.h:17:5: warning: symbol 'Xil_In32' was not > declared.

Re: [U-Boot] [PATCH v2] efi_loader: bootmgr: print a message when loading from BootNext failed

2019-05-28 Thread AKASHI Takahiro
On Tue, May 28, 2019 at 08:16:37AM +0200, Heinrich Schuchardt wrote: > On 5/24/19 8:59 AM, AKASHI Takahiro wrote: > >If a user defines BootNext but not BootOrder and loading from BootNext > >fails, you will see only a message like this: > > BootOrder not defined > > > >This may confuse a user.

Re: [U-Boot] [PATCH v2] efi_loader: bootmgr: print a message when loading from BootNext failed

2019-05-28 Thread Heinrich Schuchardt
On 5/24/19 8:59 AM, AKASHI Takahiro wrote: If a user defines BootNext but not BootOrder and loading from BootNext fails, you will see only a message like this: BootOrder not defined This may confuse a user. Adding an error message will be helpful. Signed-off-by: AKASHI Takahiro ---

[U-Boot] [PATCH] mips: mt76xx: Implement new d-cache fix in last_stage_init()

2019-05-28 Thread Stefan Roese
With commit 06985289d452 ("watchdog: Implement generic watchdog_reset() version") the init sequence has changed in arch_misc_init(), resulting in a re-appearance of the d-cache issue on MT7688 boards (e.g. gardena). When this happens, the first (or sometimes later ones as well) TFTP command hangs