Re: [U-Boot] fit image: boot gzipped ramdisk does not work anymore

2019-08-01 Thread Julius Werner
> First, we have a problem as we need to support what's out in the world. How about I write a patch to change the decompression call in fit_image_load() to fall back to a memcpy() if the decompression fails (and print a big warning that the FIT image is wrong and should be updated)? That should

[U-Boot] [PATCH v3 0/2] sunxi: add spi flash bootcmd

2019-08-01 Thread Oskari Lemmela
Changes since v2: - Rebase to current master - Added more information to Kconfig help text Changes since v1: - Move bootcmd to config_distro_bootcmd - Add Kconfig options to enable and configure it Oskari Lemmela (2): distro_bootcmd: add spi flash boot command sunxi: enable distro spi

Re: [U-Boot] fit image: boot gzipped ramdisk does not work anymore

2019-08-01 Thread Simon Goldschmidt
Am 01.08.2019 um 20:24 schrieb Julius Werner: First, we have a problem as we need to support what's out in the world. How about I write a patch to change the decompression call in fit_image_load() to fall back to a memcpy() if the decompression fails (and print a big warning that the FIT image

[U-Boot] [PATCH v2 0/3] env: add support to sunxi save env to spi

2019-08-01 Thread Oskari Lemmela
Changes since v1: - Rebase to current master - Added patches for testing with pine64-lts board Oskari Lemmela (3): env: add support to sunxi save env to spi flash sunxi: Pine64-LTS: enable environment in spi flash arm: dts: sunxi: add spi0 alias arch/arm/dts/sunxi-u-boot.dtsi | 1 +

Re: [U-Boot] fit image: boot gzipped ramdisk does not work anymore

