Re: [U-Boot] [PATCH] imx: mx6sx: Disable ENET clock before switching clock parent

2016-11-14 Thread Stefano Babic
Hi Peng, On 08/10/2016 10:58, Peng Fan wrote: > From: "Ye.Li" > > Need to gate ENET clock when switching to a new clock parent, because > the mux is not glitchless. > > Signed-off-by: Peng Fan > Signed-off-by: Ye.Li > Cc: Stefano Babic > --- > arch/arm/cpu/armv7/mx6/clock.c | 5 + > 1 f

Re: [U-Boot] [PATCH] imx: mx6ull: update the REFTOP_VBGADJ setting

2016-11-14 Thread Stefano Babic
On 08/10/2016 11:03, Peng Fan wrote: > According to design team, we need to set REFTOP_VBGADJ > in PMU MISC0 according to the REFTOP_TRIM[2:0] fuse. the > actually table is as below: > > '000" - set REFTOP_VBGADJ[2:0] to 3'b000 > '001" - set REFTOP_VBGADJ[2:0] to 3'b001 > '010" - set REFTOP_

Re: [U-Boot] [PATCH 0/4] mx35, flea3: updates for the imx35 based flea3 board

2016-11-14 Thread Stefano Babic
On 17/10/2016 15:51, Heiko Schocher wrote: > post some small updates for the imx35 based flea3 board > - add DT support > - factorize SDRAM setup > - add GPIO setup > - adjust default environment > > > Heiko Schocher (2): > mx35: add DT support to flea3 board > mx35: adjust default environmen

Re: [U-Boot] [PATCH v7 0/5] net: fec_mxc: Convert to DM

2016-11-14 Thread Stefano Babic
Hi Jagan, On 19/10/2016 13:23, Jagan Teki wrote: > From: Jagan Teki > > This series convert fec_mxc to DM and tested both dm and > non-dm code and it is on top of [1] with u-boot-imx/master > branch. > > Changes for v7: > - Remove fec_set_dev_name in dm probe > > Changes for v6: > - Add Acked-

Re: [U-Boot] [PATCHv2 09/15] pci: layerscape: add pci driver based on DM

2016-11-14 Thread Z.Q. Hou
Hi Simon, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: 2016年11月12日 0:18 > To: Z.Q. Hou > Cc: U-Boot Mailing List ; Albert ARIBAUD > ; Prabhakar Kushwaha > ; Huan Wang-B18965 > ; Sumit Garg ; Ruchika > Gupta ; Saksham Jain > ; york

[U-Boot] [PATCH] drivers: net: keystone_net: add rgmii link type support when parsing dt

2016-11-14 Thread Mugunthan V N
Add support to detect RGMII link interface from link-interface device tree entry. Also rename the existing link type enums so that it provides meaning full interface like SGMII. Signed-off-by: Mugunthan V N --- Without this support there is a crash in K2G EVM tftp boot [1]. Verified this with tf

Re: [U-Boot] [U-Boot, v2, 2/5] ARM: bcm283x: Implement EFI RTS reset_system

2016-11-14 Thread Alexander Graf
> The rpi has a pretty simple way of resetting the whole system. All it takes > is to poke a few registers at a well defined location in MMIO space. > > This patch adds support for the EFI loader implementation to allow an OS to > reset and power off the system when we're outside of boot time. >

Re: [U-Boot] [U-Boot, v2, 5/5] bcm2835: Reserve the spin table in efi memory map

2016-11-14 Thread Alexander Graf
> Firmware provides a spin table on the raspberry pi. This table shouldn't > get overwritten by payloads, so we need to mark it as reserved. > > Signed-off-by: Alexander Graf Thanks, applied to efi-next Alex ___ U-Boot mailing list U-Boot@lists.denx.

Re: [U-Boot] [U-Boot, v2, 4/5] bcm2835 video: Map frame buffer as 32bpp

2016-11-14 Thread Alexander Graf
> To enable working efifb support, let's map the frame buffer as 32bpp > instead of 16bpp. > > Signed-off-by: Alexander Graf Thanks, applied to efi-next Alex ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [U-Boot, v2, 4/5] bcm2835 video: Map frame buffer as 32bpp

2016-11-14 Thread Alexander Graf
On 14/11/2016 10:23, Alexander Graf wrote: To enable working efifb support, let's map the frame buffer as 32bpp instead of 16bpp. Signed-off-by: Alexander Graf Thanks, applied to efi-next Alex Sorry, that was script magic going wild. Bcm2835 patches obviously have to go via Stephen's t

Re: [U-Boot] [PATCH 1/4] mmc: Retry the switch command

2016-11-14 Thread Hans de Goede
Hi, On 14-11-16 01:34, Jaehoon Chung wrote: On 11/14/2016 07:50 AM, Tom Rini wrote: On Sun, Nov 13, 2016 at 07:50:53PM +0100, Hans de Goede wrote: Hi, On 04-11-16 16:18, Maxime Ripard wrote: Some eMMC will fail at the first switch, but would succeed in a subsequent one. Make sure we try sev

Re: [U-Boot] [PATCH 4/4] rk3036: enable the vbus regulator when borad_init

2016-11-14 Thread Kever Yang
Hi Simon, On 11/12/2016 12:17 AM, Simon Glass wrote: Hi Kever, On 8 November 2016 at 03:13, Kever Yang wrote: enable the vbus for usb host in board_init(). Note 'borad_init' typo in subject. Will fix in next version. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk3036-board.

Re: [U-Boot] [PATCH 1/4] mmc: Retry the switch command

2016-11-14 Thread Jaehoon Chung
On 11/14/2016 06:56 PM, Hans de Goede wrote: > Hi, > > On 14-11-16 01:34, Jaehoon Chung wrote: >> On 11/14/2016 07:50 AM, Tom Rini wrote: >>> On Sun, Nov 13, 2016 at 07:50:53PM +0100, Hans de Goede wrote: Hi, On 04-11-16 16:18, Maxime Ripard wrote: > Some eMMC will fail at the f

