[U-Boot] [PATCH 0/6][v4] Update LS2080A SoC code to support LS2088A SoC

2016-11-17 Thread Priyanka Jain
From: Priyanka Jain LS2088A is similar to LS2080A SoC with some differences like 1)Timer controller offset is different 2)It has A72 cores 3)Process to release secondary cores is different 4)LS2088A SoC has TZASC controller In preparation of using same binary for LS2088A

[U-Boot] [PATCH] board/ls2080rdb, qds: Enable ddr hashing for controller version 5.2.1

2016-11-17 Thread Priyanka Jain
From: Priyanka Jain Enable DDR hashing for DDR performance optimization on LS2088A which has DDR controller version 5.2.1 Signed-off-by: Priyanka Jain --- board/freescale/ls2080aqds/ddr.c |5 + board/freescale/ls2080ardb/ddr.c |5 +

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

2016-11-17 Thread Mugunthan V N
Joe On Tuesday 15 November 2016 09:10 AM, Joe Hershberger wrote: > This is great, but can you please add this info to a bindings file in > doc/device-tree-bindings/net/keystone-netcp.txt so that it's less > magic? link-interface is already documented in Kernel device tree bindings

Re: [U-Boot] [U-Boot, v8, 4/8] efi_loader: AArch64: Run EFI payloads in EL2 if U-Boot runs in EL3

2016-11-17 Thread Alexander Graf
> Some boards decided not to run ATF or other secure firmware in EL3, so > they instead run U-Boot there. The uEFI spec doesn't know what EL3 is > though - it only knows about EL2 and EL1. So if we see that we're running > in EL3, let's get into EL2 to make payloads happy. > > Signed-off-by:

Re: [U-Boot] [PATCH v6 0/6] LS2080ARDB: Enable EFI boot support

2016-11-17 Thread Alexander Graf
On 11/15/2016 11:11 PM, york sun wrote: On 11/15/2016 12:36 PM, Alexander Graf wrote: Hi York, Do you want to take that patch set? Yes, I can. I saw it assigned to you in patchwork so I didn't act. Hm, I've added a few fixups to my efi-next queue to make the ls2080 patches not break. I

[U-Boot] [PATCH 4/6][v4] armv8: fsl-layerscape : Check SVR for initializing TZASC

2016-11-17 Thread Priyanka Jain
From: Priyanka Jain LS2080 SoC and its personalities does not support TZASC But other new SoCs like LS2088A, LS1088A supports TZASC Hence, skip initializing TZASC for Ls2080A based on SVR Signed-off-by: Priyanka Jain --- Changes for v3: Update

[U-Boot] [PATCH v3 5/6] drivers: usb: gadget: ether: prepare driver for driver model migration

2016-11-17 Thread Mugunthan V N
prepare driver for driver model migration Signed-off-by: Mugunthan V N --- drivers/usb/gadget/ether.c | 73 +- 1 file changed, 52 insertions(+), 21 deletions(-) diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c

[U-Boot] [PATCH v3 08/10] am33xx: board: init usb ether gadget for rndis support

2016-11-17 Thread Mugunthan V N
Add usb ether gadget device with usb_ether_init() when CONFIG_DM_ETH and CONFIG_USB_ETHER are defined. Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini --- arch/arm/cpu/armv7/am33xx/board.c | 8 1 file changed, 8 insertions(+) diff --git

[U-Boot] [PATCH v3 09/10] am335x_evm: enable usb ether gadget as it supports DM_ETH

2016-11-17 Thread Mugunthan V N
Since usb ether gadget have support for driver model, so enable usb ether gadget. Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini --- include/configs/am335x_evm.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/configs/am335x_evm.h

[U-Boot] [PATCH v3 10/10] defconfig: am335x_evm: enable usb driver model

2016-11-17 Thread Mugunthan V N
enable usb driver model for am335x bbb as musb supports driver model Signed-off-by: Mugunthan V N --- configs/am335x_evm_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig index e5a1696914..7e1cf3213e

Re: [U-Boot] [PATCH] sunxi: mmc: Set CONFIG_SYS_MMC_MAX_DEVICE

2016-11-17 Thread Jaehoon Chung
On 11/14/2016 03:48 AM, Hans de Goede wrote: > Hi, > > On 05-11-16 20:51, Emmanuel Vadot wrote: >> Set CONFIG_SYS_MMC_MAX_DEVICE to 4 for sunxi SoC. >> This define is needed in the API code. >> >> Signed-off-by: Emmanuel Vadot > > LGTM: > > Reviewed-by: Hans de Goede

[U-Boot] [PATCH v3 01/10] configs: am335x: usb: do not define CONFIG_DM_USB for spl

2016-11-17 Thread Mugunthan V N
Since OMAP's spl doesn't support DM currently, do not define CONFIG_DM_USB for spl build. Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini --- include/configs/am335x_evm.h | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH v3 07/10] drivers: usb: musb: add ti musb peripheral driver with driver model support

