Re: [U-Boot] [linux-sunxi] [PATCH 1/4] arm: dts: h6: move MMC pinctrl to soc

2019-04-12 Thread Clément Péron
Hi, On Fri, 12 Apr 2019 at 15:36, Jagan Teki wrote: > > On Mon, Apr 8, 2019 at 10:11 PM Clément Péron wrote: > > > > There is only one muxing avalaible for each MMC controller. > > > > Move this pinmux to the SOC dtsi. > > Sync all dts(i) changes in one patch with head commit id details on > pat

Re: [U-Boot] why does "board_init_r()" accept a second arg of "ulong dest_addr"?

2019-04-12 Thread Robert P. J. Day
On Fri, 12 Apr 2019, Robert P. J. Day wrote: > On Fri, 12 Apr 2019, Simon Glass wrote: > > > Hi Robert, > > > > On Fri, 12 Apr 2019 at 06:31, Robert P. J. Day > > wrote: > > > > > > > > > was tracing the ARM-based boot sequence and ended up at the call to > > > board_init_r(): > > > > > > vo

Re: [U-Boot] [PATCH 2/2] at91: cleanup taurus port

2019-04-12 Thread Heiko Schocher
Hello Eugen, Am 12.04.2019 um 15:07 schrieb eugen.hris...@microchip.com: On 12.04.2019 15:53, Heiko Schocher wrote: External E-Mail Hello eugen, Am 12.04.2019 um 13:24 schrieb eugen.hris...@microchip.com: On 11.04.2019 08:53, Heiko Schocher wrote: - at91sam9g20-taurus.dts: use labels

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

2019-04-12 Thread Clément Péron
This serie introduce the Beelink GS1 board with a patch for the reset on Allwinner H6. Thanks to Jagan Teki most of the Beelink GS1 device-tree is taken from the Orange Pi boards. Changes with v1: - Add bus-width for mmc2 node - Add sha1 in the sync dts commit Clément Péron (3): arm: dts: h6

[U-Boot] [PATCH v2 1/3] arm: dts: h6: sync with dts with Linux sunxi

2019-04-12 Thread Clément Péron
There are some differences between U-Boot and Linux device tree files. Sync only the minor changes. 6ba2e45d57af - arm64: dts: allwinner: h6: move MMC pinctrl to dtsi 54eac67bbe3a - arm64: dts: allwinner: Fix pinctrl node names 31af04cd60d3 - arm64: dts: Remove inconsistent use of 'arm,armv8' c

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

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

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

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

Re: [U-Boot] [RFC v2 08/11] cmd: bootefi: carve out bootmgr code from do_bootefi()

2019-04-12 Thread AKASHI Takahiro
On Fri, Apr 12, 2019 at 10:58:25AM +0200, Heinrich Schuchardt wrote: > > > On 4/12/19 9:06 AM, AKASHI Takahiro wrote: > > On Fri, Apr 12, 2019 at 07:55:16AM +0200, Heinrich Schuchardt wrote: > >> On 3/27/19 5:40 AM, AKASHI Takahiro wrote: > >>> This is a preparatory patch for reworking do_bootefi

[U-Boot] [PATCH] dm: core: Change platform specific translation-offset handling

2019-04-12 Thread Stefan Roese
Testing has shown that the current DM implementation of a platform / board specific translation offset, as its needed for the SPL on MVEBU platforms is buggy. The translation offset is confingured too late, after the driver bind functions are run. This may result in incorrect address translations.

[U-Boot] in drivers/mtd/nand/spi/core.c, what means "#ifdef CONFIG_OF"?

2019-04-12 Thread Robert P. J. Day
prettu sure there is no Kbuild "config OF" setting, should that be #ifdef CONFIG_OF_CONTROL or something related? i checked for the maintainer of that file, but it listed enough alleged maintainers that i thought i would just ask the list. rday --

[U-Boot] [PATCH 1/2] ARM: imx6: DHCOM i.MX6 PDK: use Kconfig for inclusion of DDR calibration

2019-04-12 Thread Ludwig Zenz
The four x16 DDR3 are wired in T-topology. From NXP AN4467: 'Although not required, T-Topologies may also benefit from performing Write Leveling as there are package delays on both the processor and DDR devices that can be de-skewed by performing Write Leveling. Therefore, Freescale recommends dete

[U-Boot] [PATCH 2/2] ARM: imx6: update 1GB DDR3 calibration for DHCOM i.MX6qd PDK

2019-04-12 Thread Ludwig Zenz
Signed-off-by: Ludwig Zenz --- board/dhelectronics/dh_imx6/dh_imx6_spl.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/board/dhelectronics/dh_imx6/dh_imx6_spl.c b/board/dhelectronics/dh_imx6/dh_imx6_spl.c index bbd2dc26828..2939389de39 100644 ---

[U-Boot] U-Boot API example doesn't support 64-bit

2019-04-12 Thread Priebe, Sebastian
Hello, I'd like to use the U-Boot external API with an ARM64 SoC. If I enable CONFIG_API I get the following build error for the API example: examples/api/crt0.S: Assembler messages: examples/api/crt0.S:33: Error: operand 1 should be an integer register -- `ldr ip,=search_hint' examples/api/crt0.

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

