Re: [U-Boot] 4K padding of ARM DT blob

2015-03-11 Thread Yehuda Yitschak
Hey Simon Thanks for the clarification Just out of curiosity, how can the padding help modify the FDT in u-boot ? Yehuda > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Wednesday, March 11, 2015 21:01 > To: Masahiro Yamada > Cc:

Re: [U-Boot] [PATCH v2 2/4] fastboot: call board_usb_init() to enable usb

2015-03-11 Thread Dileep Katta
On 5 March 2015 at 20:07, Tom Rini wrote: > On Thu, Mar 05, 2015 at 12:36:57AM +0530, Dileep Katta wrote: > > On 4 March 2015 at 23:59, Tom Rini wrote: > > > > > On Wed, Mar 04, 2015 at 05:05:11PM +, Stegmaier, Angela wrote: > > > > Hi Dileep, > > > > > > > > > -Original Message- > >

Re: [U-Boot] [PATCH v1 1/4] ARM: DRA7XX: Add config file for Android with fastboot support

2015-03-11 Thread Dileep Katta
Hi Tom and Lukasz, On 4 March 2015 at 22:22, Tom Rini wrote: > On Tue, Mar 03, 2015 at 04:40:41PM +0530, Dileep Katta wrote: > > > Signed-off-by: Angela Stegmaier > > Signed-off-by: Dileep Katta > > --- > > arch/arm/cpu/armv7/omap5/Kconfig | 5 + > > board/ti/dra7xx/Kconfig

[U-Boot] [PATCH] Odroid-XU3: Undefine TRACE CONFIGs in Odroid XU3

2015-03-11 Thread Inha Song
This patch undefines Trace configs in Odroidx XU3. Trace configs are defined in exynos5-common.h Signed-off-by: Inha Song --- include/configs/odroid_xu3.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/odroid_xu3.h b/include/configs/odroid_xu3.h index c395020..f427fe2 1

[U-Boot] [PATCH] x86: Add ramboot and nfsboot commands in x86-common.h

2015-03-11 Thread Bin Meng
It is very common in the debug stage to test U-Boot loading a linux kernel. The commands to boot linux kernel with ramdisk and nfs as the root are common to all x86 targets, so it makes sense to add them as the U-Boot default environment in x86-common.h. Signed-off-by: Bin Meng --- include/conf

Re: [U-Boot] [PATCH v2] mmc: fsl_esdhc: Add support for DDR mode

2015-03-11 Thread Stefan Roese
Hi Volodymyr, On 12.03.2015 00:48, Volodymyr Riazantsev wrote: Yes, it was too optimistic to enable it for all i.MX6 base devices, I'll submit patch for disable it by default. Vendors can enable it separately for custom boards. Stefan, Please let me know if you have any results wi

Re: [U-Boot] [PATCH 1/2] mx6_common: Do not select esdhc DDR mode for all boards

2015-03-11 Thread Volodymyr Riazantsev
On Wed, Mar 11, 2015 at 11:48 PM, Otavio Salvador wrote: > On Wed, Mar 11, 2015 at 10:52 PM, Fabio Estevam wrote: >> From: Fabio Estevam >> >> CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE should be selected only by boards that >> really >> have a DDR-capable eMMC, so remove this option from common code to

Re: [U-Boot] [PATCH 1/2] mx6_common: Do not select esdhc DDR mode for all boards

2015-03-11 Thread Otavio Salvador
On Wed, Mar 11, 2015 at 10:52 PM, Fabio Estevam wrote: > From: Fabio Estevam > > CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE should be selected only by boards that > really > have a DDR-capable eMMC, so remove this option from common code to avoid > regressions. > > Reported-by: Stefan Roese > Signed-off

Re: [U-Boot] [PATCH 2/2] warp: Select CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE

2015-03-11 Thread Otavio Salvador
On Wed, Mar 11, 2015 at 10:52 PM, Fabio Estevam wrote: > From: Fabio Estevam > > Warp has a DDR eMMC, so enable CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE for better > performance: > > reading zImage > 5790288 bytes read in 117 ms (47.2 MiB/s) > > Signed-off-by: Fabio Estevam Acked-by: Otavio Salvador

[U-Boot] [PATCH v2 2/2] arm: ls102xa: Enable regulation of outstanding read transactions for slave interface S2

2015-03-11 Thread Alison Wang
This patch will enable regulation of outstanding read transactions for slave interface S2 for silicon VER1.0. Signed-off-by: Alison Wang --- Changes in v2: - Modify the subject and commit to describe accurately arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h | 2 ++ board/freescale/ls1021aqds

[U-Boot] [PATCH v2 1/2] arm/ls102xa:Add support of conditional workaround implementation as per SoC ver

2015-03-11 Thread Alison Wang
For LS102xA, some workarounds are only used in VER1.0, so silicon version detection are added for QDS and TWR boards. Signed-off-by: Alison Wang --- Changes in v2: - Modify the subject to describe accurately - Change SOC_VER_1_0 and SOC_VER_2_0 to SOC_MAJOR_VER_1_0 and SOC_MAJOR_VER_2_0 - Define

[U-Boot] [PATCH 2/2][v2] pci/layerscape: fix link and class issues to support ls2085a

2015-03-11 Thread Minghuan Lian
1. LS2085a provides PCIE_LUT_DBG register rather than PCIE_LDBG to show the link status, so the patch fixes it. 2. Increase the delay time to make sure that link training has finished. 3. Return invalid value when accessing multi-function device 4. For LS2085a DBI_RO_WR_EN bit is cleared as d