2019-08-01 Thread Julius Werner
> Well, I'm sure you'd find enough FIT images where the uncompression > might succeed but the target space for decompression is not big enough > (see bootm_size), would such an error be fixed as well? I think so? Assuming all the compression algorithms check for an output buffer overrun (looks

[U-Boot] [PATCH v2 3/3] arm: dts: sunxi: add spi0 alias

2019-08-01 Thread Oskari Lemmela
spi aliases are needed for spi flash devices. Signed-off-by: Oskari Lemmela --- arch/arm/dts/sunxi-u-boot.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/sunxi-u-boot.dtsi b/arch/arm/dts/sunxi-u-boot.dtsi index fdd4c80aa4..b6e075f785 100644 ---

Re: [U-Boot] [PATCH v2 36/40] env: Move TOTAL_MALLOC_LEN to environment.h

2019-08-01 Thread Simon Goldschmidt
Am 01.08.2019 um 17:47 schrieb Simon Glass: This declaration is only used in three files. Although it relates to malloc() it is actually only used during malloc() init. It uses CONFIG options including CONFIG_ENV_ADDR which are defined only in environment.h so this header must be included

Re: [U-Boot] [PATCH 1/1] bios_emulator: remove stray break

2019-08-01 Thread Simon Glass
On Thu, 1 Aug 2019 at 11:37, Heinrich Schuchardt wrote: > > Remove a stray break which suppresses some debug messages. > > Indicated by cppcheck. > > Signed-off-by: Heinrich Schuchardt > --- > @Simon: > Please, test on an x86 Chromebook. I have no access to a test device. > --- >

Re: [U-Boot] [PATCH v2 38/40] env: Rename environment.h to env_internal.h

2019-08-01 Thread Simon Goldschmidt
Am 01.08.2019 um 17:47 schrieb Simon Glass: This file contains lots of internal details about the environment. Most code can include env.h instead, calling the functions there as needed. Rename this file and add a comment at the top to indicate its internal nature. Signed-off-by: Simon Glass

Re: [U-Boot] fit image: boot gzipped ramdisk does not work anymore

2019-08-01 Thread Simon Goldschmidt
Am 01.08.2019 um 21:01 schrieb Julius Werner: Well, I'm sure you'd find enough FIT images where the uncompression might succeed but the target space for decompression is not big enough (see bootm_size), would such an error be fixed as well? I think so? Assuming all the compression algorithms

[U-Boot] [PATCH v2 1/3] env: add support to sunxi save env to spi flash

2019-08-01 Thread Oskari Lemmela
CONFIG_ENV_SECT_SIZE value is defined via Kconfig. Signed-off-by: Oskari Lemmela Reviewed-by: Paul Kocialkowski --- env/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/env/Kconfig b/env/Kconfig index 74db2f38cc..083de650ce 100644 --- a/env/Kconfig +++

[U-Boot] [PATCH v2 2/3] sunxi: Pine64-LTS: enable environment in spi flash

2019-08-01 Thread Oskari Lemmela
enable config options for spi flash device and environment in spi flash. Signed-off-by: Oskari Lemmela --- configs/pine64-lts_defconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/configs/pine64-lts_defconfig b/configs/pine64-lts_defconfig index 0da6b70ea8..34c38cf1fd 100644 ---

[U-Boot] Announcement -- Upstreaming of U-Boot support for Broadcom router devices

2019-08-01 Thread Joel Peshkin
Hi All: Up to now, there has been limited 3rd party support for Broadcom's 63xx and 68xx devices in U-Boot. At this point, we plan to introduce vendor-supported U-Boot to all of the ARM-based BCM63XX and BCM68XX devices as well as some additional family members. These devices can be

Re: [U-Boot] [PATCH v2 28/40] env: Rename environment to embedded_environment

2019-08-01 Thread Simon Goldschmidt
Am 01.08.2019 um 17:47 schrieb Simon Glass: The name 'environment' is widely used in U-Boot so is not a very useful name of a variable. Rename it to better indicate its purpose. Signed-off-by: Simon Glass Acked-by: Joe Hershberger Reviewed-by: Simon Goldschmidt --- Changes in v2: None

[U-Boot] [PATCH v3 1/2] distro_bootcmd: add spi flash boot command

2019-08-01 Thread Oskari Lemmela
Add a boot command to distro boot to support load FIT image from SPI flash. Tested with Pine A64-LTS board to load kernel and dtb. Signed-off-by: Oskari Lemmela --- Kconfig | 32 include/config_distro_bootcmd.h | 16 2

[U-Boot] [PATCH v3 2/2] sunxi: enable distro spi boot command

2019-08-01 Thread Oskari Lemmela
Signed-off-by: Oskari Lemmela --- include/configs/sunxi-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 7be94ee7d1..cb7b68cf72 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@

[U-Boot] [PATCH 1/2] dm: Tidy up dump output when there are many devices

2019-08-01 Thread Patrick Delaunay
At present the 'Index' column of 'dm tree' assumes there is two digits, this patch increase it to 3 digits. It also aligns output of 'dm uclass', assuming the same 3 digits index. The boards with CONFIG_PINCTRL_FULL activated have one pinconfig by pin configuration, so they can have more than

[U-Boot] [PATCH 2/2] net: dwc_et_qos: update weak function board_interface_eth_init

2019-08-01 Thread Patrick Delaunay
Align the board and driver prototype for board_interface_eth_init to avoid execution issue (the interface_type parameter is defined as int or phy_interface_t). To have a generic weak function (it should be reused by other driver) I change the prototype to use directly udevice. This prototype is

Re: [U-Boot] [PATCH v7 3/9] x86: Add a common HOB library

2019-08-01 Thread Bin Meng
Hi Aiden, On Mon, Jul 29, 2019 at 12:35 PM Park, Aiden wrote: > > FSP(CONFIG_HAVE_FSP) and Slim Bootloader(CONFIG_SYS_SLIMBOOTLOADER) > consume HOB(CONFIG_USE_HOB) data from the each HOB list pointer. > Add a common HOB library in lib/hob.c and include/asm/hob.h. > > Signed-off-by: Aiden Park >

[U-Boot] [PATCH v2 8/9] apalis-tk1: remove default vesa vga mode from vidargs

2019-08-01 Thread Igor Opaniuk
From: Marcel Ziswiler Remove video=tegrafb0:640x480-16@60 aka VESA VGA mode from vidargs in order for the panel specification in the device tree to be used. This causes the default to be the 10.1" LVDS display which will be available in the Toradex webshop shortly. Reviewed-by: Oleksandr

[U-Boot] [PATCH v2 0/9] apalis-tk1: fixes/updates for v2019.10

2019-08-01 Thread Igor Opaniuk
Misc. fixes related to pinmux configuration (fan), default bootargs, reset reason output and power rail configuration. Changes in v2: * Rebased on the latest u-boot-tegra/master * Attached R-b tags [Oleksandr Suvorov] from v1 [1] [1] https://patchwork.ozlabs.org/cover/1139705/ Dominik Sliwa

[U-Boot] [PATCH v2 6/9] apalis-tk1: switch to zImage

2019-08-01 Thread Igor Opaniuk
From: Igor Opaniuk Switch to the generic compressed Kernel image type (zImage) instead of the U-Boot specific uImage format. Reviewed-by: Oleksandr Suvorov Signed-off-by: Bhuvanchandra DV Signed-off-by: Igor Opaniuk --- include/configs/apalis-tk1.h | 12 ++-- 1 file changed, 6

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

2019-08-01 Thread Peng Fan
There are different parts from one SoC. Take i.MX6ULL for example, some part might not have ENET, some might have; some might not have USB, some might have. The information could be got from OCOTP, to make one image support the different parts, we need runtime disable linux kernel dts node and

[U-Boot] [PATCH 2/2] dm: pinctrl: introduce PINCONF_RECURSIVE option

2019-08-01 Thread Patrick Delaunay
In the Linux pinctrl binding, the pin configuration nodes don't need to be direct children of the pin controller device (may be grandchildren for example). This behavior is managed with the pinconfig u-class which recursively bind all the sub-node of the pin controller. But for some binding (when

[U-Boot] [PATCH] mmc: Select SPL_HS200_SUPPORT if SPL_HS400_SUPPORT is selected

2019-08-01 Thread Faiz Abbas
Select SPL_HS200_SUPPORT if SPL_HS400_SUPPORT is selected as is being done for the U-boot case. Signed-off-by: Faiz Abbas --- drivers/mmc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig index 4cdae41b59..66097ce0e7 100644 ---

[U-Boot] [PATCH 1/2] net: dwc_eth_qos: Change eqos_ops function to static

2019-08-01 Thread Patrick Delaunay
This patch solves many warnings when compiling with W=1: warning: no previous prototype for '' [-Wmissing-prototypes] Signed-off-by: Patrice Chotard Signed-off-by: Patrick Delaunay --- drivers/net/dwc_eth_qos.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

Re: [U-Boot] [PATCH v2 2/4] i2c: mxc: add fuse check

2019-08-01 Thread Heiko Schocher
Hello Peng, Am 01.08.2019 um 10:45 schrieb Peng Fan: Add fuse check for I2C. If the fuse indicates the module will not work in the SoC, let's fail the initialization. Signed-off-by: Peng Fan --- V2: Fix build for aarch64 drivers/i2c/mxc_i2c.c | 17 + 1 file changed, 17

Re: [U-Boot] [BISECTED] [BUG]: MMC initialization hang at Zynq Z-turn board

2019-08-01 Thread Faiz Abbas
Hi Matwey, On 01/08/19 1:03 PM, Matwey V. Kornilov wrote: > Hi all, > > чт, 1 авг. 2019 г. в 09:48, Faiz Abbas : >> >> Hi, >> >> On 01/08/19 7:51 AM, Peng Fan wrote: Subject: [BISECTED] [BUG]: MMC initialization hang at Zynq Z-turn board Hello, I am running Zynq Z-turn

[U-Boot] [PATCH v2 5/9] apalis-tk1: add pcie_aspm=off to defargs

2019-08-01 Thread Igor Opaniuk
From: Igor Opaniuk Disabling ASPM fixes incompatibilities with some PCIe cards Reviewed-by: Oleksandr Suvorov Signed-off-by: Dominik Sliwa Signed-off-by: Igor Opaniuk --- include/configs/apalis-tk1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH v7 0/9] x86: Add basic Slim Bootloader payload support