2019-04-12 Thread Neil Armstrong
Hi, On 12/04/2019 15:09, Simon Glass wrote: > Hi, > > On Thu, 11 Apr 2019 at 09:12, Neil Armstrong wrote: >> >> 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 s

Re: [U-Boot] [PATCH 1/4] net: Add MSCC Serval network driver.

2019-04-12 Thread Daniel Schwierzeck
Am 11.04.19 um 14:11 schrieb Horatiu Vultur: > Add network driver for Microsemi Ethernet switch. > It is present on Serval SoCs. > > Signed-off-by: Horatiu Vultur > --- > drivers/net/mscc_eswitch/Kconfig | 7 + > drivers/net/mscc_eswitch/Makefile| 1 + > drivers/net/mscc_es

Re: [U-Boot] [PATCH 1/2] mips: mscc: serval: Fix reset

2019-04-12 Thread Daniel Schwierzeck
Am 11.04.19 um 13:51 schrieb Horatiu Vultur: > In case the ddr training was failing, it couldn't reset, it was just > hanging. Therefore reimplement it, so when ddr training is failing > it would call _machine_restart, which power downs the DDR and does > a force reset. > > Signed-off-by: Horati

[U-Boot] [PULL] u-boot-stm32 for v2019.07-rc1

2019-04-12 Thread Patrick DELAUNAY
Hi Tom, please pull u-boot-smt32-20190412 including the following STM32 related patches for v2019.07-rc1 - add trusted boot with TF-A for stm32mp1 - stm32mp1 dts files sync'ed with Linux version - add STM32MP1 Discovery boards (DK1 and DK2) - add STMFX gpio expander driver - misc improvemen

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

2019-04-12 Thread Neil Armstrong
On 12/04/2019 16:56, Neil Armstrong wrote: > Hi, > > > On 12/04/2019 15:09, Simon Glass wrote: >> Hi, >> >> On Thu, 11 Apr 2019 at 09:12, Neil Armstrong wrote: >>> >>> When fixing sandbox test for regmap_read_poll_timeout(), the >>> sandbox_timer_add_offset was introduced but only defined in san

Re: [U-Boot] [U-Boot, v4, 3/7] soc: ti: k3: add CPPI5 description and helpers

2019-04-12 Thread Tom Rini
On Tue, Feb 05, 2019 at 05:31:23PM +0530, Vignesh R wrote: > From: Grygorii Strashko > > Add TI Communications Port Programming Interface (CPPI) 5 > interface description and helpers > > Signed-off-by: Grygorii Strashko > Signed-off-by: Vignesh R > Reviewed-by: Tom Rini Applied to u-boot/ma

Re: [U-Boot] [U-Boot, v4, 1/7] firmware: ti_sci: Add support for NAVSS resource management

2019-04-12 Thread Tom Rini
On Tue, Feb 05, 2019 at 05:31:21PM +0530, Vignesh R wrote: > From: Grygorii Strashko > > Texas Instruments' System Control Interface (TI-SCI) Message Protocol > abstracts management of NAVSS resources, like PSI-L pairing and > unpairing, UDMAP tx/rx/flow configuration and Rings. > > This patch

Re: [U-Boot] [U-Boot,v2,0/7] AM65x HS device support

2019-04-12 Thread Tom Rini
On Thu, Feb 21, 2019 at 04:35:05PM -0600, Andrew F. Davis wrote: > Hello all, > > This series brings up HS device support on the AM65x platform. Support > for HS on K3 family devices is a bit different than previous devices > but for the most part all that has been abstracted into the SECDEV > pa

Re: [U-Boot] [U-Boot, v4, 7/7] configs: am65x_evm_a53: Enable DMA related configs

2019-04-12 Thread Tom Rini
On Tue, Feb 05, 2019 at 05:31:27PM +0530, Vignesh R wrote: > From: Grygorii Strashko > > Enable TI K3 AM65x PSI-L, Ring Accelerator and UDMA drivers > > Signed-off-by: Grygorii Strashko > Signed-off-by: Vignesh R > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature

Re: [U-Boot] [U-Boot, v4, 6/7] arm64: dts: ti: k3-am65: add mcu navss nodes

2019-04-12 Thread Tom Rini
On Tue, Feb 05, 2019 at 05:31:26PM +0530, Vignesh R wrote: > From: Grygorii Strashko > > Add DT node for MCU NAVSS its components to get DMA working on AM654 > SoC. > > Signed-off-by: Grygorii Strashko > Signed-off-by: Vignesh R > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot,v4,4/7] dma: ti: add driver to K3 UDMA

2019-04-12 Thread Tom Rini
On Tue, Feb 05, 2019 at 05:31:24PM +0530, Vignesh R wrote: > The UDMA-P is intended to perform similar (but significantly upgraded) > functions > as the packet-oriented DMA used on previous SoC devices. The UDMA-P module > supports the transmission and reception of various packet types. > The UDM

Re: [U-Boot] [U-Boot,v4,2/7] soc: ti: k3: add navss ringacc driver

2019-04-12 Thread Tom Rini
On Tue, Feb 05, 2019 at 05:31:22PM +0530, Vignesh R wrote: > From: Grygorii Strashko > > The Ring Accelerator (RINGACC or RA) provides hardware acceleration to > enable straightforward passing of work between a producer and a consumer. > There is one RINGACC module per NAVSS on TI AM65x SoCs. >