[U-Boot] [PATCH 1/2][v2] pci/layerscape: remove unnecessary pcie_layerscape.h

2015-03-11 Thread Minghuan Lian
The patch uses the common function name ft_pci_setup to replace ft_pcie_setup, then removes unnecessary pcie_layerscape.h because all the functions have been declared in common.h. Signed-off-by: Minghuan Lian --- change log: v1-v2: remove unnecessary pcie_layerscape.h arch/arm/include/asm/pcie_

Re: [U-Boot] [PATCH] mx6: Set shared override bit in PL310 AUX_CTRL register

2015-03-11 Thread Fabio Estevam
On Wed, Mar 11, 2015 at 10:04 PM, Russell King - ARM Linux wrote: > No, this is wrong. They do not. CMA remaps pages to be non-cacheable > rather than the old technique where the above statement was true. > > There's some corner cases which make that less effective than it once > was, and as I'

Re: [U-Boot] [PATCH v2] T2080QDS/PCIe: Soft Reset PCIe for down-training issue

2015-03-11 Thread qiang.z...@freescale.com
> -Original Message- > From: Kushwaha Prabhakar-B32579 > Sent: Wednesday, March 11, 2015 8:12 PM > To: Zhao Qiang-B45475; u-boot@lists.denx.de; Sun York-R58495 > Cc: Zhao Qiang-B45475 > Subject: RE: [U-Boot] [PATCH v2] T2080QDS/PCIe: Soft Reset PCIe for down- > training issue > > Hi Zhao,

Re: [U-Boot] [PATCH 1/2] pci/layerscape: move pcie_layerscape.h out of arm include

2015-03-11 Thread Lian Minghuan-B31939
Hi Tom, Thanks for your comments. I will use the common name and remove unnecessary file pcie_layerscape.h Thanks, Minghuan On 2015年03月11日 22:22, Tom Rini wrote: On Wed, Mar 11, 2015 at 07:09:33PM +0800, Minghuan Lian wrote: The patch moves pcie_layerscape.h out of arm include to top level

[U-Boot] [PATCH 2/2] warp: Select CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE

2015-03-11 Thread Fabio Estevam
From: Fabio Estevam Warp has a DDR eMMC, so enable CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE for better performance: reading zImage 5790288 bytes read in 117 ms (47.2 MiB/s) Signed-off-by: Fabio Estevam --- include/configs/warp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/war

[U-Boot] [PATCH 1/2] mx6_common: Do not select esdhc DDR mode for all boards

2015-03-11 Thread Fabio Estevam
From: Fabio Estevam CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE should be selected only by boards that really have a DDR-capable eMMC, so remove this option from common code to avoid regressions. Reported-by: Stefan Roese Signed-off-by: Fabio Estevam --- include/configs/mx6_common.h | 2 -- 1 file chan

Re: [U-Boot] [PATCH] mx6: Set shared override bit in PL310 AUX_CTRL register

2015-03-11 Thread Russell King - ARM Linux
On Wed, Mar 11, 2015 at 05:12:12PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Having bit 22 cleared in the PL310 Auxiliary Control register (shared > attribute override enable) has the side effect of transforming Normal > Shared Non-cacheable reads into Cacheable no-allocate reads. >

[U-Boot] davinci: LCDK board

2015-03-11 Thread Peter Howard
I have a build of u-boot for the TI LCDK (the successor to the Hawkboard). It is based on: * The LCDK code TI supplied against 2012.04.01 * The now-departed Hawkboard build in mainline prior to 2015.04 * The current da850evm build. It is built against the generic board framework

Re: [U-Boot] [PATCH V6 00/11] ARM: OMAP3-DRA7: CP15 erratum workarounds and improvements

2015-03-11 Thread Matt Porter
On Wed, Mar 11, 2015 at 12:00:59PM -0400, Tom Rini wrote: > On Wed, Mar 11, 2015 at 10:51:12AM -0500, Nishanth Menon wrote: > > On Wed, Mar 11, 2015 at 10:48 AM, Tom Rini wrote: > > > On Mon, Mar 09, 2015 at 05:11:58PM -0500, Nishanth Menon wrote: > > > > > >> The sixth revision should be proper,

[U-Boot] [PATCH v6 27/27] net: Improve error handling

2015-03-11 Thread Joe Hershberger
Take a pass at plumbing errors through to the users of the network stack Currently only the start() function errors will be returned from NetLoop(). recv() tends not to have errors, so that is likely not worth adding. send() certainly can return errors, but this patch does not attempt to plumb the

Re: [U-Boot] [PATCH v2] mmc: fsl_esdhc: Add support for DDR mode

2015-03-11 Thread Volodymyr Riazantsev
Fabio, Yes, it was too optimistic to enable it for all i.MX6 base devices, I'll submit patch for disable it by default. Vendors can enable it separately for custom boards. Stefan, Please let me know if you have any results with debug patches. BR, ​ Volodymyr.

[U-Boot] [PATCH] MAKEALL: Don't try to print size when ./u-boot is deleted

2015-03-11 Thread Joe Hershberger
In the case of BUILD_NBUILDS > 1, MAKEALL would try to print the size immediately after the u-boot binary is deleted by the call to: make -s clean Move the size print to before the clean Signed-off-by: Joe Hershberger --- MAKEALL | 14 +++--- 1 file changed, 7 insertions(+), 7 deletio

[U-Boot] [PATCH v6 13/27] dm: eth: Add basic driver model support to Ethernet stack

