Re: [U-Boot] QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA

2018-01-07 Thread Marek Vasut
On 01/06/2018 10:09 PM, Jason Rush wrote: > On 1/6/2018 1:29 PM, Marek Vasut wrote: >> On 01/06/2018 07:46 PM, Jason Rush wrote: >>> On 1/6/2018 9:42 AM, Marek Vasut wrote: > > > >>> There was a minor upstream change to one of the files since I submitted v4 >>> of my >>> cadence device-tree pat

Re: [U-Boot] [PATCH v5 0/5] spi: cadence_spi: Adopt Linux DT bindings

2018-01-07 Thread Marek Vasut
On 01/06/2018 07:17 PM, Jason Rush wrote: > Adopt the Linux DT bindings. This also fixes an issue > with the indaddrtrig register on the Cadence QSPI > device being programmed with the wrong value for the > socfpga arch. > > Tested on TI K2G platform: > Tested-by: Vignesh R > > Tested on a socfp

[U-Boot] "fdt" commands in extlinux.conf ?

2018-01-07 Thread Ken Harris
I'd like to enable the CANbus on a Beagle Bone Black (on Fedora ... which doesn't do "cape manager"). The crux is a fdt command in u-boot : fdt set d_can1 status okay Is there a way to do this in extlinux.conf ? I didn't see a way (in uboot 2017.09), so I wrote a uEnv.txt script (see attached).

Re: [U-Boot] [PATCH V2] imx: mx7: psci: add system reset support

2018-01-07 Thread Anson Huang
Best Regards! Anson Huang > -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: 2018-01-07 6:48 AM > To: Anson Huang > Cc: Stefano Babic ; Fabio Estevam > ; Albert ARIBAUD ; > Christian Gmeiner ; Peng Fan > ; U-Boot-Denx > Subject: Re: [U-Boot] [PATCH V2] imx:

Re: [U-Boot] [PATCH V2 1/3] mx7_common: use psci 1.0 instead of 0.1