Re: [U-Boot] [U-Boot, v4, 5/7] soc: keystone: Merge into ti specific directory

2019-04-12 Thread Tom Rini
On Tue, Feb 05, 2019 at 05:31:25PM +0530, Vignesh R wrote: > Merge drivers/soc/keystone/ into drivers/soc/ti/ > and convert CONFIG_TI_KEYSTONE_SERDES into Kconfig. > > Signed-off-by: Vignesh R > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP s

Re: [U-Boot] [U-Boot, v3, 3/3] am335x, guardian: Add support for the bosch guardian board

2019-04-12 Thread Tom Rini
On Mon, Feb 25, 2019 at 03:33:00PM +, Martyn Welch wrote: > From: Sjoerd Simons > > Add support for the Bosch Guardian board. > > CPU : AM335X-GP rev 2.1 > Model: Bosch AM335x Guardian > I2C: ready > DRAM: 256 MiB > NAND: 512 MiB > MMC: OMAP SD/MMC: 0 > > Signed-off-by: Sjoerd Simon

Re: [U-Boot] [U-Boot, v3, 01/13] arm64: dts: k3: Sync sdhci0 node from kernel

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:07PM +0530, Faiz Abbas wrote: > Sync the sdhci0 node from kernel. This changes the compatible that is > required to be there in the driver. Change the same for the SD card node > which is not yet supported in kernel. > > Also sync the main_pmx0 node as a side effect.

Re: [U-Boot] [U-Boot,v3,02/13] mmc: am654_mmc: Change driver name

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:08PM +0530, Faiz Abbas wrote: > This driver works with the sdhci controller present on TI's AM65x devices. > Change the name to make this clearer and match the compatible with > kernel. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini Applied to u-boot/master

Re: [U-Boot] [U-Boot, v3, 08/13] arm: dts: k3: Add phy specific properties to SD card node

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:14PM +0530, Faiz Abbas wrote: > With changes in the driver requiring phy related properties, > add the same for the SD card node to prevent breaking boot with > the driver update. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini Applied to u-boot/master, than

Re: [U-Boot] [U-Boot, v3, 1/3] Add support for the MT41K128M16JT125K memory modules

2019-04-12 Thread Tom Rini
On Mon, Feb 25, 2019 at 03:32:58PM +, Martyn Welch wrote: > From: Sjoerd Simons > > Add configuration for the MT41K128M16JT125K memory modules as used on the > Bosch Guardian device. > > Based on a patch by: > Govindaraji Sivanantham > > Signed-off-by: Sjoerd Simons > [checkpatch.pl

Re: [U-Boot] [U-Boot,v3,03/13] mmc: am654_sdhci: Remove quirks

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:09PM +0530, Faiz Abbas wrote: > The host controller works perfectly well without having to add any > quirks. Remove them. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [U-Boot, v3, 09/13] mmc: sdhci: Make set_ios_post() return int

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:15PM +0530, Faiz Abbas wrote: > Make set_ios_post() return int to faciliate error handling in > platform drivers. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [U-Boot, v3, 06/13] mmc: sdhci: Add support for sdhci-caps-mask

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:12PM +0530, Faiz Abbas wrote: > Add Support for masking some bits in the capabilities > register of a host controller. > > Also remove the redundant readl() into caps1. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- T

Re: [U-Boot] [U-Boot, v3, 07/13] mmc: sdhci: Make sdhci_set_clock() non static

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:13PM +0530, Faiz Abbas wrote: > The am654_sdhci driver needs to switch the clock off > before disabling its phy dll and needs to re-enable > the clock before enabling the phy again. > > Therefore, make the sdhci_set_clock() function accessible > in the am654_sdhci dr

Re: [U-Boot] [U-Boot, v3, 7/7] ARM: dts: k2g-ice: add dt node for netcp

2019-04-12 Thread Tom Rini
On Thu, Feb 21, 2019 at 12:02:07PM -0500, Murali Karicheri wrote: > This patch adds dt node for DP83867 phy used on K2G ICE board and > also enable netcp device nodes for the board. > > EVM hardware spec recommends to add 0.25 nsec delay in the tx > direction and 2.25 nsec delay in the rx directi

Re: [U-Boot] [U-Boot, v3, 13/13] mmc: am654_sdhci: Add a platform specific set_control_reg() callback

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:19PM +0530, Faiz Abbas wrote: > From: Faiz Abbas > > Add a platform specific set_control_reg() callback to help switch to > UHS speed modes. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Descript

Re: [U-Boot] [U-Boot, v3, 06/13] mmc: sdhci: Add support for sdhci-caps-mask

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:12PM +0530, Faiz Abbas wrote: > Add Support for masking some bits in the capabilities > register of a host controller. > > Also remove the redundant readl() into caps1. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- T

Re: [U-Boot] [U-Boot, v3, 04/13] regmap: Add API regmap_init_mem_index()

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:10PM +0530, Faiz Abbas wrote: > In device nodes with more than one entry in the reg property, > it is sometimes useful to regmap only of the entries. Add an > API regmap_init_mem_index() to facilitate this. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini App

Re: [U-Boot] [U-Boot, v2, 2/3] ARM: dts: dra71-evm: Correct evm_sd regulator max voltage

2019-04-12 Thread Tom Rini
On Fri, Apr 05, 2019 at 02:18:45PM +0530, Faiz Abbas wrote: > Correct vpo_sd_1v8_3v3 regulator max voltage to 3.3V > > Signed-off-by: Faiz Abbas > Reviewed-by: Keerthy Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v3, 2/7] ARM: k2g-gp-evm: update to rgmii pinmux configuration

