[U-Boot] [PATCH 3/4] board: at91sam9x5ek: enable early debug UART

2017-02-02 Thread Wenyou Yang
Enable early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang --- board/atmel/at91sam9x5ek/at91sam9x5ek.c | 14 ++ configs/at91sam9x5ek_dataflash_defconfig | 6 ++ configs/at91sam9x5ek_mmc_defconfig | 6 +

[U-Boot] [PATCH 4/4] configs: at91sam9x5ek: move SYS_NO_FLASH to defconfig

2017-02-02 Thread Wenyou Yang
Move CONFIG_SYS_NO_FLASH to the configs/sama5d4*_defconfig file. Signed-off-by: Wenyou Yang --- configs/at91sam9x5ek_dataflash_defconfig | 1 + configs/at91sam9x5ek_mmc_defconfig | 1 + configs/at91sam9x5ek_nandflash_defconfig | 1 + configs/at91sam9x5ek_spiflash_defconfig | 1 + include

[U-Boot] [PATCH 0/4] board: at91sam9x5ek: convert board to support DM and DT

2017-02-02 Thread Wenyou Yang
The purpose of the patch set is to convert the board to support Driver Model and Device Tree. Wenyou Yang (4): board: at91sam9x5ek: move config options to defconfig board: at91sam9x5ek: clean up code board: at91sam9x5ek: enable early debug UART configs: at91sam9x5ek: move SYS_NO_FLASH to

[U-Boot] [PATCH 2/4] board: at91sam9x5ek: clean up code

2017-02-02 Thread Wenyou Yang
Since the introduction of the pinctrl and clk driver and the dts file, remove unneeded hard coded related code from the board file Signed-off-by: Wenyou Yang --- board/atmel/at91sam9x5ek/at91sam9x5ek.c | 68 - 1 file changed, 68 deletions(-) diff --git a/board/a

[U-Boot] [PATCH 1/4] board: at91sam9x5ek: move config options to defconfig

2017-02-02 Thread Wenyou Yang
Enable CONFIG_CLK and CONFIG_PINCTRL to support at91 clock driver and at91 pinctrl driver. Move some config options to configs/sama5d4ek_*_defconfig, and make the drivers, spi, emac, gpio, serial and ehci usb to support the driver model. Due to the limitation of internal SRAM size, disable the SP

[U-Boot] [PATCH] ARM: dts: at91: add device tree files for at91sam9x5ek

2017-02-02 Thread Wenyou Yang
The device tree source files of at91sam9x5ek board are copied from the Linux kernel, do the changes below. - Add the reg property for the pinctrl node. - Move the gpio (pioA, pioB, pioC ...) nodes as the pinctrl's slibling nodes, instead of the child nodes. - Change the compatible of the spi

[U-Boot] [PATCH] clk: at91: pmc: align the at91 pmc's compatibles

2017-02-02 Thread Wenyou Yang
Align the at91 pmc's compatibles with Kernel's. Signed-off-by: Wenyou Yang --- drivers/clk/at91/pmc.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/clk/at91/pmc.c b/drivers/clk/at91/pmc.c index 76ba91af81..3a346c5133 100644 --- a/drivers/clk/at91/pmc.c +++ b/drivers/clk/at91

Re: [U-Boot] [PATCH] drivers: net: phy: atheros: apply the previous register setting for AR8031 to fix the voltage peak issue

2017-02-02 Thread Sekhar Nori
On Friday 03 February 2017 02:53 AM, ken wrote: > Apply the previous setting for the reserved bits in SetDes Test and System > Mode Control register > to avoid the voltage peak issue while we do the IEEE PHY comformance test > > Signed-off-by: ken Lin > Tested on Advantech DMS-BA16 board > Test

Re: [U-Boot] [RFC PATCH] mmc: omap_hsmmc: convert to use dm block devies

2017-02-02 Thread Vignesh R
On Friday 03 February 2017 03:48 AM, Strashko, Grygorii wrote: > Convert OMAP hsmmc driver to use driver-model block devices. > > Signed-off-by: Grygorii Strashko > --- > Hi All, > > First of all, sorry if my questions/problems are looks dumb, I'm very new > with u-boot. > > This is my attam

[U-Boot] [PATCH v4] dm/mmc: gen_atmel_mci: Add driver model support for mci

2017-02-02 Thread Wenyou Yang
Add the driver model support for Atmel mci while retaining the existing legacy code. This allows the driver to support boards that have converted to driver model as well as those that have not. Signed-off-by: Wenyou Yang --- Changes in v4: - Remove unneeded #ifdef CONFIG_DM_MMC. Changes in v3:

Re: [U-Boot] [PATCH 1/2] board: ge: bx50v3: fix AR8033 reset timing issue

2017-02-02 Thread Fabio Estevam
On Wed, Feb 1, 2017 at 5:59 PM, ken wrote: > Add the delay (10ms) to ensure the clock is stable and to meet the > clock-to-reset(1ms) requirement recommended in the AR8033 datasheet > --- Your Signed-off-by is missing. ___ U-Boot mailing list U-Boot@l

Re: [U-Boot] [RESEND] video: bcm2835: add support for reading from the video-mode environment variable

2017-02-02 Thread Eric Anholt
Stephen Warren writes: > On 01/13/2017 04:48 AM, Brian Masney wrote: >> On Thu, Jan 12, 2017 at 11:47:48AM -0700, Stephen Warren wrote: >>> On 01/12/2017 11:32 AM, Brian Masney wrote: On Thu, Jan 12, 2017 at 11:02:14AM -0700, Stephen Warren wrote: > On 01/12/2017 01:57 AM, Brian Masney w

[U-Boot] [RFC PATCH] mmc: omap_hsmmc: convert to use dm block devies

