Re: [U-Boot] hwmon in current uboot

2018-08-17 Thread Andy Pont
Joe wrote... Apologies in advance if this is answered somewhere else, but I had no luck finding information about it. I'm moving from an older version of u-boot (2016) to a current one. Some of the patches I had against the old uboot included work in the hwmon subdirectory. These patches

Re: [U-Boot] [PATCH v5] arm: socfpga: fix U-Boot running from fpga OnChip RAM

2018-08-17 Thread Simon Goldschmidt
On Fri, Aug 17, 2018 at 1:57 AM Marek Vasut wrote: > > On 08/16/2018 09:44 PM, Simon Goldschmidt wrote: > > On Thu, Aug 16, 2018 at 4:04 PM Marek Vasut wrote: > >> > >> On 08/16/2018 03:50 PM, Simon Goldschmidt wrote: > >>> On Thu, Aug 16, 2018 at 3:15 PM Marek Vasut wrote: > > On

Re: [U-Boot] [PATCH] configs: Migrate CONFIG_NR_DRAM_BANKS

2018-08-17 Thread Michal Simek
Hi Tom, On 17.8.2018 03:12, Tom Rini wrote: > We have the following cases: > - CONFIG_NR_DRAM_BANKS was defined, migrate normally > - CONFIG_NR_DRAM_BANKS_MAX was defined and then used for > CONFIG_NR_DRAM_BANKS after a check, just migrate it over now. > - CONFIG_NR_DRAM_BANKS was very oddly

[U-Boot] [PATCH] sf: remove spi-flash chip names from SPL binary

2018-08-17 Thread Simon Goldschmidt
The table of spi flash chips 'spi_flash_ids' currently includes chip names. The only usage of these is to print the name when the chip is probed. Since this message is not shown in SPL, we can remove the names from the SPL binary. Removing the chip names saves ~890 Byte from the SPL binary in my

Re: [U-Boot] [PATCH] tools: kwboot: Make kwboot more robust on a38x

2018-08-17 Thread Jon Nettleton
On Fri, Aug 17, 2018 at 1:22 AM Chris Packham wrote: > > On Fri, Aug 17, 2018 at 11:06 AM Chris Packham > wrote: > > > > On Fri, Aug 17, 2018 at 11:01 AM Chris Packham > > wrote: > > > > > > On Thu, Aug 16, 2018 at 8:38 PM Baruch Siach wrote: > > > > > > > > Hi Chris, > > > > > > > > Chris

[U-Boot] [PATCH] dts: Fix typo in OF_LIVE Kconfig help

2018-08-17 Thread Michal Simek
Fix typo in Kconfig description. Signed-off-by: Michal Simek --- dts/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dts/Kconfig b/dts/Kconfig index 43f85c2f6f44..8917f4244459 100644 --- a/dts/Kconfig +++ b/dts/Kconfig @@ -61,7 +61,7 @@ config OF_LIVE help

Re: [U-Boot] [PATCH] mtd: nand: spi: Add Gigadevice SPI NAND support

2018-08-17 Thread Miquel Raynal
Hi Stefan, Stefan Roese wrote on Thu, 16 Aug 2018 18:05:08 +0200: > This patch adds support for Gigadevices SPI NAND device to the new SPI > NAND infrastructure in U-Boot. Currently only the 128MiB GD5F1GQ4UC > device is supported. > > Signed-off-by: Stefan Roese > Cc: Miquel Raynal > Cc:

Re: [U-Boot] [PATCH] Revert "arm: mvebu: fix boot from UART when in fallback mode"

2018-08-17 Thread Chris Packham
On Fri, Aug 17, 2018 at 5:41 PM Sean Nyekjær wrote: > > > > On 17/08/2018 01.30, Chris Packham wrote: > > This reverts commit e83e2b390038c9075642cb243a6292241beb8d73. This > > prevents kwboot from overriding the hardware strapped boot source. > > > > Signed-off-by: Chris Packham > > --- > >

[U-Boot] [PATCH] arm: socfpga: stratix10: Enable EMAC to FPGA bridge based on handoff

2018-08-17 Thread Ley Foon Tan
Code checking and setting EMAC use fpga is in populate_sysmgr_fpgaintf_module(). So, call to sysmgr_pinmux_init() instead of populate_sysmgr_pinmux(). In sysmgr_pinmux_init(), it will call to both populate_sysmgr_pinmux() and populate_sysmgr_fpgaintf_module(). Signed-off-by: Ley Foon Tan ---

[U-Boot] [PATCH] arm: socfpga: stratix10: Fix mailbox urgent command with urgent register

2018-08-17 Thread Ley Foon Tan
According to mailbox spec, software should send urgent command with urgent register instead of COUT location. This patch write urgent command index to urgent register. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/mailbox_s10.c | 15 +++ 1 file changed, 7 insertions(+), 8

Re: [U-Boot] [PATCH v6 00/31] SPI-NAND support

2018-08-17 Thread Miquel Raynal
Hi Tom, Jagan, Boris Brezillon wrote on Thu, 16 Aug 2018 18:58:58 +0200: > Tom, Jagan, > > On Thu, 16 Aug 2018 17:29:58 +0200 > Miquel Raynal wrote: > > > During the last months, Boris Brezillon shared his work to support > > serial flashes within Linux. First, he delivered (and merged) a

[U-Boot] [PATCH v2 2/2] ARM: mach-mvebu: handle fall-back to UART boot

2018-08-17 Thread Chris Packham
The bootROM in the Armada-38x (and similar) SoC has two modes for UART boot. The first is when the normal boot media is blank (or otherwise missing the kwb header). The second is when the boot sequence has been interrupted with the magic byte sequence on the UART lines. In the first mode the

[U-Boot] [PATCH v2 1/2] Revert "arm: mvebu: fix boot from UART when in fallback mode"