2016-11-17 Thread Mugunthan V N
Add a TI MUSB peripheral driver with driver model support and the driver will be bound by the MUSB wrapper driver based on the dr_mode device tree entry. Signed-off-by: Mugunthan V N Reviewed-by: Simon Glass --- drivers/usb/musb-new/musb_uboot.c | 2 +

[U-Boot] [PATCH v3 06/10] drivers: usb: musb: add ti musb host driver with driver model support

2016-11-17 Thread Mugunthan V N
Add a TI MUSB host driver with driver model support and the driver will be bound by the MUSB wrapper driver based on the dr_mode device tree entry. Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini --- drivers/usb/musb-new/ti-musb.c | 191

[U-Boot] [PATCH v3 04/10] am33xx: board: probe misc drivers to register musb devices

2016-11-17 Thread Mugunthan V N
MUSB wrapper driver is bound as MISC device and underlying usb devices are bind to usb drivers based on dr_mode, so probing the MISC wrapper driver to register musb devices. Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini ---

[U-Boot] [PATCH v3 02/10] am33xx: board: do not register usb devices when CONFIG_DM_USB is defined

2016-11-17 Thread Mugunthan V N
Do not register usb devices when CONFIG_DM_USB is define. Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini --- arch/arm/cpu/armv7/am33xx/board.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/am33xx/board.c

[U-Boot] [PATCH v3 05/10] drivers: usb: musb: adopt musb backend driver to driver model

2016-11-17 Thread Mugunthan V N
Currently all backend driver ops uses hard coded physical address, so to adopt the driver to DM, add device pointer to ops call backs so that drivers can get physical addresses from the usb driver priv/plat data. Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH] spl: mmc: fix build without CONFIG_SPL_LIBCOMMON_SUPPORT

2016-11-17 Thread Jaehoon Chung
Hi, On 11/14/2016 06:46 AM, Yann E. MORIN wrote: > When CONFIG_SPL_LIBCOMMON_SUPPORT is disabled, the last case statement > is missing a proper statement, which makes the compiler whine. > > Signed-off-by: "Yann E. MORIN" > Cc: Pantelis Antoniou

[U-Boot] [PATCH v3 1/6] drivers: usb: gadget: ether: adopt to usb driver model

2016-11-17 Thread Mugunthan V N
Convert usb ether gadget to adopt usb driver model Signed-off-by: Mugunthan V N Reviewed-by: Simon Glass --- drivers/usb/gadget/ether.c | 36 1 file changed, 36 insertions(+) diff --git a/drivers/usb/gadget/ether.c

[U-Boot] [PATCH v3 03/10] drivers: usb: musb: add ti musb misc driver for wrapper

2016-11-17 Thread Mugunthan V N
Add a misc driver for MUSB wrapper, so that based on dr_mode the USB devices can bind to USB host or USB device drivers. Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini --- drivers/usb/musb-new/Kconfig | 9 ++ drivers/usb/musb-new/Makefile |

[U-Boot] [PATCH v3 00/10] driver model bring-up of musb on AM335x GP and BBB

2016-11-17 Thread Mugunthan V N
This patch series enables musb driver to adopt driver model. This has been tested on the following evms (logs [1]) by loading kernel and dtbs from usb mass storage (host) and usb rndis mode (device). * AM335x GP evm * AM335x BBB Also pushed a branch for testing [2] This patch series depends on

Re: [U-Boot] 2016.09+fslc was working... But not anymore

2016-11-17 Thread Fabio Estevam
Hi Carlos, On Wed, Nov 16, 2016 at 4:57 PM, Carlos Alberto Musich Cuevas wrote: > Hello, > > The following sequence is causing the error below. > > Please note that few days ago it was working. > > > > SEQUENCE > > $ cd ~/ > $ git clone >

[U-Boot] [PATCH 6/6][v4] armv8/fsl-lsch3: Update code to release secondary cores

2016-11-17 Thread Priyanka Jain
From: Priyanka Jain NXP ARMv8 SoC LS2080A release all secondary cores in one-go. But other new SoCs like LS2088A, LS1088A release secondary cores one by one. Update code to release secondary cores based on SoC SVR Add code to release cores one by one for non LS2080A SoCs

Re: [U-Boot] [U-Boot, v8, 2/8] efi_loader: Fix efi_add_runtime_mmio definition

2016-11-17 Thread Alexander Graf
> The efi_add_runtime_mmio prototype for disabled CONFIG_EFI_LOADER > was different from the enabled one. Sync them. > > Signed-off-by: Alexander Graf Thanks, applied to efi-next Alex ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, v8, 1/8] efi_loader: Disable PSCI reset for ls1043 and ls1046

2016-11-17 Thread Alexander Graf
> The NXP ls1043 and ls1046 systems do not (yet) have PSCI enablement > for reset. Don't enable generic PSCI reset code on them. > > Signed-off-by: Alexander Graf Thanks, applied to efi-next Alex ___ U-Boot mailing list

