[U-Boot] [PATCH] emdk->emsdp: Rename board

2018-10-17 Thread Alexey Brodkin
Real marketing name of the board was recently updated so to accommodate that change renaming the board and all related to it. Signed-off-by: Alexey Brodkin --- arch/arc/Kconfig | 6 +++--- arch/arc/dts/Makefile | 2 +- arch/arc/dts/{emdk.dts

[U-Boot] [PATCH v3 3/5] sunxi: DT: A64: update device tree file for Allwinner A64 SoC

2018-10-17 Thread Vasily Khoruzhick
Updates the device tree file from the the Linux tree as of v4.19-rc4, exactly Linux commit: commit 7876320f8880 (tag: v4.19-rc4) Author: Linus Torvalds Date: Sun Sep 16 11:52:37 2018 -0700 Linux 4.19-rc4 Signed-off-by: Vasily Khoruzhick Acked-by: Maxime Ripard Tested-by: Maxime Ripard

[U-Boot] [PATCH v3 2/5] dm: video: bridge: don't fail to activate bridge if reset or sleep GPIO is missing

2018-10-17 Thread Vasily Khoruzhick
Both GPIOs are optional, so we shouldn't fail if any is missing. Without this fix reset is not deasserted if sleep GPIO is missing. Signed-off-by: Vasily Khoruzhick Acked-by: Maxime Ripard Tested-by: Maxime Ripard Cc: Vagrant Cascadian --- drivers/video/bridge/video-bridge-uclass.c | 16 +

[U-Boot] [PATCH v3 4/5] sun50i: A64: add support for R_I2C controller

2018-10-17 Thread Vasily Khoruzhick
Allwinner A64 has a I2C controller, which is in the R_ MMIO zone and has two groups of pinmuxes on PL bank, so it's called R_I2C. Add support for this I2C controller and the pinmux which doesn't conflict with RSB. Signed-off-by: Vasily Khoruzhick Acked-by: Maxime Ripard Tested-by: Maxime Ripard

[U-Boot] [PATCH v3 5/5] sunxi: DT: add support for Pinebook

2018-10-17 Thread Vasily Khoruzhick
Pinebook is a laptop produced by Pine64, with USB-connected keyboard, USB-connected touchpad and an eDP LCD panel connected via a RGB-eDP bridge from Analogix. Signed-off-by: Vasily Khoruzhick Acked-by: Maxime Ripard Tested-by: Maxime Ripard Cc: Vagrant Cascadian --- arch/arm/dts/Makefile

[U-Boot] [PATCH v3 1/5] mmc: sunxi: add support for automatic delay calibration

2018-10-17 Thread Vasily Khoruzhick
A64 and H6 support automatic delay calibration and Linux driver uses it instead of hardcoded delays. Add support for it to u-boot driver. Fixes eMMC instability on Pinebook Signed-off-by: Vasily Khoruzhick Acked-by: Maxime Ripard Tested-by: Maxime Ripard Cc: Vagrant Cascadian --- arch/arm/in

[U-Boot] [PATCH v3 0/5] Add support for Pinebook

2018-10-17 Thread Vasily Khoruzhick
This series adds support for the Pinebook, an allwinner A64 laptop produced by Pine64. It also syncs sun50i-a64.dtsi with linux, adds support for mmc delay calibration, R_I2C controller, and addresses the issue with activating video bridge when any of GPIOs is missing. v2: - sync sun50i-a64.dtsi w

Re: [U-Boot] [PATCH 6/6] efi_loader: bootmgr: run an EFI application of a given load option

2018-10-17 Thread AKASHI Takahiro
On Wed, Oct 17, 2018 at 10:43:22AM +0200, Alexander Graf wrote: > > > On 17.10.18 09:32, AKASHI Takahiro wrote: > > With this patch applied, we will be able to selectively execute > > an EFI application by specifying a load option, say "-1" for Boot0001, > > "-2" for Boot0002 and so on. > > > >

Re: [U-Boot] [PATCH 0/6] efi: make efi and bootmgr more usable

2018-10-17 Thread AKASHI Takahiro
On Wed, Oct 17, 2018 at 10:06:58AM +0200, Alexander Graf wrote: > > > On 17.10.18 09:32, AKASHI Takahiro wrote: > > This patch set is a collection of patches to enhance efi user interfaces > > /commands. It will help improve user experience on efi boot and make it > > more usable without edk2's s

Re: [U-Boot] [PATCH v2 5/5] sunxi: DT: add support for Pinebook

2018-10-17 Thread Vasily Khoruzhick
On Wednesday, October 17, 2018 5:23:04 PM PDT André Przywara wrote: > On 10/17/18 6:09 AM, Vasily Khoruzhick wrote: > > Hi, > > > Pinebook is a laptop produced by Pine64, with USB-connected keyboard, > > USB-connected touchpad and an eDP LCD panel connected via a RGB-eDP > > bridge from Analogix.

Re: [U-Boot] [PATCH 2/3] ARM: qemu-arm: enable usb mass storage in default configuration

2018-10-17 Thread AKASHI Takahiro
On Tue, Oct 16, 2018 at 03:21:10PM +0200, Alexander Graf wrote: > > > On 12.10.18 07:09, AKASHI Takahiro wrote: > > This is a preparatory patch so that USB boot will be supported > > in distro boot script by default. > > > > Signed-off-by: AKASHI Takahiro > > How about something like this inst

Re: [U-Boot] [PATCH 1/2] efi_loader: rework fdt handling in distro boot script

2018-10-17 Thread AKASHI Takahiro
On Tue, Oct 16, 2018 at 03:15:13PM +0200, Alexander Graf wrote: > > > On 12.10.18 07:07, AKASHI Takahiro wrote: > > The current scenario for default UEFI booting, scan_dev_for_efi, has > > several issues: > > * invoke 'bootmgr' only if BOOTEFI_NAME binary does exit even though > > 'bootmgr' can

Re: [U-Boot] [PATCH v2 5/5] sunxi: DT: add support for Pinebook

2018-10-17 Thread André Przywara
On 10/17/18 6:09 AM, Vasily Khoruzhick wrote: Hi, > Pinebook is a laptop produced by Pine64, with USB-connected keyboard, > USB-connected touchpad and an eDP LCD panel connected via a RGB-eDP > bridge from Analogix. > > Signed-off-by: Vasily Khoruzhick > --- > arch/arm/dts/Makefile

Re: [U-Boot] [PATCH v2 4/5] sun50i: A64: add support for R_I2C controller

2018-10-17 Thread André Przywara
On 10/17/18 6:09 AM, Vasily Khoruzhick wrote: > Allwinner A64 has a I2C controller, which is in the R_ MMIO zone and has > two groups of pinmuxes on PL bank, so it's called R_I2C. > > Add support for this I2C controller and the pinmux which doesn't conflict > with RSB. > > Signed-off-by: Vasily K

Re: [U-Boot] [PATCH v2 2/5] dm: video: bridge: don't fail to activate bridge if reset or sleep GPIO is missing

2018-10-17 Thread André Przywara
On 10/17/18 6:09 AM, Vasily Khoruzhick wrote: > Both GPIOs are optional, so we shouldn't fail if any is missing. Without > this fix reset is not deasserted when sleep GPIO is missing. > > Signed-off-by: Vasily Khoruzhick That looks much better now, thanks. One small thing: > --- > drivers/vide

Re: [U-Boot] [PATCH v2 1/5] mmc: sunxi: A64: add support for automatic delay calibration

2018-10-17 Thread André Przywara
On 10/17/18 6:09 AM, Vasily Khoruzhick wrote: > A64 supports automatic delay calibration and Linux driver uses it > instead of hardcoded delays. Add support for it to u-boot driver. > > Fixes eMMC instability on Pinebook > > Signed-off-by: Vasily Khoruzhick > --- > arch/arm/include/asm/arch-sun

Re: [U-Boot] [PATCH v2 3/5] sunxi: DT: A64: update device tree file for Allwinner A64 SoC

2018-10-17 Thread André Przywara
On 10/17/18 4:40 PM, Vasily Khoruzhick wrote: > On Wednesday, October 17, 2018 8:18:41 AM PDT Andre Przywara wrote: >> On Tue, 16 Oct 2018 22:09:30 -0700 >> Vasily Khoruzhick wrote: >> >> Hi, >> >>> Updates the device tree file from the the Linux tree as of v4.19-rc4, >> >>> exactly Linux commit:

Re: [U-Boot] [PATCH 2/2] ARM: qemu-arm: define fdt_addr_r

2018-10-17 Thread Tuomas Tynkkynen
Hi Alexander, On Tue, 16 Oct 2018 15:04:26 +0200 Alexander Graf wrote: ... > > > >> Glancing at cmd/pxe.c, > >> there is a problem though, in that if ${fdt_addr_r} were defined, > >> a PXE file using the FDTDIR directive would attempt loading a dtb > >> file named "-qemu-arm.dtb" instead of f

Re: [U-Boot] [PATCH] debug uart: don't print before initialization

2018-10-17 Thread Simon Goldschmidt
Simon Goldschmidt schrieb am Mi., 10. Okt. 2018, 22:16: > On Wed, Oct 10, 2018 at 10:03 PM Simon Glass wrote: > > > > Hi Simon, > > > > On 10 October 2018 at 07:28, Simon Goldschmidt > > wrote: > > > > > > + Marek (as he commented on the original patch > http://patchwork.ozlabs.org/patch/955765

[U-Boot] [PATCH 1/1] efi_loader: fix typos in efi_device_path.c

2018-10-17 Thread Heinrich Schuchardt
Fix some typos in comments. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_device_path.c | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/lib/efi_loader/efi_device_path.c b/lib/efi_loader/efi_device_path.c index adb9938d45..49bbdb72af 10064

Re: [U-Boot] [PULL 2018.11] efi patch queue 2018-10-17

2018-10-17 Thread Tom Rini
On Wed, Oct 17, 2018 at 09:24:34AM +0200, Alexander Graf wrote: > Hi Tom, > > This is my current patch queue for efi for inclusion into 2018.11. Please > pull. > > Alex > > > The following changes since commit 2364b70c87a8d4ac327a44161df32d2c8e209545: > > Merge branch 'master' of git://gi

Re: [U-Boot] [PATCH 01/15] sandbox: Unprotect DATA regions in bus tests

2018-10-17 Thread Simon Glass
Hi Alex, On 16 October 2018 at 08:48, Alexander Graf wrote: > > > > On 29.09.18 20:29, Simon Glass wrote: > > Hi Alex, > > > > On 23 September 2018 at 23:34, Alexander Graf wrote: > >> > >> > >> On 24.09.18 00:47, Simon Glass wrote: > >>> On my Ubuntu 18.04.1 machine two driver-model bus tests h

Re: [U-Boot] [PATCH v4 1/1] efi_loader: PSCI reset and shutdown

2018-10-17 Thread Heinrich Schuchardt
On 10/17/2018 07:37 PM, Alexander Graf wrote: > > > On 17.10.18 19:05, Heinrich Schuchardt wrote: >> When an operating system started via bootefi tries to reset or power off >> this is done by calling the EFI runtime ResetSystem(). On most ARMv8 system >> the actual reset relies on PSCI. Dependin

Re: [U-Boot] [PATCH v4 1/1] efi_loader: PSCI reset and shutdown

2018-10-17 Thread Alexander Graf
On 17.10.18 19:05, Heinrich Schuchardt wrote: > When an operating system started via bootefi tries to reset or power off > this is done by calling the EFI runtime ResetSystem(). On most ARMv8 system > the actual reset relies on PSCI. Depending on whether the PSCI firmware > resides the hypervisor

Re: [U-Boot] [PATCH v2 3/5] sunxi: DT: A64: update device tree file for Allwinner A64 SoC

2018-10-17 Thread Andre Przywara
On Wed, 17 Oct 2018 10:09:55 -0700 Vasily Khoruzhick wrote: > On Wed, Oct 17, 2018 at 9:54 AM Andre Przywara > wrote: > > > > On Wed, 17 Oct 2018 17:29:58 +0200 > > Maxime Ripard wrote: > > > > Hi, > > > > > On Wed, Oct 17, 2018 at 04:18:41PM +0100, Andre Przywara wrote: > > > > On Tue, 16

Re: [U-Boot] Please pull u-boot-dm

2018-10-17 Thread Stephen Warren
On 10/16/18 8:33 PM, Bin Meng wrote: On Wed, Oct 17, 2018 at 7:01 AM Bin Meng wrote: Hi Stephen, On Wed, Oct 17, 2018 at 12:27 AM Stephen Warren wrote: On 10/15/18 5:43 PM, Bin Meng wrote: Hi Stephen, On Tue, Oct 16, 2018 at 6:43 AM Stephen Warren wrote: On 10/15/18 3:53 PM, Stephen W

Re: [U-Boot] [PATCH v2 3/5] sunxi: DT: A64: update device tree file for Allwinner A64 SoC

2018-10-17 Thread Vasily Khoruzhick
On Wed, Oct 17, 2018 at 9:54 AM Andre Przywara wrote: > > On Wed, 17 Oct 2018 17:29:58 +0200 > Maxime Ripard wrote: > > Hi, > > > On Wed, Oct 17, 2018 at 04:18:41PM +0100, Andre Przywara wrote: > > > On Tue, 16 Oct 2018 22:09:30 -0700 > > > Vasily Khoruzhick wrote: > > > > > > Hi, > > > > > > >

[U-Boot] [PATCH v4 1/1] efi_loader: PSCI reset and shutdown

2018-10-17 Thread Heinrich Schuchardt
When an operating system started via bootefi tries to reset or power off this is done by calling the EFI runtime ResetSystem(). On most ARMv8 system the actual reset relies on PSCI. Depending on whether the PSCI firmware resides the hypervisor (EL2) or in the secure monitor (EL3) either an HVC or a

Re: [U-Boot] [PATCH 1/2] watchdog: driver support for fsl-lsch2

2018-10-17 Thread York Sun
On 10/16/18 20:06, Xiaoliang Yang wrote: > Hi York, > > The old version of this patch is: http://patchwork.ozlabs.org/patch/918957/ > There is a little mistake about LSCH3 not support for imx-watchdog in old > version patch, I have fixed it. > If there is a need to rewrite CONFIG_IMX_WATCHDOG to

Re: [U-Boot] [PATCH v2 3/5] sunxi: DT: A64: update device tree file for Allwinner A64 SoC

2018-10-17 Thread Andre Przywara
On Wed, 17 Oct 2018 17:29:58 +0200 Maxime Ripard wrote: Hi, > On Wed, Oct 17, 2018 at 04:18:41PM +0100, Andre Przywara wrote: > > On Tue, 16 Oct 2018 22:09:30 -0700 > > Vasily Khoruzhick wrote: > > > > Hi, > > > > > Updates the device tree file from the the Linux tree as of > > > v4.19-rc4,

Re: [U-Boot] [PATCH v2 3/5] sunxi: DT: A64: update device tree file for Allwinner A64 SoC

2018-10-17 Thread Vasily Khoruzhick
On Wednesday, October 17, 2018 8:18:41 AM PDT Andre Przywara wrote: > On Tue, 16 Oct 2018 22:09:30 -0700 > Vasily Khoruzhick wrote: > > Hi, > > > Updates the device tree file from the the Linux tree as of v4.19-rc4, > > > exactly Linux commit: > Does this work easily without syncing the .dts fi

Re: [U-Boot] [PATCH v2 5/5] sunxi: DT: add support for Pinebook

2018-10-17 Thread Vasily Khoruzhick
On Wednesday, October 17, 2018 8:22:51 AM PDT Jernej Škrabec wrote: > Hi! > > Dne sreda, 17. oktober 2018 ob 17:13:42 CEST je Vasily Khoruzhick napisal(a): > > On Tuesday, October 16, 2018 10:09:32 PM PDT Vasily Khoruzhick wrote: > > > Pinebook is a laptop produced by Pine64, with USB-connected k

Re: [U-Boot] [PATCH v2 3/5] sunxi: DT: A64: update device tree file for Allwinner A64 SoC

2018-10-17 Thread Maxime Ripard
On Wed, Oct 17, 2018 at 04:18:41PM +0100, Andre Przywara wrote: > On Tue, 16 Oct 2018 22:09:30 -0700 > Vasily Khoruzhick wrote: > > Hi, > > > Updates the device tree file from the the Linux tree as of v4.19-rc4, > > exactly Linux commit: > > Does this work easily without syncing the .dts files

Re: [U-Boot] [PATCH v2 5/5] sunxi: DT: add support for Pinebook

2018-10-17 Thread Jernej Škrabec
Hi! Dne sreda, 17. oktober 2018 ob 17:13:42 CEST je Vasily Khoruzhick napisal(a): > On Tuesday, October 16, 2018 10:09:32 PM PDT Vasily Khoruzhick wrote: > > Pinebook is a laptop produced by Pine64, with USB-connected keyboard, > > USB-connected touchpad and an eDP LCD panel connected via a RGB-eD

[U-Boot] [PATCH V3 3/6] bootcount: i2c: Add bus switching to the I2C bootcount driver

2018-10-17 Thread Fabien Lahoudere
From: Denis Zalevskiy If there is an I2C mux, current bus should be switched before manipulating with I2C. Signed-off-by: Denis Zalevskiy Signed-off-by: Fabien Lahoudere --- drivers/bootcount/Kconfig | 15 - drivers/bootcount/bootcount_i2c.c | 71 ++

[U-Boot] [PATCH V3 6/6] board: ge: Store bootcount in EEPROM on PPD and Bx50v3

2018-10-17 Thread Fabien Lahoudere
From: Denis Zalevskiy u-boot's ext3/4 write/modify functionality sometimes corrupts filesystem in the case if it requires recovery (e.g. after unexpected shutdown) and we want to avoid the only filesystem modification we have - bootcounter writing. So, bootcounter will be stored in the EEPROM whe

[U-Boot] [PATCH V3 2/6] board: ge: Move VPD EEPROM configuration to the defconfig

2018-10-17 Thread Fabien Lahoudere
From: Denis Zalevskiy Use standard configuration logic to define EEPROM constants. Names are based on VPD_EEPROM_ prefix because EEPROM_ is already used by i2c_eeprom driver. Signed-off-by: Denis Zalevskiy Signed-off-by: Fabien Lahoudere --- board/ge/bx50v3/Kconfig | 2 ++ board/ge/bx50v

[U-Boot] [PATCH V3 4/6] bootcount: Configure length limit for I2C bootcount

2018-10-17 Thread Fabien Lahoudere
From: Denis Zalevskiy Bootcount driver should verify size against the maximum available space. New configuration parameter adds this capability and keeps backward compatibility by providing default value. Signed-off-by: Denis Zalevskiy Signed-off-by: Fabien Lahoudere --- drivers/bootcount/Kco

[U-Boot] [PATCH V3 5/6] board: ge: Move VPD reading to the vpd_reader

2018-10-17 Thread Fabien Lahoudere
From: Denis Zalevskiy Merge functionality duplicated in bx50v3 and mx53ppd: the logic is the same except that process_vpd is called at different phases. Also read_vpd could end up in error, so there is no VPD data in this case - it shouldn't be processed. Signed-off-by: Denis Zalevskiy Signed-o

[U-Boot] [PATCH] pxe: Try even board specific boot

2018-10-17 Thread michal . hrusecky
From: Michal Hrusecky Add path containing board name (if available) to the list of paths tried via PXE by default. Some SoC families are quite diverse and sometimes it makes sense to have special image just for a specific boards. Signed-off-by: Michal Hrusecky --- cmd/pxe.c | 3 +++ 1 file cha

[U-Boot] [PATCH V3 0/6] board: ge: Move bootcount to EEPROM

2018-10-17 Thread Fabien Lahoudere
GE boards need bootcount set in EEPROM instead of file to avoid some issues. This series replace v2 sent by Sebastian Reichel on 2018-07-20. Changes since v2: - Patches have been rebased to apply correctly on master. - Remove a build time warning - Remove checkpatch.pl warning Denis Zalevs

[U-Boot] [PATCH V3 1/6] board: ge: Remove EEPROM bus param from read_vpd()

2018-10-17 Thread Fabien Lahoudere
From: Denis Zalevskiy The bus is statically defined, so remove redundant parameters from read_vpd() for PPD and Bx50v3. Signed-off-by: Denis Zalevskiy Signed-off-by: Fabien Lahoudere --- board/ge/bx50v3/bx50v3.c | 6 +++--- board/ge/mx53ppd/mx53ppd.c | 6 +++--- 2 files changed, 6 insertion

Re: [U-Boot] [PATCH 1/3] arm64: versal: Add support for new Xilinx Versal ACAPs

2018-10-17 Thread Michal Simek
On 16. 10. 18 17:10, Alexander Graf wrote: > > > On 16.10.18 16:57, Michal Simek wrote: >> On 16.10.2018 16:55, Alexander Graf wrote: >>> >>> >>> On 16.10.18 16:51, Michal Simek wrote: On 16.10.2018 16:23, Alexander Graf wrote: > ... >> +#define ENV_MEM_LAYOUT_SETTINGS

Re: [U-Boot] [PATCH 1/2] watchdog: driver support for fsl-lsch2

2018-10-17 Thread Xiaoliang Yang
Hi York, The old version of this patch is: http://patchwork.ozlabs.org/patch/918957/ There is a little mistake about LSCH3 not support for imx-watchdog in old version patch, I have fixed it. If there is a need to rewrite CONFIG_IMX_WATCHDOG to Kconfig file, I will pull a new patch to do this. It

Re: [U-Boot] [PATCH v2 3/5] sunxi: DT: A64: update device tree file for Allwinner A64 SoC

2018-10-17 Thread Andre Przywara
On Tue, 16 Oct 2018 22:09:30 -0700 Vasily Khoruzhick wrote: Hi, > Updates the device tree file from the the Linux tree as of v4.19-rc4, > exactly Linux commit: Does this work easily without syncing the .dts files as well? > commit 7876320f8880 (tag: v4.19-rc4) > Author: Linus Torvalds > Date:

Re: [U-Boot] [PATCH v2 5/5] sunxi: DT: add support for Pinebook

2018-10-17 Thread Vasily Khoruzhick
On Tuesday, October 16, 2018 10:09:32 PM PDT Vasily Khoruzhick wrote: > Pinebook is a laptop produced by Pine64, with USB-connected keyboard, > USB-connected touchpad and an eDP LCD panel connected via a RGB-eDP > bridge from Analogix. > > Signed-off-by: Vasily Khoruzhick +CC Jernej > --- > ar

Re: [U-Boot] [PATCH v2 3/5] sunxi: DT: A64: update device tree file for Allwinner A64 SoC

2018-10-17 Thread Jernej Škrabec
Hi, Dne sreda, 17. oktober 2018 ob 17:03:23 CEST je Vasily Khoruzhick napisal(a): > On Tuesday, October 16, 2018 10:09:30 PM PDT Vasily Khoruzhick wrote: > > Updates the device tree file from the the Linux tree as of v4.19-rc4, > > exactly Linux commit: > > > > commit 7876320f8880 (tag: v4.19-rc4

Re: [U-Boot] [PATCH v2 3/5] sunxi: DT: A64: update device tree file for Allwinner A64 SoC

2018-10-17 Thread Vasily Khoruzhick
On Tuesday, October 16, 2018 10:09:30 PM PDT Vasily Khoruzhick wrote: > Updates the device tree file from the the Linux tree as of v4.19-rc4, > exactly Linux commit: > > commit 7876320f8880 (tag: v4.19-rc4) > Author: Linus Torvalds > Date: Sun Sep 16 11:52:37 2018 -0700 > > Linux 4.19-rc4

Re: [U-Boot] [PATCH v2 5/5] sunxi: DT: add support for Pinebook

2018-10-17 Thread Maxime Ripard
On Tue, Oct 16, 2018 at 10:09:32PM -0700, Vasily Khoruzhick wrote: > Pinebook is a laptop produced by Pine64, with USB-connected keyboard, > USB-connected touchpad and an eDP LCD panel connected via a RGB-eDP > bridge from Analogix. > > Signed-off-by: Vasily Khoruzhick > --- > arch/arm/dts/Makef

[U-Boot] U-Boot and The Boot Loader Specification

2018-10-17 Thread Alexander Dahl
Hei hei, while setting up U-Boot for a new board, I read doc/README.distro and tried to follow it for making things smooth with standard distributions. The document mentions the so called "Boot Loader Specification" [1] as follows: > This is roughly > as specified at: > > http://www.freedeskto

[U-Boot] [PATCH v3] sf: Add auto detection of 4-byte mode (vs standard 3-byte mode)

2018-10-17 Thread Rajat Srivastava
Hi Stefan Sorry for top-posting. Why can't we read SFDP parameters from flash and auto-detect 3-byte/4-byte addressing mode? Using address width information we can support both types of flash i.e. flashes supporting 3-byte addressing mode as well as flashes supporting 4-byte addressing mode.

[U-Boot] [PATCH 2/3] fsl_qspi: Access flash above 16MB using SFDP

2018-10-17 Thread Rajat Srivastava
Add functionality to read SFDP parameters in fsl_qspi driver. Also, use the address width information from SFDP to enable flash access above 16 MB. Introduce a way to access parent structure by adding pointer to struct spi_slave in struct fsl_qspi_priv. Signed-off-by: Rajat Srivastava --- drive

[U-Boot] [PATCH 3/3] spi_flash_ids: Enable SFDP parsing for s25fs512 flash

2018-10-17 Thread Rajat Srivastava
Signed-off-by: Rajat Srivastava --- drivers/mtd/spi/spi_flash_ids.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/spi/spi_flash_ids.c b/drivers/mtd/spi/spi_flash_ids.c index ad0a0c8150..db4a93c7f5 100644 --- a/drivers/mtd/spi/spi_flash_ids.c +++ b/drivers/mtd/s

[U-Boot] [PATCH 1/3] mtd/spi: Add JEDEC SFDP support in SPI framework

2018-10-17 Thread Rajat Srivastava
Add support for JESD216 rev B standard JEDEC Serial Flash Discoverable Parameters (SFDP) tables to dynamically initialize flash size, page size and address width of the flash. More parameters can be added as per requirement. Already existing method for parsing these parameters are not deprecated, w

[U-Boot] [PATCH 0/3] Read SFDP parameters and access flash above 16MB

2018-10-17 Thread Rajat Srivastava
Add functionality to read and parse SFDP parameters to auto-detect flash size, page size and address width of flash. This enables flash access above 16MB using 4-byte addressing mode. Add driver support to get SFDP information of flash and use it to access flash above 16MB. Enable reading and par

Re: [U-Boot] [U-Boot,2/6] efi_loader: add efi_dp_from_name()

2018-10-17 Thread Heinrich Schuchardt
On 10/17/2018 12:46 PM, Heinrich Schuchardt wrote: > On 10/17/2018 09:32 AM, AKASHI Takahiro wrote: >> Factor out efi_set_bootdev() and extract efi_dp_from_name(). >> This function will be used to set a boot device in efishell command. >> >> Signed-off-by: AKASHI Takahiro >> --- >> cmd/bootefi.c

Re: [U-Boot] [U-Boot,2/6] efi_loader: add efi_dp_from_name()

2018-10-17 Thread Heinrich Schuchardt
On 10/17/2018 09:32 AM, AKASHI Takahiro wrote: > Factor out efi_set_bootdev() and extract efi_dp_from_name(). > This function will be used to set a boot device in efishell command. > > Signed-off-by: AKASHI Takahiro > --- > cmd/bootefi.c| 42 ++-- > in

[U-Boot] [PATCH] power: regulator: Makefile: Remove SPL tag for REGULATOR_GPIO

2018-10-17 Thread Lokesh Vutla
From: Keerthy There is no SPL specific Kconfig symbol defined for DM_REGULATOR_GPIO but Makefile uses a SPL tag for building gpio-regulator. This makes gpio-regulator can never be built for SPL. Fix it by dropping the SPL tag in Makefile. CONFIG_SPL_POWER_SUPPORT is used for including regulator s

[U-Boot] [PATCH] arm: zynq: Setup non zero SPL FIT load address

2018-10-17 Thread Michal Simek
Default setup is 0 which is incorrect place because it points to OCM which is allocated for SPL only in our case. Use address in DDR. Signed-off-by: Michal Simek --- include/configs/zynq-common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/zynq-common.h b/include/confi

[U-Boot] [PATCH v2] net: phy: add TSE PCS support to dwmac-socfpga

2018-10-17 Thread Ooi, Joyce
This adds support for TSE PCS (Triple Speed Ethernet Physical Coding Sublayer) that uses SGMII adapter when the phy-mode in device tree is set to sgmii. Signed-off-by: Ooi, Joyce --- arch/arm/mach-socfpga/include/mach/misc.h | 1 + arch/arm/mach-socfpga/misc.c | 5 + arch/arm/ma

Re: [U-Boot] [RFC] fit: include uncompression into fit_image_load

2018-10-17 Thread Simon Goldschmidt
On Wed, Oct 17, 2018 at 8:54 AM Alexander Graf wrote: > > > > On 16.10.18 21:33, Simon Goldschmidt wrote: > > Currently, only the kernel can be compressed in a FIT image. > > By moving the uncompression logic to 'fit_image_load()', all types > > of images can be compressed. > > > > This works perf

[U-Boot] [PATCH] armv8: lx2160aqds : Add support for LX2160AQDS platform

2018-10-17 Thread Pankaj Bansal
LX2160AQDS is a development board that supports LX2160A family SoCs. This patch add base support for this board. Signed-off-by: Wasim Khan Signed-off-by: Sriram Dash Signed-off-by: Pankaj Bansal --- Notes: The checkpatch script reported 28 warnings about line over 80 characters, that i

[U-Boot] [PATCH] armv8: lx2160aqds : Add support for LX2160AQDS platform

2018-10-17 Thread Pankaj Bansal
LX2160AQDS is a development board that supports LX2160A family SoCs. This patch add base support for this board. Signed-off-by: Wasim Khan Signed-off-by: Sriram Dash Signed-off-by: Pankaj Bansal diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index a76678d5d8..a8e274e88c 100644 --- a/arch/arm

Re: [U-Boot] [PATCH 6/6] efi_loader: bootmgr: run an EFI application of a given load option

2018-10-17 Thread Alexander Graf
On 17.10.18 09:32, AKASHI Takahiro wrote: > With this patch applied, we will be able to selectively execute > an EFI application by specifying a load option, say "-1" for Boot0001, > "-2" for Boot0002 and so on. > > => bootefi bootmgr -1 I don't think -1 is very good user experience :). How

Re: [U-Boot] [PATCH 3/6] efi_loader: bootmgr: add load option helper functions

2018-10-17 Thread Alexander Graf
On 17.10.18 09:32, AKASHI Takahiro wrote: > In this patch, helper functions for an load option variable (Boot) > are added: > * efi_parse_load_option(): parse a string into load_option data > (renamed from parse_load_option and exported) > * efi_marshel_load_option():

[U-Boot] [PATCH] clk: Allow clock defaults to be set also during re-reloc state

2018-10-17 Thread Lokesh Vutla
From: Andreas Dannenberg The earlier commit f4fcba5c5ba ("clk: implement clk_set_defaults()") which introduced the functionality for setting clock defaults such as rates and parents will skip the processing when executing in a re-reloc state. This for example can prevent the assigning of clock pa

Re: [U-Boot] [PATCH 0/6] efi: make efi and bootmgr more usable

2018-10-17 Thread Alexander Graf
On 17.10.18 09:32, AKASHI Takahiro wrote: > This patch set is a collection of patches to enhance efi user interfaces > /commands. It will help improve user experience on efi boot and make it > more usable without edk2's shell utility. That's amazing, thanks a lot :) > Patch#1 to #4 are for efis

[U-Boot] [PATCH 3/6] efi_loader: bootmgr: add load option helper functions

2018-10-17 Thread AKASHI Takahiro
In this patch, helper functions for an load option variable (Boot) are added: * efi_parse_load_option(): parse a string into load_option data (renamed from parse_load_option and exported) * efi_marshel_load_option(): convert load_option data into a string Those funct

[U-Boot] [PATCH 6/6] efi_loader: bootmgr: run an EFI application of a given load option

2018-10-17 Thread AKASHI Takahiro
With this patch applied, we will be able to selectively execute an EFI application by specifying a load option, say "-1" for Boot0001, "-2" for Boot0002 and so on. => bootefi bootmgr -1 Please note that Boot need not be included in "BootOrder". Signed-off-by: AKASHI Takahiro --- cmd/boo

[U-Boot] [PATCH 2/6] efi_loader: add efi_dp_from_name()

2018-10-17 Thread AKASHI Takahiro
Factor out efi_set_bootdev() and extract efi_dp_from_name(). This function will be used to set a boot device in efishell command. Signed-off-by: AKASHI Takahiro --- cmd/bootefi.c| 42 ++-- include/efi_loader.h | 4 +++ lib/efi_loader/efi_d

[U-Boot] [PATCH 5/6] bootefi: carve out fdt parameter handling

2018-10-17 Thread AKASHI Takahiro
The current way how command parameters, particularly "fdt addr," are handled makes it a bit complicated to add a subcommand-specific parameter. So just refactor the code and extract efi_handle_fdt(). This commit is a preparatory change for enhancing bootmgr sub-command. Signed-off-by: AKASHI Taka

[U-Boot] [PATCH 4/6] cmd: add efishell command

2018-10-17 Thread AKASHI Takahiro
Currently, there is no easy way to add or modify UEFI variables. In particular, bootmgr supports BootOrder/Boot variables, it is quite hard to define them as u-boot variables because they are represented in a complicated and encoded format. The new command, efishell, helps address these issues

[U-Boot] [PATCH 1/6] fs: update fs_dev_part in fs_set_blk_dev_with_part()

2018-10-17 Thread AKASHI Takahiro
As in the case of fs_set_blk_dev(), fs_set_blk_dev_with_part() should maintain and update fs_dev_part whenever called. Without this patch, a problem will come up when an efi binary associated with efi's BOOT variable is invoked via "bootefi bootmgr". Signed-off-by: AKASHI Takahiro --- fs/fs

[U-Boot] [PATCH 0/6] efi: make efi and bootmgr more usable

2018-10-17 Thread AKASHI Takahiro
This patch set is a collection of patches to enhance efi user interfaces /commands. It will help improve user experience on efi boot and make it more usable without edk2's shell utility. Patch#1 to #4 are for efishell. Patch#5 and #6 are for bootmgr. Let's see how it works: => efishell boot add 1

[U-Boot] [PULL 2018.11] efi patch queue 2018-10-17

2018-10-17 Thread Alexander Graf
Hi Tom, This is my current patch queue for efi for inclusion into 2018.11. Please pull. Alex The following changes since commit 2364b70c87a8d4ac327a44161df32d2c8e209545: Merge branch 'master' of git://git.denx.de/u-boot-i2c (2018-10-16 07:25:28 -0400) are available in the git repository a

Re: [U-Boot] [PATCH 1/3] pwm: sunxi: fix off-by-one that prevented PWM to use prescaler bypass

2018-10-17 Thread Maxime Ripard
On Tue, Oct 16, 2018 at 09:56:33PM -0700, Vasily Khoruzhick wrote: > Fix off-by-one that prevented PWM driver to use prescaler bypass. > Without this change prescaler is always enabled. > > Signed-off-by: Vasily Khoruzhick For the whole series, Acked-by: Maxime Ripard Thanks! Maxime -- Maxim