2019-08-01 Thread Andy Shevchenko
On Thu, Aug 1, 2019 at 8:22 AM Bin Meng wrote: > On Mon, Jul 29, 2019 at 12:35 PM Park, Aiden wrote: > There are some checkpatch warnings which I think we should fix: > ERROR: trailing statements should be on next line > #76: FILE: arch/x86/cpu/slimbootloader/sdram.c:37: > + if

[U-Boot] [PATCH v2 3/9] apalis-tk1: provide proper USB vendor id

2019-08-01 Thread Igor Opaniuk
From: Igor Opaniuk Use unified values for USB Product/Vendor numbers when the config block is missing Reviewed-by: Oleksandr Suvorov Signed-off-by: Max Krummenacher Signed-off-by: Igor Opaniuk --- configs/apalis-tk1_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[U-Boot] [PATCH v2 4/9] apalis-tk1: enable user debug by default

2019-08-01 Thread Igor Opaniuk
From: Igor Opaniuk Let the kernel print some debug messages when a user program crashes due to an exception. Signed-off-by: Stefan Agner Signed-off-by: Igor Opaniuk --- include/configs/apalis-tk1.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [U-Boot] [BISECTED] [BUG]: MMC initialization hang at Zynq Z-turn board

2019-08-01 Thread Matwey V. Kornilov
Hi all, чт, 1 авг. 2019 г. в 09:48, Faiz Abbas : > > Hi, > > On 01/08/19 7:51 AM, Peng Fan wrote: > >> Subject: [BISECTED] [BUG]: MMC initialization hang at Zynq Z-turn board > >> > >> Hello, > >> > >> I am running Zynq Z-turn board and I face the following issue with MMC > >> initialization in

Re: [U-Boot] [BISECTED] [BUG]: MMC initialization hang at Zynq Z-turn board

2019-08-01 Thread Matwey V. Kornilov
чт, 1 авг. 2019 г. в 10:40, Faiz Abbas : > > Hi Matwey, > > On 01/08/19 1:03 PM, Matwey V. Kornilov wrote: > > Hi all, > > > > чт, 1 авг. 2019 г. в 09:48, Faiz Abbas : > >> > >> Hi, > >> > >> On 01/08/19 7:51 AM, Peng Fan wrote: > Subject: [BISECTED] [BUG]: MMC initialization hang at Zynq

[U-Boot] [PATCH v2 9/9] apalis-tk1: remove non-esential power rails on boot

2019-08-01 Thread Igor Opaniuk
From: Dominik Sliwa When mainline kernels reboot TK1 they use SW_RESET, that reset mode does not reset PMIC. Some rails need to be off for RAM Re-repair to work correctly. Reviewed-by: Oleksandr Suvorov Signed-off-by: Dominik Sliwa Signed-off-by: Igor Opaniuk ---

[U-Boot] [PATCH v2 2/9] apalis-tk1: set apalis gpio 8 aka fan_en

2019-08-01 Thread Igor Opaniuk
From: Igor Opaniuk Make sure the Apalis GPIO 8 aka FAN_EN is on when using Apalis TK1 modules. Reviewed-by: Oleksandr Suvorov Signed-off-by: Igor Opaniuk Signed-off-by: Dominik Sliwa --- board/toradex/apalis-tk1/apalis-tk1.c | 10 ++ 1 file changed, 10 insertions(+) diff --git

[U-Boot] [PATCH v2 7/9] apalis-tk1/t30: colibri_t30: display reset reason

2019-08-01 Thread Igor Opaniuk
From: Dominik Sliwa Display proper reset reason after the SoC info. Signed-off-by: Dominik Sliwa Signed-off-by: Igor Opaniuk --- arch/arm/mach-tegra/sys_info.c | 32 ++-- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git

[U-Boot] [PATCH v2 1/9] apalis-tk1: do not explicitly release reset_moci#

2019-08-01 Thread Igor Opaniuk
From: Marcel Ziswiler By keeping RESET_MOCI_CTRL low we avoid explicitly releasing RESET_MOCI#. Please note that module hardware versions up to V1.1A will already release RESET_MOCI# in hardware coming out of reset. Please further note that with this change the USB hub on the Apalis Evaluation

Re: [U-Boot] [PATCH v3] dm: core: device: switch off power domain after device removal

2019-08-01 Thread Anatolij Gustschin
Hi Lokesh, On Thu, 1 Aug 2019 09:43:39 +0530 Lokesh Vutla lokeshvu...@ti.com wrote: >On 01/08/19 2:55 AM, Anatolij Gustschin wrote: >> The power domain associated with a device is enabled when probing, >> but currently the domain remains enabled when the device is removed. >> Some boards started

Re: [U-Boot] [PATCH v1 0/9] apalis-tk1: fixes/updates for v2019.10