2018-08-17 Thread Chris Packham
This reverts commit e83e2b390038c9075642cb243a6292241beb8d73. This prevents kwboot from overriding the hardware strapped boot source. Signed-off-by: Chris Packham --- Changes in v2: None arch/arm/mach-mvebu/include/mach/soc.h | 6 -- arch/arm/mach-mvebu/spl.c | 9 - 2

Re: [U-Boot] [PATCH] tools: kwboot: Make kwboot more robust on a38x

2018-08-17 Thread Chris Packham
On Fri, Aug 17, 2018 at 8:11 PM Jon Nettleton wrote: > > On Fri, Aug 17, 2018 at 1:22 AM Chris Packham wrote: > > > > On Fri, Aug 17, 2018 at 11:06 AM Chris Packham > > wrote: > > > > > > On Fri, Aug 17, 2018 at 11:01 AM Chris Packham > > > wrote: > > > > > > > > On Thu, Aug 16, 2018 at 8:38

Re: [U-Boot] [PATCH] mtd: nand: spi: Add Gigadevice SPI NAND support

2018-08-17 Thread Stefan Roese
Hi Miquel, On 17.08.2018 10:45, Miquel Raynal wrote: Stefan Roese wrote on Thu, 16 Aug 2018 18:05:08 +0200: This patch adds support for Gigadevices SPI NAND device to the new SPI NAND infrastructure in U-Boot. Currently only the 128MiB GD5F1GQ4UC device is supported. Signed-off-by: Stefan

[U-Boot] [PULL] u-boot-sh/master

2018-08-17 Thread Marek Vasut
The following changes since commit a032e0a6aed208977f48e78d2cc497b91543beaf: travis: give every job a name (2018-08-10 13:50:30 -0400) are available in the Git repository at: git://git.denx.de/u-boot-sh.git master for you to fetch changes up to 4f10989280bb91f0981ffe2ffabe936bb2a92364:

Re: [U-Boot] [PATCH] arm: socfpga: stratix10: Fix mailbox urgent command with urgent register

2018-08-17 Thread Marek Vasut
On 08/17/2018 10:22 AM, Ley Foon Tan wrote: > According to mailbox spec, software should send urgent command with > urgent register instead of COUT location. This patch write urgent > command index to urgent register. > > Signed-off-by: Ley Foon Tan > --- > arch/arm/mach-socfpga/mailbox_s10.c |

Re: [U-Boot] [PATCH] pci: Support parsing PCI controller DT subnodes

2018-08-17 Thread Marek Vasut
On 08/17/2018 03:51 AM, Bin Meng wrote: > Hi Marek, > > On Thu, Aug 16, 2018 at 7:47 PM, Marek Vasut wrote: >> On 08/15/2018 01:25 PM, Tom Rini wrote: >>> On Wed, Aug 15, 2018 at 06:19:25PM +0800, Bin Meng wrote: Hi Marek, On Wed, Aug 15, 2018 at 5:22 PM, Marek Vasut wrote: >

Re: [U-Boot] [PATCH 3/7] common: kconfig: Mark AVB_VERIFY as dependent on PARTITION_UUIDS

2018-08-17 Thread Igor Opaniuk
Hi Eugeniu, Makes sense, thanks for the explanation. Reviewed-by: Igor Opaniuk On 16 August 2018 at 21:25, Eugeniu Rosca wrote: > Hi Igor, > > First, thanks for the reviews! > > On Thu, Aug 16, 2018 at 11:38:18AM +0300, Igor Opaniuk wrote: >> Hi Eugeniu, >> >> Why not keep all dependencies on

Re: [U-Boot] [PATCH] common: add board specific hook for os preboot config

2018-08-17 Thread Christian Gmeiner
HI all Am Mo., 13. Aug. 2018 um 13:12 Uhr schrieb Gerard Salvatella : > > Some boards require specific configuration prior to booting the kernel. > For instance, our boards require shutting down the display to avoid > fading transitions before the drivers are reloaded by the kernel. This > could

[U-Boot] [PATCH u-boot-marvell v2 01/12] phy: marvell: Support changing SERDES map in board file

2018-08-17 Thread Marek Behún
This adds a weak definition of comphy_update_map to comphy_core, which does nothing. If this function is defined elsewhere, for example in board file, the board file can change some parameters of SERDES configuration. This is needed on Turris Mox, where the SERDES speed on lane 1 has to be set

[U-Boot] [PATCH u-boot-marvell v2 00/12] Updates for Turris Mox

2018-08-17 Thread Marek Behún
This is second version of updates for Turris Mox. The first version was sent three months ago, on 16th May. Sorry :). It would be great if this got to 2018.09 release, but I will understand if it does not. I changed the first patch, "phy: marvell: Support changing SERDES map in board file",

[U-Boot] [PATCH u-boot-marvell v2 02/12] clk: armada-37xx-periph: Support changing clock parent and rate

2018-08-17 Thread Marek Behún
Add support for changing clock rate and parent clock for Armada 37xx peripheral clocks. Only clocks which can be disabled (.can_gate is true) can have parent or rate changed. This is needed so that Turris Mox can change SPI clock in device tree. Signed-off-by: Marek Behun ---

[U-Boot] [PATCH u-boot-marvell v2 03/12] board: turris_mox: Fix watchdog macro name

2018-08-17 Thread Marek Behún
The macro name CONFIG_WDT_ARMADA_3720 is called CONFIG_WDT_ARMADA_37XX instead. Fix this so that watchdog really is enabled in board_init. Signed-off-by: Marek Behun --- board/CZ.NIC/turris_mox/turris_mox.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH u-boot-marvell v2 06/12] board: turris_mox: Cosmetic restructurization