2017-02-02 Thread Grygorii Strashko
Convert OMAP hsmmc driver to use driver-model block devices. Signed-off-by: Grygorii Strashko --- Hi All, First of all, sorry if my questions/problems are looks dumb, I'm very new with u-boot. This is my attampt to enable CONFIG_BLK on OMAP platforms which is blocked now by omap_hsmmc driver.

Re: [U-Boot] [RFC] drivers: net: phy: atheros: apply the previous register setting for AR8031 to fix the voltage peak issue

2017-02-02 Thread Joe Hershberger
On Wed, Feb 1, 2017 at 1:55 PM, ken wrote: > Apply the previous setting for the reserved bits in SetDes Test and System > Mode Control register > to avoid the voltage peak issue while we do the IEEE PHY comformance test > --- > drivers/net/phy/atheros.c | 6 ++ > 1 file changed, 6 insertion

Re: [U-Boot] Intel e1000 PHY HW reset timeout reasons?

2017-02-02 Thread Kostya Porotchkin
Hi, Joe, Thank you for your response! Actually I tried to increase the after-reset delay up to 500mS and even to 1000mS, but got the same result. It looks like I hit a corner case when the u-boot e1000 driver expects semaphore release from the e1000 FW and it does not happen for some reason. I

Re: [U-Boot] [PATCH v5 11/11] arm: dts: Add MAINTAINERS file

2017-02-02 Thread Jagan Teki
On Thursday 02 February 2017 09:09 PM, Tom Rini wrote: On Thu, Feb 02, 2017 at 03:47:41PM +0100, Jagan Teki wrote: From: Jagan Teki Few of the dts files in arm are not maintained by specific arm maintainer, so add MAINTAINERS file at arch/arm/dts/ and update it wrt specific maintainer. Cc: T

Re: [U-Boot] [PATCH 1/5][v7] arch: powerpc: Move CONFIG_FSL_IFC to Kconfig

2017-02-02 Thread Prabhakar Kushwaha
> -Original Message- > From: york sun > Sent: Tuesday, January 31, 2017 11:02 PM > To: Prabhakar Kushwaha ; u- > b...@lists.denx.de > Subject: Re: [PATCH 1/5][v7] arch: powerpc: Move CONFIG_FSL_IFC to Kconfig > > On 01/31/2017 01:27 AM, Prabhakar Kushwaha wrote: > > Enable IFC from Kconfi

Re: [U-Boot] [PATCH v3 2/3] mmc: meson: add MMC driver for Meson GX (S905)

2017-02-02 Thread Andreas Färber
Am 02.02.2017 um 20:41 schrieb Heiner Kallweit: > Am 02.02.2017 um 20:33 schrieb Karsten Merker: >> On Thu, Feb 02, 2017 at 08:10:54PM +0100, Heiner Kallweit wrote: >>> Am 31.01.2017 um 14:24 schrieb Jaehoon Chung: On 01/28/2017 05:55 AM, Heiner Kallweit wrote: > This driver implements MMC

Re: [U-Boot] [PATCH v5 11/11] arm: dts: Add MAINTAINERS file

2017-02-02 Thread Tom Rini
On Thu, Feb 02, 2017 at 03:47:41PM +0100, Jagan Teki wrote: > From: Jagan Teki > > Few of the dts files in arm are not maintained by specific > arm maintainer, so add MAINTAINERS file at arch/arm/dts/ and > update it wrt specific maintainer. > > Cc: Tom Rini > Cc: Stefano Babic > Cc: Michael

Re: [U-Boot] [PATCH v3 2/3] mmc: meson: add MMC driver for Meson GX (S905)

2017-02-02 Thread Heiner Kallweit
Am 02.02.2017 um 20:33 schrieb Karsten Merker: > On Thu, Feb 02, 2017 at 08:10:54PM +0100, Heiner Kallweit wrote: >> Am 31.01.2017 um 14:24 schrieb Jaehoon Chung: >>> On 01/28/2017 05:55 AM, Heiner Kallweit wrote: This driver implements MMC support on Meson GX (S905) based systems. It's b

[U-Boot] [PATCH v5 2/3] mmc: meson: add MMC driver for Meson GX (S905)

2017-02-02 Thread Heiner Kallweit
From: Carlo Caione This driver implements MMC support on Meson GX (S905) based systems. It's based on Carlo Caione's work, changes: - BLK support added - general refactoring Signed-off-by: Carlo Caione Signed-off-by: Andreas Färber Signed-off-by: Heiner Kallweit --- v5: - addressed review comm

Re: [U-Boot] [PATCH v3 02/13] ARM: rename CONFIG_TIMER_CLK_FREQ to COUNTER_FREQUENCY

2017-02-02 Thread Jagan Teki
On Wed, Feb 1, 2017 at 2:35 AM, Andre Przywara wrote: > Many ARMv8 boards define a constant COUNTER_FREQUENCY to specify the > frequency of the ARM Generic Timer (aka. arch timer). > ARMv7 boards traditionally used CONFIG_TIMER_CLK_FREQ for the same > purpose. It seems useful to unify them. > Sinc

Re: [U-Boot] [PATCH v3 2/3] mmc: meson: add MMC driver for Meson GX (S905)

2017-02-02 Thread Heiner Kallweit
Am 31.01.2017 um 14:24 schrieb Jaehoon Chung: > On 01/28/2017 05:55 AM, Heiner Kallweit wrote: >> This driver implements MMC support on Meson GX (S905) based systems. >> It's based on Carlo Caione's work, changes: >> - BLK support added >> - general refactoring >> >> Signed-off-by: Carlo Caione >>

Re: [U-Boot] [PATCH v3 01/13] sunxi: fix ACTLR.SMP assembly routine