2018-01-07 Thread Anson Huang
Best Regards! Anson Huang > -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: 2018-01-07 12:05 AM > To: Anson Huang > Cc: Stefano Babic ; Fabio Estevam > ; Albert ARIBAUD ; > Troy Kisky ; Christian Gmeiner > ; Peng Fan ; U-Boot- > Denx > Subject: Re: [U-Boot

Re: [U-Boot] [PATCH V2] imx: mx7: psci: add system reset support

2018-01-07 Thread Anson Huang
Best Regards! Anson Huang > -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: 2018-01-07 6:48 AM > To: Anson Huang > Cc: Stefano Babic ; Fabio Estevam > ; Albert ARIBAUD ; > Christian Gmeiner ; Peng Fan > ; U-Boot-Denx > Subject: Re: [U-Boot] [PATCH V2] imx:

[U-Boot] [PATCH V3 1/3] mx7_common: use psci 1.0 instead of 0.1

2018-01-07 Thread Anson Huang
Use PSCI 1.0 instead of 0.1 to support more power management feature like system reset, power off etc.. Signed-off-by: Anson Huang --- include/configs/mx7_common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h index 16e4d95..786

[U-Boot] [PATCH V3 2/3] imx: mx7: psci: add system reset support

2018-01-07 Thread Anson Huang
Add i.MX7 PSCI system reset support, linux kernel can use "reboot" command to reset system even wdog driver is disabled in kernel. Signed-off-by: Anson Huang --- arch/arm/mach-imx/mx7/psci-mx7.c | 15 ++- arch/arm/mach-imx/mx7/psci.S | 7 +++ 2 files changed, 21 insertions(+

[U-Boot] [PATCH V3 3/3] imx: mx7: psci: add system power off support

2018-01-07 Thread Anson Huang
Add i.MX7 PSCI system power off support, linux kernel can use "poweroff" command to power off system via SNVS, PMIC power will be disabled. Signed-off-by: Anson Huang --- arch/arm/mach-imx/mx7/psci-mx7.c | 18 ++ arch/arm/mach-imx/mx7/psci.S | 7 +++ 2 files changed, 25

Re: [U-Boot] [U-boot] Odroidxu3/4 -s2mps11 bind pmic failed

2018-01-07 Thread Anand Moon
Hi Lukasz, On 3 January 2018 at 14:08, Lukasz Majewski wrote: > Hi Anand, > >> Hi Lukasz >> >> On 3 January 2018 at 03:47, Lukasz Majewski wrote: >> > On Wed, 3 Jan 2018 01:54:57 +0530 >> > Anand Moon wrote: >> > >> >> Hi All, >> >> >> >> I would like to get the s2mps11 regulator binding for u-

[U-Boot] [PATCH] rpi_0_w: Add configs consistent with RpI3

2018-01-07 Thread drew . moseley
From: Drew Moseley CONFIG_OF_EMBED in particular is needed to allow the Raspberry Pi firmware to pass the DTB to U-Boot and on to the kernel. Signed-off-by: Drew Moseley --- configs/rpi_0_w_defconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/configs/rpi_0_w_defconfig b/configs

Re: [U-Boot] [PATCH v6 01/11] wait_bit: add big endian version of wait_for_bit function

2018-01-07 Thread Jagan Teki
On Wed, Jan 3, 2018 at 12:31 AM, Álvaro Fernández Rojas wrote: > Add 8/16/32 bits and BE/LE versions of wait_for_bit. > This is needed for reading registers that are not aligned to 32 bits. > > Signed-off-by: Álvaro Fernández Rojas > --- > v6: Introduce changes suggested by Jagan Teki: > - Swit

Re: [U-Boot] [PATCH v6 04/11] dm: spi: add BCM63xx SPI driver

2018-01-07 Thread Jagan Teki
On Wed, Jan 3, 2018 at 12:31 AM, Álvaro Fernández Rojas wrote: > This driver is a simplified version of linux/drivers/spi/spi-bcm63xx.c > > Signed-off-by: Álvaro Fernández Rojas > Reviewed-by: Simon Glass > Reviewed-by: Daniel Schwierzeck > --- Reviewed-by: Jagan Teki

Re: [U-Boot] [PATCH v6 05/11] mips: bmips: add bcm63xx-spi driver support for BCM6338

2018-01-07 Thread Jagan Teki
On Wed, Jan 3, 2018 at 12:31 AM, Álvaro Fernández Rojas wrote: > This driver manages the SPI controller present on this SoC. > > Signed-off-by: Álvaro Fernández Rojas > Reviewed-by: Daniel Schwierzeck > --- Reviewed-by: Jagan Teki ___ U-Boot mailing

Re: [U-Boot] [PATCH v6 06/11] mips: bmips: add bcm63xx-spi driver support for BCM6348

2018-01-07 Thread Jagan Teki
On Wed, Jan 3, 2018 at 12:31 AM, Álvaro Fernández Rojas wrote: > This driver manages the SPI controller present on this SoC. > > Signed-off-by: Álvaro Fernández Rojas > Reviewed-by: Daniel Schwierzeck > --- Reviewed-by: Jagan Teki ___ U-Boot mailing

Re: [U-Boot] [PATCH v6 07/11] mips: bmips: add bcm63xx-spi driver support for BCM6358

2018-01-07 Thread Jagan Teki
On Wed, Jan 3, 2018 at 12:31 AM, Álvaro Fernández Rojas wrote: > This driver manages the SPI controller present on this SoC. > > Signed-off-by: Álvaro Fernández Rojas > Reviewed-by: Daniel Schwierzeck Reviewed-by: Jagan Teki ___ U-Boot mailing list U

Re: [U-Boot] [PATCH v6 08/11] mips: bmips: add bcm63xx-spi driver support for BCM3380

2018-01-07 Thread Jagan Teki
On Wed, Jan 3, 2018 at 12:31 AM, Álvaro Fernández Rojas wrote: > This driver manages the SPI controller present on this SoC. > > Signed-off-by: Álvaro Fernández Rojas > Reviewed-by: Daniel Schwierzeck > --- Reviewed-by: Jagan Teki ___ U-Boot mailing

Re: [U-Boot] [PATCH v6 09/11] mips: bmips: add bcm63xx-spi driver support for BCM63268

2018-01-07 Thread Jagan Teki
On Wed, Jan 3, 2018 at 12:31 AM, Álvaro Fernández Rojas wrote: > This driver manages the low speed SPI controller present on this SoC. > > Signed-off-by: Álvaro Fernández Rojas > Reviewed-by: Daniel Schwierzeck > --- Reviewed-by: Jagan Teki ___ U-Boo

Re: [U-Boot] [PATCH v6 11/11] mips: bmips: enable the SPI flash on the Netgear CG3100D

2018-01-07 Thread Jagan Teki
On Wed, Jan 3, 2018 at 12:31 AM, Álvaro Fernández Rojas wrote: > It's a Spansion (s25fl064a) 8 MB SPI flash. > > Signed-off-by: Álvaro Fernández Rojas > Reviewed-by: Daniel Schwierzeck > --- Reviewed-by: Jagan Teki ___ U-Boot mailing list U-Boot@list

Re: [U-Boot] [PATCH v6 10/11] mips: bmips: enable the SPI flash on the Sagem F@ST1704

2018-01-07 Thread Jagan Teki
On Wed, Jan 3, 2018 at 12:31 AM, Álvaro Fernández Rojas wrote: > It's a Winbond (w25x32) 4 MB SPI flash. > > Signed-off-by: Álvaro Fernández Rojas > Reviewed-by: Daniel Schwierzeck > --- Reviewed-by: Jagan Teki ___ U-Boot mailing list U-Boot@lists.de

[U-Boot] [PATCH v3] crypto/fsl: fix BLOB encapsulation and decapsulation

2018-01-07 Thread Clemens Gruber
The blob_encap and blob_decap functions were not flushing the dcache before passing data to CAAM/DMA and not invalidating the dcache when getting data back. Therefore, blob encapsulation and decapsulation failed with errors like the following due to data cache incoherency: "4006: DECO: desc idx

[U-Boot] [PATCH 1/1] efi_loader: allocate correct memory type for EFI image

2018-01-07 Thread Heinrich Schuchardt
The category of memory allocated for an EFI image should depend on its type (application, bootime service driver, runtime service driver). Our helloworld.efi built on arm64 has an illegal image type. Treat it like an EFI application. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_ima

Re: [U-Boot] [PATCH v3] crypto/fsl: fix BLOB encapsulation and decapsulation

2018-01-07 Thread Tom Rini
On Sun, Jan 07, 2018 at 08:26:29PM +0100, Clemens Gruber wrote: > The blob_encap and blob_decap functions were not flushing the dcache > before passing data to CAAM/DMA and not invalidating the dcache when > getting data back. > Therefore, blob encapsulation and decapsulation failed with errors li

Re: [U-Boot] "fdt" commands in extlinux.conf ?

2018-01-07 Thread Peter Robinson
On Sun, Jan 7, 2018 at 4:04 AM, Ken Harris wrote: > I'd like to enable the CANbus on a Beagle Bone Black (on Fedora ... > which doesn't do "cape manager"). Well Fedora doesn't so stuff that's not upstream, and while there's been a bunch of discussion there's been no decision upstream of how best

Re: [U-Boot] [PATCH v2] x86: Move commands from under arch/x86 to cmd/x86/

2018-01-07 Thread Bin Meng
On Wed, Jan 3, 2018 at 9:54 PM, Tom Rini wrote: > We only need to compile and link these files when building for full > U-Boot. Move them to under cmd/x86/ to make sure they aren't linked in > and undiscarded due to u_boot_list_2_cmd_* being included). > > Cc: Bin Meng > Signed-off-by: Tom Rini

Re: [U-Boot] [PATCH 1/1] configs: x86: allow to override CONFIG_BOOTCOMMAND

2018-01-07 Thread Bin Meng
On Wed, Jan 3, 2018 at 11:23 PM, Heinrich Schuchardt wrote: > Allow to override CONFIG_BOOTCOMMAND in .config. > > Signed-off-by: Heinrich Schuchardt > --- > include/configs/x86-common.h | 2 ++ > 1 file changed, 2 insertions(+) > Reviewed-by: Bin Meng _

[U-Boot] [PATCH] ARM: mvebu: correct reference for "ethernet1" on DB-88F6820-AMC

2018-01-07 Thread Chris Packham
The DB-88F6820-AMC connects ethernet@34000 and ethernet@7 which are labeled as eth2 and eth0 in armada-38x.dts. The ethernet@3 (eth1) is not used on the AMC board. This eliminates the following bootup message Device 'ethernet@7': seq 0 is in use by 'ethernet@34000' Signed-off-by: C

Re: [U-Boot] [PATCH v1 1/2] x86: tangier: Use actual GPIO hardware numbers

2018-01-07 Thread Bin Meng
On Fri, Jan 5, 2018 at 12:40 AM, Andy Shevchenko wrote: > The recent commit 03c4749dd6c7 > ("gpio / ACPI: Drop unnecessary ACPI GPIO to Linux GPIO translation") > in the Linux kernel reveals the issue we have in ACPI tables here, > i.e. we must use hardware numbers for GPIO resources and, > taki

Re: [U-Boot] [PATCH v1 2/2] x86: tangier: Add Bluetooth to ACPI table

2018-01-07 Thread Bin Meng
On Fri, Jan 5, 2018 at 12:40 AM, Andy Shevchenko wrote: > As defined on reference board followed by Intel Edison a Bluetooth > device is attached to HSU0, i.e. PCI :04.1. > > Describe it in ACPI accordingly. > > Note, we use BCM2E95 ID here as one most suitable for such device based > on the d

Re: [U-Boot] [PATCH 01/16] efi_selftest: colored test output

2018-01-07 Thread Simon Glass
Hi Heinrich, On 17 December 2017 at 08:43, Heinrich Schuchardt wrote: > Add color coding to output: > test sectionblue > success green > errors red > todoyellow > summary white > others light gray > > Signed-off-by: Heinrich Schuchardt > --- > i

Re: [U-Boot] [PATCH 02/16] efi_loader: simplify efi_remove_all_protocols

2018-01-07 Thread Simon Glass
On 17 December 2017 at 08:43, Heinrich Schuchardt wrote: > Replace list_for_each_safe() and list_entry() by > list_for_each_entry_safe(). > > Signed-off-by: Heinrich Schuchardt > --- > lib/efi_loader/efi_boottime.c | 9 +++-- > 1 file changed, 3 insertions(+), 6 deletions(-) Reviewed-by: Si

Re: [U-Boot] [PATCH 03/16] efi_selftest: do not try to close device path protocol

2018-01-07 Thread Simon Glass
On 17 December 2017 at 08:43, Heinrich Schuchardt wrote: > CloseProtocol cannot be called without agent handle. > > There is no need to close the device path protocol if > it has been opened without agent handle. > > Signed-off-by: Heinrich Schuchardt > --- > lib/efi_selftest/efi_selftest_device

Re: [U-Boot] [PATCH 04/16] efi_loader: list of open protocol infos

2018-01-07 Thread Simon Glass
On 17 December 2017 at 08:43, Heinrich Schuchardt wrote: > Add a list of open protocol infos to each protocol of a handle. > > Provide helper functions to access the list items. > > Signed-off-by: Heinrich Schuchardt > --- > include/efi_loader.h | 15 ++- > lib/efi_loader/ef

Re: [U-Boot] [PATCH 07/16] efi_loader: implement OpenProtocolInformation

2018-01-07 Thread Simon Glass
On 17 December 2017 at 08:43, Heinrich Schuchardt wrote: > efi_open_protocol_information provides the agent and controller > handles as well as the attributes and open count of an protocol > on a handle. > > Signed-off-by: Heinrich Schuchardt > --- > lib/efi_loader/efi_boottime.c | 41 ++

Re: [U-Boot] [PATCH 05/16] efi_loader: open_info in OpenProtocol

2018-01-07 Thread Simon Glass
On 17 December 2017 at 08:43, Heinrich Schuchardt wrote: > efi_open_protocol has to keep track of opened protocols. > > OpenProtocol enters the agent and controller handle > information into this list. > > Signed-off-by: Heinrich Schuchardt > --- > lib/efi_loader/efi_boottime.c | 107 >

Re: [U-Boot] [PATCH 06/16] efi_loader: open_info in CloseProtocol

2018-01-07 Thread Simon Glass
On 17 December 2017 at 08:43, Heinrich Schuchardt wrote: > efi_open_protocol and efi_close_protocol have to keep track of > opened protocols. > > Check if the protocol was opened for the same agent and > controller. > > Remove all open protocol information for this pair. > > Signed-off-by: Heinric

Re: [U-Boot] [PATCH 09/16] efi_loader: implement ConnectController

2018-01-07 Thread Simon Glass
Hi Heinrick, On 17 December 2017 at 08:43, Heinrich Schuchardt wrote: > Implement the ConnectController boot service. > > Signed-off-by: Heinrich Schuchardt > --- > include/efi_api.h | 22 ++ > include/efi_loader.h | 2 + > lib/efi_loader/efi_boottime.c | 178 >

Re: [U-Boot] [PATCH 11/16] efi_loader: implement DisconnectController

2018-01-07 Thread Simon Glass
Hi Heinrich, On 17 December 2017 at 08:43, Heinrich Schuchardt wrote: > Unfortunately we need a forward declaration because both > OpenProtocol and CloseProtocol have to call DisconnectController. > And DisconnectController calls both OpenProtcol and CloseProtocol. > > Signed-off-by: Heinrich Sch

Re: [U-Boot] [PATCH 08/16] efi_loader: debug output installed device path

2018-01-07 Thread Simon Glass
On 17 December 2017 at 08:43, Heinrich Schuchardt wrote: > When a device path protocol is installed write the device > path to the console in debug mode. > > Signed-off-by: Heinrich Schuchardt > --- > lib/efi_loader/efi_boottime.c | 7 +++ > 1 file changed, 7 insertions(+) Reviewed-by: Simo

Re: [U-Boot] [PATCH 15/16] efi_selftest: test for (Dis)ConnectController

2018-01-07 Thread Simon Glass
On 17 December 2017 at 08:43, Heinrich Schuchardt wrote: > This unit test checks the following protocol services: > ConnectController, DisconnectController, > InstallProtocol, UninstallProtocol, > OpenProtocol, CloseProtcol, OpenProtocolInformation > > Signed-off-by: Heinrich Schuchardt > --- >

Re: [U-Boot] [PATCH 10/16] efi_loader: fix signature of efi_disconnect_controller

2018-01-07 Thread Simon Glass
On 17 December 2017 at 08:43, Heinrich Schuchardt wrote: > Handles should be passed as efi_handle_t and not as void *. > > Signed-off-by: Heinrich Schuchardt > --- > include/efi_api.h | 6 -- > lib/efi_loader/efi_boottime.c | 7 --- > 2 files changed, 8 insertions(+), 5 delet

Re: [U-Boot] [PATCH 14/16] efi_selftest: remove todo in device path test

2018-01-07 Thread Simon Glass
On 17 December 2017 at 08:43, Heinrich Schuchardt wrote: > The installation of UninstallProtocol is functional now. > So we do not expect errors when calling it. > > Call UninstallProtocol with correct level of indirection > for parameter handle. > > Signed-off-by: Heinrich Schuchardt > --- > li

Re: [U-Boot] [PATCH 12/16] efi_loader: disconnect controllers in UninstallProtocol

2018-01-07 Thread Simon Glass
On 17 December 2017 at 08:43, Heinrich Schuchardt wrote: > The UninstallProtocol boot service should first try to > disconnect controllers that have been connected with > EFI_OPEN_PROTOCOL_BY_DRIVER. > > If the protocol is still opened by an agent, it should be > closed. > > Signed-off-by: Heinric

Re: [U-Boot] [PATCH 13/16] efi_selftest: remove todo in manage protocols

2018-01-07 Thread Simon Glass
On 17 December 2017 at 08:43, Heinrich Schuchardt wrote: > The installation of UninstallProtocols is functional now. > So we do not expect errors when calling it. > > Signed-off-by: Heinrich Schuchardt > --- > lib/efi_selftest/efi_selftest_manageprotocols.c | 22 +++--- > 1 file

Re: [U-Boot] [PATCH 16/16] efi_loader: consistently use efi_handle_t for handles

2018-01-07 Thread Simon Glass
On 17 December 2017 at 08:43, Heinrich Schuchardt wrote: > We should consistently use the efi_handle_t typedef when > referring to handles. > > Signed-off-by: Heinrich Schuchardt > --- > cmd/bootefi.c | 10 - > include/efi_api.h | 20 ++ > incl

Re: [U-Boot] [PATCH 3/4] ARMv8: Allow dynamic early stack pointer

2018-01-07 Thread Simon Glass
Hi Stephen, On 19 December 2017 at 18:30, Stephen Warren wrote: > From: Stephen Warren > > U-Boot typically uses a hard-coded value for the stack pointer before > relocation. Implement option SYS_INIT_SP_BSS_OFFSET to instead calculate > the initial SP at run-time. This is useful to avoid hard-c

Re: [U-Boot] [PATCH 2/4] ARM: tegra: remove SPL config for non-SPL SoCs

2018-01-07 Thread Simon Glass
On 19 December 2017 at 18:30, Stephen Warren wrote: > From: Stephen Warren > > No 64-bit Tegra uses SPL. Remove various unused definitions from config > headers. > > Signed-off-by: Stephen Warren > --- > include/configs/tegra-common.h| 2 ++ > include/configs/tegra186-common.h | 5 - >

Re: [U-Boot] QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA

2018-01-07 Thread Jason Rush
On 1/7/2018 5:39 AM, Marek Vasut wrote: > On 01/06/2018 10:09 PM, Jason Rush wrote: >> On 1/6/2018 1:29 PM, Marek Vasut wrote: >>> On 01/06/2018 07:46 PM, Jason Rush wrote: On 1/6/2018 9:42 AM, Marek Vasut wrote: >> >> There was a minor upstream change to one of the files since I submitt

Re: [U-Boot] [PATCH 4/4] ARM: tegra: use CONFIG_SYS_INIT_SP_BSS_OFFSET

2018-01-07 Thread Simon Glass
On 19 December 2017 at 18:30, Stephen Warren wrote: > From: Stephen Warren > > Enable CONFIG_SYS_INIT_SP_BSS_OFFSET for all 64-bit Tegra boards. Place > the stack/... 512KiB from the end of the U-Boot binary. This should be > plenty to accommodate the current DTBs (max 64 KiB), early malloc regio

Re: [U-Boot] [PATCH v10 23/27] board_r: initialize spi_nor

2018-01-07 Thread Simon Glass
Hi Jagan, On 27 December 2017 at 23:12, Jagan Teki wrote: > initialize spi-nor framework during boot, so-that detected > buses can appears at boot log. > > Signed-off-by: Suneel Garapati > Signed-off-by: Jagan Teki > --- > common/board_r.c | 13 + > drivers/mtd/

Re: [U-Boot] [PATCH v3 1/1] vsprintf.c: add EFI device path printing

2018-01-07 Thread Simon Glass
On 26 December 2017 at 03:07, Heinrich Schuchardt wrote: > For debugging efi_loader we need the capability to print EFI > device paths. With this patch we can write: > > debug("device path: %pD", dp); > > A possible output would be > > device path: /MemoryMapped(0x0,0x3ff93a82,0x3ff93a82)

Re: [U-Boot] [PATCH 1/9] fit: Fix CONFIG_FIT_SPL_PRINT

2018-01-07 Thread Simon Glass
On 28 December 2017 at 05:06, Marek Vasut wrote: > Rename CONFIG_FIT_SPL_PRINT to CONFIG_SPL_FIT_PRINT and add Kconfig > entry for it. > > Signed-off-by: Marek Vasut > Cc: Pantelis Antoniou > Cc: Simon Glass > --- > Kconfig| 6 ++ > README | 2 +- > common/image-fit

Re: [U-Boot] [PATCH 2/9] fit: Add empty fit_print_contents() and fit_image_print()

2018-01-07 Thread Simon Glass
On 28 December 2017 at 05:06, Marek Vasut wrote: > These functions may be needed in SPL, so add empty variants of them > if CONFIG_SPL_FIT_PRINT is disabled. > > Signed-off-by: Marek Vasut > Cc: Pantelis Antoniou > Cc: Simon Glass > --- > common/image-fit.c | 4 +++- > 1 file changed, 3 insert

Re: [U-Boot] [PATCH 3/9] fit: Add standalone image type handling

2018-01-07 Thread Simon Glass
On 28 December 2017 at 05:06, Marek Vasut wrote: > Just add IH_TYPE_STANDALONE to fit_get_image_type_property(). > > Signed-off-by: Marek Vasut > Cc: Pantelis Antoniou > Cc: Simon Glass > --- > common/image-fit.c | 2 ++ > include/image.h| 1 + > 2 files changed, 3 insertions(+) Reviewed-

Re: [U-Boot] [PATCH 4/9] fit: Verify all configuration signatures

2018-01-07 Thread Simon Glass
On 28 December 2017 at 05:06, Marek Vasut wrote: > Rather than verifying configuration signature of the configuration node > containing the kernel image types, verify all configuration nodes, even > those that do not contain kernel images. This is useful when the nodes > contain ie. standalone OSe

Re: [U-Boot] [PATCH 5/9] spl: Add full fitImage support

2018-01-07 Thread Simon Glass
Hi Marek, On 28 December 2017 at 05:06, Marek Vasut wrote: > Add support for loading U-Boot and optionally FDT from a fitImage > in SPL by using the full fitImage support from U-Boot. While we do > have limited SPL loading support in SPL with a small footprint, it > is missing a lot of important

Re: [U-Boot] [PATCH v3] crypto/fsl: fix BLOB encapsulation and decapsulation

2018-01-07 Thread Sumit Garg
> -Original Message- > From: Clemens Gruber [mailto:clemens.gru...@pqgruber.com] > Sent: Monday, January 08, 2018 12:56 AM > To: York Sun > Cc: u-boot@lists.denx.de; Fabio Estevam ; Tom Rini > ; Vini Pillai ; Ruchika Gupta > ; Breno Matheus Lima ; > Fabio Estevam ; Sumit Garg ; > Arun Path

Re: [U-Boot] [PATCH 6/9] spl: Add support for overlaying U-Boot DT

2018-01-07 Thread Simon Glass
Hi Marek, On 28 December 2017 at 05:06, Marek Vasut wrote: > Add support for loading fitImage with device tree overlay image, which > is applied to the U-Boot's own device tree. Once the DT is applied, the > fitImage loading process is restarted. > > This patch allows a usecase where the DTO patc

Re: [U-Boot] [PATCH 8/9] spl: ram: Add support for fetching image position from control DT

2018-01-07 Thread Simon Glass
Hi Marek, On 28 December 2017 at 05:06, Marek Vasut wrote: > Add support for fetching the image position in RAM from control DT > rather than hard-coding it. While doing so, return the return value > of spl_parse_header_image() to make it possible to test application > of DTOs on U-Boot's control

Re: [U-Boot] [PATCH 9/9] spl: spi: Add support for fetching image position from control DT

2018-01-07 Thread Simon Glass
Hi Marek, On 28 December 2017 at 07:29, Lukasz Majewski wrote: > Hi Marek, > >> Add support for fetching the image position in RAM from control DT >> rather than hard-coding it. While doing so, return the return value >> of spl_parse_header_image() to make it possible to test application >> of DT

Re: [U-Boot] [PATCH 0/8] mmc: some fixes for core and add HS200 support for sdhci-cadence

2018-01-07 Thread Simon Glass
On 29 December 2017 at 10:00, Masahiro Yamada wrote: > This series can be cleanly applied to u-boot-mmc/next. > > I really hope the HS200 support will be pulled in the next MW. Yes please, it has been too long. ___ U-Boot mailing list U-Boot@lists.denx.

Re: [U-Boot] [PATCH 1/2] cmd: go: Make do_go available to outside boot.c

2018-01-07 Thread Simon Glass
Hi Emmanuel, On 2 January 2018 at 14:27, Emmanuel Vadot wrote: > Some commands (like sysboot) might want to call go as they can encounter > a raw binary. > Make do_go callable for everyone. > > Signed-off-by: Emmanuel Vadot > --- > cmd/boot.c| 2 +- > include/command.h | 4 > 2 fil

Re: [U-Boot] [PATCH 1/8] dm: add dev_read_u32()

2018-01-07 Thread Simon Glass
Hi Masahiro, On 29 December 2017 at 10:00, Masahiro Yamada wrote: > dev_read_u32_default() always returns something even when the property > is missing. So, it is impossible to do nothing in the case. One > solution is to use ofnode_read_u32() instead, but adding dev_read_u32() > will be helpfu

Re: [U-Boot] [PATCH 2/2] sysboot: Call bootm booti bootz then go on label_boot

2018-01-07 Thread Simon Glass
Hi Emmanuel, On 2 January 2018 at 14:27, Emmanuel Vadot wrote: > As do_bootm/do_booti/do_bootz will not return if the boot succeded, always > call them if enable by the config. > Also add a fallback to go if the binary is a raw one. Do we not know which type of binary it is? It seems like we sho

Re: [U-Boot] [PATCH 2/2] ARM: tegra: use LINUX_KERNEL_IMAGE_HEADER

2018-01-07 Thread Simon Glass
Hi Stephen, On 2 January 2018 at 16:54, Stephen Warren wrote: > From: Stephen Warren > > Enable CONFIG_LINUX_KERNEL_IMAGE_HEADER for all 64-bit Tegra boards. > cboot (the boot SW that runs before U-Boot) will eventually use this > information. How does U-Boot use it? Does it not come from the F

Re: [U-Boot] [PATCH] GPIO: pca953x: Rework to not include commands in SPL

2018-01-07 Thread Simon Glass
On 3 January 2018 at 07:23, Tom Rini wrote: > The command portion of the GPIO driver can only be used in full SPL so > re-work to guard the command related portions and mark it as static. > > Cc: Bin Meng > Cc: Simon Glass > Cc: Philipp Tomsich > Signed-off-by: Tom Rini > --- > drivers/gpio/p

Re: [U-Boot] [PATCH 1/3] ARM: Tegra186: mem parsing fixes from downstream

2018-01-07 Thread Simon Glass
On 3 January 2018 at 14:32, Stephen Warren wrote: > From: Stephen Warren > > Apply a few small fixes for the DTB /memory node parsing from NVIDIA's > downstream U-Boot: > > - Allow arbitrary number of DRAM banks. > - Correctly calculate the number of DRAM banks. > - Clip PCIe memory in the same w

Re: [U-Boot] [PATCH 00/11] Introduce variables whitelisting in environment

2018-01-07 Thread Simon Glass
Hi Quentin, On 3 January 2018 at 02:18, Quentin Schulz wrote: > Hi Simon, > > On 29/12/2017 04:13, Simon Glass wrote: >> Hi Quentin, >> >> On 22 December 2017 at 14:13, Quentin Schulz >> wrote: >>> This patch series is based on this[1] patch series from Maxime. >>> >>> This is an RFC. It's been

Re: [U-Boot] [PATCH 1/1] configs: x86: allow to override CONFIG_BOOTCOMMAND

2018-01-07 Thread Simon Glass
Hi Heinrich, On 3 January 2018 at 08:23, Heinrich Schuchardt wrote: > Allow to override CONFIG_BOOTCOMMAND in .config. > > Signed-off-by: Heinrich Schuchardt > --- > include/configs/x86-common.h | 2 ++ > 1 file changed, 2 insertions(+) This is a Chrome OS boot line. I think you should conside

Re: [U-Boot] [PATCH 3/3] ARM: tegra: p2771-000: increase max DRAM bank count

2018-01-07 Thread Simon Glass
On 3 January 2018 at 14:32, Stephen Warren wrote: > From: Stephen Warren > > On this platform, there may be up to 1024 unusable chunks of memory. > Increase CONFIG_NR_DRAM_BANKS so that U-Boot can remember all the banks > required to represent such fragmented memory. > > Signed-off-by: Stephen Wa

Re: [U-Boot] [PATCH 2/3] ARM: Tegra186: search for best RAM bank

2018-01-07 Thread Simon Glass
On 3 January 2018 at 14:32, Stephen Warren wrote: > From: Stephen Warren > > In the future, the list of DRAM regions passed to U-Boot in the DTB may > be quite long and fragmented. Due to this, U-Boot must search through the > regions to find the best region to relocate into, rather than relying

Re: [U-Boot] [PATCH v1 1/2] x86: tangier: Use actual GPIO hardware numbers

2018-01-07 Thread Simon Glass
On 4 January 2018 at 09:40, Andy Shevchenko wrote: > The recent commit 03c4749dd6c7 > ("gpio / ACPI: Drop unnecessary ACPI GPIO to Linux GPIO translation") > in the Linux kernel reveals the issue we have in ACPI tables here, > i.e. we must use hardware numbers for GPIO resources and, > taking in

Re: [U-Boot] [PATCH] ARM: bootm: don't assume sp is in DRAM bank 0

2018-01-07 Thread Simon Glass
On 5 January 2018 at 13:04, Stephen Warren wrote: > From: Stephen Warren > > arch_lmb_reserve() currently assumes that the stack pointer is within DRAM > bank 0. This is not necessarily true. Enhance the code to search through > DRAM banks until the bank that does contain SP is found, and then re

Re: [U-Boot] [PATCH] dm: pinctrl: sync with Linux to use pin_config_param

2018-01-07 Thread Simon Glass
+masahiro On 4 January 2018 at 23:05, Peng Fan wrote: > Sync with Linux commit 30a7acd573899fd8b("Linux 4.15-rc6") > to use enum pin_config_param. > > Signed-off-by: Peng Fan > --- > include/dm/pinctrl.h | 112 > ++- > 1 file changed, 66 insertio

Re: [U-Boot] [PATCH v1 2/2] x86: tangier: Add Bluetooth to ACPI table

2018-01-07 Thread Simon Glass
On 4 January 2018 at 09:40, Andy Shevchenko wrote: > As defined on reference board followed by Intel Edison a Bluetooth > device is attached to HSU0, i.e. PCI :04.1. > > Describe it in ACPI accordingly. > > Note, we use BCM2E95 ID here as one most suitable for such device based > on the descri

Re: [U-Boot] [PATCH 1/1] board_r: remove superfluous #ifdef CONFIG_PRAM

2018-01-07 Thread Simon Glass
On 6 January 2018 at 16:54, Heinrich Schuchardt wrote: > initr_mem() is already enclosed by > #if defined(CONFIG_PRAM) > #endif > > So there is no need to check CONFIG_PRAM again inside the > function. > > Signed-off-by: Heinrich Schuchardt > --- > common/board_r.c | 2 -- > 1 fi

Re: [U-Boot] [PATCH 12/14] env: Mark env_get_location as weak

2018-01-07 Thread Simon Glass
Hi Maxime, On 5 January 2018 at 02:29, Maxime Ripard wrote: > Hi Simon, > > On Thu, Dec 28, 2017 at 08:13:42PM -0700, Simon Glass wrote: >> Hi Maxime, >> >> On 28 November 2017 at 03:24, Maxime Ripard >> wrote: >> > Allow boards and architectures to override the default environment lookup >> > c

Re: [U-Boot] [PATCH] config_whitelist: remove false-positive CONFIG options

2018-01-07 Thread Simon Glass
On 5 January 2018 at 11:17, Masahiro Yamada wrote: > U-Boot pulled in several core makefiles from Linux. The following > are not used in U-Boot: > > - CONFIG_DEBUG_SECTION_MISMATCH > - CONFIG_FTRACE_MCOUNT_RECORD > - CONFIG_GCOV_KERNEL > - CONFIG_GCOV_PROFILE_ALL > - CONFIG_KASAN > -

Re: [U-Boot] QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA

2018-01-07 Thread Vignesh R
On Monday 08 January 2018 09:10 AM, Jason Rush wrote: [...] >>> 1. The indaddrtrig register was being programmed with an incorrect value >>> for socfpga >>> as the result of assuming it should be programmed with the same address as >>> the >>> ahbbase address.  This issue is resolved by adoptin

Re: [U-Boot] [U-boot] Odroidxu3/4 -s2mps11 bind pmic failed

2018-01-07 Thread Jaehoon Chung
On 01/08/2018 12:34 AM, Anand Moon wrote: > Hi Lukasz, > > On 3 January 2018 at 14:08, Lukasz Majewski wrote: >> Hi Anand, >> >>> Hi Lukasz >>> >>> On 3 January 2018 at 03:47, Lukasz Majewski wrote: On Wed, 3 Jan 2018 01:54:57 +0530 Anand Moon wrote: > Hi All, > > I w

[U-Boot] [PATCH] board/ls2081ard: Correct code to get QMAP value in checkboard

2018-01-07 Thread Priyanka Jain
QMAP value contains information about QSPI chip-selects. These bits are used to display information of boot device in checkboard() function. QMAP value is stored in most significant 3-bits of 8-bit register brdcfg[0] in Qixis, this patch corrects code to get QMAP bits using below logic: (b

Re: [U-Boot] [U-boot] Odroidxu3/4 -s2mps11 bind pmic failed

2018-01-07 Thread Anand Moon
Hi Jaehoon, On 8 January 2018 at 11:56, Jaehoon Chung wrote: > On 01/08/2018 12:34 AM, Anand Moon wrote: >> Hi Lukasz, >> >> On 3 January 2018 at 14:08, Lukasz Majewski wrote: >>> Hi Anand, >>> Hi Lukasz On 3 January 2018 at 03:47, Lukasz Majewski wrote: > On Wed, 3 Jan 2018

[U-Boot] [PATCH] board/ls2081ardb: Update board related prints

2018-01-07 Thread Priyanka Jain
Remove Board Arch print as its value is always constant '1' and does not contain any important information to display during boot Add print to display Board FPGA version. Signed-off-by: Priyanka Jain --- This patch is split version of another patch https://patchwork.ozlabs.org/patch/803117/ bo