2018-08-17 Thread Marek Behún
Restructure the board initialization source. Remove the module_topology environment variable since it won't be needed. Signed-off-by: Marek Behun --- board/CZ.NIC/turris_mox/turris_mox.c | 153 --- 1 file changed, 106 insertions(+), 47 deletions(-) diff --git

[U-Boot] [PATCH u-boot-marvell v2 11/12] arch/arm/dts: Update Turris Mox device tree

2018-08-17 Thread Marek Behún
Remove smi_pins definition since it is already in armada-37xx.dtsi. Add assigned-clocks definitions to spi0. Signed-off-by: Marek Behun --- arch/arm/dts/armada-3720-turris-mox.dts | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git

[U-Boot] [PATCH u-boot-marvell v2 08/12] board: turris_mox: Check and configure modules

2018-08-17 Thread Marek Behún
Check if Mox modules are connected in supported mode, then configure the MDIO addresses of switch modules. Signed-off-by: Marek Behun --- arch/arm/dts/armada-3720-turris-mox.dts | 11 ++ board/CZ.NIC/turris_mox/turris_mox.c| 235 +++- 2 files changed, 245

[U-Boot] [PATCH u-boot-marvell v2 12/12] arch/arm/mvebu: Support 1 GB version of Turris Mox

2018-08-17 Thread Marek Behún
Add configuration variables to differentiate between the 512 MB and 1 GB versions of Turris Mox and change the RAM size in U-Boot's device tree accordingly. Signed-off-by: Marek Behun --- MAINTAINERS | 7 +++

[U-Boot] [PATCH u-boot-marvell v2 05/12] board: turris_mox: Enable PCI in defconfig

2018-08-17 Thread Marek Behún
Enable the pci-aardvark driver in defconfig for Turris Mox and also enable the pci command. Signed-off-by: Marek Behun --- configs/turris_mox_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/turris_mox_defconfig b/configs/turris_mox_defconfig index

[U-Boot] [PATCH u-boot-marvell v2 10/12] board: turris_mox: Add gpio command to defconfig

2018-08-17 Thread Marek Behún
This can be used to detect whether the button is pressed or light LEDs. Signed-off-by: Marek Behun --- configs/turris_mox_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/turris_mox_defconfig b/configs/turris_mox_defconfig index fb4192df56..cc28a1fe95 100644 ---

[U-Boot] [PATCH u-boot-marvell v2 07/12] board: turris_mox: Change SERDES map depending on module topology

2018-08-17 Thread Marek Behún
When SFP module is connected directly to CPU module we want the SGMII lane speed at 1.25 Gbps. Signed-off-by: Marek Behun --- board/CZ.NIC/turris_mox/turris_mox.c | 33 + 1 file changed, 33 insertions(+) diff --git a/board/CZ.NIC/turris_mox/turris_mox.c

[U-Boot] [PATCH u-boot-marvell v2 09/12] board: turris_mox: Setup Linux's device tree before boot

2018-08-17 Thread Marek Behún
Patch Linux's device tree according to which Mox modules are connected. Linux's device tree is supposed to have some nodes already preprogrammed. If user wants to use different device tree, they should disable CONFIG_OF_BOARD_SETUP in U-Boot's config, so that the boot command does not fail.

[U-Boot] Chain loading U-Boot on ARM v7, data abort

2018-08-17 Thread Neil Stainton
Hello list, I am attempting to get U-Boot chain loading another instance of U-Boot and need a little help: I'm currently using the Freescale iMX6ULL EVK, but am developing for a custom platform which is intended to have a primary boot loader in ROM and a field-updatable secondary boot loader,

[U-Boot] [PATCH u-boot-marvell v2 04/12] board: turris_mox: Fixup U-Boot's device tree if PCIe connected

2018-08-17 Thread Marek Behún
If PCIe Mox module is connected we want to have PCIe node enabled in U-Boot's device tree. Signed-off-by: Marek Behun --- arch/arm/dts/armada-3720-turris-mox.dts | 7 +++ board/CZ.NIC/turris_mox/turris_mox.c| 80 + configs/turris_mox_defconfig|

[U-Boot] [PATCH] cmd: mii: don't check address for 'device' subcommand

2018-08-17 Thread Hector Palacios
All mii operations require a valid PHY address except the 'device' command, which expects the PHY name rather than the address. Signed-off-by: Hector Palacios --- cmd/mii.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/mii.c b/cmd/mii.c index ce7b393eeaae..c0c42a851f90

Re: [U-Boot] hwmon in current uboot

2018-08-17 Thread Joe Rutledge
Thanks very much for the response! So I guess I need to write something new under the new UCLASS_THERMAL model for my part. Any gotchas in there I should know about? Joe On 17/08/18 07:50, Andy Pont wrote: Joe wrote... Apologies in advance if this is answered somewhere else, but I had no

Re: [U-Boot] [PATCH u-boot-marvell v2 00/12] Updates for Turris Mox

2018-08-17 Thread Stefan Roese
Hi Marek, On 17.08.2018 12:58, Marek Behún wrote: This is second version of updates for Turris Mox. The first version was sent three months ago, on 16th May. Sorry :). It would be great if this got to 2018.09 release, but I will understand if it does not. I'm afraid, but this will have to

Re: [U-Boot] [PATCH v2 2/2] ARM: mach-mvebu: handle fall-back to UART boot

2018-08-17 Thread Sean Nyekjær
On 17/08/2018 10.47, Chris Packham wrote: The bootROM in the Armada-38x (and similar) SoC has two modes for UART boot. The first is when the normal boot media is blank (or otherwise missing the kwb header). The second is when the boot sequence has been interrupted with the magic byte sequence

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

2018-08-17 Thread Marek Vasut
On 08/17/2018 04:43 AM, Tom Rini wrote: > On Thu, Aug 16, 2018 at 01:42:33PM +0200, Marek Vasut wrote: >> On 08/15/2018 06:27 PM, Tom Rini wrote: >>> On Wed, Aug 15, 2018 at 06:20:16PM +0200, Marek Vasut wrote: On 08/15/2018 06:12 PM, Tom Rini wrote: > On Wed, Aug 15, 2018 at 06:04:50PM

