Re: [U-Boot] [PATCH v5] powerpc: Partialy restore core of mpc8xx

2017-07-03 Thread Christophe LEROY
Le 30/06/2017 à 21:24, Tom Rini a écrit : On Fri, Jun 30, 2017 at 09:20:19PM +0200, Wolfgang Denk wrote: Dear Christophe, In message <20170630190420.horde.wz1ezqqb1mporrqdyjko...@messagerie.c-s.fr> you wrote: I did rebase it to the mainline a few minutes before sending it. Did you apply 4x

Re: [U-Boot] [PATCH v4 00/17] nand: remove direct acces to nand_info array

2017-07-03 Thread Lokesh Vutla
On Monday 03 July 2017 04:47 PM, Tom Rini wrote: > On Mon, Jul 03, 2017 at 11:30:36AM +0530, Lokesh Vutla wrote: >> >> >> On Sunday 02 July 2017 06:11 PM, Tom Rini wrote: >>> On Mon, Jun 26, 2017 at 07:12:50PM -0500, Grygorii Strashko wrote: >>> This is a preparation required for adding Nand

Re: [U-Boot] [PULL 0/6] efi patch queue 2017-07-03

2017-07-03 Thread Heinrich Schuchardt
On 07/04/2017 07:27 AM, Alexander Graf wrote: > > >> Am 03.07.2017 um 23:11 schrieb Tom Rini : >> >>> On Mon, Jul 03, 2017 at 04:05:56PM +0200, Alexander Graf wrote: >>> >>> Hi Tom, >>> >>> This is my current patch queue for efi. Please pull. >>> >>> Alex >>> >>> >>> The following changes since

Re: [U-Boot] [PULL 0/6] efi patch queue 2017-07-03

2017-07-03 Thread Alexander Graf
> Am 03.07.2017 um 23:11 schrieb Tom Rini : > >> On Mon, Jul 03, 2017 at 04:05:56PM +0200, Alexander Graf wrote: >> >> Hi Tom, >> >> This is my current patch queue for efi. Please pull. >> >> Alex >> >> >> The following changes since commit 8d6040c725bfa40fba1bd6b5f356ee713c1ac7d1: >> >>

Re: [U-Boot] [ANN] U-Boot v2017.07-rc3 released

2017-07-03 Thread Heiko Schocher
Hello Tom, Am 04.07.2017 um 02:05 schrieb Tom Rini: Hey all, It's release day and v2017.07-rc3 is out. Things look good. I was hoping to have a few things pulled in today but that just didn't work out. So, I expect to be bringing back PowerPC 8xx support in the next few days. No, it's not p

Re: [U-Boot] Targets with xHCI but without DM_USB

2017-07-03 Thread Vignesh R
Hi Bin, On Monday 03 July 2017 06:49 PM, Bin Meng wrote: > Hi Vignesh, > > On Thu, Jun 29, 2017 at 2:41 PM, Vignesh R wrote: >> Hi Stefan, >> >> On Thursday 29 June 2017 11:15 AM, Stefan Roese wrote: >>> Hi, >>> >>> as you might have noticed, Bin Meng is currently greatly improving >>> the U-Boo

Re: [U-Boot] [PATCH 2/2] arm: config: enforce -fno-pic for SPL and normal U-Boot

2017-07-03 Thread J. William Campbell
On 7/3/2017 8:12 PM, Peng Fan wrote: -Original Message- From: Tom Rini [mailto:tr...@konsulko.com] Sent: Tuesday, July 04, 2017 10:47 AM To: Peng Fan Cc: Simon Glass ; Philipp Tomsich ; albert.u.b...@aribaud.net; u- b...@lists.denx.de Subject: Re: [U-Boot] [PATCH 2/2] arm: config: enfo

[U-Boot] [PATCH] fsl-lsch2: csu: remove multiple calling function

2017-07-03 Thread Zhiqiang Hou
From: Hou Zhiqiang Signed-off-by: Hou Zhiqiang --- board/freescale/ls1021aiot/ls1021aiot.c | 4 board/freescale/ls1021atwr/ls1021atwr.c | 1 - board/freescale/ls1046aqds/ls1046aqds.c | 4 board/freescale/ls1046ardb/ls1046ardb.c | 4 4 files changed, 13 deletions(-) diff --git a/

Re: [U-Boot] [PATCH 2/2] arm: config: enforce -fno-pic for SPL and normal U-Boot

2017-07-03 Thread Peng Fan
> -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Tuesday, July 04, 2017 10:47 AM > To: Peng Fan > Cc: Simon Glass ; Philipp Tomsich > ; albert.u.b...@aribaud.net; u- > b...@lists.denx.de > Subject: Re: [U-Boot] [PATCH 2/2] arm: config: enforce -fno-pic for SPL an

Re: [U-Boot] [PATCH 2/2] arm: config: enforce -fno-pic for SPL and normal U-Boot

2017-07-03 Thread Tom Rini
On Tue, Jul 04, 2017 at 01:09:36AM +, Peng Fan wrote: > Hi Tom, > > > -Original Message- > > From: Tom Rini [mailto:tr...@konsulko.com] > > Sent: Tuesday, July 04, 2017 12:17 AM > > To: Peng Fan ; Simon Glass ; Philipp > > Tomsich > > Cc: albert.u.b...@aribaud.net; u-boot@lists.denx.d