2017-02-02 Thread Jagan Teki
n Wed, Feb 1, 2017 at 2:35 AM, Andre Przywara wrote: > If we take the liberty to use register r0 to perform our bit set, we > should be nice enough to tell the compiler about it. > Add r0 to the clobber list to avoid potential mayhem. > > Signed-off-by: Andre Przywara > Acked-by: Maxime Ripard

[U-Boot] [PATCH v4 2/3] mmc: meson: add MMC driver for Meson GX (S905)

2017-02-02 Thread Carlo Caione
This driver implements MMC support on Meson GX (S905) based systems. It's based on Carlo Caione's work, changes: - BLK support added - general refactoring Signed-off-by: Carlo Caione Signed-off-by: Andreas Färber Signed-off-by: Heiner Kallweit --- v4: - addressed review comments - general refac

[U-Boot] [PATCH v4 3/3] odroid-c2: enable new Meson GX MMC driver in board defconfig

2017-02-02 Thread Heiner Kallweit
Enable new Meson GX MMC driver in Odroid C2 defconfig. Signed-off-by: Heiner Kallweit --- v4: - move GXBB_PINMUX definition from patch 3 to this one - remove pinmux configuration in board init and use pinctrl driver instead - rebased --- configs/odroid-c2_defconfig | 5 - 1 file changed, 4

[U-Boot] [PATCH v4 1/3] mmc: meson: update Meson GXBB / Odroid-C2 DT with latest Linux version

2017-02-02 Thread Heiner Kallweit
As a prerequisite for adding a Meson GX MMC driver update the Meson GXBB / Odroid-C2 device tree in Uboot with the latest version from Linux. Signed-off-by: Neil Armstrong Signed-off-by: Carlo Caione Signed-off-by: Andreas Färber Signed-off-by: Heiner Kallweit --- v4: - Added SoB of original a

Re: [U-Boot] Intel e1000 PHY HW reset timeout reasons?

2017-02-02 Thread Joe Hershberger
Hi Kostya, On Wed, Dec 14, 2016 at 10:51 AM, Kostya Porotchkin wrote: > Hello, > > I am currently working on u-boot mainline code supporting Marvell > Armada armv8 platforms (80x0, 70x0, 37x0). > During this coding and testing cycles I found a very strange issue > related to u-boot e1000 network

Re: [U-Boot] [RESEND PATCH] net: phy: dp83867: add support for MAC impedance configuration

2017-02-02 Thread Joe Hershberger
On Tue, Jan 24, 2017 at 11:15 AM, Grygorii Strashko wrote: > From: Mugunthan V N > > Add support for programmable MAC impedance configuration and > fix typo in DT impedance parameters names. > > Signed-off-by: Mugunthan V N > Signed-off-by: Grygorii Strashko Acked-by: Joe Hershberger

[U-Boot] [PATCH] armv8: Fix MMU table page descriptor

2017-02-02 Thread York Sun
Page descriptor uses different format than block descriptor. Both bit 1 and 0 must be set to indicate a valid page. Signed-off-by: York Sun CC: Alexander Graf --- This issue didn't reveal itself unless we use MMU tables down to page size. arch/arm/cpu/armv8/cache_v8.c| 2 +- arch/arm/inclu

Re: [U-Boot] [RFC PATCH v3 10/11] net: e1000 enable multicast reception

2017-02-02 Thread Joe Hershberger
On Wed, Jan 25, 2017 at 3:56 AM, Chris Packham wrote: > IPv6 neighbor discovery uses various multicast addresses to send the > request and receive the response. For neighbor discovery to work > properly in U-boot the Ethernet device needs to support joining/leaving > various L2 multicast groups or

Re: [U-Boot] [RFC PATCH v3 05/11] net: IPv6 skeleton and environment variables

2017-02-02 Thread Joe Hershberger
On Wed, Jan 25, 2017 at 3:56 AM, Chris Packham wrote: > Create net6.c and add CONFIG_NET6 to Kconfig/Makefile. Also add > support for the following environment variables: > - ip6addr > - gateway6 > - serverip6 > > Signed-off-by: Chris Packham > --- > > Changes in v3: None > Changes in v2: > -

Re: [U-Boot] [PATCH 2/2] net: gem: Use wait_for_bit() instead of private mdio_wait()

2017-02-02 Thread Joe Hershberger
On Mon, Dec 12, 2016 at 2:58 AM, Michal Simek wrote: > Using generic wait_for_bit() implementation instead of > using private wait function. > > Signed-off-by: Michal Simek Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de http://

Re: [U-Boot] [RFC] drivers: net: phy: atheros: apply the previous register setting for AR8031 to fix the voltage peak issue

2017-02-02 Thread Joe Hershberger
On Wed, Feb 1, 2017 at 1:55 PM, ken wrote: > Apply the previous setting for the reserved bits in SetDes Test and System > Mode Control register > to avoid the voltage peak issue while we do the IEEE PHY comformance test Seems reasonable. Was this tested on HW? If so, please add a tested tag. T

Re: [U-Boot] [PATCH v3 2/3] net: phy: Add support for Marvell M88E1512

2017-02-02 Thread Joe Hershberger
On Mon, Dec 12, 2016 at 6:54 AM, Phil Edworthy wrote: > This device also works with the 88E1518 code, so we just adjust > the UID mask accordingly. > > Signed-off-by: Phil Edworthy Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] net: fec_mxc: Fix corruption of device tree blob.

2017-02-02 Thread Joe Hershberger
On Thu, Feb 2, 2017 at 5:11 AM, Daniel Strnad wrote: > Modifying content of dev->name leads to the device tree corruption > because it points to the node name located there. > > Signed-off-by: Daniel Strnad > Cc: Stefano Babic > Cc: Jagan Teki Acked-by: Joe Hershberger ___

Re: [U-Boot] [PATCH] drivers: net: cpsw: Fix reading of mac address for am43 SoCs

