Re: [U-Boot] [PATCH 0/2] ARM: tegra: enable GPU DT node

2015-08-04 Thread Alexandre Courbot
On 07/24/2015 10:07 PM, Peter Robinson wrote: Hi, Tegra124 requires the bootloader to perform VPR initialization, otherwise the GPU cannot be used by the system. Since using the GPU without that initialization results in a hang, the GPU DT node is left disabled, and it is the task of the

Re: [U-Boot] [PATCH 4/5] power: regulator: add pfuze100 support

2015-08-04 Thread Simon Glass
Hi Peng, On 3 August 2015 at 20:08, Peng Fan b51...@freescale.com wrote: On Mon, Aug 03, 2015 at 08:38:49AM +0800, Peng Fan wrote: Hi Simon, On Sun, Aug 02, 2015 at 04:30:52PM -0600, Simon Glass wrote: Hi Peng, On 28 July 2015 at 08:48, Peng Fan peng@freescale.com wrote: 1. Add new

Re: [U-Boot] [PATCH v2 00/47] Add support for running U-Boot as an EFI payload/application

2015-08-04 Thread Simon Glass
Hi Bin, On 4 August 2015 at 02:19, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass s...@chromium.org wrote: This series allows U-Boot to be build as an EFI payload so that U-Boot can be started on almost any x86 platform that supports EFI. This is

[U-Boot] [RESEND PATCH] common/lcd_console: fix console/logo regression

2015-08-04 Thread Marcel Ziswiler
From: Marcel Ziswiler marcel.ziswi...@toradex.com The following commit changed the order of the column vs. row parameter to the lcd_init_console() function but missed actually changing it as well the second time it is called from lcd_clear() which resulted in a garbled text console which this

Re: [U-Boot] [PATCH 0/2] ARM: tegra: enable GPU DT node

2015-08-04 Thread Andreas Färber
Am 23.07.2015 um 13:46 schrieb Andreas Färber: Am 09.07.2015 um 09:32 schrieb Alexandre Courbot: Tegra124 requires the bootloader to perform VPR initialization, otherwise the GPU cannot be used by the system. Since using the GPU without that initialization results in a hang, the GPU DT node is

Re: [U-Boot] [PATCH v2 00/47] Add support for running U-Boot as an EFI payload/application

2015-08-04 Thread Simon Glass
Hi Bin, On 4 August 2015 at 07:45, Simon Glass s...@chromium.org wrote: Hi Bin, On 4 August 2015 at 06:54, Simon Glass s...@chromium.org wrote: Hi Bin, On 4 August 2015 at 02:19, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass s...@chromium.org

Re: [U-Boot] [PATCH V2 3/6] power: regulator: update comments for regulator-name

2015-08-04 Thread Peng Fan
Hello Przemyslaw, On Tue, Aug 04, 2015 at 03:10:22PM +0200, Przemyslaw Marczak wrote: Hello Peng, On 08/04/2015 07:32 AM, Peng Fan wrote: We do not need that regulator-name property must be provided in dts. If regulator-name property is not provided in dts, node name will chosen for settings

Re: [U-Boot] [PATCH V2 5/6] power: regulator: add pfuze100 support

2015-08-04 Thread Peng Fan
On Tue, Aug 04, 2015 at 07:21:05AM -0600, Simon Glass wrote: Hi, On 4 August 2015 at 07:10, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello Peng, On 08/04/2015 07:32 AM, Peng Fan wrote: 1. Add new regulator driver pfuze100. * Introduce struct pfuze100_regulator_desc for mataining

[U-Boot] [PATCH 1/3] zynqmp: usb: Add usb dwc3 driver support for zynqmp

2015-08-04 Thread Siva Durga Prasad Paladugu
Added usb dwc3 driver support for zynqmp this also supports the DFU and LTHOR to download the linux images on to RAM and cen be booted from those linux images. Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com --- arch/arm/cpu/armv8/zynqmp/Kconfig |3 ++

[U-Boot] [PATCH v2] ARM: zynq: drop optional from board select in favor of ZC702

2015-08-04 Thread Michal Simek
From: Masahiro Yamada yamada.masah...@socionext.com One disadvantage of commit a26cd04920dc (arch: Make board selection choices optional) is that Kconfig could create such an insane .config file that no board is selected. Rip off the optional again in favor of ZC702 as the default target.

[U-Boot] support for GPIO expander MAX7304

2015-08-04 Thread priyanka sharma
Hi , Am working on a Ti dra7xx based custom board which has a MAX7304 GPIO I2C expander . I am unable to find a driver for the same in u-boot. Is there a supported driver for this device. Is this driver supported in u-boot or do I need to work on porting the driver for the same. Regards Priyanka

[U-Boot] [PATCH] board: Xilinx: zynqmp: Define checkboard() function

2015-08-04 Thread Siva Durga Prasad Paladugu
Define checkboard() function for zynqMP Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com --- board/xilinx/zynqmp/zynqmp.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index 0c9a814..70d9c2c

Re: [U-Boot] [PATCH v3 2/8] net: asix: fix operation without eeprom

2015-08-04 Thread Marcel Ziswiler
On Tue, 2015-08-04 at 00:36 +0200, Marek Vasut wrote: Maybe you should've split it into separate patches, that way this could be picked by various subsystem maintainers separately ;-) OK, I will send a v5 split up into separate patches to be picked up by the various subsystem maintainers.

Re: [U-Boot] [PATCH v2 37/47] x86: Add a way to call 32-bit code from 64-bit mode