Re: [U-Boot] [PATCH] imx: iomux-v3: provide MX7D_PAD_ENET1_RX_CLK__ENET1_RGMII_RXC

2016-11-17 Thread Stefano Babic
Hi Sebastian, On 16/11/2016 21:02, Sebastian Andrzej Siewior wrote: > MX7D_PAD_ENET1_RX_CLK__ENET1_RX_CLK is in its currently RGMII_RXC. > Fix this by providing RX_CLK with properly setting the DAISY value and > MX7D_PAD_ENET1_RX_CLK__ENET1_RGMII_RXC which did the "previous" setting. > There

Re: [U-Boot] [U-Boot,v8,5/8] ls2080ardb: Reserve DP-DDR RAM

2016-11-17 Thread Alexander Graf
> The DP-DDR shouldn't be exposed as conventional memory to an OS, so let's > rather claim it's a reserved region in the EFI memory map > > Signed-off-by: Alexander Graf > Reviewed-by: York Sun Thanks, applied to efi-next Alex

Re: [U-Boot] [U-Boot, v8, 7/8] armv8: fsl-layerscape: Add support for efi_loader RTS reset

2016-11-17 Thread Alexander Graf
> When implementing efi loader support, we can expose runtime services > for payloads. One such service is CPU reset. > > This patch implements RTS CPU reset support for layerscape systems. > > Signed-off-by: Alexander Graf > Reviewed-by: York Sun Thanks,

Re: [U-Boot] [U-Boot, v8, 6/8] armv8: ls2080a: Declare spin tables as reserved for efi loader

2016-11-17 Thread Alexander Graf
> The efi loader code has its own memory map, so it needs to be aware where > the spin tables are located, to ensure that no code writes into those > regions. > > Signed-off-by: Alexander Graf Thanks, applied to efi-next Alex ___

Re: [U-Boot] [U-Boot, v8, 3/8] ls2080: Exit dpaa only right before exiting U-Boot

2016-11-17 Thread Alexander Graf
> On ls2080 we have a separate network fabric component which we need to > shut down before we enter Linux (or any other OS). Along with that also > comes configuration of the fabric using a description file. > > Today we always stop and configure the fabric in the boot script and > (again) exit

Re: [U-Boot] [PATCH] tools: imximage: display DCD block offset, length

2016-11-17 Thread Gary Bisson
Hi Eric, All, On Wed, Nov 16, 2016 at 05:13:41PM -0700, Eric Nelson wrote: > These values can be used to sign a U-Boot image for use when > loading an image through the Serial Download Protocol (SDP). > > Note that the address of 0x91 is usable with the stock > configuration of

Re: [U-Boot] mmc: add bkops-enable command

2016-11-17 Thread Tomas Melin
Hi, Thank you for your valuable comments and for taking the time to respond. Please see below for further comments. On 11/16/2016 03:39 PM, Jaehoon Chung wrote: > > On 11/16/2016 10:12 PM, Tomas Melin wrote: >> Hi, >> >> On 11/16/2016 02:05 PM, Jaehoon Chung wrote: >>> >>> Why needs to set

Re: [U-Boot] [U-Boot, v8, 4/8] efi_loader: AArch64: Run EFI payloads in EL2 if U-Boot runs in EL3

2016-11-17 Thread Alexander Graf
> Some boards decided not to run ATF or other secure firmware in EL3, so > they instead run U-Boot there. The uEFI spec doesn't know what EL3 is > though - it only knows about EL2 and EL1. So if we see that we're running > in EL3, let's get into EL2 to make payloads happy. > > Signed-off-by:

Re: [U-Boot] [U-Boot,v8,8/8] ls2080ardb: Convert to distro boot

2016-11-17 Thread Alexander Graf
> Most new systems in U-Boot these days make use of the generic "distro" > framework which allows a user to have U-Boot scan for a bootable OS > on all available media types. > > This patch extends the LS2080ARDB board to use that framework if the > hard coded NOR flash location does not contain

[U-Boot] [PATCH v3 0/2] drivers: timer: inroduce ARC timer driver

2016-11-17 Thread Vlad Zakharov
This patch series replaces legacy approach to access ARC timer via specific code in "arch/arc/lib/time.c" and uses timer driver instead. ARC cores may have up to 2 built-in timers: timer0 and timer1, usually at least one of them exists. They are controlled through auxiliary registers and so we

[U-Boot] [PATCH v3 1/2] drivers: timer: Introduce ARC timer driver

2016-11-17 Thread Vlad Zakharov
This commit introduces timer driver for ARC. ARC timers are configured via ARC AUX registers so we use special functions to access timer control registers. This driver allows utilization of either timer0 or timer1 depending on which one is available in real hardware. Essentially only existing

[U-Boot] [PATCH v3 2/2] arc: use timer driver instead of arch/arc/lib/timer.c

