Re: [U-Boot] [PATCH v2 4/7] cmd: Add 'ab_select' command

2019-01-15 Thread Igor Opaniuk
Hello Ruslan, On Wed, 12 Dec 2018 at 19:12, Ruslan Trofymenko wrote: > > For A/B system update support the Android boot process requires to send > 'androidboot.slot_suffix' parameter as a command line argument. This > patch implementes 'ab_select' command which allows us to obtain current > slot

Re: [U-Boot] [PATCH v2 3/7] common: Implement A/B metadata

2019-01-15 Thread Igor Opaniuk
Hi, On Wed, 12 Dec 2018 at 19:12, Ruslan Trofymenko wrote: > > This patch determines the A/B-specific bootloader message structure > that is the basis for implementation of recovery and A/B update > functions. A/B metadata is stored in this structure and used to decide > which slot should we use

[U-Boot] [PATCH] fdt: support booting with dtb in Android image

2019-01-15 Thread Shawn Guo
Some platforms choose to store device tree blob in Android image second area. Let's try to look for dtb from there when booting an Android image, and use it for booting if found. Signed-off-by: Shawn Guo --- common/image-fdt.c | 21 + 1 file changed, 21 insertions(+) diff

Re: [U-Boot] configs: Enable CONFIG_BLK in a few TI boards

2019-01-15 Thread Tom Rini
On Tue, Jan 08, 2019 at 06:16:31PM +0530, Faiz Abbas wrote: > With DM conversion completed, enable CONFIG_BLK for a > few pending TI boards. > > Signed-off-by: Faiz Abbas > Reviewed-by: Lokesh Vutla > --- > configs/am335x_boneblack_vboot_defconfig | 1 - > configs/am335x_evm_defconfig

[U-Boot] [PATCH 2/2] mips: mt7688: gardena-smart-gateway: Enable green power LED on startup

2019-01-15 Thread Stefan Roese
Set the correct power-up state (default-state) of the green power LED. Signed-off-by: Stefan Roese Cc: Daniel Schwierzeck --- arch/mips/dts/gardena-smart-gateway-mt7688.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/dts/gardena-smart-gateway-mt7688.dts

[U-Boot] [PATCH 1/2] mips: mt7688: gardena-smart-gateway: Update mtdparts/mtdids for Kernel 4.19

2019-01-15 Thread Stefan Roese
With the new SPI NOR framework in v4.19, we need to adapt the MTD parts so that the kernel cmdline parameter "mtdparts=" uses the correct naming for the devices. Signed-off-by: Stefan Roese Cc: Daniel Schwierzeck --- configs/gardena-smart-gateway-mt7688-ram_defconfig | 4 ++--

[U-Boot] [PATCH v3 5/5] doc: device-tree-bindings: switch from spi-flash to jedec, spi-nor

2019-01-15 Thread Neil Armstrong
Since all DTS files has been switched to "jedec,spi-nor", remove the "spi-flash" compatible from the bindings examples. Signed-off-by: Neil Armstrong Reviewed-by: Simon Goldschmidt --- doc/device-tree-bindings/pinctrl/atmel,at91-pio4-pinctrl.txt | 2 +-

[U-Boot] [PATCH v3 4/5] mtd: sf_probe: remove spi-flash compatible

2019-01-15 Thread Neil Armstrong
Now the "spi-flash" compatible has been removed in the DTS files, remove this compatible from sf_probe to finally use the Linux "jedec,spi-nor" compatible. Signed-off-by: Neil Armstrong Reviewed-by: Simon Goldschmidt --- drivers/mtd/spi/sf_probe.c | 1 - 1 file changed, 1 deletion(-) diff

[U-Boot] Help/Clue to improve Z-turn board support

2019-01-15 Thread Alexandre GRIVEAUX
Hello, I tried to have mainline uboot for Z-turn board (patch sent in December, wrong window: [PATCH] ARM: zynq: Adding ps7_init_gpl.c for Z-turn board) Even with the right ps7_init_gpl.c : the board doesn't boot. I tried to correct zynq-zturn.dts [0] because I don't find MYIR references in

[U-Boot] [PATCH v3 2/5] dts: switch spi-flash to jedec, spi-nor compatible

2019-01-15 Thread Neil Armstrong
There is no reason not to use the Linux "jedec,spi-nor" binding in U-Boot dts files. This compatible has been added in sf_probe, let use it. This patch switches to jedec,spi-nor when spi-flash is used in the DTS and DTSI files, and removed spi-flash when jedec,spi-nor is already present. The x86

[U-Boot] [PATCH v3 0/5] spi-flash: switch to "jedec, spi-nor" binding

2019-01-15 Thread Neil Armstrong
There is no reason not to use the Linux "jedec,spi-nor" binding in u-boot. This patchset : - adds this compatible into sf_probe and will avoid changing the device tree files to add a u-boot specific compatible to probe a spi flash. - switches all DTS/DTSI files to "jedec,spi-nor" - remove the

[U-Boot] [PATCH v3 3/5] x86: dts: switch spi-flash to jedec, spi-nor compatible

2019-01-15 Thread Neil Armstrong
The x86 code and DT uses "spi-flash" to detect a flash node, switch to "jedec,spi-nor" in the DTS files and in fdtdec by switching the GENERIC_SPI_FLASH value to to jedec,spi-nor. Signed-off-by: Neil Armstrong Reviewed-by: Simon Goldschmidt --- arch/x86/dts/bayleybay.dts| 2

[U-Boot] [PATCH v3 1/5] mtd: sf_probe: add jedec, spi-nor compatible