2019-04-12 Thread Tom Rini
On Thu, Feb 21, 2019 at 12:02:02PM -0500, Murali Karicheri wrote: > This patch updates pinmux configuration for K2G GP EVM based on > data generated by the pinmux tool at > https://dev.ti.com/pinmux/app.html#/default > > Signed-off-by: Murali Karicheri > Reviewed-by: Lokesh Vutla Applied to u-

[U-Boot] doing anything about "bad" Kbuild configuration options?

2019-04-12 Thread Robert P. J. Day
only a few months ago, i jumped into a discussion regarding Kbuild config options that were defined in some Kconfig* file, but were unused anywhere in the source tree: http://u-boot.10912.n7.nabble.com/policy-regarding-unused-code-td351802.html#a351835 many years ago, i wrote a script to loc

Re: [U-Boot] [U-Boot, v3, 10/13] mmc: am654_sdhci: Add Support for PHY

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:16PM +0530, Faiz Abbas wrote: > Add support in the driver for handling phy specific registers. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [U-Boot, V3, 2/2] ARM: davinci: da850evm: Enable SPL_OF_CONTROL without PLATDATA

2019-04-12 Thread Tom Rini
On Mon, Feb 25, 2019 at 09:53:47PM -0600, Adam Ford wrote: > With the memory mapping giving us some more avialable RAM, this > updates the da850-evm-u-boot.dtsi to include the serial port, SPI > and Flash nodes along with some dependent nodes in the SPL dtb. > This also removes the platform data i

Re: [U-Boot] [U-Boot, PATCHv2, 1/2] ti: keystone2: Move CONFIG_ISW_ENTRY_ADDR to a common place

2019-04-12 Thread Tom Rini
On Tue, Mar 19, 2019 at 07:14:37AM -0400, Tom Rini wrote: > The ISW_ENTRY_ADDR Kconfig option under mach-omap2 isn't a SoC specific > notion but rather "where is our previous stage loaded in memory?" > option. Make use of this on ARCH_KEYSTONE rather than SPL_TEXT_BASE for > our HS builds that ar

Re: [U-Boot] [U-Boot, v3, 11/13] configs: am65x_evm: Enable CONFIG_REGMAP

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:17PM +0530, Faiz Abbas wrote: > Add Support for CONFIG_REGMAP. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailin

Re: [U-Boot] [U-Boot, v2, 1/4] board: ti: dra71: Add pinmux settings for NAND on DRA71x EVM

2019-04-12 Thread Tom Rini
On Wed, Feb 27, 2019 at 01:29:35PM +0530, Faiz Abbas wrote: > From: Franklin S Cooper Jr > > By default VOUT3 occupies the pins required for NAND. Therefore, create > a seperate entry that can be use to reconfigure these pins to work for > NAND. > > On the EVM SWITCH 8 pins 0 and 1 will be used

Re: [U-Boot] [U-Boot, v3, 12/13] mmc: sdhci: Add support for HOST_CONTROL2 and setting UHS timings

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:18PM +0530, Faiz Abbas wrote: > From: Faiz Abbas > > The HOST_CONTROL2 register is a part of SDHC v3.00 and not just specific > to arasan/zynq controllers. Add the same to sdhci.h. > > Also create a common API to set UHS timings in HOST_CONTROL2. > > Signed-off-by

Re: [U-Boot] [U-Boot, 03/11] net: ti: cpsw: Convert cpsw_platform_data to a pointer in cpsw_priv

2019-04-12 Thread Tom Rini
On Mon, Mar 18, 2019 at 01:54:33PM +0530, Faiz Abbas wrote: > Convert cpsw_platform_data to a pointer in cpsw_priv. Allocate it > dynamically and assign it as a part of eth_pdata. This helps in > isolating platform data handling and implementing platdata for SPL > in a board file. > > Signed-off-

Re: [U-Boot] [U-Boot, 1/5] firmware: Add support for querying msmc memory

2019-04-12 Thread Tom Rini
On Fri, Mar 08, 2019 at 11:47:32AM +0530, Lokesh Vutla wrote: > DMSC can use certain amount of msmc memory available in the > system. Also certain part of msmc memory can be marked as L3 > cache using board config. But users might not know what size > is being used and the remaining available msmc

Re: [U-Boot] [U-Boot, v3, 05/13] regmap: Add support for polling on a register

2019-04-12 Thread Tom Rini
On Tue, Feb 12, 2019 at 02:28:11PM +0530, Faiz Abbas wrote: > Add an API to continuously read a register until a condition is > satisfied or a timeout occurs. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signa

Re: [U-Boot] [U-Boot, v3, 2/3] env: Don't check CONFIG_ENV_OFFSET_REDUND for SPL build