2019-08-01 Thread Igor Opaniuk
Hi Tom, On Thu, Aug 1, 2019 at 1:13 AM Tom Warren wrote: > > The 'switch to zImage' patch fails to apply using git am, either in the > complete (9-patch) bundle, or as part of the 5-patch Igor Opaniuk bundle, or > even as a stand-alone patch. This is using the current TOT >

Re: [U-Boot] [PATCH v3] x86: ich-spi: Convert driver to spi-mem ops

2019-08-01 Thread Bin Meng
On Mon, Jul 29, 2019 at 6:43 PM Bernhard Messerklinger wrote: > > With the introduction of the new spi-mem model operations changed > slightly. The new spi-mem operations make things a bit easier to > handle for ich-spi flash interface. This patch converts the ich-spi > driver by using spi-mem

[U-Boot] fit image: boot gzipped ramdisk does not work anymore

2019-08-01 Thread Heiko Schocher
Hello Julius, since your commit (just gone into mainline): b1307f884a91 ("fit: Support compression for non-kernel components (e.g. FDT)") I see on an imx6ull based board when booting (FIT image with kernel, dtb and initramdisk), fit image source created from yocto, see [1]: ## Loading kernel

[U-Boot] [PATCH v2 2/4] i2c: mxc: add fuse check

2019-08-01 Thread Peng Fan
Add fuse check for I2C. If the fuse indicates the module will not work in the SoC, let's fail the initialization. Signed-off-by: Peng Fan --- V2: Fix build for aarch64 drivers/i2c/mxc_i2c.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/i2c/mxc_i2c.c

[U-Boot] [PATCH 2/2] imx: mx6ul_14x14_evk: convert to DM_VIDEO

2019-08-01 Thread Peng Fan
To support DM_VIDEO, Add display node for lcdif Drop board iomuxc settings. Enable DM_VIDEO Signed-off-by: Peng Fan --- V1: This patch could be applied directly, but it needs https://patchwork.ozlabs.org/patch/1133224/ patchset work let DM VIDEO work.

[U-Boot] [PATCH 1/2] imx: mx6ul_14x14_evk: Fix SPL boot

2019-08-01 Thread Peng Fan
When booting SPL on the board, met boot failure: " Trying to boot from MMC2 MMC Device 1 not found spl: could not find mmc device 1. error: -19 SPL: failed to boot from all boot devices " Let's register the two mmc controllers in SPL stage to avoid boot failure. Signed-off-by: Peng Fan ---

Re: [U-Boot] [BISECTED] [BUG]: MMC initialization hang at Zynq Z-turn board

2019-08-01 Thread Faiz Abbas
Hi, On 01/08/19 7:51 AM, Peng Fan wrote: >> Subject: [BISECTED] [BUG]: MMC initialization hang at Zynq Z-turn board >> >> Hello, >> >> I am running Zynq Z-turn board and I face the following issue with MMC >> initialization in SPL. >> With u-boot master, I see the message similar to the

[U-Boot] 答复: [PATCH 2/3] USB: host: Add the USB3 host driver

2019-08-01 Thread Sherry Sun
Hi, Marek I'm so sorry to check the e-mail and reply you so late. > On 7/16/19 2:08 PM, sherry sun wrote: > > From: Sherry Sun > > > > This driver is ported from NXP i.MX U-Boot version imx_v2019.04 and > > some changes have also been made to adapt to U-Boot. > > I don't this this line above

Re: [U-Boot] [PATCH 3/4] pci: mediatek: Add pci-driver for mt2701

2019-08-01 Thread Ryder Lee
On Wed, 2019-07-31 at 18:09 +0200, Frank Wunderlich wrote: > Hi Ryder, > > you know that we cannot write a full, multi-device driver here :) Just need to write mt7623 part. And what I'm saying is you have a perfect dts with many phandles listed there. (i.e. clk, reset, reg and phy)

Re: [U-Boot] [PATCH v7 3/9] x86: Add a common HOB library

2019-08-01 Thread Andy Shevchenko
On Thu, Aug 1, 2019 at 9:00 AM Bin Meng wrote: > On Mon, Jul 29, 2019 at 12:35 PM Park, Aiden wrote: > > arch/x86/include/asm/fsp/fsp_hob.h | 184 +--- > > arch/x86/include/asm/fsp/fsp_support.h | 37 +--- > > arch/x86/include/asm/hob.h | 229

[U-Boot] [PATCH] armv8: ls1088aqds: support DSPI mode by hwconfig

2019-08-01 Thread Chuanhua Han
BRDCFG4[USBOSC] and BRDCFG5[SPR] register field of Qixis device is used to control SPI and other IP signal routing. USBOSC: 0= SPI_CLK used as external USB REFCLK input driven with 24.000 MHz. SPI devices are unusable in this mode. 1= SPI_CLK used as SPI clock. SPI devices are usable in this

[U-Boot] [PATCH v2 3/4] usb: mx6: add fuse check

2019-08-01 Thread Peng Fan
Add fuse check for USB. If the fuse indicates the module will not work in the SoC, let's fail the initialization. Signed-off-by: Peng Fan --- V2: Fix build for aarch64 drivers/usb/host/ehci-mx6.c | 16 1 file changed, 16 insertions(+) diff --git

[U-Boot] [PATCH v2 4/4] net: fec: add fuse check

2019-08-01 Thread Peng Fan
Add fuse check for fec. If the fuse indicates the module will not work in the SoC, let's fail the initialization. Signed-off-by: Peng Fan Acked-by: Joe Hershberger --- V2: Fix build for aarch64 Add ACK tag drivers/net/fec_mxc.c | 14 ++ 1 file changed, 14 insertions(+) diff