2019-01-15 Thread Neil Armstrong
There is no reason not to use the Linux "jedec,spi-nor" binding in u-boot. This patch adds this compatible into sf_probe and will avoid changing the device tree files to add a u-boot specific compatible to probe a spi flash. This change is needed to enable SPI NOR Flash support using the

Re: [U-Boot] [PATCH v4 9/9] cmd: env: add "-e" option for handling UEFI variables

2019-01-15 Thread Alexander Graf
On 01/15/2019 04:47 AM, Heinrich Schuchardt wrote: On 1/15/19 3:55 AM, AKASHI Takahiro wrote: "env [print|set] -e" allows for handling uefi variables without knowing details about mapping to corresponding u-boot variables. Why do we need two alternative ways to achieve the same result? We

[U-Boot] [PATCH] common: Break USB_STORAGE dependency between SPL and u-boot proper

2019-01-15 Thread Abel Vesa
Some boards might need USB_STORAGE enabled in u-boot proper but not in SPL. Make a separate config for SPL and keep the same depends on conditions but for SPL. Signed-off-by: Abel Vesa --- common/Makefile| 2 +- configs/apalis_imx6_defconfig | 1 +

Re: [U-Boot] [PATCH] common: Break USB_STORAGE dependency between SPL and u-boot proper

2019-01-15 Thread Abel Vesa
On 19-01-15 12:27:11, Marek Vasut wrote: > On 1/15/19 12:07 PM, Abel Vesa wrote: > > Some boards might need USB_STORAGE enabled in u-boot proper but not in SPL. > > Make a separate config for SPL and keep the same depends on conditions but > > for SPL. > > Is this new or is this something which

[U-Boot] Please pull from u-boot-i2c

2019-01-15 Thread Heiko Schocher
Hello Tom, please pull from u-boot-i2c.git master The following changes since commit d3689267f92c5956e09cc7d1baa4700141662bff: Prepare v2019.01 (2019-01-14 17:02:36 -0500) are available in the Git repository at: git://git.denx.de/u-boot-i2c.git master for you to fetch changes up to

Re: [U-Boot] [PATCH] common: Break USB_STORAGE dependency between SPL and u-boot proper

2019-01-15 Thread Marek Vasut
On 1/15/19 12:07 PM, Abel Vesa wrote: > Some boards might need USB_STORAGE enabled in u-boot proper but not in SPL. > Make a separate config for SPL and keep the same depends on conditions but > for SPL. Is this new or is this something which worked before and broke in the last few releases ? I

Re: [U-Boot] [PATCH 3/6] ARM: socfpga: Add the configuration for FPGA SoCFPGA A10 SoCDK

2019-01-15 Thread Marek Vasut
On 1/15/19 9:16 AM, Chee, Tien Fong wrote: > On Thu, 2019-01-03 at 21:15 +0100, Marek Vasut wrote: >> On 1/3/19 6:36 AM, Chee, Tien Fong wrote: >>> >>> On Tue, 2019-01-01 at 21:29 +0100, Marek Vasut wrote: On 1/1/19 4:32 AM, Chee, Tien Fong wrote: > > > On Sun, 2018-12-30 at

[U-Boot] [PATCH 5/5] arm64: zynqmp: Disable MMC for for zc12xx_revA boards

2019-01-15 Thread Michal Simek
All these boards have no SD enabled. Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_zc1232_revA_defconfig | 2 +- configs/xilinx_zynqmp_zc1254_revA_defconfig | 2 +- configs/xilinx_zynqmp_zc1275_revA_defconfig | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH 4/5] arm64: zynqmp: Enable FPGA_LOAD_SECURE command

2019-01-15 Thread Michal Simek
Enable fpga load secure feature for xilinx platforms. Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_zc1232_revA_defconfig | 1 + configs/xilinx_zynqmp_zc1254_revA_defconfig | 1 + configs/xilinx_zynqmp_zc1275_revA_defconfig | 1 +

Re: [U-Boot] [PATCH v2 7/7] env: am57xx: Implement A/B boot process