[U-Boot] [PULL] u-boot-socfpga/master

2018-08-17 Thread Marek Vasut
The following changes since commit a032e0a6aed208977f48e78d2cc497b91543beaf: travis: give every job a name (2018-08-10 13:50:30 -0400) are available in the Git repository at: git://git.denx.de/u-boot-socfpga.git master for you to fetch changes up to

Re: [U-Boot] [PATCH v5] arm: socfpga: fix U-Boot running from fpga OnChip RAM

2018-08-17 Thread Marek Vasut
On 08/17/2018 08:56 AM, Simon Goldschmidt wrote: > On Fri, Aug 17, 2018 at 1:57 AM Marek Vasut wrote: >> >> On 08/16/2018 09:44 PM, Simon Goldschmidt wrote: >>> On Thu, Aug 16, 2018 at 4:04 PM Marek Vasut wrote: On 08/16/2018 03:50 PM, Simon Goldschmidt wrote: > On Thu, Aug 16,

Re: [U-Boot] [PATCH] arm: socfpga: stratix10: Enable EMAC to FPGA bridge based on handoff

2018-08-17 Thread Marek Vasut
On 08/17/2018 10:22 AM, Ley Foon Tan wrote: > Code checking and setting EMAC use fpga is in > populate_sysmgr_fpgaintf_module(). So, call to sysmgr_pinmux_init() > instead of populate_sysmgr_pinmux(). > In sysmgr_pinmux_init(), it will call to both populate_sysmgr_pinmux() > and

Re: [U-Boot] [PATCH 1/4] arm: omap4+: Move SCLK to include/configs

2018-08-17 Thread Tom Rini
On Fri, Aug 17, 2018 at 11:22:22AM +0530, Lokesh Vutla wrote: > > > On Friday 17 August 2018 06:24 AM, Tom Rini wrote: > > On Thu, Aug 16, 2018 at 06:26:52PM +0530, Lokesh Vutla wrote: > > > >> Similar to every other SoCs define oscillator clock definitions > >> for OMAP4+ SoCs to

Re: [U-Boot] sunxi: USB gadget does not work on H2+ after 92a30692b2b18f45aae6fdaae38d67ed03dd2d11

2018-08-17 Thread Jagan Teki
On Mon, Aug 13, 2018 at 3:59 PM, Nuno Gonçalves wrote: > After this commit usb gadget does not work anymore for me on the Orange Pi > Zero (H2+). Please send log or full information? Jagan. ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] configs: Migrate CONFIG_NR_DRAM_BANKS

2018-08-17 Thread Adam Ford
On Thu, Aug 16, 2018 at 8:14 PM Tom Rini wrote: > > We have the following cases: > - CONFIG_NR_DRAM_BANKS was defined, migrate normally > - CONFIG_NR_DRAM_BANKS_MAX was defined and then used for > CONFIG_NR_DRAM_BANKS after a check, just migrate it over now. > - CONFIG_NR_DRAM_BANKS was very

Re: [U-Boot] [PATCH] configs: Migrate CONFIG_NR_DRAM_BANKS

2018-08-17 Thread Tom Rini
On Fri, Aug 17, 2018 at 08:17:45AM +0200, Michal Simek wrote: > Hi Tom, > > On 17.8.2018 03:12, Tom Rini wrote: > > We have the following cases: > > - CONFIG_NR_DRAM_BANKS was defined, migrate normally > > - CONFIG_NR_DRAM_BANKS_MAX was defined and then used for > > CONFIG_NR_DRAM_BANKS after a

Re: [U-Boot] [PATCH] configs: Migrate CONFIG_NR_DRAM_BANKS

2018-08-17 Thread Tom Rini
On Fri, Aug 17, 2018 at 07:03:04AM -0500, Adam Ford wrote: > On Thu, Aug 16, 2018 at 8:14 PM Tom Rini wrote: > > > > We have the following cases: > > - CONFIG_NR_DRAM_BANKS was defined, migrate normally > > - CONFIG_NR_DRAM_BANKS_MAX was defined and then used for > > CONFIG_NR_DRAM_BANKS after

Re: [U-Boot] [PATCH 4/4] env: sf: drop not needed #ifdef CMD_SAVEENV

2018-08-17 Thread Simon Glass
On 14 August 2018 at 03:21, Christian Gmeiner wrote: > env_save_ptr(..) macro handles CMD_SAVEENV already. > > Signed-off-by: Christian Gmeiner > --- > env/sf.c | 2 -- > 1 file changed, 2 deletions(-) Reviewed-by: Simon Glass ___ U-Boot mailing

Re: [U-Boot] [PATCH v4 5/7] dm: convert device_get_global_by_of_offset() to device_get_global_by_ofnode()

2018-08-17 Thread Simon Glass
Hi Jean-Jacques, On 9 August 2018 at 08:17, Jean-Jacques Hiblot wrote: > Also add device_find_global_by_ofnode() that also find a device based on > the OF node, but doesn't probe the device. > > Signed-off-by: Jean-Jacques Hiblot > > --- > > Changes in v4: None > Changes in v3: > - new commit >

Re: [U-Boot] [PATCH v3 8/8] video_display: Add Xilinx LogiCore DP TX

2018-08-17 Thread Simon Glass
On 9 August 2018 at 06:51, Mario Six wrote: > Add a driver for the Xilinx LogiCORE DisplayPort IP core, which is a > pure DP transmitter core for Xiling FPGA (no display capabilities). > > Signed-off-by: Mario Six > > --- > > v2 -> v3: > * Fix style errors > * Added full documentation > > v1 ->