Re: [U-Boot] [PATCH 4/4] sunxi: sina33: Enable the LCD

2016-11-14 Thread Jaehoon Chung
Hi Hans, On 11/14/2016 03:51 AM, Hans de Goede wrote: > Hi, > > On 04-11-16 16:18, Maxime Ripard wrote: >> The SinA33 comes with an optional 7" display. Enable it in the >> configuration. >> >> Signed-off-by: Maxime Ripard > > LGTM: > > Reviewed-by: Hans de Goede This patch is not on MMC sid

Re: [U-Boot] [PATCH RESEND 0/9] sunxi: chip: Enable the DIP auto-detection

2016-11-14 Thread Hans de Goede
Hi, On 08-11-16 11:19, Maxime Ripard wrote: The NextThing's C.H.I.P. can have expansion boards called DIPs. Those DIPs are connected through the external headers, and comes with an identification mechanism based on 1-Wire EEPROMs. That auto-detection works great, because 1-Wire allows the enume

Re: [U-Boot] [PATCH 2/7] mtd: nand: add support for the TC58NVG2S0H chip

2016-11-14 Thread Hans de Goede
Hi, On 08-11-16 17:21, Maxime Ripard wrote: From: Boris Brezillon Add the description of the Toshiba TC58NVG2S0H SLC nand to the nand_ids table so we can use the NAND ECC infos and the ONFI timings. Signed-off-by: Boris Brezillon Signed-off-by: Maxime Ripard Looks good to me: Reviewed-by

Re: [U-Boot] [PATCH 1/7] sunxi: Sync GR8 DTS and AXP209 with the kernel

2016-11-14 Thread Hans de Goede
Hi, On 08-11-16 17:21, Maxime Ripard wrote: Those DT will be part of 4.10, sync them so we can have our own config. Signed-off-by: Maxime Ripard Looks good to me: Reviewed-by: Hans de Goede Regards, Hans --- arch/arm/dts/Makefile |1 +- arch/arm/dts/axp209.dtsi

Re: [U-Boot] [PATCH 3/7] sunxi: Enable UBI and NAND support

2016-11-14 Thread Hans de Goede
Hi, On 08-11-16 17:21, Maxime Ripard wrote: From: Hans de Goede Enable the NAND and UBI support in the configuration header so that we can (finally) use it. Signed-off-by: Hans de Goede Signed-off-by: Maxime Ripard --- include/configs/sunxi-common.h | 26 ++ 1 file

Re: [U-Boot] [PATCH 4/7] tools: sunxi: Add spl image builder

2016-11-14 Thread Hans de Goede
Hi, On 08-11-16 17:21, Maxime Ripard wrote: This program generates raw SPL images that can be flashed on the NAND with the ECC and randomizer properly set up. Signed-off-by: Maxime Ripard Looks good to me: Reviewed-by: Hans de Goede Regards, Hans --- tools/.gitignore

Re: [U-Boot] [PATCH 5/7] nand: sunxi: Add options for the SPL NAND configuration

2016-11-14 Thread Hans de Goede
Hi, On 08-11-16 17:21, Maxime Ripard wrote: The SPL image needs to be built with a different ECC configuration than the U-Boot binary. Add Kconfig options with defaults to provide a value that should work for anyone, but is still configurable if needs be. Signed-off-by: Maxime Ripard Looks

Re: [U-Boot] [PATCH 6/7] scripts: sunxi: Build an raw SPL image

2016-11-14 Thread Hans de Goede
Hi, On 08-11-16 17:21, Maxime Ripard wrote: Introduce a new sunxi-spl-with-ecc.bin image with already the right header, ECC, randomizer and padding for the BROM to be able to read it. It needs to be flashed using a raw access to the NAND so that the controller doesn't change a thing to it, sinc

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

2016-11-14 Thread Hans de Goede
Hi, On 08-11-16 17:21, Maxime Ripard wrote: The CHIP Pro is a SoM that features the GR8 SIP, an AXP209, a BT/WiFi chip and a 512MiB SLC NAND. This it's an SLC NAND, it doesn't suffer the same drawbacks than found on the MLC NANDs, and we can enable it right away. Signed-off-by: Maxime Ripard

Re: [U-Boot] [PATCH 00/10] sunxi: Add basic PSCI support to enable SMP on the A80's first cluster

2016-11-14 Thread Chen-Yu Tsai
Hi, On Wed, Nov 9, 2016 at 6:38 PM, Hans de Goede wrote: > Hi, > > On 09-11-16 11:21, Chen-Yu Tsai wrote: >> >> Hi everyone, >> >> This series adds basic PSCI support for the A80 to enable SMP on the >> first cluster. This at least allows people to use more than one core. >> The term "basic" is u

Re: [U-Boot] [PATCH] Do not force master mode on unaffected PHY's

2016-11-14 Thread Hans de Goede
Hi, On 08-11-16 17:38, Olliver Schinagl wrote: The current implementation to force the PHY into master mode is to have a define which affects all realtek PHY's. This is not needed as the problem only exists in the RTL8211C chips. Let us thus turn this into a quirk flag instead. Series looks go

Re: [U-Boot] [PATCH 4/7] tools: sunxi: Add spl image builder

2016-11-14 Thread Hans de Goede
Hi, On 14-11-16 12:18, Hans de Goede wrote: Hi, On 08-11-16 17:21, Maxime Ripard wrote: This program generates raw SPL images that can be flashed on the NAND with the ECC and randomizer properly set up. Signed-off-by: Maxime Ripard Looks good to me: Reviewed-by: Hans de Goede Note this

Re: [U-Boot] [PATCH 6/7] scripts: sunxi: Build an raw SPL image

2016-11-14 Thread Hans de Goede
Hi, On 14-11-16 12:19, Hans de Goede wrote: Hi, On 08-11-16 17:21, Maxime Ripard wrote: Introduce a new sunxi-spl-with-ecc.bin image with already the right header, ECC, randomizer and padding for the BROM to be able to read it. It needs to be flashed using a raw access to the NAND so that the