2019-01-15 Thread Igor Opaniuk
Reviewed-by: Igor Opaniuk On Wed, 12 Dec 2018 at 19:12, Ruslan Trofymenko wrote: > > Add support for A/B boot process on AM57xx based boards: > > 1. Define 'slot_suffix' variable (using 'ab_select' command) > 2. Extend 'emmc_android_boot' boot command (add commands for A/B boot >

Re: [U-Boot] [PATCH v4 9/9] cmd: env: add "-e" option for handling UEFI variables

2019-01-15 Thread Alexander Graf
On 01/15/2019 03:55 AM, AKASHI Takahiro wrote: "env [print|set] -e" allows for handling uefi variables without knowing details about mapping to corresponding u-boot variables. Signed-off-by: AKASHI Takahiro --- cmd/nvedit.c | 61 ++-- 1 file

[U-Boot] [PATCH 3/5] arm64: zynqmp: Enable ISSI flash for some platforms

2019-01-15 Thread Michal Simek
Enable ISSI flash for platforms. Xilinx reference boards are also used internally with different flash part to increase coverage that's why enable also ISSI parts for all these boards even if that board is released only with one part. Signed-off-by: Michal Simek ---

[U-Boot] [PATCH 2/5] arm64: zynqmp: Enable SPI on several boards

2019-01-15 Thread Michal Simek
Enable GQSPI driver, SF command and SPL support for some platforms. Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_zc1232_revA_defconfig | 3 +++ configs/xilinx_zynqmp_zc1254_revA_defconfig | 3 +++ configs/xilinx_zynqmp_zc1275_revA_defconfig | 3 +++

[U-Boot] [PATCH 1/5] arm64: zynqmp: Setup proper SPI dependency

2019-01-15 Thread Michal Simek
Select DM_SPI/DM_SPI_FLASH for the whole SoC. Signed-off-by: Michal Simek --- arch/arm/Kconfig | 2 ++ configs/avnet_ultra96_rev1_defconfig | 2 -- configs/xilinx_zynqmp_mini_qspi_defconfig | 2 -- configs/xilinx_zynqmp_zcu100_revC_defconfig | 2 --

[U-Boot] [PATCH 2/3] arm64: zynqmp: Convert all reference boards to OF_SEPARATE

2019-01-15 Thread Michal Simek
Build warning was added by: "fdt: Add warning about CONFIG_OF_EMBED" (sha1: 841d5fbae4e993476fa87d8933db0cd58d3c2d41) ZynqMP mini configurations are not moved yet and it is questionable if make sense to move them too. Signed-off-by: Michal Simek --- Depends on the patch: "tools: zynqimage:

[U-Boot] [PATCH v2] arm64: mvebu: Add basic support for uDPU board

2019-01-15 Thread Vladimir Vid
This adds initial support for micro-DPU (uDPU) board which is based on Armada-3720 SoC. micro-DPU is the single-port FTTdp "distribution point unit" made by Methode Electronics which offers complete modularity with replaceable SFP modules both for uplink and downlink (G.hn over twisted-pair,

Re: [U-Boot] [PATCH] common: Break USB_STORAGE dependency between SPL and u-boot proper

2019-01-15 Thread Vignesh R
On 15/01/19 4:37 PM, Abel Vesa wrote: > Some boards might need USB_STORAGE enabled in u-boot proper but not in SPL. > Make a separate config for SPL and keep the same depends on conditions but > for SPL. > > Signed-off-by: Abel Vesa > --- > common/Makefile| 2 +- >

[U-Boot] [PATCH 3/3] ARM: zynq: Convert all boards to OF_SEPARATE

2019-01-15 Thread Michal Simek
Build warning was added by: "fdt: Add warning about CONFIG_OF_EMBED" (sha1: 841d5fbae4e993476fa87d8933db0cd58d3c2d41) Zynq mini configurations are not moved yet and it is questionable if make sense to move them too. Signed-off-by: Michal Simek --- configs/syzygy_hub_defconfig| 1 -

[U-Boot] [PATCH 1/3] tools: zynqimage: Align image_size/image_stored_size

2019-01-15 Thread Michal Simek
Bootrom is not capable to work with non aligned bootloader sizes. SPL with OF_SEPARATE generates non-align images quite often that's why this change is required before OF_SEPARATE enableding. Signed-off-by: Michal Simek --- tools/zynqmpbif.c | 4 ++-- tools/zynqmpimage.c | 1 + 2 files

[U-Boot] [PATCH u-boot 03/11] video: dw_hdmi: add support for color conversion

2019-01-15 Thread Neil Armstrong
From: Jorge Ramirez-Ortiz Some IPs like the meson VPU can only feed a particular pixel format to dw_hdmi. As of now, the driver is hardcoded to use RGB888 as input. This commit enables different pixel format inputs, with the appropriate CSC configuration. Signed-off-by: Jorge Ramire-Ortiz

[U-Boot] [PATCH 1/4] MIPS: mscc: ocelot: Add ethernet nodes for Ocelot

2019-01-15 Thread Gregory CLEMENT
Import Ethernet related nodes from Linux Signed-off-by: Gregory CLEMENT --- arch/mips/dts/mscc,ocelot.dtsi | 97 + arch/mips/dts/ocelot_pcb123.dts | 20 +++ 2 files changed, 117 insertions(+) diff --git a/arch/mips/dts/mscc,ocelot.dtsi

Re: [U-Boot] [PATCH 3/4] net: dm: fec: Support the phy-supply binding

2019-01-15 Thread Adam Ford
On Tue, Jan 15, 2019 at 11:08 AM Martin Fuzzey wrote: > > Hi Adam, > > On 13/01/2019 15:00, Adam Ford wrote: > > On Thu, Oct 4, 2018 at 12:55 PM Martin Fuzzey > > wrote: > >> Configure the phy regulator if defined by the "phy-supply" DT phandle. > >> > >> Signed-off-by: Martin Fuzzey > > This

[U-Boot] [PATCH u-boot 07/11] arm64: dts: meson-gx: add hhi reg entry to hdmi_tx

2019-01-15 Thread Neil Armstrong
From: Maxime Jourdan There's no reliable way to reuse the hhi entry from the vpu as is done in the linux kernel, so we duplicate it here. We will be able to sync against kernel DTS in the future when the VPU gets based on the clock framework rather than the HHI reg. Signed-off-by: Maxime

[U-Boot] [PATCH u-boot 08/11] arm: meson: board-gx: Setup VPU in fdt

2019-01-15 Thread Neil Armstrong
From: Maxime Jourdan If VIDEO_MESON is enabled, we need to setup the fdt for the framebuffer. Call meson_vpu_rsv_fb() which reserves the framebuffer memory region for EFI, and sets up simple-framebuffer nodes if simplefb support is enabled. Signed-off-by: Maxime Jourdan Signed-off-by: Neil

[U-Boot] [PATCH 3/4] MIPS: mscc: ocelot: add switch reset support

2019-01-15 Thread Gregory CLEMENT
On some ocelots platform a workaround is needed in order to be able to reset the switch without resetting the DDR. Signed-off-by: Gregory CLEMENT --- board/mscc/ocelot/ocelot.c | 28 1 file changed, 28 insertions(+) diff --git a/board/mscc/ocelot/ocelot.c

[U-Boot] [PATCH u-boot 00/11] meson: add support for Video Output

2019-01-15 Thread Neil Armstrong
This patchset adds support for CVBS and/or HDMI output for Amlogic Meson GX SoCs (GXBB, GXL and GXM) based on the Linux Meson DRM driver ported to the U-Boot Video DM model. It supports only the "DMT" video modes reported by the monitors since AVI InfoFrame management is missing from the U-Boot

[U-Boot] [PATCH u-boot 01/11] power: domain: meson-gx-pwrc-vpu: add missing depends

2019-01-15 Thread Neil Armstrong
From: Maxime Jourdan MESON_GX_VPU_POWER_DOMAIN should depend on POWER_DOMAIN. Signed-off-by: Maxime Jourdan Signed-off-by: Neil Armstrong --- drivers/power/domain/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/domain/Kconfig

[U-Boot] [PATCH u-boot 11/11] arm: libretech-cc: enable video by default

2019-01-15 Thread Neil Armstrong
From: Maxime Jourdan libretech-cc being the main device tested with CONFIG_VIDEO_MESON, let's enable it by default. Also enable: - CONFIG_SYS_WHITE_ON_BLACK for prettiness - CONFIG_VIDEO_DT_SIMPLEFB for framebuffer sharing with kernel Signed-off-by: Maxime Jourdan Signed-off-by: Neil

Re: [U-Boot] [PATCH] common: Break USB_STORAGE dependency between SPL and u-boot proper

2019-01-15 Thread Abel Vesa
On 19-01-15 18:38:00, Vignesh R wrote: > > > On 15/01/19 4:37 PM, Abel Vesa wrote: > > Some boards might need USB_STORAGE enabled in u-boot proper but not in SPL. > > Make a separate config for SPL and keep the same depends on conditions but > > for SPL. > > > > Signed-off-by: Abel Vesa > >

Re: [U-Boot] [PATCH] common: Break USB_STORAGE dependency between SPL and u-boot proper

2019-01-15 Thread Tom Rini
On Tue, Jan 15, 2019 at 11:07:23AM +, Abel Vesa wrote: > Some boards might need USB_STORAGE enabled in u-boot proper but not in SPL. > Make a separate config for SPL and keep the same depends on conditions but > for SPL. > > Signed-off-by: Abel Vesa > --- > common/Makefile

[U-Boot] [PATCH u-boot 02/11] video: dw_hdmi: support SoC specific read/write ops

2019-01-15 Thread Neil Armstrong
From: Jorge Ramirez-Ortiz Some IPs like the meson VPU have a specific way to write to dw_hdmi registers. Make it configurable. Signed-off-by: Jorge Ramirez-Ortiz [added commit description] Signed-off-by: Maxime Jourdan Signed-off-by: Neil Armstrong --- drivers/video/dw_hdmi.c | 14

[U-Boot] [PATCH u-boot 10/11] arm: meson64: enable console mux and console env by default

2019-01-15 Thread Neil Armstrong
From: Maxime Jourdan With the recent addition of the meson VPU driver, enable the following config entries by default for meson-64 targets: CONFIG_CONSOLE_MUX, CONFIG_SYS_CONSOLE_IS_IN_ENV. This allows outputting the console via video if CONFIG_VIDEO_MESON is selected. Signed-off-by: Maxime

Re: [U-Boot] [PATCH] common: Break USB_STORAGE dependency between SPL and u-boot proper

2019-01-15 Thread Abel Vesa
On 19-01-15 11:10:51, Tom Rini wrote: > On Tue, Jan 15, 2019 at 04:05:43PM +, Abel Vesa wrote: > > On 19-01-15 11:02:09, Tom Rini wrote: > > > On Tue, Jan 15, 2019 at 11:07:23AM +, Abel Vesa wrote: > > > > > > > Some boards might need USB_STORAGE enabled in u-boot proper but not in > > >

[U-Boot] [PATCH 1/2] MSCC: Add sysreset drivers for MSCC Socs

2019-01-15 Thread Horatiu Vultur
Add sysreset driver for Luton, Ocelot and Jaguar2 SoCs. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + arch/mips/dts/mscc,jr2.dtsi | 7 +- arch/mips/dts/mscc,luton.dtsi| 10 +++ arch/mips/dts/mscc,ocelot.dtsi | 5 ++ board/mscc/ocelot/ocelot.c

[U-Boot] [PATCH 0/2] MSCC: Add sysreset driver for MSCC SoCs

2019-01-15 Thread Horatiu Vultur
This patch series adds sysreset drivers for MSCC SoCs. There are 3 drivers: sysreset_jr2, sysreset_ocelot and sysreset_luton. This is based off the u-boot-mips/next repository. Horatiu Vultur (2): MSCC: Add sysreset drivers for MSCC Socs MSCC: Remove reset.c MAINTAINERS

[U-Boot] [PATCH u-boot 06/11] arm64: dts: meson-gx: Add hdmi_5v regulator as hdmi tx supply

2019-01-15 Thread Neil Armstrong
The hdmi_5v regulator must be enabled to provide power to the physical HDMI PHY and enables the HDMI 5V presence loopback for the monitor. Fixes: b409f625a6d5 ("ARM64: dts: meson-gx: Add HDMI_5V regulator on selected boards") Signed-off-by: Neil Armstrong Signed-off-by: Kevin Hilman [backport

[U-Boot] [PATCH u-boot 09/11] configs: meson64: use vidconsole and usbkbd if enabled

2019-01-15 Thread Neil Armstrong
Allows displaying the console via video and using a USB keyboard. Also enables CONFIG_SPLASH_SCREEN if using video. Signed-off-by: Neil Armstrong Signed-off-by: Maxime Jourdan --- include/configs/meson64.h | 23 +++ 1 file changed, 23 insertions(+) diff --git

[U-Boot] [PATCH u-boot 05/11] arm64: dts: meson-gx: vpu should be probed before relocation

2019-01-15 Thread Neil Armstrong
From: Maxime Jourdan Flag the appropriate nodes with u-boot,dm-pre-reloc Signed-off-by: Maxime Jourdan Signed-off-by: Neil Armstrong --- arch/arm/dts/meson-gx-u-boot.dtsi | 15 +++ arch/arm/dts/meson-gxbb-nanopi-k2-u-boot.dtsi | 7 +++

Re: [U-Boot] [PATCH 2/2] lib: fdtdec: fixup fdtdec_get_addr_size

2019-01-15 Thread Simon Glass
Hi Keerthy, On Mon, 14 Jan 2019 at 18:52, J, KEERTHY wrote: > > > > On 1/15/2019 6:23 AM, Simon Glass wrote: > > Hi Keerthy, > > > > On Thu, 3 Jan 2019 at 21:39, Keerthy wrote: > >> > >> > >> > >> On Thursday 03 January 2019 11:44 PM, s...@google.com wrote: > >>> On 12/21/18 9:24 AM, Keerthy

[U-Boot] [PATCH 2/4] net: add MSCC Ocelot switch support

2019-01-15 Thread Gregory CLEMENT
This patch adds support for the Microsemi Ethernet switch present on Ocelot SoCs. Signed-off-by: Gregory CLEMENT --- MAINTAINERS | 1 + drivers/net/Kconfig | 7 + drivers/net/Makefile| 1 + drivers/net/ocelot_switch.c | 837

[U-Boot] [PATCH 4/4] configs: mscc_ocelot: add network support

2019-01-15 Thread Gregory CLEMENT
Now that network support is added for the ocelot platform, let's add it in the default configuration. Signed-off-by: Gregory CLEMENT --- configs/mscc_ocelot_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/mscc_ocelot_defconfig b/configs/mscc_ocelot_defconfig index

[U-Boot] [PATCH 0/4] Add network support for Ocelots SoCs

2019-01-15 Thread Gregory CLEMENT
Hello, this series allows to use the switch component of the Ocelots SoC as a network interface. The binding used is exactly the same of the one already used by Linux. There is also a patch adding a workaround needed on the Ocelot based boards: indeed the pin connected to the DDR reset is part

Re: [U-Boot] [PATCH 3/4] net: dm: fec: Support the phy-supply binding

2019-01-15 Thread Martin Fuzzey
Hi Adam, On 13/01/2019 15:00, Adam Ford wrote: On Thu, Oct 4, 2018 at 12:55 PM Martin Fuzzey wrote: Configure the phy regulator if defined by the "phy-supply" DT phandle. Signed-off-by: Martin Fuzzey This patch seems to break the Ethernet on my board, but I think I have a possible solution

[U-Boot] [PATCH 2/2] MSCC: Remove reset.c

2019-01-15 Thread Horatiu Vultur
Remove reset.c because it is not used anymore. It is superseed by sysreset driver. Signed-off-by: Horatiu Vultur --- arch/mips/mach-mscc/Makefile | 2 +- arch/mips/mach-mscc/include/mach/ddr.h | 18 - arch/mips/mach-mscc/reset.c| 47

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

2019-01-15 Thread Simon Glass
Hi Tom, https://travis-ci.org/sglass68/u-boot/builds The following changes since commit d3689267f92c5956e09cc7d1baa4700141662bff: Prepare v2019.01 (2019-01-14 17:02:36 -0500) are available in the Git repository at: git://git.denx.de/u-boot-dm.git tags/dm-pull-15jan19 for you to fetch

Re: [U-Boot] [PATCH] common: Break USB_STORAGE dependency between SPL and u-boot proper

2019-01-15 Thread Abel Vesa
On 19-01-15 11:02:09, Tom Rini wrote: > On Tue, Jan 15, 2019 at 11:07:23AM +, Abel Vesa wrote: > > > Some boards might need USB_STORAGE enabled in u-boot proper but not in SPL. > > Make a separate config for SPL and keep the same depends on conditions but > > for SPL. > > > > Signed-off-by:

[U-Boot] [PATCH v3] adding saveenv-command for bananapi r2

2019-01-15 Thread Frank Wunderlich
bananapi r2 can be booted from sd-card and emmc saving the environment have to choose the storage from which the device has booted also the offset is set to 1MB to make sure env is written to block "user data area" between uboot and first partition

Re: [U-Boot] [PATCH] net: dm: fec: Fix regulator enable when using DM_REGULATOR

2019-01-15 Thread Joe Hershberger
On Tue, Jan 15, 2019 at 11:27 AM Adam Ford wrote: > > When DM_REGULATOR is enabled, the driver attempts to call > regulator_autoset() which expects the regulators to be on at boot > and/or always on and fails if they are not true. > For a more generic approach, this patch just calls >

[U-Boot] [PATCH] net: dm: fec: Fix regulator enable when using DM_REGULATOR

2019-01-15 Thread Adam Ford
When DM_REGULATOR is enabled, the driver attempts to call regulator_autoset() which expects the regulators to be on at boot and/or always on and fails if they are not true. For a more generic approach, this patch just calls regulator_set_enable() which shouldn't have such restrictions. Fixes:

Re: [U-Boot] [PATCH] net: dm: fec: Fix regulator enable when using DM_REGULATOR

2019-01-15 Thread Martin Fuzzey
Hi Adam, On 15/01/2019 18:26, Adam Ford wrote: When DM_REGULATOR is enabled, the driver attempts to call regulator_autoset() which expects the regulators to be on at boot and/or always on and fails if they are not true. For a more generic approach, this patch just calls regulator_set_enable()

[U-Boot] pfuze100 regulator returning wrong values

2019-01-15 Thread Adam Ford
I have an i.MX6Q powered by the pfuze100 regulator with DM_PMIC, DM_REGULATOR, and OF_CONTROL enabled along wtih CMD_REGULATOR and CMD_PMIC. Our device tree is configured to use the minimum and max voltage ratings for the parts on the board, and not the absolute min and max ratings for the PMIC

Re: [U-Boot] Proposed fastboot changes

2019-01-15 Thread Douglas Zobel
On Tue, Jan 15, 2019 at 4:12 AM Alex Kiernan wrote: > On Mon, Jan 14, 2019 at 8:49 PM Douglas Zobel > wrote: > > > > I've made some changes to the fastboot handlers to meet my needs. If > there is interest, I can prepare patches and submit them upstream. The > changes are: > > > > BUGFIX:

[U-Boot] no DTB with nand SPL on sama5d3

2019-01-15 Thread Daniel Evans
After flashing my boot.bin to nand I get the following output: RomBOOT Missing DTB ### ERROR ### Please RESET the board ### I found the error message in fdtdec.c, but not sure what I am missing. I have checked that my DTB is included in the boot.bin output. Any insight on what I am missing?

Re: [U-Boot] mmc: hi6220_dw_mmc: add driver model support

2019-01-15 Thread Tom Rini
On Mon, Dec 17, 2018 at 05:02:31PM +0800, Shawn Guo wrote: > As requested by driver model migration plan, it adds driver model > support, i.e. CONFIG_DM_MMC, for hi6220_dw_mmc driver. > > Signed-off-by: Shawn Guo > --- > drivers/mmc/hi6220_dw_mmc.c | 83 + >

Re: [U-Boot] [PATCH v1 01/21] ARM: DTS: vybrid: Add vf-u-boot.dtsi to set 'u-boot, dm-pre-reloc' in soc

2019-01-15 Thread Tom Rini
On Tue, Jan 15, 2019 at 08:58:58AM +0100, Lukasz Majewski wrote: > Hi Tom, > > > On Mon, Jan 14, 2019 at 03:17:20PM +0100, Lukasz Majewski wrote: > > > > > This property is necessary to allow pinctrl configuration before > > > relocation (uart, DDR pins). > > > > > > Separate file will

Re: [U-Boot] [U-Boot, v4, 3/6] common: command: Rework the 'cmd is repeatable' logic

2019-01-15 Thread Tom Rini
On Mon, Dec 03, 2018 at 10:54:20PM +0100, Boris Brezillon wrote: > The repeatable property is currently attached to the main command and > sub-commands have no way to change the repeatable value (the > ->repeatable field in sub-command entries is ignored). > > Replace the ->repeatable field by an

Re: [U-Boot] [U-Boot, v4, 1/6] common: command: Fix command auto-completion

2019-01-15 Thread Tom Rini
On Mon, Dec 03, 2018 at 10:54:18PM +0100, Boris Brezillon wrote: > When auto-completing command arguments, the last argument is not > necessarily the one we need to auto-complete. When the last character is > a space, a tab or '\0' what we want instead is list all possible values, > or if there's

Re: [U-Boot] [U-Boot, 08/11] arm: MediaTek: add ethernet support for MT7623 boards

2019-01-15 Thread Tom Rini
On Thu, Dec 20, 2018 at 04:12:56PM +0800, Weijie Gao wrote: > Enable ethernet related configs to mt7623n_bpir2_defconfig. > Add default IP addresses. > Enable noncached memory region required by ethernet driver. > > Signed-off-by: Mark Lee Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] test: bootcount: add bootcount-uclass test

2019-01-15 Thread Tom Rini
On Fri, Dec 14, 2018 at 09:14:29PM +0100, Philipp Tomsich wrote: > Add a test for the bootcount uclass, which uses the RTC bootcount backend > (i.e. drivers/bootcount/rtc.c is implictly also tested). > > Signed-off-by: Philipp Tomsich > Reviewed-by: Simon Glass Applied to u-boot/master,

Re: [U-Boot] [U-Boot,1/1] cmd: unzip: use correct format code

2019-01-15 Thread Tom Rini
On Sun, Jan 06, 2019 at 12:34:16PM +0100, Heinrich Schuchardt wrote: > src_len is defined as unsigned long. So use %lu for printf(). > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, 04/11] clk: MediaTek: bind ethsys reset controller

2019-01-15 Thread Tom Rini
On Thu, Dec 20, 2018 at 04:12:52PM +0800, Weijie Gao wrote: > The ethsys contains not only the clock gating controller, but also the > reset controller for the whole ethernet subsystem and its components. > > This patch adds binding of the reset controller so that the ethernet node > can have

Re: [U-Boot] [U-Boot, 1/2] cmd: mmc: Force mmc reinit when no card present

2019-01-15 Thread Tom Rini
On Thu, Jan 03, 2019 at 10:09:43PM +0100, Marek Vasut wrote: > In case the card is removed, force-init the MMC to start the internal > machinery which deregisters and invalidate the MMC device. > > Signed-off-by: Marek Vasut > Cc: Jaehoon Chung Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v2] common: command: Add support for $ auto-completion