Re: [U-Boot] [PATCH v2 1/3] efi: Fix truncation of constant value

2018-08-17 Thread Simon Glass
Hi, On 8 August 2018 at 14:41, Eugeniu Rosca wrote: > Hello Tom, Alexander, > > On Wed, Aug 01, 2018 at 01:25:54PM +0200, Eugeniu Rosca wrote: >> Hello Tom, Simon, Alexander, Heinrich, >> >> On Wed, Jul 25, 2018 at 03:30:16PM +0200, Eugeniu Rosca wrote: >> > Hello Alexander, >> > >> > Heinrich

Re: [U-Boot] sunxi: USB gadget does not work on H2+ after 92a30692b2b18f45aae6fdaae38d67ed03dd2d11

2018-08-17 Thread Nuno Gonçalves
This can be because UMS is not DM aware? On Fri, Aug 17, 2018 at 2:02 PM Nuno Gonçalves wrote: > This test is on 2018.09-rc2 with UMS enabled. > > With your patch, I get this dmesg on the host: > > [20121.718226] usb 1-4-port4: Cannot enable. Maybe the USB cable is bad? > [20122.578151] usb

Re: [U-Boot] [UBOOT PATCH 1/2] dm: core: Move "/clock" node scan into function

2018-08-17 Thread Simon Glass
On 10 August 2018 at 02:45, Rajan Vaja wrote: > Create separate function for scanning node by path and > move "/clock" node scan code into that function. > > This will be usable if scanning of more node is required. > > Signed-off-by: Rajan Vaja > --- > drivers/core/root.c | 33

Re: [U-Boot] [PATCH 0/4] arm: zynq: migrate to DM I2C driver

2018-08-17 Thread Olliver Schinagl
Hi all, On 20-07-18 13:09, Michal Simek wrote: On 20.7.2018 08:12, Luis Araneda wrote: Hi Michal, On Thu, Jul 19, 2018 at 3:28 AM Michal Simek wrote: Please take a look at https://lists.denx.de/pipermail/u-boot/2016-November/274068.html which was the series which should replace all these

[U-Boot] [PATCH v3 07/10] video: add support of panel RM68200

2018-08-17 Thread Yannick Fertré
Support for Raydium RM68200 720p dsi 2dl video mode panel. This rm68200 panel driver is based on the Linux Kernel driver from drivers/gpu/drm/panel/panel-raydium-rm68200.c. Signed-off-by: Yannick Fertré --- drivers/video/Kconfig | 8 + drivers/video/Makefile | 1 +

Re: [U-Boot] [PATCH 1/2] ofnode: add ofnode_by_prop_value()

2018-08-17 Thread Simon Glass
Hi Jens, On 10 August 2018 at 06:54, Jens Wiklander wrote: > Adds ofnode_by_prop_value() to search for nodes with a given property > and value, an ofnode version of fdt_node_offset_by_prop_value(). > > Signed-off-by: Jens Wiklander > --- > drivers/core/of_access.c | 27

Re: [U-Boot] [PATCH 3/6] x86: dts: Remove coreboot_fb.dtsi

2018-08-17 Thread Simon Glass
On 10 August 2018 at 03:39, Bin Meng wrote: > There is no need to keep a separate coreboot_fb.dtsi since now we > have a generic coreboot payload dts. > > While we are here, this also remove the out-of-date description in > the documentation regarding to coreboot framebuffer driver with > U-Boot

Re: [U-Boot] [PATCH] sandbox: Move BSS after EFI sections

2018-08-17 Thread Simon Glass
Hi, On 6 August 2018 at 16:30, Alexander Graf wrote: > Something went wrong when writing the sandbox linker scripts and so we > ended up with a .bss section marker right before the efi runtime sections. > > That obviously is a terrible idea, as it may result in overwriting efi > runtime code and

Re: [U-Boot] [RFC PATCH v2 3/6] dm: usb: Add UCLASS_USB_DEV_GENERIC shutdown

2018-08-17 Thread Jagan Teki
Hi Simon, On Fri, Aug 17, 2018 at 6:18 PM, Simon Glass wrote: > Hi Jagan, > > On 7 August 2018 at 01:03, Jagan Teki wrote: >> On Tue, Jul 24, 2018 at 5:18 AM, Simon Glass wrote: >>> Hi Jagan, >>> >>> On 20 July 2018 at 01:13, Jagan Teki wrote: Some OTG controllers which operates on

[U-Boot] [PATCH] ARM: dts: da850-evm-u-boot: Remove redundant entries

2018-08-17 Thread Adam Ford
With the re-sync from Linux 4.18, several entries in da850-evm-u-boot.dtsi are no longer necessary, so this patch removes them. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/da850-evm-u-boot.dtsi b/arch/arm/dts/da850-evm-u-boot.dtsi index b3546e792a..ab1de77954 100644 ---

[U-Boot] [PATCH v3 06/10] video: add support of panel OTM8009A

2018-08-17 Thread Yannick Fertré
Support for Orise Tech otm8009a 480p dsi 2dl video mode panel. Signed-off-by: Yannick Fertré --- drivers/video/Kconfig | 8 + drivers/video/Makefile | 1 + drivers/video/orisetech_otm8009a.c | 367 + 3 files changed, 376

[U-Boot] [PATCH v3 09/10] arm: dts: stm32: add display for STM32F769 disco board

2018-08-17 Thread Yannick Fertré
Enable the display controller, mipi dsi bridge & panel. Set panel display timings. Signed-off-by: Yannick Fertré --- arch/arm/dts/stm32f769-disco.dts | 41 1 file changed, 41 insertions(+) diff --git a/arch/arm/dts/stm32f769-disco.dts

Re: [U-Boot] sunxi: USB gadget does not work on H2+ after 92a30692b2b18f45aae6fdaae38d67ed03dd2d11