2015-03-11 Thread Joe Hershberger
First just add support for MAC drivers. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v6: None Changes in v5: -Add a note to doc/README.drivers.eth about its obsolescence -Expanded the Kconfig help -Moved dm/ header -Use local var for priv in eth_get_dev() Changes in

[U-Boot] [PATCH v6 09/27] net: Remove the bd* parameter from net stack functions

2015-03-11 Thread Joe Hershberger
This value is not used by the network stack and is available in the global data, so stop passing it around. For the one legacy function that still expects it (init op on old Ethernet drivers) pass in the global pointer version directly to avoid changing that interface. Signed-off-by: Joe Hershber

[U-Boot] [PATCH v6 19/27] dm: eth: Add support for aliases

2015-03-11 Thread Joe Hershberger
Allow network devices to be referred to as "eth0" instead of "eth@12345678" when specified in ethact. Add tests to verify this behavior. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v6: None Changes in v5: -Added a comment about devname -Only check for alias if the n

[U-Boot] [PATCH v6 0/27] Add Driver Model support to network stack

2015-03-11 Thread Joe Hershberger
Add support for the Ethernet MAC controllers. Phy support will come later. Switching from RFC to a patch series to be applied to dm/master as a staging area for this series to make it happen more quickly when the window opens. If desired, let me know which of the non-DM related prerequisite patc

[U-Boot] [PATCH v6 06/27] net: Refactor in preparation for driver model

2015-03-11 Thread Joe Hershberger
Move some things around and organize things so that the driver model implementation will fit in more easily. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v6: None Changes in v5: -Fixed warning from missing declaration Changes in v4: -Fix compile regression in !DM_ETH

[U-Boot] [PATCH v6 08/27] net: Use int instead of u8 for boolean flag

2015-03-11 Thread Joe Hershberger
On some archs masking the parameter is inefficient, so don't use u8. Signed-off-by: Joe Hershberger Reported-by: Simon Glass Reviewed-by: Simon Glass --- Changes in v6: None Changes in v5: None Changes in v4: -New to v4 Changes in v3: None Changes in v2: None include/net.h | 2 +- net/eth.

[U-Boot] [PATCH v6 22/27] sandbox: eth: Add ability to disable ping reply in sandbox eth driver

2015-03-11 Thread Joe Hershberger
This is needed to test the netretry functionality (make the command fail on a sandbox eth device). Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v6: -Add function comments -Check array index bounds Changes in v5: -Use a function call to change mock driver behavior Ch

[U-Boot] [PATCH v6 12/27] cmd: net: Clean up return codes

2015-03-11 Thread Joe Hershberger
The return codes in common/cmd_net.c had a number of inconsistencies. Update them to all use the enum from command.h Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v6: None Changes in v5: -New to v5 Changes in v4: None Changes in v3: None Changes in v2: None common/c

[U-Boot] [PATCH v6 04/27] net: Rename helper function to be more clear

2015-03-11 Thread Joe Hershberger
Make it clear that the helper is checking the addr, not setting it. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None net/eth.c | 13 - 1 file changed, 4 insertions(+), 9

[U-Boot] [PATCH v6 26/27] sandbox: eth: Add support for using the 'lo' interface

2015-03-11 Thread Joe Hershberger
The 'lo' interface on Linux doesn't support thinks like ARP or link-layer access like we use to talk to a normal network interface. A higher-level network API must be used to access localhost. As written, this interface is limited to not supporting ICMP since the API doesn't allow the socket to be

[U-Boot] [PATCH v6 24/27] sandbox: eth: Add a bridge to a real network for sandbox

2015-03-11 Thread Joe Hershberger
Implement a bridge between U-Boot's network stack and Linux's raw packet API allowing the sandbox to send and receive packets using the host machine's network interface. This raw Ethernet API requires elevated privileges. You can either run as root, or you can add the capability needed like so:

[U-Boot] [PATCH v6 14/27] net: Clean up network stack names used in DM drivers

2015-03-11 Thread Joe Hershberger
Take the opportunity to enforce better names on newly written or retrofitted Ethernet drivers. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v6: None Changes in v5: -New to v5 Changes in v4: None Changes in v3: None Changes in v2: None include/net.h | 9 -

[U-Boot] [PATCH v6 17/27] sandbox: eth: Add ARP and PING response to sandbox driver

2015-03-11 Thread Joe Hershberger
The sandbox driver will now generate response traffic to exercise the ping command even when no network exists. This allows the basic data pathways of the DM to be tested. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v6: None Changes in v5: -Simplify sandbox eth drive

[U-Boot] [PATCH v6 25/27] sandbox: Enable DHCP and IP defrag

2015-03-11 Thread Joe Hershberger
This is now testable via the eth-raw interface Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v6: None Changes in v5: None Changes in v4: -New to v4 Changes in v3: None Changes in v2: None include/configs/sandbox.h | 8 1 file changed, 8 insertions(+) diff

[U-Boot] [PATCH v6 21/27] test: dm: eth: Add testing for ethrotate env var

2015-03-11 Thread Joe Hershberger
Make sure that the ethrotate behavior occurs as expected. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v6: None Changes in v5: -Added a test for skipping un-probe-able devices Changes in v4: -Added testing for ethrotate Changes in v3: None Changes in v2: None test

[U-Boot] [PATCH v6 16/27] sandbox: eth: Add network support to sandbox

2015-03-11 Thread Joe Hershberger
Add basic network support to sandbox which includes a network driver. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v6: None Changes in v5: -Added help to the sandbox eth mock driver Kconfig entry Changes in v4: -Cleaned up sandbox EXTRA_ENV define -Moved config to Kc