2017-02-02 Thread Joe Hershberger
On Tue, Jan 31, 2017 at 9:50 PM, Lokesh Vutla wrote: > cpsw driver tries to get macid for am43xx SoCs using the compatible > ti,am4372. But not all variants of am43x uses this complatible like > epos evm uses ti,am438x. So use a generic compatible ti,am43 to get > macid for all am43 based platform

Re: [U-Boot] [PATCH 07/14] net: core: Inform the user of the device MAC address

2017-02-02 Thread Joe Hershberger
Hi Olliver, On Fri, Dec 2, 2016 at 4:08 AM, Olliver Schinagl wrote: > Hey Joe, > > > > On 30-11-16 20:29, Joe Hershberger wrote: >> >> On Fri, Nov 25, 2016 at 9:30 AM, Olliver Schinagl >> wrote: >>> >>> In certain conditions we currently print the MAC address. For example a >>> warning when a ra

Re: [U-Boot] [PATCH] net: phy: vitesse: Fix cis8204 RGMII_ID code

2017-02-02 Thread Joe Hershberger
On Mon, Dec 12, 2016 at 9:27 AM, Phil Edworthy wrote: > Commit 79e86ccb3786c8b20004db3fa10a70049456f580 "vitesse: remove duplicated > argument to ||" correctly removed a redundant check. > > However, I believe that the original code was simply wrong, and should have > been checking against RGMII_I

Re: [U-Boot] [PATCH v2] net:phy:MSCC Add Support for VSC8530-VSC8531-VSC8540-VSC8541

2017-02-02 Thread Joe Hershberger
On Fri, Dec 9, 2016 at 4:15 PM, John Haechten wrote: > net:phy:MSCC Add Support for VSC8530-VSC8531-VSC8540-VSC8541 > > Signed-off-by: John Haechten Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/li

[U-Boot] [PATCH v2 7/7] STIH410-B2260: Add STiH410-B2260 defconfig

2017-02-02 Thread patrice.chotard
From: Patrice Chotard Signed-off-by: Patrice Chotard --- configs/stih410-b2260_defconfig | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 configs/stih410-b2260_defconfig diff --git a/configs/stih410-b2260_defconfig b/configs/stih410-b2260_defconfig new file mod

[U-Boot] [PATCH v2 4/7] STiH410: Add STi SDHCI driver

2017-02-02 Thread patrice.chotard
From: Patrice Chotard Add SDHCI host controller found on STMicroelctronics SoCs Signed-off-by: Patrice Chotard --- arch/arm/Kconfig | 2 + arch/arm/include/asm/arch-stih410/sdhci.h | 69 +++ drivers/mmc/Kconfig | 7 ++ drivers/mmc

[U-Boot] [PATCH v2 1/7] arm: Add support for STMicroelectronics STiH410 soc

2017-02-02 Thread patrice.chotard
From: Patrice Chotard The STiH410 is an advanced multi-HD AVC processor with 3D graphics acceleration and 1.5-GHz ARM Cortex-A9 SMP CPU part of the stih407 family. It has wide connectivity including USB 3.0, PCI-e, SATA and gigabit ethernet. Signed-off-by: Patrice Chotard --- arch/arm/Kconfig

[U-Boot] [PATCH v2 3/7] STiH410: Add STi serial driver

2017-02-02 Thread patrice.chotard
From: Patrice Chotard This patch adds support to ASC (asynchronous serial controller) driver, which is basically a standard serial driver. This IP is common across other STMicroelectronics SoCs Signed-off-by: Patrice Chotard --- arch/arm/Kconfig | 2 + arch/arm/inclu

[U-Boot] [PATCH v2 5/7] STiH410: add STi pinctrl driver