2018-08-17 Thread Nuno Gonçalves
This test is on 2018.09-rc2 with UMS enabled. With your patch, I get this dmesg on the host: [20121.718226] usb 1-4-port4: Cannot enable. Maybe the USB cable is bad? [20122.578151] usb 1-4-port4: Cannot enable. Maybe the USB cable is bad? [20122.578320] usb 1-4-port4: attempt power cycle

Re: [U-Boot] [RFC PATCH v2 3/6] dm: usb: Add UCLASS_USB_DEV_GENERIC shutdown

2018-08-17 Thread Simon Glass
Hi Jagan, On 7 August 2018 at 01:03, Jagan Teki wrote: > On Tue, Jul 24, 2018 at 5:18 AM, Simon Glass wrote: >> Hi Jagan, >> >> On 20 July 2018 at 01:13, Jagan Teki wrote: >>> Some OTG controllers which operates on Peripheral >>> mode are registered as UCLASS_USB_DEV_GENERIC. >>> >>> So add

Re: [U-Boot] [PATCH v4 7/7] cmd: Add bind/unbind commands to bind a device to a driver from the command line

2018-08-17 Thread Simon Glass
On 9 August 2018 at 08:17, Jean-Jacques Hiblot wrote: > In some cases it can be useful to be able to bind a device to a driver from > the command line. > The obvious example is for versatile devices such as USB gadget. > Another use case is when the devices are not yet ready at startup and >

Re: [U-Boot] [UBOOT PATCH 2/2] dm: core: Scan "/firmware" node by default

2018-08-17 Thread Michal Simek
On 17.8.2018 14:49, Simon Glass wrote: > On 10 August 2018 at 02:45, Rajan Vaja wrote: >> All Linux firmware drivers are put under "/firmware" node >> and it has support to populate "/firmware" node by default. >> >> u-boot and Linux can share same DTB. In this case, driver >> probe for devices

[U-Boot] [PATCH v3 03/10] video: add support of MIPI DSI interface

2018-08-17 Thread Yannick Fertré
Mipi_display.c contains a set of dsi helpers. This file is a copy of file drm_mipi_dsi.c (linux kernel). Signed-off-by: Yannick Fertré --- drivers/video/Kconfig| 8 + drivers/video/Makefile | 1 + drivers/video/mipi_dsi.c | 828 +++

[U-Boot] [PATCH v3 01/10] video: stm32: stm32_ltdc: add bridge to display controller

2018-08-17 Thread Yannick Fertré
Manage a bridge insert between the display controller & a panel. Signed-off-by: Yannick Fertré --- drivers/video/stm32/stm32_ltdc.c | 143 ++- 1 file changed, 82 insertions(+), 61 deletions(-) diff --git a/drivers/video/stm32/stm32_ltdc.c

Re: [U-Boot] [PATCH] common: fdt: set the value of MEMORY_BANKS_MAX to 8

2018-08-17 Thread Simon Glass
Hi, On 10 August 2018 at 10:44, Ramon Fried wrote: > > > > On Fri, Aug 10, 2018 at 2:54 PM Anand Moon wrote: >> >> set the value of MEMORY_BANKS_MAX to 8. >> Odroid-XU4 fails to boot with following message >> >> fdt_fixup_memory_banks: num banks 8 exceeds hardcoded limit 4. >> Recompile with

Re: [U-Boot] [PATCH v4 3/7] uclass: Add dev_get_uclass_index() to get the uclass/index of a device

2018-08-17 Thread Simon Glass
On 9 August 2018 at 08:17, Jean-Jacques Hiblot wrote: > > This function is the reciprocal of uclass_find_device(). > It will be used to print the index information in dm tree dump. > > Signed-off-by: Jean-Jacques Hiblot > > --- > > Changes in v4: None > Changes in v3: > - update commit log > -

Re: [U-Boot] [PATCH 3/3] bootcount: add DM-based backing store for bootcount