2016-11-17 Thread Vlad Zakharov
This commit replaces legacy timer code with usage of arc timer driver. Also it adds timer0 device tree node with corresponding "clock-frequency" property. Therefore we remove legacy CONFIG_SYS_TIMER_RATE config symbol that is not longer required. Furthermore the commit selects CONFIG_TIMER and

Re: [U-Boot] [PATCH 0/4] config: Add FreeBSD kconfig options

2016-11-17 Thread Emmanuel Vadot
On Fri, 11 Nov 2016 11:07:34 -0500 Tom Rini wrote: > On Mon, Nov 07, 2016 at 09:34:27AM +0100, Emmanuel Vadot wrote: > > > This series of patches add the needed bits for booting the FreeBSD > > loader. > > FreeBSD loader needs the U-Boot API and dache disabled for it to run

[U-Boot] Dynamically determine RAM size and pass it to kernel

2016-11-17 Thread Mike Looijmans
We have some Zynq based boards still in the field that have only 512MB RAM instead of 1GB. The memory chips are compatible and use the same settings apart from that one extra address bit. So what works is just configure the DDR controller for 1GB and then check if writing some data "wraps"

Re: [U-Boot] [PATCH] board/ls2088ardb: set rear fan speed to reduce noise

2016-11-17 Thread Fabio Estevam
On Thu, Nov 17, 2016 at 5:30 AM, wrote: > From: Ying Zhang > > Fan settings(PWM signal set to ~50% duty cycle for all three rear) > fans provide good thermal air flow with considerable reduction of > fan noise. > > Signed-off-by: Ying Zhang

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

2016-11-17 Thread Tom Rini
On Mon, Nov 14, 2016 at 12:08:23AM +, d...@synoia.com wrote: > Cédric > I move the fdt to 0x100 > fdt move ${fdt_addr}  100 > fdt addr 100 > > then > fdt get value bootargs /chosen bootargs > printenv bootargs > bootargs=all the boot args...but setenv abc $bootargs fails...as >

[U-Boot] 2016.09+fslc was working... But not anymore

2016-11-17 Thread Carlos Alberto Musich Cuevas
Hello, The following sequence is causing the error below. Please note that few days ago it was working. SEQUENCE $ cd ~/ $ git clone https://github.com/Freescale/u-boot-fslc.git

[U-Boot] Adding a mmc protect command

2016-11-17 Thread Eugene.Cho
Hi all, I need to implement MMC write protection in u-boot, and was wondering what would be the best way. Should this be a new mmc command or just APIs? Is there value in pushing this upstream? I ask because I saw the following submission didn't make it.

Re: [U-Boot] [PATCH] api: Use hashtable function for API_env_enum

2016-11-17 Thread Emmanuel Vadot
On Fri, 11 Nov 2016 09:16:46 -0700 Simon Glass wrote: > Hi, > > On 5 November 2016 at 15:27, Emmanuel Vadot wrote: > > > > Since the env is an hashtable, use the hashtable function for the > > API_ENV_ENUM > > api call. > > Can you please explain why

Re: [U-Boot] [PATCH] tools: imximage: display DCD block offset, length

2016-11-17 Thread Eric Nelson
Hi Gary, On 11/17/2016 05:16 AM, Gary Bisson wrote: > Hi Eric, All, > > On Wed, Nov 16, 2016 at 05:13:41PM -0700, Eric Nelson wrote: >> These values can be used to sign a U-Boot image for use when >> loading an image through the Serial Download Protocol (SDP). >> >> Note that the address of

[U-Boot] [PATCH] board/ls2088ardb: set rear fan speed to reduce noise

2016-11-17 Thread ying.zhang22455
From: Ying Zhang Fan settings(PWM signal set to ~50% duty cycle for all three rear) fans provide good thermal air flow with considerable reduction of fan noise. Signed-off-by: Ying Zhang --- board/freescale/ls2080ardb/ls2080ardb.c | 31

[U-Boot] [PATCH] usb: xhci: Limit transfer length in a single TD

2016-11-17 Thread Dongwoo Lee
The transfer request exceeding 4032KB (the maximum number of TRBs per TD * the maximum size of transfer buffer on TRB) fails on xhci host with timed out error or babble error state. This failure occurs when accessing large files on USB mass-storage. Currently with xhci as well as ehci host, the

Re: [U-Boot] [PATCH v8 7/8] armv8: fsl-layerscape: Add support for efi_loader RTS reset

2016-11-17 Thread Alexander Graf
On 17/11/2016 17:48, york sun wrote: On 11/17/2016 08:43 AM, Alexander Graf wrote: I still have this compiling error Can you please try my efi-next branch? It should hopefully be properly fixed in there. I will try to find some time to. My server is busy these days. Don't you have the

Re: [U-Boot] [PATCH] spl: mmc: fix build without CONFIG_SPL_LIBCOMMON_SUPPORT