[U-Boot] [PATCH v6 02/27] common: Make sure arch-specific map_sysmem() is defined

2015-03-11 Thread Joe Hershberger
In the case where the arch defines a custom map_sysmem(), make sure that including just mapmem.h is sufficient to have these functions as they are when the arch does not override it. Also split the non-arch specific functions out of common.h Signed-off-by: Joe Hershberger Reviewed-by: Simon Glas

[U-Boot] [PATCH v6 23/27] test: dm: net: Add a test of the netretry behavior

2015-03-11 Thread Joe Hershberger
The effect of the "netretry" env var was recently changed. This test checks that behavior. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v6: None Changes in v5: -Added comments about test cases -Switched to function to control state of mock driver Changes in v4: -Upda

[U-Boot] [PATCH v6 10/27] net: Make netretry actually do something

2015-03-11 Thread Joe Hershberger
netretry previously would only retry in one specific case (your MAC address is not set) and no other. This is basically useless. In the DM implementation for eth it turns this into a completely useless case since an un-configured MAC address results in not even entering the NetLoop. The behavior is

[U-Boot] [PATCH v6 18/27] test: dm: eth: Add tests for the eth dm implementation

2015-03-11 Thread Joe Hershberger
Add a test for the eth uclass using the sandbox eth driver. Verify basic functionality of the network stack / eth uclass by exercising the ping function. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: -Adde

[U-Boot] [PATCH v6 07/27] net: Change return codes from net/eth.c to use errorno constants

2015-03-11 Thread Joe Hershberger
Many functions returned -1 previously. Change them to return appropriate error codes. Signed-off-by: Joe Hershberger Reported-by: Simon Glass Reviewed-by: Simon Glass --- Changes in v6: None Changes in v5: None Changes in v4: -New to v4 Changes in v3: None Changes in v2: None net/eth.c | 1

[U-Boot] [PATCH v6 03/27] net: Provide a function to get the current MAC address

2015-03-11 Thread Joe Hershberger
The current implementation exposes the eth_device struct to code that needs to access the MAC address. Add a wrapper function for this to abstract away the pointer for this operation. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v6: None Changes in v5: None Changes in

[U-Boot] [PATCH v6 20/27] dm: eth: Add support for ethprime env var

2015-03-11 Thread Joe Hershberger
The ethprime env var is used to indicate the starting device if none is specified in ethact. Also support aliases specified in the ethprime var. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v6: None Changes in v5: -Fix compile error on !DM_ETH Changes in v4: -Load fr

[U-Boot] [PATCH v6 15/27] dm: eth: Pass the packet pointer as a parameter to recv

2015-03-11 Thread Joe Hershberger
Stop forcing drivers to call net_process_received_packet() - formerly called NetReceive(). Now the uclass will handle calling the driver for each packet until the driver errors or has nothing to return. The uclass will then pass the good packets off to the network stack by calling net_process_recei

[U-Boot] [PATCH v6 11/27] net: Access mapped physmem in net functions

2015-03-11 Thread Joe Hershberger
Previously the net functions would access memory assuming physmem did not need to be mapped. In sandbox, that's not the case. Now we map the physmem specified by the user in loadaddr to the buffer that represents that space. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes

[U-Boot] [PATCH v6 01/27] test: dm: Reorder the objects to build

2015-03-11 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Acked-by: Simon Glass --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: -Reorder dm test makefile Changes in v2: None test/dm/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/dm/Makefile b/test/d

[U-Boot] [PATCH v6 05/27] net: Remove unneeded "extern" in net.h

2015-03-11 Thread Joe Hershberger
Many of the functions in net.h were preceded extern needlessly. Removing them to limit the number of checkpatch.pl complaints. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- Changes in v6: -Fix compile error on boards with CONFIG_API enabled Changes in v5: None Changes in v4: Non

Re: [U-Boot] [PATCH v2] mmc: fsl_esdhc: Add support for DDR mode

2015-03-11 Thread Fabio Estevam
Volodymyr, On Tue, Jan 20, 2015 at 1:16 PM, Volodymyr Riazantsev wrote: > diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h > index e0528ce..29b72b2 100644 > --- a/include/configs/mx6_common.h > +++ b/include/configs/mx6_common.h > @@ -28,6 +28,8 @@ > #define CONFIG_SYS_P

Re: [U-Boot] Regression in bootcmd handling in v2015.04-rc3?

2015-03-11 Thread Stephen Warren
On 03/11/2015 03:21 PM, Karsten Merker wrote: On Wed, Mar 11, 2015 at 02:31:07PM -0600, Stephen Warren wrote: For manual booting, I would expect to always run the device-specific command (e.g. bootcmd_usb0 or bootcmd_mmc1) rather than the device-type-specific command (e.g. usb_boot, mmc_boot).

Re: [U-Boot] [PATCH V6 07/11] ARM: OMAP3: Get rid of omap3_gp_romcode_call and replace with omap_smc1

2015-03-11 Thread Paul Kocialkowski
Le mercredi 11 mars 2015 à 17:16 -0400, Tom Rini a écrit : > On Wed, Mar 11, 2015 at 09:26:43PM +0100, Paul Kocialkowski wrote: > > Le mercredi 11 mars 2015 à 11:04 -0500, Nishanth Menon a écrit : > > > On Wed, Mar 11, 2015 at 11:00 AM, Tom Rini wrote: > > > > On Wed, Mar 11, 2015 at 10:53:41AM -0

Re: [U-Boot] [PATCH V6 07/11] ARM: OMAP3: Get rid of omap3_gp_romcode_call and replace with omap_smc1

