[U-Boot] [PATCH] powerpc/b4860: Adding workaround errata A-005871

2013-02-28 Thread Shengzhou Liu
Per the latest errata updated, B4860/B4420 Rev 1.0 has also errata A-005871, so adding define A-005871 for B4 SoCs. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- arch/powerpc/include/asm/config_mpc85xx.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH] ARM: sam9x5: fix ethernet pins in MII mode

2013-02-28 Thread Bo Shen
From: Jesse Gilles jgil...@multitech.com Fix pin setting in MII mode Signed-off-by: Jesse Gilles jgil...@multitech.com --- arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git

[U-Boot] [PATCH 1/9 v2] Exynos: Change get_timer() to work correctly

2013-02-28 Thread Akshay Saraswat
At present get_timer() does not return sane values. It should count up smoothly in milliscond intervals. We can change the PWM to count down at 1MHz, providing a resolution of 1us and a range of about an hour between required get_timer() calls. Test with command sf probe 1:0; time sf read

[U-Boot] [PATCH 0/9 v2] Fix and Re-organise PWM Timer

2013-02-28 Thread Akshay Saraswat
This patch set tries to fix few bugs in timer and re-organises PWM clock code. Changes since v1: - Patch-1: Added Acked-by: Simon Glass. - Patch-2: Added Acked-by: Simon Glass. - Patch-3: Added Acked-by: Simon Glass. - Patch-4: Added Acked-by: Simon Glass.

[U-Boot] [PATCH 2/9 v2] Exynos: Add timer_get_us function

2013-02-28 Thread Akshay Saraswat
timer_get_us returns the time in microseconds since a certain reference point of history. However, it does not guarantee to return an accurate time after a long period; instead, it wraps around (that is, the reference point is reset to some other point of history) after some periods. The

[U-Boot] [PATCH 3/9 v2] Exynos: pwm: Fix two bugs in the exynos pwm configuration code

2013-02-28 Thread Akshay Saraswat
First, the div value was being used incorrectly to compute the frequency of the PWM timer. The value passed in is a constant which reflects the value that would be found in a configuration register, 0 to 4. That should correspond to a scaling factor of 1, 2, 4, 8, or 16, 1 div, but div + 1 was

[U-Boot] [PATCH 4/9 v2] Exynos: Avoid a divide by zero by specifying a non-zero period for pwm 4

2013-02-28 Thread Akshay Saraswat
The pwm_config function in the exynos pwm driver divides by its period period parameter. A function was calling pwm_config with a 0ns period and a 0ns duty cycle. That doesn't actually make any sense physically, and results in a divide by zero in the driver. This change changes the paremters to be

[U-Boot] [PATCH 6/9 v2] Exynos: Add peripherial id for pwm

2013-02-28 Thread Akshay Saraswat
Add peripherial id for pwm inorder to support generic api to get the clk frequency Test with command sf probe 1:0; time sf read 40008000 0 1000. Try with different numbers of bytes and see that sane values are obtained Build and boot U-boot with this patch, backlight works properly.

[U-Boot] [PATCH 5/9 v2] Exynos: Tidy up the pwm_config function in the exynos pwm driver

2013-02-28 Thread Akshay Saraswat
Some small fixes in the exynos pwm driver: 1. NS_IN_HZ is non-sensical since these are not compatible units. This constant actually describes the number of nanoseconds in a second. Renamed it to NS_IN_SEC. Also dropped the unnecessary parenthesis. 2. The variable period is not used to hold a

[U-Boot] [PATCH 7/9 v2] Exynos: clock: Add generic api to get the clk freq

2013-02-28 Thread Akshay Saraswat
Add generic api to get the frequency of the required peripherial. This API gets the source clock frequency and returns the required frequency by dividing with first and second dividers based on the requirement. Test with command sf probe 1:0; time sf read 40008000 0 1000. Try with different

[U-Boot] [PATCH 8/9 v2] Exynos: clock: Correct pwm source clk selection

2013-02-28 Thread Akshay Saraswat
MPLL is selected as the source clk of pwm by default Test with command sf probe 1:0; time sf read 40008000 0 1000. Try with different numbers of bytes and see that sane values are obtained Build and boot U-boot with this patch, backlight works properly. Signed-off-by: Padmavathi Venna

[U-Boot] [PATCH 9/9 v2] Exynos: pwm: Use generic api to get pwm clk freq

2013-02-28 Thread Akshay Saraswat
Use generic api to get the pwm clock frequency Test with command sf probe 1:0; time sf read 40008000 0 1000. Try with different numbers of bytes and see that sane values are obtained Build and boot U-boot with this patch, backlight works properly. Signed-off-by: Padmavathi Venna

[U-Boot] [PATCH 0/3 v2] Add ACE HW support for SHA 256

2013-02-28 Thread Akshay Saraswat
This patch set adds hardware acceleration for SHA 256 with the help of ACE. Changes since v1: - Patch-1: Fixed few nits. - Patch-2: Removed not required config. - Patch-3: Added sha256 to hash command instead of new sha256 command. Akshay Saraswat (3): Exynos: Add

[U-Boot] [PATCH 2/3 v2] Exynos: config: Enable ACE HW for SHA 256 for Exynos