2016-11-17 Thread Yann E. MORIN
Jaehoon, All, On 2016-11-17 17:09 +0900, Jaehoon Chung spake thusly: > On 11/14/2016 06:46 AM, Yann E. MORIN wrote: > > When CONFIG_SPL_LIBCOMMON_SUPPORT is disabled, the last case statement > > is missing a proper statement, which makes the compiler whine. > > > > Signed-off-by: "Yann E. MORIN"

[U-Boot] [PATCH] timer: Support clocks via phandle

2016-11-17 Thread Vlad Zakharov
Earlier timer driver needed a clock-frequency property in compatible device-tree nodes. Another way is to reference a clock via a phandle. So now timer_pre_probe tries to get clock by reference through device tree. In case it is impossible to get clock device through the reference,

[U-Boot] [PATCH 5/8] spl: Drop announce_boot_device()

2016-11-17 Thread Simon Glass
This task can be handled by inline code now. Drop this function. Signed-off-by: Simon Glass --- common/spl/spl.c | 86 ++-- 1 file changed, 3 insertions(+), 83 deletions(-) diff --git a/common/spl/spl.c b/common/spl/spl.c

[U-Boot] [PATCH 2/8] spl: Add a name to the SPL load-image methods

2016-11-17 Thread Simon Glass
It is useful to name each method so that we can print out this name when using the method. Currently this happens using a separate function. In preparation for unifying this, add a name to each method. The name is only available if we have libcommon support (i.e can use printf()). Signed-off-by:

[U-Boot] [PATCH 4/8] spl: Pass the loader into spl_load_image()

2016-11-17 Thread Simon Glass
Rather than have this function figure out the correct loader again, pass it in as a parameter. Signed-off-by: Simon Glass --- common/spl/spl.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/spl/spl.c b/common/spl/spl.c index

[U-Boot] [PATCH 6/8] spl: sunxi: Drop spl_board_announce_boot_device()

2016-11-17 Thread Simon Glass
This function is not used anymore. Drop it. Signed-off-by: Simon Glass --- arch/arm/mach-sunxi/board.c | 9 - 1 file changed, 9 deletions(-) diff --git a/arch/arm/mach-sunxi/board.c b/arch/arm/mach-sunxi/board.c index 205236d..aa11493 100644 ---

[U-Boot] [PATCH 7/8] spl: uniphier: Drop spl_board_announce_boot_device()

2016-11-17 Thread Simon Glass
This function is not used anymore. Drop it. Signed-off-by: Simon Glass --- arch/arm/mach-uniphier/boot-mode/spl_board.c | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/arm/mach-uniphier/boot-mode/spl_board.c b/arch/arm/mach-uniphier/boot-mode/spl_board.c index

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

2016-11-17 Thread Tom Rini
On Mon, Nov 14, 2016 at 02:42:16PM +0530, Mugunthan V N wrote: > 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

[U-Boot] [PATCH v3 5/6] efi_loader: Allow to compile helloworld.efi w/o bundling it

2016-11-17 Thread Alexander Graf
Today we can compile a self-contained hello world efi test binary that allows us to quickly verify whether the EFI loader framwork works. We can use that binary outside of the self-contained test case though, by providing it to a to-be-tested system via tftp. This patch separates compilation of

Re: [U-Boot] [GIT PULL] Xilinx changes

2016-11-17 Thread Tom Rini
On Tue, Nov 15, 2016 at 06:59:53PM +0100, Michal Simek wrote: > Hi Tom, > > please pull these changes to your tree. > There are several things in this PR like > DTS cleanups, Topic NL board with extending mkimage format and nand driver. > > I have run buildman over it and there is not an issue.

Re: [U-Boot] Please pull u-boot-mmc master

2016-11-17 Thread Tom Rini
On Wed, Nov 16, 2016 at 04:47:16PM +0900, Jaehoon Chung wrote: > Dear Tom, > > Could you these patches on u-boot/master, plz? > > The following changes since commit 29e0cfb4f77f7aa369136302cee14a91e22dca71: > > Prepare v2016.11 (2016-11-14 11:27:11 -0500) > > are available in the git

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

2016-11-17 Thread Hans de Goede
Hi, On 17-11-16 20:50, Simon Glass wrote: Hi Hans, On 14 November 2016 at 04:53, 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

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

2016-11-17 Thread Simon Glass
Hi Hans, On 17 November 2016 at 13:47, Hans de Goede wrote: > > Hi, > > On 17-11-16 20:50, Simon Glass wrote: >> >> Hi Hans, >> >> On 14 November 2016 at 04:53, Hans de Goede wrote: >>> >>> Hi All, >>> >>> A while back I wrote: >>> >>> "Between my

Re: [U-Boot] [PULL 00/24] efi patch queue 2016-11-17

2016-11-17 Thread Tom Rini
On Thu, Nov 17, 2016 at 05:21:14PM +0100, Alexander Graf wrote: > Hi Tom, > > This is my current patch queue for efi. Please pull. > > Alex > > > The following changes since commit 29e0cfb4f77f7aa369136302cee14a91e22dca71: > > Prepare v2016.11 (2016-11-14 11:27:11 -0500) > > are