2015-03-11 Thread Tom Rini
On Wed, Mar 11, 2015 at 09:26:43PM +0100, Paul Kocialkowski wrote: > Le mercredi 11 mars 2015 à 11:04 -0500, Nishanth Menon a écrit : > > On Wed, Mar 11, 2015 at 11:00 AM, Tom Rini wrote: > > > On Wed, Mar 11, 2015 at 10:53:41AM -0500, Nishanth Menon wrote: > > >> On Wed, Mar 11, 2015 at 10:48 AM,

Re: [U-Boot] Regression in bootcmd handling in v2015.04-rc3?

2015-03-11 Thread Stephen Warren
On 03/11/2015 02:20 PM, Karsten Merker wrote: On Wed, Mar 04, 2015 at 08:53:37PM +0100, Karsten Merker wrote: On Tue, Mar 03, 2015 at 06:31:37PM -0500, Tom Rini wrote: I've pushed v2015.04-rc3 out to the repository and tarballs should exist soon. [...] As always, if anything is broken please

Re: [U-Boot] Regression in bootcmd handling in v2015.04-rc3? (was: [ANN] U-Boot v2015.04-rc3 released)

2015-03-11 Thread Tom Rini
On Wed, Mar 11, 2015 at 09:20:46PM +0100, Karsten Merker wrote: > On Wed, Mar 04, 2015 at 08:53:37PM +0100, Karsten Merker wrote: > > On Tue, Mar 03, 2015 at 06:31:37PM -0500, Tom Rini wrote: > > > > > I've pushed v2015.04-rc3 out to the repository and tarballs should exist > > > soon. > > [...] >

Re: [U-Boot] 4K padding of ARM DT blob

2015-03-11 Thread Tom Rini
On Wed, Mar 11, 2015 at 01:01:12PM -0600, Simon Glass wrote: > Hi, > > On 10 March 2015 at 23:48, Masahiro Yamada > wrote: > > Hi Yehuda, Tom, Simon, > > > > > > > > 2015-03-07 0:12 GMT+09:00 Tom Rini : > >> On Thu, Mar 05, 2015 at 06:20:35PM +, Yehuda Yitschak wrote: > >>> Hey Tom > >>> > >>

Re: [U-Boot] [PATCH V6 07/11] ARM: OMAP3: Get rid of omap3_gp_romcode_call and replace with omap_smc1

2015-03-11 Thread Paul Kocialkowski
Le mercredi 11 mars 2015 à 11:04 -0500, Nishanth Menon a écrit : > On Wed, Mar 11, 2015 at 11:00 AM, Tom Rini wrote: > > On Wed, Mar 11, 2015 at 10:53:41AM -0500, Nishanth Menon wrote: > >> On Wed, Mar 11, 2015 at 10:48 AM, Tom Rini wrote: > >> > On Mon, Mar 09, 2015 at 05:12:05PM -0500, Nishanth

[U-Boot] [PATCH] mx6: Set shared override bit in PL310 AUX_CTRL register

2015-03-11 Thread Fabio Estevam
From: Fabio Estevam Having bit 22 cleared in the PL310 Auxiliary Control register (shared attribute override enable) has the side effect of transforming Normal Shared Non-cacheable reads into Cacheable no-allocate reads. Coherent DMA buffers in Linux always have a Cacheable alias via the kernel

Re: [U-Boot] 4K padding of ARM DT blob

2015-03-11 Thread Simon Glass
Hi, On 10 March 2015 at 23:48, Masahiro Yamada wrote: > Hi Yehuda, Tom, Simon, > > > > 2015-03-07 0:12 GMT+09:00 Tom Rini : >> On Thu, Mar 05, 2015 at 06:20:35PM +, Yehuda Yitschak wrote: >>> Hey Tom >>> >>> In arch/arm/dts/Makfile: line 56 >>> "DTC_FLAGS += -R 4 -p 0x1000" >>> >>> this tell

Re: [U-Boot] [PATCH] Add bootscript support to esbc_validate.

2015-03-11 Thread York Sun
On 03/11/2015 11:44 AM, Scott Wood wrote: > On Wed, 2015-03-11 at 10:50 -0700, York Sun wrote: >> >> On 03/11/2015 03:39 AM, Gupta Ruchika-R66431 wrote: >>> Hi York, >>> -Original Message- From: Sun York-R58495 Sent: Tuesday, March 10, 2015 10:03 PM To: Gupta Ruchika-R

Re: [U-Boot] [PATCH] Add bootscript support to esbc_validate.

2015-03-11 Thread Scott Wood
On Wed, 2015-03-11 at 10:50 -0700, York Sun wrote: > > On 03/11/2015 03:39 AM, Gupta Ruchika-R66431 wrote: > > Hi York, > > > >> -Original Message- > >> From: Sun York-R58495 > >> Sent: Tuesday, March 10, 2015 10:03 PM > >> To: Gupta Ruchika-R66431; Rana Gaurav-B46163; u-boot@lists.denx.d

Re: [U-Boot] [PATCH] README: remove description about driver model configuration options (again)

2015-03-11 Thread Simon Glass
On 11 March 2015 at 02:34, Masahiro Yamada wrote: > The Driver Model description in README was removed by commit > 65eb659e56fa (README: remove description about driver model > configuration options), and was revived by mistake by commit > b79dadf846e5 when resolving the conflict. > > Signed-off-b

Re: [U-Boot] [PATCH RESEND] tegra: Remove tegra_spl_gpio_direction_output declaration from header file