2015-08-04 Thread Bin Meng
On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass s...@chromium.org wrote: The procedure to drop from 64-bit mode to 32-bit is a bit messy. Add a function to take care of it. It requires identity-mapped pages and that the calling code is running below 4GB. Signed-off-by: Simon Glass

Re: [U-Boot] CONFIG_DM_ETH USB_ETHER_ASIX Reception Issue on Tegra

2015-08-04 Thread Marcel Ziswiler
On Tue, 2015-08-04 at 01:10 +0200, Marek Vasut wrote: This trims down the scope quite considerably. Does the controller with with CONFIG_DM_ETH enabled if you plug in a USB stick instead of an ethernet ? Yes, USB sticks work just fine. It's just the USB Ethernet stuff which does no longer

Re: [U-Boot] [PATCH v2 35/47] x86: Support building the EFI stub

2015-08-04 Thread Bin Meng
Hi Simon, On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass s...@chromium.org wrote: Add support for building a 32/64-bit EFI stub for x86. This involves building the startup and relocation code for either i386 or x86_64. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Add a

Re: [U-Boot] [PATCH v2 39/47] x86: Add support for passing tables into U-Boot

2015-08-04 Thread Bin Meng
On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass s...@chromium.org wrote: The EFI stub provides information to U-Boot in a table. This includes the memory map which is needed to decide where to relocate U-Boot. Collect this information in the early init code and store it in global_data. Fix up

Re: [U-Boot] [PATCH v2 36/47] x86: Add an enum for some commonly-used GDT bits

2015-08-04 Thread Bin Meng
On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass s...@chromium.org wrote: Rather than add these as open-coded values, create an enum with the commonly used flags. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Add descriptor bits for the base and limit - Rename GDT_4GB to

Re: [U-Boot] [ANN] U-Boot v2015.10-rc1 released

2015-08-04 Thread Wolfgang Denk
Dear Tom, In message 20150803152253.GG25532@bill-the-cat you wrote: I've pushed v2015.10-rc1 out to the repository and tarballs should exist soon. Tarballs are both on the ACD [1] and on the FTP server [2] [1]

Re: [U-Boot] [PATCH v2 38/47] efi: Add 64-bit payload support

2015-08-04 Thread Bin Meng
Hi Simon, On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass s...@chromium.org wrote: Most EFI implementations use 64-bit. Add a way to build U-Boot as a 64-bit EFI payload. The payload unpacks a (32-bit) U-Boot and starts it. This can be enabled for x86 boards at present. Signed-off-by: Simon

Re: [U-Boot] [PATCH v3 2/4] ARM: cache: add an empty stub function for invalidate/flush dcache

2015-08-04 Thread Josh Wu
Hi, York On 7/28/2015 1:21 PM, York Sun wrote: Josh, No you didn't miss. I think you are right on this file. Thanks for the review, Could I have your reviewed-by tag for this patch? Best Regards, Josh Wu York Sent from my cellphone Original message From: Josh Wu

[U-Boot] [PATCH 2/3] usb: zynqmp: Add XHCI driver support

2015-08-04 Thread Siva Durga Prasad Paladugu
Added USB XHCI driver support for zynqmp. Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com --- drivers/usb/host/Makefile |1 + drivers/usb/host/xhci-zynqmp.c | 113 +++ include/linux/usb/xhci-zynqmp.h | 56 +++ 3 files

Re: [U-Boot] [PATCH v2 42/47] x86: Handle running as EFI payload

2015-08-04 Thread Bin Meng
On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass s...@chromium.org wrote: When U-Boot runs as an EFI payload it needs to avoid setting up the CPU again. Also U-Boot currently does not handle interrupts for many devices, so run with interrupts disabled. Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v2 00/47] Add support for running U-Boot as an EFI payload/application

2015-08-04 Thread Bin Meng
Hi Simon, On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass s...@chromium.org wrote: This series allows U-Boot to be build as an EFI payload so that U-Boot can be started on almost any x86 platform that supports EFI. This is implemented as a stub which EFI can load plus a payload that is copied

Re: [U-Boot] [PATCH v2 41/47] efi: Add a command to display the memory map

2015-08-04 Thread Bin Meng
On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass s...@chromium.org wrote: The EFI memory map is passed from the stub to U-Boot in a table. Add a command to display it in a vaguely readable fashion. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Drop a left-over debug

Re: [U-Boot] [PATCH v2 00/47] Add support for running U-Boot as an EFI payload/application

2015-08-04 Thread Simon Glass
Hi Bin, On 4 August 2015 at 06:54, Simon Glass s...@chromium.org wrote: Hi Bin, On 4 August 2015 at 02:19, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass s...@chromium.org wrote: This series allows U-Boot to be build as an EFI payload so that

Re: [U-Boot] [PATCH 4/5] power: regulator: add pfuze100 support

2015-08-04 Thread Peng Fan
On Tue, Aug 04, 2015 at 06:46:09AM -0600, Simon Glass wrote: Hi Peng, On 3 August 2015 at 20:08, Peng Fan b51...@freescale.com wrote: On Mon, Aug 03, 2015 at 08:38:49AM +0800, Peng Fan wrote: Hi Simon, On Sun, Aug 02, 2015 at 04:30:52PM -0600, Simon Glass wrote: Hi Peng, On 28 July 2015 at

Re: [U-Boot] [PATCH] fdt: Fix fdtdec_get_addr_size() for 64-bit