2019-04-12 Thread Tom Rini
On Mon, Feb 25, 2019 at 03:32:59PM +, Martyn Welch wrote: > When booting using an SPL on am335x, if we want to support booting with > the boot ROM loader via USB (which uses RNDIS, making bootp and tftp > calls) we need to enable gadget eth in the SPL to load the main U-Boot > image. To enable

Re: [U-Boot] [U-Boot, v2, 3/4] configs: dra71x-evm: Add Support for NAND

2019-04-12 Thread Tom Rini
On Wed, Feb 27, 2019 at 01:29:37PM +0530, Faiz Abbas wrote: > Add NAND support to dra71x-evm defconfig > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@l

Re: [U-Boot] [U-Boot, v3, 4/7] ARM: k2g: add a workaround to reset the phy

2019-04-12 Thread Tom Rini
On Thu, Feb 21, 2019 at 12:02:04PM -0500, Murali Karicheri wrote: > This patch adds a workaround to reset the phy one time during boot > using GPIO0 pin 10 to make sure, the Phy latches the configuration > from the input pins correctly. > > Signed-off-by: Murali Karicheri > Acked-by: Joe Hershbe

Re: [U-Boot] am57xx_evm_defconfig: Enable configs to support QSPI boot

2019-04-12 Thread Tom Rini
On Fri, Feb 22, 2019 at 11:01:52AM +0530, Vignesh R wrote: > AM57xx IDK EVMs can boot out of QSPI. Enable configs to support QSPI > boot. Also enable configs for updating QSPI boot images over DFU. > > Tested on AM572x IDK EVM. > > Signed-off-by: Vignesh R > Reviewed-by: Tom Rini Applied to u

Re: [U-Boot] [U-Boot, v3, 3/7] net: netcp: add support for phy with rgmii ids

2019-04-12 Thread Tom Rini
On Thu, Feb 21, 2019 at 12:02:03PM -0500, Murali Karicheri wrote: > Enhance the netcp driver to support phys that can be configured > for internal delay (rgmii-id, rgmii-rxid, rgmii-txid) > > Signed-off-by: Murali Karicheri > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v2, 2/4] arm: dra7: Allow NAND to be enabled on DRA71x EVM.

2019-04-12 Thread Tom Rini
On Wed, Feb 27, 2019 at 01:29:36PM +0530, Faiz Abbas wrote: > From: Franklin S Cooper Jr > > If SW 8 pins 0 and 1 indicate that NAND should be enabled then > the pins pinmux must be reconfigured for NAND mode. > > Therefore, enable NAND by reconfiguring the pinmux. > > Signed-off-by: Franklin

Re: [U-Boot] [U-Boot, 07/11] board: ti: am335x: Add platdata for cpsw in SPL

2019-04-12 Thread Tom Rini
On Mon, Mar 18, 2019 at 01:54:37PM +0530, Faiz Abbas wrote: > The SPL image overflows when cpsw dt nodes are added and SPL_OF_CONTROL > is enabled. Use static platdata instead to save space. > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- Tom signature.asc Description: PG

Re: [U-Boot] [U-Boot, 02/11] net: ti: cpsw: Move cpsw_phy_sel() to _probe()

2019-04-12 Thread Tom Rini
On Mon, Mar 18, 2019 at 01:54:32PM +0530, Faiz Abbas wrote: > cpsw_phy_sel() is a configuration step that should not be in > ofdata_to_platdata(). Add phy_sel_compat to the cpsw_platform_data > structure so that it is accessible in _probe. Then move the call of > cpsw_phy_sel() to _probe. > > Sig

Re: [U-Boot] [U-Boot,10/11] configs: am335x_evm: Update VCI String

2019-04-12 Thread Tom Rini
On Mon, Mar 18, 2019 at 01:54:40PM +0530, Faiz Abbas wrote: > Update VCI string to keep it compatible with legacy test setups. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] ARM: am3517_evm: Add spl_start_uboot for Falcon Mode

2019-04-12 Thread Tom Rini
On Sun, Mar 31, 2019 at 09:18:29AM -0500, Adam Ford wrote: > When booting the am3517-evm, the following message appears: > SPL: Please implement spl_start_uboot() for your board > SPL: Direct Linux boot not active! > > This patch implements spl_start_uboot to clear this message > and allow device

Re: [U-Boot] [U-Boot, v2, 1/3] ARM: dts: dra7: Change pbias voltage to 3.3V

2019-04-12 Thread Tom Rini
On Fri, Apr 05, 2019 at 02:18:44PM +0530, Faiz Abbas wrote: > As per recent TRM[1], PBIAS cell on dra7 devices supports > 3.3v and not 3.0v as documented earlier. > > Update PBIAS regulator max voltage and the voltage written > in the driver to reflect this. > > [1] http://www.ti.com/lit/pdf/spr

Re: [U-Boot] [U-Boot, 5/5] configs: am65x_evm_a53: Enable CONFIG_OF_BOARD_SETUP

2019-04-12 Thread Tom Rini
On Fri, Mar 08, 2019 at 11:47:36AM +0530, Lokesh Vutla wrote: > Enable CONFIG_OF_BOARD_SETUP so that msmc sram dt nodes > are updated correctly. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, 09/11] configs: am335x_evm: Add Support for SPL_ETH

2019-04-12 Thread Tom Rini
On Mon, Mar 18, 2019 at 01:54:39PM +0530, Faiz Abbas wrote: > Add Support for booting from Ethernet. > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lis