Re: [U-Boot] [PATCH 2/2] arm: config: enforce -fno-pic for SPL and normal U-Boot

2017-07-03 Thread Peng Fan
Hi Tom, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Tuesday, July 04, 2017 12:17 AM > To: Peng Fan ; Simon Glass ; Philipp > Tomsich > Cc: albert.u.b...@aribaud.net; u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH 2/2] arm: config: enforce -fno-pic for SP

Re: [U-Boot] [linux-sunxi] Re: [PATCH 3/4] sunxi: add stub EMAC device node in A83T device tree

2017-07-03 Thread Icenowy Zheng
于 2017年7月4日 GMT+08:00 上午4:46:17, Maxime Ripard 写到: >On Mon, Jul 03, 2017 at 02:54:17PM +0800, Icenowy Zheng wrote: >> >> >> 于 2017年7月3日 GMT+08:00 下午2:52:00, Maxime Ripard > 写到: >> >On Sun, Jul 02, 2017 at 03:02:43PM +0800, Icenowy Zheng wrote: >> >> The Allwinner A83T SoC has an EMAC which is

Re: [U-Boot] [U-Boot,2/2] powerpc: remove 4xx support

2017-07-03 Thread Tom Rini
On Tue, Jun 27, 2017 at 04:49:14PM +0200, Heiko Schocher wrote: > There was for long time no activity in the 4xx area. > We need to go further and convert to Kconfig, but it > turned out, nobody is interested anymore in 4xx, > so remove it. > > Signed-off-by: Heiko Schocher Applied to u-boot/ma

[U-Boot] [ANN] U-Boot v2017.07-rc3 released

2017-07-03 Thread Tom Rini
Hey all, It's release day and v2017.07-rc3 is out. Things look good. I was hoping to have a few things pulled in today but that just didn't work out. So, I expect to be bringing back PowerPC 8xx support in the next few days. No, it's not perfect. But it's better than it was before it was remo

Re: [U-Boot] [U-Boot,1/2] drivers, block: remove sil680 driver

2017-07-03 Thread Tom Rini
On Tue, Jun 27, 2017 at 04:49:13PM +0200, Heiko Schocher wrote: > driver is not used anymore, so remove it. > > Signed-off-by: Heiko Schocher Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing

Re: [U-Boot] [U-Boot, v2] rockchip: rk3288: Add pinctrl support for the gmac ethernet interface

2017-07-03 Thread Philipp Tomsich
> From: Sjoerd Simons > > Add support for the gmac ethernet interface to pinctrl. This hardcodes > the setup to match that of the firefly and Radxa Rock2 boards, using the > RGMII phy mode for gmac interface and GPIO4B0 as the phy reset GPIO. > > Signed-off-by: Sjoerd Simons > Signed-off-by: Ro

[U-Boot] [PATCH v2 1/1] efi_loader: abort on unsupported relocation type

2017-07-03 Thread Heinrich Schuchardt
From: "xypron.g...@gmx.de" If a relocation type is not supported loading the EFI binary should be aborted. Writing a message only is insufficient. Signed-off-by: Heinrich Schuchardt --- v2 Use (uintptr_t) to convert a pointer to an integer. This avoids 'warning: cast from point

[U-Boot] USB power is not enabled fro BeagleBone Black

2017-07-03 Thread sm
Hi all, The latest git version does not turn on USB power on BeagleBone Black: "usb start" reports that the port is not accessible, but with external power provided it detects the plugged in device. Thanks for advises, - Sergey -- View this message in context: http://u-boot.10912.n7.nabble.

Re: [U-Boot] [PATCH 00/14] dm: sata: mmc: Convert a sunxi board to driver model for MMC, SATA

2017-07-03 Thread Simon Glass
Hi, On 19 June 2017 at 11:11, Simon Glass wrote: > > At present SCSI support for driver model works only with PCI controllers. > > This series makes the following changes: > > - Adjusts SATA/AHCI support to work with non-PCI controllers > - Allows driver model to be used for MMC in U-Boot proper

Re: [U-Boot] [PATCH 0/2] powerpc: remove 4xx support

2017-07-03 Thread Ricardo Ribalda Delgado
Hi all On Fri, Jun 30, 2017 at 3:54 PM, Tom Rini wrote: > On Fri, Jun 30, 2017 at 03:50:28PM +0200, Ricardo Ribalda Delgado wrote: >> Hi >> >> On Thu, Jun 29, 2017 at 7:26 PM, Tom Rini wrote: >> >> >> > I also recall this. Ricardo? Do you still have interest here? >> > Otherwise I'm going to r

Re: [U-Boot] [PATCH] mmc: pic32_sdhci: Complete the transition to driver model

2017-07-03 Thread Alan Ott
On 06/30/2017 12:00 AM, Jaehoon Chung wrote: On 06/21/2017 12:23 PM, Alan Ott wrote: Previously this driver appeared to have been half-way converted to the new driver model and did not work at all. Complete the transition to the driver model, adding the necessary connections. Signed-off-by: Al