[U-Boot] [PATCH 3/8] spl: Move the loading code into its own function

2016-11-17 Thread Simon Glass
Create a boot_from_devices() function to handle trying each device. This helps to reduce the size of the already-large board_init_r() function. Signed-off-by: Simon Glass --- common/spl/spl.c | 33 + 1 file changed, 21 insertions(+), 12

[U-Boot] [PATCH 1/8] spl: Use a single underscore in the SPL_LOAD_IMAGE_METHOD() macro

2016-11-17 Thread Simon Glass
A double underscore is normally reserved for compiler predefines. Use a single underscore instead. Signed-off-by: Simon Glass --- include/spl.h | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/spl.h b/include/spl.h index

[U-Boot] [PATCH 0/8] spl: Move image loader names into the linker list

2016-11-17 Thread Simon Glass
At present we have a linker list for all the image-loader methods but announce_boot_device() uses its own switch() statement with the names of each method. We may as well combine the name into the linker list. The names are only needed if libcommon support is enabled, since printf() is used to

Re: [U-Boot] [PATCH v6 0/6] LS2080ARDB: Enable EFI boot support

2016-11-17 Thread york sun
On 11/17/2016 02:46 AM, Alexander Graf wrote: > On 11/15/2016 11:11 PM, york sun wrote: >> On 11/15/2016 12:36 PM, Alexander Graf wrote: >>> Hi York, >>> >>> Do you want to take that patch set? >>> >> Yes, I can. I saw it assigned to you in patchwork so I didn't act. > > Hm, I've added a few

[U-Boot] [PATCH v2 5/6] efi_loader: Allow to compile helloworld.efi w/o bundling it

2016-11-17 Thread Alexander Graf
Today we can compile a self-contained hello world efi test binary that allows us to quickly verify whether the EFI loader framwork works. We can use that binary outside of the self-contained test case though, by providing it to a to-be-tested system via tftp. This patch separates compilation of

[U-Boot] [PATCH v2 1/6] tests: net: Offset downloads to 4MB

2016-11-17 Thread Alexander Graf
The network test currently downloads files at 0MB offset of RAM start. This works for most ARM systems, but x86 has weird memory layout constraints on the first MB of RAM. To not get caught into any of these, let's add a 4MB pad from start of RAM to the default memory offset. Signed-off-by:

[U-Boot] [PATCH v2 2/6] Travis: Expose build dir as variable

2016-11-17 Thread Alexander Graf
Some travis QEMU tests can transfer files between the build directory and the guest U-Boot instance. For that to work, both need to have access to the same directory. This patch puts the current build path into an environment variable, so that the environment generating python scripts can extract

Re: [U-Boot] [PATCH] spi: Add support for MX66U51235F, MX66L1G45G and MT25QU02G

2016-11-17 Thread Jagan Teki
On Thu, Oct 27, 2016 at 3:48 AM, Bacrau, Dumitru wrote: > Hi Teki, > > Sure, I can do that, but here is more information, maybe we can come up with > a better solution: > > For this device, the "U" in the part name means "1.8V". The equivalent 3.3V > part has "L" in

[U-Boot] [PULL 00/24] efi patch queue 2016-11-17

2016-11-17 Thread Alexander Graf
Hi Tom, This is my current patch queue for efi. Please pull. Alex The following changes since commit 29e0cfb4f77f7aa369136302cee14a91e22dca71: Prepare v2016.11 (2016-11-14 11:27:11 -0500) are available in the git repository at: git://github.com/agraf/u-boot.git tags/signed-efi-next

Re: [U-Boot] [PATCH v2 10/22] spi: Add error checking for invalid bus widths

2016-11-17 Thread Jagan Teki
On Mon, Nov 14, 2016 at 2:52 AM, Simon Glass wrote: > At present an invalid bus width prints a message but does not return an > error. This is the opposite of the correct behaviour. Adjust it to avoid > code bloat in the common case, and avoid hard-to-debug failure in the >

Re: [U-Boot] [PATCH] cmd: move CMD_PXE to Kconfig

2016-11-17 Thread Yann E. MORIN
Peter, All, On 2016-11-16 14:04 +, Peter Robinson spake thusly: > On Sun, Nov 13, 2016 at 8:59 PM, Yann E. MORIN > wrote: > > Currently, CMD_PXE is forcibly enabled in config_distro_defaults.h, so > > that general purpose distributions can rely on it being defined.

Re: [U-Boot] [PATCH v8 7/8] armv8: fsl-layerscape: Add support for efi_loader RTS reset

2016-11-17 Thread york sun
On 11/17/2016 08:43 AM, Alexander Graf wrote: >>> >> >> I still have this compiling error > > Can you please try my efi-next branch? It should hopefully be properly > fixed in there. > I will try to find some time to. My server is busy these days. Don't you have the setup to run buildman? For

Re: [U-Boot] 2016.09+fslc was working... But not anymore

