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

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

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

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 ;

[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

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

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;

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

[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

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 ___

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:

[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

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

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

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:

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

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 >

[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

[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

[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

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,

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

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

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

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

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

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

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 > ---

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

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

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

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

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

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 > ---

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

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

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 >

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

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

[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':

[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

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

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

[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

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,

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

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

[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

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

[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

[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

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

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

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

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

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

[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

[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

[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,

[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

[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

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

[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

[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

[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 ---

[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 ---

[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

[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

[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

[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

[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]:

[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]:

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

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

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

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

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

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:19 PM > To: Siva Durga Prasad Paladugu ; Michal Simek > > Cc: u-boot@lists.denx.de; Tom Rini ; Simon Glass >

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

2017-07-03 Thread Icenowy Zheng
于 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. >> >> Add a stub device node for it. >>

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

2017-07-03 Thread Alexander Graf
On 27.06.17 13:52, Michal Simek wrote: On 27.6.2017 13:46, Alexander Graf wrote: On 27.06.17 13:20, Michal Simek wrote: Hi, On 27.6.2017 13:01, Alexander Graf wrote: I don't think that's going to work - at least not without compiler flag changes. By default, gcc will happily generate

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

2017-07-03 Thread 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. > > Add a stub device node for it. > > The device node cannot work for Linux, because it now lacks the proper > clock definition;

Re: [U-Boot] [PATCH v8 8/10] GPT: read partition table from device into a data structure

2017-07-03 Thread Lothar Waßmann
Hi, On Sat, 1 Jul 2017 15:42:57 -0700 ali...@peloton-tech.com wrote: > From: Alison Chaiken > > Make the partition table available for modification by reading it from > the user-specified device into a linked list. Provide an accessor > function for command-line

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

2017-07-03 Thread Alexander Graf
On 03.07.17 08:29, Siva Durga Prasad Paladugu wrote: Hi Alex, -Original Message- From: Alexander Graf [mailto:ag...@suse.de] Sent: Thursday, June 29, 2017 7:34 PM To: Siva Durga Prasad Paladugu ; Michal Simek Cc: u-boot@lists.denx.de; Tom

Re: [U-Boot] [PATCH v6 3/3] GPT: provide commands to selectively rename partitions

2017-07-03 Thread Lothar Waßmann
Hi, > The underlying cause of the problem is that u-boot's implementations > of strlen() and the CLI handle strings differently. The former > "u-boot's implementation" is conformant with the standard and well documented libc implementation that exists since the dawn of C programming. >

Re: [U-Boot] [PATCH 10/10] gpt: harden set_gpt_info() against non NULL-terminated strings

2017-07-03 Thread Lothar Waßmann
Hi, On Sat, 1 Jul 2017 15:44:44 -0700 ali...@peloton-tech.com wrote: > From: Alison Chaiken > > Strings read from devices may sometimes fail to be > NULL-terminated. The functions in lib/string.c are subject to > failure in this case. Protect against observed

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: Thursday, June 29, 2017 7:34 PM > To: Siva Durga Prasad Paladugu ; Michal Simek > > Cc: u-boot@lists.denx.de; Tom Rini ; Simon Glass >

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

2017-07-03 Thread Masahiro Yamada
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 legitimate to enable EHCI and xHCI at the same time, but it is not

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

2017-07-03 Thread Lokesh Vutla
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_nand_dev_by_index() to avoid direct acces to nand_info >> array and updates