2019-01-15 Thread Tom Rini
On Wed, Dec 05, 2018 at 09:26:50AM +0100, Boris Brezillon wrote: > Add the dollar_complete() function to auto-complete arguments starting > with a '$' and use it in the cmd_auto_complete() path such that all > args starting with a $ can be auto-completed based on the available env > vars. > >

Re: [U-Boot] am335x: sl50: Add Device Tree Support and DM_MMC driver

2019-01-15 Thread Tom Rini
On Thu, Dec 27, 2018 at 05:34:11PM +0100, Enric Balletbo i Serra wrote: > This adds device tree and the DM_MMC driver for the SL50 board. > > Signed-off-by: Enric Balletbo i Serra Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, 11/11] configs: MediaTek: use OF_SEPARATE instead of OF_EMBED

2019-01-15 Thread Tom Rini
On Thu, Dec 20, 2018 at 04:12:59PM +0800, Weijie Gao wrote: > This patch replace OF_EMBED with OF_SEPARATE of defconfig files of > MediaTek boards because now OF_EMBED is only used for debugging purpose. > > Signed-off-by: Weijie Gao > Reviewed-by: Simon Glass Applied to u-boot/master,

Re: [U-Boot] [U-Boot, 05/11] ethernet: MediaTek: add ethernet driver for MediaTek ARM-based SoCs