2015-08-04 Thread Thierry Reding
On Sun, Aug 02, 2015 at 03:27:53PM -0600, Simon Glass wrote: Hi, On 27 July 2015 at 11:13, Simon Glass s...@chromium.org wrote: Hi, On 23 July 2015 at 10:51, Stephen Warren swar...@wwwdotorg.org wrote: From: Thierry Reding tred...@nvidia.com Signed-off-by: Thierry Reding

[U-Boot] [PATCH v2 04/10] usb: musb-new: Kconfig support for USB_MUSB_HOST and USB_MUSB_GADGET

2015-08-04 Thread Hans de Goede
From: Paul Kocialkowski cont...@paulk.fr Having MUSB_HOST and MUSB_GADGET in Kconfig allows more flexibility with regard to what Kconfig options to enable, such as USB_STORAGE or USB_KEYBOARD. Signed-off-by: Paul Kocialkowski cont...@paulk.fr --- drivers/usb/Kconfig | 2 ++

[U-Boot] [PATCH v2 01/10] usb: USB_ARCH_HAS_HCD Kconfig option removal

2015-08-04 Thread Hans de Goede
From: Paul Kocialkowski cont...@paulk.fr The USB_ARCH_HAS_HCD currently serves no purpose and adds some confusion to the required Kconfig options that are required to have USB support. Dropping it makes things easier and doesn't break anything, since it was unused anyways. Signed-off-by: Paul

[U-Boot] [PATCH v2 02/10] usb: Generic USB Kconfig option, that fits both host and gadget and comments

2015-08-04 Thread Hans de Goede
From: Paul Kocialkowski cont...@paulk.fr There is no particular reason why the USB Kconfig option should be specific to host mode. In prevision of adding MUSB host and gadget to Kconfig, this moves the title and help message of the USB Kconfig option to a more generic format. Adding comments to

[U-Boot] [PATCH v2 07/10] musb: sunxi: Force EP0 on re-enable

2015-08-04 Thread Hans de Goede
From: Maxime Ripard maxime.rip...@free-electrons.com Currently, the second use of a gadget will fail, while the first one works. Forcing the EP0 at every enable fix this issue. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- drivers/usb/musb-new/sunxi.c | 3 +++ 1 file

Re: [U-Boot] [PATCH 01/12] power: twl4030: Power off support

2015-08-04 Thread Przemyslaw Marczak
Hello Paul, On 07/20/2015 03:17 PM, Paul Kocialkowski wrote: This adds support for powering off (the omap3 SoC) from the twl4030. This is especially useful when the kernel does not actually power off the device using this method but reboots and leaves it up to the bootloader to actually turn

[U-Boot] [PATCH v2 08/10] sunxi: MUSB gadget config provisions, with fastboot and USB mass storage support

2015-08-04 Thread Hans de Goede
From: Paul Kocialkowski cont...@paulk.fr This adds some config options to the sunxi-common config to enable the USB download gadget and the fastboot and USB mass storage functions. Signed-off-by: Paul Kocialkowski cont...@paulk.fr --- include/configs/sunxi-common.h | 30

[U-Boot] [PATCH v2 03/10] usb: musb-new: CONFIG_MUSB prefix replacement with CONFIG_USB_MUSB

2015-08-04 Thread Hans de Goede
From: Paul Kocialkowski cont...@paulk.fr USB-related options are usually prefixed with CONFIG_USB and platform-specific adaptation for the MUSB controller already have a CONFIG_USB_MUSB prefix, so this switches all MUSB-related options to a CONFIG_USB_MUSB prefix, for consistency. Signed-off-by:

[U-Boot] [PATCH v2 0/10] usb: MUSB gadget config provisions

2015-08-04 Thread Hans de Goede
Hi Marek and Paul, Here is a new version of Paul's MUSB gadget Kconfig changes based on the latest master. I've dropped the dependency on the Kconfig-menu changes since similar changes for drivers/usb/Kconfig have already landed in master via the arm: mx6: cm-fx6 changes. Likewise I've dropped

[U-Boot] [PATCH v2 10/10] sunxi: Drop our own copy of the USB_KEYBOARD options

2015-08-04 Thread Hans de Goede
USB_KEYBOARD is now defined in drivers/usb/Kconfig, drop our own duplicate definition. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/Kconfig| 1 + board/sunxi/Kconfig | 7 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/arm/Kconfig

[U-Boot] [PATCH v2 09/10] usb: USB storage-specific part ifdef in uclass

2015-08-04 Thread Hans de Goede
From: Paul Kocialkowski cont...@paulk.fr usb_stor_reset is only defined when USB storage support is enabled, thus the function is not declared when such support is missing. Signed-off-by: Paul Kocialkowski cont...@paulk.fr --- drivers/usb/host/usb-uclass.c | 2 ++ 1 file changed, 2

[U-Boot] [PATCH 1/2] configs: ti_armv7_keystone2: fix initrd address at args_ramfs

2015-08-04 Thread Vitaly Andrianov
This patch set the correct initrd address to much rdaddr, which used at get_fs_ramfs commad. Fixes: 3e97f0b63c8e (configs: ti_armv7_keystone2: switch addresses to generic addresses) Signed-off-by: Vitaly Andrianov vita...@ti.com --- include/configs/ti_armv7_keystone2.h | 2 +- 1 file changed, 1

[U-Boot] [PATCH 2/2] configs: ti_armv7_keystone2: increase size reserved for initrd