Re: [U-Boot] [U-Boot, 4/4] powerpc, 8xx: Add support for MCR3000 board from CSSI

2017-07-03 Thread Tom Rini
On Fri, Jun 23, 2017 at 02:57:44PM +0200, Christophe Leroy wrote: > CS Systemes d'Information (CSSI) manufactures two boards, named MCR3000 > and CMPC885 which are respectively based on MPC866 and MPC885 processors. > > This patch adds support for the first board. > > Signed-off-by: Christophe L

Re: [U-Boot] [PULL 0/6] efi patch queue 2017-07-03

2017-07-03 Thread Tom Rini
On Mon, Jul 03, 2017 at 04:05:56PM +0200, Alexander Graf wrote: > Hi Tom, > > This is my current patch queue for efi. Please pull. > > Alex > > > The following changes since commit 8d6040c725bfa40fba1bd6b5f356ee713c1ac7d1: > > pico-imx7d: Remove bouncing email (2017-06-29 21:30:16 -0400) >

Re: [U-Boot] [PATCH 3/4] sunxi: add stub EMAC device node in A83T device tree

2017-07-03 Thread Maxime Ripard
On Mon, Jul 03, 2017 at 02:54:17PM +0800, Icenowy Zheng wrote: > > > 于 2017年7月3日 GMT+08:00 下午2:52:00, Maxime Ripard > 写到: > >On Sun, Jul 02, 2017 at 03:02:43PM +0800, Icenowy Zheng wrote: > >> The Allwinner A83T SoC has an EMAC which is already supported by > >> sun8i_emac driver in U-Boot now.

[U-Boot] [PATCH v2 1/3] bootefi: allow return without EFI_BOOT_SERVICES.Exit

2017-07-03 Thread Heinrich Schuchardt
The Unified Extensible Firmware Interface Specification, version 2.7, defines in chapter 2.1.2 - UEFI Application that an EFI application may either directly return or call EFI_BOOT_SERVICES.Exit(). Unfortunately U-Boot makes the incorrect assumption that EFI_BOOT_SERVICES.Exit() is always called.

[U-Boot] [PATCH v2 2/3] efi_loader: provide meaningful status code

2017-07-03 Thread Heinrich Schuchardt
Currenty any EFI status other than EFI_SUCCESS is reported as Application terminated, r = -22 With the patch the status code returned by the EFI application is printed. Cc: Alexander Graf Signed-off-by: Heinrich Schuchardt --- v2: Do not output status code mnemonic. Alexander su

[U-Boot] [PATCH v2 3/3] efi_loader: define all known status codes

2017-07-03 Thread Heinrich Schuchardt
efi.h held only a few EFI status codes. The patch adds the missing definitions for later usage. Signed-off-by: Heinrich Schuchardt --- v2 This patch was split of version 1 of efi_loader: provide meaningful status code --- include/efi.h | 47 ++

[U-Boot] [PATCH v2 0/3] Handling of EFI application exit

2017-07-03 Thread Heinrich Schuchardt
EFI applications may proceed to loading and starting an operating system. In this case they do not return to OpenWrt. On the other hand they may return to OpenWrt. In this case they may either call EFI_BOOT_SERVICES.Exit of return directly with a status code. The first patch ensures correct handl

Re: [U-Boot] [linux-sunxi] [RFC PATCH 8/8] sunxi: enable PSCI for A83T SoC

2017-07-03 Thread Maxime Ripard
On Sun, Jul 02, 2017 at 04:27:52PM +0100, Marc Zyngier wrote: > It definitely requires extra testing (booting the kernel hardly shakes > the GIC), but that's certainly encouraging. Can you run some > significant workload in a guest (kernel compilation, hackbench) and > report the results? Also, en

Re: [U-Boot] [PATCH 00/14] dm: sata: mmc: Convert a sunxi board to driver model for MMC, SATA

2017-07-03 Thread Maxime Ripard
Hi Simon, On Sat, Jul 01, 2017 at 07:32:56PM -0600, Simon Glass wrote: > Hi, > > On 19 June 2017 at 11:11, Simon Glass wrote: > > > > At present SCSI support for driver model works only with PCI controllers. > > > > This series makes the following changes: > > > > - Adjusts SATA/AHCI support to

Re: [U-Boot] [PATCH 1/1] Set VLD04 output to 2.8V in PMIC initialization.

2017-07-03 Thread Fabio Estevam
Hi Gautam, On Mon, Jul 3, 2017 at 2:55 PM, Gautam Bhat wrote: > I would really like to mainline the MIPI DSI support to the mainline > kernel as well as u-boot. > In fact I think support for u-boot would be much simpler. I have > already written a driver for the > HX8363 MIPI controller for the

Re: [U-Boot] [PATCH 1/1] Set VLD04 output to 2.8V in PMIC initialization.

2017-07-03 Thread Gautam Bhat
On Wed, Jun 28, 2017 at 7:43 PM, Fabio Estevam wrote: > > Hi Gautam, > > On Tue, Jun 27, 2017 at 11:32 PM, mind entropy wrote: > > > Hi Fabio, > > > > The patch for the kernel was supposed to be next. Should I send the kernel > > patch to mainline or some place else? > > Do you have MIPI DSI work