2013-02-28 Thread Akshay Saraswat
This enables SHA 256 for exynos. Tested with command hash sha256 0x40008000 0x2B 0x40009000. Used mm and md to write a standard string to memory location 0x40008000 and ran the above command to verify the output. Signed-off-by: ARUN MANKUZHI aru...@samsung.com Signed-off-by: Akshay Saraswat

[U-Boot] [PATCH 1/3 v2] Exynos: Add hardware accelerated SHA 256

2013-02-28 Thread Akshay Saraswat
SHA-256 and SHA-1 accelerated using ACE hardware. Tested with command hash sha256 0x40008000 0x2B 0x40009000. Used mm and md to write a standard string to memory location 0x40008000 and ran the above command to verify the output. Signed-off-by: ARUN MANKUZHI aru...@samsung.com Signed-off-by:

[U-Boot] [PATCH 3/3 v2] gen: Add sha256 option to hash command

2013-02-28 Thread Akshay Saraswat
sha256 support is added to hash command which can be used to test SHA 256 hash algorithm. Tested with command hash sha256 0x40008000 0x2B 0x40009000. Used mm and md to write a standard string to memory location 0x40008000 and ran the above command to verify the output. Signed-off-by: ARUN

Re: [U-Boot] FDT howto

2013-02-28 Thread Jagan Teki
Hi Simon, On Mon, Feb 25, 2013 at 4:40 AM, Simon Glass s...@chromium.org wrote: Hi Jagan, On Sun, Feb 24, 2013 at 10:58 AM, Jagan Teki jagannadh.t...@gmail.com wrote: Hi Simon, On Sun, Feb 24, 2013 at 11:55 PM, Jagan Teki jagannadh.t...@gmail.com wrote: Hi Simon, On Sun, Feb 24, 2013

Re: [U-Boot] Problems around fatwrite command from uboot

2013-02-28 Thread Jean Louis
Hi, I confirm that your patch correct my problem and the bug disappear. The question is : why (or when) the size equals zero ? Thank you Damien. 2013/2/28 Damien HUANG 黄卫 damien...@hotmail.com Hi, You received this email, because you had recently experienced fatwrite issue with

Re: [U-Boot] [PATCH 3/3 v2] gen: Add sha256 option to hash command

2013-02-28 Thread Simon Glass
Hi Akshay, On Thu, Feb 28, 2013 at 3:00 AM, Akshay Saraswat aksha...@samsung.com wrote: sha256 support is added to hash command which can be used to test SHA 256 hash algorithm. Tested with command hash sha256 0x40008000 0x2B 0x40009000. Used mm and md to write a standard string to memory

[U-Boot] [PATCH 0/2 V4] EXYNOS5: SNOW: Add initial dts and config file

2013-02-28 Thread Rajeshwari Shinde
This patch set adds initial dts and configuration file for snow. Changes in V2: - Added Maintainer. Changes in V3: - Added Maintainer in aphabetical order. Changes in V4: - Removed ethernet support Rajeshwari Shinde (2): EXYNOS5: Add initial DTS file for Snow.

[U-Boot] [PATCH 1/2 V4] EXYNOS5: Add initial DTS file for Snow.

2013-02-28 Thread Rajeshwari Shinde
This patch adds the DTS file for Snow Board. Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes in V2: - None Changes in V3: - None Changes in V4: - Removed ethernet support board/samsung/dts/exynos5250-snow.dts | 58 +

[U-Boot] [PATCH 2/2 V4] EXYNOS5: Snow: Add a configuration file

2013-02-28 Thread Rajeshwari Shinde
This patch adds the configuration file for Snow Board and defines the same in boards.cfg. Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes in V2: - Added Maintainer Changes in V3: - Added Maintainer in aphabetical order. Changes in V4: - None

Re: [U-Boot] [PATCH 1/4] common: imx: Implement generic u-boot.nand target

2013-02-28 Thread Benoît Thébaudeau
Hi Tom, On Thursday, February 28, 2013 12:47:46 AM, Benoît Thébaudeau wrote: Hi Tom, On Thursday, February 28, 2013 12:44:28 AM, Tom Rini wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/27/2013 05:18 PM, Benoît Thébaudeau wrote: Hi Marek, On Monday, February 25,

Re: [U-Boot] [Drivers PATCH 14/19] net/macb: workaround for transmission hang issue

2013-02-28 Thread Albert ARIBAUD
On Sun, 3 Feb 2013 12:19:26 +0100, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Vipin, On Fri, 2 Nov 2012 23:09:59 +0530, Vipin Kumar vipin.ku...@st.com wrote: From: Shiraz Hashim shiraz.has...@st.com It is observed on SPEAr320S RMII#1 interface that on transmitting packets

Re: [U-Boot] [PATCH 7/9 v2] Exynos: clock: Add generic api to get the clk freq

2013-02-28 Thread Simon Glass
On Thu, Feb 28, 2013 at 2:59 AM, Akshay Saraswat aksha...@samsung.com wrote: Add generic api to get the frequency of the required peripherial. This API gets the source clock frequency and returns the required frequency by dividing with first and second dividers based on the requirement. Test

Re: [U-Boot] [PATCH 9/9 v2] Exynos: pwm: Use generic api to get pwm clk freq

2013-02-28 Thread Simon Glass
Hi Akshay, On Thu, Feb 28, 2013 at 2:59 AM, Akshay Saraswat aksha...@samsung.com wrote: Use generic api to get the pwm clock frequency Test with command sf probe 1:0; time sf read 40008000 0 1000. Try with different numbers of bytes and see that sane values are obtained Build and boot U-boot