2015-08-04 Thread Vitaly Andrianov
9MB reserved for initrd is not enough for default ramfs used for keystone devices, which is ~33MB. This patch increases the size up to 80MB. Signed-off-by: Vitaly Andrianov vita...@ti.com --- include/configs/ti_armv7_keystone2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH] arm: cache: Implement cache range check for v7

2015-08-04 Thread Marek Vasut
On Monday, July 27, 2015 at 10:34:17 PM, Marek Vasut wrote: Add code to aid tracking down cache alignment issues. In case DEBUG is defined in the cache.c, this code will check alignment of each attempt to flush/invalidate data cache and print a warning if the alignment is incorrect. If DEBUG

[U-Boot] [PATCH 3/3] usb: zynqmp: Enable USB XHCI support

2015-08-04 Thread Siva Durga Prasad Paladugu
Enable USB XHCI support for ZynqMP Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com --- include/configs/xilinx_zynqmp.h |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h index

Re: [U-Boot] [RFC PATCH] efi: Another way to create u-boot payload for EFI

2015-08-04 Thread Bin Meng
Hi Simon, On Fri, Jul 31, 2015 at 11:45 PM, Simon Glass s...@chromium.org wrote: Hi Bin, On 23 July 2015 at 09:45, Bin Meng bmeng...@gmail.com wrote: This approach is different from Simon's approach. It uses objcopy to convert u-boot-dtb.bin into an ELF object with all the binary content

Re: [U-Boot] [PATCH 2/2] Tegra: PLL: use per-SoC pllinfo table instead of PLL_DIVM/N/P, etc.

2015-08-04 Thread Marcel Ziswiler
On Wed, 2015-07-29 at 13:13 -0700, Tom Warren wrote: Added PLL variables (dividers mask/shift, lock enable/detect, etc.) to new pllinfo struct for each Soc/PLL. PLLA/C/D/E/M/P/U/X. Used pllinfo struct in all clock functions, validated on T210. Should be equivalent to prior code on

Re: [U-Boot] [PATCH V2 4/6] power: pmic: pfuze100 support driver model

2015-08-04 Thread Przemyslaw Marczak
Hello Peng, On 08/04/2015 07:32 AM, Peng Fan wrote: 1. Support driver model for pfuze100. 2. Introduce a new Kconfig entry DM_PMIC_PFUZE100 for pfuze100 3. This driver intends to support PF100, PF200 and PF3000, so add the device id into the udevice_id array. 4. Rename PMIC_NUM_OF_REGS

Re: [U-Boot] [PATCH V2 3/6] power: regulator: update comments for regulator-name

2015-08-04 Thread Przemyslaw Marczak
Hello Peng, On 08/04/2015 07:32 AM, Peng Fan wrote: We do not need that regulator-name property must be provided in dts. If regulator-name property is not provided in dts, node name will chosen for settings '.name' field of uc_pdata. Signed-off-by: Peng Fan peng@freescale.com Cc:

Re: [U-Boot] [PATCH V2 5/6] power: regulator: add pfuze100 support

2015-08-04 Thread Przemyslaw Marczak
Hello Peng, On 08/04/2015 07:32 AM, Peng Fan wrote: 1. Add new regulator driver pfuze100. * Introduce struct pfuze100_regulator_desc for mataining info for regulator. 2. Add new Kconfig entry DM_REGULATOR_PFUZE100 for pfuze100. 3. This driver intends to support PF100, PF200 and PF3000. 4.

Re: [U-Boot] [PATCH 4/5] power: regulator: add pfuze100 support

2015-08-04 Thread Przemyslaw Marczak
Hello Simon, On 08/04/2015 02:46 PM, Simon Glass wrote: Hi Peng, On 3 August 2015 at 20:08, Peng Fan b51...@freescale.com wrote: On Mon, Aug 03, 2015 at 08:38:49AM +0800, Peng Fan wrote: Hi Simon, On Sun, Aug 02, 2015 at 04:30:52PM -0600, Simon Glass wrote: Hi Peng, On 28 July 2015 at

Re: [U-Boot] [PATCH V2 5/6] power: regulator: add pfuze100 support

2015-08-04 Thread Simon Glass
Hi, On 4 August 2015 at 07:10, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello Peng, On 08/04/2015 07:32 AM, Peng Fan wrote: 1. Add new regulator driver pfuze100. * Introduce struct pfuze100_regulator_desc for mataining info for regulator. 2. Add new Kconfig entry

Re: [U-Boot] [PATCH 0/3] nand: Sync with Linux v4.1

2015-08-04 Thread Stefan Roese
Hi Scott, On 23.07.2015 08:51, Stefan Roese wrote: On 27.06.2015 08:16, Scott Wood wrote: As requested, these patches can be found in the sync-4.1 branch of u-boot-nand-flash.git. Ezequiel Garcia (1): mtd: Introduce mtd_block_isreserved() Scott Wood (2): nand: Remove __UBOOT__ ifdefs

[U-Boot] [PATCH 0/2] configs: ti_armv7_keystone2: fix default args_ramfs

2015-08-04 Thread Vitaly Andrianov
This series fixes couple of bugs in default args_ramfs environment variable Vitaly Andrianov (2): configs: ti_armv7_keystone2: fix initrd address at args_ramfs configs: ti_armv7_keystone2: increase size reserved for initrd include/configs/ti_armv7_keystone2.h | 2 +- 1 file changed, 1

Re: [U-Boot] [PATCH 1/2] configs: ti_armv7_keystone2: fix initrd address at args_ramfs