Re: [U-Boot] [PATCH 32/39] env: Rename the redundancy flags

2019-08-01 Thread Tom Rini
On Thu, Aug 01, 2019 at 12:55:18AM +, Joe Hershberger wrote: > Hi Tom, > > On Wed, Jul 31, 2019 at 7:53 PM Tom Rini wrote: > > > > On Wed, Jul 31, 2019 at 09:20:58PM +, Joe Hershberger wrote: > > > On Wed, Jul 31, 2019 at 4:00 PM Simon Glass wrote: > > > > > > > > Hi Joe, > > > > > > >

Re: [U-Boot] [PATCH 0/3] USB: Add cadence USB3 gadget driver and host driver

2019-08-01 Thread Peng Fan
Igor, > Subject: Re: [U-Boot] [PATCH 0/3] USB: Add cadence USB3 gadget driver and > host driver > > Hi Sherry, > > On Tue, Jul 16, 2019 at 4:15 PM sherry sun wrote: > > > > From: Sherry Sun > > > > These patches introduce new Cadence USBSS driver to U-Boot. > > > > The first patch is to add

Re: [U-Boot] [PATCH] mmc: zynq_sdhci: fix uninitialized pointer deref on probe

2019-08-01 Thread Peng Fan
> Subject: [PATCH] mmc: zynq_sdhci: fix uninitialized pointer deref on probe > > Since commit 3d296365e4e8 ("mmc: sdhci: Add support for > sdhci-caps-mask") sdhci_setup_cfg() expects a valid sdhci_host mmc field. > Move the mmc field initialization before sdhci_setup_cfg() call to avoid crash >

Re: [U-Boot] 答复: [PATCH 0/4] Make some changes to SDP

2019-08-01 Thread Peng Fan
Angus, > Subject: Re: 答复: [U-Boot] [PATCH 0/4] Make some changes to SDP > > Hi Sherry, > > On 2019-07-31 19:56, Sherry Sun wrote: > > Hi Angus > > > >> > >> Hi Sherry, > >> > >> On 2019-07-17 18:40, sherry sun wrote: > >> > From: Sherry Sun > >> > > >> > This patchset adds: > >> > 1. Add

Re: [U-Boot] [PATCH v7 8/9] board: intel: Add new slimbootloader board

2019-08-01 Thread Park, Aiden
Hi Bin, > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Thursday, August 1, 2019 2:17 PM > To: Park, Aiden > Cc: Andy Shevchenko ; U-Boot Mailing List b...@lists.denx.de>; Simon Glass > Subject: Re: [PATCH v7 8/9] board: intel: Add new slimbootloader board >

Re: [U-Boot] [PATCH v7 0/9] x86: Add basic Slim Bootloader payload support

2019-08-01 Thread Park, Aiden
Hi Bin, > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Thursday, August 1, 2019 2:23 PM > To: Park, Aiden > Cc: Andy Shevchenko ; U-Boot Mailing List b...@lists.denx.de>; Simon Glass > Subject: Re: [PATCH v7 0/9] x86: Add basic Slim Bootloader payload support

Re: [U-Boot] [PATCH v2 4/4] net: fec: add fuse check

2019-08-01 Thread Ye Li
Hi Peng, > Add fuse check for fec. If the fuse indicates the module > will not work in the SoC, let's fail the initialization. > > Signed-off-by: Peng Fan > Acked-by: Joe Hershberger > --- > > V2: > Fix build for aarch64 > Add ACK tag > > drivers/net/fec_mxc.c | 14 ++ > 1

Re: [U-Boot] [PATCH] cmd: reset: add parameters to specify reboot_mode

2019-08-01 Thread Simon Glass
Hi Simon, On Mon, 29 Jul 2019 at 04:47, Simon Goldschmidt wrote: > > Simon, > > On Wed, Jul 10, 2019 at 8:50 PM Simon Goldschmidt > wrote: > > > > Simon, > > > > I know I've slept for a while before retriggering this, but... > > > > Am 04.05.2019 um 20:23 schrieb Simon Goldschmidt: > > > Am

Re: [U-Boot] [PATCH v3 1/2] distro_bootcmd: add spi flash boot command

2019-08-01 Thread André Przywara
On 01/08/2019 21:07, Oskari Lemmela wrote: Hi, > Add a boot command to distro boot to support load FIT image > from SPI flash. I think I mentioned this before, but I have my reservations about introducing this to *distro_bootcmd*. IIUC, this feature is explicitly about providing easy support

Re: [U-Boot] [PATCH v2 2/3] sunxi: Pine64-LTS: enable environment in spi flash

2019-08-01 Thread André Przywara
On 01/08/2019 20:50, Oskari Lemmela wrote: Hi, > enable config options for spi flash device and > environment in spi flash. First I am not sure if defining this unconditionally to put the environment in SPI flash is a good idea. People might expect to be able to (continue to) use an environment

Re: [U-Boot] [PATCH v7 3/9] x86: Add a common HOB library

2019-08-01 Thread Park, Aiden
Hi Bin/Andy, > -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Thursday, August 1, 2019 5:14 PM > To: Bin Meng > Cc: Park, Aiden ; U-Boot Mailing List b...@lists.denx.de>; Simon Glass > Subject: Re: [PATCH v7 3/9] x86: Add a common HOB library > >

Re: [U-Boot] [PATCH] mmc: Select SPL_HS200_SUPPORT if SPL_HS400_SUPPORT is selected