2017-02-02 Thread patrice.chotard
From: Patrice Chotard Add STMicroelectronics STiH410 pinctrl driver Signed-off-by: Patrice Chotard --- drivers/pinctrl/Kconfig | 10 ++ drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-sti.c | 315 ++ 3 files changed, 326 insertions(

[U-Boot] [PATCH v2 2/7] board: Add STMicroelectronics STiH410-B2260 support

2017-02-02 Thread patrice.chotard
From: Patrice Chotard This is a 96Board compliant board based on STiH410 SoC: - 1GB DDR - On-Board USB combo WiFi/Bluetooth RTL8723BU with PCB soldered antenna - Ethernet 1000-BaseT - SAtA - HDMI - 2 x USB2.0 type A - 1 x USB2.0 type micro-AB - SD card slot - High speed conn

[U-Boot] [PATCH v2 0/7] Add STMicroelectronics STiH410-B2260 board support

2017-02-02 Thread patrice.chotard
From: Patrice Chotard This board is a 96board based on STiH410 SoC. This series adds basic support with serial, mmc and pinctrl support. v2: _ fix remarks from Jaechon Chung on SDHCI patch _ fix remarks from Antonio Borneo on board patch _ replace some macro by U-boot generic's one

Re: [U-Boot] [PATCH 0/7] Add STMicroelectronics STiH410-B2260 board support

2017-02-02 Thread Patrice CHOTARD
Don't take care of this series, a correct one will be sent with the correct prefix On 02/02/2017 06:00 PM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This board is a 96board based on STiH410 SoC. > This series adds basic support with serial, mmc and pinctrl support. > > v2: _ fix

[U-Boot] [PATCH 5/7] STiH410: add STi pinctrl driver

2017-02-02 Thread patrice.chotard
From: Patrice Chotard Add STMicroelectronics STiH410 pinctrl driver Signed-off-by: Patrice Chotard --- drivers/pinctrl/Kconfig | 10 ++ drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-sti.c | 315 ++ 3 files changed, 326 insertions(

[U-Boot] [PATCH 0/7] Add STMicroelectronics STiH410-B2260 board support

2017-02-02 Thread patrice.chotard
From: Patrice Chotard This board is a 96board based on STiH410 SoC. This series adds basic support with serial, mmc and pinctrl support. v2: _ fix remarks from Jaechon Chung on SDHCI patch _ fix remarks from Antonio Borneo on board patch _ replace some macro by U-boot generic's one

[U-Boot] [PATCH 4/7] STiH410: Add STi SDHCI driver

2017-02-02 Thread patrice.chotard
From: Patrice Chotard Add SDHCI host controller found on STMicroelctronics SoCs Signed-off-by: Patrice Chotard --- arch/arm/Kconfig | 2 + arch/arm/include/asm/arch-stih410/sdhci.h | 69 +++ drivers/mmc/Kconfig | 7 ++ drivers/mmc

[U-Boot] [PATCH 3/7] STiH410: Add STi serial driver

2017-02-02 Thread patrice.chotard
From: Patrice Chotard This patch adds support to ASC (asynchronous serial controller) driver, which is basically a standard serial driver. This IP is common across other STMicroelectronics SoCs Signed-off-by: Patrice Chotard --- arch/arm/Kconfig | 2 + arch/arm/inclu

[U-Boot] [PATCH 2/7] board: Add STMicroelectronics STiH410-B2260 support

2017-02-02 Thread patrice.chotard
From: Patrice Chotard This is a 96Board compliant board based on STiH410 SoC: - 1GB DDR - On-Board USB combo WiFi/Bluetooth RTL8723BU with PCB soldered antenna - Ethernet 1000-BaseT - SAtA - HDMI - 2 x USB2.0 type A - 1 x USB2.0 type micro-AB - SD card slot - High speed conn

[U-Boot] [PATCH 1/7] arm: Add support for STMicroelectronics STiH410 soc

2017-02-02 Thread patrice.chotard
From: Patrice Chotard The STiH410 is an advanced multi-HD AVC processor with 3D graphics acceleration and 1.5-GHz ARM Cortex-A9 SMP CPU part of the stih407 family. It has wide connectivity including USB 3.0, PCI-e, SATA and gigabit ethernet. Signed-off-by: Patrice Chotard --- arch/arm/Kconfig

[U-Boot] [PATCH v3 15/15] i.MX6Q: isiot: Switch the mmc env based on devno

2017-02-02 Thread Jagan Teki
From: Jagan Teki Add board_mmc_get_env_dev Switch the mmc env based on the mmc devno, instead of separately defining a config item in include/configs using board_mmc_get_env_dev - devno 0: sd/esd - devno 1: mmc/emmc Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan

[U-Boot] [PATCH v3 09/15] i.MX6UL: isiot: Switch the mmc env based on devno

2017-02-02 Thread Jagan Teki
From: Jagan Teki Add board_mmc_get_env_dev Switch the mmc env based on the mmc devno, instead of separately defining a config item in include/configs using board_mmc_get_env_dev - devno 0: sd/esd - devno 1: mmc/emmc Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan

[U-Boot] [PATCH v3 11/15] imx6: icorem6_rqs: Update SPL board boot order for eMMC

2017-02-02 Thread Jagan Teki
SPL mmc device index is get based on the boot device, like - BOOT_DEVICE_MMC1 for mmc device 0 - BOOT_DEVICE_MMC2 for mmc device 1 Currently BOOT_DEVICE_MMC1 is setting both SD/eSD and MMC/eMMC boot devices in i.MX, So u-boot is loading from mmc device 0 even "if the board booting from SD/eSD or M

[U-Boot] [PATCH v3 14/15] i.MX6Q: icorem6_rqs: Add mmc_late_init

2017-02-02 Thread Jagan Teki
From: Jagan Teki Let the runtime code can set the mmcdev and mmcroot based on the devno using mmc_get_env_dev instead of defining separately in build-time configs using mmc_late_init func. Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- board/engicam/ic

[U-Boot] [PATCH v3 12/15] imx6: icorem6_rqs: Add eMMC boot support

2017-02-02 Thread Jagan Teki
From: Jagan Teki Boot from eMMC: -- U-Boot SPL 2017.01-00318-g8e243f8 (Jan 26 2017 - 11:53:21) Trying to boot from MMC2 U-Boot 2017.01-00318-g8e243f8 (Jan 26 2017 - 11:53:21 +0100) CPU: Freescale i.MX6D rev1.2 at 792 MHz Reset cause: POR Model: Engicam i.CoreM6 Quad/Dual RQS Start

[U-Boot] [PATCH v3 13/15] i.MX6Q: icorem6_rqs: Add modeboot env via board_late_init

2017-02-02 Thread Jagan Teki
From: Jagan Teki Add runtime, modeboot env which is setting mmcboot based on the bootdevice so-that conditional macros for MMC via CONFIG_BOOTCOMMAND should be avoided in config files. Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- board/engicam/icorem

[U-Boot] [PATCH v3 10/15] arm: dts: imx6qdl-icore-rqs: Add eMMC node

2017-02-02 Thread Jagan Teki
Add usdhc4 node, which is eMMC for Engicam i.CoreM6 RQS modules. eMMC Log: icorem6qdl-rqs> mmc dev 1 switch to partitions #0, OK mmc1(part 0) is current device icorem6qdl-rqs> mmcinfo Device: FSL_SDHC Manufacturer ID: fe OEM: 14e Name: MMC04 Tran Speed: 5200 Rd Block Len: 512 MMC vers

[U-Boot] [PATCH v3 06/15] i.MX6UL: isiot: Add eMMC boot support

2017-02-02 Thread Jagan Teki
From: Jagan Teki Boot from eMMC: -- U-Boot SPL 2017.01-00314-gd0cd9cd-dirty (Jan 25 2017 - 13:25:27) Trying to boot from MMC2 U-Boot 2017.01-00314-gd0cd9cd-dirty (Jan 25 2017 - 13:25:27 +0100) CPU: Freescale i.MX6UL rev1.1 528 MHz (running at 396 MHz) CPU: Industrial temperature

[U-Boot] [PATCH v3 07/15] i.MX6UL: isiot: Add modeboot env via board_late_init

2017-02-02 Thread Jagan Teki
From: Jagan Teki Add runtime, modeboot env which is setting mmcboot, or nandboot based on the bootdevice so-that conditional macros b/w MMC and NAND for CONFIG_BOOTCOMMAND should be avoided in config files. Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki ---

[U-Boot] [PATCH v3 08/15] i.MX6UL: isiot: Add mmc_late_init

2017-02-02 Thread Jagan Teki
From: Jagan Teki Let the runtime code can set the mmcdev and mmcroot based on the devno using mmc_get_env_dev instead of defining separately in build-time configs using mmc_late_init func. Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- board/engicam/is

[U-Boot] [PATCH v3 03/15] imx: Use IMX6_BMODE_* macros instead of numericals

2017-02-02 Thread Jagan Teki
Use meaningful macros IMX6_BMODE_*, instead of numerical number in boot mode detection code. Cc: Stefano Babic Cc: Tim Harvey Signed-off-by: Jagan Teki --- Changes for v3: - Update IMX6_BMODE_* shift macros with real number instead of bitops - %s/IMX6_BMODE_SERIAL/IMX6_BMODE_SERIAL_ROM - Assign

[U-Boot] [PATCH v3 05/15] imx6: isiotmx6ul: Update SPL board boot order for eMMC

2017-02-02 Thread Jagan Teki
From: Jagan Teki SPL mmc device index is get based on the boot device, like - BOOT_DEVICE_MMC1 for mmc device 0 - BOOT_DEVICE_MMC2 for mmc device 1 Currently BOOT_DEVICE_MMC1 is setting both SD/eSD and MMC/eMMC boot devices in i.MX, So u-boot is loading from mmc device 0 even "if the board booti

[U-Boot] [PATCH v3 04/15] imx6: Add src_base structure define macro

2017-02-02 Thread Jagan Teki
Instead of initializing 'struct src' to SRC_BASE_ADDR on every function better to have global define macro. Cc: Stefano Babic Signed-off-by: Jagan Teki --- arch/arm/imx-common/init.c | 6 ++ arch/arm/imx-common/spl.c | 3 +-- arch/arm/include/asm/arch-mx6/

[U-Boot] [PATCH v3 01/15] imx6: Add imx6_src_get_boot_mode

2017-02-02 Thread Jagan Teki
For i.MX6, the bootmode determine code is part of spl_boot_device, but there is might be a possibility for other part the code need to check the desired boot mode for adding new functionalities like modeboot env variable, or changing boot order etc. So introduced imx6_src_get_boot_mode which actua

[U-Boot] [PATCH v3 02/15] imx: spl: Update NAND bootmode detection bit

2017-02-02 Thread Jagan Teki
BOOT_CFG1[7:4] the NAND boot mode selection is done only when BOOT_CFG1[7] is 1 hence update the NAND boot mode detection bit case. This information available on Table 8-11. NAND Boot eFUSE Descriptions, from IMX6DQRM. Cc: Stefano Babic Cc: Tim Harvey Signed-off-by: Jagan Teki --- arch/arm/imx

[U-Boot] [PATCH v3 00/15] imx6: Engicam i.CoreM6/Is.IoT eMMC boot support

2017-02-02 Thread Jagan Teki
From: Jagan Teki Changes for v3: - Update IMX6_BMODE_* shift macros with real number instead of bitops - %s/IMX6_BMODE_SERIAL/IMX6_BMODE_SERIAL_ROM - Assign enums with numbers so-that it can easy to see same in RM - Update board MAINTAINERS file with imx6ul-isiot-emmc.dts file Changes for v2: -

[U-Boot] [PATCH v5 04/11] imx6: isiotmx6ul: Add I2C support

2017-02-02 Thread Jagan Teki
From: Jagan Teki Add I2C support for Engicam Is.IoT MX6UL module. isiotmx6ul> i2c bus Bus 0: i2c@021a Bus 1: i2c@021a4000 isiotmx6ul> i2c dev 0 Setting bus to 0 isiotmx6ul> i2c dev Current bus is 0 isiotmx6ul> i2c speed 10 Setting bus speed to 10 Hz isiotmx6ul> i2c probe Valid chip

[U-Boot] [PATCH v5 02/11] arm: imx6ul: Add Engicam Is.IoT MX6UL Starter Kit initial support

2017-02-02 Thread Jagan Teki
From: Jagan Teki Boot from MMC: - U-Boot SPL 2017.01-rc2-gba3c151-dirty (Jan 02 2017 - 16:59:33) Trying to boot from MMC1 U-Boot 2017.01-rc2-gba3c151-dirty (Jan 02 2017 - 16:59:33 +0100) CPU: Freescale i.MX6UL rev1.1 528 MHz (running at 396 MHz) CPU: Industrial temperature grade

[U-Boot] [PATCH v5 01/11] configs: imx6: Don't define USDHC2_BASE_ADDR

2017-02-02 Thread Jagan Teki
From: Jagan Teki USDHC base address will assigned by SPL using fsl_esdhc_initialize and u-boot with devicetree, hence no remove base address assignment in config files. Cc: Matteo Lisi Cc: Michael Trimarchi Reviewed-by: Stefano Babic Signed-off-by: Jagan Teki --- include/configs/imx6qdl_ico

[U-Boot] [PATCH v5 10/11] i.MX6: engicam: Include dts files under MAINTAINERS

2017-02-02 Thread Jagan Teki
From: Jagan Teki dts files related to i.MX6 engicam boards are maintined under board, so include them under board/engicam/*/MAINTAINERS Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- board/engicam/geam6ul/MAINTAINERS | 1 + board/engicam/icorem6/MA

[U-Boot] [PATCH v5 09/11] imx6ul: isiotmx6ul: Enable I2C support

2017-02-02 Thread Jagan Teki
From: Jagan Teki Enable I2C support for Engicam Is.IoT NAND module. Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- configs/imx6ul_isiot_nand_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/imx6ul_isiot_nand_defconfig b/configs/

[U-Boot] [PATCH v5 11/11] arm: dts: Add MAINTAINERS file

2017-02-02 Thread Jagan Teki
From: Jagan Teki Few of the dts files in arm are not maintained by specific arm maintainer, so add MAINTAINERS file at arch/arm/dts/ and update it wrt specific maintainer. Cc: Tom Rini Cc: Stefano Babic Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- arch/arm/dts/MAINTAINERS | 9 ++

[U-Boot] [PATCH v5 08/11] imx6: isiotmx6ul: Add nandboot env support

2017-02-02 Thread Jagan Teki
From: Jagan Teki Add config options for booting Linux from NAND in UBI format. Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- configs/imx6ul_isiot_nand_defconfig | 1 + include/configs/imx6ul_isiot.h | 32 +++- 2 files

[U-Boot] [PATCH v5 07/11] imx6: isiotmx6ul: Add NAND support

2017-02-02 Thread Jagan Teki
From: Jagan Teki Add NAND support for Engicam Is.IoT MX6UL board. Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/imx6ul-isiot-nand.dts| 50 + board/engicam/isiotmx6

[U-Boot] [PATCH v5 05/11] arm: dts: imx6ul-isiot: Add FEC node

2017-02-02 Thread Jagan Teki
From: Jagan Teki Add FEC node for Engicam Is.IoT MX6UL module. Cc: Matteo Lisi Cc: Michael Trimarchi Reviewed-by: Stefano Babic Signed-off-by: Jagan Teki --- arch/arm/dts/imx6ul-isiot.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/dts/imx6ul-isiot.

[U-Boot] [PATCH v5 06/11] imx6: isiotmx6ul: Add FEC support

2017-02-02 Thread Jagan Teki
From: Jagan Teki Add FEC support for Engicam Is.IoT MX6UL module. Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- arch/arm/cpu/armv7/mx6/Kconfig | 1 + configs/imx6ul_isiot_mmc_defconfig | 3 +++ include/configs/imx6ul_isiot.h | 10 ++

[U-Boot] [PATCH v5 03/11] arm: dts: imx6ul-isiot: Add I2C nodes

2017-02-02 Thread Jagan Teki
From: Jagan Teki Add I2C nodes for Engicam Is.IoT MX6UL module. Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- arch/arm/dts/imx6ul-isiot.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch/arm/dts/imx6ul-isiot.dt

[U-Boot] [PATCH v5 00/11] imx6ul: Add Engicam Is.IoT MX6UL support

2017-02-02 Thread Jagan Teki
From: Jagan Teki This patch set support Engicam Is.IoT MX6UL board support. Changes for v5: - Update ccgr_init so-that it can enable required clocks - Add new patch for dts files include under board MAINTAINERS - Add new patch for arch/arm/dts/MAINTAINERS file - Update 'Reviewed-by: Stefano Babi

Re: [U-Boot] [PATCH 4/7] STiH410: Add STi SDHCI driver

2017-02-02 Thread Patrice CHOTARD
Hi Jaehoon On 02/02/2017 09:00 AM, Jaehoon Chung wrote: > Hi, > > On 01/21/2017 01:05 AM, patrice.chot...@st.com wrote: >> From: Patrice Chotard > > I want to put minimum commit message at here. > You need to rework this on latest u-boot. > > Before sending patch, run checkpatch.pl at least. Also

[U-Boot] [PATCH] armv8: fsl-lsch3: Put TZASC configuration in hash define

2017-02-02 Thread Ashish Kumar
Number of TZASC instances may vary across NXP SoCs. So put TZASC configuration under instance specific defines. Signed-off-by: Prabhakar Kushwaha Signed-off-by: Ashish Kumar --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig| 8 arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S | 24 ++

Re: [U-Boot] [PATCH v3 13/13] sunxi: configs: add basic OrangePi PC 2 defconfig

2017-02-02 Thread André Przywara
On 02/02/17 12:27, Maxime Ripard wrote: > On Wed, Feb 01, 2017 at 01:36:10AM +, Andre Przywara wrote: >> The OrangePi PC 2 is a typical SBC with the 64-bit Allwinner H5 SoC. >> Add a (64-bit only) defconfig defining the required options to build >> the U-Boot proper. >> >> Signed-off-by: Andre

Re: [U-Boot] [PATCH v3 13/13] sunxi: configs: add basic OrangePi PC 2 defconfig

2017-02-02 Thread Maxime Ripard
On Wed, Feb 01, 2017 at 01:36:10AM +, Andre Przywara wrote: > The OrangePi PC 2 is a typical SBC with the 64-bit Allwinner H5 SoC. > Add a (64-bit only) defconfig defining the required options to build > the U-Boot proper. > > Signed-off-by: Andre Przywara Acked-by: Maxime Ripard Maxime -

Re: [U-Boot] [PATCH v3 12/13] sunxi: dts: add basic OrangePi PC 2 device tree file

2017-02-02 Thread Maxime Ripard
On Wed, Feb 01, 2017 at 01:36:09AM +, Andre Przywara wrote: > The OrangePi PC 2 is a typical SBC with the 64-bit Allwinner H5 SoC. > Create a new .dts file for it by including the (32-bit) H3 SoC .dtsi > and changing the differing components accordingly. > This is a preliminary device tree most

Re: [U-Boot] [PATCH v3 11/13] sunxi: introduce Allwinner H5 config option

2017-02-02 Thread Maxime Ripard
On Wed, Feb 01, 2017 at 01:36:08AM +, Andre Przywara wrote: > The Allwinner H5 Soc is bascially an H3 with high SRAM and ARMv8 cores. > As the peripherals and the pinmuxing are almost identical, we piggy > back on the shared MACH_SUN8I_H3_H5 config symbol. > > Signed-off-by: Andre Przywara A

Re: [U-Boot] [PATCH v3 05/13] sunxi: configs: merge sun9i and sun50i SPL memory definitions

2017-02-02 Thread Maxime Ripard
On Wed, Feb 01, 2017 at 01:36:02AM +, Andre Przywara wrote: > For some reason we were pretty conservative when defining the maximum > SPL size for the Allwinner A80(sun9i) SoC. > According to the manual the SRAM A1 is even 40KB, but the BROM > probably still has the 32 KiB load limit. For the s

[U-Boot] [PATCH] cmd: move CONFIG_CMD_UNZIP and CONFIG_CMD_ZIP to Kconfig

2017-02-02 Thread Masahiro Yamada
CONFIG_CMD_ZIP is not defined by any board. I am moving CONFIG_CMD_UNZIP to defconfig files except UniPhier SoC family. I am the maintainer of UniPhier platform, so I know "select CMD_UNZIP" is better for this platform. Signed-off-by: Masahiro Yamada Acked-by: Michal Simek --- Changes in v2:

Re: [U-Boot] [PATCH v4 16/16] sunxi: Add support for the CHIP Pro

2017-02-02 Thread Jhon Yi
Hi, Maxime, I want to test this series of patchs but don't see patch 1,4,6 and 16. Could you give a link of your developing repository and I can get the full series or send the missing one again? BTW, which repository is these patch against? I'm not very experienced with git and u-boot. Thank yo

[U-Boot] [PATCH] cmd: move CONFIG_CMD_UNZIP and CONFIG_CMD_ZIP to Kconfig

2017-02-02 Thread Masahiro Yamada
CONFIG_CMD_ZIP is not defined by any board. I am moving CONFIG_CMD_UNZIP to defconfig files except UniPhier SoC family. I am the maintainer of UniPhier platform, so I know "select CMD_ZIP" is better for this platform. Signed-off-by: Masahiro Yamada --- README

Re: [U-Boot] [PATCH] cmd: move CONFIG_CMD_UNZIP and CONFIG_CMD_ZIP to Kconfig

2017-02-02 Thread Stefan Roese
On 02.02.2017 09:23, Masahiro Yamada wrote: CONFIG_CMD_ZIP is not defined by any board. I am moving CONFIG_CMD_UNZIP to defconfig files except UniPhier SoC family. I am the maintainer of UniPhier platform, so I know "select CMD_UNZIP" is better for this platform. Signed-off-by: Masahiro Yamada

[U-Boot] howto spi nand

2017-02-02 Thread Dr . Matthias Schöpfer
Hi! I have a bsp with a patched u-boot Version 1.1.4. The board has nor and nand chip, both via spi. I have been able to access nor, but struggle with the spi nand. I have admittedly not much experience with nand device drivers and u-boot in that matter, but some understanding of linux kernel. I a

[U-Boot] Help defining an address in the environment

2017-02-02 Thread John, Michael
Hello, I'm trying to define an address value in the U-Boot environment and my issue is the macro needs expended and arithmetic done before stringification. I'm finding this to be difficult to define using just the preprocessor. Below is the code showing what I'm trying to do. Some other headers d

[U-Boot] [PATCH 1/2] board: ge: bx50v3: fix AR8033 reset timing issue

2017-02-02 Thread ken
Add the delay (10ms) to ensure the clock is stable and to meet the clock-to-reset(1ms) requirement recommended in the AR8033 datasheet --- board/ge/bx50v3/bx50v3.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/board/ge/bx50v3/bx50v3.c b/board/ge/bx50v3/bx50v3.c index 2fc11

[U-Boot] [RESEND PATCH v2] LS1021ATWR: Modify u-boot size for sd secure boot

2017-02-02 Thread Vinitha Pillai-B57223
From: Vinitha Pillai Raw uboot image is used in place of FIT image in secure boot. The maximum allocated size of raw u-boot bin is 1MB in memory map. Hence , CONFIG_SYS_MONITOR_LEN has been modified to 1 MB. The bootscript (BS_ADDR) and its header (BS_HDR_ADDR) offset on MMC have also been modi

Re: [U-Boot] [PATCH] cmd: move CONFIG_CMD_UNZIP and CONFIG_CMD_ZIP to Kconfig

2017-02-02 Thread Michal Simek
On 2.2.2017 06:35, Masahiro Yamada wrote: > CONFIG_CMD_ZIP is not defined by any board. I am moving > CONFIG_CMD_UNZIP to defconfig files except UniPhier SoC family. > > I am the maintainer of UniPhier platform, so I know "select CMD_ZIP" > is better for this platform. > > Signed-off-by: Masahir

[U-Boot] [PATCH] net: fec_mxc: Fix corruption of device tree blob.

2017-02-02 Thread Daniel Strnad
Modifying content of dev->name leads to the device tree corruption because it points to the node name located there. Signed-off-by: Daniel Strnad Cc: Stefano Babic Cc: Jagan Teki --- drivers/net/fec_mxc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/fec_mxc.c b/drivers/net/fe

[U-Boot] [RFC] drivers: net: phy: atheros: apply the previous register setting for AR8031 to fix the voltage peak issue

2017-02-02 Thread ken
Apply the previous setting for the reserved bits in SetDes Test and System Mode Control register to avoid the voltage peak issue while we do the IEEE PHY comformance test --- drivers/net/phy/atheros.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/phy/atheros.c b/drivers/ne

  1   2   >