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 swar...@nvidia.com 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

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 n...@ti.com Reviewed-by: Tom Rini tr...@konsulko.com -- Tom signature.asc Description: Digital signature

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 tr...@konsulko.com 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 tr...@konsulko.com wrote: On Mon, Mar 09, 2015 at 05:12:05PM -0500, Nishanth Menon wrote: omap_smc1 is now generic

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. CC:

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 tr...@konsulko.com -- Tom signature.asc

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

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 vchengalv...@ti.com Signed-off-by:

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 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 i...@hellion.org.uk 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

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 jan.kis...@siemens.com Reviewed-by: Tom Rini tr...@konsulko.com -- Tom signature.asc Description: Digital signature ___

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 i...@hellion.org.uk 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.

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

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

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

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

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 1

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

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

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 jan.kis...@siemens.com Reviewed-by: Tom Rini tr...@konsulko.com -- Tom signature.asc Description:

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...@hellion.org.uk 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 i...@hellion.org.uk Signed-off-by:

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

2015-03-11 Thread Hannes Petermaier
From: Hannes Petermaier hannes.peterma...@br-automation.com 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

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 tr...@konsulko.com 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

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

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

2015-03-11 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com 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

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 tr...@konsulko.com 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 tr...@konsulko.com wrote: On Mon, Mar 09, 2015 at

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

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 tr...@konsulko.com wrote: On Wed, Mar 11, 2015 at

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. [...] As always,

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 yamada.masah...@socionext.com wrote: Hi Yehuda, Tom, Simon, 2015-03-07 0:12 GMT+09:00 Tom Rini tr...@konsulko.com: On Thu, Mar 05, 2015 at 06:20:35PM +, Yehuda Yitschak

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 tr...@konsulko.com wrote: On Wed, Mar 11, 2015 at 10:53:41AM -0500, Nishanth Menon wrote: On Wed, Mar 11, 2015 at

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 yamada.masah...@socionext.com wrote: Hi Yehuda, Tom, Simon, 2015-03-07 0:12 GMT+09:00 Tom Rini tr...@konsulko.com: 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

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-R66431; Rana Gaurav-B46163;

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

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.de Cc: Wood

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 david.kucharc...@gmail.com 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.

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 swar...@nvidia.com This should make it more clear why there appear to be C pre-processor symbols in

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 pa...@antoniou-consulting.com wrote: Although I agree with fixing this, I’m kinda scared about how fragile structs for describing hardware registers are. Agreed! But

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 axel@ingics.com wrote: This function is deleted by commit 2fccd2d96bad tegra: Convert tegra GPIO driver to use driver model. Signed-off-by: Axel Lin axel@ingics.com --- I forgot adding Tom Warren in CC in my previous mail. So here is a resend.

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 swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com 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

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 yamada.masah...@socionext.com 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