2018-08-17 Thread Simon Glass
Hi Philipp, On 14 August 2018 at 05:39, Dr. Philipp Tomsich wrote: > Lukasz, > >> On 14 Aug 2018, at 13:10, Lukasz Majewski wrote: >> >> Hi Philipp, >> >>> The original bootcount methods do not provide an interface to DM and >>> rely on a static configuration for I2C devices (e.g. bus,

Re: [U-Boot] [PATCH v3 7/8] video: Sort Makefile entries

2018-08-17 Thread Simon Glass
On 9 August 2018 at 06:51, Mario Six wrote: > The entries of Makefiles should be sorted, which is not the case in the > video driver Makefile. > > Sort the entries alphabetically as far as this makes sense. > > Signed-off-by: Mario Six > > --- > > v2 -> v3: > New in v3 > > --- >

Re: [U-Boot] [PATCH] efi_loader: Rename sections to allow for implicit data

2018-08-17 Thread Simon Glass
Hi, On 9 August 2018 at 23:45, Bin Meng wrote: > > Hi Alex, > > On Wed, Aug 8, 2018 at 1:16 AM, Alexander Graf wrote: > > > > > >> Am 07.08.2018 um 18:12 schrieb Simon Glass : > >> > >> Hi Alex, > >> > >>> On 11 June 2018 at 23:48, Alexander Graf wrote: > >>> Some times gcc may generate data

Re: [U-Boot] [PATCH 1/4] env: fat: drop not needed #ifdef CMD_SAVEENV

2018-08-17 Thread Simon Glass
On 14 August 2018 at 03:21, Christian Gmeiner wrote: > env_save_ptr(..) macro handles CMD_SAVEENV already. > > Signed-off-by: Christian Gmeiner > --- > env/fat.c | 2 -- > 1 file changed, 2 deletions(-) > Reviewed-by: Simon Glass ___ U-Boot mailing

Re: [U-Boot] [U-Boot,v2] kconfig: fix typo 'parition'

2018-08-17 Thread Tom Rini
On Thu, Aug 16, 2018 at 09:44:55AM +0200, Simon Goldschmidt wrote: > Replaced misspelled words "parition"/"paritioning" (missing 't') in two > Kconfig files by correct words "partition"/"partitioning" > > Signed-off-by: Simon Goldschmidt > Reviewed-by: Philipp Tomsich Applied to

Re: [U-Boot] [PULL] u-boot-sh/master

2018-08-17 Thread Tom Rini
On Fri, Aug 17, 2018 at 12:10:11PM +0200, Marek Vasut wrote: > The following changes since commit a032e0a6aed208977f48e78d2cc497b91543beaf: > > travis: give every job a name (2018-08-10 13:50:30 -0400) > > are available in the Git repository at: > > git://git.denx.de/u-boot-sh.git master >

Re: [U-Boot] [PATCH v4 01/17] ram: Add driver for MPC83xx

2018-08-17 Thread Simon Glass
Hi Mario, On 6 August 2018 at 02:23, Mario Six wrote: > Add a RAM driver for the MPC83xx architecture. > > Reviewed-by: Simon Glass > Signed-off-by: Mario Six > --- > > Notes: > v3 -> v4: > * Switched preprocessor constants to C constants > * Improved error reporting > * Added

[U-Boot] [PATCH v3 10/10] board: Add STM32F769 SoC, discovery board support

2018-08-17 Thread Yannick Fertré
Signed-off-by: Yannick Fertré --- configs/stm32f769-disco_defconfig | 67 +++ 1 file changed, 67 insertions(+) create mode 100644 configs/stm32f769-disco_defconfig diff --git a/configs/stm32f769-disco_defconfig b/configs/stm32f769-disco_defconfig new file

Re: [U-Boot] [PATCH v4 6/7] device: expose the functions used to remove and unbind children of a device

2018-08-17 Thread Simon Glass
On 9 August 2018 at 08:17, Jean-Jacques Hiblot wrote: > Also add a 'drv' parameter to filter the children to remove/unbind. > Exporting those functions is a preparatory work for the addition of the > bind/unbind commands. > > Signed-off-by: Jean-Jacques Hiblot > > --- > > Changes in v4: None >

Re: [U-Boot] [PATCH 3/4] env: nand: drop not needed #ifdef CMD_SAVEENV

2018-08-17 Thread Simon Glass
On 14 August 2018 at 03:21, Christian Gmeiner wrote: > env_save_ptr(..) macro handles CMD_SAVEENV already. > > Signed-off-by: Christian Gmeiner > --- > env/nand.c | 2 -- > 1 file changed, 2 deletions(-) Reviewed-by: Simon Glass ___ U-Boot mailing

Re: [U-Boot] dts: Fix typo in OF_LIVE Kconfig help

2018-08-17 Thread Tom Rini
On Fri, Aug 17, 2018 at 10:16:36AM +0200, Michal Simek wrote: > Fix typo in Kconfig description. > > Signed-off-by: Michal Simek Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

Re: [U-Boot] [PULL] u-boot-socfpga/master

2018-08-17 Thread Tom Rini
On Fri, Aug 17, 2018 at 12:08:59PM +0200, Marek Vasut wrote: > The following changes since commit a032e0a6aed208977f48e78d2cc497b91543beaf: > > travis: give every job a name (2018-08-10 13:50:30 -0400) > > are available in the Git repository at: > > git://git.denx.de/u-boot-socfpga.git

[U-Boot] [PATCH v3 00/10] splash screen on the stm32f769 disco board

2018-08-17 Thread Yannick Fertré
Version 1: - Initial commit. Version 2: - swap patches to avoid compilation issue. - remove panel timings from device tree. Version 3: - Share same include file mipi_display.h with kernel linux. - Rework ltdc driver with last comments of Anatolij Gustshin. - Check ordering (file dw_mipi_dsi.c).

Re: [U-Boot] [PATCH 2/4] env: flash: drop not needed #ifdef CMD_SAVEENV

2018-08-17 Thread Simon Glass
On 14 August 2018 at 03:21, Christian Gmeiner wrote: > env_save_ptr(..) macro handles CMD_SAVEENV already. > > Signed-off-by: Christian Gmeiner > --- > env/flash.c | 2 -- > 1 file changed, 2 deletions(-) Reviewed-by: Simon Glass I'd be tempted to do these changes in one patch, but either is

Re: [U-Boot] [PATCH v6 08/14] regmap: Add raw read/write functions

2018-08-17 Thread Simon Glass
Hi Mario, On 13 August 2018 at 00:09, Mario Six wrote: > The regmap functions currently assume that all register map accesses > have a data width of 32 bits, but there are maps that have different > widths. > > To rectify this, implement the regmap_raw_read and regmap_raw_write > functions from

Re: [U-Boot] [PATCH 04/10] Add UCLASS_TEE for Trusted Execution Environment

2018-08-17 Thread Simon Glass
Hi Jens, On 13 August 2018 at 09:53, Jens Wiklander wrote: > Adds a uclass to interface with a TEE (Trusted Execution Environment). > > A TEE driver is a driver that interfaces with a trusted OS running in > some secure environment, for example, TrustZone on ARM cpus, or a > separate secure

Re: [U-Boot] [PATCH 2/2] fdt: fdtdec_setup_memory_banksize() use livetree

2018-08-17 Thread Simon Glass
On 10 August 2018 at 06:54, Jens Wiklander wrote: > Converts fdtdec_setup_memory_banksize() to use ofnode functions instead. > > Signed-off-by: Jens Wiklander > --- > lib/fdtdec.c | 46 +- > 1 file changed, 21 insertions(+), 25 deletions(-) >

Re: [U-Boot] [PATCH v2 1/3] efi: Fix truncation of constant value

2018-08-17 Thread Eugeniu Rosca
On Fri, Aug 17, 2018 at 06:48:52AM -0600, Simon Glass wrote: > I believe Alex should pick these up. > > Regards, > Simon Thanks, Simon! I then look forward for some feedback from Alex. Best regards, Eugeniu. ___ U-Boot mailing list

Re: [U-Boot] [PATCH 3/3] bootcount: add DM-based backing store for bootcount

2018-08-17 Thread Dr. Philipp Tomsich
Simon, > On 17 Aug 2018, at 14:49, Simon Glass wrote: > > Hi Philipp, > > On 14 August 2018 at 05:39, Dr. Philipp Tomsich > > wrote: >> Lukasz, >> >>> On 14 Aug 2018, at 13:10, Lukasz Majewski wrote: >>> >>> Hi Philipp, >>> The original

[U-Boot] [PATCH v3 04/10] video: add MIPI DSI host controller bridge

2018-08-17 Thread Yannick Fertré
Add a Synopsys Designware MIPI DSI host bridge driver, based on the Rockchip version from rockchip/dw-mipi-dsi.c with phy & bridge APIs. Signed-off-by: Yannick Fertré --- drivers/video/Kconfig | 9 + drivers/video/Makefile | 1 + drivers/video/dw_mipi_dsi.c | 827

[U-Boot] [PATCH v3 02/10] include: Add new DCS commands in the enum list

2018-08-17 Thread Yannick Fertré
Adding new DCS commands which are specified in the DCS 1.3 spec related to CABC. Signed-off-by: Yannick Fertré --- include/mipi_display.h | 8 1 file changed, 8 insertions(+) diff --git a/include/mipi_display.h b/include/mipi_display.h index ddcc8ca..19aa65a 100644 ---

Re: [U-Boot] [PATCH 6/6] x86: efi: payload: Add default TSC frequency in the device tree

2018-08-17 Thread Simon Glass
On 10 August 2018 at 03:39, Bin Meng wrote: > It was observed sometimes U-Boot as the EFI payload fails to boot on > QEMU. This is because TSC calibration fails with no valid frequency. > This adds default TSC frequency in the device tree. > > Signed-off-by: Bin Meng > --- > >

Re: [U-Boot] [UBOOT PATCH 2/2] dm: core: Scan "/firmware" node by default

2018-08-17 Thread Simon Glass
On 10 August 2018 at 02:45, Rajan Vaja wrote: > All Linux firmware drivers are put under "/firmware" node > and it has support to populate "/firmware" node by default. > > u-boot and Linux can share same DTB. In this case, driver > probe for devices under "/firmware" will not be invoked > as

[U-Boot] [PATCH] arm: dts: da850: Re-sync da850-evm.dts from Linux 4.18

2018-08-17 Thread Adam Ford
Signed-off-by: Adam Ford diff --git a/arch/arm/dts/da850-evm.dts b/arch/arm/dts/da850-evm.dts index 67e72bc72e..0e82bb988f 100644 --- a/arch/arm/dts/da850-evm.dts +++ b/arch/arm/dts/da850-evm.dts @@ -15,143 +15,18 @@ compatible = "ti,da850-evm", "ti,da850"; model =

[U-Boot] [PATCH v3 05/10] video: add support of STM32 MIPI DSI controller driver

2018-08-17 Thread Yannick Fertré
Add the STM32 DSI controller driver that uses the Synopsys DesignWare MIPI DSI host controller bridge. Signed-off-by: Yannick Fertré --- drivers/video/stm32/Kconfig | 10 + drivers/video/stm32/Makefile| 1 + drivers/video/stm32/stm32_dsi.c | 428

[U-Boot] [PATCH v3 08/10] arm: dts: stm32: add dsi for STM32F746

2018-08-17 Thread Yannick Fertré
Add mipi dsi bridge node in device-tree. Signed-off-by: Yannick Fertré --- arch/arm/dts/stm32f746.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/dts/stm32f746.dtsi b/arch/arm/dts/stm32f746.dtsi index afa7832..005d267 100644 --- a/arch/arm/dts/stm32f746.dtsi +++

Re: [U-Boot] [UBOOT PATCH 2/2] dm: core: Scan "/firmware" node by default

2018-08-17 Thread Simon Glass
Hi Michael, On 17 August 2018 at 07:22, Michal Simek wrote: > On 17.8.2018 14:49, Simon Glass wrote: >> On 10 August 2018 at 02:45, Rajan Vaja wrote: >>> All Linux firmware drivers are put under "/firmware" node >>> and it has support to populate "/firmware" node by default. >>> >>> u-boot and

[U-Boot] Disabling CONFIG_DM_I2C_COMPAT in twl4030 PMIC

2018-08-17 Thread Adam Ford
I am working to disable CONFIG_DM_I2C_COMPAT for the omap3 boards. Some of these boards use the TWL4030 PMIC which is still using the older i2c_write and i2c_read functions. I wonder if someone can point me to a good patch that I can use a model one how to appropriately port I2C drivers forward?

Re: [U-Boot] [U-Boot, 2/2] FIT image: use compression = "none" for ramdisks

2018-08-17 Thread Tom Rini
On Mon, Jul 30, 2018 at 12:53:19PM +0200, Simon Goldschmidt wrote: > To prepare supporting compression for all image types, change > compression to "none" for ramdisks in all examples. > > Signed-off-by: Simon Goldschmidt > --- > > arch/arm/cpu/armv8/fsl-layerscape/doc/README.falcon | 2 +- >

Re: [U-Boot] Convert CONFIG_MISC_INIT_R to Kconfig

2018-08-17 Thread Tom Rini
On Sun, Jul 29, 2018 at 01:13:29PM -0500, Adam Ford wrote: > This converts the following to Kconfig: >CONFIG_MISC_INIT_R > > Signed-off-by: Adam Ford Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot

  1   2   >