2019-08-01 Thread Peng Fan
> Subject: [PATCH] mmc: Select SPL_HS200_SUPPORT if SPL_HS400_SUPPORT > is selected > > Select SPL_HS200_SUPPORT if SPL_HS400_SUPPORT is selected as is being > done for the U-boot case. > > Signed-off-by: Faiz Abbas > --- > drivers/mmc/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff

Re: [U-Boot] 答复: [PATCH 0/4] Make some changes to SDP

2019-08-01 Thread Angus Ainslie
Hi Peng, On 2019-08-01 18:01, Peng Fan wrote: Angus, Subject: Re: 答复: [U-Boot] [PATCH 0/4] Make some changes to SDP Hi Sherry, On 2019-07-31 19:56, Sherry Sun wrote: > Hi Angus > >> >> Hi Sherry, >> >> On 2019-07-17 18:40, sherry sun wrote: >> > From: Sherry Sun >> > >> > This patchset

Re: [U-Boot] fit image: boot gzipped ramdisk does not work anymore

2019-08-01 Thread Heiko Schocher
Hello Julius, Am 01.08.2019 um 20:24 schrieb Julius Werner: First, we have a problem as we need to support what's out in the world. How about I write a patch to change the decompression call in fit_image_load() to fall back to a memcpy() if the decompression fails (and print a big warning

[U-Boot] [PATCH] test/py: Fix MMC/SD block write test dependency

2019-08-01 Thread Michal Simek
Test is using random command which has own Kconfig symbol CMD_RANDOM which already depends on CMD_MEMORY. That's why replace cmd_memory by cmd_random. Fixes: 09da18deab8b ("test/py: add MMC/SD block write test") Signed-off-by: Michal Simek --- test/py/tests/test_mmc_wr.py | 2 +- 1 file

Re: [U-Boot] [PATCH] cmd: reset: add parameters to specify reboot_mode

2019-08-01 Thread Simon Goldschmidt
On Fri, Aug 2, 2019 at 12:45 AM Simon Glass wrote: > > Hi Simon, > > On Mon, 29 Jul 2019 at 04:47, Simon Goldschmidt > wrote: > > > > Simon, > > > > On Wed, Jul 10, 2019 at 8:50 PM Simon Goldschmidt > > wrote: > > > > > > Simon, > > > > > > I know I've slept for a while before retriggering

Re: [U-Boot] [PATCH] mmc: zynq_sdhci: fix uninitialized pointer deref on probe

2019-08-01 Thread Michal Simek
On 01. 08. 19 17:00, Matwey V. Kornilov wrote: > Since commit 3d296365e4e8 ("mmc: sdhci: Add support for > sdhci-caps-mask") sdhci_setup_cfg() expects a valid sdhci_host mmc > field. Move the mmc field initialization before sdhci_setup_cfg() > call to avoid crash on mmc pointer dereference. > >

Re: [U-Boot] [PATCH 2/2] libfdt: return correct value if #size-cells property is not present

2019-08-01 Thread Matthias Brugger
Hi all, On 26/07/2019 11:13, matthias@kernel.org wrote: > From: Matthias Brugger > > According to the device tree specification, the default value for > was not present. > > This patch also makes fdt_address_cells() and fdt_size_cells() conform > to the behaviour documented in libfdt.h.

Re: [U-Boot] fit image: boot gzipped ramdisk does not work anymore

2019-08-01 Thread Simon Goldschmidt
Am 01.08.2019 um 10:06 schrieb Heiko Schocher: Hello Julius, since your commit (just gone into mainline): b1307f884a91 ("fit: Support compression for non-kernel components (e.g. FDT)") I see on an imx6ull based board when booting (FIT image with kernel, dtb and initramdisk), fit image source

[U-Boot] [PATCH v3 5/7] configs: am65x_evm_a53: enable PCIe support

2019-08-01 Thread Sekhar Nori
Enable support for PCIe and related configurations on AM654 EVM platform. Signed-off-by: Sekhar Nori --- configs/am65x_evm_a53_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig index 2cf3a693fc70..efb030549218

[U-Boot] [PATCH v3 2/7] dm: core: add support for getting register address and size

2019-08-01 Thread Sekhar Nori
Current dev_read_*() API lacks support to get address and size of a "reg" property by name or index. Add support for the same. Livetree support has been added but not tested on real hardware. The existing unit tests testing reading address from device-tree have been updated to test address as

[U-Boot] [PATCH v3 6/7] arm: dts: k3-am65: add support for PCIe and SERDES

2019-08-01 Thread Sekhar Nori
Add needed device-tree nodes to support PCIe 0 and SERDES on AM65x SoC. The nodes are kept disabled by default. Signed-off-by: Sekhar Nori --- arch/arm/dts/k3-am65-main.dtsi | 108 + arch/arm/dts/k3-am65.dtsi | 1 +

Re: [U-Boot] [PATCH v3 1/7] clk: add support for clk_is_match()

2019-08-01 Thread Sekhar Nori
Hi Fabio, On 01/08/19 7:17 PM, Fabio Estevam wrote: > Hi Sekhar, > > On Thu, Aug 1, 2019 at 10:44 AM Sekhar Nori wrote: >> >> Add support for clk_is_match() which is required to >> know if two clock pointers point to the same exact >> physical clock. > > I would suggest adding a note that this

Re: [U-Boot] [PATCH 1/2] imx: mx6ul_14x14_evk: Fix SPL boot

2019-08-01 Thread Fabio Estevam
On Thu, Aug 1, 2019 at 3:02 AM Peng Fan wrote: > > When booting SPL on the board, met boot failure: > " > Trying to boot from MMC2 > MMC Device 1 not found > spl: could not find mmc device 1. error: -19 > SPL: failed to boot from all boot devices > " > > Let's register the two mmc controllers in