Re: [U-Boot] [PATCH 1/1] bootefi: allow return without EFI_BOOT_SERVICES.Exit

2017-07-03 Thread Alexander Graf
On 03.07.17 18:36, Heinrich Schuchardt wrote: On 07/03/2017 02:01 PM, Alexander Graf wrote: On 06/24/2017 05:39 PM, Heinrich Schuchardt wrote: The Unified Extensible Firmware Interface Specification, version 2.7, defines in chapter 2.1.2 - UEFI Application that an EFI application may either d

Re: [U-Boot] [U-Boot, v3, 3/3] rockchop: video: mipi: Makefile: Add soc specfic driver for rk3399 mipi dsi

2017-07-03 Thread Philipp Tomsich
> Add Makefile item for soc specific driver for rk3399 mipi dsi. > > Signed-off-by: Eric Gao > Acked-by: Philipp Tomsich > --- > > Changes in v2: None > Changes in v1: None > > drivers/video/rockchip/Makefile | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > Reviewed-by: Philipp T

Re: [U-Boot] [U-Boot, v3, 2/3] rockchip: video: Makefile: Add soc specific driver for rk3288 mipi dsi

2017-07-03 Thread Philipp Tomsich
> Signed-off-by: Eric Gao > Acked-by: Philipp Tomsich > --- > > Changes in v2: None > Changes in v1: None > > drivers/video/rockchip/Makefile | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Philipp Tomsich ___ U-Boot mailing list U-Boot@lis

Re: [U-Boot] [U-Boot, v8, 4/8] rockchip: configs: rk3328: enable dwc2 driver and config fastboot

2017-07-03 Thread Philipp Tomsich
> Config dwc2 driver support host and gadget function. Add support > of fastboot function. > > Signed-off-by: Meng Dongyang > Acked-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich > --- > > Changes in v8: > - Convert CONFIG_USB_DWC2 to a Kconfig entry > > Changes in v7: None > Changes in v

Re: [U-Boot] [U-Boot, v8, 8/8] rockchip: dts: rk3399: control vbus of typec by fixed regulator

2017-07-03 Thread Philipp Tomsich
> Add fixed regulator for the port of typec0 and typec1 to control vbus > instead of gpio. > > Signed-off-by: Meng Dongyang > Reviewed-by: Simon Glass > Reviewed-by: Philipp Tomsich > Acked-by: Philipp Tomsich > --- > > Changes in v8: None > Changes in v7: None > Changes in v6: None > Changes

Re: [U-Boot] [U-Boot, v8, 6/8] rockchip: rk3328: board: add support of dwc2 gadget

2017-07-03 Thread Philipp Tomsich
> Probe dwc2 udc in the function of board_usb_start to enable > usb gadget function. > > Signed-off-by: Meng Dongyang > Reviewed-by: Simon Glass > Reviewed-by: Philipp Tomsich > Acked-by: Philipp Tomsich > --- > > Changes in v8: None > Changes in v7: None > Changes in v6: None > Chagnes in v5

Re: [U-Boot] [PATCH 1/1] bootefi: allow return without EFI_BOOT_SERVICES.Exit

2017-07-03 Thread Heinrich Schuchardt
On 07/03/2017 02:01 PM, Alexander Graf wrote: > On 06/24/2017 05:39 PM, Heinrich Schuchardt wrote: >> The Unified Extensible Firmware Interface Specification, version 2.7, >> defines in chapter 2.1.2 - UEFI Application that an EFI application may >> either directly return or call EFI_BOOT_SERVICES.

Re: [U-Boot] [U-Boot, v8, 7/8] rockchip: dts: rk3328: support and enable dwc2

2017-07-03 Thread Philipp Tomsich
> Enable dwc2 controller and add fixed regulator for dwc2 controller to > control vbus. > > Signed-off-by: Meng Dongyang > Reviewed-by: Simon Glass > Reviewed-by: Philipp Tomsich > Acked-by: Philipp Tomsich > --- > > Changes in v8: None > Changes in v7: None > Changes in v6: None > Changes in

Re: [U-Boot] [U-Boot, v8, 3/8] rockchip: dts: rk3328: add fixed regulator node for xhci

2017-07-03 Thread Philipp Tomsich
> The driver changes gpio to fixed regulator to control vbus, so add > fixed regulator node in DTS for xhci driver. > > Signed-off-by: Meng Dongyang > Reviewed-by: Philipp Tomsich > Acked-by: Philipp Tomsich > --- > > Changes in v8: None > Changes in v7: None > Changes in v6: > - New patch, sp

Re: [U-Boot] [U-Boot, v8, 4/8] rockchip: configs: rk3328: enable dwc2 driver and config fastboot

2017-07-03 Thread Philipp Tomsich
> Config dwc2 driver support host and gadget function. Add support > of fastboot function. > > Signed-off-by: Meng Dongyang > Acked-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich > --- > > Changes in v8: > - Convert CONFIG_USB_DWC2 to a Kconfig entry > > Changes in v7: None > Changes in v