2019-01-15 Thread Tom Rini
On Thu, Dec 20, 2018 at 04:12:53PM +0800, Weijie Gao wrote: > This patch adds ethernet support for Mediatek ARM-based SoCs, including > a minimum setup of the integrated switch. > > Cc: Joe Hershberger > Signed-off-by: Mark Lee > Signed-off-by: Weijie Gao > Tested-By: "Frank Wunderlich"

Re: [U-Boot] spl: ymodem: Add support for loading gzip compressed uImage

2019-01-15 Thread Tom Rini
On Mon, Jan 07, 2019 at 09:23:22PM +0100, Marek Vasut wrote: > Add support for gunzip-ing gzip-compressed uImages in the SPL Ymodem code. > Loading data over Ymodem can be gruelingly slow, gzip-ing the data can > reduce that aggravating slowness at least slightly (depends on the data, >

Re: [U-Boot] [U-Boot, 10/11] MAINTAINERS: ARM MEDIATEK: update file entries

2019-01-15 Thread Tom Rini
On Thu, Dec 20, 2018 at 04:12:58PM +0800, Weijie Gao wrote: > This patch adds new file entries for MediaTek SoCs > > Signed-off-by: Weijie Gao Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing

Re: [U-Boot] [U-Boot, v2] kbuild: fix parallel build race caused by u-boot.cfg regeneration

2019-01-15 Thread Tom Rini
On Thu, Jan 10, 2019 at 11:11:39PM +0900, Masahiro Yamada wrote: > Multiple people have reported intermittent build failure in parallel > building. > > Kever Yang reported this issue some time ago [1], but I could not > get enough clue at that time. > > This time, Richard Purdie provided a full

Re: [U-Boot] [U-Boot, 2/2, (RFT)] am335x: igep003x: Add Device Tree Support and DM_MMC driver

2019-01-15 Thread Tom Rini
On Fri, Dec 28, 2018 at 11:55:48AM +0100, Enric Balletbo i Serra wrote: > This adds device tree and the DM_MMC driver for the AM335x IGEP based > boards. > > Signed-off-by: Enric Balletbo i Serra Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] dtoc: make generated platdata structs const