Re: [U-Boot] [U-Boot, 04/11] net: ti: cpsw-common: Isolate getting syscon address from assigning macid

2019-04-12 Thread Tom Rini
On Mon, Mar 18, 2019 at 01:54:34PM +0530, Faiz Abbas wrote: > ti_cm_get_macid() is used to get a syscon node from the dt, read the > efuse address and then assign the macid read from the address. Divide > these two steps into separate functions one of which can be called from > ofdata_to_platdata(

Re: [U-Boot] [U-Boot, v3, 1/7] ARM: k2g-ice: Add pinmux support for rgmii interface

2019-04-12 Thread Tom Rini
On Thu, Feb 21, 2019 at 12:02:01PM -0500, Murali Karicheri wrote: > This add pinmux configuration for rgmii interface so that network > driver can be supported on K2G ICE boards. The pinmux configurations > for this are generated using the pinmux tool at > https://dev.ti.com/pinmux/app.html#/defau

Re: [U-Boot] [U-Boot,01/11] net: Add priv_pdata to eth_pdata

2019-04-12 Thread Tom Rini
On Mon, Mar 18, 2019 at 01:54:31PM +0530, Faiz Abbas wrote: > Add a priv member for eth_pdata for platform specific platform data. > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [U-Boot, v3, 5/7] ARM: dts: k2g-evm: remove unused phy-mode property from phy node

2019-04-12 Thread Tom Rini
On Thu, Feb 21, 2019 at 12:02:05PM -0500, Murali Karicheri wrote: > This patch removes the unused phy-mode property from the phy dt node. On > K2G, currently link-interface determines if phy is used or not and is > already set to use rgmii. So this is not needed. Besides phy-mode should > be added

Re: [U-Boot] [U-Boot, 2/5] arm: k3: Add a wrapper to get tisci handle

2019-04-12 Thread Tom Rini
On Fri, Mar 08, 2019 at 11:47:33AM +0530, Lokesh Vutla wrote: > Create a wrapper to get the ti sci handle. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-

Re: [U-Boot] armv7R: K3: am654: Trigger panic on DDR init failures

2019-04-12 Thread Tom Rini
On Mon, Mar 11, 2019 at 03:15:43PM -0500, Andreas Dannenberg wrote: > When initializing DDR from R5 SPL trigger U-Boot's panic facility > rather than simply returning from the board init function as there > is little point continuing code execution. Further, as panic implies > a board reset, so us

Re: [U-Boot] [U-Boot, v2, 3/3] mmc: omap_hsmmc: Set 3.3V for IO voltage

2019-04-12 Thread Tom Rini
On Fri, Apr 05, 2019 at 02:18:46PM +0530, Faiz Abbas wrote: > Pbias voltage should match the IO voltage set for the SD card. With the > latest pbias change to 3.3V, update the capabilities and IO voltages > settings to 3.3V. > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- T

Re: [U-Boot] [U-Boot, V3, 1/2] davinci: da850evm/omapl138-lcdk: Move BSS to SDRAM because SRAM is full

2019-04-12 Thread Tom Rini
On Mon, Feb 25, 2019 at 09:53:46PM -0600, Adam Ford wrote: > In order to fully support SPL_OF_CONTROL, we need BSS to be a bit > larger. This patch relocates BSS to SDRAM instead of SRAM which > is similar to how ARMv7 boards (like OMAP2+) do it. > > This means two new variables are required: > C

Re: [U-Boot] [U-Boot, v2, 4/4] configs: ti_omap5_common: Add NAND environment settings

2019-04-12 Thread Tom Rini
On Wed, Feb 27, 2019 at 01:29:38PM +0530, Faiz Abbas wrote: > Now that NAND is supported on DRA71x include various NAND environment > settings > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [U-Boot, 08/11] configs: am335x_evm: Reduce size of SPL

2019-04-12 Thread Tom Rini
On Mon, Mar 18, 2019 at 01:54:38PM +0530, Faiz Abbas wrote: > Make some room in SPL by getting rid of unnecessary configs. > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 6/7] k2g: config enable ti phy dp83867 for k2g

2019-04-12 Thread Tom Rini
On Thu, Feb 21, 2019 at 12:02:06PM -0500, Murali Karicheri wrote: > Enable ti phy dp83867 for k2g > > Signed-off-by: Murali Karicheri > Reviewed-by: Tom Rini > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [U-Boot, 3/5] arm: k3: Add support for updating msmc dt node

2019-04-12 Thread Tom Rini
On Fri, Mar 08, 2019 at 11:47:34AM +0530, Lokesh Vutla wrote: > Certain parts of msmc sram can be used by DMSC or can be > marked as L3 cache. Since the available size can vary, changing > DT every time the size varies might be painful. So, query this > information using TISCI cmd and fixup the DT

Re: [U-Boot] [U-Boot, 06/11] net: ti: cpsw: Enable DM_FLAG_PRE_RELOC

2019-04-12 Thread Tom Rini
On Mon, Mar 18, 2019 at 01:54:36PM +0530, Faiz Abbas wrote: > Add DM_FLAG_PRE_RELOC to make the driver probe in SPL. > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing

Re: [U-Boot] [U-Boot, 11/11] board: ti: am335x: Remove non DM_ETH code