2016-11-17 Thread Fabio Estevam
On Wed, Nov 16, 2016 at 4:57 PM, Carlos Alberto Musich Cuevas wrote: > Hello, > > The following sequence is causing the error below. > > Please note that few days ago it was working. > > > > SEQUENCE > > $ cd ~/ > $ git clone >

Re: [U-Boot] [PATCH v8 7/8] armv8: fsl-layerscape: Add support for efi_loader RTS reset

2016-11-17 Thread Alexander Graf
On 17/11/2016 18:02, york sun wrote: On 11/17/2016 09:01 AM, Alexander Graf wrote: On 17/11/2016 17:48, york sun wrote: On 11/17/2016 08:43 AM, Alexander Graf wrote: I still have this compiling error Can you please try my efi-next branch? It should hopefully be properly fixed in

[U-Boot] [PATCH v2 4/6] tests: Add efi_loader hello world test

2016-11-17 Thread Alexander Graf
Now that we have working network tests and a hello world efi application built inside our tree, we can automatically test that efi binary running inside of U-Boot. Signed-off-by: Alexander Graf --- test/py/tests/test_efi_loader.py | 158 +++ 1

[U-Boot] [PATCH v2 0/6] efi_laoder: Add travis test coverage

2016-11-17 Thread Alexander Graf
Now that we have Travis-CI support in U-Boot as well as a simple hello world efi binary test case, we can make use of the two and verify that efi_loader support still works on every commit. This patch set enables network as well as basic efi_loader test coverage once the uboot-test-hooks pull

[U-Boot] [PATCH v2 3/6] travis: Add python path for environments

2016-11-17 Thread Alexander Graf
When running in travis-ci, we want to pass environment configuration to the tests. These reside in a path available through PYTHONPATH, so let's define that one to point to the unit test repo. Signed-off-by: Alexander Graf --- .travis.yml | 1 + 1 file changed, 1 insertion(+)

[U-Boot] [PATCH 8/8] spl: sandbox: Drop spl_board_announce_boot_device()

2016-11-17 Thread Simon Glass
This function is not used anymore. Drop it. Signed-off-by: Simon Glass --- arch/sandbox/cpu/spl.c | 17 +++-- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/arch/sandbox/cpu/spl.c b/arch/sandbox/cpu/spl.c index 632446b..7cc76d4 100644 ---

[U-Boot] [PATCH v2 6/6] Travis: Remove sleep test from integratorcp_cm926ejs-qemu test

2016-11-17 Thread Alexander Graf
Most of the time when running the sleep test in Travis for the integratorcp_cm926ejs target I get errors like this: E assert 2.01056289673 >= 3 The deviation is tiny, but fails the overall build result. Since the sleep test is not terribly important as gate keeper for travis tests,

Re: [U-Boot] Dynamically determine RAM size and pass it to kernel

2016-11-17 Thread Mike Looijmans
On 17-11-16 13:34, Mike Looijmans wrote: We have some Zynq based boards still in the field that have only 512MB RAM instead of 1GB. The memory chips are compatible and use the same settings apart from that one extra address bit. So what works is just configure the DDR controller for 1GB and

Re: [U-Boot] [PATCH 0/4] config: Add FreeBSD kconfig options

2016-11-17 Thread Tom Rini
On Thu, Nov 17, 2016 at 03:12:02PM +0100, Emmanuel Vadot wrote: > On Fri, 11 Nov 2016 11:07:34 -0500 > Tom Rini wrote: > > > On Mon, Nov 07, 2016 at 09:34:27AM +0100, Emmanuel Vadot wrote: > > > > > This series of patches add the needed bits for booting the FreeBSD > > >

Re: [U-Boot] [PATCH v8 7/8] armv8: fsl-layerscape: Add support for efi_loader RTS reset

2016-11-17 Thread Alexander Graf
On 17/11/2016 17:41, york sun wrote: On 11/16/2016 04:02 PM, Alexander Graf wrote: When implementing efi loader support, we can expose runtime services for payloads. One such service is CPU reset. This patch implements RTS CPU reset support for layerscape systems. Signed-off-by: Alexander

Re: [U-Boot] [PATCH v5 10/13] tegra: Use a U-Boot-specific .dtsi file

2016-11-17 Thread Stephen Warren
On 11/16/2016 06:13 PM, Simon Glass wrote: With the new device-tree rules it is possible to put device-tree changes needed by U-Boot into their own file. As an example of this approach, move Tegra over to use it. Sounds like a good idea. diff --git a/arch/arm/dts/tegra20-u-boot.dtsi

Re: [U-Boot] [PATCH] board/ls2080rdb, qds: Enable ddr hashing for controller version 5.2.1

2016-11-17 Thread york sun
On 11/17/2016 01:39 AM, Priyanka Jain wrote: > From: Priyanka Jain > > Enable DDR hashing for DDR performance optimization > on LS2088A which has DDR controller version 5.2.1 > > Signed-off-by: Priyanka Jain > --- > board/freescale/ls2080aqds/ddr.c