2019-01-15 Thread Tom Rini
On Mon, Jan 07, 2019 at 08:29:26PM +0100, Simon Goldschmidt wrote: > The platdata initialization structs are currently generated into .rwdata. > Make sure the are put into .rodata by generating them as const. > > Signed-off-by: Simon Goldschmidt > Reviewed-by: Simon Glass Applied to

Re: [U-Boot] [PATCH v1 11/21] ARM: DTS: Update pcm052 based dts files (bk4r1/pcm052.dts)

2019-01-15 Thread Tom Rini
On Tue, Jan 15, 2019 at 09:20:16AM +0100, Lukasz Majewski wrote: > Hi Tom, > > > On Mon, Jan 14, 2019 at 03:17:30PM +0100, Lukasz Majewski wrote: > > > This commit provides update to the bk4r1.dts file with > > > more on SoC HW description. > > > Moreover, a new vf610-pcm052.drsi file has been

Re: [U-Boot] [U-Boot,v2] image: fix compiling without CMD_FDT

2019-01-15 Thread Tom Rini
On Mon, Dec 17, 2018 at 08:14:42PM +0100, Simon Goldschmidt wrote: > Booting an image currently sets the environment variable "fdtaddr" > by calling into 'cmd/fdt.c'. As a result, linking U-Boot fails if > CMD_FDT is not enabled. > > Fix this by adding 'if (CONFIG_IS_ENABLED(CMD_FDT))' to the

