[U-Boot] [PATCH v3 2/2] zynq: nand: Enable Nand flash controller driver a zynq board

2016-09-27 Thread Siva Durga Prasad Paladugu
Enable zynq Nand flash controller driver for a zynq ZC770 XM011(dc2) board. Signed-off-by: Siva Durga Prasad Paladugu --- Changes for v3: - None Changes for v2: - Corrected the from address --- configs/zynq_zc770_xm011_defconfig | 2 ++ include/configs/zynq-common.h | 7 +++ 2 files cha

Re: [U-Boot] Chrome OS keyboard not responding on snow

2016-09-27 Thread Adam Van Ymeren
On Mon, Sep 26, 2016 at 6:33 PM, Moritz Fischer wrote: > Hi Adam > > On Mon, Sep 26, 2016 at 12:35 PM, Adam Van Ymeren wrote: >> I'm trying to run the latest u-boot on the old samsung exynos5250 >> chromebook (snow_defconfig). I've managed to get the u-boot console >> up but it doesn't respond t

[U-Boot] [PATCH 1/2] lpuart: add a get_lpuart_clk function

2016-09-27 Thread shh.xie
From: Shaohui Xie It's not always true that LPUART clock is CONFIG_SYS_CLK_FREQ, this patch provides a weak function get_lpuart_clk, so that the clock can be ovreride on a specific board which uses different clock for LPUART. Signed-off-by: Shaohui Xie --- drivers/serial/serial_lpuart.c | 7 ++

Re: [U-Boot] [PATCH 12/23] net: pch_gbe: CPU accessible addresses are virtual

2016-09-27 Thread Bin Meng
On Tue, Sep 27, 2016 at 2:29 AM, Paul Burton wrote: > Use the virt_to_bus & bus_to_virt functions rather than phys_to_bus & > bus_to_phys, since the addresses accessed by the CPU will be virtual > rather than physical. On MIPS physical & virtual addresses differ as we > use virtual addresses in ks

Re: [U-Boot] [PATCH 11/23] net: pch_gbe: Fix rx descriptor buffer addresses

2016-09-27 Thread Bin Meng
Hi Paul, On Tue, Sep 27, 2016 at 2:29 AM, Paul Burton wrote: > The loop to set up buffer addresses in rx descriptors always operated on > descriptor 0, rather than on each descriptor sequentially. Fix this in > order to setup correct buffer addresses for each descriptor. > > Signed-off-by: Paul B

Re: [U-Boot] [PATCH 10/23] net: pch_gbe: Reset during probe

2016-09-27 Thread Bin Meng
On Tue, Sep 27, 2016 at 2:29 AM, Paul Burton wrote: > Using the EG20T gigabit ethernet controller on the MIPS Boston board, we > find that we have to reset the controller in order for the RGMII link to > the PHY to become functional. Without doing so we constantly time out in > pch_gbe_mdio_ready.

Re: [U-Boot] [PATCH 13/23] net: pch_gbe: Add cache maintenance

2016-09-27 Thread Bin Meng
On Tue, Sep 27, 2016 at 2:29 AM, Paul Burton wrote: > On MIPS systems DMA isn't coherent with the CPU caches unless an IOCU is > present. When there is no IOCU we need to writeback or invalidate the > data caches at appropriate points. Perform this cache maintenance in > the pch_gbe driver which i

Re: [U-Boot] [PATCH v4 00/17] sf:Updates on flash detection

2016-09-27 Thread Bin Meng
Hi Jagan, On Mon, Sep 26, 2016 at 3:52 AM, Jagan Teki wrote: > From: Jagan Teki > > Updated spi_flash_info table in sync with Linux, and removed > legacy and unsupported code. > > Changes for v4: > - Rebase to master > > Changes for v3: > - New patches > - Fix checkpatch.

[U-Boot] [PATCH] arm: Add return value argument to longjmp

2016-09-27 Thread Alexander Graf
The normal longjmp command allows for a caller to pass the return value of the setjmp() invocation. This patch adds that semantic to the arm implementation of it and adjusts the efi_loader call respectively. Signed-off-by: Alexander Graf --- arch/arm/include/asm/setjmp.h | 32 ++-

[U-Boot] [PATCH 1/2] ARM: dts: dra72: add rev C evm support

2016-09-27 Thread Mugunthan V N
Add DTS support for dra72 evm Rev C which has the following changes * Two ethernet ports now instead of the single one in rev B. * DP83867 ethernet phy instead of DP838865. Cc: Vignesh R Signed-off-by: Mugunthan V N --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/dra72-evm-common.

[U-Boot] [PATCH 2/2] board: ti: dra7xx: complex definitions should be protected with parentheses

2016-09-27 Thread Mugunthan V N
As a standard practice complex definitions should be protected with parentheses, as it might fail when used in a complex if statements. Signed-off-by: Mugunthan V N --- board/ti/dra7xx/evm.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/board/ti/dra7xx/evm.c b/board

[U-Boot] [PATCH 0/2] Add DRA72 Rev C support

2016-09-27 Thread Mugunthan V N
Add support for dra72 Rev C evm. The patch has been tested on DRA72 EVM Rev C, DRA72 EVM Rev B and DRA74 EVM Rev G, logs [1]. Also pushed a branch for testing [2]. [1] - http://pastebin.ubuntu.com/23239294/ [2] - git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git dra72-revC Mugunthan

[U-Boot] [PATCH] clk: rk3399: fix rockchip_get_cru