2015-08-04 Thread Tom Rini
On Tue, Aug 04, 2015 at 11:16:15AM -0400, Vitaly Andrianov wrote: This patch set the correct initrd address to much rdaddr, which used at get_fs_ramfs commad. Fixes: 3e97f0b63c8e (configs: ti_armv7_keystone2: switch addresses to generic addresses) Signed-off-by: Vitaly Andrianov

Re: [U-Boot] [PATCH v3 2/4] ARM: cache: add an empty stub function for invalidate/flush dcache

2015-08-04 Thread York Sun
On 07/26/2015 08:40 PM, Josh Wu wrote: Since some driver like ohci, lcd used dcache functions. But some ARM cpu don't implement the invalidate_dcache_range()/flush_dcache_range() functions. To avoid compiling errors this patch adds an weak empty stub function for all ARM cpu in

Re: [U-Boot] [PATCH 0/2] ARM: tegra: enable GPU DT node

2015-08-04 Thread Tom Warren
Andreas, -Original Message- From: Andreas Färber [mailto:afaer...@suse.de] Sent: Tuesday, August 04, 2015 6:56 AM To: u-boot@lists.denx.de Cc: Alex Courbot; linux-te...@vger.kernel.org; gnu...@gmail.com; Stephen Warren; Tom Warren; Guillaume Gardet Subject: Re: [U-Boot] [PATCH 0/2]

Re: [U-Boot] [PATCH] arm:ls1021a: Reserve secure code into RAM instead of OCRAM

2015-08-04 Thread York Sun
On 03/24/2015 02:27 AM, Zhuoyu Zhang wrote: For ls1021a, Reserve secure code in to memory in case OCRAM is needed by other usage. Signed-off-by: Zhuoyu Zhang zhuoyu.zh...@freescale.com --- Applied to u-boot-fsl-qoriq master. Thanks. York ___

Re: [U-Boot] [PATCH] LS1021atwr: Enable bootscript for secure boot

2015-08-04 Thread York Sun
On 05/11/2015 11:55 PM, Gaurav Rana wrote: Enable bootscript support in secure boot for establishing chain of trust on LS1021atwr. Signed-off-by: Gaurav Rana gaurav.r...@freescale.com --- Applied to u-boot-fsl-qoriq master. Thanks. York ___

Re: [U-Boot] [PATCH] arm: ls1021atwr: program the regulator for deep sleep

2015-08-04 Thread York Sun
On 05/14/2015 11:42 PM, Chenhui Zhao wrote: Program the external regulator to switch off voltage in deep sleep. Signed-off-by: Chenhui Zhao chenhui.z...@freescale.com --- Applied to u-boot-fsl-qoriq master. Thanks. York ___ U-Boot mailing list

Re: [U-Boot] [PATCH] arm: ls1021a: allow OCRAM access permission as R/W in SPL

2015-08-04 Thread York Sun
On 07/08/2015 07:50 PM, Alison Wang wrote: On LS1021A Rev2.0, OCRAM's security level needs to be changed to non-secure access for SD boot. This patch will allow OCRAM access permission as R/W in SPL. Signed-off-by: Alison Wang alison.w...@freescale.com --- Applied to u-boot-fsl-qoriq

Re: [U-Boot] [PATCH] ls1021a: etsec: Enable Tx Data and TxBD snooping

2015-08-04 Thread York Sun
On 07/08/2015 08:09 PM, Alison Wang wrote: To improve eTSEC performance on LS1021A Rev2.0, snooping of all transmit frames from memory and all transmit BD memory accesses in enabled. Signed-off-by: Alison Wang alison.w...@freescale.com --- Applied to u-boot-fsl-qoriq master after fixing

Re: [U-Boot] [PATCH 3/3] crypto/fsl - enable raw data instead of von Neumann data

2015-08-04 Thread York Sun
On 05/05/2015 06:48 AM, Alex Porosanu wrote: The sampling of the oscillator can be done in multiple modes for generating the entropy value. By default, this is set to von Neumann. This patch changes the sampling to raw data, since it has been discovered that the generated entropy has a

Re: [U-Boot] [PATCH 2/3] crypto/fsl - change starting entropy delay value

2015-08-04 Thread York Sun
On 05/05/2015 06:48 AM, Alex Porosanu wrote: The entropy delay (the length in system clocks of each entropy sample) for the RNG4 block of CAAM is dependent on the frequency of the SoC. By elaborate methods, it has been determined that a good starting value for all platforms integrating the

Re: [U-Boot] [PATCH] fdt: Fix fdtdec_get_addr_size() for 64-bit

2015-08-04 Thread Stephen Warren
On 08/04/2015 08:26 AM, Thierry Reding wrote: ... [ discussion of new fdtdec_get_addr_size() implementation] So what this does is really fix parsing of address and size cells in the general case, though it would still fail for values of #address-cells or #size-cells bigger than 2 (because we

Re: [U-Boot] [PATCH] Revert fdt: Fix fdtdec_get_addr_size() for 64-bit

2015-08-04 Thread Thierry Reding
On Sun, Aug 02, 2015 at 06:13:50PM -0600, Simon Glass wrote: This reverts commit 5b34436035fc862b5e8d0d2c3eab74ba36f1a7f4. This function has a few problems. It calls fdt_parent_offset() which as mentioned in code review is very slow. https://patchwork.ozlabs.org/patch/499482/

Re: [U-Boot] [PATCH] fdt: Fix fdtdec_get_addr_size() for 64-bit