Re: [U-Boot] [U-Boot, v8, 2/8] usb: host: xhci-rockchip: use fixed regulator to control vbus

2017-07-03 Thread Philipp Tomsich
> Use fixed regulator to control the voltage of vbus. Enable vbus > supply when usb start and disable vbus supply when usb stop. > > Signed-off-by: Meng Dongyang > Reviewed-by: Philipp Tomsich > Acked-by: Philipp Tomsich > --- > > Changes in v8: None > Changes in v7: None > Changes in v6: > -

Re: [U-Boot] [U-Boot, v8, 1/8] usb: Kconfig: config USB_XHCI_ROCKCHIP depends on DM_REGULATOR and DM_USB

2017-07-03 Thread Philipp Tomsich
> The xhci-rockchip driver depends on DM_REGULATOR and DM_USB. > So add dependent features for xhci-rockchip driver in Kconfig. > > Signed-off-by: Meng Dongyang > Reviewed-by: Philipp Tomsich > Acked-by: Philipp Tomsich > --- > > Changes in v8: None > Changes in v7: None > Changes in v6: > - N

Re: [U-Boot] [U-Boot, v8, 5/8] usb: dwc2: use dev_read_bool() instead of fdt_getprop()

2017-07-03 Thread Philipp Tomsich
> Use dev_read_bool() instead of fdt_getprop() to get the property > from DTS. And add a comment for "hnp-srp-disable" property to > fully describe its effect. > > Signed-off-by: Meng Dongyang > Reviewed-by: Philipp Tomsich > Acked-by: Philipp Tomsich > --- > > Changes in v8: None > Changes in

Re: [U-Boot] am335x uboot TFTP via SPL over usb is failing

2017-07-03 Thread Michael Welling
On Mon, Jul 03, 2017 at 05:53:01PM +0530, Ravi Kumar Prasad wrote: > Hi, Michael > Please cc the your findings of second bisect here, so that someone can help > further. Okay sure. After finding that the TFTP was failing after a specific commit, I reverted the commit and found when the bootp sta

Re: [U-Boot] [PATCH 2/2] arm: config: enforce -fno-pic for SPL and normal U-Boot

2017-07-03 Thread Tom Rini
On Mon, Jul 03, 2017 at 09:14:08PM +0800, Peng Fan wrote: > If not pass -fno-pic to toolchains, some toolchains may generate > .got and .got.plt sections, but when generate binaries, we > did not take .got and .got.plt into consideration, then > SPL or normal U-Boot boot failure because image corr

[U-Boot] [PATCH] usb: dwc2: make truncation of ep->dma_buf explicit for setdma_rx/tx

2017-07-03 Thread Philipp Tomsich
There's an implicit truncation in setdma_rx/tx of the dma_buf address to 32bit that triggers the following warning with recent GCC versions: writel((unsigned int) ep->dma_buf, ®->out_endp[ep_num].doepdma); ^ drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c: In function 'setdma_rx': driver

[U-Boot] [PATCH] efi_loader: Add efi-next git tree to MAINTAINERS file

2017-07-03 Thread Alexander Graf
The efi-next tree lives on github, not the usual denx git. Reflect this in the MAINTAINERS file so that people can find it. Signed-off-by: Alexander Graf --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 957e27c..85dfa14 100644 --- a/MAINTAINERS

Re: [U-Boot] [PATCH 1/1] efi_loader: disk: iterate only over valid block devices

2017-07-03 Thread Alexander Graf
On 07/03/2017 05:34 PM, Simon Glass wrote: Hi Alex, On 3 July 2017 at 06:37, Alexander Graf wrote: On 06/20/2017 09:39 PM, Andreas Färber wrote: Am 20.06.2017 um 21:10 schrieb Heinrich Schuchardt: The efi_loader currently stops iterating over the available block devices stopping at the first

Re: [U-Boot] [PATCH 1/1] efi_loader: disk: iterate only over valid block devices

2017-07-03 Thread Simon Glass
Hi Alex, On 3 July 2017 at 06:37, Alexander Graf wrote: > On 06/20/2017 09:39 PM, Andreas Färber wrote: >> >> Am 20.06.2017 um 21:10 schrieb Heinrich Schuchardt: >>> >>> The efi_loader currently stops iterating over the available >>> block devices stopping at the first device that fails. >>> This

[U-Boot] [PULL 0/6] efi patch queue 2017-07-03

2017-07-03 Thread Alexander Graf
Hi Tom, This is my current patch queue for efi. Please pull. Alex The following changes since commit 8d6040c725bfa40fba1bd6b5f356ee713c1ac7d1: pico-imx7d: Remove bouncing email (2017-06-29 21:30:16 -0400) are available in the git repository at: git://github.com/agraf/u-boot.git tags/sig

Re: [U-Boot] [U-Boot, 2/2] efi_loader: check CreateEvent() parameters

2017-07-03 Thread Alexander Graf
> Add some of the invalid parameter checks described in the UEFI > specification for CreateEvent(). This does not include checking > the validity of the type and tpl parameters. > > Signed-off-by: Jonathan Gray > Acked-By: Heinrich Schuchardt Thanks, applied to efi-next Alex

