Re: [U-Boot] [PATCH v4 1/1] efi_loader: efi_setup_loaded_image() handle missing file name

2019-04-17 Thread Heinrich Schuchardt
On 4/18/19 6:59 AM, Heinrich Schuchardt wrote: From: AKASHI Takahiro This is a preparatory patch. efi_dp_split_file_path() is used to create device_path and file_path from file_path for efi_setup_loaded_image(). In a special case, however, of HARDWARE_DEVICE/MEMORY, it doesn't work expectedly

Re: [U-Boot] [PATCH v4 1/1] efi_loader: export root node handle

2019-04-17 Thread Heinrich Schuchardt
On 4/18/19 7:02 AM, Heinrich Schuchardt wrote: From: AKASHI Takahiro This is a preparatory patch. The root node handle will be used as a dummy parent handle when invoking an EFI image from bootefi/bootmgr command. Signed-off-by: AKASHI Takahiro Rebased. Signed-off-by: Heinrich Schuchardt

[U-Boot] [PATCH v4 1/1] efi_loader: export root node handle

2019-04-17 Thread Heinrich Schuchardt
From: AKASHI Takahiro This is a preparatory patch. The root node handle will be used as a dummy parent handle when invoking an EFI image from bootefi/bootmgr command. Signed-off-by: AKASHI Takahiro Rebased. Signed-off-by: Heinrich Schuchardt --- v4 Rebase --- include/efi_loader.h

[U-Boot] [PATCH v4 1/1] efi_loader: efi_setup_loaded_image() handle missing file name

2019-04-17 Thread Heinrich Schuchardt
From: AKASHI Takahiro This is a preparatory patch. efi_dp_split_file_path() is used to create device_path and file_path from file_path for efi_setup_loaded_image(). In a special case, however, of HARDWARE_DEVICE/MEMORY, it doesn't work expectedly since this path doesn't contain any FILE_PATH

Re: [U-Boot] [PATCH] rockchip: add u-boot-tpl-v8.lds

2019-04-17 Thread Simon Glass
On Mon, 1 Apr 2019 at 02:16, Kever Yang wrote: > > We don't have both sram and sdram in TPL, so update from: > arch/arm/cpu/armv8/u-boot-spl.lds > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/u-boot-tpl-v8.lds | 94 > 1 file changed, 94 insertions(+) >

Re: [U-Boot] [PATCH 1/3] rockchip: rk3399: add tpl support

2019-04-17 Thread Simon Glass
Hi Kever, On Mon, 1 Apr 2019 at 02:21, Kever Yang wrote: > > Rockchip platform suppose to use TPL(run in SRAM) as dram init and > SPL(run in DDR SDRAM) as pre-loader, so that the SPL would not be > limited by SRAM size. > This patch add rk3399-board-tpl.c and its common configs. So this means

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