Re: [U-Boot] [PATCH 1/2 V4] EXYNOS5: Add initial DTS file for Snow.

2013-02-28 Thread Simon Glass
On Thu, Feb 28, 2013 at 3:40 AM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: This patch adds the DTS file for Snow Board. Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes in V2: - None Changes in V3: -

Re: [U-Boot] [PATCH 6/9] Exynos: Add peripherial id for pwm

2013-02-28 Thread Simon Glass
On Thu, Feb 28, 2013 at 2:54 AM, Akshay Saraswat aksha...@samsung.comwrote: Hi simon, Hi Akshay, On Wed, Feb 27, 2013 at 2:02 AM, Akshay Saraswat aksha...@samsung.com wrote: Add peripherial id for pwm inorder to support generic api to get the clk frequency TEST=sf probe 1:0;

Re: [U-Boot] [PATCH 1/3 v2] Exynos: Add hardware accelerated SHA 256

2013-02-28 Thread Simon Glass
Hi Akshay, On Thu, Feb 28, 2013 at 3:00 AM, Akshay Saraswat aksha...@samsung.com wrote: SHA-256 and SHA-1 accelerated using ACE hardware. Tested with command hash sha256 0x40008000 0x2B 0x40009000. Used mm and md to write a standard string to memory location 0x40008000 and ran the above

[U-Boot] should tools/env/README also recommend setting HOSTSTRIP?

2013-02-28 Thread Robert P. J. Day
it would seem that in addition to manually setting HOSTCC, a user should also set HOSTSTRIP when building fw_printenv, no? there's no mention of that in the README but the strip operation will certainly fail without it. rday ___ U-Boot mailing list

Re: [U-Boot] [PATCH 2/3 v2] Exynos: config: Enable ACE HW for SHA 256 for Exynos

2013-02-28 Thread Simon Glass
Hi Akshay, On Thu, Feb 28, 2013 at 3:00 AM, Akshay Saraswat aksha...@samsung.com wrote: This enables SHA 256 for exynos. Tested with command hash sha256 0x40008000 0x2B 0x40009000. Used mm and md to write a standard string to memory location 0x40008000 and ran the above command to verify the

Re: [U-Boot] [PATCH 2/2 V4] EXYNOS5: Snow: Add a configuration file

2013-02-28 Thread Simon Glass
On Thu, Feb 28, 2013 at 3:40 AM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: This patch adds the configuration file for Snow Board and defines the same in boards.cfg. Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes in V2:

Re: [U-Boot] [PATCH 1/2] README.scrapyard: add missing commit IDs

2013-02-28 Thread Albert ARIBAUD
Hi Wolfgang, On Thu, 29 Nov 2012 13:53:28 +0100, Wolfgang Denk w...@denx.de wrote: Now that the patches have made it into mainline, we can also add the commit IDs. Signed-off-by: Wolfgang Denk w...@denx.de --- doc/README.scrapyard | 14 +++--- 1 file changed, 7 insertions(+), 7

Re: [U-Boot] FDT howto

2013-02-28 Thread Simon Glass
Hi Jagan, On Thu, Feb 28, 2013 at 3:14 AM, Jagan Teki jagannadh.t...@gmail.com wrote: Hi Simon, On Mon, Feb 25, 2013 at 4:40 AM, Simon Glass s...@chromium.org wrote: Hi Jagan, On Sun, Feb 24, 2013 at 10:58 AM, Jagan Teki jagannadh.t...@gmail.com wrote: Hi Simon, On Sun, Feb 24, 2013 at

Re: [U-Boot] [PATCH 1/4] common: imx: Implement generic u-boot.nand target

2013-02-28 Thread Tom Rini
On Wed, Feb 27, 2013 at 11:18:48PM +0100, Beno??t Th??baudeau wrote: Hi Marek, On Monday, February 25, 2013 7:19:54 PM, Marek Vasut wrote: Implement u-boot.nand target that can be reused with a small amount of churn across all CPU models. The idea is to delegate the u-boot.nand target

Re: [U-Boot] [RFC PATCH v2 01/15] Implement autoconf header file

2013-02-28 Thread Simon Glass
Hi Joe, On Wed, Feb 27, 2013 at 1:08 AM, Joe Hershberger joe.hershber...@gmail.com wrote: Hi Simon, On Mon, Feb 25, 2013 at 12:10 AM, Simon Glass s...@chromium.org wrote: Hi Joe, On Sun, Feb 24, 2013 at 11:50 AM, Joe Hershberger joe.hershber...@gmail.com wrote: Hi Simon, On Sun, Feb 24,

Re: [U-Boot] [RFC PATCH v2 02/15] at91: Correct CONFIG_AUTOBOOT_PROMPT definition for pm9263

2013-02-28 Thread Simon Glass
+Ilko Iliev il...@ronetix.at again Hi Joe, On Wed, Feb 27, 2013 at 12:40 AM, Joe Hershberger joe.hershber...@gmail.com wrote: Hi Simon, On Mon, Feb 25, 2013 at 11:28 PM, Simon Glass s...@chromium.org wrote: Hi Joe, On Sun, Feb 24, 2013 at 11:53 AM, Joe Hershberger

Re: [U-Boot] [PATCH 0/2] ARM: mmu: Set domain permissions to client access