2015-08-04 Thread Thierry Reding
On Tue, Aug 04, 2015 at 09:23:27AM -0600, Stephen Warren wrote: On 08/04/2015 08:26 AM, Thierry Reding wrote: ... [ discussion of new fdtdec_get_addr_size() implementation] So what this does is really fix parsing of address and size cells in the general case, though it would still fail for

Re: [U-Boot] [PATCH 2/2] Tegra: PLL: use per-SoC pllinfo table instead of PLL_DIVM/N/P, etc.

2015-08-04 Thread Tom Warren
Marcel, -Original Message- From: Marcel Ziswiler [mailto:mar...@ziswiler.com] Sent: Tuesday, August 04, 2015 1:33 AM To: Tom Warren; u-boot@lists.denx.de Cc: tomcwarren3...@gmail.com; Stephen Warren; Thierry Reding; s...@chromium.org Subject: Re: [PATCH 2/2] Tegra: PLL: use per-SoC

Re: [U-Boot] [PATCH] dm: usb: fix USB Ethernet without CONFIG_DM_ETH regression

2015-08-04 Thread Marek Vasut
On Monday, August 03, 2015 at 04:54:35 PM, Marcel Ziswiler wrote: From: Marcel Ziswiler marcel.ziswi...@toradex.com The following commit enforces CONFIG_DM_ETH for USB Ethernet which breaks any board using CONFIG_USB_HOST_ETHER without CONFIG_DM which this patch fixes. commit

Re: [U-Boot] [PATCH 1/2] configs: ti_armv7_keystone2: fix initrd address at args_ramfs

2015-08-04 Thread Vitaly Andrianov
On 08/04/2015 11:23 AM, Tom Rini wrote: On Tue, Aug 04, 2015 at 11:16:15AM -0400, Vitaly Andrianov wrote: This patch set the correct initrd address to much rdaddr, which used at get_fs_ramfs commad. Fixes: 3e97f0b63c8e (configs: ti_armv7_keystone2: switch addresses to generic addresses)

Re: [U-Boot] [PATCH 2/2] qe: use strncpy instead of strcpy

2015-08-04 Thread York Sun
On 05/05/2015 12:53 AM, Zhao Qiang wrote: strncpy is safer than strcpy, use it to instead of strcpy. Signed-off-by: Zhao Qiang b45...@freescale.com --- Applied to u-boot-fsl-qoriq master. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 1/2] qe: transform parameter to compatible type

2015-08-04 Thread York Sun
On 05/05/2015 12:53 AM, Zhao Qiang wrote: when using printf, the parameter type need to be compatible type, so transform them to compatible type Signed-off-by: Zhao Qiang b45...@freescale.com --- Applied to u-boot-fsl-qoriq master. Thanks. York

Re: [U-Boot] [PATCH] ls1021atwr: added deep sleep support in uboot

2015-08-04 Thread York Sun
On 05/14/2015 02:20 AM, yuantian.t...@freescale.com wrote: From: Tang Yuantian yuantian.t...@freescale.com Signed-off-by: Tang Yuantian yuantian.t...@freescale.com --- Applied to u-boot-fsl-qoriq master. Thanks. York ___ U-Boot mailing list

Re: [U-Boot] [PATCH] arm/layerscape: Fix non-boot cpus cannot correctly fall in spin table

2015-08-04 Thread York Sun
On 06/18/2015 03:32 AM, Dongsheng Wang wrote: From: Wang Dongsheng dongsheng.w...@freescale.com Bootrom will put cpus into WFE state when boot cpu release cpus, so target cpu cannot correctly go to spin state. Add 'sev' to wakeup non-boot cpu that hold on bootrom space, let target cpu

Re: [U-Boot] [PATCH 1/3] crypto/fsl - disable RNG oscillator maximum frequency check

2015-08-04 Thread York Sun
On 05/05/2015 06:48 AM, Alex Porosanu wrote: The rtfrqmax rtfrqmin set the bounds of the expected frequency of the oscillator, when SEC runs at its maximum frequency. For certain platforms (f.i. T2080), the oscillator is very fast and thus if the SEC runs at a lower than normal frequency,

Re: [U-Boot] [PATCH 1/2][V2] pci: Add function to find an extended capability

2015-08-04 Thread York Sun
On 07/09/2015 08:35 PM, Minghuan Lian wrote: PCIe extends device's configuration space to 4k and provides extended capability. The patch adds function to find them. The code is ported from Linux PCIe driver. Signed-off-by: Minghuan Lian minghuan.l...@freescale.com --- Change log: v2-v1:

Re: [U-Boot] [PATCH] Do not mux and setup SPI if disabled in the config

2015-08-04 Thread Stefan Roese
(added Stefano as imx custodian) On 04.08.2015 19:28, Clemens Gruber wrote: This allows baseboards without SPI to compile. Signed-off-by: Clemens Gruber clemens.gru...@pqgruber.com Cc: Markus Niebel markus.nie...@tq-group.com Cc: Tom Rini tr...@konsulko.com --- board/tqc/tqma6/tqma6.c |

Re: [U-Boot] [PATCH] dm: usb: fix USB Ethernet without CONFIG_DM_ETH regression

2015-08-04 Thread Marcel Ziswiler
On 5 August 2015 05:53:44 CEST, Simon Glass s...@chromium.org wrote: I think this commit message might need a few tweaks. This is not a regression as mentioned elsewhere. Also I don't thing it means CONFIG_DM here. Maybe CONFIG_DM_USB? Yes you are right. It's about DM_USB of course, sorry.

[U-Boot] [PATCH] ddr: altera: sequencer: add RW_MGR_MEM_NUMBER_OF_RANKS