Re: [U-Boot] [U-Boot, 1/2] efi_loader: run CreateEvent() notify function based on flags

2017-07-03 Thread Alexander Graf
> The UEFI specification states that the tpl, function and context > arguments are to be ignored if neither EVT_NOTIFY_WAIT or > EVT_NOTIFY_SIGNAL are specified. This matches observed behaviour with > an AMI EDK2 based UEFI implementation. > > Skip calling the notify function if neither flag is p

Re: [U-Boot] efi_loader: Add check for fallback fdt memory reservation

2017-07-03 Thread Alexander Graf
> When running bootefi, we allocate new space but never check whether > the allocation succeeded. This patch adds a check so that in case > things go wrong, we at least know they did. > > Signed-off-by: Alexander Graf Thanks, applied to efi-next Alex ___

Re: [U-Boot] efi_loader: add static to local functions

2017-07-03 Thread Alexander Graf
> These are locally used in lib/efi_loader/efi_boottime.c > > Signed-off-by: Masahiro Yamada > Reviewed-by: Bin Meng Thanks, applied to efi-next Alex ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [PATCH] usb: kbd: don't fail with iomux

2017-07-03 Thread Rob Clark
stdin might not be set, which would cause iomux_doenv() to fail therefore causing probe_usb_keyboard() to fail. Furthermore if we do have iomux enabled, the sensible thing (in terms of user experience) would be to simply add ourselves to the list of stdin devices. Signed-off-by: Rob Clark --- c

Re: [U-Boot] Targets with xHCI but without DM_USB

2017-07-03 Thread Bin Meng
Hi Vignesh, On Thu, Jun 29, 2017 at 2:41 PM, Vignesh R wrote: > Hi Stefan, > > On Thursday 29 June 2017 11:15 AM, Stefan Roese wrote: >> Hi, >> >> as you might have noticed, Bin Meng is currently greatly improving >> the U-Boot xHCI support. While doing this, he noticed that some >> additions are

[U-Boot] [PATCH 2/2] arm: config: enforce -fno-pic for SPL and normal U-Boot

2017-07-03 Thread Peng Fan
If not pass -fno-pic to toolchains, some toolchains may generate .got and .got.plt sections, but when generate binaries, we did not take .got and .got.plt into consideration, then SPL or normal U-Boot boot failure because image corrupted. Need to pass -fno-pic to disable generating .got and .got.p

[U-Boot] [PATCH 1/2] armv8: apply -mgeneral-regs-only

2017-07-03 Thread Peng Fan
Pass -mgeneral-regs-only to GCC, if not compiler may generate instructions that use SIMD registers. Signed-off-by: Peng Fan Cc: Albert Aribaud Cc: Tom Rini --- arch/arm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 3e93

Re: [U-Boot] [PATCH 1/1] efi_loader: disk: iterate only over valid block devices

2017-07-03 Thread Alexander Graf
On 06/20/2017 09:39 PM, Andreas Färber wrote: Am 20.06.2017 um 21:10 schrieb Heinrich Schuchardt: The efi_loader currently stops iterating over the available block devices stopping at the first device that fails. This may imply that no block device is found. With the patch efi_loader only itera

Re: [U-Boot] am335x uboot TFTP via SPL over usb is failing

2017-07-03 Thread Ravi Kumar Prasad
Hi, Michael Please cc the your findings of second bisect here, so that someone can help further. On Mon, Jun 26, 2017 at 5:12 PM, Ravi Kumar Prasad <7rav...@gmail.com> wrote: > Hi, > > I'm developing a node.js usb bootloader server for the am335x (BeagleBone) > platform which can boot it into USB

Re: [U-Boot] [PATCH 1/1] efi_loader: provide meaningful status code

2017-07-03 Thread Alexander Graf
On 06/25/2017 10:56 PM, Heinrich Schuchardt wrote: Currenty any EFI status other than EFI_SUCCESS is reported as Application terminated, r = -22 With the patch the status code and its mnemonic is printed. Signed-off-by: Heinrich Schuchardt While I think it's very useful to have the status co

Re: [U-Boot] [PATCH 1/1] bootefi: allow return without EFI_BOOT_SERVICES.Exit

2017-07-03 Thread Alexander Graf
On 06/24/2017 05:39 PM, Heinrich Schuchardt wrote: The Unified Extensible Firmware Interface Specification, version 2.7, defines in chapter 2.1.2 - UEFI Application that an EFI application may either directly return or call EFI_BOOT_SERVICES.Exit(). Unfortunately U-Boot makes the incorrect assum

Re: [U-Boot] Pull request: efi_loader: check CreateEvent() parameters

2017-07-03 Thread Alexander Graf
Hi Heinrich, Thanks a lot for the reminder email. I'll get them integrated asap. Alex On 07/01/2017 09:49 AM, Heinrich Schuchardt wrote: Dear Tom, could you, please, consider pulling [U-Boot,1/2] efi_loader: run CreateEvent() notify function based on flags https://patchwork.ozlabs.org/patch/

[U-Boot] [PATCH 1/3] zynq: Add EFI runtime sections to linker script