2013-02-28 Thread Albert ARIBAUD
(sorry for any duplicate of this mail) Hi R Sricharan, On Tue, 8 Jan 2013 23:38:22 +0530, R Sricharan r.sricha...@ti.com wrote: Currently for ARM based cpu's, mmu pagetable attributes are set with manager permissions for all 4GB address space. Because of this the 'execute never (XN)'

Re: [U-Boot] problem to boot i.MX28 custom platform

2013-02-28 Thread Fabio Estevam
Hi Hector, Hector Palacios wrote: Apparently the problem was due to my platform suffering a hardware specific VDDD brownout during the initialization. Just in case it helps anybody, the reason why I was not able to see anything on the DUART port during SPL initialization, despite having

Re: [U-Boot] [PATCH] I2C: S3C24X0: Remove the dead code

2013-02-28 Thread Simon Glass
On Mon, Feb 18, 2013 at 9:58 PM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: This revomes the code under #if 0 in the s3c24x0_i2c driver. Signed-off-by: Alim Akhtar alim.akh...@samsung.com Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com Acked-by: Simon Glass s...@chromium.org

[U-Boot] [PATCH] dts/Makefile: Build the user specified dts

2013-02-28 Thread Jagannadha Sutradharudu Teki
This patch provides a support to build the user specified dts. If the user is not specifying any dts, then it should build the dts from CONFIG_DEFAULT_DEVICE_TREE. $ make - choose the default dts, defined as CONFIG_DEFAULT_DEVICE_TREE $ make DEVICE_TREE=dts-file-name - choose the specified dts

Re: [U-Boot] [PATCH] dts/Makefile: Build the user specified dts

2013-02-28 Thread Simon Glass
Hi Jagannadha, On Thu, Feb 28, 2013 at 6:33 AM, Jagannadha Sutradharudu Teki jagannadha.sutradharudu-t...@xilinx.com wrote: This patch provides a support to build the user specified dts. If the user is not specifying any dts, then it should build the dts from CONFIG_DEFAULT_DEVICE_TREE. $

Re: [U-Boot] [PATCH 2/2] ARM: tegra: make CONFIG_CMD_PART common

2013-02-28 Thread Lucas Stach
Am Mittwoch, den 27.02.2013, 14:03 -0700 schrieb Stephen Warren: On 02/26/2013 04:00 PM, Stephen Warren wrote: This is useful on all Tegras, so that boot.scr on all devices can use the same commands. Hence, move it to tegra-common.h. Unfortunately, this breaks Tegra114 builds because no

Re: [U-Boot] [PATCH] dts/Makefile: Build the user specified dts

2013-02-28 Thread Jagannadha Sutradharudu Teki
Hi Simon, -Original Message- From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass Sent: 28 February 2013 20:08 To: Jagannadha Sutradharudu Teki Cc: u-boot@lists.denx.de; Jerry Van Baren; mon...@monstr.eu; Jagannadha Sutradharudu Teki; Vadim Bendebury Subject: Re:

[U-Boot] [PATCH] mxs: timrot: Rename local macros

2013-02-28 Thread Fadil Berisha
From: Fadil Berisha f.kol...@gmail.com Local macros apply to both iMX23 and iMX28. This patch renames local macros with attribute MX28 to MXS. Signed-off-by: Fadil Berisha f.kol...@gmail.com Cc: Marek Vasut ma...@denx.de Cc: Otavio Salvador ota...@ossystems.com.br Cc: Fabio Estevam

Re: [U-Boot] [PATCH] mxs: timrot: Rename local macros

2013-02-28 Thread Otavio Salvador
On Thu, Feb 28, 2013 at 12:03 PM, Fadil Berisha f.kol...@gmail.com wrote: From: Fadil Berisha f.kol...@gmail.com Local macros apply to both iMX23 and iMX28. This patch renames local macros with attribute MX28 to MXS. Signed-off-by: Fadil Berisha f.kol...@gmail.com Acked-by: Otavio Salvador

Re: [U-Boot] [PATCH 0/2] ARM: mmu: Set domain permissions to client access - build warnings!

2013-02-28 Thread Albert ARIBAUD
On Thu, 28 Feb 2013 15:20:44 +0100, Albert ARIBAUD albert.u.b...@aribaud.net wrote: (sorry for any duplicate of this mail) Hi R Sricharan, On Tue, 8 Jan 2013 23:38:22 +0530, R Sricharan r.sricha...@ti.com wrote: Currently for ARM based cpu's, mmu pagetable attributes are set with

Re: [U-Boot] [PATCH 1/4] common: imx: Implement generic u-boot.nand target

2013-02-28 Thread Benoît Thébaudeau
Hi Tom, On Thursday, February 28, 2013 3:03:09 PM, Tom Rini write: On Wed, Feb 27, 2013 at 11:18:48PM +0100, Beno??t Th??baudeau wrote: Hi Marek, On Monday, February 25, 2013 7:19:54 PM, Marek Vasut wrote: Implement u-boot.nand target that can be reused with a small amount of churn

Re: [U-Boot] [PATCH 1/4] common: imx: Implement generic u-boot.nand target

2013-02-28 Thread Benoît Thébaudeau
Hi Tom, On Thursday, February 28, 2013 4:24:22 PM, Benoît Thébaudeau wrote: Hi Tom, On Thursday, February 28, 2013 3:03:09 PM, Tom Rini write: On Wed, Feb 27, 2013 at 11:18:48PM +0100, Beno??t Th??baudeau wrote: Hi Marek, On Monday, February 25, 2013 7:19:54 PM, Marek Vasut wrote:

Re: [U-Boot] [PATCH 1/4] common: imx: Implement generic u-boot.nand target

2013-02-28 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/28/2013 11:06 AM, Benoît Thébaudeau wrote: Hi Tom, On Thursday, February 28, 2013 4:24:22 PM, Benoît Thébaudeau wrote: Hi Tom, On Thursday, February 28, 2013 3:03:09 PM, Tom Rini write: On Wed, Feb 27, 2013 at 11:18:48PM +0100,

Re: [U-Boot] [PATCH v4] mxs: timrot: Add support to i.MX23

2013-02-28 Thread Otavio Salvador
On Thu, Feb 28, 2013 at 12:00 AM, Fadil Berisha f.kol...@gmail.com wrote: From: Fadil Berisha f.kol...@gmail.com This patch add timer support to i.MX23 and complete bit fields and values on regs-timrot.h. Testet on imx23-olinuxino board. Signed-off-by: Fadil Berisha f.kol...@gmail.com

[U-Boot] [PATCH] Tegra30: Cardhu: Remove unneeded cardhu.c.mmc file

2013-02-28 Thread Tom Warren
This was an older debug/developmental file that got added accidentally. Not needed/used in any Cardhu build. Signed-off-by: Tom Warren twar...@nvidia.com --- This errant file exists in u-boot-tegra/next, u-boot-arm/master, and u-boot/master (TOT). I'll remove it from u-boot-tegra/next, so it'll

Re: [U-Boot] [PATCH 1/4] common: imx: Implement generic u-boot.nand target

2013-02-28 Thread Benoît Thébaudeau
On Thursday, February 28, 2013 5:21:55 PM, Tom Rini wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/28/2013 11:06 AM, Benoît Thébaudeau wrote: Hi Tom, On Thursday, February 28, 2013 4:24:22 PM, Benoît Thébaudeau wrote: Hi Tom, On Thursday, February 28, 2013 3:03:09

Re: [U-Boot] [PATCH 1/4] common: imx: Implement generic u-boot.nand target

2013-02-28 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/28/2013 11:29 AM, Benoît Thébaudeau wrote: On Thursday, February 28, 2013 5:21:55 PM, Tom Rini wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/28/2013 11:06 AM, Benoît Thébaudeau wrote: Hi Tom, On Thursday, February 28, 2013

Re: [U-Boot] [PATCH 1/3] ARM: implement some Cortex-A9 errata workarounds

2013-02-28 Thread Stephen Warren
On 02/26/2013 03:28 PM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Various errata exist in the Cortex-A9 CPU, and may be worked around by setting some bits in a CP15 diagnostic register. Add code to implement the workarounds, enabled by new CONFIG_ options. This code

Re: [U-Boot] [PATCH] Tegra30: Cardhu: Remove unneeded cardhu.c.mmc file

2013-02-28 Thread Stephen Warren
On 02/28/2013 09:30 AM, Tom Warren wrote: This was an older debug/developmental file that got added accidentally. Not needed/used in any Cardhu build. Reviewed-by: Stephen Warren swar...@nvidia.com ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 1/4] common: imx: Implement generic u-boot.nand target

2013-02-28 Thread Marek Vasut
Dear Tom Rini, On Tue, Feb 26, 2013 at 12:33:52PM +0100, Beno??t Th??baudeau wrote: On Tuesday, February 26, 2013 8:19:42 AM, Marek Vasut wrote: Dear Beno??t Th??baudeau, Dear Scott Wood, On Tuesday, February 26, 2013 12:07:25 AM, Scott Wood wrote: On 02/25/2013

Re: [U-Boot] [PATCH 1/4] common: imx: Implement generic u-boot.nand target

2013-02-28 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/28/2013 01:50 PM, Marek Vasut wrote: Dear Tom Rini, On Tue, Feb 26, 2013 at 12:33:52PM +0100, Beno??t Th??baudeau wrote: On Tuesday, February 26, 2013 8:19:42 AM, Marek Vasut wrote: Dear Beno??t Th??baudeau, Dear Scott Wood, On

Re: [U-Boot] [PATCH] mxs: spl_mem_init: Align DDR2 init with FSL bootlets source

2013-02-28 Thread Marek Vasut
Dear Fabio Estevam, From: Fabio Estevam fabio.este...@freescale.com Currently the following kernel hang happens when loading a 2.6.35 kernel from Freeescale on a mx28evk board: RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. Bus freq

Re: [U-Boot] [PATCH] mxs: timrot: Rename local macros

2013-02-28 Thread Marek Vasut
Dear Fadil Berisha, From: Fadil Berisha f.kol...@gmail.com Local macros apply to both iMX23 and iMX28. This patch renames local macros with attribute MX28 to MXS. Signed-off-by: Fadil Berisha f.kol...@gmail.com Cc: Marek Vasut ma...@denx.de Cc: Otavio Salvador ota...@ossystems.com.br

[U-Boot] [PATCH v3 0/4] Add NAND support to DFU, enable for am335x_evm

2013-02-28 Thread Tom Rini
This series adds DFU support to NAND and was started by Pantelis. The NAND changes have been compile-tested on all ARM and PowerPC targets and run-time tested on ARM. DFU itself has been tested, for NAND, on am335x_evm. For practical reasons, this series depends on Pantelis' previous series of