2015-08-04 Thread dinguyen
From: Dinh Nguyen dingu...@opensource.altera.com Fix build error for socfpga_cyclone5_defconfig: board/altera/socfpga/wrap_sdram_config.c:245:26: error: ‘RW_MGR_MEM_NUMBER_OF_RANKS’ undeclared here (not in a function) make[2]: *** [spl/board/altera/socfpga/wrap_sdram_config.o] Error 1

Re: [U-Boot] [PATCH v3 28/28] Allow device tree relocation to be disabled

2015-08-04 Thread Simon Glass
Hi Bin, On 4 August 2015 at 12:34, Simon Glass s...@chromium.org wrote: This was missed in the patch 'Add a way to skip relocation'. Add it in now. I hope to squash this patch into the earlier one before sending to mainline. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3:

Re: [U-Boot] [PATCH] Revert fdt: Fix fdtdec_get_addr_size() for 64-bit

2015-08-04 Thread Simon Glass
Hi Stephen, On 3 August 2015 at 12:20, Stephen Warren swar...@wwwdotorg.org wrote: On 08/03/2015 09:52 AM, Simon Glass wrote: Hi Stephen, On 3 August 2015 at 09:12, Stephen Warren swar...@wwwdotorg.org wrote: On 08/02/2015 06:13 PM, Simon Glass wrote: This reverts commit

[U-Boot] [PATCH] usb: Fix device detection code

2015-08-04 Thread Marek Vasut
The code in question polls an USB port status via USB_REQ_GET_STATUS to determine whether there is a device on the port or not. The way to figure that out is to check two bits. Those are wPortChange[0] and wPortStatus[0]. The wPortChange[0] indicates whether some kind of a connection status

[U-Boot] [PATCH] sunxi: Enable musb in host mode on the Jesurun Q5

2015-08-04 Thread Hans de Goede
The Jesurun Q5 has the musb hooked up to an usb-a receptacle, enable it in host-only mode. Signed-off-by: Hans de Goede hdego...@redhat.com --- configs/jesurun_q5_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/jesurun_q5_defconfig b/configs/jesurun_q5_defconfig index

Re: [U-Boot] [PATCH v4 5/5] usb: lpc32xx: add host USB driver

2015-08-04 Thread Marek Vasut
On Tuesday, August 04, 2015 at 11:04:42 PM, slemieux.t...@gmail.com wrote: From: Sylvain Lemieux slemi...@tycoint.com Incorporate USB driver from legacy LPCLinux NXP BSP. The files taken from the legacy patch are: - lpc32xx USB driver - lpc3250 header file USB registers definition. The

Re: [U-Boot] [PATCH v4 4/5] i2c: lpc32xx: add support for OTG I2C

2015-08-04 Thread Marek Vasut
On Tuesday, August 04, 2015 at 11:04:41 PM, slemieux.t...@gmail.com wrote: From: Sylvain Lemieux slemi...@tycoint.com Updated the LPC32xx I2C driver to support the OTG I2C that is part of the USB module. Signed-off-by: Sylvain Lemieux slemi...@tycoint.com Acked-by: Marek Vasut

Re: [U-Boot] [PATCH v4 1/5] dma: lpc32xx: add DMA driver

2015-08-04 Thread Marek Vasut
On Tuesday, August 04, 2015 at 11:04:38 PM, slemieux.t...@gmail.com wrote: From: Sylvain Lemieux slemi...@tycoint.com Incorporate DMA driver from legacy LPCLinux NXP BSP. The files taken from the legacy patch are: - lpc32xx DMA driver - lpc3250 header file DMA registers definition. The

Re: [U-Boot] [PATCH 0/2] ARM: tegra: enable GPU DT node

2015-08-04 Thread Tom Warren
Alex/Andreas, -Original Message- From: Tom Warren Sent: Tuesday, August 04, 2015 8:41 AM To: 'Andreas Färber'; u-boot@lists.denx.de Cc: Alex Courbot; linux-te...@vger.kernel.org; gnu...@gmail.com; Stephen Warren; Guillaume Gardet Subject: RE: [U-Boot] [PATCH 0/2] ARM: tegra: enable

Re: [U-Boot] Booting a second stage Bootloader in FIT image

2015-08-04 Thread Simon Glass
Hi Harsha, On 4 August 2015 at 10:53, KJ H. Kiran kj.h.ki...@us.abb.com wrote: HI ! I think I found a solution. I have created a new cmd in cmd_bootm file and I just loaded the loadable images. Now I am able to boot the second stage bootloader(or any application). OK that is good. If you

[U-Boot] [PATCH] udoo: Switch to SPL support

2015-08-04 Thread Peter Vicman
Shouldn't we just not enable either and do like the wandboard and just dd SPL/u-boot.img? Agreed; this is also makes integration into Yocto Project easier ;-) Yes, I will update the patch if not too late. I needed u-boot.img in a FAT partition but forgot to check if dd stil works. Leason for

Re: [U-Boot] Booting a second stage Bootloader in FIT image

2015-08-04 Thread KJ H. Kiran
HI ! I think I found a solution. I have created a new cmd in cmd_bootm file and I just loaded the loadable images. Now I am able to boot the second stage bootloader(or any application). Thanks, Harsha From: KJ H. Kiran Sent: Monday, August 03, 2015 5:34 PM To: 's...@chromium.org';

Re: [U-Boot] [PATCH 07/12] sniper: Serial number support, obtained from die ID