2015-03-11 Thread Simon Glass
On 11 March 2015 at 01:16, Axel Lin wrote: > This function is deleted by commit 2fccd2d96bad > "tegra: Convert tegra GPIO driver to use driver model". > > Signed-off-by: Axel Lin > --- > I forgot adding Tom Warren in CC in my previous mail. > So here is a resend. > > arch/arm/include/asm/arch-te

Re: [U-Boot] [PATCH] config_distro_bootcmd.h: add note on error handling

2015-03-11 Thread Simon Glass
On 10 March 2015 at 15:40, Stephen Warren wrote: > From: Stephen Warren > > This should make it more clear why there appear to be C pre-processor > symbols in the file that contain mixed case. They're really error > messages. > > Suggested-by: Simon Glass > Signed-off-by: Stephen Warren > --- >

Re: [U-Boot] [PATCH] Add bootscript support to esbc_validate.

2015-03-11 Thread York Sun
On 03/11/2015 03:39 AM, Gupta Ruchika-R66431 wrote: > Hi York, > >> -Original Message- >> From: Sun York-R58495 >> Sent: Tuesday, March 10, 2015 10:03 PM >> To: Gupta Ruchika-R66431; Rana Gaurav-B46163; u-boot@lists.denx.de >> Cc: Wood Scott-B07421; Bansal Aneesh-B39320 >> Subject: Re: [

Re: [U-Boot] [PATCH] mmc: fsl_esdhc fix register offset

2015-03-11 Thread Tom Rini
On Wed, Mar 11, 2015 at 01:03:16PM -0300, Fabio Estevam wrote: > On Wed, Mar 11, 2015 at 10:55 AM, Pantelis Antoniou > wrote: > > > Although I agree with fixing this, I’m kinda scared about how fragile > > structs for describing hardware registers are. > > Agreed! > > > But we’re stuck with it

Re: [U-Boot] No console output once kernel starts loading.

2015-03-11 Thread Fabio Estevam
On Wed, Mar 11, 2015 at 2:29 PM, DaveKucharczyk wrote: > My question is: Is it ok to remove machine type when using a newer version > of u-boot and linux? Yes, it is OK. With dt we no longer have to add the machine type numbers. ___ U-Boot mailing list

Re: [U-Boot] [PATCH] config_distro_bootcmd.h: add note on error handling

2015-03-11 Thread Tom Rini
On Wed, Mar 11, 2015 at 10:22:23AM -0600, Stephen Warren wrote: > On 03/11/2015 09:51 AM, Tom Rini wrote: > >On Tue, Mar 10, 2015 at 03:40:58PM -0600, Stephen Warren wrote: > > > >>From: Stephen Warren > >> > >>This should make it more clear why there appear to be C pre-processor > >>symbols in th

[U-Boot] [PATCH] fastboot: check for alias when looking up partition by name

2015-03-11 Thread Michael Scott
Implement an alias name check for devices where GPT limitations prevent user-friendly partition names such as "boot", "system" and "cache". Or, where the actual partition name doesn't match a standard partition name used commonly with fastboot. To set an alias, add an environment setting as follow

Re: [U-Boot] [PATCH V6 07/11] ARM: OMAP3: Get rid of omap3_gp_romcode_call and replace with omap_smc1

2015-03-11 Thread Nishanth Menon
On Wed, Mar 11, 2015 at 11:00 AM, Tom Rini wrote: > On Wed, Mar 11, 2015 at 10:53:41AM -0500, Nishanth Menon wrote: >> On Wed, Mar 11, 2015 at 10:48 AM, Tom Rini wrote: >> > On Mon, Mar 09, 2015 at 05:12:05PM -0500, Nishanth Menon wrote: >> > >> >> omap_smc1 is now generic enough to remove duplic

Re: [U-Boot] [PATCH V6 00/11] ARM: OMAP3-DRA7: CP15 erratum workarounds and improvements

2015-03-11 Thread Tom Rini
On Wed, Mar 11, 2015 at 10:51:12AM -0500, Nishanth Menon wrote: > On Wed, Mar 11, 2015 at 10:48 AM, Tom Rini wrote: > > On Mon, Mar 09, 2015 at 05:11:58PM -0500, Nishanth Menon wrote: > > > >> The sixth revision should be proper, I hope. (skipping all the > >> blurb and pointing to v1 for the blur

Re: [U-Boot] [PATCH] config_distro_bootcmd.h: add note on error handling

2015-03-11 Thread Tom Rini
On Tue, Mar 10, 2015 at 03:40:58PM -0600, Stephen Warren wrote: > From: Stephen Warren > > This should make it more clear why there appear to be C pre-processor > symbols in the file that contain mixed case. They're really error > messages. > > Suggested-by: Simon Glass > Signed-off-by: Stephe

Re: [U-Boot] [PATCH V6 11/11] ARM: OMAP3: rx51: Enable workaround for ARM errata 454179, 430973, 621766

2015-03-11 Thread Tom Rini
On Mon, Mar 09, 2015 at 05:12:09PM -0500, Nishanth Menon wrote: > RX51 has a secure logic which uses different parameters compared to > traditional implementation. So, make the generic secure acr write > over-ride-able by board file and refactor rx51 code to use this. > > While at it, enable the

Re: [U-Boot] [PATCH V6 09/11] ARM: OMAP5 / DRA7: Setup L2 Aux Control Register with recommended configuration

2015-03-11 Thread Tom Rini
On Mon, Mar 09, 2015 at 05:12:07PM -0500, Nishanth Menon wrote: > Update to existing recommendation for L2ACTLR configuration to prevent > system instability and optimize performance. > > These apply to both OMAP5 and DRA7. > > Reported-by: Vivek Chengalvala > Signed-off-by: Nishanth Menon Re

Re: [U-Boot] [PATCH V6 07/11] ARM: OMAP3: Get rid of omap3_gp_romcode_call and replace with omap_smc1

2015-03-11 Thread Tom Rini
On Mon, Mar 09, 2015 at 05:12:05PM -0500, Nishanth Menon wrote: > omap_smc1 is now generic enough to remove duplicate > omap3_gp_romcode_call logic that omap3 introduced. > > As part of this change, move to using the generic lowlevel_init.S for > omap3 as well. > > Signed-off-by: Nishanth Menon

Re: [U-Boot] [PATCH V6 05/11] ARM: OMAP: Change set_pl310_ctrl_reg to be generic

2015-03-11 Thread Tom Rini
On Mon, Mar 09, 2015 at 05:12:03PM -0500, Nishanth Menon wrote: > set_pl310_ctrl_reg does use the Secure Monitor Call (SMC) to setup > PL310 control register, however, that is something that is generic > enough to be used for OMAP5 generation of processors as well. The only > difference being the

Re: [U-Boot] [PATCH V6 06/11] ARM: OMAP3: Rename omap3.h to omap.h to be generic as all SoCs

2015-03-11 Thread Tom Rini
On Mon, Mar 09, 2015 at 05:12:04PM -0500, Nishanth Menon wrote: > This is in preperation of using generic cross OMAP code. > > Signed-off-by: Nishanth Menon Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mail

Re: [U-Boot] [PATCH V6 00/11] ARM: OMAP3-DRA7: CP15 erratum workarounds and improvements

2015-03-11 Thread Tom Rini
On Mon, Mar 09, 2015 at 05:11:58PM -0500, Nishanth Menon wrote: > The sixth revision should be proper, I hope. (skipping all the > blurb and pointing to v1 for the blurb). > > Changes since v5: > - omap_smc1 is now in omap_common.h > - I hope we can pick up Matt's Tested-by tag from p

Re: [U-Boot] [PATCH V6 04/11] ARM: Introduce erratum workaround for 621766

2015-03-11 Thread Tom Rini
On Mon, Mar 09, 2015 at 05:12:02PM -0500, Nishanth Menon wrote: > 621766: Under a specific set of conditions, executing a sequence of > NEON or vfp load instructions can cause processor deadlock > Impacts: Every Cortex-A8 processors with revision lower than r2p1 > Work around: Set L1NEON to

Re: [U-Boot] [PATCH V6 02/11] ARM: Introduce erratum workaround for 454179

2015-03-11 Thread Tom Rini
On Mon, Mar 09, 2015 at 05:12:00PM -0500, Nishanth Menon wrote: > 454179: Stale prediction may inhibit target address misprediction on > next predicted taken branch > Impacts: Every Cortex-A8 processors with revision lower than r2p1 > Work around: Set IBE and disable branch size mispredict

[U-Boot] [PATCH 4/4] common/lcd_console: introduce display/framebuffer rotation

2015-03-11 Thread Hannes Petermaier
From: Hannes Petermaier Sometimes, for example if the display is mounted in portrait mode or even if it mounted landscape but rotated by 180 degrees, we need to rotate our content of the display respectively the framebuffer, so that user can read the messages who are printed out. For this we int

Re: [U-Boot] [PATCH v5 02/14] ARM: Factor out common psci_get_cpu_id

2015-03-11 Thread Tom Rini
On Mon, Mar 09, 2015 at 08:00:12AM +0100, Jan Kiszka wrote: > Will be required for obtaining the ID of the current CPU in shared PSCI > functions. The default implementation requires a dense ID space and only > supports a single cluster. Therefore, the functions can be overloaded in > cases where

Re: [U-Boot] [PATCH v5 09/14] tegra: Make tegra_powergate_power_on public

2015-03-11 Thread Tom Rini
On Mon, Mar 09, 2015 at 08:00:19AM +0100, Jan Kiszka wrote: > Will be used for unpowergating CPUs. > > Signed-off-by: Jan Kiszka Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.d

Re: [U-Boot] [PATCH v5 13/14] tegra124: Reserve secure RAM using MC_SECURITY_CFG{0, 1}_0

2015-03-11 Thread Tom Rini
On Mon, Mar 09, 2015 at 08:00:23AM +0100, Jan Kiszka wrote: > From: Ian Campbell > > These registers can be used to prevent non-secure world from accessing a > megabyte aligned region of RAM, use them to protect the u-boot secure monitor > code. > > At first I tried to do this from s_init(), ho

Re: [U-Boot] [PATCH v5 11/14] tegra124: Add PSCI support for Tegra124

2015-03-11 Thread Tom Rini
On Mon, Mar 09, 2015 at 08:00:21AM +0100, Jan Kiszka wrote: > This is based on Thierry Reding's work and uses Ian Campell's > preparatory patches. It comes with full support for CPU_ON/OFF PSCI > services. The algorithm used in this version for turning CPUs on and > off was proposed by Peter De Sc

Re: [U-Boot] [PATCH v5 06/14] ARM: Put target PC for PSCI CPU_ON on per-CPU stack

2015-03-11 Thread Tom Rini
On Mon, Mar 09, 2015 at 08:00:16AM +0100, Jan Kiszka wrote: > Use a per-CPU variable for saving the target PC during CPU_ON > operations. This allows us to run this service independently on targets > that have more than 2 cores and also core-local power control. > > CC: Marc Zyngier > Signed-off

Re: [U-Boot] [PATCH v5 12/14] jetson-tk1: Add PSCI configuration options and reserve secure code

2015-03-11 Thread Tom Rini
On Mon, Mar 09, 2015 at 08:00:22AM +0100, Jan Kiszka wrote: > From: Ian Campbell > > The secure world code is relocated to the MB just below the top of 4G, we > reserve it in the FDT (by setting CONFIG_ARMV7_SECURE_RESERVE_SIZE) but it is > not protected in h/w. See next patch. > > Signed-off-b

Re: [U-Boot] [PATCH v5 08/14] virt-dt: Allow reservation of secure region when in a RAM carveout

2015-03-11 Thread Tom Rini
On Mon, Mar 09, 2015 at 08:00:18AM +0100, Jan Kiszka wrote: > In this case the secure code lives in RAM, and hence the memory node in > the device tree needs to be adjusted. This avoids that the OS will map > and possibly access the reservation. > > Add support for setting CONFIG_ARMV7_SECURE_RES

Re: [U-Boot] [PATCH v5 10/14] tegra: Add ap_pm_init hook

2015-03-11 Thread Tom Rini
On Mon, Mar 09, 2015 at 08:00:20AM +0100, Jan Kiszka wrote: > This function will be used to initialize CPU power management for Tegra > SOCs. For now it does nothing. > > Signed-off-by: Jan Kiszka Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH v5 07/14] tegra124: Add more registers to struct mc_ctlr

2015-03-11 Thread Tom Rini
On Mon, Mar 09, 2015 at 08:00:17AM +0100, Jan Kiszka wrote: > From: Ian Campbell > > I will need mc_security_cfg0/1 in a future patch and I added the rest while > debugging, so thought I might as well commit them. > > Signed-off-by: Ian Campbell > Signed-off-by: Jan Kiszka Reviewed-by: Tom R

Re: [U-Boot] Please pull u-boot-tegra.git/master

2015-03-11 Thread Tom Warren
THanks, Tom. > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Tuesday, March 10, 2015 5:56 PM > To: Tom Warren > Cc: Tom Warren; Albert ARIBAUD; u-boot@lists.denx.de; Stephen Warren; > Marcel Ziswiler > Subject: Re: [U-Boot] Please pull u-boot-tegra.git/master > >

Re: [U-Boot] [PATCH v5 04/14] ARM: Factor out reusable psci_cpu_entry

2015-03-11 Thread Tom Rini
On Mon, Mar 09, 2015 at 08:00:14AM +0100, Jan Kiszka wrote: > _sunxi_cpu_entry can be converted completely into a reusable > psci_cpu_entry. Tegra124 will use it as well. > > As with psci_disable_smp, also the enabling is designed to be overloaded > in cased SMP is not controlled via ACTLR. > >

Re: [U-Boot] [PATCH v5 01/14] sun7i: Remove duplicate call to psci_arch_init

2015-03-11 Thread Tom Rini
On Mon, Mar 09, 2015 at 08:00:11AM +0100, Jan Kiszka wrote: > This is already invoked a few cycles later in monitor mode by > _secure_monitor. Drop it here, it serves no purpose. For clarity, because of the vector tables? Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signa

Re: [U-Boot] [PATCH] misc: led: Add PCA9551 LED driver

2015-03-11 Thread Fabio Estevam
Hi Stefan, On Wed, Mar 11, 2015 at 5:51 AM, Stefan Roese wrote: > + > +config PCA9551_LED > + bool "Enable PCA9551 LED driver" > + depends on TARGET_TQMA6 Is this 'depends' correct? We should be able to use this driver with other boards. > +static int pca9551_led_get_state(int led,

Re: [U-Boot] [PATCH] misc: led: Add PCA9551 LED driver

2015-03-11 Thread Tom Rini
On Wed, Mar 11, 2015 at 09:51:40AM +0100, Stefan Roese wrote: > This patch adds a driver for the PCA9551 LED controller. > > Originated-by: Timo Herbrecher > Signed-off-by: Stefan Roese Reviewed-by: Tom Rini But: > +struct pca9551_blink_rate { > + u8 psc; /* Frequency preescaler, see PC

Re: [U-Boot] [PATCH] bootcount: Add dcache flush to bootcount_store()

2015-03-11 Thread Tom Rini
On Wed, Mar 11, 2015 at 09:51:38AM +0100, Stefan Roese wrote: > Without this dcache_flush the updated bootcounter may not be saved to > its location. > > This was detected on an iMX.6 platform using the OCRAM (internal SRAM) > as bootcounter storage area. And issuing "reset" from within U-Boot >

Re: [U-Boot] [PATCH] autoboot.c: Add feature to stop autobooting via SHA256 encrypted password

2015-03-11 Thread Tom Rini
On Wed, Mar 11, 2015 at 09:51:37AM +0100, Stefan Roese wrote: > This patch adds the feature to only stop the autobooting, and therefor > boot into the U-Boot prompt, when the input string / password matches > a values that is encypted via a SHA256 hash and saved in the environment. > > This featu

Re: [U-Boot] [PATCH 1/2] pci/layerscape: move pcie_layerscape.h out of arm include

2015-03-11 Thread Tom Rini
On Wed, Mar 11, 2015 at 07:09:33PM +0800, Minghuan Lian wrote: > The patch moves pcie_layerscape.h out of arm include to top > level include folder so that it can be shared on other Socs. > > Signed-off-by: Minghuan Lian OK, I see a problem: > diff --git a/arch/arm/include/asm/pcie_layerscape.

  1   2   >