Re: [U-Boot] [PATCH 2/2] imx: mx6ul_14x14_evk: convert to DM_VIDEO

2019-08-01 Thread Fabio Estevam
Hi Peng, On Thu, Aug 1, 2019 at 3:02 AM Peng Fan wrote: > + display0: display@0 { > + bits-per-pixel = <16>; > + bus-width = <24>; > + > + display-timings { > + native-mode = <>; > + > + timing0: timing0

Re: [U-Boot] fit image: boot gzipped ramdisk does not work anymore

2019-08-01 Thread Heiko Schocher
Hello Simon, Am 01.08.2019 um 14:33 schrieb Simon Goldschmidt: Am 01.08.2019 um 10:06 schrieb Heiko Schocher: Hello Julius, since your commit (just gone into mainline): b1307f884a91 ("fit: Support compression for non-kernel components (e.g. FDT)") I see on an imx6ull based board when

Re: [U-Boot] [PATCH v2 1/7] clk: add support for clk_is_match()

2019-08-01 Thread Sekhar Nori
On 29/07/19 5:21 PM, Tom Rini wrote: > On Mon, Jul 29, 2019 at 02:43:13PM +0530, Sekhar Nori wrote: >> Hi Tom, >> >> On 27/07/19 7:18 AM, Tom Rini wrote: >>> On Mon, Jun 03, 2019 at 06:52:46PM +0530, Sekhar Nori wrote: >>> Add support for clk_is_match() which is required to know if two

Re: [U-Boot] [PATCH v3 1/7] clk: add support for clk_is_match()

2019-08-01 Thread Fabio Estevam
Hi Sekhar, On Thu, Aug 1, 2019 at 10:44 AM Sekhar Nori wrote: > > Add support for clk_is_match() which is required to > know if two clock pointers point to the same exact > physical clock. I would suggest adding a note that this is inspired from the clk_is_match() implementation from the Linux

[U-Boot] [PATCH] ARM: da850-evm: Fix Lowlevel init

2019-08-01 Thread Adam Ford
A previous patch for enabling the NAND config set a flag called CONFIG_SKIP_LOWLEVEL_INIT when it should have been called CONFIG_SKIP_LOWLEVEL_INIT_ONLY. The affect this had was creating a delay on startup for the NOR version which is XIP and doesn't have SPL, so the lowlevel initialization

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

2019-08-01 Thread Auer, Lukas
Hi Rick, On Thu, 2019-08-01 at 11:32 +0800, Rick Chen wrote: > Hi Lukas > > > > From: Lukas Auer [mailto:lukas.a...@aisec.fraunhofer.de] > > > Sent: Sunday, July 28, 2019 11:57 PM > > > To: u-boot@lists.denx.de > > > Cc: Atish Patra; Rick Jian-Zhi Chen(陳建志); Bin Meng; Sagar Kadam; Alistair > > >

Re: [U-Boot] [PATCH v3 1/7] clk: add support for clk_is_match()

2019-08-01 Thread Fabio Estevam
Hi Sekhar, On Thu, Aug 1, 2019 at 10:54 AM Sekhar Nori wrote: > Sure. I assume this goes into the commit description? Yes, correct. Thanks ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [PATCH] Revert "spi: Kconfig: Mark MXS_SPI has DEPRECATED"

2019-08-01 Thread Lukasz Majewski
This reverts commit d5ded320a14b0a2f97cbed072286748895ad18ac. The mxs_spi.c driver for i.MX2{38} devices has been converted: 'commit d99b018a6e3d ("spi: mxs: Add support DM/DTS for i.MX28 mxs SPI driver (DM_SPI conversion)")' to use Device Tree and Device Model, so the DEPRECATED Kconfig symbol

[U-Boot] [PATCH v2 27/40] env: Move env_reloc() to env.h

2019-08-01 Thread Simon Glass
Move env_reloc() over to the new header file. Acked-by: Joe Hershberger Signed-off-by: Simon Glass --- Changes in v2: None include/env.h | 7 +++ include/environment.h | 4 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/include/env.h b/include/env.h index

Re: [U-Boot] fit image: boot gzipped ramdisk does not work anymore

2019-08-01 Thread Tom Rini
On Thu, Aug 01, 2019 at 04:38:51PM +0200, Heiko Schocher wrote: > Hello Simon, > > Am 01.08.2019 um 14:33 schrieb Simon Goldschmidt: > >Am 01.08.2019 um 10:06 schrieb Heiko Schocher: > >>Hello Julius, > >> > >>since your commit (just gone into mainline): > >> > >>b1307f884a91 ("fit: Support

Re: [U-Boot] [PATCH v3 2/7] dm: core: add support for getting register address and size

2019-08-01 Thread Daniel Schwierzeck
On Thu, Aug 1, 2019 at 3:46 PM Sekhar Nori wrote: > > Current dev_read_*() API lacks support to get address and size > of a "reg" property by name or index. Add support for the same. > > Livetree support has been added but not tested on real hardware. > > The existing unit tests testing reading

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

2019-08-01 Thread Matthias Brugger
On 31/07/2019 10:58, Kever Yang wrote: > > On 2019/7/31 下午3:23, Matthias Brugger wrote: >> >> On 24/07/2019 14:22, Kever Yang wrote: >>> On 2019/7/24 下午6:22, Simon Goldschmidt wrote: On Wed, Jul 24, 2019 at 12:01 PM Kever Yang wrote: > The board_early_init_r() suppose to be

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

2019-08-01 Thread Simon Glass
Hi Matthias, On Thu, 1 Aug 2019 at 10:40, Matthias Brugger wrote: > > > > On 31/07/2019 10:58, Kever Yang wrote: > > > > On 2019/7/31 下午3:23, Matthias Brugger wrote: > >> > >> On 24/07/2019 14:22, Kever Yang wrote: > >>> On 2019/7/24 下午6:22, Simon Goldschmidt wrote: > On Wed, Jul 24, 2019

Re: [U-Boot] [PATCH 05/10] bios_emulator: Add some VESA interface debugging

2019-08-01 Thread Simon Glass
Hi Heinrich, On Tue, 30 Jul 2019 at 14:52, Heinrich Schuchardt wrote: > > On 12/30/14 3:32 AM, Simon Glass wrote: > > Allow the supported modes to be listed when in debug mode. > > > > Signed-off-by: Simon Glass > > --- > > > > drivers/bios_emulator/atibios.c | 161 > >

Re: [U-Boot] [PATCH] sifive: riscv: update Hifive Unleashed configuration infrastructure

2019-08-01 Thread Sagar Kadam
Hi Anup, On Thu, Aug 1, 2019 at 9:26 PM Anup Patel wrote: > > On Thu, Aug 1, 2019 at 8:26 PM Sagar Kadam wrote: > > > > Hi Anup, > > > > On Wed, Jul 31, 2019 at 1:50 PM Anup Patel wrote: > > > > > > On Tue, Jul 30, 2019 at 11:01 PM Sagar Kadam > > > wrote: > > > > > > > > Hello Anup, > > > >

Re: [U-Boot] [PATCH 2/2] cmd: avb: Fix compiler warnings

2019-08-01 Thread Igor Opaniuk
Hi, On Wed, Jul 31, 2019 at 7:59 PM Sam Protsenko wrote: > > When building U-Boot with AVB enabled, compiler shows next warnings: > > cmd/avb.c: In function 'do_avb_read_pvalue': > cmd/avb.c:371:18: warning: format '%ld' expects argument of type > 'long int', but

Re: [U-Boot] [PATCH 1/2] avb: Fix build when CONFIG_OPTEE_TA_AVB is disabled

2019-08-01 Thread Igor Opaniuk
Hi, On Wed, Jul 31, 2019 at 7:59 PM Sam Protsenko wrote: > > When having only these AVB related configs enabled: > > CONFIG_AVB_VERIFY=y > CONFIG_CMD_AVB=y > CONFIG_LIBAVB=y > > build fails with next errors: > > common/avb_verify.c: In function 'read_persistent_value': >

Re: [U-Boot] 答复: [PATCH 0/4] Make some changes to SDP

2019-08-01 Thread Angus Ainslie
Hi Sherry, On 2019-07-31 19:56, Sherry Sun wrote: Hi Angus Hi Sherry, On 2019-07-17 18:40, sherry sun wrote: > From: Sherry Sun > > This patchset adds: > 1. Add usb_gadget_initialize() and usb_gadget_release() to initialize > and release UDC during sdp download. > 2. Add high speed

[U-Boot] [PATCH v3 1/7] clk: add support for clk_is_match()

2019-08-01 Thread Sekhar Nori
Add support for clk_is_match() which is required to know if two clock pointers point to the same exact physical clock. Also add a unit test for the new API. Reviewed-by: Lokesh Vutla Signed-off-by: Sekhar Nori --- drivers/clk/clk-uclass.c | 13 + include/clk.h| 12

[U-Boot] [PATCH v3 0/7] Add PCIe root complex support for AM654x SoC

2019-08-01 Thread Sekhar Nori
Hi, This patch series adds PCIe root complex support for AM654x SoC. The device-tree files are based on bindings accepted in linux. See files Documentation/devicetree/bindings/phy/ti,phy-am654-serdes.txt and Documentation/devicetree/bindings/pci/pci-keystone.txt in latest mainline master. I

Re: [U-Boot] [PATCH 0/3] USB: Add cadence USB3 gadget driver and host driver

2019-08-01 Thread Igor Opaniuk
Hi Sherry, On Tue, Jul 16, 2019 at 4:15 PM sherry sun wrote: > > From: Sherry Sun > > These patches introduce new Cadence USBSS driver to U-Boot. > > The first patch is to add the Cadence USB3 IP(CDNS3) driver for the usb > gadget, but the host mode is not supported now. The second patch >

[U-Boot] [PATCH] power: domain: ti-sci-power-domain: Add device ID info to get/set_device failure

2019-08-01 Thread Lokesh Vutla
From: Nishanth Menon Failure log for ti_sci_power_domain_on/off is as below: "ti_sci_power_domain_on: get/set_device failed (-19)" The above information is useless for debug without information on what specific device access failed. So add that information as well. Signed-off-by: Nishanth

Re: [U-Boot] [PATCH v2 4/9] apalis-tk1: enable user debug by default

2019-08-01 Thread Oleksandr Suvorov
On Thu, Aug 1, 2019 at 11:11 AM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Let the kernel print some debug messages when a user program > crashes due to an exception. > > Signed-off-by: Stefan Agner > Signed-off-by: Igor Opaniuk Reviewed-by: Oleksandr Suvorov > --- > >

Re: [U-Boot] [PATCH v2 7/9] apalis-tk1/t30: colibri_t30: display reset reason

2019-08-01 Thread Oleksandr Suvorov
On Thu, Aug 1, 2019 at 11:09 AM Igor Opaniuk wrote: > > From: Dominik Sliwa > > Display proper reset reason after the SoC info. > > Signed-off-by: Dominik Sliwa > Signed-off-by: Igor Opaniuk Reviewed-by: Oleksandr Suvorov > --- > > arch/arm/mach-tegra/sys_info.c | 32

  1   2   >