[U-Boot] Stepping down as sunxi u-boot custodian (for real this time)

2016-11-14 Thread Hans de Goede
Hi All, A while back I wrote: "Between my $dayjob, linux-sunxi, other foss projects and last but not least spending time with my wife and children I'm way too busy lately. So I've decided to seriously scale back my involvement in linux-sunxi, as such I'm going to step down as u-boot sunxi custo

[U-Boot] [PATCH] MAINTAINERS: mark sunxi status as Orphan

2016-11-14 Thread Hans de Goede
Ian has not had any time for sunxi for some time now and I'm in the same situation now, so I'm stepping down as sunxi custodian and marking the sunxi support as Orphan. Cc: Maxime Ripard Cc: Chen-Yu Tsai Cc: Ian Campbell Signed-off-by: Hans de Goede --- MAINTAINERS | 4 +--- 1 file changed, 1

Re: [U-Boot] [PATCH 1/4] mmc: Retry the switch command

2016-11-14 Thread Jaehoon Chung
On 11/14/2016 03:50 AM, Hans de Goede wrote: > Hi, > > On 04-11-16 16:18, Maxime Ripard wrote: >> Some eMMC will fail at the first switch, but would succeed in a subsequent >> one. >> >> Make sure we try several times to cover those cases. The number of retries >> (and the behaviour) is currently

Re: [U-Boot] [PATCH 3/4] sunxi: sina33: Enable the eMMC

2016-11-14 Thread Jaehoon Chung
On 11/14/2016 03:51 AM, Hans de Goede wrote: > Hi, > > On 04-11-16 16:18, Maxime Ripard wrote: >> The SinA33 has an 4GB Toshiba eMMC connected to the MMC2 controller. >> Enable it. >> >> Signed-off-by: Maxime Ripard > > LGTM: > > Reviewed-by: Hans de Goede Applied on u-boot-mmc. Thanks! Best

Re: [U-Boot] [PATCH 4/4] sunxi: sina33: Enable the LCD

2016-11-14 Thread Jaehoon Chung
On 11/14/2016 03:51 AM, Hans de Goede wrote: > Hi, > > On 04-11-16 16:18, Maxime Ripard wrote: >> The SinA33 comes with an optional 7" display. Enable it in the >> configuration. >> >> Signed-off-by: Maxime Ripard > > LGTM: > > Reviewed-by: Hans de Goede Applied on u-boot-mmc. Thanks! Best R

Re: [U-Boot] [PATCH 2/4] mmc: sunxi: Enable 8bits bus width for sun8i

2016-11-14 Thread Jaehoon Chung
On 11/14/2016 03:51 AM, Hans de Goede wrote: > Hi, > > On 04-11-16 16:18, Maxime Ripard wrote: >> The sun8i SoCs also have a 8 bits capable MMC2 controller. Enable the >> support for those too. >> >> Signed-off-by: Maxime Ripard > > LGTM: > > Reviewed-by: Hans de Goede Applied on u-boot-mmc.

Re: [U-Boot] Stepping down as sunxi u-boot custodian (for real this time)

2016-11-14 Thread Stefan Roese
Hi Hans, On 14.11.2016 12:53, Hans de Goede wrote: A while back I wrote: "Between my $dayjob, linux-sunxi, other foss projects and last but not least spending time with my wife and children I'm way too busy lately. So I've decided to seriously scale back my involvement in linux-sunxi, as such

[U-Boot] [PATCH] [resend] net: fman: fix 2.5G SGMII settings

2016-11-14 Thread Shaohui Xie
The settings for 2.5G SGMII are wrong, which the 2.5G case is missed in set_if_mode(), and the serdes PCS configuration are wrong, this patch uses the correct settings took from Linux. Signed-off-by: Shaohui Xie --- not sure what was wrong, the patch did not show in patchwork, so resend it. Sorry

Re: [U-Boot] Stepping down as sunxi u-boot custodian (for real this time)

2016-11-14 Thread Tom Rini
On Mon, Nov 14, 2016 at 12:53:13PM +0100, Hans de Goede wrote: > Hi All, > > A while back I wrote: > > "Between my $dayjob, linux-sunxi, other foss projects and last but > not least spending time with my wife and children I'm way too > busy lately. > > So I've decided to seriously scale back my

Re: [U-Boot] [PATCH 4/9] w1: Add 1-Wire gpio driver

2016-11-14 Thread Maxime Ripard
Hi Simon, On Fri, Nov 11, 2016 at 09:17:20AM -0700, Simon Glass wrote: > Hi Maxime, > > On 8 November 2016 at 03:06, Maxime Ripard > wrote: > > Add a bus driver for bitbanging a 1-Wire bus over a GPIO. > > > > Signed-off-by: Maxime Ripard > > --- > > drivers/w1/Kconfig | 6 ++- > > drivers

Re: [U-Boot] [PATCH RESEND 5/9] EEPROM: Add an EEPROM uclass

2016-11-14 Thread Maxime Ripard
Hi Moritz, On Fri, Nov 11, 2016 at 11:13:39AM -0800, Moritz Fischer wrote: > Hi Maxime, > > On Fri, Nov 11, 2016 at 8:17 AM, Simon Glass wrote: > > Hi Maxime, > > > > On 8 November 2016 at 03:19, Maxime Ripard > > wrote: > >> We might want to access data stored onto EEPROMs. Create a framework

Re: [U-Boot] [PATCH RESEND 6/9] eeprom: Add DS2431 support