2017-07-03 Thread Alexander Graf
When using EFI_LOADER, we add a few special sections for runtime code and data which get relocated on demand when executing a target OS. These runtime structures need to get annotated properly in the linker script. While we do that properly in the generic one, we missed out on the zynq specific li

[U-Boot] [PATCH 2/3] zynq: Enable distro boot

2017-07-03 Thread Alexander Graf
Distro boot allows devices to boot using standardized boot methods by default. This can be very handy for distributions that want to run on different platforms. This patch moves the zynq platform to use its old, zynq specific boot method first and then fall back to distro boot. That way supporting

[U-Boot] [PATCH 0/3] Zynq: Add support for UEFI booted Z-Turn

2017-07-03 Thread Alexander Graf
I got myself an amazing new toy: A MYIR Z-Turn board. Since the only sane way to boot distributions on such a device is obviously U-Boot with grub and openSUSE, I stumbled over a few shortcomings in the current upstream state of affairs. This patch set fixes most of them. With this set applied, w

[U-Boot] [PATCH 3/3] zynq: Add Z-Turn board

2017-07-03 Thread Alexander Graf
The Z-Turn board is a low cost development board based on the Xilinx Zynq SoC. While it's powerful and quite versatile, it so far lacked upstream support. This patch adds basic support for the Z-Turn. It does however for now miss enablement for MIO51 reset which means that USB and ethernet don't w

[U-Boot] [PATCH] efi_loader: Add check for fallback fdt memory reservation

2017-07-03 Thread Alexander Graf
When running bootefi, we allocate new space but never check whether the allocation succeeded. This patch adds a check so that in case things go wrong, we at least know they did. Signed-off-by: Alexander Graf --- cmd/bootefi.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/cmd/bootefi.

Re: [U-Boot] [PATCH v4 00/17] nand: remove direct acces to nand_info array

2017-07-03 Thread Tom Rini
On Mon, Jul 03, 2017 at 11:30:36AM +0530, Lokesh Vutla wrote: > > > On Sunday 02 July 2017 06:11 PM, Tom Rini wrote: > > On Mon, Jun 26, 2017 at 07:12:50PM -0500, Grygorii Strashko wrote: > > > >> This is a preparation required for adding Nand DM support. This series > >> introduces new API get_

[U-Boot] [PATCH] armv8/fsl-lsch2: correct the config description of DSPI clock divider

2017-07-03 Thread Zhiqiang Hou
From: Hou Zhiqiang It is derived from Platform clock instead of Platform PLL frequency. Signed-off-by: Hou Zhiqiang --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig b/arch/arm/cpu/armv8/

[U-Boot] [PATCH] fsl-lsch2: csu: correct the workaround A-010315

2017-07-03 Thread Zhiqiang Hou
From: Hou Zhiqiang The implementation of workaround A-010315 is wrong, it updated other IP's CSU registers. Signed-off-by: Hou Zhiqiang --- board/freescale/common/ns_access.c | 20 ++-- include/fsl_csu.h | 2 +- 2 files changed, 11 insertions(+), 11 deletions(

[U-Boot] [PATCH v11 3/6] kconfig: Convert FPGA and FPGA_ALTERA configuration to Kconfig

2017-07-03 Thread tien . fong . chee
From: Tien Fong Chee This converts the following to Kconfig: CONFIG_FPGA CONFIG_FPGA_ALTERA Signed-off-by: Tien Fong Chee Reviewed-by: Ley Foon Tan Reviewed-by: Dinh Nguyen --- configs/astro_mcf5373l_defconfig| 1 + configs/theadorable_debug_defconfig | 1 + configs/theadorable_def

[U-Boot] [PATCH v11 4/6] kconfig: Convert FPGA_SOCFPGA configuration to Kconfig

2017-07-03 Thread tien . fong . chee
From: Tien Fong Chee This converts the following to Kconfig: CONFIG_FPGA_SOCFPGA Signed-off-by: Tien Fong Chee Reviewed-by: Ley Foon Tan Reviewed-by: Dinh Nguyen --- configs/socfpga_arria5_defconfig | 1 + configs/socfpga_cyclone5_defconfig | 1 + configs/socfpga_de0_nano_soc_de

[U-Boot] [PATCH v11 5/6] drivers: Enable FPGA driver build on SPL

2017-07-03 Thread tien . fong . chee
From: Tien Fong Chee Enable FPGA driver build for SPL because FPGA driver is needed for SPL to configure and getting DDR up before loading U-boot into DDR and booting from there. Signed-off-by: Tien Fong Chee Reviewed-by: Ley Foon Tan Reviewed-by: Dinh Nguyen --- drivers/Makefile | 1 + 1 fi

[U-Boot] [PATCH v11 6/6] arm: socfpga: Add FPGA driver support for Arria 10

2017-07-03 Thread tien . fong . chee
From: Tien Fong Chee Add FPGA driver support for Arria 10. Signed-off-by: Tien Fong Chee Reviewed-by: Ley Foon Tan Reviewed-by: Dinh Nguyen --- arch/arm/mach-socfpga/include/mach/fpga_manager.h | 2 + .../include/mach/fpga_manager_arria10.h| 100 + configs/socfpga_arria10_