2019-04-17 Thread Simon Glass
Hi Thierry, On Wed, 17 Apr 2019 at 08:03, Thierry Reding wrote: > On Wed, Apr 17, 2019 at 02:49:22PM +0300, Grygorii Strashko wrote: > > > > > > On 16.04.19 19:24, Thierry Reding wrote: > > > From: Thierry Reding > > > > > > Add the standard Ethernet device tree bindings (imported from v5.0 of

Re: [U-Boot] [PATCH 1/2] fs: cbfs: make file_cbfs_load_header(..) independent of end-of-rom

2019-04-17 Thread Bin Meng
Hi Christian, On Wed, Apr 17, 2019 at 11:17 PM Christian Gmeiner wrote: > > Am Mi., 17. Apr. 2019 um 15:21 Uhr schrieb Christian Gmeiner > : > > > > Signed-off-by: Christian Gmeiner > > I think I will send out a v2 that compiles :/ > and please add some descriptions in the commit message.

Re: [U-Boot] [RFC v3 09/10] efi_loader: rework bootmgr/bootefi using load_image API

2019-04-17 Thread AKASHI Takahiro
Correction: On Thu, Apr 18, 2019 at 09:13:52AM +0900, AKASHI Takahiro wrote: > On Tue, Apr 16, 2019 at 12:56:32PM +0200, Heinrich Schuchardt wrote: > > On 4/16/19 6:24 AM, AKASHI Takahiro wrote: > > >In the current implementation, bootefi command and EFI boot manager > > >don't use load_image

Re: [U-Boot] [PATCH v2 09/14] rockchip: rk3399: Add 4GB LPDDR3-1866 DMC settings【请注意,邮件由linux-rockchip-bounces+kever.yang=rock-chips....@lists.infradead.org代发】

2019-04-17 Thread Kever Yang
Hi Jagan, On 04/17/2019 07:11 PM, Jagan Teki wrote: > On Wed, Apr 17, 2019 at 1:10 PM Kever Yang wrote: >> Hi Jagan, >> >> >> On 04/16/2019 06:56 PM, Jagan Teki wrote: >>> Add sdram dtsi file for 4GB LPDDR3-1866 DMC settings by reverse >>> engineered from the rk3399_ddr_933Mhz_v1.14.bin file.

[U-Boot] [PATCH v3] ARM: dts: i.MX6Q: fix avoid_unnecessary_addr_size warnings

2019-04-17 Thread Peng Fan
> > From: Marcel Ziswiler > > Re-synced the device tree with Linux 5.0. > > This fixes the following warnings: > > w+arch/arm/dts/imx6-apalis.dtb: Warning (reg_format): /soc/ipu@280/ > port@2/endpoint@0:reg: property has invalid length (4 bytes) > (#address-cells == 2, #size-cells == 1)

[U-Boot] [PATCH] imx: Add variscite DART-6UL Evaluation Kit

2019-04-17 Thread Peng Fan
> > > Port for the DART-6UL Evaluation Kit SBC. Based on the variscite DART-6UL > iMX6ULL SoM. > > CPU: Freescale i.MX6ULL rev1.1 900 MHz (running at 396 MHz) > CPU: Commercial temperature grade (0C to 95C) at 43C > Reset cause: POR > Model: Variscite DART-6UL Evaluation Kit > Board:

Re: [U-Boot] [RESEND PATCH 0/3] arm: Introduce writel/readl_relaxed accessors

2019-04-17 Thread André Przywara
On 17/04/2019 13:00, Jagan Teki wrote: > On Mon, Apr 15, 2019 at 1:21 PM André Przywara wrote: >> >> On 15/04/2019 07:22, Jagan Teki wrote: >> >> Hi, >> >>> On Mon, Apr 15, 2019 at 11:40 AM Chen-Yu Tsai wrote: On Mon, Apr 15, 2019 at 2:07 PM Jagan Teki wrote: > > On Sun,

Re: [U-Boot] [RFC v3 03/10] cmd: bootefi: carve out fdt handling from do_bootefi()

2019-04-17 Thread AKASHI Takahiro
On Wed, Apr 17, 2019 at 06:35:57PM +0200, Heinrich Schuchardt wrote: > On 4/17/19 9:01 AM, AKASHI Takahiro wrote: > >On Tue, Apr 16, 2019 at 06:54:58AM +0200, Heinrich Schuchardt wrote: > >>On 4/16/19 6:24 AM, AKASHI Takahiro wrote: > >>>This is a preparatory patch for reworking do_bootefi() in

Re: [U-Boot] [RFC v3 09/10] efi_loader: rework bootmgr/bootefi using load_image API

2019-04-17 Thread AKASHI Takahiro
On Tue, Apr 16, 2019 at 12:56:32PM +0200, Heinrich Schuchardt wrote: > On 4/16/19 6:24 AM, AKASHI Takahiro wrote: > >In the current implementation, bootefi command and EFI boot manager > >don't use load_image API, instead, use more primitive and internal > >functions. This will introduce

[U-Boot] [PATCH v3 07/14] colibri-imx6ull: configuration clean-up

2019-04-17 Thread Marcel Ziswiler
From: Marcel Ziswiler Drop disabling SPL_SYS_THUMB_BUILD as we anyway do not use SPL. Enbale CRC32 verify, USB SDP and EFI loader support. Drop CMD_GPT and disabling RANDOM_UUID. Do savedefconfig which drops USB_FUNCTION_SDP. Signed-off-by: Marcel Ziswiler Reviewed-by: Igor Opaniuk ---

[U-Boot] [PATCH v3 12/14] ARM: dts: colibri-imx6ull: fix uart-has-rtscts property

2019-04-17 Thread Marcel Ziswiler
From: Marcel Ziswiler Remove vendor pre-fix fsl, from uart-has-rtscts property. Signed-off-by: Marcel Ziswiler Reviewed-by: Igor Opaniuk --- Changes in v3: None Changes in v2: - Added Igor's reviewed-by. arch/arm/dts/imx6ull-colibri.dts | 7 +-- 1 file changed, 5 insertions(+), 2

[U-Boot] [PATCH v3 05/14] colibri-imx6ull: fix ethernet phy power on

2019-04-17 Thread Marcel Ziswiler
From: Marcel Ziswiler Just give the new Ethernet PHY power save mode circuitry time to settle. Signed-off-by: Marcel Ziswiler Acked-by: Max Krummenacher Reviewed-by: Igor Opaniuk --- Changes in v3: None Changes in v2: - Added Igor's reviewed-by tag.

[U-Boot] [PATCH v3 11/14] colibri-imx6ull: migrate fec to using driver model

2019-04-17 Thread Marcel Ziswiler
From: Marcel Ziswiler Migrate Ethernet FEC to using driver model. Drop PHY_MICREL_KSZ90X1 which slipped in from Apalis iMX6. Signed-off-by: Marcel Ziswiler Reviewed-by: Igor Opaniuk --- Changes in v3: None Changes in v2: - Added Igor's reviewed-by. arch/arm/dts/imx6ull-colibri.dts | 31

[U-Boot] [PATCH v3 10/14] colibri-imx6ull: migrate usb to using driver model

2019-04-17 Thread Marcel Ziswiler
From: Marcel Ziswiler Migrate USB to using driver model. Add USBH_PEN GPIO regulator. While at it also add alias e.g. as required for UMS. Signed-off-by: Marcel Ziswiler Reviewed-by: Igor Opaniuk --- Changes in v3: - Fixed issue with host mode as pointed out by Igor. Changes in v2: - Added

[U-Boot] [PATCH v3 09/14] colibri-imx6ull: migrate mmc to using driver model

2019-04-17 Thread Marcel Ziswiler
From: Marcel Ziswiler Migrate MMC to using driver model. Migrate USDHC to using pinctrl. While at it also add GPIO1_IO03__OSC32K_32K_OUT pin muxing. While at it also update copyright period. Signed-off-by: Marcel Ziswiler Reviewed-by: Igor Opaniuk --- Changes in v3: None Changes in v2: -

[U-Boot] [PATCH v3 14/14] ARM: dts: colibri-imx6ull: update device tree

2019-04-17 Thread Marcel Ziswiler
From: Marcel Ziswiler Fix compatible node to use regular Toradex notation. Annotate device tree with standard Colibri pin muxing comments. Use open-drain I2C pin muxings. Alphabetically re-order iomuxc nodes. Rename snvs-ad7879-int-grp touch interrupt node as per Linux device tree.

[U-Boot] [PATCH v3 00/14] colibri-imx6ull device tree enablement and driver model conversion

2019-04-17 Thread Marcel Ziswiler
This series addresses some shortcomings, enables/introduces device tree support and converts all except video to using the driver model. This is fully tested both running our latest downstream BSP as well as the mainline Linux kernel. This series is available together with my previous series

[U-Boot] [PATCH v3 08/14] colibri-imx6ull: migrate pinctrl and regulators to dtb/dm

2019-04-17 Thread Marcel Ziswiler
From: Marcel Ziswiler Migrate pinctrl and regulators to device tree resp. driver model: Ethernet, NAND and UART. Drop BOARD_EARLY_INIT_F as it is anyway no longer used. Enable CMD_DM, CMD_MTD, CMD_REGULATOR and DM_REGULATOR_FIXED. While at it also update copyright period. Signed-off-by: Marcel

[U-Boot] [PATCH v3 13/14] ARM: dts: colibri-imx6ull: add osc32k_32k_out pinctrl

2019-04-17 Thread Marcel Ziswiler
From: Marcel Ziswiler Add GPIO1_IO03__OSC32K_32K_OUT pin muxing. While at it also fix indentation of pinfunc header file. Signed-off-by: Marcel Ziswiler Reviewed-by: Igor Opaniuk --- Changes in v3: None Changes in v2: - Added Igor's reviewed-by. arch/arm/dts/imx6ull-colibri.dts | 2 ++

[U-Boot] [PATCH v3 04/14] apalis/colibri_imx6/imx6ull: make sure loadaddr does not collide

2019-04-17 Thread Marcel Ziswiler
From: Stefan Agner Currently $loadaddr and $fdt_addr_r point to the same address. This might be not ideal for some distro boot scripts which make use of $loadaddr after loading the device tree. Make sure the two variables point to two different addresses. Moving $loadaddr is not entirly trivial

[U-Boot] [PATCH v3 02/14] tdx-cfg-block: simplify i.MX 6 module detection

2019-04-17 Thread Marcel Ziswiler
From: Stefan Agner Use CONFIG_TARGET_... at compile time to differentiate between Apalis iMX6, Colibri iMX6 and Colibri iMX6ULL. Avoid code duplication by moving question about Wi-Fi / Bluetooth before IT/non-IT decision. Signed-off-by: Stefan Agner Acked-by: Marcel Ziswiler Reviewed-by: Igor

[U-Boot] [PATCH v3 06/14] board: imx6ull: Add disable PMIC_STBY_REQ

2019-04-17 Thread Marcel Ziswiler
From: Philippe Schenker Disable output driver of PAD CCM_PMIC_STBY_REQ. This prevents the SOC to request for a lower voltage during sleep. This is necessary because the voltage is changing too slow for the SOC to wake up properly. Signed-off-by: Philippe Schenker Acked-by: Marcel Ziswiler

[U-Boot] [PATCH v3 03/14] colibri-imx6ull: set module variant depending on config block

2019-04-17 Thread Marcel Ziswiler
From: Stefan Agner Using CPU temperature grading as a discriminator if the Wi-Fi / Bluetooth chip is populated is no longer possible due to upcoming SKUs. Set variant to -wifi only if a valid config block is present and the product id mentions a SKU with Wi-Fi / Bluetooth. Signed-off-by: Stefan

[U-Boot] [PATCH v3 01/14] tdx-cfg-block: add support for new colibri iMX6ull skus

2019-04-17 Thread Marcel Ziswiler
From: Gerard Salvatella Add support for new Colibri iMX6ULL SKUs. While at it also checkpatch fix the whole files. Signed-off-by: Gerard Salvatella Acked-by: Marcel Ziswiler Reviewed-by: Igor Opaniuk --- Changes in v3: None Changes in v2: - Added Igor's reviewed-by.

[U-Boot] [PATCH v3] ARM: dts: i.MX6Q: fix avoid_unnecessary_addr_size warnings

2019-04-17 Thread Marcel Ziswiler
From: Marcel Ziswiler Re-synced the device tree with Linux 5.0. This fixes the following warnings: w+arch/arm/dts/imx6-apalis.dtb: Warning (reg_format): /soc/ipu@280/ port@2/endpoint@0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)

[U-Boot] [PATCH v3] apalis_imx6: add device tree to makefile

2019-04-17 Thread Marcel Ziswiler
From: Marcel Ziswiler Add device tree to Makefile to avoid newly introduced error: Device Tree Source is not correctly specified. Please define 'CONFIG_DEFAULT_DEVICE_TREE' or build with 'DEVICE_TREE=' argument make[1]: *** [dts/Makefile:28: arch/arm/dts/imx6-apalis.dtb] Error 1 make: ***

[U-Boot] [RFC PATCH v3] usb: limit USB_MAX_XFER_BLK to 256

2019-04-17 Thread Marcel Ziswiler
From: Peng Fan For Some USB mass storage devices, such as: " - Kingston DataTraveler 2.0 001D7D06CF09B04199C7B3EA - Class: (from Interface) Mass Storage - PacketSize: 64 Configurations: 1 - Vendor: 0x0930 Product 0x6545 Version 1.16 " When `usb read 0x8000 0 0x2000`, we met "EHCI timed

[U-Boot] [PATCH] imx: Add variscite DART-6UL Evaluation Kit

2019-04-17 Thread Parthiban Nallathambi
Port for the DART-6UL Evaluation Kit SBC. Based on the variscite DART-6UL iMX6ULL SoM. CPU: Freescale i.MX6ULL rev1.1 900 MHz (running at 396 MHz) CPU: Commercial temperature grade (0C to 95C) at 43C Reset cause: POR Model: Variscite DART-6UL Evaluation Kit Board: Variscite DART-6UL

Re: [U-Boot] [PATCH] MSCC: delete obsolete reference to MSCC_BITBANG_SPI_GPIO

2019-04-17 Thread Daniel Schwierzeck
Am 17.04.19 um 22:13 schrieb Robert P. J. Day: > > Remove "select MSCC_BITBANG_SPI_GPIO" since Kbuild option was deleted > back in commit ace9c103df2875d2b435dbd7b36618020edfd1c0: > > commit ace9c103df2875d2b435dbd7b36618020edfd1c0 > Author: Lars Povlsen > Date: Tue Jan 8 10:38:35

Re: [U-Boot] [PATCH v2 0/2] Fix minor issues with Serval SoC.

2019-04-17 Thread Daniel Schwierzeck
Am 15.04.19 um 11:56 schrieb Horatiu Vultur: > This patch series fix different issues with Serval. > - first patch fix resets when DDR training fails. > - second patch fix the detection of the board. > > This patch series is based on u-boot-mips/next. > > v2-changes: > - Update reset based

Re: [U-Boot] [PATCH 0/4] Add network support for Serval SoCs.

2019-04-17 Thread Daniel Schwierzeck
Am 11.04.19 um 14:11 schrieb Horatiu Vultur: > This patch series add network support for Serval SoCs family. > There are the following pcb: Serval-nid(pcb106), Serval-ref > (pcb105). > > Horatiu Vultur (4): > net: Add MSCC Serval network driver. > board: mscc: serval: Update MSCC Serval

[U-Boot] [PATCH 3/4] ARM: socfpga: Fully unmap the FPGA bridges from L3 space

2019-04-17 Thread Marek Vasut
Instead of just putting the bridges into reset, fully remove the bridges from the L3 main bridge space when disabling them by clearing bits in NIC-301 remap register. Moreover, only touch the 3 LSbits in brgmodrst register as the rest of the bits are undefined. Signed-off-by: Marek Vasut Cc:

[U-Boot] [PATCH 2/4] ARM: socfpga: Disable bridges in SPL unless booting from FPGA

2019-04-17 Thread Marek Vasut
Disable bridges between L3 Main switch and FPGA unless booting from FPGA and keep them disabled to prevent glitches and possible hangs of the L3 Main switch. The current version of the code could have enabled the bridges between the L3 Main switch and FPGA for a short period of time in

[U-Boot] [PATCH 4/4] ARM: socfpga: Add support for selecting bridges in bridge command

2019-04-17 Thread Marek Vasut
Add optional "mask" argument to the SoCFPGA bridge command, to select which bridges should be enabled/disabled. This allows the user to avoid enabling bridges which are not connected into the FPGA fabric. Default behavior is to enable/disable all bridges. Signed-off-by: Marek Vasut Cc: Chin

[U-Boot] [PATCH 1/4] ARM: socfpga: Factor out handoff register configuration

2019-04-17 Thread Marek Vasut
Factor out the code for programming preloader handoff register values, the ISWGRP Handoff 0 and 1. These registers later control which bridges are enabled by the "bridge" command on Gen5 devices. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Simon Goldschmidt Cc: Tien Fong

[U-Boot] [PATCH] MSCC: delete obsolete reference to MSCC_BITBANG_SPI_GPIO

2019-04-17 Thread Robert P. J. Day
Remove "select MSCC_BITBANG_SPI_GPIO" since Kbuild option was deleted back in commit ace9c103df2875d2b435dbd7b36618020edfd1c0: commit ace9c103df2875d2b435dbd7b36618020edfd1c0 Author: Lars Povlsen Date: Tue Jan 8 10:38:35 2019 +0100 mips: gpio: mscc: Obsoleted

Re: [U-Boot] [PATCH] usb: dwc2: fix gadget disconnect

2019-04-17 Thread Marek Vasut
On 4/17/19 4:46 PM, Fabrice Gasnier wrote: > This fixes a disconnect issue detected with fastboot command, when using > dwc2 driver. > - On u-boot side: > uboot>$ fastboot 0 > - On USB host PC side, few seconds after > PC>$ fastboot reboot # Get stuck, uboot target never reboots > > By enabling

Re: [U-Boot] [PATCH] board_f: Do not mark pre-relocated fdt space as reserved

2019-04-17 Thread Simon Goldschmidt
[This is a follow-up to https://patchwork.ozlabs.org/patch/1033584/ right?] Am 16.04.2019 um 10:43 schrieb Lokesh Vutla: SPL while copying u-boot and dtb it does the following: - Copy u-boot - Copy right dtb. - mark dtb location as reserved in dtb. Hmm, why does it do that? Reserving space

[U-Boot] [PATCH] ARM: da850evm: Fix TI boot scripts for MMC

2019-04-17 Thread Adam Ford
The da850evm include environment/ti/mmc.h and places DEFAULT_MMC_TI_ARGS, defined int that file, in CONFIG_EXTRA_ENV_SETTINGS. This has been broken for some time since neither CMD_PART nor CMD_UUID are available, so manually changing the environmental variables was always required before booting

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

2019-04-17 Thread Padmarao Begari
This patch adds Microchip MPFS Icicle Board support. For now, NS16550 serial driver is only enabled. The Microchip MPFS Icicle defconfig by default builds U-Boot for M-Mode with SMP support. Signed-off-by: Padmarao Begari --- arch/riscv/Kconfig| 4 ++

[U-Boot] [PATCH] fw_env: Fix double free

2019-04-17 Thread Björn Stenberg
addr0 is being freed twice, leading to segmentation fault Signed-off-by: Björn Stenberg --- tools/env/fw_env.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c index a5d75958e1..1ed0f7e9cb 100644 --- a/tools/env/fw_env.c +++

Re: [U-Boot] [RFC PATCH v2 00/12] Add support for applications of overlays in SPL

2019-04-17 Thread Michal Simek
On 17. 04. 19 14:29, Jean-Jacques Hiblot wrote: > > On 17/04/2019 12:38, Michal Simek wrote: >> On 17. 04. 19 11:34, Jean-Jacques Hiblot wrote: >>> Hi Michal, >>> >>> On 28/03/2019 15:03, Michal Simek wrote: On 27. 03. 19 16:38, Jean-Jacques Hiblot wrote: > The purpose of this series is

[U-Boot] [PATCH v2] regmap: fix regmap_read_poll_timeout warning about sandbox_timer_add_offset

2019-04-17 Thread Neil Armstrong
When fixing sandbox test for regmap_read_poll_timeout(), the sandbox_timer_add_offset was introduced but only defined in sandbox code thus generating warnings when used out of sandbox : include/regmap.h:289:2: note: in expansion of macro 'regmap_read_poll_timeout_test'

[U-Boot] [PATCH 4/4] Update defconfig for minized.

2019-04-17 Thread Philip Balister
Signed-off-by: Philip Balister --- configs/zynq_minized_defconfig | 16 +--- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/configs/zynq_minized_defconfig b/configs/zynq_minized_defconfig index d61659f785..6c56b9b9b9 100644 --- a/configs/zynq_minized_defconfig +++

[U-Boot] [PATCH 3/4] zynq_minized: Add configuration header file for board specific environment.

2019-04-17 Thread Philip Balister
Signed-off-by: Philip Balister --- include/configs/zynq_minized.h | 54 ++ 1 file changed, 54 insertions(+) create mode 100644 include/configs/zynq_minized.h diff --git a/include/configs/zynq_minized.h b/include/configs/zynq_minized.h new file mode 100644 index

[U-Boot] [PATCH 2/4] mini-zed: Update mini-zed dts so we can use it for SPL.

2019-04-17 Thread Philip Balister
Signed-off-by: Philip Balister --- arch/arm/dts/zynq-minized.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/zynq-minized.dts b/arch/arm/dts/zynq-minized.dts index 525921ee7b..9ad7f090fe 100644 --- a/arch/arm/dts/zynq-minized.dts +++ b/arch/arm/dts/zynq-minized.dts @@ -38,6

[U-Boot] [PATCH v3 1/3] arm64: allwinner: sun50i: Sync H6 dts(i) files from Linux

2019-04-17 Thread Clément Péron
From: Jagan Teki Usually the Linux dts changes were synced in specific tags in Allwinner, to keep track for whats been synced so-far and plan for future syncs. But this patch sync sun50i-h6* dts(i) files from Linux w/o any specific tag since these dts(i) changes are required for new H6 boards

[U-Boot] [PATCH v3 3/3] arm: sunxi: h6: fix reset using r_wdog

2019-04-17 Thread Clément Péron
WDOG is broken for some H6 rev. The board is not reseted correctly. Use the R_WDOG instead. Signed-off-by: Clément Péron --- arch/arm/include/asm/arch-sunxi/cpu_sun50i_h6.h | 1 + arch/arm/mach-sunxi/board.c | 9 +++-- 2 files changed, 8 insertions(+), 2 deletions(-)

[U-Boot] [PATCH v3 2/3] arm: dts: h6: Add Beelink GS1 initial support

2019-04-17 Thread Clément Péron
Beelink GS1 is an Allwinner H6 based TV box, which support: - Allwinner H6 Quad-core 64-bit ARM Cortex-A53 - GPU Mali-T720 - 2GB LPDDR3 RAM - 16GB eMMC - AXP805 PMIC - 1Gbps GMAC via RTL8211E - USB 2.0 and 3.0 Host - HDMI port - S/PDIF port - 5V/2A DC power supply - Wi-Fi/BT via Fn-Link 6222B-SRB

[U-Boot] [PATCH v3 0/3] Add Beelink GS1 Board

2019-04-17 Thread Clément Péron
This serie introduce the Beelink GS1 board with a patch for the reset on Allwinner H6. The first patch has been submitted but is still not merged. But it's required for this series Thanks to Jagan Teki most of the Beelink GS1 device-tree is taken from the Orange Pi boards. Changes with v2: -

Re: [U-Boot] [RFC v3 03/10] cmd: bootefi: carve out fdt handling from do_bootefi()

2019-04-17 Thread Heinrich Schuchardt
On 4/17/19 9:01 AM, AKASHI Takahiro wrote: On Tue, Apr 16, 2019 at 06:54:58AM +0200, Heinrich Schuchardt wrote: On 4/16/19 6:24 AM, AKASHI Takahiro wrote: This is a preparatory patch for reworking do_bootefi() in later patch. I would prefer a more informative commit message like: Carve out

[U-Boot] [PATCH] ARM: da850evm: Fix broken SPI Flash

2019-04-17 Thread Adam Ford
A previous patch converted a bunch of settings for CONFIG_SF_DEFAULT but it broke the SPI Flash which now prevents booting. This patch now correctly sets CONFIG_SF_DEFAULT_SPEED=3000 to match what it was before the conversion. Fixes: 14453fbfadc2 ("Convert CONFIG_SF_DEFAULT_* to Kconfig")

Re: [U-Boot] [PATCH 1/2] fs: cbfs: make file_cbfs_load_header(..) independent of end-of-rom

2019-04-17 Thread Christian Gmeiner
Am Mi., 17. Apr. 2019 um 15:21 Uhr schrieb Christian Gmeiner : > > Signed-off-by: Christian Gmeiner I think I will send out a v2 that compiles :/ -- greets -- Christian Gmeiner, MSc https://christian-gmeiner.info ___ U-Boot mailing list

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

2019-04-17 Thread Thierry Reding
On Wed, Apr 17, 2019 at 02:49:22PM +0300, Grygorii Strashko wrote: > > > On 16.04.19 19:24, Thierry Reding wrote: > > From: Thierry Reding > > > > Add the standard Ethernet device tree bindings (imported from v5.0 of > > the Linux kernel) and implement support for reading the MAC address for >

[U-Boot] [PATCH] usb: dwc2: fix gadget disconnect

2019-04-17 Thread Fabrice Gasnier
This fixes a disconnect issue detected with fastboot command, when using dwc2 driver. - On u-boot side: uboot>$ fastboot 0 - On USB host PC side, few seconds after PC>$ fastboot reboot # Get stuck, uboot target never reboots By enabling DEBUG_ISR logs, the bus suspend interrupt is seen before the

[U-Boot] [PATCH] kwbimage: fixing the issue with proper return code checking

2019-04-17 Thread Young Xiao
EVP_VerifyFinal would return one of three values: 1 if the data is verified to be correct; 0 if it is incorrect; -1 if there is any failure in the verification process. The varification in unpatched version is wrong, since it ignored the return value of -1. The bug allows a malformed signature

Re: [U-Boot] [RFC PATCH v2 00/12] Add support for applications of overlays in SPL

2019-04-17 Thread Jean-Jacques Hiblot
On 17/04/2019 12:38, Michal Simek wrote: On 17. 04. 19 11:34, Jean-Jacques Hiblot wrote: Hi Michal, On 28/03/2019 15:03, Michal Simek wrote: On 27. 03. 19 16:38, Jean-Jacques Hiblot wrote: The purpose of this series is to provide the SPL with ability to apply overlays for u-boot. this is

Re: [U-Boot] [RFC PATCH v2 00/12] Add support for applications of overlays in SPL

2019-04-17 Thread Jean-Jacques Hiblot
Tom, Simon, On 28/03/2019 15:03, Michal Simek wrote: On 27. 03. 19 16:38, Jean-Jacques Hiblot wrote: The purpose of this series is to provide the SPL with ability to apply overlays for u-boot. this is only a RFC so far, to get a feedback on the approach. Our use-case is the support of the

Re: [U-Boot] [RFC PATCH v2 00/12] Add support for applications of overlays in SPL

2019-04-17 Thread Michal Simek
On 17. 04. 19 11:34, Jean-Jacques Hiblot wrote: > Hi Michal, > > On 28/03/2019 15:03, Michal Simek wrote: >> On 27. 03. 19 16:38, Jean-Jacques Hiblot wrote: >>> The purpose of this series is to provide the SPL with ability to apply >>> overlays for u-boot. this is only a RFC so far, to get a

Re: [U-Boot] [RFC PATCH v2 00/12] Add support for applications of overlays in SPL

2019-04-17 Thread Jean-Jacques Hiblot
Hi Michal, On 28/03/2019 15:03, Michal Simek wrote: On 27. 03. 19 16:38, Jean-Jacques Hiblot wrote: The purpose of this series is to provide the SPL with ability to apply overlays for u-boot. this is only a RFC so far, to get a feedback on the approach. Our use-case is the support of the

[U-Boot] [PATCH] kwbimage: fixing the issue with proper return code checking

2019-04-17 Thread Young Xiao
EVP_VerifyFinal would return one of three values: 1 if the data is verified to be correct; 0 if it is incorrect; -1 if there is any failure in the verification process. The varification in unpatched version is wrong, since it ignored the return value of -1. The bug allows a malformed signature

[U-Boot] [PATCH] Enable CONFIG_SPI_FLASH to Kconfig for non-TFA

2019-04-17 Thread Chuanhua Han
This enables the folowing to Kconfig: CONFIG_SPI_FLASH Signed-off-by: Chuanhua Han --- configs/ls2080ardb_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/ls2080ardb_defconfig b/configs/ls2080ardb_defconfig index a1ddc1add6..d54bb8d922 100644 ---

[U-Boot] [PATCH] Enable CONFIG_SPI_FLASH to Kconfig for non-TFA

2019-04-17 Thread Chuanhua Han
This enables the folowing to Kconfig: CONFIG_SPI_FLASH Signed-off-by: Chuanhua Han --- configs/ls2080ardb_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/ls2080ardb_defconfig b/configs/ls2080ardb_defconfig index a1ddc1add6..d54bb8d922 100644 ---

Re: [U-Boot] [PATCH v2 2/8] video/console: Implement reverse video ANSI sequence for DM_VIDEO

2019-04-17 Thread Anatolij Gustschin
On Sun, 14 Apr 2019 15:05:36 +0200 Anatolij Gustschin ag...@denx.de wrote: ... > Changes in v2: > - Fix to render standard bg colors (as used to be before v1 2/8 patch). >Catched by "dm video_ansi" test. > > drivers/video/vidconsole-uclass.c | 13 +++-- >

Re: [U-Boot] [PATCH v2 1/1] video: backlight: Parse PWM polarity cell

2019-04-17 Thread Anatolij Gustschin
On Fri, 12 Apr 2019 08:56:27 +0300 Stefan Mavrodiev ste...@olimex.com wrote: ... > Changes for v2: > - Check if phandle has polarity cell > - Add missing signed-off-by > > drivers/video/pwm_backlight.c | 11 +++ > 1 file changed, 11 insertions(+) Applied to u-boot-video/master,

[U-Boot] [PATCH 2/2] fs: cbfs: add file_cbfs_init_ext(..)

2019-04-17 Thread Christian Gmeiner
On Intel Apollolake the BIOS region on the flash is mapped right below 4GiB in the address space. However, 256KiB right below 4GiB is decoded by read-only SRAM. For this case we need a new API to handle this case - file_cbfs_init_ext(). This patch only does the groundwork to fix this issue. The

[U-Boot] [PATCH 1/2] fs: cbfs: make file_cbfs_load_header(..) independent of end-of-rom

2019-04-17 Thread Christian Gmeiner
Signed-off-by: Christian Gmeiner --- fs/cbfs/cbfs.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/fs/cbfs/cbfs.c b/fs/cbfs/cbfs.c index 7b2513cb24..c60a8d5dc1 100644 --- a/fs/cbfs/cbfs.c +++ b/fs/cbfs/cbfs.c @@ -162,13 +162,10 @@ static void

Re: [U-Boot] Pull request: u-boot-imx u -boot-imx-201900415

2019-04-17 Thread Tom Rini
On Mon, Apr 15, 2019 at 09:48:09AM +0200, Stefano Babic wrote: > Hi Tom, > > please pull from u-boot-imx, thanks ! > > Travis: > https://travis-ci.org/sbabic/u-boot-imx/builds/520010229 > > The following changes since commit 015289580f81733f7358227743e3e5881653a797: > > Merge

Re: [U-Boot] Pull request for UEFI sub-system for v2019.07-rc1 (2)

2019-04-17 Thread Tom Rini
On Sun, Apr 14, 2019 at 09:09:25PM +0200, Heinrich Schuchardt wrote: > The following changes since commit 40a9546c7b6217a78a3a010a0142529a837e46b6: > > Merge branch '2019-04-11-ti-master-imports' (2019-04-12 12:22:43 -0400) > > are available in the Git repository at: > >

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

2019-04-17 Thread Tom Rini
On Sun, Apr 14, 2019 at 08:10:51PM +0200, Anatolij Gustschin wrote: > Hi Tom, > > please pull video updates for v2019.07-rc1. > > Travis CI: https://travis-ci.org/vdsao/u-boot-video/builds/51990 > > Thanks, > Anatolij > > The following changes since commit

Re: [U-Boot] [PATCH v2] mtd: spi: Improve spi_nor_write_data() implementation

2019-04-17 Thread Vignesh Raghavendra
On 16/04/19 5:29 PM, Rajat Srivastava wrote: Maximum write size in a single write operation in spi_nor_write_data() function can be equal to slave tx buffer, which is adjusted in spi_mem_adjust_op_size() and write operation gets fragmented. Previously data write for the above fragmentation

Re: [U-Boot] Pull request: u-boot-spi/master

2019-04-17 Thread Vignesh Raghavendra
On 17/04/19 5:51 PM, Jagan Teki wrote: Hi Tom, Please pull this PR. Thanks Jagan! Tom, These patches depend on [1] that drops cl-som-am57x board support. http://patchwork.ozlabs.org/patch/1085281/ Regards Vignesh Summary: - drop non-DM code from ti_qspi - support spi-mem for ti_qspi

[U-Boot] [PATCH] x86: coreboot: make it possible to process unhandled tags

2019-04-17 Thread Christian Gmeiner
coreboot makes it possible to add own entries into coreboot's table at a per mainboard basis. As there might be some custom ones it makes sense to provide a way to process them. Signed-off-by: Christian Gmeiner --- arch/x86/cpu/coreboot/tables.c | 5 + 1 file changed, 5 insertions(+) diff

[U-Boot] Pull request: u-boot-sunxi/master

2019-04-17 Thread Jagan Teki
Hi Tom, Please pull this PR. Summary: - Convert DM_MMC and DM_SCSI - A20, R40, H6 Linux dts(i) sync - CLK, RESET support for sunxi, sun8_emac net drivers thanks, Jagan. The following changes since commit 216800acf1fbf9f498455bf3c92d4513d9a4c681: Merge branch 'master' of

[U-Boot] Pull request: u-boot-spi/master

2019-04-17 Thread Jagan Teki
Hi Tom, Please pull this PR. Summary: - drop non-DM code from ti_qspi - support spi-mem for ti_qspi thanks, Jagan. The following changes since commit 216800acf1fbf9f498455bf3c92d4513d9a4c681: Merge branch 'master' of git://git.denx.de/u-boot-spi (2019-04-14 00:03:06 -0400) are available

Re: [U-Boot] [RESEND PATCH v2 2/2] spi: ti_qspi: Convert to spi-mem ops

2019-04-17 Thread Jagan Teki
On Tue, Apr 16, 2019 at 9:33 PM Vignesh Raghavendra wrote: > > Convert driver to use spi-mem ops in order to support accelerated MMIO > flash interface in generic way and for better performance. > > Signed-off-by: Vignesh Raghavendra > Reviewed-by: Tom Rini > --- Applied to u-boot-spi/master

Re: [U-Boot] [RESEND PATCH v2 1/2] spi: ti_qspi: Drop non DM code

2019-04-17 Thread Jagan Teki
On Tue, Apr 16, 2019 at 9:32 PM Vignesh Raghavendra wrote: > > Now that all boards using TI QSPI have moved to DM and DT, drop non DM > code completely. > > Signed-off-by: Vignesh Raghavendra > Reviewed-by: Tom Rini > --- > drivers/spi/Kconfig | 13 +- > drivers/spi/Makefile

[U-Boot] [PATCH v1 5/6] dm: arm: imx: cx9020: remove unused mmc functions

2019-04-17 Thread linux-kernel-dev
From: Steffen Dirkwinkel These mmc functions were not used anymore since DM_MMC was introduced. Acked-by: Patrick Bruenn Signed-off-by: Steffen Dirkwinkel --- board/beckhoff/mx53cx9020/mx53cx9020.c | 55 -- 1 file changed, 55 deletions(-) diff --git

Re: [U-Boot] [RESEND PATCH 0/3] arm: Introduce writel/readl_relaxed accessors

2019-04-17 Thread Jagan Teki
On Mon, Apr 15, 2019 at 1:21 PM André Przywara wrote: > > On 15/04/2019 07:22, Jagan Teki wrote: > > Hi, > > > On Mon, Apr 15, 2019 at 11:40 AM Chen-Yu Tsai wrote: > >> > >> On Mon, Apr 15, 2019 at 2:07 PM Jagan Teki > >> wrote: > >>> > >>> On Sun, Feb 10, 2019 at 9:49 PM Andre Przywara >

[U-Boot] [PATCH v1 6/6] arm: imx: cx9020: remove unnecessary includes

2019-04-17 Thread linux-kernel-dev
From: Steffen Dirkwinkel There are several includes in mx53cx9020.c which are not required anymore. Acked-by: Patrick Bruenn Signed-off-by: Steffen Dirkwinkel --- board/beckhoff/mx53cx9020/mx53cx9020.c | 8 1 file changed, 8 deletions(-) diff --git

[U-Boot] [PATCH v1 4/6] dm: arm: imx: cx9020: migrate to dm_video

2019-04-17 Thread linux-kernel-dev
From: Steffen Dirkwinkel Enable DM_VIDEO in config and don't overwrite console so it can be set from environment Acked-by: Patrick Bruenn Signed-off-by: Steffen Dirkwinkel --- board/beckhoff/mx53cx9020/Makefile | 2 +- board/beckhoff/mx53cx9020/mx53cx9020.c | 11 -

[U-Boot] [PATCH v1 3/6] arm: imx: add ipu to imx53.dts and set dm-pre-reloc

2019-04-17 Thread linux-kernel-dev
From: Steffen Dirkwinkel The ipu node in imx53 is needed for DM_VIDEO. We also need to set u-boot,dm-pre-reloc to initialize before relocation. Signed-off-by: Steffen Dirkwinkel --- arch/arm/dts/imx53.dtsi | 137 1 file changed, 137 insertions(+)

[U-Boot] [PATCH v1 2/6] dm: arm: imx: video: add compatible for imx53-ipu

2019-04-17 Thread linux-kernel-dev
From: Steffen Dirkwinkel This code also works with imx53 ipus so we can enable it for them. Signed-off-by: Steffen Dirkwinkel --- drivers/video/imx/mxc_ipuv3_fb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/imx/mxc_ipuv3_fb.c b/drivers/video/imx/mxc_ipuv3_fb.c index

[U-Boot] [PATCH v1 1/6] dm: arm: imx: cx9020: enable DM_GPIO

2019-04-17 Thread linux-kernel-dev
From: Steffen Dirkwinkel Switch to DM_GPIO and add gpio_request where necessary. This is needed for DM_VIDEO and fixes an issue with sd card detection which was introduced by the combination of these commits: commit 7a0425dd969c ("mmc: fsl_esdhc: make get_cd work well in dm_mmc_ops") commit

[U-Boot] [PATCH v1 0/6] arm: imx: cx9020: Migrate to DM_VIDEO and DM_GPIO

2019-04-17 Thread linux-kernel-dev
From: Steffen Dirkwinkel This series migrates mx53cx9020 to DM_VIDEO and DM_GPIO. The first patch allows the board to boot again by enabling DM_GPIO. This was broken due to card detect not working with a combination of previous commits. Patches 2-4 add ipu device tree nodes for mx53, enable

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

2019-04-17 Thread Grygorii Strashko
On 16.04.19 19:24, Thierry Reding wrote: > From: Thierry Reding > > Add the standard Ethernet device tree bindings (imported from v5.0 of > the Linux kernel) and implement support for reading the MAC address for > Ethernet devices in the Ethernet uclass. If the "mac-address" property > exists,

Re: [U-Boot] [RESEND-2 PATCH 0/4] sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY

2019-04-17 Thread Jagan Teki
Hi, On Fri, Apr 12, 2019 at 4:05 PM Chen-Yu Tsai wrote: > > From: Chen-Yu Tsai > > (Resending yet again with correct email address now subscribed > and with proper cover letter subject. Sorry for the noise.) > > Hi everyone, > > This series enables EMAC (Ethernet controller) on two A83T

Re: [U-Boot] [linux-sunxi] [PATCH] phy: sun4i-usb: Fix PHY0 routing and passby configuration for MUSB

2019-04-17 Thread Jagan Teki
On Mon, Apr 15, 2019 at 1:52 PM Paul Kocialkowski wrote: > > Hi, > > Le vendredi 12 avril 2019 à 14:49 +0530, Jagan Teki a écrit : > > On Thu, Mar 14, 2019 at 4:08 PM Paul Kocialkowski > > wrote: > > > Recent Allwinner platforms (starting with the H3) only use the MUSB > > > controller for

Re: [U-Boot] [PATCH v2 00/14] rockchip: Add new rk3399 boards

2019-04-17 Thread Jagan Teki
Hi Paul, On Tue, Apr 16, 2019 at 5:29 PM Paul Kocialkowski wrote: > > Hi, > > Le mardi 16 avril 2019 à 16:26 +0530, Jagan Teki a écrit : > > This series is combination of previous version[1] plus new rk3399 > > boards addition. > > Thanks for following-up on this series! > > > Overall this

Re: [U-Boot] [PATCH v2 09/14] rockchip: rk3399: Add 4GB LPDDR3-1866 DMC settings【请注意,邮件由linux-rockchip-bounces+kever.yang=rock-chips....@lists.infradead.org代发】

2019-04-17 Thread Jagan Teki
On Wed, Apr 17, 2019 at 1:10 PM Kever Yang wrote: > > Hi Jagan, > > > On 04/16/2019 06:56 PM, Jagan Teki wrote: > > Add sdram dtsi file for 4GB LPDDR3-1866 DMC settings by reverse > > engineered from the rk3399_ddr_933Mhz_v1.14.bin file. > > > > Full credits to 'Liviu Dudau' who is the real

Re: [U-Boot] [PATCH v2 08/14] rockchip: dts: rk3399: nanopi4: Use CD pin as RK_FUNC_1

2019-04-17 Thread Jagan Teki
On Tue, Apr 16, 2019 at 4:40 PM Robin Murphy wrote: > > On 16/04/2019 11:56, Jagan Teki wrote: > > sdmmc cd pin is configured as RK_FUNC_GPIO which is wrong and > > indeed failed to detect the sdcard on the board with below error > > > >Card did not respond to voltage select! > > > > So, fix

Re: [U-Boot] [RFC v3 04/10] cmd: bootefi: merge efi_install_fdt() and efi_process_fdt()

2019-04-17 Thread Heinrich Schuchardt
On 4/16/19 6:24 AM, AKASHI Takahiro wrote: This is a preparatory patch for reworking do_bootefi() in later patch. For simplicity, merge two functions. Signed-off-by: AKASHI Takahiro --- cmd/bootefi.c | 67 +-- 1 file changed, 28 insertions(+),

[U-Boot] [v3 2/2] scsi: ceva: Clean up the driver code

2019-04-17 Thread Peng Ma
Distinguish the ecc val by chassis version and move the ecc addr to dts. Add ls1028a soc support. Signed-off-by: Peng Ma Reviewed-by: Michal Simek --- changed for v3: - Add Reviewed-by. drivers/ata/sata_ceva.c | 50 +++ 1 files changed, 33

[U-Boot] [v3 1/2] ARM: dts: Freescale: Add ecc addr for sata node

2019-04-17 Thread Peng Ma
Move the ecc addr from driver to dts. Signed-off-by: Peng Ma --- changed for v3: - remove some dts node reg to fix build error arch/arm/dts/fsl-ls1012a.dtsi |4 +++- arch/arm/dts/fsl-ls1043a.dtsi |4 +++- arch/arm/dts/fsl-ls1046a.dtsi |4 +++- arch/arm/dts/fsl-ls1088a.dtsi

  1   2   >