2015-08-04 Thread Paul Kocialkowski
Le mardi 04 août 2015 à 14:16 -0400, Tom Rini a écrit : On Tue, Aug 04, 2015 at 08:02:40PM +0200, Paul Kocialkowski wrote: Le lundi 03 août 2015 à 22:08 -0400, Tom Rini a écrit : On Mon, Jul 20, 2015 at 03:17:13PM +0200, Paul Kocialkowski wrote: The OMAP3 has some die-specific ID

[U-Boot] [PATCH v3 08/28] x86: Add support for U-Boot as an EFI application

2015-08-04 Thread Simon Glass
From: Ben Stoltz sto...@google.com Add the required x86 glue code. This includes the initial start-up, relocation and jumping to efi_main(). We also need to avoid fiddling with interrupts. Signed-off-by: Ben Stoltz sto...@google.com Signed-off-by: Simon Glass s...@chromium.org --- Changes in

[U-Boot] [PATCH v3 15/28] x86: Support building the EFI stub

2015-08-04 Thread Simon Glass
Add support for building a 32/64-bit EFI stub for x86. This involves building the startup and relocation code for either i386 or x86_64. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Move 64-bit comment to just above the 64-bit flag adjustments Changes in v2: - Add a comment

[U-Boot] [PATCH v3 11/28] x86: Allow relocation code to build without text base

2015-08-04 Thread Simon Glass
This code currently requires CONFIG_SYS_TEXT_BASE but this should be unnecessary. As a first step, remove the build-time limitation and report an error instead. Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Bin Meng bmeng...@gmail.com --- Changes in v3: None Changes in v2: - Set

Re: [U-Boot] [PATCH v2 0/10] usb: MUSB gadget config provisions

2015-08-04 Thread Marek Vasut
On Tuesday, August 04, 2015 at 05:04:03 PM, Hans de Goede wrote: Hi Marek and Paul, Here is a new version of Paul's MUSB gadget Kconfig changes based on the latest master. I've dropped the dependency on the Kconfig-menu changes since similar changes for drivers/usb/Kconfig have already

Re: [U-Boot] [PATCH v2 0/10] usb: MUSB gadget config provisions

2015-08-04 Thread Paul Kocialkowski
Le mardi 04 août 2015 à 18:23 +0200, Marek Vasut a écrit : On Tuesday, August 04, 2015 at 05:04:03 PM, Hans de Goede wrote: Hi Marek and Paul, Here is a new version of Paul's MUSB gadget Kconfig changes based on the latest master. I've dropped the dependency on the Kconfig-menu changes

[U-Boot] [PATCH v3 28/28] Allow device tree relocation to be disabled

2015-08-04 Thread Simon Glass
This was missed in the patch 'Add a way to skip relocation'. Add it in now. I hope to squash this patch into the earlier one before sending to mainline. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Add new patch to allow device tree relocation to be disabled Changes in v2:

[U-Boot] [PATCH v3 23/28] x86: Add helper code for running from EFI

2015-08-04 Thread Simon Glass
When U-Boot is running from EFI some of the x86 init is replaced with EFI-specific init. For example, since DRAM has already been set up, we only need to find it, not init it. Add these functions so that boards can easily allow booting from EFI if required. Signed-off-by: Simon Glass

[U-Boot] [PATCH v3 25/28] x86: qemu: Support operation as an EFI payload

2015-08-04 Thread Simon Glass
Disable a few things which interfere with the EFI init. This allows QEMU to to boot into EFI, load a U-Boot payload then boot to the U-Boot prompt. Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Bin Meng bmeng...@gmail.com --- Changes in v3: None Changes in v2: - Fix indenting in

[U-Boot] [PATCH v3 19/28] x86: Add support for passing tables into U-Boot

2015-08-04 Thread Simon Glass
The EFI stub provides information to U-Boot in a table. This includes the memory map which is needed to decide where to relocate U-Boot. Collect this information in the early init code and store it in global_data. Fix up the BIST code at the same time since we don't have it when booting from EFI

Re: [U-Boot] [PATCH 01/12] power: twl4030: Power off support

2015-08-04 Thread Paul Kocialkowski
Le lundi 03 août 2015 à 22:07 -0400, Tom Rini a écrit : On Mon, Jul 20, 2015 at 03:17:07PM +0200, Paul Kocialkowski wrote: This adds support for powering off (the omap3 SoC) from the twl4030. This is especially useful when the kernel does not actually power off the device using this

Re: [U-Boot] [PATCH 0/3] nand: Sync with Linux v4.1

2015-08-04 Thread Scott Wood
On Tue, 2015-08-04 at 14:39 +0200, Stefan Roese wrote: Hi Scott, On 23.07.2015 08:51, Stefan Roese wrote: On 27.06.2015 08:16, Scott Wood wrote: As requested, these patches can be found in the sync-4.1 branch of u-boot-nand-flash.git. Ezequiel Garcia (1): mtd: Introduce

Re: [U-Boot] [PATCH 1/2] configs: ti_armv7_keystone2: fix initrd address at args_ramfs

2015-08-04 Thread Tom Rini
On Tue, Aug 04, 2015 at 11:45:17AM -0400, Vitaly Andrianov wrote: On 08/04/2015 11:23 AM, Tom Rini wrote: On Tue, Aug 04, 2015 at 11:16:15AM -0400, Vitaly Andrianov wrote: This patch set the correct initrd address to much rdaddr, which used at get_fs_ramfs commad. Fixes: 3e97f0b63c8e

  1   2   >