[U-Boot] [PATCH v3 1/4] nand: Extend nand_(read|write)_skip_bad with *actual and limit parameters

2013-02-28 Thread Tom Rini
We make these two functions take a size_t pointer to how much space was used on NAND to read or write the buffer (when reads/writes happen) so that bad blocks can be accounted for. We also make them take an loff_t limit on how much data can be read or written. This means that we can now catch

[U-Boot] [PATCH v3 3/4] am335x_evm: Add CONFIG_CMD_MTDPARTS and relevant defaults

2013-02-28 Thread Tom Rini
Signed-off-by: Tom Rini tr...@ti.com --- Changes in v3: None Changes in v2: - Add CONFIG_CMD_MTDPARTS and relevant information to am335x_evm include/configs/am335x_evm.h |9 + 1 file changed, 9 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h

[U-Boot] [PATCH v3 2/4] dfu: NAND specific routines for DFU operation

2013-02-28 Thread Tom Rini
From: Pantelis Antoniou pa...@antoniou-consulting.com Support for NAND storage devices to work with the DFU framework. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com Signed-off-by: Tom Rini tr...@ti.com --- Changes in v3: - Rework logic in nand_block_op for

[U-Boot] [PATCH v3 4/4] am335x_evm: Enable DFU for NAND and MMC, provide example alt_info for both

2013-02-28 Thread Tom Rini
From: Pantelis Antoniou pa...@antoniou-consulting.com - Add CONFIG_DFU_NAND, CONFIG_DFU_MMC - Set dfu_alt_info_nand and dfu_alt_info_mmc to show a working example for both. - Increase CONFIG_SYS_MAXARGS due to hush parsing bugs that would otherwise disallow 'setenv dfu_alt_info

Re: [U-Boot] M29EW flash is detected as 0xFF

2013-02-28 Thread Jagan Teki
Hi Stefan, On Fri, Feb 22, 2013 at 9:02 PM, Jagan Teki jagannadh.t...@gmail.com wrote: Hi Stefan, On Thu, Feb 21, 2013 at 5:27 PM, Jagan Teki jagannadh.t...@gmail.com wrote: Hi Stefan, On Wed, Feb 20, 2013 at 11:44 PM, Stefan Roese s...@denx.de wrote: Hi Jagan, On 20.02.2013 18:25, Jagan

[U-Boot] [PATCH v3] tpm: Add TPM command library

2013-02-28 Thread Che-Liang Chiou
TPM command library implements a subset of TPM commands defined in TCG Main Specification 1.2 that are useful for implementing secure boot. More TPM commands could be added out of necessity. You may exercise these commands through the 'tpm' command. However, the raw TPM commands are too

Re: [U-Boot] problem to boot i.MX28 custom platform

2013-02-28 Thread Hector Palacios
On 02/26/2013 01:19 PM, Hector Palacios wrote: Greetings, I'm porting a custom platform based on mx28evk to latest U-Boot. I modified the iomux.c for my platform (different DUART pins) and made some changes to mxs_adjust_memory_params() to accommodate to my DRAM chip. I built the u-boot.sb.

[U-Boot] Beagleboard: SPL hangs on serial init

2013-02-28 Thread man . huber
SPL hangs on a beagleboard during the serial initialization (line 40 of drivers/serial/ns16550.c). The reason is the non-empty shift register of TX (transmit FIFO is empty). To avoid the hangup include/configs/omap3_beagle.h has to be changed like in include/configs/igep00x0.h: diff --git

Re: [U-Boot] [PATCH v2] tpm: Add TPM command library

2013-02-28 Thread Pfau, Reinhard
Hi, While digging through the code, some question arises. So let me drop some notes about the patch: ( I apologize for some weird word wraps in the quoted text, but I have to use a well known UMA which seems to be too stupid to keep lines of text without additional word wraps...)

[U-Boot] imx28 secure boot

2013-02-28 Thread Ruud Commandeur
Hi everyone, This issue is more imx28 / ltib related, but here it goes: If I build the u-boot from the ltib package and want to flash an SD-card with the boot stream, I have the choice between imx28_uboot.sb and imx28_ivt_uboot.sd (a HAB secured one). For the mx28evk, it only works if I use the

Re: [U-Boot] [PATCH v2] tpm: Add TPM command library