2016-11-14 Thread Maxime Ripard
Hi, On Fri, Nov 11, 2016 at 11:16:39AM -0800, Moritz Fischer wrote: > > +U_BOOT_DRIVER(ds2431) = { > > + .name = "ds2431", > > + .id = UCLASS_EEPROM, > > + .ops= &ds2431_ops, > > Do you want to add a .flags = DM_UC_FLAG_SEQ_ALIAS here? I don't

Re: [U-Boot] [PATCH] MAINTAINERS: mark sunxi status as Orphan

2016-11-14 Thread Ian Campbell
On Mon, 2016-11-14 at 12:53 +0100, Hans de Goede wrote: > Ian has not had any time for sunxi for some time now and I'm > in the same situation now, so I'm stepping down as sunxi > custodian and marking the sunxi support as Orphan. > > Cc: Maxime Ripard > Cc: Chen-Yu Tsai > Cc: Ian Campbell > Si

Re: [U-Boot] [PATCH 4/7] tools: sunxi: Add spl image builder

2016-11-14 Thread Maxime Ripard
On Mon, Nov 14, 2016 at 12:29:25PM +0100, Hans de Goede wrote: > Hi, > > On 14-11-16 12:18, Hans de Goede wrote: > > Hi, > > > > On 08-11-16 17:21, Maxime Ripard wrote: > > > This program generates raw SPL images that can be flashed on the NAND with > > > the ECC and randomizer properly set up. >

[U-Boot] [PATCH] socfpga: add support for Terasic DE1-SoC board

2016-11-14 Thread Anatolij Gustschin
Add CycloneV based Terasic DE1-SoC board. The board boots from SD/MMC. Ethernet and USB host is supported. Signed-off-by: Anatolij Gustschin Cc: Marek Vasut --- arch/arm/dts/Makefile | 1 + arch/arm/dts/socfpga_cyclone5_de1_soc.dts | 66 +++ arch/arm/mach-socfpga/Kconfig

Re: [U-Boot] [PATCH] socfpga: add support for Terasic DE1-SoC board

2016-11-14 Thread Marek Vasut
On 11/14/2016 02:53 PM, Anatolij Gustschin wrote: > Add CycloneV based Terasic DE1-SoC board. The board boots > from SD/MMC. Ethernet and USB host is supported. > > Signed-off-by: Anatolij Gustschin > Cc: Marek Vasut [...] > diff --git a/include/configs/socfpga_de1_soc.h > b/include/configs/s

[U-Boot] [PATCH] net: phy: micrel: Fix error handling

2016-11-14 Thread Marek Vasut
Fix the following error, the $ret variable handling must be part of the loop, while due to the missing parenthesis it was not. drivers/net/phy/micrel.c: In function ‘ksz9021_of_config’: drivers/net/phy/micrel.c:303:2: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for (

Re: [U-Boot] [PATCH 3/7] sunxi: Enable UBI and NAND support

2016-11-14 Thread Maxime Ripard
Hi, On Mon, Nov 14, 2016 at 12:18:06PM +0100, Hans de Goede wrote: > > #ifdef CONFIG_SPL_SPI_SUNXI > > @@ -143,7 +157,14 @@ > > #define CONFIG_GENERIC_MMC > > #define CONFIG_MMC_SUNXI > > #define CONFIG_MMC_SUNXI_SLOT 0 > > -#define CONFIG_ENV_IS_IN_MMC > > +#endif > > + > > +#if

[U-Boot] [PATCH] net: fman: fix 2.5G SGMII settings

2016-11-14 Thread shh.xie
From: Shaohui Xie The settings for 2.5G SGMII are wrong, which the 2.5G case is missed in set_if_mode(), and the serdes PCS configuration are wrong, this patch uses the correct settings took from Linux. Signed-off-by: Shaohui Xie --- drivers/net/fm/eth.c | 32 ++--

[U-Boot] [PATCH] [resend] net: fman: fix 2.5G SGMII settings

2016-11-14 Thread shh.xie
From: Shaohui Xie The settings for 2.5G SGMII are wrong, which the 2.5G case is missed in set_if_mode(), and the serdes PCS configuration are wrong, this patch uses the correct settings took from Linux. Signed-off-by: Shaohui Xie --- not sure what was wrong, the patch did not show in patchwork,

Re: [U-Boot] [PATCH 4/7] tools: sunxi: Add spl image builder

2016-11-14 Thread Hans de Goede
Hi, On 14-11-16 14:53, Maxime Ripard wrote: On Mon, Nov 14, 2016 at 12:29:25PM +0100, Hans de Goede wrote: Hi, On 14-11-16 12:18, Hans de Goede wrote: Hi, On 08-11-16 17:21, Maxime Ripard wrote: This program generates raw SPL images that can be flashed on the NAND with the ECC and randomize

Re: [U-Boot] [PATCH] Do not force master mode on unaffected PHY's

2016-11-14 Thread Olliver Schinagl
Hey Hans, On 14-11-16 12:26, Hans de Goede wrote: Hi, On 08-11-16 17:38, Olliver Schinagl wrote: The current implementation to force the PHY into master mode is to have a define which affects all realtek PHY's. This is not needed as the problem only exists in the RTL8211C chips. Let us thus

Re: [U-Boot] [PATCH 3/7] sunxi: Enable UBI and NAND support

2016-11-14 Thread Hans de Goede
Hi, On 14-11-16 15:09, Maxime Ripard wrote: Hi, On Mon, Nov 14, 2016 at 12:18:06PM +0100, Hans de Goede wrote: #ifdef CONFIG_SPL_SPI_SUNXI @@ -143,7 +157,14 @@ #define CONFIG_GENERIC_MMC #define CONFIG_MMC_SUNXI #define CONFIG_MMC_SUNXI_SLOT 0 -#define CONFIG_ENV_IS_IN_MMC +#endif

Re: [U-Boot] [PATCH 3/7] sunxi: Enable UBI and NAND support

2016-11-14 Thread Maxime Ripard
On Mon, Nov 14, 2016 at 12:18:06PM +0100, Hans de Goede wrote: > > #ifdef CONFIG_SPL_SPI_SUNXI > > @@ -143,7 +157,14 @@ > > #define CONFIG_GENERIC_MMC > > #define CONFIG_MMC_SUNXI > > #define CONFIG_MMC_SUNXI_SLOT 0 > > -#define CONFIG_ENV_IS_IN_MMC > > +#endif > > + > > +#if defin

Re: [U-Boot] [PATCH] Do not force master mode on unaffected PHY's

2016-11-14 Thread Hans de Goede
Hi, On 14-11-16 15:11, Olliver Schinagl wrote: Hey Hans, On 14-11-16 12:26, Hans de Goede wrote: Hi, On 08-11-16 17:38, Olliver Schinagl wrote: The current implementation to force the PHY into master mode is to have a define which affects all realtek PHY's. This is not needed as the problem

Re: [U-Boot] [PATCH] Do not force master mode on unaffected PHY's

2016-11-14 Thread Olliver Schinagl
Hans, On 14-11-16 15:13, Hans de Goede wrote: Hi, On 14-11-16 15:11, Olliver Schinagl wrote: Hey Hans, On 14-11-16 12:26, Hans de Goede wrote: Hi, On 08-11-16 17:38, Olliver Schinagl wrote: The current implementation to force the PHY into master mode is to have a define which affects all

Re: [U-Boot] [PATCH] socfpga: add support for Terasic DE1-SoC board

2016-11-14 Thread Anatolij Gustschin
Hi, On Mon, 14 Nov 2016 15:07:31 +0100 Marek Vasut ma...@denx.de wrote: ... > > +#undef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION > > +#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION 2 > > Why is this needed ? Just start U-Boot from partition 1 as all the other > SoCFPGAs do , esp. since th

Re: [U-Boot] [PATCH 3/7] sunxi: Enable UBI and NAND support

2016-11-14 Thread Hans de Goede
Hi, On 14-11-16 15:12, Maxime Ripard wrote: On Mon, Nov 14, 2016 at 12:18:06PM +0100, Hans de Goede wrote: #ifdef CONFIG_SPL_SPI_SUNXI @@ -143,7 +157,14 @@ #define CONFIG_GENERIC_MMC #define CONFIG_MMC_SUNXI #define CONFIG_MMC_SUNXI_SLOT 0 -#define CONFIG_ENV_IS_IN_MMC +#endif + +#

Re: [U-Boot] [PATCH] socfpga: add support for Terasic DE1-SoC board

2016-11-14 Thread Marek Vasut
On 11/14/2016 03:17 PM, Anatolij Gustschin wrote: > Hi, > > On Mon, 14 Nov 2016 15:07:31 +0100 > Marek Vasut ma...@denx.de wrote: > ... >>> +#undef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION >>> +#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION 2 >> >> Why is this needed ? Just start U-Boot fr

[U-Boot] [PATCH v2] socfpga: add support for Terasic DE1-SoC board

2016-11-14 Thread Anatolij Gustschin
Add CycloneV based Terasic DE1-SoC board. The board boots from SD/MMC. Ethernet and USB host is supported. Signed-off-by: Anatolij Gustschin Cc: Marek Vasut --- v2: - drop custom raw partition configuration, use default instead arch/arm/dts/Makefile | 1 + arch/arm/dts/

Re: [U-Boot] [PATCH v2] socfpga: add support for Terasic DE1-SoC board

2016-11-14 Thread Marek Vasut
On 11/14/2016 04:07 PM, Anatolij Gustschin wrote: > Add CycloneV based Terasic DE1-SoC board. The board boots > from SD/MMC. Ethernet and USB host is supported. > > Signed-off-by: Anatolij Gustschin > Cc: Marek Vasut > --- > Applied, thanks. -- Best regards, Marek Vasut _

Re: [U-Boot] [PATCH RESEND 6/9] eeprom: Add DS2431 support

2016-11-14 Thread Tom Rini
On Mon, Nov 14, 2016 at 02:42:59PM +0100, Maxime Ripard wrote: > Hi, > > On Fri, Nov 11, 2016 at 11:16:39AM -0800, Moritz Fischer wrote: > > > +U_BOOT_DRIVER(ds2431) = { > > > + .name = "ds2431", > > > + .id = UCLASS_EEPROM, > > > + .ops= &ds2431

[U-Boot] [PATCH] dfu: dfu_sf: Fix read offset

2016-11-14 Thread Phil Edworthy
The offset was applied to write, but not read, now its applied to both. Signed-off-by: Phil Edworthy --- drivers/dfu/dfu_sf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/dfu/dfu_sf.c b/drivers/dfu/dfu_sf.c index 9702eee..b6d5fe2 100644 --- a/drivers/dfu/dfu_sf.c

Re: [U-Boot] [PATCH 4/7] tools: sunxi: Add spl image builder

2016-11-14 Thread Maxime Ripard
On Fri, Nov 11, 2016 at 11:20:47AM -0500, Tom Rini wrote: > On Tue, Nov 08, 2016 at 05:21:14PM +0100, Maxime Ripard wrote: > > > This program generates raw SPL images that can be flashed on the NAND with > > the ECC and randomizer properly set up. > > > > Signed-off-by: Maxime Ripard > [snip] >

Re: [U-Boot] [PATCH] dfu: dfu_sf: Fix read offset

2016-11-14 Thread Fabio Estevam
On Mon, Nov 14, 2016 at 1:19 PM, Phil Edworthy wrote: > The offset was applied to write, but not read, now its applied to > both. > > Signed-off-by: Phil Edworthy Reviewed-by: Fabio Estevam ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.den

Re: [U-Boot] [PATCH 4/7] tools: sunxi: Add spl image builder

2016-11-14 Thread Tom Rini
On Mon, Nov 14, 2016 at 04:20:49PM +0100, Maxime Ripard wrote: > On Fri, Nov 11, 2016 at 11:20:47AM -0500, Tom Rini wrote: > > On Tue, Nov 08, 2016 at 05:21:14PM +0100, Maxime Ripard wrote: > > > > > This program generates raw SPL images that can be flashed on the NAND with > > > the ECC and rando

Re: [U-Boot] [PATCH] dfu: dfu_sf: Fix read offset

2016-11-14 Thread Lukasz Majewski
Hi Phil, > The offset was applied to write, but not read, now its applied to > both. > > Signed-off-by: Phil Edworthy > --- > drivers/dfu/dfu_sf.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/dfu/dfu_sf.c b/drivers/dfu/dfu_sf.c > index 9702eee..b6d5fe2 100

Re: [U-Boot] MAINTAINERS: mark sunxi status as Orphan

2016-11-14 Thread Tom Rini
On Mon, Nov 14, 2016 at 12:53:25PM +0100, Hans de Goede wrote: > Ian has not had any time for sunxi for some time now and I'm > in the same situation now, so I'm stepping down as sunxi > custodian and marking the sunxi support as Orphan. > > Cc: Maxime Ripard > Cc: Chen-Yu Tsai > Cc: Ian Campbe

Re: [U-Boot] [PATCH] drivers: SPI: sunxi SPL: fix warning

2016-11-14 Thread Jagan Teki
On Thu, Nov 3, 2016 at 6:28 AM, Andre Przywara wrote: > Somehow an int returning function without a return statement sneaked > in. Fix it. > > Signed-off-by: Andre Przywara > --- > drivers/mtd/spi/sunxi_spi_spl.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/

[U-Boot] [ANN] U-Boot v2016.11 is released

2016-11-14 Thread Tom Rini
Hey all, I've released v2016.11 and it's now live on git and FTP and ACD (along with PGP sig file). In many ways it feels good to say that the highlights of the last release once again apply. We've had more DM conversion work, Kconfig conversion work and arch / SoC / platform updates. We've als

Re: [U-Boot] [PATCH] drivers: SPI: sunxi SPL: fix warning

2016-11-14 Thread Andre Przywara
Hi, On 14/11/16 16:30, Jagan Teki wrote: > On Thu, Nov 3, 2016 at 6:28 AM, Andre Przywara wrote: >> Somehow an int returning function without a return statement sneaked >> in. Fix it. >> >> Signed-off-by: Andre Przywara >> --- >> drivers/mtd/spi/sunxi_spi_spl.c | 3 ++- >> 1 file changed, 2 ins

Re: [U-Boot] [PATCH] drivers: SPI: sunxi SPL: fix warning

2016-11-14 Thread Tom Rini
On Mon, Nov 14, 2016 at 04:47:26PM +, Andre Przywara wrote: > Hi, > > On 14/11/16 16:30, Jagan Teki wrote: > > On Thu, Nov 3, 2016 at 6:28 AM, Andre Przywara > > wrote: > >> Somehow an int returning function without a return statement sneaked > >> in. Fix it. > >> > >> Signed-off-by: Andre P

Re: [U-Boot] Stepping down as sunxi u-boot custodian (for real this time)

2016-11-14 Thread Yann E. MORIN
Hans, Ian, All, On 2016-11-14 12:53 +0100, Hans de Goede spake thusly: > A while back I wrote: > > "Between my $dayjob, linux-sunxi, other foss projects and last but > not least spending time with my wife and children I'm way too > busy lately. > > So I've decided to seriously scale back my invo

Re: [U-Boot] [PATCH 3/7] sunxi: Enable UBI and NAND support

2016-11-14 Thread Tom Rini
On Mon, Nov 14, 2016 at 03:21:41PM +0100, Hans de Goede wrote: > Hi, > > On 14-11-16 15:12, Maxime Ripard wrote: > >On Mon, Nov 14, 2016 at 12:18:06PM +0100, Hans de Goede wrote: > >>> #ifdef CONFIG_SPL_SPI_SUNXI > >>>@@ -143,7 +157,14 @@ > >>> #define CONFIG_GENERIC_MMC > >>> #define CONFIG_MMC_S

Re: [U-Boot] [PATCH 1/6][v3] armv8: lsch3: Add generic get_svr() in assembly

2016-11-14 Thread york sun
On 11/03/2016 04:12 AM, Priyanka Jain wrote: > Signed-off-by: Priyanka Jain > --- > arch/arm/cpu/armv8/fsl-layerscape/cpu.c|7 --- > arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S |9 + > .../include/asm/arch-fsl-layerscape/immap_lsch3.h |6 +++--- > 3 fil

Re: [U-Boot] [v2, 2/5] mmc: send STOP command when the READ/WRITE commands fail

2016-11-14 Thread york sun
On 09/23/2016 12:38 AM, Y.B. Lu wrote: >> ditto. > > [Lu Yangbo-B47093] Ok, I will check the return. Thanks :) >> Yangbo, Do you have an update? York ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] FDT retrived varaibles appear to have different properties fom other u-boot variables - and are corrupted on get, set, get correction

2016-11-14 Thread dh
 Duncan Hare 714 931 7952 - Forwarded Message - From: "d...@synoia.com" To: "u-boot@lists.denx.de" Cc: Cédric Schieli Sent: Sunday, November 13, 2016 4:08 PM Subject: FDT retrived varaibles appear to have different properties fom other u-boot variables - and are corrupted o

Re: [U-Boot] [PATCH] armv8: QSPI: Add AHB bus 16MB+ size support

2016-11-14 Thread york sun
On 11/07/2016 10:03 PM, Yao Yuan wrote: > On 11/08/2016 02:27 AM, York Sun wrote: >> On 10/25/2016 07:10 PM, Yuan Yao wrote: >>> From: Yuan Yao >>> >>> The default configuration for QSPI AHB bus can't support 16MB+. >>> But some flash on NXP layerscape board are more than 16MB. >> >> So what do yo

Re: [U-Boot] [PATCH v8 0/3] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-14 Thread Alison Wang
> On 10 November 2016 at 02:49, Alison Wang wrote: > > This series is to support loading a 32-bit OS, the execution state > will change from AArch64 to AArch32 when jumping to kernel. The > architecture information will be got through checking FIT image, then > U-Boot will load 32-bit OS or 64-bit

Re: [U-Boot] [ANN] U-Boot v2016.11 is released

2016-11-14 Thread Jagan Teki
On Mon, Nov 14, 2016 at 10:16 PM, Tom Rini wrote: > Hey all, > > I've released v2016.11 and it's now live on git and FTP and ACD (along > with PGP sig file). > > In many ways it feels good to say that the highlights of the last > release once again apply. We've had more DM conversion work, Kconfi

Re: [U-Boot] [PATCH] armv8/ls1043a: Add the OCRAM initialization

2016-11-14 Thread york sun
On 11/07/2016 10:36 AM, york@nxp.com wrote: > On 10/27/2016 02:47 AM, Calvin Johnson wrote: >> Hi York, >> >>> -Original Message- >>> From: york sun >>> Sent: Wednesday, October 26, 2016 10:09 PM >>> To: Calvin Johnson ; Prabhakar Kushwaha >>> ; Pratiyush >>> Srivastava ; u-boot@lists.d

Re: [U-Boot] [PATCH v2 2/3] LS1046AQDS: Add NOR Secure Boot Target

2016-11-14 Thread york sun
On 10/26/2016 03:47 AM, Sumit Garg wrote: > Add NOR secure boot target. Also enable sec init. > > Signed-off-by: Vinitha Pillai > Signed-off-by: Sumit Garg > --- > > Changes in v2: > Split patches logically from 2 to 3. > > board/freescale/ls1046aqds/MAINTAINERS | 4 > board/freescale/ls

Re: [U-Boot] [PATCH] drivers: SPI: sunxi SPL: fix warning

2016-11-14 Thread Siarhei Siamashka
On Mon, 14 Nov 2016 11:56:50 -0500 Tom Rini wrote: > On Mon, Nov 14, 2016 at 04:47:26PM +, Andre Przywara wrote: > > Hi, > > > > On 14/11/16 16:30, Jagan Teki wrote: > > > On Thu, Nov 3, 2016 at 6:28 AM, Andre Przywara > > > wrote: > > >> Somehow an int returning function without a ret

Re: [U-Boot] [PATCH v3 5/5] ARMv8: LS1043A: Enable LS1043A default PSCI support

2016-11-14 Thread york sun
On 11/06/2016 08:14 PM, macro.wav...@gmail.com wrote: > From: Hongbo Zhang > > A most basic PSCI implementation with only one psci_version is added for > LS1043A, this can verify the generic PSCI framework, and more platform > specific > implementation will be added later. > > Signed-off-by: Hong

Re: [U-Boot] [PATCH] drivers: SPI: sunxi SPL: fix warning

2016-11-14 Thread Siarhei Siamashka
On Thu, 3 Nov 2016 00:58:12 + Andre Przywara wrote: > Somehow an int returning function without a return statement sneaked > in. Fix it. > > Signed-off-by: Andre Przywara > --- > drivers/mtd/spi/sunxi_spi_spl.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/dr

Re: [U-Boot] [PATCH 4/7] tools: sunxi: Add spl image builder

2016-11-14 Thread Maxime Ripard
Hi, On Mon, Nov 14, 2016 at 10:25:27AM -0500, Tom Rini wrote: > On Mon, Nov 14, 2016 at 04:20:49PM +0100, Maxime Ripard wrote: > > On Fri, Nov 11, 2016 at 11:20:47AM -0500, Tom Rini wrote: > > > On Tue, Nov 08, 2016 at 05:21:14PM +0100, Maxime Ripard wrote: > > > > > > > This program generates ra

Re: [U-Boot] [PATCH 4/7] tools: sunxi: Add spl image builder

2016-11-14 Thread Tom Rini
On Mon, Nov 14, 2016 at 07:58:03PM +0100, Maxime Ripard wrote: > Hi, > > On Mon, Nov 14, 2016 at 10:25:27AM -0500, Tom Rini wrote: > > On Mon, Nov 14, 2016 at 04:20:49PM +0100, Maxime Ripard wrote: > > > On Fri, Nov 11, 2016 at 11:20:47AM -0500, Tom Rini wrote: > > > > On Tue, Nov 08, 2016 at 05:2

Re: [U-Boot] [PATCH 1/4] rsa: cosmetic: rename pad_len to key_len

2016-11-14 Thread Simon Glass
On 11 November 2016 at 14:16, Andrew Duda wrote: > > Simon, > > padded_len could work. I decided to go with key_len to be more > RSA-independent since I have been dealing with ECDSA primarily. More > specifically, ECDSA has no notion of padding or padded_len, but it > does have a notion of key_len

Re: [U-Boot] [PATCH 2/4] rsa: Verify RSA padding programatically

2016-11-14 Thread Simon Glass
Hi Andrew, On 11 November 2016 at 14:22, Andrew Duda wrote: > Simon, > > So I looked into this more after you asked this, and it looks very > platform dependent. I tested on two builds: sandbox and a version of > x86-common. The before/after for sandbox image was > 5486016-5486800(+784). The befo

[U-Boot] [PATCH v2 0/4] Allow disabling non-FIT image loading from SPL

2016-11-14 Thread Andrew F. Davis
Hello all, To address a needed feature brought up by Andreas[0], we need a way to disable SPL from loading non-FIT images. The function spl_parse_image_header is common to all SPL loading paths (common/spl/spl_(nand|net|nor|etc..)) so we add the check here, much like the existing CONFIG_SPL_ABORT

Re: [U-Boot] [PATCH] drivers: SPI: sunxi SPL: fix warning

2016-11-14 Thread André Przywara
On 14/11/16 18:32, Siarhei Siamashka wrote: > On Thu, 3 Nov 2016 00:58:12 + > Andre Przywara wrote: > >> Somehow an int returning function without a return statement sneaked >> in. Fix it. >> >> Signed-off-by: Andre Przywara >> --- >> drivers/mtd/spi/sunxi_spi_spl.c | 3 ++- >> 1 file chan

[U-Boot] [RFC 1/1] image: Add TEE loading to FIT loadable processing

2016-11-14 Thread Andrew F. Davis
To help automate the loading of a TEE image during the boot we add a new FIT section type 'tee', when we see this type while loading the loadable sections we automatically call the platforms TEE processing function on this image section. Signed-off-by: Andrew F. Davis --- Kconfig | 10 ++

[U-Boot] [RFC 0/1] Add TEE loading support to FIT image

2016-11-14 Thread Andrew F. Davis
Hello all, Internally[0] we use the a hook in the FIT loadable section to install our trusted execution environment solution (OPTEE) which is packaged in the FIT image with the rest of the platform's images. I would like to get some feedback if this will be an acceptable solution? This patch is t

Re: [U-Boot] [PATCH] drivers: SPI: sunxi SPL: fix warning

2016-11-14 Thread Tom Rini
On Mon, Nov 14, 2016 at 07:43:40PM +, André Przywara wrote: [snip] > On a related matter, I ran buildman on HEAD for armv8 today and GCC 6.2 > found quite some issues (will send out the fixes ASAP). > So is there some buildbot somewhere that runs buildman? If yes, with > what compilers? What

Re: [U-Boot] [PATCH RESEND 6/9] eeprom: Add DS2431 support

2016-11-14 Thread Maxime Ripard
On Mon, Nov 14, 2016 at 10:14:57AM -0500, Tom Rini wrote: > On Mon, Nov 14, 2016 at 02:42:59PM +0100, Maxime Ripard wrote: > > Hi, > > > > On Fri, Nov 11, 2016 at 11:16:39AM -0800, Moritz Fischer wrote: > > > > +U_BOOT_DRIVER(ds2431) = { > > > > + .name = "ds2431", > > > > +

Re: [U-Boot] [PATCH RESEND 7/9] video: Allow board hook before video init

2016-11-14 Thread Maxime Ripard
Hi Simon, On Fri, Nov 11, 2016 at 09:17:28AM -0700, Simon Glass wrote: > Hi Maxime, > > On 8 November 2016 at 03:19, Maxime Ripard > wrote: > > Some boards might need to some additional setup right before initialising > > the video console. > > > > Add some hook to allow that. > > Instead of th

Re: [U-Boot] [PATCH v2 1/3] SECURE_BOOT: Enable chain of trust on LS1046A platform

2016-11-14 Thread york sun
On 10/26/2016 03:47 AM, Sumit Garg wrote: > Define bootscript and its header addresses for QSPI target. Also > define PPA header address to enable PPA validation. > > Signed-off-by: Vinitha Pillai > Signed-off-by: Sumit Garg > --- > > Changes in v2: > Split patches logically from 2 to 3. > > arc

[U-Boot] [PATCH v3 4/4] colibri_pxa270: transition to driver model for serial

2016-11-14 Thread Marcel Ziswiler
Add serial platform data to board file. Enable driver model for PXA serial driver. Signed-off-by: Marcel Ziswiler --- Changes in v3: None Changes in v2: - Drop baudrate checks. - Use panic instead of just hang() to more gracefully handle failure case. - Drop superfluous parenthesis around pla

[U-Boot] [PATCH v3 2/4] serial: pxa: integrate optional driver model handling

2016-11-14 Thread Marcel Ziswiler
Optional driver model handling integration. Signed-off-by: Marcel Ziswiler Reviewed-by: Marek Vasut --- Changes in v3: - Drop spurious newline. - Add Marek's reviewed-by. Changes in v2: None drivers/serial/serial_pxa.c | 183 +- include/dm/platform_

[U-Boot] [PATCH v3 3/4] colibri_pxa270: drop edit, elf, fpga, hush, regex et al. for space reason

2016-11-14 Thread Marcel Ziswiler
With em humble DM and Kconfig migraters U-Boot binary size keeps increasing. Drop a bunch of less needed stuff to save another precious 20+ KB. Signed-off-by: Marcel Ziswiler --- Changes in v3: None Changes in v2: - Introduce new patch saving more precious space. configs/colibri_pxa270_defcon

[U-Boot] [PATCH v3 1/4] serial: pxa: use kconfig for serial configuration

2016-11-14 Thread Marcel Ziswiler
Migrate the PXA serial driver to be configured via Kconfig. Signed-off-by: Marcel Ziswiler Reviewed-by: Marek Vasut --- Changes in v3: - Add Marek's reviewed-by. Changes in v2: None configs/colibri_pxa270_defconfig | 1 + configs/h2200_defconfig | 1 + configs/zipitz2_defconfig

[U-Boot] [PATCH v3 0/4] serial: pxa: kconfig and optional driver model integration

2016-11-14 Thread Marcel Ziswiler
This series integrates both Kconfig as well as optional driver model support for the PXA serial driver. As I do not have any of the other hardware available for testing for now I only transitioned the Colibri PXA270 to actually make use of DM_SERIAL. As space on this mostly NOR based hardware is r

Re: [U-Boot] [PATCH v2 1/3] spl: add RAM boot device only if it is actually defined

2016-11-14 Thread Simon Glass
Hi Stefan, On 12 November 2016 at 12:13, Stefan Agner wrote: > From: Stefan Agner > > Some devices (e.g. dra7xx) support loading to RAM using DFU without > having direct boot from RAM support. Make sure the linker list > does not contain BOOT_DEVICE_RAM if CONFIG_SPL_RAM_SUPPORT is not > enabled

Re: [U-Boot] [PATCH v2 2/3] spl: dfu: move DFU Kconfig to SPL Kconfig

2016-11-14 Thread Simon Glass
On 12 November 2016 at 12:13, Stefan Agner wrote: > From: Stefan Agner > > The DFU Kconfig menu entries should be part of the SPL > Kconfig file. Also avoid using the top level Makefile by > moving the config dependent build artifacts to the driver/ > and driver/usb/gadget/ Makfiles. > > With tha

  1   2   >