Re: [U-Boot] [PATCH 10/12] cmd: tpm_test: fix indentation

2016-11-17 Thread Simon Glass
On 15 November 2016 at 17:50, Andre Przywara wrote: > The final line with the linefeeds should obviously only printed once > (what the code actually does), but the indentation suggests otherwise. > > Fix the indentation to avoid compiler warnings and puzzled readers. > >

Re: [U-Boot] [PATCH v8 7/8] armv8: fsl-layerscape: Add support for efi_loader RTS reset

2016-11-17 Thread york sun
On 11/16/2016 04:02 PM, Alexander Graf wrote: > When implementing efi loader support, we can expose runtime services > for payloads. One such service is CPU reset. > > This patch implements RTS CPU reset support for layerscape systems. > > Signed-off-by: Alexander Graf >

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

2016-11-17 Thread Simon Glass
Hi Hans, On 14 November 2016 at 04:53, 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

[U-Boot] [PATCH v2 6/7] spi: cadence_qspi: Fix CS timings

2016-11-17 Thread Phil Edworthy
The Cadence QSPI controller has specified overheads for the various CS times that are in addition to those programmed in to the Device Delay register. The overheads are different for the delays. In addition, the existing code does not handle the case when the delay is less than a SCLK period.

Re: [U-Boot] [PATCH 01/27] Provide a generic io.h & address mapping functions

2016-11-17 Thread Paul Burton
On Monday, 3 October 2016 15:49:33 GMT Simon Glass wrote: > Hi Paul, > > On 1 October 2016 at 08:19, Paul Burton wrote: > > Most architectures currently supported by U-Boot use trivial > > implementations of map_to_physmem & virt_to_phys which simply cast a > > physical

Re: [U-Boot] [PATCH] SPI: add support for the EON EN25Q80B flash chip

2016-11-17 Thread Jagan Teki
On Fri, Nov 11, 2016 at 2:17 AM, Angus Ainslie wrote: > add a new jedec id for the EN25Q80B NAK, no s-o-b ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] ARM: OMAP3_LOGIC: Remove FIT Support

2016-11-17 Thread Tom Rini
On Sat, Nov 12, 2016 at 09:53:31PM -0600, Adam Ford wrote: > Commit ("2cd1ff84037a: OMAP3_LOGIC: Setup defconfig to enable > SPL and NAND booting") accidentally enabled FIT support. > > This patch removes the FIT support. > > Signed-off-by: Adam Ford > > diff --git

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

2016-11-17 Thread Maxime Ripard
Hi Hans, 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

Re: [U-Boot] [PATCH] splash: fix splash source flags check

2016-11-17 Thread Tom Rini
On Wed, Nov 16, 2016 at 01:02:32PM +0200, Tomas Melin wrote: > SPLASH_STORAGE_RAW is defined as 0, so a check against & will > never be true. These flags are never combined so do a check > against == instead. > > Signed-off-by: Tomas Melin Reviewed-by: Tom Rini

Re: [U-Boot] Fixed clock driver (clk: convert API to match reset/mailbox style)

2016-11-17 Thread Simon Glass
Hi Michal, On 16 November 2016 at 00:15, Michal Simek wrote: > Hi Simon, > > On 15.11.2016 20:23, Simon Glass wrote: >> Hi Michal, >> >> On 15 November 2016 at 12:07, Michal Simek wrote: >>> Hi guys, >>> >>> I just found today with playing with clock

Re: [U-Boot] New UCLASS_PINCTRL driver - probe is not called for all nodes

2016-11-17 Thread Simon Glass
Hi Konstantin, On 15 November 2016 at 06:56, Konstantin Porotchkin wrote: > Hi, All, > > I am currently porting the Marvell (mvebu) pin control driver for Armada-8K > family to the current u-boot sources. > The Armada 8K SoC is a hybrid chip that contains several

Re: [U-Boot] [PATCH 1/3] dts: rk3288: correct sdram setting for miniarm

2016-11-17 Thread Simon Glass
On 14 November 2016 at 21:01, Jacob Chen wrote: > miniarm board use lpddr3 > > Signed-off-by: Jacob Chen > --- > > arch/arm/dts/rk3288-miniarm.dts | 16 > 1 file changed, 8 insertions(+), 8 deletions(-) Acked-by: Simon

Re: [U-Boot] [PATCHv3 02/15] dm: pci: return the real controller in pci_bus_to_hose()

2016-11-17 Thread Simon Glass
On 16 November 2016 at 02:48, Zhiqiang Hou wrote: > From: Minghuan Lian > > for the legacy PCI driver, the function pci_bus_to_hose() returns > the real PCIe controller. To keep consistency, this function is > changed to return the PCIe controller

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

2016-11-17 Thread Stefan Agner
On 2016-11-17 17:14, Simon Glass wrote: > Hi Stefan, > > On 15 November 2016 at 14:02, 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

  1   2   >