[U-Boot] [PATCH v11 2/6] arm: socfpga: Restructure FPGA driver in the preparation to support A10

2017-07-03 Thread tien . fong . chee
From: Tien Fong Chee Move FPGA driver which is Gen5 specific code into Gen5 driver file and keeping common FPGA driver intact. All the changes are still keeping in driver/fpga/ and no functional change. Subsequent patch would move FPGA manager driver from arch/arm into driver/fpga/. Signed-off-b

[U-Boot] [PATCH v11 1/6] arm: socfpga: Remove unused passing parameter of socfpga_bridges_reset

2017-07-03 Thread tien . fong . chee
From: Tien Fong Chee Remove parameter from socfpga_bridges_reset(), and keeping this function for single purpose which is just triggering reset on bridges. socfpga_reset_deassert_bridges_handoff() can be called for releasing reset on any bridges based on the bridge setting defined in fdt. Signed

[U-Boot] [PATCH v11 0/6] Add Intel Arria 10 SoC FPGA driver

2017-07-03 Thread tien . fong . chee
From: Tien Fong Chee This is the 11th version of patchset to adds support for Intel Arria 10 SoC FPGA driver. This version mainly resolved comments from Dinh in [v10]. This series is working on top of u-boot-socfpga.git - http://git.denx.de/u-boot-socfpga.git [v10]: https://www.mail-archive.com/

[U-Boot] [PATCH v11 0/6] Add Intel Arria 10 SoC FPGA driver

2017-07-03 Thread tien . fong . chee
From: Tien Fong Chee This is the 11th version of patchset to adds support for Intel Arria 10 SoC FPGA driver. This version mainly resolved comments from Dinh in [v10]. This series is working on top of u-boot-socfpga.git - http://git.denx.de/u-boot-socfpga.git [v10]: https://www.mail-archive.com/

Re: [U-Boot] CONFIG_USB_EHCI_HCD breaks xHCI drivers even on DM

2017-07-03 Thread Marek Vasut
On 07/03/2017 08:12 AM, Masahiro Yamada wrote: > Hi Marek, Simon. > > > Basically, Driver Mode allows us to enable multiple drivers without > affecting each other > because drivers are configured in probe functions > instead of compile-time configuration by #ifdef:s > > With DM, I think it is le

Re: [U-Boot] [linux-sunxi] [RFC PATCH 8/8] sunxi: enable PSCI for A83T SoC

2017-07-03 Thread Maxime Ripard
Hi, On Sun, Jul 02, 2017 at 04:40:20PM +0100, André Przywara wrote: > On 02/07/17 15:17, Maxime Ripard wrote: > > On Wed, Jun 07, 2017 at 03:06:55PM +0100, Marc Zyngier wrote: > >>> If that is so fundamentally broken that this is the only benefit, I > >>> guess we might as well use some old-style

Re: [U-Boot] [PATCH 0/5] fix the boot issue of Rockchip RK3036

2017-07-03 Thread Andy Yan
Hi Philipp: On 2017年06月30日 16:14, Dr. Philipp Tomsich wrote: Andy, On 30 Jun 2017, at 09:47, Andy Yan wrote: As Kever mentioned in [0], the RK3036 based boards could't bootup for a long time. After a git bisect, I found the RK3036 SPL code size has increased from patch [1] [2]. Before Tom'

Re: [U-Boot] [PATCHv6 3/3] ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards

2017-07-03 Thread Jorge Ramirez
On 06/28/2017 11:44 AM, Jorge Ramirez wrote: On 06/26/2017 03:52 PM, Jorge Ramirez-Ortiz wrote: This port adds support for: 1) Serial 2) eMMC 3) USB It has been tested with ARM TRUSTED FIRMWARE running u-boot as the BL33 executable [see board's README] FYI, I just

[U-Boot] [PATCH] net: gmac_rockchip: Add support for pinctrl

2017-07-03 Thread Romain Perier
Currently, selecting state simple is done by the device driver model, prior probing the driver. The problem is that it's done and called on the pinctrl node with "gmac" as the "periph" struct udevice *. So pinctrl-rk3288 is looking for an interrupt property that is not found, and then gmac_config i

Re: [U-Boot] [PATCH] arch: armv8: Remove the error when dcache is off

2017-07-03 Thread Alexander Graf
On 03.07.17 09:03, Siva Durga Prasad Paladugu wrote: Hi Alex, -Original Message- From: Alexander Graf [mailto:ag...@suse.de] Sent: Monday, July 03, 2017 12:24 PM To: Michal Simek ; Siva Durga Prasad Paladugu ; u-boot@lists.denx.de; Tom Rini ; Simon Glass Cc: Siva Durga Prasad Paladug

Re: [U-Boot] [PATCH] arch: armv8: Remove the error when dcache is off

2017-07-03 Thread Siva Durga Prasad Paladugu
Hi Alex, > -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Monday, July 03, 2017 12:24 PM > To: Michal Simek ; Siva Durga Prasad Paladugu > ; u-boot@lists.denx.de; Tom Rini > ; Simon Glass > Cc: Siva Durga Prasad Paladugu > Subject: Re: [U-Boot] [PATCH] arch: arm