2019-04-12 Thread Tom Rini
On Mon, Mar 18, 2019 at 01:54:41PM +0530, Faiz Abbas wrote: > With DM_ETH enabled in am335x devices, remove all the unused > non-DM code. > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [U-Boot, 05/11] net: ti: cpsw: Block off ofdata_to_platdata with OF_CONTROL

2019-04-12 Thread Tom Rini
On Mon, Mar 18, 2019 at 01:54:35PM +0530, Faiz Abbas wrote: > The ofdata_to_platdata function should not be called if OF_CONTROL is > not enabled because fdtdec_* calls will fail. Block the function with > OF_CONTROL > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- Tom sig

Re: [U-Boot] doing anything about "bad" Kbuild configuration options?

2019-04-12 Thread Robert P. J. Day
at risk of boring, i'll mention a couple more scripts i have for locating oddities or inconsistencies in the Kbuild structure, which people are welcome to play with. the first is called "find_badref_selects.sh", which specifically locates "select" directives in Kconfig files that are selectin

[U-Boot] [PATCH v3 4/7] arm: mach-k3: Add secure device support

2019-04-12 Thread Andrew F. Davis
K3 devices have High Security (HS) variants along with the non-HS already supported. Like the previous generation devices (OMAP/Keystone2) K3 supports boot chain-of-trust by authenticating and optionally decrypting images as they are unpacked from FIT images. Add support for this here. Signed-off-

Re: [U-Boot] [U-Boot, 4/5] board: ti: am65x: Enable fixing up msmc sram node

2019-04-12 Thread Tom Rini
On Fri, Mar 08, 2019 at 11:47:35AM +0530, Lokesh Vutla wrote: > Create a ft_board_setup() api that gets called as part of > DT fixup before jumping to kernel. In this ft_board_setup() > call fdt_fixup_msmc_ram that update msmc sram node. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master,

[U-Boot] [PATCH v3 5/7] arm: mach-k3: Add secure device build support

2019-04-12 Thread Andrew F. Davis
K3 HS devices require signed binaries for boot, use the SECDEV tools to sign the boot artifacts during build. Signed-off-by: Andrew F. Davis Reviewed-by: Tom Rini Reviewed-by: Andreas Dannenberg --- MAINTAINERS | 1 + arch/arm/mach-k3/config.mk| 25 ++

[U-Boot] [PATCH v3 3/7] firmware: ti_sci: Modify auth_boot TI-SCI API to match new version

2019-04-12 Thread Andrew F. Davis
SYSFW version 2019.01 introduces a slightly modified version of this API, add support for it here. Signed-off-by: Andrew F. Davis Reviewed-by: Tom Rini Reviewed-by: Andreas Dannenberg --- drivers/firmware/ti_sci.c | 25 - drivers/firmware/ti_sci.h

[U-Boot] [PATCH v3 1/7] arm: K3: Avoid use of MCU_PSRAM0 before SYSFW is loaded

2019-04-12 Thread Andrew F. Davis
On HS devices the 512b region of reset isolated memory called MCU_PSRAM0 is firewalled by default. Until SYSFW is loaded we cannot use this memory. It is only used to store a single value left at the end of SRAM by ROM that will be needed later. Save that value to a global variable stored in the .d

[U-Boot] [PATCH v3 2/7] firmware: ti_sci: Add support for firewall management

2019-04-12 Thread Andrew F. Davis
TI-SCI message protocol provides support for controlling the firewall configurations available in SoC. Introduce support for the set of TI-SCI message protocol APIs that provide us with this capability of controlling firewalls. Signed-off-by: Andrew F. Davis Reviewed-by: Tom Rini Reviewed-by: A

[U-Boot] [PATCH v3 0/7] AM65x HS device support

2019-04-12 Thread Andrew F. Davis
Hello all, This series brings up HS device support on the AM65x platform. Support for HS on K3 family devices is a bit different than previous devices but for the most part all that has been abstracted into the SECDEV package, allowing for a rather straight forward implementation here. Thanks, An

[U-Boot] [PATCH v3 7/7] doc: Update info on using K3 secure devices

2019-04-12 Thread Andrew F. Davis
Signed-off-by: Andrew F. Davis Reviewed-by: Tom Rini Reviewed-by: Andreas Dannenberg --- doc/README.ti-secure | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/doc/README.ti-secure b/doc/README.ti-secure index 76950253ac..27c0eaa77f 100644 --- a/doc/READM

[U-Boot] [PATCH v3 6/7] configs: Add configs for AM65x High Security EVM

2019-04-12 Thread Andrew F. Davis
Add new defconfig files for the AM65x High Security EVM. This defconfigs are the same as for the non-secure part, except for: CONFIG_TI_SECURE_DEVICE option set to 'y' CONFIG_FIT_IMAGE_POST_PROCESS option set to 'y' CONFIG_SPL_FIT_IMAGE_POST_PROCESS option set to 'y' Signed-off-by: An

Re: [U-Boot] [U-Boot,v2,0/7] AM65x HS device support

2019-04-12 Thread Andrew F. Davis
On 4/12/19 12:27 PM, Tom Rini wrote: > On Thu, Feb 21, 2019 at 04:35:05PM -0600, Andrew F. Davis wrote: > >> Hello all, >> >> This series brings up HS device support on the AM65x platform. Support >> for HS on K3 family devices is a bit different than previous devices >> but for the most part all