Re: [U-Boot] [U-Boot, v4, 4/6] command: commands: Add macros to declare commands with subcmds

2019-01-15 Thread Tom Rini
On Mon, Dec 03, 2018 at 10:54:21PM +0100, Boris Brezillon wrote: > Most cmd/xxx.c source files expose several commands through a single > entry point. Some of them are doing the sub-command parsing manually in > their do_() function, others are declaring a table of sub-commands > and then use

Re: [U-Boot] [U-Boot,RFC] blk: Increase cache element size

2019-01-15 Thread Tom Rini
On Wed, Aug 08, 2018 at 01:20:29PM +0200, Marek Vasut wrote: > Cache up to 4 kiB entries. 4 kiB is the default block size on ext4, yet > the underlying block layer devices usually report support for 512B . In > most cases, the 512B support is emulated (ie. SD cards, SSDs, USB sticks > etc.) and

Re: [U-Boot] [U-Boot, v4, 3/6] common: command: Rework the 'cmd is repeatable' logic

2019-01-15 Thread Tom Rini
On Mon, Dec 03, 2018 at 10:54:20PM +0100, Boris Brezillon wrote: > The repeatable property is currently attached to the main command and > sub-commands have no way to change the repeatable value (the > ->repeatable field in sub-command entries is ignored). > > Replace the ->repeatable field by