[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 joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- 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 joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v6: None Changes in v5: -Fix compile

[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

[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 joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v6: None Changes in v5: None

[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 joe.hershber...@ni.com Reported-by: Simon Glass s...@chromium.org Reviewed-by: Simon Glass s...@chromium.org --- Changes in v6: None Changes in v5: None Changes in v4: -New to v4

[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 joe.hershber...@ni.com Reviewed-by:

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

2015-03-11 Thread Joe Hershberger
Signed-off-by: Joe Hershberger joe.hershber...@ni.com Acked-by: Simon Glass s...@chromium.org --- 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(-)

[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 joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v6: -Fix compile error on boards with CONFIG_API enabled

[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

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 volodymyr.riazant...@globallogic.com 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

[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 joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v6: None Changes in v5: -Added a comment about

[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 joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- 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

[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

[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 joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v6: None Changes in v5: -Fixed warning from missing declaration Changes

[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

[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 joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v6: -Add function comments -Check array index bounds Changes in v5: -Use a function

[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 joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v6: None Changes in v5: -New to v5 Changes in v4: None Changes in

[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 joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None net/eth.c | 13

[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 joe.hershber...@ni.com Reported-by: Simon Glass s...@chromium.org Reviewed-by: Simon Glass s...@chromium.org --- Changes in v6: None Changes in v5: None Changes in v4: -New to v4 Changes in v3:

[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

[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

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 joe.hershber...@ni.com --- MAKEALL | 14 +++--- 1 file changed, 7

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 tr...@konsulko.com wrote: On Mon, Mar 09, 2015 at 05:11:58PM -0500, Nishanth Menon wrote: The sixth revision should be

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 fabio.este...@freescale.com 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

[U-Boot] [PATCH] ARM: UniPhier: adjust device trees for business transfer

2015-03-11 Thread Masahiro Yamada
Panasonic's System LSI products, UniPhier SoC family, have been transferred to Socionext Inc. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- arch/arm/dts/uniphier-ph1-ld4-ref.dts | 7 --- arch/arm/dts/uniphier-ph1-ld4.dtsi | 27 ++-

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

2015-03-11 Thread Masahiro Yamada
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-by: Masahiro Yamada yamada.masah...@socionext.com Cc: Tom Rini

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

2015-03-11 Thread Ruchika Gupta
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: [PATCH] Add bootscript support to esbc_validate. On 03/10/2015

[U-Boot] [PATCH 2/2] 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

[U-Boot] [PATCH] arm: armada-xp: Fix SPL for AXP by using save_boot_params_ret

2015-03-11 Thread Stefan Roese
Patch e11c6c27 (arm: Allow lr to be saved by board code) introduced a different method to return from save_boot_params(). The SPL support for AXP has been pulled and changing to this new method is now required for SPL to work correctly. Signed-off-by: Stefan Roese s...@denx.de Cc: Simon Glass

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

2015-03-11 Thread Stefan Roese
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 feature is enabled by defined these config options:

[U-Boot] [PATCH] cmd_led: Extend led command to support blinking and more leds

2015-03-11 Thread Stefan Roese
This patch extends the U-Boot led command to support automatic blinking by setting a blink frequency in milliseconds. Additionally the number of supported LEDs is increased to 6 (0...5). This will be used by the PCA9551 LED driver. Signed-off-by: Stefan Roese s...@denx.de --- common/cmd_led.c

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

2015-03-11 Thread Stefan Roese
This patch adds a driver for the PCA9551 LED controller. Originated-by: Timo Herbrecher t.herbrec...@gateware.de Signed-off-by: Stefan Roese s...@denx.de --- drivers/misc/Kconfig | 14 + drivers/misc/Makefile | 1 + drivers/misc/pca9551_led.c | 147

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

2015-03-11 Thread Stefan Roese
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 cause the bootcounter to stay on its initial value. Signed-off-by: Stefan

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

2015-03-11 Thread Zhao Qiang
T2080QDS PEX1/Slot#1 will down-train from x4 to x2, Soft reset PCIe can fix this issue, this is a workaround. Signed-off-by: Zhao Qiang b45...@freescale.com --- changes for v2 - modify the commit message drivers/pci/fsl_pci_init.c | 17 + include/configs/T208xQDS.h | 1

[U-Boot] [PATCH V2] Exynos: Clock: Fix exynos5_get_periph_rate for I2C.

2015-03-11 Thread Guillaume GARDET
Commit 2e82e9252695a612ab0cbf40fa0c7368515f6506 'Exynos: Clock: Cleanup soc_get_periph_rate' introduced a bug in I2C config. This patch makes cros_ec keyboard working again on Samsung Chromebook (snow). Changes in V2: reorder lines as requested by Joonyoung Shim. Signed-off-by: Guillaume

Re: [U-Boot] [PATCH v5 00/14] Add PSCI support for Jetson TK1/Tegra124 + CNTFRQ fix

2015-03-11 Thread Ian Campbell
On Mon, 2015-03-09 at 08:00 +0100, Jan Kiszka wrote: Changes in v4: - rebased over master - implemented psci_get_cpu_id as weak function - implemented psci_disable/enable_smp as weak functions - adjusted register interface of psci_get_cpu_stack_top This version (+ the non-cached memory

Re: [U-Boot] [U-Boot PATCH 1/3] gpio: pcf8575: Add pcf8575 driver to control gpio lines

2015-03-11 Thread Vignesh R
On Tuesday 10 March 2015 09:33 PM, Tom Rini wrote: On Tue, Mar 10, 2015 at 08:41:21PM +0530, Vignesh R wrote: TI's pcf8575 is a 16-bit I2C based GPIO expander.The device features a 16-bit quasi-bidirectional I/O ports. Each quasi-bidirectional I/O can be used as an input or output without

[U-Boot] [PATCH 1/2] x86: crownbay: Enable saving environment in SPI flash

2015-03-11 Thread Bin Meng
Saving U-Boot's environment in SPI flash on Intel CrownBay board. Signed-off-by: Bin Meng bmeng...@gmail.com --- include/configs/crownbay.h | 8 1 file changed, 8 insertions(+) diff --git a/include/configs/crownbay.h b/include/configs/crownbay.h index b927b1c..4a74f82 100644 ---

[U-Boot] [PATCH 2/2] x86: galileo: Enable saving environment in SPI flash

2015-03-11 Thread Bin Meng
Saving U-Boot's environment in SPI flash on Intel Galileo board. Signed-off-by: Bin Meng bmeng...@gmail.com --- include/configs/galileo.h | 8 1 file changed, 8 insertions(+) diff --git a/include/configs/galileo.h b/include/configs/galileo.h index 65a2c3e..288acf3 100644 ---

[U-Boot] [PATCH] sf: Correct the macros as per new array fast read command

2015-03-11 Thread Siva Durga Prasad Paladugu
Correct the macros as per insertion of array fast read command CMD_READ_ARRAY_FAST in spi_read_cmds_array in file sf_probe.c Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com --- include/spi.h | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git

[U-Boot] [PATCH] sf: Poll both the read status and flag status

2015-03-11 Thread Siva Durga Prasad Paladugu
Poll both the Read status and Flag status registers for sucessful erase and program operations for the Micron devices with E_FSR flag set in params table. Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com --- drivers/mtd/spi/sf_ops.c | 32 +--- 1 file

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

2015-03-11 Thread Marek Vasut
On Wednesday, March 11, 2015 at 03:17:00 AM, Peng Fan wrote: Hi, Marek On 3/11/2015 10:03 AM, Marek Vasut wrote: On Wednesday, March 11, 2015 at 01:58:37 AM, Peng Fan wrote: Hi, Marek Hi! On 3/10/2015 9:45 PM, Marek Vasut wrote: On Tuesday, March 10, 2015 at 08:35:46 AM, Peng

[U-Boot] [PATCH 1/4] common/lcd_console: cleanup lcd_drawchars/lcd_putc_xy

2015-03-11 Thread Hannes Petermaier
From: Hannes Petermaier hannes.peterma...@br-automation.com the capability of drawing some *str with count from lcd_drawchars is unnary. It is always called from lcd_putc_xy with one character of and count = 1. So we simply rename lcd_drawchars into lcd_putc_xy and remove the loops inside.

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

2015-03-11 Thread Fabio Estevam
On Tue, Mar 10, 2015 at 4:35 AM, Peng Fan peng@freescale.com wrote: Commit f022d36e8a4517b2a9d25ff2d75bd2459d0c68b1 introduces error register offset. Change the char reserved3[59] to char reserved3[56]. Signed-off-by: Peng Fan peng@freescale.com On a imx6sl-warp: Tested-by: Fabio

[U-Boot] [PATCH 3/4] common/lcd_console: move single static variables into common (static) structure

2015-03-11 Thread Hannes Petermaier
From: Hannes Petermaier hannes.peterma...@br-automation.com For coming implementation of lcd_console rotation, we will need some more variables for holding information about framebuffer size, rotation, ... For better readability we catch all them into a common structure. Signed-off-by: Hannes

[U-Boot] [PATCH 2/4] common/lcd_console: ask only one-time for bg/fg-color per call

2015-03-11 Thread Hannes Petermaier
From: Hannes Petermaier hannes.peterma...@br-automation.com Don't call the lcd_getfgcolor and lcd_getbgcolor within the draw-loop, this only wastes time. Signed-off-by: Hannes Petermaier hannes.peterma...@br-automation.com Signed-off-by: Hannes Petermaier oe5...@oevsv.at ---

Re: [U-Boot] [PATCH] arm: armada-xp: Fix SPL for AXP by using save_boot_params_ret

2015-03-11 Thread Luka Perkov
Hi Stefan, On Wed, Mar 11, 2015 at 12:05:04PM +0100, Stefan Roese wrote: Patch e11c6c27 (arm: Allow lr to be saved by board code) introduced a different method to return from save_boot_params(). The SPL support for AXP has been pulled and changing to this new method is now required for SPL to

Re: [U-Boot] [PATCH] Vexpress64: Fix the compiling error when CONFIG_ARMV8_MULTIENTRY defined

2015-03-11 Thread bhupesh.sha...@freescale.com
-Original Message- From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of FengHua Sent: Wednesday, March 11, 2015 6:38 PM To: Linus Walleij Cc: U-Boot Mailing List Subject: Re: [U-Boot] [PATCH] Vexpress64: Fix the compiling error when CONFIG_ARMV8_MULTIENTRY defined

Re: [U-Boot] [U-Boot PATCH 1/3] gpio: pcf8575: Add pcf8575 driver to control gpio lines

2015-03-11 Thread Tom Rini
On Wed, Mar 11, 2015 at 02:19:32PM +0530, Vignesh R wrote: On Tuesday 10 March 2015 09:33 PM, Tom Rini wrote: On Tue, Mar 10, 2015 at 08:41:21PM +0530, Vignesh R wrote: TI's pcf8575 is a 16-bit I2C based GPIO expander.The device features a 16-bit quasi-bidirectional I/O ports. Each

Re: [U-Boot] MinnowBoard Max uboot

2015-03-11 Thread Beaman, Thomas
Thank you, can you keep me updated if possible. Tom -Original Message- From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass Sent: Tuesday, March 10, 2015 1:21 PM To: Beaman, Thomas Cc: u-boot@lists.denx.de; Bin Meng; gabriel huau Subject: Re: MinnowBoard Max uboot Hi

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

2015-03-11 Thread prabha...@freescale.com
Hi Zhao, -Original Message- From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Zhao Qiang Sent: Wednesday, March 11, 2015 2:42 PM To: u-boot@lists.denx.de; Sun York-R58495 Cc: Zhao Qiang-B45475 Subject: [U-Boot] [PATCH v2] T2080QDS/PCIe: Soft Reset PCIe for

[U-Boot] [PATCH 1/2] drivers:usb: Add device-tree fixup to identify socs having dual phy

2015-03-11 Thread Nikhil Badola
Identify soc(s) having dual phy so as to add utmi_dual as phy_mode for all these socs. This is required for supporting deel-sleep feature in linux for usb driver Signed-off-by: Ramneek Mehresh ramneek.mehr...@freescale.com Signed-off-by: Nikhil Badola nikhil.bad...@freescale.com ---

[U-Boot] [PATCH 2/2] drivers:usb:fsl: Add affected SOCs for USB Erratum A007792

2015-03-11 Thread Nikhil Badola
Add following affected SOCs and their personalities for USB Erratum A007792 : T1040 Rev 1.1 T1024 Rev 1.0 Signed-off-by: Nikhil Badola nikhil.bad...@freescale.com --- include/fsl_usb.h | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/fsl_usb.h

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

2015-03-11 Thread Minghuan Lian
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 minghuan.l...@freescale.com --- arch/arm/include/asm/pcie_layerscape.h | 13 - board/freescale/ls1021atwr/ls1021atwr.c | 3 ++-

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,

[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 joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- 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   2   >