2016-09-27 Thread Jacob Chen
clk_rk3399 is driver name, not device name Signed-off-by: Jacob Chen --- drivers/clk/rockchip/clk_rk3399.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk_rk3399.c b/drivers/clk/rockchip/clk_rk3399.c index ea0ce2a..8efb892 100644 --- a/drivers/cl

Re: [U-Boot] [PATCH 15/23] gpio: eg20t: Add driver for Intel EG20T GPIO controllers

2016-09-27 Thread Paul Burton
On Monday, 26 September 2016 18:35:32 BST Simon Glass wrote: > > +enum { > > + REG_IEN = 0x00, > > + REG_ISTATUS = 0x04, > > + REG_IDISP = 0x08, > > + REG_ICLR= 0x0c, > > + REG_IMASK = 0x10, > > + REG_IMASKCLR= 0x14, > > +

[U-Boot] x86: Booting Linux v4.7+ broken

2016-09-27 Thread Stefan Roese
Hi! I just tried to boot a recent Linux kernel on a BayTrail based x86 board and noticed that booting Linux kernel version v4.7+ does not work. git bisecting leads to this kernel commit changing the compressed image format: 974f221c: x86/boot: Move compressed kernel to the end of the decompressio

[U-Boot] [PATCH 2/6] ARMv8: Add secure sections for PSCI text and data

2016-09-27 Thread macro . wave . z
From: Hongbo Zhang This patch adds secure_text, secure_data and secure_stack sections for ARMv8 to hold PSCI text and data, and it is based on the legacy implementation of ARMv7. Signed-off-by: Hongbo Zhang --- arch/arm/config.mk| 3 +- arch/arm/cpu/armv8/u-boot.lds | 65 +

[U-Boot] [PATCH 1/6] ARMv8: LS1043A: change macro CONFIG_ARMV8_PSCI definition

2016-09-27 Thread macro . wave . z
From: Hongbo Zhang NXP/Freescale uses macro CONFIG_ARMV8_PSCI to enable their private PSCI implementation in PPA firmware, but this macro naming too generic, so this patch replaces it with a specic one CONFIG_FSL_PPA_ARMV8_PSCI. And this macro CONFIG_ARMV8_PSCI will be used for a generic PSCI for

[U-Boot] [PATCH 0/6] Add ARMv8 PSCI framework

2016-09-27 Thread macro . wave . z
From: Hongbo Zhang This patch set introduces ARMv8 PSCI framework, all the PSCI functions are implemented a default dummy one, it is up to each platform to implement their own specific ones. The first 1/6 patch is a prepare clean up for adding ARMv8 PSCI. Patches 2/6 to 5/6 introduce new ARMv8 f

[U-Boot] [PATCH 4/6] ARMv8: Setup PSCI memory and dt

2016-09-27 Thread macro . wave . z
From: Hongbo Zhang Newly add ARMv8 PSCI needs to be initialized, be copied or reserved in right place, this patch does all the setup steps. Signed-off-by: Hongbo Zhang --- arch/arm/cpu/armv8/cpu-dt.c | 10 ++ arch/arm/cpu/armv8/cpu.c | 22 ++ arch/arm/include

[U-Boot] [PATCH 3/6] ARMv8: Add basic PSCI framework

2016-09-27 Thread macro . wave . z
From: Hongbo Zhang This patch introduces a generic ARMv8 PSCI framework, with all functions returning a dummy ARM_PSCI_RET_NI (Not Implemented), then it is up to each platform to implement their own functions based on this framework. Signed-off-by: Hongbo Zhang --- arch/arm/cpu/armv8/Kconfig

[U-Boot] [PATCH 5/6] ARMv8: Enable SMC instruction

2016-09-27 Thread macro . wave . z
From: Hongbo Zhang PSCI implementation needs the SMC instruction to be enabled. Following the legacy codes pattern, no bit macro definition and bit operation are used, only the immediate data used in line is changed. Signed-off-by: Hongbo Zhang --- arch/arm/include/asm/macro.h | 2 +- 1 file c

[U-Boot] [PATCH 6/6] ARMv8: LS1043A: Enable LS1043A default PSCI support

2016-09-27 Thread macro . wave . z
From: Hongbo Zhang A most basic PSCI implementation with only one psci_version is added for LS1043A, this can verify the generic PSCI framework, and more platform specific implementation will be added later. Signed-off-by: Hongbo Zhang --- arch/arm/cpu/armv8/fsl-layerscape/Makefile | 1

[U-Boot] [PATCH V2 1/8] tools: imximage: add plugin support

2016-09-27 Thread Peng Fan
Add plugin support for imximage. Define CONFIG_USE_IMXIMG_PLUGIN in defconfig to enable using plugin. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Eric Nelson Cc: Troy Kisky Cc: Ye Li --- V2: Drop the CONFIG_USE_PLUGIN, make plugin always support in imximage. tools/imximage.c | 282

[U-Boot] [PATCH V2 7/8] imx: mx6ullevk: correct boot device macro

2016-09-27 Thread Peng Fan
Correct boot device macro according to kconfig entry in common/Kconfig Signed-off-by: Peng Fan Cc: Stefano Babic --- V2: None board/freescale/mx6ullevk/imximage.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/freescale/mx6ullevk/imximage.cfg b/board/freesca

[U-Boot] [PATCH V2 4/8] imx-common: inctroude USE_IMXIMG_PLUGIN Kconfig

2016-09-27 Thread Peng Fan
Introduce USE_IMXIMG_PLUGIN Kconfig Signed-off-by: Peng Fan Cc: Stefano Babic --- V2: New arch/arm/imx-common/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/imx-common/Kconfig b/arch/arm/imx-common/Kconfig index 1b7da5a..85eac57 100644 --- a/arch/arm/imx-common/K

[U-Boot] [PATCH V2 6/8] imx: mx6ullevk: support plugin

2016-09-27 Thread Peng Fan
Add plugin code for mx6ullevk. Define CONFIG_USE_PLUGIN in include/configs/mx6ullevk.h to use plugin code. Signed-off-by: Peng Fan Cc: Stefano Babic --- V2: Drop the makefile changes, because we have plugin supported in arch/arm/imx-common/Makefile. board/freescale/mx6ullevk/imximage.cfg |

[U-Boot] [PATCH V2 3/8] imx: mx7: Add plugin support

2016-09-27 Thread Peng Fan
Add mx7_plugin.S which calls boot rom setup function, generate the second ivt, and jump back to boot rom. Signed-off-by: Peng Fan Signed-off-by: Ye Li Cc: Stefano Babic --- V2: None arch/arm/include/asm/arch-mx7/mx7_plugin.S | 111 + 1 file changed, 111 insertion

[U-Boot] [PATCH V2 2/8] imx: mx6: Add plugin support

2016-09-27 Thread Peng Fan
Add mx6_plugin.S which calls boot rom setup function, generate the second ivt, and jump back to boot rom. Signed-off-by: Peng Fan Signed-off-by: Ye Li Signed-off-by: Utkarsh Gupta --- V2: None arch/arm/include/asm/arch-mx6/mx6_plugin.S | 159 + 1 file changed, 15

[U-Boot] [PATCH V2 5/8] imx-common: compile plugin code

2016-09-27 Thread Peng Fan
If CONFIG_USE_IMXIMG_PLUGIN is selected, plugin.bin will be generated under board/$(BOARDDIR)/. Signed-off-by: Peng Fan Cc: Stefano Babic --- V2: New. Make this common to all i.MX6/7, but not duplicated in board makefile. arch/arm/imx-common/Makefile | 29 +++-- 1 fil

Re: [U-Boot] [PATCH 17/23] MIPS: Make CM GCR base configurable

2016-09-27 Thread Daniel Schwierzeck
2016-09-26 20:29 GMT+02:00 Paul Burton : > Without adding a prompt for CONFIG_MIPS_CM_BASE, Kconfig doesn't allow > defconfigs to set it. Provide the prompt in order to allow for that. > > Signed-off-by: Paul Burton > --- > > arch/mips/Kconfig | 3 ++- > 1 file changed, 2 insertions(+), 1 deletio

Re: [U-Boot] [PATCH 19/23] boston: Setup memory ranges in FDT provided to Linux

2016-09-27 Thread Daniel Schwierzeck
2016-09-26 20:29 GMT+02:00 Paul Burton : > The boston memory map isn't suited to the simple "all memory starting > from 0" approach that the MIPS arch_fixup_fdt() implementation takes. > Instead we need to indicate the first 256MiB of DDR from 0 and the rest > from 0x9000. Implement ft_board_se

Re: [U-Boot] [PATCH 07/23] pci: Handle MIPS systems with virtual CONFIG_SYS_SDRAM_BASE

2016-09-27 Thread Daniel Schwierzeck
2016-09-27 2:35 GMT+02:00 Simon Glass : > Hi Paul, > > On 26 September 2016 at 12:29, Paul Burton wrote: >> The decode_regions() function in the PCI code presumes that >> CONFIG_SYS_SDRAM_BASE is a physical address, which seems reasonable >> given that README states that it should be. >> >> Howeve

Re: [U-Boot] [PATCH 01/23] image: Use ram_top, not bi_memsize, in getenv_bootm_size

2016-09-27 Thread Daniel Schwierzeck
+cc Simon and Tom 2016-09-26 20:28 GMT+02:00 Paul Burton : > When determining the region of memory to allow for use by bootm, using > bi_memstart & adding bi_memsize can cause problems if that leads to an > integer overflow. For example on some MIPS systems bi_memstart would be > 0x800

Re: [U-Boot] [PATCH RESEND] phy: atheros: add support for RGMII_ID, RGMII_TXID and RGMII_RXID

2016-09-27 Thread Marek Vasut
On 05/26/2016 06:24 PM, Andrea Merello wrote: > This adds support for internal delay on RX and TX on RGMII interface for the > AR8035 phy. > > This is basically the same Linux driver do. Tested on a Zynq Zturn board (for > which u-boot support in is my tree; first patch waiting ML approval) > > S

[U-Boot] [PATCH V2 8/8] imx: mx6ull_14x14_evk: add plugin defconfig

2016-09-27 Thread Peng Fan
Add defconfig file to use plugin code. Signed-off-by: Peng Fan Cc: Stefano Babic --- V2: New. The difference from mx6ull_14x14_evk_defconfig is CONFIG_USE_IMXIMG_PLUGIN added configs/mx6ull_14x14_evk_plugin_defconfig | 31 +++ 1 file changed, 31 insertions(+) c

[U-Boot] [PATCH] usb:gadget: Disallow DFU in SPL for now

2016-09-27 Thread Tom Rini
Previously, DFU was not built in for SPL and often disabled via the board config.h file, in the SPL build. By moving DFU to Kconfig we now need to move this logic to the Makefile to continue to allow boards to fit within their SPL size limit (until gcc 6 is more widespread and unused strings will

Re: [U-Boot] [PATCH 01/23] image: Use ram_top, not bi_memsize, in getenv_bootm_size

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 01:03:47PM +0200, Daniel Schwierzeck wrote: > +cc Simon and Tom > > 2016-09-26 20:28 GMT+02:00 Paul Burton : > > When determining the region of memory to allow for use by bootm, using > > bi_memstart & adding bi_memsize can cause problems if that leads to an > > integer ove

[U-Boot] [PATCH 2/2] armv8: ls1046aqds: add lpuart support

2016-09-27 Thread shh.xie
From: Shaohui Xie LPUART0 is used by default, and it's using platform clock, if a different clock is preferred, user can define CONFIG_LPUART_CLK. Signed-off-by: Shaohui Xie --- arch/arm/dts/Makefile | 1 + arch/arm/dts/fsl-ls1046a-qds-lpuart.dts | 16 ++ arch/arm/dt

Re: [U-Boot] [PATCHv2] scripts: Add script to extract default environment

2016-09-27 Thread Lukasz Majewski
Hi Simon, > Hi Lukasz, > > On 16 September 2016 at 22:57, Lukasz Majewski > wrote: > > This script looks for env_common.o object file and extracts from it > > default u-boot environment, which is afterwards printed on standard > > output. > > > > Usage example: > > get_default_envs.sh > u-boot-e

[U-Boot] [PATCH v2 01/10] patman: Replace tabs with spaces

2016-09-27 Thread Paul Burton
In preparation for running on python 3.x, which will refuse to run scripts which mix tabs & spaces for indentation, replace 2 tab characters present in series.py with spaces. Signed-off-by: Paul Burton Acked-by: Simon Glass --- Changes in v2: None tools/patman/series.py | 4 ++-- 1 file chang

[U-Boot] [PATCH v2 00/10] Python 3.x support for patman & dtoc

2016-09-27 Thread Paul Burton
This series makes patman & dtoc run on python 3.x, which allows them to work without hacks on distributions where the python binary is python 3.x. All changes are made in a way that continue to work on python 2.x, so both tools should work on either major version of python. Paul Burton (10): pat

[U-Boot] [PATCH v2 04/10] patman: Import 'configparser' lower case to be python 3.x safe

2016-09-27 Thread Paul Burton
In python 3.x module names used in import statements are case sensitive, and the configparser module is named in all lower-case. Import it as such in order to avoid errors when running with python 3.x. Signed-off-by: Paul Burton Acked-by: Simon Glass --- Changes in v2: None tools/patman/setti

[U-Boot] [PATCH v2 02/10] patman: Make print statements python 3.x safe

2016-09-27 Thread Paul Burton
In python 3.x, print must be used as a function call. Convert all print statements to the function call style, importing from __future__ where we print with no trailing newline or print to a file object. Signed-off-by: Paul Burton Acked-by: Simon Glass --- Changes in v2: None tools/patman/che

[U-Boot] [PATCH v2 03/10] patman: Make exception handling python 3.x safe

2016-09-27 Thread Paul Burton
Syntax for exception handling is a little more strict in python 3.x. Convert all uses to a form accepted by both python 2.x & python 3.x. Signed-off-by: Paul Burton Acked-by: Simon Glass --- Changes in v2: None tools/patman/command.py | 2 +- tools/patman/cros_subprocess.py | 2 +-

[U-Boot] [PATCH v2 05/10] patman: Decode stdout/stderr as utf8, be python 3.x safe

2016-09-27 Thread Paul Burton
In python 3.x reading stdout or stdin will produce a bytestring rather than a string. Decode it in CommunicateFilter such that the rest of the code can continue to deal with strings. This works fine with python 2.x too. Signed-off-by: Paul Burton Acked-by: Simon Glass --- Changes in v2: None

[U-Boot] [PATCH v2 06/10] patman: Use items() to iterate over dictionaries

2016-09-27 Thread Paul Burton
In python 3.x the iteritems() method has been removed from dictionaries, and the items() method does effectively the same thing. On python 2.x using items() is a little less efficient since it involves copying data, but as speed isn't a concern in this code switch to using items() anyway for simpli

[U-Boot] [PATCH v2 07/10] patman: Fix doctest StringIO import for python 3.x

2016-09-27 Thread Paul Burton
In python 3.x StringIO is no longer a module, and the class can instead be found in the io module. Adjust the code in the doctest input to account for both. Signed-off-by: Paul Burton --- Changes in v2: - New patch, need found by running --test. tools/patman/settings.py | 13 - 1

[U-Boot] [PATCH v2 08/10] dtoc: Use items() to iterate over dictionaries in python 3.x

2016-09-27 Thread Paul Burton
In python 3.x the iteritems() method has been removed from dictionaries, and the items() method does effectively the same thing. On python 2.x using items() is a little less efficient since it involves copying data, but as speed isn't a concern in the affected code switch to using items() anyway fo

[U-Boot] [PATCH v2 10/10] dtoc: Make integer division python 3.x safe

2016-09-27 Thread Paul Burton
If we use the '/' operator then python 3.x will produce a float, and refuse to multiply the string sequence in Conv_name_to_c by it with: TypeError: can't multiply sequence by non-int of type 'float' Use the '//' operator instead to enforce that we want integer rather than floating point divi

[U-Boot] [PATCH v2 09/10] dtoc: Decode strings for struct.unpack on python 3.x

2016-09-27 Thread Paul Burton
On python 3.x struct.unpack will complain if we provide it with a string since it expects to operate on a bytes object. In order to satisfy this requirement, encode the string to a bytes object when running on python 3.x. Signed-off-by: Paul Burton Acked-by: Simon Glass --- Changes in v2: None

Re: [U-Boot] [PATCH 0/9] Python 3.x support for patman & dtoc

2016-09-27 Thread Paul Burton
On Monday, 26 September 2016 18:33:19 BST Simon Glass wrote: > Hi Paul, > > On 26 September 2016 at 08:30, Paul Burton wrote: > > This series makes patman & dtoc run on python 3.x, which allows them to > > work without hacks on distributions where the python binary is python > > 3.x. All changes

[U-Boot] Please pull u-boot-marvell/master

2016-09-27 Thread Stefan Roese
Hi Tom, please pull the 2nd batch of Marvell MVEBU related patches. This time the new ARM64 Armada 37xx and Armada 7k/8k support. Thanks, Stefan The following changes since commit cbe7706ab8aab06c18edaa9b120371f9c8012728: Merge git://git.denx.de/u-boot-fsl-qoriq (2016-09-26 17:10:56 -0400)

[U-Boot] U-Boot DFU test and Ctrl+C

2016-09-27 Thread Tom Rini
Hey guys, As I use the DFU tests more and more, I keep hitting what I'm pretty sure is a false failure in the tests. Sometimes the tests fail at: > u_boot_console.wait_for('Ctrl+C to exit ...') and the last bit of the console log is: Starting download: [###

[U-Boot] Pull request, u-boot-tegra/master

2016-09-27 Thread Tom Warren
Tom, Please pull u-boot-tegra/master into U-Boot/master. Thanks! All Tegra builds are OK, and Stephen's automated test system reports that all tests pass. The following changes since commit cbe7706ab8aab06c18edaa9b120371f9c8012728: Merge git://git.denx.de/u-boot-fsl-qoriq (2016-09-26 17:10:56

Re: [U-Boot] [PATCH] CPCI4052: Remove CONFIG_AUTO_COMPLETE and custom baud rate table

2016-09-27 Thread Stefan Roese
On 20.08.2016 23:52, Tom Rini wrote: This board is getting close to or exceeding the size limit again, remove CONFIG_AUTO_COMPLETE to save space and while in here switch to the default and slightly less complete default baudrate table. Cc: Matthias Fuchs Signed-off-by: Tom Rini Applied to u-

[U-Boot] Please pull u-boot-ppc4xx/master

2016-09-27 Thread Stefan Roese
Hi Tom, please pull this one small ppc4xx change. Thanks, Stefan The following changes since commit cbe7706ab8aab06c18edaa9b120371f9c8012728: Merge git://git.denx.de/u-boot-fsl-qoriq (2016-09-26 17:10:56 -0400) are available in the git repository at: git://www.denx.de/git/u-boot-ppc4xx.gi

Re: [U-Boot] [PATCH v2] common/xyzModem.c: Fix delay timeout calculation

2016-09-27 Thread Andrew F. Davis
On 09/23/2016 02:57 PM, Tom Rini wrote: > On Tue, Sep 20, 2016 at 10:39:49AM -0500, Andrew F. Davis wrote: > >> When waiting for input in CYGACC_COMM_IF_GETC_TIMEOUT we delay 2 >> seconds by incrementing and checking a counter variable every 20 >> uSeconds. The overhead in the loop calling tstc()

Re: [U-Boot] U-Boot DFU test and Ctrl+C

2016-09-27 Thread Stephen Warren
On 09/27/2016 09:46 AM, Tom Rini wrote: Hey guys, As I use the DFU tests more and more, I keep hitting what I'm pretty sure is a false failure in the tests. Sometimes the tests fail at: u_boot_console.wait_for('Ctrl+C to exit ...') and the last bit of the console log is: Starting downl

Re: [U-Boot] [PATCH 0/6] Add ARMv8 PSCI framework

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 05:29:00PM +0800, macro.wav...@gmail.com wrote: > From: Hongbo Zhang > > This patch set introduces ARMv8 PSCI framework, all the PSCI functions are > implemented a default dummy one, it is up to each platform to implement their > own specific ones. > > The first 1/6 patch

Re: [U-Boot] [PATCH] spl: saveenv: adding saveenv support in SPL

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 12:15:08PM +0530, Ravi Babu wrote: > By default saveenv option is not supported for SPL. This patch > enable the support for save environment variable for SPL build. > > Enable save environment support in SPL after setenv. By default > the saveenv option is not provided in

Re: [U-Boot] [PATCH 2/2] board: ti: dra7xx: complex definitions should be protected with parentheses

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 01:01:42PM +0530, Mugunthan V N wrote: > As a standard practice complex definitions should be protected > with parentheses, as it might fail when used in a complex if > statements. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Descripti

Re: [U-Boot] [PATCH 1/2] ARM: dts: dra72: add rev C evm support

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 01:01:41PM +0530, Mugunthan V N wrote: > Add DTS support for dra72 evm Rev C which has the following > changes > * Two ethernet ports now instead of the single one in rev B. > * DP83867 ethernet phy instead of DP838865. > > Cc: Vignesh R > Signed-off-by: Mugunthan V N R

Re: [U-Boot] [PATCH 4/6] ARMv8: Setup PSCI memory and dt

2016-09-27 Thread york sun
On 09/27/2016 02:29 AM, macro.wav...@gmail.com wrote: > From: Hongbo Zhang > > Newly add ARMv8 PSCI needs to be initialized, be copied or reserved in right > place, this patch does all the setup steps. > > Signed-off-by: Hongbo Zhang > --- > arch/arm/cpu/armv8/cpu-dt.c | 10 ++ > arch/

Re: [U-Boot] [PATCH 5/5] check-config: allow to complete build even with ad-hoc CONFIG options

2016-09-27 Thread Tom Rini
On Mon, Sep 26, 2016 at 01:05:02PM +0900, Masahiro Yamada wrote: > Currently, the check-config.sh terminates the build when unknown > ad-hoc options are detected. I think it is too much because we may > want to patch config headers locally in a build/deployment project. I'm not yet convinced thi

Re: [U-Boot] [PATCH 2/3] ARM: keystone: rename clk_get_rate() to ks_clk_get_rate()

2016-09-27 Thread Tom Rini
On Mon, Sep 26, 2016 at 08:45:26PM +0900, Masahiro Yamada wrote: > The KeyStone platform has its own clk_get_rate() but its prototype > is different from that of the common-clk (clk-uclass) framework. > > Prefix the KeyStone specific implementation with _ks in order to > avoid name-space conflict

Re: [U-Boot] [PATCH 3/3] Revert "ns16650: Make sure we have CONFIG_CLK set before using infrastructure"

2016-09-27 Thread Tom Rini
On Mon, Sep 26, 2016 at 08:45:27PM +0900, Masahiro Yamada wrote: > This reverts commit 82f5279b0cd99a9163d34cfe926d0316d9dc0d37. > > The build failure of k2*evm boards was fixed in a different way by > the previous commit. It is nasty to patch generic drivers around > with #ifdef CONFIG_CLK just

Re: [U-Boot] [PATCH 1/3] ARM: keystone: remove declaration of unused functions

2016-09-27 Thread Tom Rini
On Mon, Sep 26, 2016 at 08:45:25PM +0900, Masahiro Yamada wrote: > These two functions are neither defined nor referenced. > > Signed-off-by: Masahiro Yamada Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mai

Re: [U-Boot] [RFC] Rearrange CONFIG_* macros

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 05:39:55PM +, york sun wrote: > Guys, > > I want to discuss to rearrange the current CONFIG_* macros used by > Freescale Layerscape SoCs. We have been encouraged to use CONFIG_SYS_* > macros to define hardware setting, and other CONFIG_* macros for user > setting. Cl

[U-Boot] [RFC] Rearrange CONFIG_* macros

2016-09-27 Thread york sun
Guys, I want to discuss to rearrange the current CONFIG_* macros used by Freescale Layerscape SoCs. We have been encouraged to use CONFIG_SYS_* macros to define hardware setting, and other CONFIG_* macros for user setting. Clearly this has changed. Kconfig options are used for most user settin

Re: [U-Boot] [RFC] Rearrange CONFIG_* macros

2016-09-27 Thread Simon Glass
Hi York, On 27 September 2016 at 11:39, york sun wrote: > Guys, > > I want to discuss to rearrange the current CONFIG_* macros used by > Freescale Layerscape SoCs. We have been encouraged to use CONFIG_SYS_* > macros to define hardware setting, and other CONFIG_* macros for user > setting. Clearl

Re: [U-Boot] [PATCH v2 06/10] patman: Use items() to iterate over dictionaries

2016-09-27 Thread Simon Glass
On 27 September 2016 at 09:03, Paul Burton wrote: > In python 3.x the iteritems() method has been removed from dictionaries, > and the items() method does effectively the same thing. On python 2.x > using items() is a little less efficient since it involves copying data, > but as speed isn't a con

Re: [U-Boot] [PATCH v2 07/10] patman: Fix doctest StringIO import for python 3.x

2016-09-27 Thread Simon Glass
On 27 September 2016 at 09:03, Paul Burton wrote: > In python 3.x StringIO is no longer a module, and the class can instead > be found in the io module. Adjust the code in the doctest input to > account for both. > > Signed-off-by: Paul Burton > > --- > > Changes in v2: > - New patch, need found

Re: [U-Boot] [PATCH 0/9] Python 3.x support for patman & dtoc

2016-09-27 Thread Simon Glass
Hi Paul, On 27 September 2016 at 09:07, Paul Burton wrote: > On Monday, 26 September 2016 18:33:19 BST Simon Glass wrote: >> Hi Paul, >> >> On 26 September 2016 at 08:30, Paul Burton wrote: >> > This series makes patman & dtoc run on python 3.x, which allows them to >> > work without hacks on di

Re: [U-Boot] [PATCH v2 4/8] x86: Tidy up selection of building the EFI stub

2016-09-27 Thread Simon Glass
Hi Bin, On 26 September 2016 at 20:44, Bin Meng wrote: > Hi Simon, > > On Tue, Sep 27, 2016 at 8:35 AM, Simon Glass wrote: >> Hi Bin, >> >> On 26 September 2016 at 02:50, Bin Meng wrote: >>> Hi Simon, >>> >>> On Mon, Sep 26, 2016 at 5:27 AM, Simon Glass wrote: At present we use a CONFIG o

Re: [U-Boot] [PATCH v2 08/10] dtoc: Use items() to iterate over dictionaries in python 3.x

2016-09-27 Thread Simon Glass
On 27 September 2016 at 09:03, Paul Burton wrote: > In python 3.x the iteritems() method has been removed from dictionaries, > and the items() method does effectively the same thing. On python 2.x > using items() is a little less efficient since it involves copying data, > but as speed isn't a con

Re: [U-Boot] [PATCH 2/2] power: regulator: lp873x: Add regulator support

2016-09-27 Thread Simon Glass
Hi Keerthy, On 26 September 2016 at 21:45, Keerthy wrote: > > > On Tuesday 27 September 2016 06:04 AM, Simon Glass wrote: >> >> Hi, >> >> On 26 September 2016 at 00:00, Keerthy wrote: >>> >>> The driver provides regulator set/get voltage >>> enable/disable functions for lp873x family of PMICs. >

Re: [U-Boot] [PATCH] arm: Add return value argument to longjmp

2016-09-27 Thread Simon Glass
On 27 September 2016 at 01:30, Alexander Graf wrote: > The normal longjmp command allows for a caller to pass the return value > of the setjmp() invocation. This patch adds that semantic to the arm > implementation of it and adjusts the efi_loader call respectively. > > Signed-off-by: Alexander Gr

Re: [U-Boot] [PATCH v3 1/7] clk: clk-uclass: Assign clk->dev before call .of_xlate

2016-09-27 Thread Simon Glass
On 26 September 2016 at 21:00, Wenyou Yang wrote: > In order to make clk->dev available in ops->of_xlate() to get the > clock ID from the 'reg' property of the clock node, assign the > clk->dev before calling ops->of_xlate(). > > Signed-off-by: Wenyou Yang > Acked-by: Stephen Warren > --- > > Ch

Re: [U-Boot] [PATCH] clk: rk3399: fix rockchip_get_cru

2016-09-27 Thread Simon Glass
On 27 September 2016 at 01:48, Jacob Chen wrote: > clk_rk3399 is driver name, not device name > > Signed-off-by: Jacob Chen > --- > > drivers/clk/rockchip/clk_rk3399.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Acked-by: Simon Glass _

Re: [U-Boot] [RFC] Rearrange CONFIG_* macros

2016-09-27 Thread york sun
On 09/27/2016 10:51 AM, Tom Rini wrote: > On Tue, Sep 27, 2016 at 05:39:55PM +, york sun wrote: >> Guys, >> >> I want to discuss to rearrange the current CONFIG_* macros used by >> Freescale Layerscape SoCs. We have been encouraged to use CONFIG_SYS_* >> macros to define hardware setting, and o

Re: [U-Boot] [RFC] Rearrange CONFIG_* macros

2016-09-27 Thread york sun
On 09/27/2016 10:55 AM, Simon Glass wrote: > Hi York, > > On 27 September 2016 at 11:39, york sun wrote: >> Guys, >> >> I want to discuss to rearrange the current CONFIG_* macros used by >> Freescale Layerscape SoCs. We have been encouraged to use CONFIG_SYS_* >> macros to define hardware setting,

Re: [U-Boot] [RFC] Rearrange CONFIG_* macros

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 06:24:09PM +, york sun wrote: > On 09/27/2016 10:51 AM, Tom Rini wrote: > > On Tue, Sep 27, 2016 at 05:39:55PM +, york sun wrote: > >> Guys, > >> > >> I want to discuss to rearrange the current CONFIG_* macros used by > >> Freescale Layerscape SoCs. We have been enco

Re: [U-Boot] [PATCH v4] drivers: usb: xhci-fsl: Implement Erratum A-010151 for FSL USB3 controller

2016-09-27 Thread york sun
On 09/25/2016 12:52 PM, Marek Vasut wrote: > On 09/23/2016 09:27 AM, Sriram Dash wrote: >> Currently the controller by default enables the Receive Detect feature in P3 >> mode in USB 3.0 PHY. However, USB 3.0 PHY does not reliably support receive >> detection in P3 mode. >> Enabling the USB3 contro

Re: [U-Boot] [PATCH v2 5/8] arm: efi: Add a hello world test program

2016-09-27 Thread Tom Rini
On Mon, Sep 26, 2016 at 09:36:19AM +0200, Alexander Graf wrote: > > > On 25.09.16 23:27, Simon Glass wrote: > > It is useful to have a basic sanity check for EFI loader support. Add a > > 'bootefi hello' command which loads HelloWord.efi and runs it under U-Boot. > > > > Signed-off-by: Simon Gla

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

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 05:33:20PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the 2nd batch of Marvell MVEBU related patches. This > time the new ARM64 Armada 37xx and Armada 7k/8k support. > > Thanks, > Stefan > > > The following changes since commit cbe7706ab8aab06c18edaa9b120371f9

Re: [U-Boot] Pull request: u-boot-ubi/master

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 08:34:50AM +0200, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-ubi.git master > > The following changes since commit cbe7706ab8aab06c18edaa9b120371f9c8012728: > > Merge git://git.denx.de/u-boot-fsl-qoriq (2016-09-26 17:10:56 -0400) > > are available

Re: [U-Boot] Pull request, u-boot-tegra/master

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 09:16:22AM -0700, Tom Warren wrote: > Tom, > > Please pull u-boot-tegra/master into U-Boot/master. Thanks! > > All Tegra builds are OK, and Stephen's automated test system reports that > all tests pass. > > The following changes since commit cbe7706ab8aab06c18edaa9b12037

Re: [U-Boot] dfu: Migrate to Kconfig

2016-09-27 Thread Tom Rini
On Mon, Sep 19, 2016 at 01:31:30PM -0400, Tom Rini wrote: > Introduce a hidden USB_FUNCTION_DFU Kconfig option and select it for > CMD_DFU (as we must have the DFU command enabled to do anything DFU). > Make all of the entries in drivers/dfu/Kconfig depend on CMD_DFU and add > options for all of t

Re: [U-Boot] [PATCH] usb:gadget: Disallow DFU in SPL for now

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 10:42:00AM -0400, Tom Rini wrote: > Previously, DFU was not built in for SPL and often disabled via the board > config.h file, in the SPL build. By moving DFU to Kconfig we now need to > move this logic to the Makefile to continue to allow boards to fit within > their SPL

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

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 06:27:45PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull this one small ppc4xx change. > > Thanks, > Stefan > > The following changes since commit cbe7706ab8aab06c18edaa9b120371f9c8012728: > > Merge git://git.denx.de/u-boot-fsl-qoriq (2016-09-26 17:10:56 -0400)

Re: [U-Boot] ti_armv7_common.h: Adjust malloc pool size in all cases.

2016-09-27 Thread Tom Rini
On Mon, Sep 19, 2016 at 01:05:34PM -0400, Tom Rini wrote: > Previously we had been adjusting CONFIG_SYS_MALLOC_LEN based on if > CONFIG_DFU_MMC has been set or not. However, for quite some time this > has not been the case as we often include > prior to setting CONFIG_DFU_MMC so we would always

Re: [U-Boot] [PATCH v4] drivers: usb: xhci-fsl: Implement Erratum A-010151 for FSL USB3 controller

2016-09-27 Thread Marek Vasut
On 09/27/2016 10:29 PM, york sun wrote: > On 09/25/2016 12:52 PM, Marek Vasut wrote: >> On 09/23/2016 09:27 AM, Sriram Dash wrote: >>> Currently the controller by default enables the Receive Detect feature in P3 >>> mode in USB 3.0 PHY. However, USB 3.0 PHY does not reliably support receive >>> det

Re: [U-Boot] [PATCH v2] drivers: usb: xhci-fsl: Change burst beat and outstanding pipelined transfers requests

2016-09-27 Thread Marek Vasut
On 09/27/2016 10:30 PM, york sun wrote: > On 08/22/2016 06:54 AM, Marek Vasut wrote: >> On 08/22/2016 02:25 PM, Sriram Dash wrote: >>> This is required for better performance, and performs below tuning: >>> 1. Enable burst length set, and define it as 4/8/16. >>> 2. Set burst request limit to 16 re

Re: [U-Boot] ccache and buildman

2016-09-27 Thread Simon Glass
Hi York, On 27 September 2016 at 14:42, york sun wrote: > Simon, > > I read through the document but didn't figure out how to use ccache with > buildman. Is it even possible? I'm not sure - you could try it if you like. If you figure it out, it would be a good addition to the README. Regards, S

Re: [U-Boot] [PATCH 15/23] gpio: eg20t: Add driver for Intel EG20T GPIO controllers

2016-09-27 Thread Simon Glass
Hi Paul, On 27 September 2016 at 02:21, Paul Burton wrote: > On Monday, 26 September 2016 18:35:32 BST Simon Glass wrote: > >> > +enum { > >> > + REG_IEN = 0x00, > >> > + REG_ISTATUS = 0x04, > >> > + REG_IDISP = 0x08, > >> > + REG_ICLR = 0x0c, > >> > + REG_IMASK = 0x10, > >> > + REG_IMASKCLR = 0x

[U-Boot] [PATCH] cros_ec: Honor the google,remote-bus dt property

2016-09-27 Thread Moritz Fischer
Boards where ECs that use a I2C port != 0 specify this in the devicetree file via the google,remote-bus property. Previously this was ignored and hardcoded to port 0. Signed-off-by: Moritz Fischer Cc: Simon Glass Cc: Heiko Schocher Cc: u-boot@lists.denx.de --- drivers/i2c/cros_ec_tunnel.c | 24

[U-Boot] ccache and buildman

2016-09-27 Thread york sun
Simon, I read through the document but didn't figure out how to use ccache with buildman. Is it even possible? York ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] drivers: usb: xhci-fsl: Change burst beat and outstanding pipelined transfers requests

2016-09-27 Thread york sun
On 08/22/2016 06:54 AM, Marek Vasut wrote: > On 08/22/2016 02:25 PM, Sriram Dash wrote: >> This is required for better performance, and performs below tuning: >> 1. Enable burst length set, and define it as 4/8/16. >> 2. Set burst request limit to 16 requests. >> >> Signed-off-by: Rajesh Bhagat >>

Re: [U-Boot] [PATCH V2 5/8] imx-common: compile plugin code

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 05:23:24PM +0800, Peng Fan wrote: > If CONFIG_USE_IMXIMG_PLUGIN is selected, plugin.bin will be > generated under board/$(BOARDDIR)/. > > Signed-off-by: Peng Fan > Cc: Stefano Babic Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH V2 4/8] imx-common: inctroude USE_IMXIMG_PLUGIN Kconfig

2016-09-27 Thread Tom Rini
On Tue, Sep 27, 2016 at 05:23:23PM +0800, Peng Fan wrote: > Introduce USE_IMXIMG_PLUGIN Kconfig > > Signed-off-by: Peng Fan > Cc: Stefano Babic Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-B

  1   2   >