Re: [U-Boot] [U-Boot, 2/2] cmd: mmc: Invalidate MMC block cache after init

2019-01-15 Thread Tom Rini
On Thu, Jan 03, 2019 at 10:09:44PM +0100, Marek Vasut wrote: > Make sure the block cache is cleared for the MMC device after it was > reinitialized to avoid having any stale data in the cache, like e.g. > partition tables or such. > > Signed-off-by: Marek Vasut > Cc: Jaehoon Chung Applied to

Re: [U-Boot] [U-Boot,v2] adding saveenv-command for bananapi r2

2019-01-15 Thread Tom Rini
On Tue, Dec 04, 2018 at 02:44:28PM +0100, Frank Wunderlich wrote: > changes since v1: fixed bracket-style in if-else statement > > >From 47701fbea478ce09a5ef43d914261bf00eb50544 Mon Sep 17 00:00:00 2001 > From: Frank Wunderlich > Date: Mon, 3 Dec 2018 15:32:58 +0100 > Subject: [PATCH] adding

Re: [U-Boot] [U-Boot, v4, 5/6] cmd: mtd: Use the subcmd infrastructure to declare mtd sub-commands

2019-01-15 Thread Tom Rini
On Mon, Dec 03, 2018 at 10:54:22PM +0100, Boris Brezillon wrote: > It's way simpler this way, and we also gain auto-completion support for > free (MTD name auto-completion has been added with mtd_name_complete()) > > Signed-off-by: Boris Brezillon > Reviewed-by: Tom Rini Applied to

Re: [U-Boot] [U-Boot, 4/5] omap3: igep00x0: Switch to simple malloc in SPL

2019-01-15 Thread Tom Rini
On Thu, Dec 27, 2018 at 05:03:29PM +0100, Enric Balletbo i Serra wrote: > To save more space, switch to simple malloc here. > > Signed-off-by: Enric Balletbo i Serra Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] misc: fs_loader: Switching private data allocation to DM auto allocation

2019-01-15 Thread Tom Rini
On Mon, Dec 10, 2018 at 09:29:44PM +0800, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Switching private data manual allocation to driver model auto allocation > so users no longer need to deallocate themself because this would be > deallocated by driver model when the device is

Re: [U-Boot] [U-Boot, 06/11] arm: dts: add ethernet related node for MT7623 SoC

2019-01-15 Thread Tom Rini
On Thu, Dec 20, 2018 at 04:12:54PM +0800, Weijie Gao wrote: > This patch adds ethernet gmac node for MT7623 with MT7530 gigabit switch. > > Signed-off-by: Mark Lee Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v3] xyz-modem: Fix timeout loop waiting with WATCHDOG

2019-01-15 Thread Tom Rini
On Tue, Jan 08, 2019 at 07:28:35PM +0530, Lokesh Vutla wrote: > Commit 2c77c0d6524eb ("xyz-modem: Change getc timeout loop waiting") > fixes the loop delay when using a hw watchdog, assuming that watchdog > kicking is taken care of by getc(). But the xyzmodem driver tries to > do a getc only

Re: [U-Boot] pylibfdt: Use Python 2 in Makefile

2019-01-15 Thread Tom Rini
On Tue, Jan 08, 2019 at 02:19:46PM +0100, Josef Lusticky wrote: > pylibfdt needs Python 2 to build. > Replace $(PYTHON) with $(PYTHON2) in pylibfdt Makefile > to ensure Python 2 is used to build it. > > This fixes build on systems where Python 3 is the default version > of the "python"

Re: [U-Boot] [U-Boot, v2, 3/3] arm: dts: Add MMC nodes for HiKey board

2019-01-15 Thread Tom Rini
On Thu, Dec 27, 2018 at 07:04:05PM +0530, Manivannan Sadhasivam wrote: > From: Manivannan Sadhasivam > > Add MMC nodes for HiKey board based on HI6220 SoC. There are three MMC > controllers in this SoC, first one used for eMMC, second one used > for SD card and third one is not used by u-boot.

Re: [U-Boot] am57xx_evm_defconfig: Enable YMODEM support

2019-01-15 Thread Tom Rini
On Mon, Dec 17, 2018 at 09:27:59AM -0500, yan-...@ti.com wrote: > From: Yan Liu > > Enable CONFIG_SPL_YMODEM_SUPPORT to support UART boot > > Signed-off-by: Yan Liu > Reviewed-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot,1/1] cmd: tpm-v2: use correct format code

2019-01-15 Thread Tom Rini
On Sun, Jan 06, 2019 at 12:09:10PM +0100, Heinrich Schuchardt wrote: > updates is defined as unsigned int. So use %u for printf(). > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, 2/2] poplar_defconfig: enable fastboot support

2019-01-15 Thread Tom Rini
On Tue, Dec 18, 2018 at 05:52:07PM +0800, Shawn Guo wrote: > It enables fastboot support on Poplar board by using DWC2 OTG gadget > driver. > > Signed-off-by: Shawn Guo Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

  1   2   >