2013-02-28 Thread Che-liang Chiou
Hi Reinhard, Replied below. On Thu, Feb 28, 2013 at 6:50 AM, Pfau, Reinhard p...@gdsys.de wrote: Hi, While digging through the code, some question arises. So let me drop some notes about the patch: ( I apologize for some weird word wraps in the quoted text, but I have to use a well

Re: [U-Boot] [PATCH 1/3 v2] Exynos: Add hardware accelerated SHA 256

2013-02-28 Thread Kim Phillips
On Thu, 28 Feb 2013 06:00:21 -0500 Akshay Saraswat aksha...@samsung.com wrote: --- Changes since v1: - Moved code to drivers/crypto. - Fixed few other nits. be more specific wrt changes between revisions. + if (buf_len == 0) { + /* ACE H/W cannot compute hash

Re: [U-Boot] [PATCH 1/4] Exynos: Add hardware accelerated SHA 256

2013-02-28 Thread Kim Phillips
On Thu, 28 Feb 2013 11:08:21 + Akshay Saraswat aksha...@samsung.com wrote: On Wed, 27 Feb 2013 10:24:39 -0500 Akshay Saraswat aksha...@samsung.com wrote: can you fix your mailer to not double space lines? +/* Maximum input data size is 8 MB. Timeout observed for data size above 8MB

Re: [U-Boot] AM335x PLL configuration

2013-02-28 Thread Tom Rini
On Sat, Feb 23, 2013 at 11:45:45AM +, Mark Jackson wrote: All the current TI AM335x boards currently appear to start with an MPU clock of 550MHx and a core clock of 1GHz, based on #defines in include/asm/arch-am33xx/clocks_am33xx.h I assume most people then pass control over to (eg)

[U-Boot] [PATCH v2] dts/Makefile: Build the user specified dts

2013-02-28 Thread Jagannadha Sutradharudu Teki
This patch provides a support to build the user specified dts. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v2: - Update the logic for not giving an error if DEVICE_TREE defined - Documented the build steps doc/README.fdt-control |8

Re: [U-Boot] Pull request: nand flash

2013-02-28 Thread Tom Rini
On Tue, Feb 26, 2013 at 03:44:22PM -0600, Scott Wood wrote: The following changes since commit 47104c37de076e2be35ae1b3d144614f4d24a766: MAKEALL: add support for per architecture toolchains (2013-02-20 09:40:34 -0500) are available in the git repository at:

Re: [U-Boot] [PATCH V2 2/6] i.MX6: consolidate pad names for multi-CPU boards

2013-02-28 Thread Fabio Estevam
Hi Eric, On Sat, Feb 23, 2013 at 1:31 PM, Eric Nelson eric.nel...@boundarydevices.com wrote: It's probably going to be a week or so before I can re-work the HDMI detection code per Wolfgang's request and re-submit Nitrogen6X. I work on a patch that will add an hdmi structure, so that we can

Re: [U-Boot] FDT howto

2013-02-28 Thread Jagan Teki
Hi Simon, On Thu, Feb 28, 2013 at 7:22 PM, Simon Glass s...@chromium.org wrote: Hi Jagan, On Thu, Feb 28, 2013 at 3:14 AM, Jagan Teki jagannadh.t...@gmail.com wrote: Hi Simon, On Mon, Feb 25, 2013 at 4:40 AM, Simon Glass s...@chromium.org wrote: Hi Jagan, On Sun, Feb 24, 2013 at 10:58

Re: [U-Boot] [PATCH v2] dts/Makefile: Build the user specified dts

2013-02-28 Thread Simon Glass
On Thu, Feb 28, 2013 at 12:20 PM, Jagannadha Sutradharudu Teki jagannadha.sutradharudu-t...@xilinx.com wrote: This patch provides a support to build the user specified dts. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com Acked-by: Simon Glass s...@chromium.org Thank you. ---

Re: [U-Boot] [PATCH V2 2/6] i.MX6: consolidate pad names for multi-CPU boards

2013-02-28 Thread Eric Nelson
On 02/28/2013 01:26 PM, Fabio Estevam wrote: Hi Eric, On Sat, Feb 23, 2013 at 1:31 PM, Eric Nelson eric.nel...@boundarydevices.com wrote: It's probably going to be a week or so before I can re-work the HDMI detection code per Wolfgang's request and re-submit Nitrogen6X. I work on a patch

Re: [U-Boot] [PATCH v4 0/11] Add BF60x processor support to Blackfin architecture.

2013-02-28 Thread Tom Rini
On Thu, Feb 21, 2013 at 07:06:38PM +0800, Sonic Zhang wrote: From: Sonic Zhang sonic.zh...@analog.com ADSP-BF60x is the new generation Blackfin?? dual-core processor announced by Analog Devices in late March, 2012. This patch set adds BF60x processor support to Das U-Boot Blackfin

[U-Boot] [PATCH] mx6: Provide a structure for accessing HDMI registers

2013-02-28 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Provide a structure for accessing HDMI registers, so that we can use proper read/write accessors. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Hi Eric, I have only build-tested, as I don't have a HDMI monitor handy for testing.

[U-Boot] [PATCH] ARM: tegra: implement WAR for Tegra114 CPU reset vector

2013-02-28 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com A Tegra114 HW bug prevents the main CPU vector from being modified under certain circumstances. Tegra114 A01P and later with a patched boot ROM set the CPU reset vector to 0x4003fffc (end of IRAM). This allows placing an arbitrary jump instruction at that

[U-Boot] [PATCH 2/2] tools: enable more checkpatch tests by default

2013-02-28 Thread Kim Phillips
without this, patches don't get checked for proper alignment, and e.g., for spaces after a cast and/or before a semicolon. Signed-off-by: Kim Phillips kim.phill...@freescale.com --- .checkpatch.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.checkpatch.conf b/.checkpatch.conf index

[U-Boot] [PATCH 1/2] tools: update checkpatch to latest upstream version

2013-02-28 Thread Kim Phillips
i.e., from the linux kernel's commit be987d9f80354e2e919926349282facd74992f90 Signed-off-by: Kim Phillips kim.phill...@freescale.com --- tools/checkpatch.pl | 752 ++-- 1 file changed, 558 insertions(+), 194 deletions(-) diff --git

[U-Boot] [PATCH v2] mxs: spl_mem_init: Align DDR2 init with FSL bootlets source

2013-02-28 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Currently the following kernel hang happens when loading a 2.6.35 kernel from Freeescale on a mx28evk board: RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. Bus freq driver module loaded IMX usb

Re: [U-Boot] Please pull u-boot-x86.git

2013-02-28 Thread Tom Rini
On Wed, Feb 27, 2013 at 01:18:23PM -0800, Simon Glass wrote: Hi Tom, I have pulled the latest series into a branch in the x86 tree. You can also get it from patchwork. If you are happy with it, please see below. I haven't seen any comments for a few days. OK, building with ELDK4.2 for a

Re: [U-Boot] Please pull u-boot-x86.git

2013-02-28 Thread Simon Glass
Hi Tom, On Thu, Feb 28, 2013 at 3:00 PM, Tom Rini tr...@ti.com wrote: On Wed, Feb 27, 2013 at 01:18:23PM -0800, Simon Glass wrote: Hi Tom, I have pulled the latest series into a branch in the x86 tree. You can also get it from patchwork. If you are happy with it, please see below. I

[U-Boot] [PATCH v2] mx6: Provide a structure for accessing HDMI registers

2013-02-28 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Provide a structure for accessing HDMI registers, so that we can use proper read/write accessors. Signed-off-by: Fabio Estevam fabio.este...@freescale.com Tested-by: Eric Nelson eric.nel...@boundarydevices.com --- Changes since v1: - Add missing

[U-Boot] [PATCH V2 2/4] disk: define HAVE_BLOCK_DEVICE in a common place

2013-02-28 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com This set of ifdefs is used in a number of places. Move its definition somewhere common so it doesn't have to be repeated. Signed-off-by: Stephen Warren swar...@nvidia.com --- v2: New patch --- disk/part.c| 10 --

[U-Boot] [PATCH V2 3/4] disk: define HAVE_BLOCK_DEVICE if CONFIG_CMD_PART

2013-02-28 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Various code that is conditional upon HAVE_BLOCK_DEVICE is required by code conditional upon CONFIG_CMD_PART. So, enable HAVE_BLOCK_DEVICE if CONFIG_CMD_PART is enabled. Signed-off-by: Stephen Warren swar...@nvidia.com --- v2: New patch ---

[U-Boot] [PATCH V2 1/4] ARM: tegra: make bounce buffer option common

2013-02-28 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com All Tegra devices will need CONFIG_BOUNCE_BUFFER. Move it to tegra-common.h to ensure it's always set. Signed-off-by: Stephen Warren swar...@nvidia.com --- v2: Add missing word to commit subject. This is based on u-boot-tegra/next, plus my reset vector

[U-Boot] [PATCH V2 4/4] ARM: tegra: enable a common set of disk-related commands everywhere

2013-02-28 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Enable a common set of partition types, filesystems, and related commands in tegra-common.h, so that they are available on all Tegra boards. This allows boot.scr (loaded and executed by the default built-in environment) on those boards to assume that

[U-Boot] [PATCH] cmd_part: don't print cmd name twice in help

2013-02-28 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com The core implementation of help already prints the command name before the help text of a specific command. Remove it from part's own help text to avoid it being printed twice: Tegra114 (Dalmore) # help part part - disk partition related commands Usage:

[U-Boot] [PATCH v2 1/9] am33xx: convert defines from am33xx-specific to generic names

2013-02-28 Thread Matt Porter
Eliminate AM33xx specific names to prepare for TI814x support within AM33xx-land. Signed-off-by: Matt Porter mpor...@ti.com Reviewed-by: Tom Rini tr...@ti.com --- v2: no changes --- arch/arm/cpu/armv7/am33xx/board.c |4 ++-- arch/arm/include/asm/arch-am33xx/hardware.h | 10

[U-Boot] [PATCH v2 0/9] Add TI814x EVM Support

2013-02-28 Thread Matt Porter
This series adds support for the PG1.0 TI814x EVM board. TI814x fits into the existing AM33XX SoC support with some refactoring of the AM33XX-specific emif4, clock, and mux code. It has been tested booting up a Linux kernel and regression tested on BeagleBone and EVM-SK AM33XX boards. Changes

[U-Boot] [PATCH v2 3/9] am33xx: refactor am33xx clocks and add ti814x support

2013-02-28 Thread Matt Porter
Split clock.c for am335x and ti814x and add ti814x specific clock support. Signed-off-by: Matt Porter mpor...@ti.com --- v2: * remove unused dmtimer support * add register structs bit definitions * rename soc-specific clock files for consistency * move ti814x

[U-Boot] [PATCH v2 4/9] am33xx: refactor am33xx mux support and add ti814x support

2013-02-28 Thread Matt Porter
AM33XX and TI814X have a similar mux though the pinmux register layout and address space differ. Add a separate ti814x mux include to support the TI814X-specific differences. Signed-off-by: Matt Porter mpor...@ti.com Reviewed-by: Tom Rini tr...@ti.com Acked-by: Peter Korsgaard jac...@sunsite.dk

[U-Boot] [PATCH v2 2/9] am33xx: refactor emif4/ddr to support multiple EMIF instances

2013-02-28 Thread Matt Porter
The AM33xx emif4/ddr support closely matches what is need to support TI814x except that TI814x has two EMIF instances. Refactor all the emif4 helper calls and the config_ddr() init function to use an additional instance number argument. Signed-off-by: Matt Porter mpor...@ti.com Reviewed-by: Tom

  1   2   >