Re: [U-Boot] [PATCH] [U-boot]: Change FDT memory typpe from runtime data to acpi reclaim

2019-04-12 Thread Heinrich Schuchardt
On 4/11/19 10:50 PM, Ard Biesheuvel wrote: On Thu, 11 Apr 2019 at 12:59, Heinrich Schuchardt wrote: On 4/11/19 9:41 PM, Ilias Apalodimas wrote: Hi Heinrich, On 4/11/19 8:39 PM, Ilias Apalodimas wrote: Following Ard's suggestion: Runtime data sections are intended for data that is used by th

Re: [U-Boot] [PATCH] [U-boot]: Change FDT memory typpe from runtime data to acpi reclaim

2019-04-12 Thread Ard Biesheuvel
On Fri, 12 Apr 2019 at 10:16, Heinrich Schuchardt wrote: > > On 4/11/19 10:50 PM, Ard Biesheuvel wrote: > > On Thu, 11 Apr 2019 at 12:59, Heinrich Schuchardt > > wrote: > >> > >> On 4/11/19 9:41 PM, Ilias Apalodimas wrote: > >>> Hi Heinrich, > On 4/11/19 8:39 PM, Ilias Apalodimas wrote: > >

Re: [U-Boot] [PATCH] [U-boot]: Change FDT memory typpe from runtime data to acpi reclaim

2019-04-12 Thread Heinrich Schuchardt
On 4/12/19 7:24 PM, Ard Biesheuvel wrote: On Fri, 12 Apr 2019 at 10:16, Heinrich Schuchardt wrote: On 4/11/19 10:50 PM, Ard Biesheuvel wrote: On Thu, 11 Apr 2019 at 12:59, Heinrich Schuchardt wrote: On 4/11/19 9:41 PM, Ilias Apalodimas wrote: Hi Heinrich, On 4/11/19 8:39 PM, Ilias Apalod

Re: [U-Boot] [PATCH] [U-boot]: Change FDT memory typpe from runtime data to acpi reclaim

2019-04-12 Thread Ilias Apalodimas
Hi Heinrich, > > Hello Ilias, hello Ard, > > please, have a look at this patch: > > efi_loader: update virtual address in efi_mem_carve_out > https://lists.denx.de/pipermail/u-boot/2019-April/364937.html > > Possibly the bug reported here could have contributed the Linux crash > you experience

Re: [U-Boot] [PATCH] [U-boot]: Change FDT memory typpe from runtime data to acpi reclaim

2019-04-12 Thread Ard Biesheuvel
On Fri, 12 Apr 2019 at 10:44, Heinrich Schuchardt wrote: > > On 4/12/19 7:24 PM, Ard Biesheuvel wrote: > > On Fri, 12 Apr 2019 at 10:16, Heinrich Schuchardt > > wrote: > >> > >> On 4/11/19 10:50 PM, Ard Biesheuvel wrote: > >>> On Thu, 11 Apr 2019 at 12:59, Heinrich Schuchardt > >>> wrote: > >>

Re: [U-Boot] [PATCH] [U-boot]: Change FDT memory typpe from runtime data to acpi reclaim

2019-04-12 Thread Heinrich Schuchardt
On 4/12/19 7:36 PM, Ilias Apalodimas wrote: Hi Heinrich, Hello Ilias, hello Ard, please, have a look at this patch: efi_loader: update virtual address in efi_mem_carve_out https://lists.denx.de/pipermail/u-boot/2019-April/364937.html Possibly the bug reported here could have contributed the

[U-Boot] [PATCH] [U-boot]: Change FDT memory type from runtime data to boot services data

2019-04-12 Thread Ilias Apalodimas
Following Ard's suggestion: Runtime data sections are intended for data that is used by the runtime services implementation. Let's change the type to EFI_BOOT_SERVICES_DATA This also fixes booting of armv7 using efi and fdtcontroladdr Suggested-by: Ard Biesheuvel Signed-off-by: Ilias Apalodimas

Re: [U-Boot] ARM tools-only CROSS_COMPILE issues within Cygwin

2019-04-12 Thread Chris Renshaw
Just posting an update on the current Cygwin issues with U-Boot and the Android NDK. I do have NDK cross-compiles of tools-only working well from a Linux environment now but on Cygwin there continues to be some major compatibility issue with U-Boot's KBuild system and the Android NDK. Using th

[U-Boot] [PATCH] include: compiler: fix tools-only compiles on Cygwin and with the Android NDK on Linux

2019-04-12 Thread Chris Renshaw
Hi again, I am submitting this patch with some easy fixes for the ongoing broken compiling U-Boot tools-only on Cygwin and cross-compiling with the Android NDK on Linux. The added __kernel_* definitions in posix_types.h come from mainline so should be safe for inclusion: https://github.com/torv

[U-Boot] [PATCH] i2c: mxc: Hide kconfig based control in DM_I2C mode

2019-04-12 Thread Trent Piepho
These options only apply when not using DM_I2C. When using device trees, the dt will enable and control the speeds of the I2C controller(s) and these configuration options have no effect. So disable them in DM_I2C mode. Otherwise they show up as decoys, and make it look like one is enabling I2C

  1   2   3   >