[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 ++

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

[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

[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

[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 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 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 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 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

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] 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 +++

[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

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

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

[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 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] 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 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

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

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

[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 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

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] [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 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] [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 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

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] [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/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] 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] [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] 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)

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.

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,

[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:

[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

[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] [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 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 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 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 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

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

[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] SPL

2019-04-17 Thread Linder Pascal
Hello everyone, With my NanoPi NEO Plus2 board, I try to make some modifications on the Flattened Image Tree (FIT). This includes compression and also some security features like signing/verifying. But I do not know if my modifications worked out. It is a FIT that is started by the SPL,

[U-Boot] [PATCH] Makefile: fix processing of default environment file

2019-04-17 Thread Samuel Mescoff
Allow the default environment file to contain long lines split into multiples lines. Leading white spaces can be added for readability as well. Signed-off-by: Samuel Mescoff --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index

[U-Boot] [PATCH 0/6] miscellaneous ubispl and ubi improvements

2019-04-17 Thread Markus Klotzbuecher
From: Markus Klotzbuecher Hello Heiko and Kyungmin This series contains a couple of UBI and UBI SPL improvements, notably a ubispl extension to allow loading volumes by name. The motivation is to use the UBI atomic volume rename functionality to allow double copy software updates of U-Boot on

[U-Boot] [PATCH 1/6] env: ubi: KConfig: add CONFIG_ENV_UBI_VOLUME_REDUND

2019-04-17 Thread Markus Klotzbuecher
From: Markus Klotzbuecher Signed-off-by: Markus Klotzbuecher Cc: Heiko Schocher Cc: Kyungmin Park --- env/Kconfig | 6 ++ scripts/config_whitelist.txt | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/env/Kconfig b/env/Kconfig index

Re: [U-Boot] [PATCH v2 1/1] colibri_imx7: migrate usb to driver model

2019-04-17 Thread Marcel Ziswiler
Perfect, thanks Igor. The most minor little nitpick: I would order otg1, otg2 and maybe add some comment about what exact USB ports in the Colibri pin muxing each of those actually is. With that: Acked-by: Marcel Ziswiler On April 16, 2019 10:19:01 AM GMT+02:00, Igor Opaniuk wrote: >As Max

Re: [U-Boot] [EXT] Re: [PATCH 1/2] scsi: ceva: Clean up the driver code

2019-04-17 Thread Peng Ma
>-Original Message- >From: Michal Simek >Sent: 2019年4月17日 13:58 >To: Peng Ma ; Michal Simek ; >albert.u.b...@aribaud.net; s...@chromium.org; Fabio Estevam >; York Sun ; Prabhakar >Kushwaha >Cc: Andy Tang ; Yinbo Zhu ; >u-boot@lists.denx.de >Subject: Re: [EXT] Re: [PATCH 1/2] scsi:

Re: [U-Boot] [PATCH 0/6] miscellaneous ubispl and ubi improvements

2019-04-17 Thread Markus Klotzbuecher
Hello Heiko On Tue, Apr 16, 2019 at 05:52:15AM +0200, Heiko Schocher wrote: > >Am 15.04.2019 um 17:32 schrieb Markus Klotzbuecher: >> From: Markus Klotzbuecher >> >> Hello Heiko and Kyungmin >> >> This series contains a couple of UBI and UBI SPL improvements, notably >> a ubispl extension to

Re: [U-Boot] [PATCH 0/6] miscellaneous ubispl and ubi improvements

2019-04-17 Thread Markus Klotzbuecher
Hello Heiko On Tue, Apr 16, 2019 at 06:03:31AM +0200, Heiko Schocher wrote: >may I am to dummy, but I cannot find your patches in patchwork :-( > >any ideas? As this was a first post from this address, I think they are still in the list moderation queue... Best regards Markus -- Markus

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

2019-04-17 Thread Robin Murphy
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 it by replacing RK_FUNC_GPIO with RK_FUNC_1 which is already defined in

Re: [U-Boot] [PATCH] include: configs: Increase CONFIG_SYS_BOOTM_LEN to 16MB

2019-04-17 Thread Jagan Teki
On Mon, Apr 15, 2019 at 7:14 PM Shyam Saini wrote: > > The default value of CONFIG_SYS_BOOTM_LEN is 0x80 i.e, 8MB which > causes board reset because of larger uImage size. > > Error log snippet: >Booting using the fdt blob at 0x1f0 >Loading Kernel Image ... Image too large:

[U-Boot] [PATCH 2/6] env: ubi: support configurable VID offset

2019-04-17 Thread Markus Klotzbuecher
From: Hamish Guthrie Signed-off-by: Hamish Guthrie Signed-off-by: Markus Klotzbuecher Cc: Heiko Schocher Cc: Kyungmin Park --- env/Kconfig | 6 ++ env/ubi.c | 17 + 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/env/Kconfig b/env/Kconfig index

[U-Boot] [PATCH 3/6] ubi: fix UBI_SILENCE_MSG

2019-04-17 Thread Markus Klotzbuecher
From: Markus Klotzbuecher - drop CONFIG_ prefix from kconfig entry - fix small compilation issue with CONFIG_UBI_SILENCE_MSG Signed-off-by: Markus Klotzbuecher Cc: Heiko Schocher Cc: Kyungmin Park --- drivers/mtd/ubi/Kconfig | 2 +- drivers/mtd/ubi/io.c| 2 ++ 2 files changed, 3

[U-Boot] [PATCH 4/6] ubispl: migrate configuration to Kconfig

2019-04-17 Thread Markus Klotzbuecher
From: Markus Klotzbuecher Signed-off-by: Markus Klotzbuecher Cc: Heiko Schocher Cc: Kyungmin Park Cc: Javier Martinez Canillas Cc: Enric Balletbo i Serra --- common/spl/Kconfig | 79 scripts/config_whitelist.txt | 12 -- 2 files changed,

[U-Boot] [PATCH 5/6] ubispl: add support for loading volumes by name

2019-04-17 Thread Markus Klotzbuecher
From: Hamish Guthrie The motivation is to use the UBI atomic volume rename functionality to allow double copy software updates on UBI. To that end the SPL is configured to always load the same volume name (e.g. "u-boot"), whereas a software updater always installs into the secondary volume

[U-Boot] [PATCH v2] sunxi: Add support for Olimex A64-Teres-I board

2019-04-17 Thread Jonas Smedegaard
Olimex Teres-I is a laptop DIY kit, and A64-Teres-I is its mainboard. https://linux-sunxi.org/Olimex_Teres-A64 This patch enables support for the A64-Teres-I board to u-boot, including enabling screen backlight (lacking from Linux device-tree). sun50i-a64-teres-i.dts is copied verbatim from

Re: [U-Boot] [EXT] Re: [PATCH 1/2] scsi: ceva: Clean up the driver code

2019-04-17 Thread Michal Simek
On 17. 04. 19 8:50, Peng Ma wrote: > > >> -Original Message- >> From: Michal Simek >> Sent: 2019年4月17日 13:58 >> To: Peng Ma ; Michal Simek ; >> albert.u.b...@aribaud.net; s...@chromium.org; Fabio Estevam >> ; York Sun ; Prabhakar >> Kushwaha >> Cc: Andy Tang ; Yinbo Zhu ; >>

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

2019-04-17 Thread AKASHI Takahiro
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 a function to handle the

[U-Boot] [PATCH 6/6] ubispl: introduce separate CONFIG_UBI_SPL_SILENCE_MSG

2019-04-17 Thread Markus Klotzbuecher
From: Markus Klotzbuecher This allows to silence ubi and ubispl individually. Signed-off-by: Markus Klotzbuecher Cc: Heiko Schocher Cc: Kyungmin Park --- common/spl/Kconfig | 6 ++ drivers/mtd/ubispl/ubispl.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git

Re: [U-Boot] [RFC v3 02/10] efi_loader: export root node handle

2019-04-17 Thread AKASHI Takahiro
On Tue, Apr 16, 2019 at 06:48:46AM +0200, Heinrich Schuchardt wrote: > On 4/16/19 6:24 AM, AKASHI Takahiro wrote: > >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. > > This patch is not based

Re: [U-Boot] [EXT] Re: [PATCH 1/2] scsi: ceva: Clean up the driver code

2019-04-17 Thread Michal Simek
On 17. 04. 19 9:27, Peng Ma wrote: > > >> -Original Message- >> From: Michal Simek >> Sent: 2019年4月17日 14:58 >> To: Peng Ma ; Michal Simek ; >> albert.u.b...@aribaud.net; s...@chromium.org; Fabio Estevam >> ; York Sun ; Prabhakar >> Kushwaha >> Cc: Andy Tang ; Yinbo Zhu ; >>

[U-Boot] [v2 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 --- changed for v2: - Use the reg-names to get secondary reg base - Return error while some socs not set the ecc address at DT drivers/ata/sata_ceva.c | 50

[U-Boot] [GIT PULL] Xilinx patches for v2019.04

2019-04-17 Thread Michal Simek
Hi Tom, I am sending you some patches related to Xilinx devices and fpga framework. There are minimal changes in xilinx drivers and one patch which fixes EXT_DTB usage reviewed by Simon. Builds look good. https://travis-ci.org/michalsimek/u-boot/builds/520747035 Thanks, Michal The following

Re: [U-Boot] [PATCH] mtd: nand: raw: Fix CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT behaviour

2019-04-17 Thread Miquel Raynal
Hi Gregory, Gregory CLEMENT wrote on Wed, 17 Apr 2019 11:09:42 +0200: > The purpose of "mtd: nand: raw: allow to disable unneeded ECC layouts" > was to allow disabling the default ECC layouts if a driver is known to > provide its own ECC layout. However, this commit did the opposite and >

[U-Boot] [PATCH 2/2] mxc_ocotp: Disable fuse sense for imx8mq B1

2019-04-17 Thread Peng Fan
From: Ye Li On iMX8MQ Rev B1, reading from fuse box is not allowed. The OCOTP_READ_FUSE_DATA register is tied to magic number 0xff0055aa for chip rev. So u-boot has to disable the fuse sense function for it. Signed-off-by: Ye Li Tested-by: Anson Huang Signed-off-by: Peng Fan ---

[U-Boot] [PATCH] imx: i.MX8MQ: clear ocotp error bit

2019-04-17 Thread Peng Fan
In case ocotp error bit is set, clear it. Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/soc.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c index 11251c5f9a..7ec39b3e47 100644 --- a/arch/arm/mach-imx/imx8m/soc.c

[U-Boot] [PATCH 1/2] mxc_ocotp: Update redundancy banks for mx7ulp B0

2019-04-17 Thread Peng Fan
From: Ye Li On mx7ulp B0, beside bank 0 and 1, the fuse bank 9, 10, 28 are changed to Redundancy mode not ECC, so they can support to program different bits of a word in multiple times. Signed-off-by: Ye Li Signed-off-by: Peng Fan --- drivers/misc/mxc_ocotp.c | 18 +++--- 1 file

Re: [U-Boot] [RFC v3 05/10] cmd: bootefi: carve out efi_selftest code from do_bootefi()

2019-04-17 Thread AKASHI Takahiro
On Tue, Apr 16, 2019 at 07:21:26AM +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. > > > >Efi_selftest code is unusual in terms of execution path in do_bootefi(), > >which make that function

[U-Boot] [PATCH v3 1/1] colibri_imx7: migrate usb to driver model

2019-04-17 Thread Igor Opaniuk
Migrate USB to Driver Model (CONFIG_DM_USB=y). Acked-by: Marcel Ziswiler Tested-by: Marcel Ziswiler Signed-off-by: Igor Opaniuk --- v3: - re-order usb nodes and add additional comments, as suggested by Marcel v2: - Drop vbus-supply property for usbotg1 node, as on Colibri the turning on of

[U-Boot] [PATCH v2] mtd: nand: raw: Fix CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT behavior

2019-04-17 Thread Gregory CLEMENT
The purpose of "mtd: nand: raw: allow to disable unneeded ECC layouts" was to allow disabling the default ECC layouts if a driver is known to provide its own ECC layout. However, this commit did the opposite and disabled the default layout when it was _not_ selected. It breaks all the NAND

[U-Boot] [PATCH] net: lpc32xx: Use IRAM for transmit buffer

2019-04-17 Thread Gregory CLEMENT
Since the introduction of the driver, some memory in IRAM is reserved for the TX buffers. However there are not used but instead of it, it is the buffer provided by the net stack which is used. As stated in the comment of the driver, not using the IRAM buffer could cause cache issue and lower the

[U-Boot] [PATCH] arm: lpc32xx: Fix timer initialization

2019-04-17 Thread Gregory CLEMENT
The match controller register is not cleared during initialization. However, some bits of this register may reset the TC if tnMRx match it. As we can't make any assumption about how U-Boot is launched by the first stage bootloader (such as S1L) clearing this register ensure that the timers work

Re: [U-Boot] [RFC v3 08/10] cmd: bootefi: carve out do_boot_efi() from do_bootefi()

2019-04-17 Thread AKASHI Takahiro
On Tue, Apr 16, 2019 at 07:31:28AM +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. > >All the non-boot-manager-based (that is, bootefi ) code is put > >into one function, do_boot_efi(). > > >

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

2019-04-17 Thread Michal Simek
On 17. 04. 19 9:48, Peng Ma wrote: > Distinguish the ecc val by chassis version and move the ecc addr to dts. > Add ls1028a soc support. > > Signed-off-by: Peng Ma > --- > changed for v2: > - Use the reg-names to get secondary reg base > - Return error while some socs not set the ecc

[U-Boot] [PATCH] ARM: dts: a20-wits-pro-a20-dkt: Enable AHCI

2019-04-17 Thread Jagan Teki
Enable ahci node for a20-wits-pro-a20-dkt, this would require since we have DM_SCSI enabled on the respective SoC. Right now, ahci enabled in -u-boot.dtsi and will remove once same supported by Linux. Cc: Hans de Goede Signed-off-by: Jagan Teki ---

[U-Boot] [PATCH v1] net: use block layer in net driver

2019-04-17 Thread Yinbo Zhu
From: Yinbo Zhu At present the MMC subsystem maintains its own list of MMC devices. This cannot work with driver model when CONFIG_BLK is enabled, use blk_dread to replace previous mmc read interface, Signed-off-by: Yinbo Zhu --- drivers/net/phy/cortina.c | 2 +- 1 file changed, 1

Re: [U-Boot] [EXT] Re: [PATCH 1/2] scsi: ceva: Clean up the driver code

2019-04-17 Thread Peng Ma
>-Original Message- >From: Michal Simek >Sent: 2019年4月17日 14:58 >To: Peng Ma ; Michal Simek ; >albert.u.b...@aribaud.net; s...@chromium.org; Fabio Estevam >; York Sun ; Prabhakar >Kushwaha >Cc: Andy Tang ; Yinbo Zhu ; >u-boot@lists.denx.de >Subject: Re: [EXT] Re: [PATCH 1/2] scsi:

[U-Boot] [v2 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 v2: - Add reg-names to improve driver code. 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 |3

Re: [U-Boot] [RFC v3 10/10] cmd: add efibootmgr command

2019-04-17 Thread AKASHI Takahiro
On Tue, Apr 16, 2019 at 07:27:10AM +0200, Heinrich Schuchardt wrote: > On 4/16/19 6:24 AM, AKASHI Takahiro wrote: > >Add CONFIG_CMD_STANDALONE_EFIBOOTMGR. > >With this patch, EFI boot manager can be kicked in by a standalone > >command, efibootmgr. > > > >Signed-off-by: AKASHI Takahiro > >--- > >

[U-Boot] [PATCH] mtd: nand: raw: Fix CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT behaviour

2019-04-17 Thread Gregory CLEMENT
The purpose of "mtd: nand: raw: allow to disable unneeded ECC layouts" was to allow disabling the default ECC layouts if a driver is known to provide its own ECC layout. However, this commit did the opposite and disbaled the default layout whqant it was _not_ selectec. It breaks all the driver

Re: [U-Boot] [PATCH] mtd: nand: raw: Fix CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT behaviour

2019-04-17 Thread Gregory CLEMENT
Miquel Raynal writes: Hi Miquel, > Hi Gregory, > > Gregory CLEMENT wrote on Wed, 17 Apr 2019 > 11:09:42 +0200: > >> The purpose of "mtd: nand: raw: allow to disable unneeded ECC layouts" >> was to allow disabling the default ECC layouts if a driver is known to >> provide its own ECC layout.

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/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 author for this change. > > Signed-off-by: Liviu Dudau > Signed-off-by:

Re: [U-Boot] [EXT] Re: [PATCH 1/2] scsi: ceva: Clean up the driver code

2019-04-17 Thread Peng Ma
>-Original Message- >From: Michal Simek >Sent: 2019年4月17日 15:38 >To: Peng Ma ; Michal Simek ; >albert.u.b...@aribaud.net; s...@chromium.org; Fabio Estevam >; York Sun ; Prabhakar >Kushwaha >Cc: Andy Tang ; Yinbo Zhu ; >u-boot@lists.denx.de >Subject: Re: [EXT] Re: [PATCH 1/2] scsi:

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

2019-04-17 Thread Igor Opaniuk
Hi Marcel, Just found out that to be able to use usbotg1 also in host mode this change should be introduced: --- a/arch/arm/dts/imx6ull-colibri.dts +++ b/arch/arm/dts/imx6ull-colibri.dts @@ -220,7 +220,7 @@ /* Colibri USBC */ { - dr_mode = "otg"; + dr_mode = "host";

Re: [U-Boot] [PATCH v2] mtd: nand: raw: Fix CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT behavior

2019-04-17 Thread Eugen.Hristev
On 17.04.2019 12:22, Gregory CLEMENT wrote: > The purpose of "mtd: nand: raw: allow to disable unneeded ECC layouts" > was to allow disabling the default ECC layouts if a driver is known to > provide its own ECC layout. However, this commit did the opposite and > disabled the default layout

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] [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] [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

  1   2   >