Re: [U-Boot] [PATCH v2] arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD

2015-04-13 Thread Albert ARIBAUD
Hello Stefan, On Thu, 09 Apr 2015 11:22:27 +0200, Stefan Roese s...@denx.de wrote: Hi Albert, On 25.02.2015 23:09, Albert ARIBAUD wrote: On Tue, 24 Feb 2015 14:53:36 +0100, Albert ARIBAUD albert.u.b...@aribaud.net wrote: When building a THumb-1-only target with CONFIG_SYS_THUMB_BUILD,

Re: [U-Boot] Testing u-boot-dm/next

2015-04-13 Thread Simon Glass
Hi Stephen, On 13 April 2015 at 11:36, Stephen Warren swar...@wwwdotorg.org wrote: On 04/13/2015 11:29 AM, Simon Glass wrote: Hi Stephen, On 13 April 2015 at 11:04, Stephen Warren swar...@wwwdotorg.org wrote: On 04/13/2015 10:27 AM, Stephen Warren wrote: On 04/08/2015 09:11 PM, Simon

Re: [U-Boot] [PATCH v3 8/8] sandbox: add config_distro_defaults and config_distro_bootcmd

2015-04-13 Thread Simon Glass
Hi Sjoerd, On 12 April 2015 at 15:04, Sjoerd Simons sjoerd.sim...@collabora.co.uk wrote: Make the sandbox setup more generic/examplary by including config_distro_defaults.h and config_distro_bootcmd.h. Among other things this makes it easy to test whether images will boot though with the

Re: [U-Boot] [PATCH v3 4/8] sandbox: Renamed sb command to host

2015-04-13 Thread Simon Glass
On 12 April 2015 at 15:04, Sjoerd Simons sjoerd.sim...@collabora.co.uk wrote: As suggested by Simon Glass, rename the sb command to host but keep the old sb command as an alias Signed-off-by: Sjoerd Simons sjoerd.sim...@collabora.co.uk Acked-by: Simon Glass s...@chromium.org

Re: [U-Boot] [PATCH v3 3/8] sandbox: Add support for bootz

2015-04-13 Thread Simon Glass
On 12 April 2015 at 15:04, Sjoerd Simons sjoerd.sim...@collabora.co.uk wrote: Add dummy bootz_setup implementation allowing the u-boot sandbox to run bootz. This recognizes both ARM and x86 zImages to validate a valid zImage was loaded. Signed-off-by: Sjoerd Simons

Re: [U-Boot] [PATCH] nand: fix buffer alignment in new verification feature

2015-04-13 Thread Scott Wood
On Mon, 2015-04-13 at 12:55 -0600, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com On systems with caches enabled, NAND I/O may need to flush/invalidate the cache during read/write operations. For this to work correctly, all buffers must be cache-aligned. Fix nand_verify*() to

Re: [U-Boot] Testing u-boot-dm/next

2015-04-13 Thread Simon Glass
Hi Stephen, On 13 April 2015 at 11:46, Simon Glass s...@chromium.org wrote: Hi Stephen, On 13 April 2015 at 11:36, Stephen Warren swar...@wwwdotorg.org wrote: On 04/13/2015 11:29 AM, Simon Glass wrote: Hi Stephen, On 13 April 2015 at 11:04, Stephen Warren swar...@wwwdotorg.org wrote:

Re: [U-Boot] [PATCH] exynos: sandbox: ti: Add SPDX license identifiers and notes

2015-04-13 Thread Nishanth Menon
On 04/13/2015 12:19 PM, Simon Glass wrote: For some files I neglected to add a license. Rectify this: arch/arm/dts/exynos4210-pinctrl-uboot.dtsi arch/arm/dts/exynos4x12-pinctrl-uboot.dtsi arch/arm/dts/exynos5250-pinctrl-uboot.dtsi arch/arm/dts/exynos54xx-pinctrl-uboot.dtsi

Re: [U-Boot] Testing u-boot-dm/next

2015-04-13 Thread Stephen Warren
On 04/13/2015 11:29 AM, Simon Glass wrote: Hi Stephen, On 13 April 2015 at 11:04, Stephen Warren swar...@wwwdotorg.org wrote: On 04/13/2015 10:27 AM, Stephen Warren wrote: On 04/08/2015 09:11 PM, Simon Glass wrote: (Correcting address for Masahiro, sorry) On 8 April 2015 at 21:07, Simon

[U-Boot] [PATCH] nand: fix buffer alignment in new verification feature

2015-04-13 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com On systems with caches enabled, NAND I/O may need to flush/invalidate the cache during read/write operations. For this to work correctly, all buffers must be cache-aligned. Fix nand_verify*() to allocate aligned buffers. This prevents cache alignment

Re: [U-Boot] Testing u-boot-dm/next

2015-04-13 Thread Stephen Warren
On 04/13/2015 11:52 AM, Simon Glass wrote: ... On 8 April 2015 at 21:07, Simon Glass s...@chromium.org wrote: I have quite a few patches queued up in the next branch of u-boot-dm, ready for when the merge window options. If anyone has time and can give it a spin on their board, it would be

Re: [U-Boot] [patch] break build if it would produce broken binary

2015-04-13 Thread Pavel Machek
On Mon 2015-04-13 08:52:52, Tom Rini wrote: On Mon, Apr 13, 2015 at 02:49:28PM +0200, Pavel Machek wrote: Add an error in known-bad case so that we don't produce broken and hard to debug binaries. Signed-off-by: Pavel Machek pa...@denx.de diff --git

Re: [U-Boot] [PATCH v4 9/9] sandbox: add config_distro_defaults and config_distro_bootcmd

2015-04-13 Thread Simon Glass
Hi Sjoerd, On 13 April 2015 at 14:54, Sjoerd Simons sjoerd.sim...@collabora.co.uk wrote: Make the sandbox setup more generic/examplary by including config_distro_defaults.h and config_distro_bootcmd.h. Among other things this makes it easy to test whether images will boot though with the

[U-Boot] [PATCH v4 1/9] sandbox: only do sandboxfs for hostfs interface

2015-04-13 Thread Sjoerd Simons
Only do sandbox filesystem access when using the hostfs device interface, rather then falling back to it in all cases. This prevents confusion situations due to the fallback being taken rather then an unsupported error being raised. Signed-off-by: Sjoerd Simons sjoerd.sim...@collabora.co.uk

[U-Boot] [PATCH v4 3/9] sandbox: Add support for bootz

2015-04-13 Thread Sjoerd Simons
Add dummy bootz_setup implementation allowing the u-boot sandbox to run bootz. This recognizes both ARM and x86 zImages to validate a valid zImage was loaded. Signed-off-by: Sjoerd Simons sjoerd.sim...@collabora.co.uk Acked-by: Simon Glass s...@chromium.org --- Changes in v4: None Changes in

[U-Boot] [PATCH v4 4/9] sandbox: Renamed sb command to host

2015-04-13 Thread Sjoerd Simons
As suggested by Simon Glass, rename the sb command to host but keep the old sb command as an alias Signed-off-by: Sjoerd Simons sjoerd.sim...@collabora.co.uk Acked-by: Simon Glass s...@chromium.org --- Changes in v4: None Changes in v3: - Improve deprecated sb command short line - Don't

[U-Boot] [PATCH v4 7/9] pxe: Ensure all memory access is to mapped memory

2015-04-13 Thread Sjoerd Simons
Properly map memory through map_sysmem so that pxe can be used from the sandbox. Tested in sandbox as well as on jetson-tk1, odroid-xu3, snow as peach-pi boards Signed-off-by: Sjoerd Simons sjoerd.sim...@collabora.co.uk Acked-by: Simon Glass s...@chromium.org --- Changes in v4: None Changes in

Re: [U-Boot] [ANN] U-Boot v2015.04 released

2015-04-13 Thread Simon Glass
Hi Tom, On 13 April 2015 at 11:20, Tom Rini tr...@ti.com wrote: Hey all, I've pushed v2015.04 out to the repository and tarballs should exist soon. The Kconfig migration is moving along nicely as is the DM work. This has been a good all-around nice set of updates, bug fixes and new board

[U-Boot] [PATCH v4 5/9] sandbox: Implement host dev [device]

2015-04-13 Thread Sjoerd Simons
A common pattern to check if a certain device exists (e.g. in config_distro_bootcmd) is to use: interface dev [device] Implement host dev [device] so this pattern can be used for sandbox host devices. Signed-off-by: Sjoerd Simons sjoerd.sim...@collabora.co.uk Acked-by: Simon Glass

[U-Boot] [PATCH v4 6/9] config_distro_bootcmd.h: Add shared block definition for the host interface

2015-04-13 Thread Sjoerd Simons
Define the common shared block environment for the host interface in preperation for the sandbox build to use config_distro_bootcmd. Signed-off-by: Sjoerd Simons sjoerd.sim...@collabora.co.uk Acked-by: Simon Glass s...@chromium.org Acked-by: Stephen Warren swar...@nvidia.com --- Changes in v4:

[U-Boot] [PATCH v4 8/9] config: Add default client arch defines for intel architectures

2015-04-13 Thread Sjoerd Simons
Define default PXE client architecture identifiers for IA32 (0x0 aka Intel x86PC) and Intel x86-64 (0x9 aka EFI x86-64). This prepares for usage for config_distro_defaults in the sandbox architecture Signed-off-by: Sjoerd Simons sjoerd.sim...@collabora.co.uk --- Changes in v4: - New patch

[U-Boot] [PATCH v2 3/4] mtd: nand: mxs: Add comment for calculating ECC strength

2015-04-13 Thread Jörg Krause
Signed-off-by: Jörg Krause joerg.krause@embedded.rocks --- drivers/mtd/nand/mxs_nand.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/mtd/nand/mxs_nand.c b/drivers/mtd/nand/mxs_nand.c index 912fed8..76e47ab 100644 --- a/drivers/mtd/nand/mxs_nand.c +++

[U-Boot] [PATCH v2 2/4] mtd: nand: mxs: Replace magic number for bits per ECC level with macro

2015-04-13 Thread Jörg Krause
Signed-off-by: Jörg Krause joerg.krause@embedded.rocks --- drivers/mtd/nand/mxs_nand.c | 7 --- tools/mxsboot.c | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/mtd/nand/mxs_nand.c b/drivers/mtd/nand/mxs_nand.c index a45fcf9..912fed8 100644 ---

[U-Boot] [PATCH v2 4/4] tools: mxsboot: Calculate ECC strength dynamically

2015-04-13 Thread Jörg Krause
Calculating the ECC strength dynamically to be aligned with the mxs NAND driver and the Linux Kernel. The macro definition for round_down is taken from linux/kernel.h to avoid changing the tools/Makefile where the Linux Kernel header files are not included for building the tools target.

Re: [U-Boot] [RESEND PATCH v4 2/3] mtd, nand: move common functions from cmd_nand.c to common place

2015-04-13 Thread Scott Wood
On Sun, 2015-04-12 at 10:12 +0200, Heiko Schocher wrote: @@ -595,7 +491,10 @@ static int do_nand(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) printf(\nNAND %s: , cmd); /* skip first two or three arguments, look for offset and size */

Re: [U-Boot] [PATCH v4 9/9] sandbox: add config_distro_defaults and config_distro_bootcmd

2015-04-13 Thread Joe Hershberger
Hi Sjoerd, On Mon, Apr 13, 2015 at 5:07 PM, Simon Glass s...@chromium.org wrote: Hi Sjoerd, On 13 April 2015 at 14:54, Sjoerd Simons sjoerd.sim...@collabora.co.uk wrote: Make the sandbox setup more generic/examplary by including config_distro_defaults.h and config_distro_bootcmd.h.

Re: [U-Boot] [PATCH v4 9/9] sandbox: add config_distro_defaults and config_distro_bootcmd

2015-04-13 Thread Simon Glass
Hi Joe, On 13 April 2015 at 16:28, Joe Hershberger joe.hershber...@gmail.com wrote: Hi Sjoerd, On Mon, Apr 13, 2015 at 5:07 PM, Simon Glass s...@chromium.org wrote: Hi Sjoerd, On 13 April 2015 at 14:54, Sjoerd Simons sjoerd.sim...@collabora.co.uk wrote: Make the sandbox setup more

Re: [U-Boot] [PATCH] ARM: tegra: enable STDIO deregistration

2015-04-13 Thread Simon Glass
Hi Stephen, On 13 April 2015 at 13:17, Stephen Warren swar...@wwwdotorg.org wrote: On 04/13/2015 11:22 AM, Simon Glass wrote: Hi Stephen, On 13 April 2015 at 11:11, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com At the very least when USB keyboard

Re: [U-Boot] Testing u-boot-dm/next

2015-04-13 Thread Simon Glass
Hi Stephen, On 13 April 2015 at 13:03, Stephen Warren swar...@wwwdotorg.org wrote: On 04/13/2015 11:52 AM, Simon Glass wrote: ... On 8 April 2015 at 21:07, Simon Glass s...@chromium.org wrote: I have quite a few patches queued up in the next branch of u-boot-dm, ready for when the merge

[U-Boot] [PATCH v4 2/9] sandbox: Split bootm code out into lib/bootm

2015-04-13 Thread Sjoerd Simons
Follow the convention of other architectures and move the platform specific linux bootm code into sandbox/lib/bootm.c. Signed-off-by: Sjoerd Simons sjoerd.sim...@collabora.co.uk Acked-by: Simon Glass s...@chromium.org --- Changes in v4: None Changes in v3: None Changes in v2: None

Re: [U-Boot] [PATCH 2/2] ARMv8: enable DM in vexpress64 board

2015-04-13 Thread Linus Walleij
On Mon, Apr 13, 2015 at 5:15 PM, Tom Rini tr...@konsulko.com wrote: On Mon, Apr 13, 2015 at 04:50:55PM +0200, Linus Walleij wrote: On Sat, Jan 31, 2015 at 4:55 AM, feng...@phytium.com.cn wrote: From: David Feng feng...@phytium.com.cn Signed-off-by: David Feng feng...@phytium.com.cn

[U-Boot] [PATCH v4 9/9] sandbox: add config_distro_defaults and config_distro_bootcmd

2015-04-13 Thread Sjoerd Simons
Make the sandbox setup more generic/examplary by including config_distro_defaults.h and config_distro_bootcmd.h. Among other things this makes it easy to test whether images will boot though with the standard distro bootcmds by running e.g: u-boot -c 'host bind 0 myimage.img ; boot' By default

[U-Boot] [PATCH v2 1/4] mtd:mxs:nand calculate ecc strength dynamically

2015-04-13 Thread Jörg Krause
From: Peng Fan peng@freescale.com Calculate ecc strength according oobsize, but not hardcoded which is not aligned with kernel driver Signed-off-by: Peng Fan peng@freescale.com Signed-off-by: Ye.Li b37...@freescale.com Reviewed-by: Marek Vasut ma...@denx.de Signed-off-by: Jörg Krause

[U-Boot] [PATCH v2 0/4] mtd: nand: mxs: Calculate ECC strength dynamically

2015-04-13 Thread Jörg Krause
This series of patches are based on the patch of Peng Fan: https://patchwork.ozlabs.org/patch/422756/ Patch 1 is the originally patch from Peng Fan, Patch 2 and 3 add minor changes to 1 and patch 4 adds the ECC strength calculation to tools/mxsboot to be aligned with the changes made in patch 1

Re: [U-Boot] [PATCH 10/12] ARM: stv0991: use select instead of default value in defconfig

2015-04-13 Thread vikasm
On 03/30/2015 08:48 PM, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- arch/arm/Kconfig | 2 ++ configs/stv0991_defconfig | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) Acked-by : Vikas Manocha vikas.mano...@st.com

Re: [U-Boot] [PATCH 2/2] ARMv8: enable DM in vexpress64 board

2015-04-13 Thread Simon Glass
Hi Linus, On 13 April 2015 at 14:58, Linus Walleij linus.wall...@linaro.org wrote: On Mon, Apr 13, 2015 at 5:15 PM, Tom Rini tr...@konsulko.com wrote: On Mon, Apr 13, 2015 at 04:50:55PM +0200, Linus Walleij wrote: On Sat, Jan 31, 2015 at 4:55 AM, feng...@phytium.com.cn wrote: From: David

Re: [U-Boot] Compile minnowboard max error

2015-04-13 Thread Simon Glass
Hi, On 13 April 2015 at 19:32, li yuqian liyuqia...@outlook.com wrote: Hi Simon, Yes, i followed the http://git.denx.de/?p=u-boot.git;a=blob;f=doc/README.x86 for preparing all of stuffs, here is my minnowmax directly files. i am sticked on that, where i am wrong ;(

Re: [U-Boot] [PATCH RFT] gpio: lpc32xx: Use priv data instead of platdata

2015-04-13 Thread Axel Lin
2015-04-13 16:41 GMT+08:00 Albert ARIBAUD albert.arib...@3adev.fr: Hi Axel, Le Sat, 11 Apr 2015 10:20:08 +0800, Axel Lin axel@ingics.com a écrit : Initially I found this driver has set priv_auto_alloc_size but it actually never use dev-priv. The U_BOOT_DEVICE(lpc32xx_gpios) does not

Re: [U-Boot] Compile minnowboard max error

2015-04-13 Thread li yuqian
Hi Simon, Yes, i followed the http://git.denx.de/?p=u-boot.git;a=blob;f=doc/README.x86 for preparing all of stuffs, here is my minnowmax directly files. i am sticked on that, where i am wrong ;( root@ubuntu:/usr/src/uboot/u-boot# ls -l board/intel/minnowmax total 5452 -rw-r--r-- 1 root

Re: [U-Boot] [PATCH v4 6/9] config_distro_bootcmd.h: Add shared block definition for the host interface

2015-04-13 Thread Dennis Gilmore
On Monday, April 13, 2015 10:54:24 PM Sjoerd Simons wrote: Define the common shared block environment for the host interface in preperation for the sandbox build to use config_distro_bootcmd. Signed-off-by: Sjoerd Simons sjoerd.sim...@collabora.co.uk Acked-by: Simon Glass s...@chromium.org

Re: [U-Boot] Compile minnowboard max error

2015-04-13 Thread li yuqian
Hi Simon Can you please put your response below my reply? This thread is all over the place This looks right to me. Can you post the entire build output somewhere, built with V=1 so I can see everything? There must be something different. Regards, Simon Thank you, here is output

[U-Boot] [dm/next PATCH v1] dm: qspi fix claim bus and release bus

2015-04-13 Thread Peng Fan
For fsl_qspi_claim_bus and fsl_qspi_release_bus, the input parameter struct udevice *dev represents device: qspi[x]: qspi@[address] {...}. Since dev already represents the qspi controller, use its parent to get platdata and get 'priv' is wrong. After applying this patch, qspi flashes can be

Re: [U-Boot] Testing u-boot-dm/next

2015-04-13 Thread Simon Glass
Hi Stephen, On 13 April 2015 at 14:17, Simon Glass s...@chromium.org wrote: Hi Stephen, On 13 April 2015 at 13:03, Stephen Warren swar...@wwwdotorg.org wrote: On 04/13/2015 11:52 AM, Simon Glass wrote: ... On 8 April 2015 at 21:07, Simon Glass s...@chromium.org wrote: I have quite a few

Re: [U-Boot] [PATCH v3 2/3] dm: usb: Split out more code from usb_new_device()

2015-04-13 Thread Marek Vasut
On Tuesday, April 14, 2015 at 05:19:03 AM, Simon Glass wrote: Move the code that sets up the device with a new address into its own function, usb_prepare_device(). Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Fix polarity of CONFIG_XHCI check (which broke USB

Re: [U-Boot] [PATCH v3 1/3] dm: usb: Move descriptor setup code into its own function

2015-04-13 Thread Marek Vasut
On Tuesday, April 14, 2015 at 05:19:02 AM, Simon Glass wrote: usb_new_device() is far too long and does far too much. As a first step, move the code that does initial setup and reads a descriptor into its own function called usb_setup_descriptor(). For XHCI the init order is different - we

[U-Boot] [PATCH v3 3/3] dm: usb: Complete the splitting up of usb_new_device()

2015-04-13 Thread Simon Glass
This function now calls usb_setup_device() to set up the device and usb_hub_probe() to check if it is a hub. The XHCI special case is now a parameter to usb_setup_device(). The latter will be used by the USB uclass when it is added, since it does not rely on any CONFIGs or legacy data structures.

[U-Boot] [PATCH v3 1/3] dm: usb: Move descriptor setup code into its own function

2015-04-13 Thread Simon Glass
usb_new_device() is far too long and does far too much. As a first step, move the code that does initial setup and reads a descriptor into its own function called usb_setup_descriptor(). For XHCI the init order is different - we set up the device but don't actually read the descriptor until after

Re: [U-Boot] Testing u-boot-dm/next

2015-04-13 Thread Simon Glass
Hi, On 13 April 2015 at 21:25, Simon Glass s...@chromium.org wrote: Hi Stephen, On 13 April 2015 at 14:17, Simon Glass s...@chromium.org wrote: Hi Stephen, On 13 April 2015 at 13:03, Stephen Warren swar...@wwwdotorg.org wrote: On 04/13/2015 11:52 AM, Simon Glass wrote: ... On 8

[U-Boot] [PULL] u-boot-usb/master

2015-04-13 Thread Marek Vasut
The following changes since commit f33cdaa4c3da4a8fd35aa2f9a3172f31cc887b35: Prepare v2015.04 (2015-04-13 10:53:03 -0400) are available in the git repository at: git://git.denx.de/u-boot-usb.git HEAD for you to fetch changes up to 7704fdbda3afb3d3bb0749378f444c71f92fb9ca: usb: gadget:

Re: [U-Boot] [PATCH RFT] gpio: lpc32xx: Use priv data instead of platdata

2015-04-13 Thread Albert ARIBAUD
Hi Axel, Le Tue, 14 Apr 2015 08:30:03 +0800, Axel Lin axel@ingics.com a écrit : 2015-04-13 16:41 GMT+08:00 Albert ARIBAUD albert.arib...@3adev.fr: Hi Axel, Le Sat, 11 Apr 2015 10:20:08 +0800, Axel Lin axel@ingics.com a écrit : Initially I found this driver has set

[U-Boot] [PATCH v3 2/3] dm: usb: Split out more code from usb_new_device()

2015-04-13 Thread Simon Glass
Move the code that sets up the device with a new address into its own function, usb_prepare_device(). Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Fix polarity of CONFIG_XHCI check (which broke USB keyboards) common/usb.c | 72

Re: [U-Boot] [PATCH v3 3/3] dm: usb: Complete the splitting up of usb_new_device()

2015-04-13 Thread Marek Vasut
On Tuesday, April 14, 2015 at 05:19:04 AM, Simon Glass wrote: This function now calls usb_setup_device() to set up the device and usb_hub_probe() to check if it is a hub. The XHCI special case is now a parameter to usb_setup_device(). The latter will be used by the USB uclass when it is added,

Re: [U-Boot] [PATCH] ARM: tegra: enable STDIO deregistration

2015-04-13 Thread Stephen Warren
On 04/13/2015 11:22 AM, Simon Glass wrote: Hi Stephen, On 13 April 2015 at 11:11, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com At the very least when USB keyboard support is enabled, we need to enable CONFIG_SYS_STDIO_DEREGISTER, so the usb reset is able

[U-Boot] [PATCH] ARM: tegra: enable STDIO deregistration

2015-04-13 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com At the very least when USB keyboard support is enabled, we need to enable CONFIG_SYS_STDIO_DEREGISTER, so the usb reset is able to re-scan USB ports and find new devices. Signed-off-by: Stephen Warren swar...@nvidia.com --- This feels like a nice fix for

Re: [U-Boot] [PATCH] mpc85xx/T104xD4RDB: Add T104xD4RDB boards support

2015-04-13 Thread York Sun
On 03/25/2015 07:46 AM, Vijay Rai wrote: T1040D4RDB is a Freescale reference board that hosts the T1040 SoC. T1040D4RDB is re-designed T1040RDB board with following changes : - Support of DDR4 memory - Support of 0x66 serdes protocol which can support following interfaces

Re: [U-Boot] Question about license information

2015-04-13 Thread Simon Glass
Hi Ingrid, On 7 April 2015 at 02:14, Viitanen, Ingrid (Nokia - FI/Espoo) ingrid.viita...@nokia.com wrote: Hi, Uboot contains several header files which specify copyright information, but no license information. For example: 2: * U-Boot additions to enable a generic Exynos GPIO driver

[U-Boot] [PATCH] exynos: sandbox: ti: Add SPDX license identifiers and notes

2015-04-13 Thread Simon Glass
For some files I neglected to add a license. Rectify this: arch/arm/dts/exynos4210-pinctrl-uboot.dtsi arch/arm/dts/exynos4x12-pinctrl-uboot.dtsi arch/arm/dts/exynos5250-pinctrl-uboot.dtsi arch/arm/dts/exynos54xx-pinctrl-uboot.dtsi arch/arm/dts/s5pc100-pinctrl.dtsi

[U-Boot] [ANN] U-Boot v2015.04 released

2015-04-13 Thread Tom Rini
Hey all, I've pushed v2015.04 out to the repository and tarballs should exist soon. The Kconfig migration is moving along nicely as is the DM work. This has been a good all-around nice set of updates, bug fixes and new board and feature support. Two last things, to repeat what I said last

Re: [U-Boot] [PATCH] ARM: tegra: enable STDIO deregistration

2015-04-13 Thread Simon Glass
Hi Stephen, On 13 April 2015 at 11:11, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com At the very least when USB keyboard support is enabled, we need to enable CONFIG_SYS_STDIO_DEREGISTER, so the usb reset is able to re-scan USB ports and find new

Re: [U-Boot] Testing u-boot-dm/next

2015-04-13 Thread Simon Glass
Hi Stephen, On 13 April 2015 at 11:04, Stephen Warren swar...@wwwdotorg.org wrote: On 04/13/2015 10:27 AM, Stephen Warren wrote: On 04/08/2015 09:11 PM, Simon Glass wrote: (Correcting address for Masahiro, sorry) On 8 April 2015 at 21:07, Simon Glass s...@chromium.org wrote: Hi, I have

Re: [U-Boot] [PATCH RFT] gpio: lpc32xx: Use priv data instead of platdata

2015-04-13 Thread Albert ARIBAUD
Hi Axel, Le Sat, 11 Apr 2015 10:20:08 +0800, Axel Lin axel@ingics.com a écrit : Initially I found this driver has set priv_auto_alloc_size but it actually never use dev-priv. The U_BOOT_DEVICE(lpc32xx_gpios) does not provide the platdata and all fields in struct lpc32xx_gpio_platdata are

[U-Boot] [PULL] Please pull u-boot-imx

2015-04-13 Thread Stefano Babic
Hi Tom, pleas pull from u-boot-imx, thanks ! The following changes since commit 21866c34a1b4098a8868c9250daf01baf84c2397: at91sam9rlek_mmc_defconfig: Add CONFIG_ARCH_AT91=y (2015-03-20 10:47:38 -0400) are available in the git repository at: git://www.denx.de/git/u-boot-imx.git master for

Re: [U-Boot] [PATCH v2 0/6] Add support for Colibri Vybrid Modules

2015-04-13 Thread Marek Vasut
On Monday, April 13, 2015 at 10:50:27 AM, Peter Chen wrote: On 15-04-13 01:28:07, Marek Vasut wrote: On Sunday, April 12, 2015 at 07:33:41 AM, maitysancha...@gmail.com wrote: Hi, On 15-04-11 18:46:15, Marek Vasut wrote: On Wednesday, April 08, 2015 at 03:20:04 PM,

Re: [U-Boot] [PATCH] mxs_nand: Fix ECC strength for NAND flash with OOB size of 256

2015-04-13 Thread Marek Vasut
On Monday, April 13, 2015 at 11:01:14 AM, Heiko Schocher wrote: Hello Marek, Joerg, Am 13.04.2015 10:42, schrieb Marek Vasut: On Monday, April 13, 2015 at 10:39:46 AM, Jörg Krause wrote: Hi Heiko, On So, 2015-04-12 at 10:17 +0200, Heiko Schocher wrote: On the i.mx6 based

Re: [U-Boot] [PATCH] mxs_nand: Fix ECC strength for NAND flash with OOB size of 256

2015-04-13 Thread Heiko Schocher
Hello Marek, Joerg, Am 13.04.2015 10:42, schrieb Marek Vasut: On Monday, April 13, 2015 at 10:39:46 AM, Jörg Krause wrote: Hi Heiko, On So, 2015-04-12 at 10:17 +0200, Heiko Schocher wrote: On the i.mx6 based aristainetos2 board a Toshiba TH58NYG3S0HBAI4 is used, which has 4096 pagesize and

Re: [U-Boot] [PATCH v2 0/6] Add support for Colibri Vybrid Modules

2015-04-13 Thread Marek Vasut
On Monday, April 13, 2015 at 08:21:27 AM, maitysancha...@gmail.com wrote: Hello, On 15-04-13 01:28:07, Marek Vasut wrote: On Sunday, April 12, 2015 at 07:33:41 AM, maitysancha...@gmail.com wrote: Hi, On 15-04-11 18:46:15, Marek Vasut wrote: On Wednesday, April 08, 2015 at

Re: [U-Boot] [PATCH] mxs_nand: Fix ECC strength for NAND flash with OOB size of 256

2015-04-13 Thread Marek Vasut
On Monday, April 13, 2015 at 10:39:46 AM, Jörg Krause wrote: Hi Heiko, On So, 2015-04-12 at 10:17 +0200, Heiko Schocher wrote: On the i.mx6 based aristainetos2 board a Toshiba TH58NYG3S0HBAI4 is used, which has 4096 pagesize and 256b oob. The ECC strength was not correct detected by

[U-Boot] [PATCH v3 0/8] Allow sandbox to use config_distro_bootcmd

2015-04-13 Thread Sjoerd Simons
Testing whether images will correctly boot with the standard distro bootcmds can be rather time-consuming as it tends to require flashing the images and booting on a device. Ditto for testing changes to config_distro_bootcmd. Adding support for sandbox to run distro bootcmds makes things a lot

Re: [U-Boot] [PATCH v2 0/6] Add support for Colibri Vybrid Modules

2015-04-13 Thread maitysanchayan
Hello, On 15-04-13 01:28:07, Marek Vasut wrote: On Sunday, April 12, 2015 at 07:33:41 AM, maitysancha...@gmail.com wrote: Hi, On 15-04-11 18:46:15, Marek Vasut wrote: On Wednesday, April 08, 2015 at 03:20:04 PM, Sanchayan Maity wrote: Hello, This is the second version of

Re: [U-Boot] Compile minnowboard max error

2015-04-13 Thread li yuqian
Hi Any one can help me figure out what is the wrong for that, is that a bug?Thank you From: liyuqia...@outlook.com To: u-boot@lists.denx.de Date: Sat, 11 Apr 2015 14:17:37 + Subject: Re: [U-Boot] Compile minnowboard max error i found following command was wrong:

Re: [U-Boot] [PATCH] mxs_nand: Fix ECC strength for NAND flash with OOB size of 256

2015-04-13 Thread Jörg Krause
Hi Heiko, On So, 2015-04-12 at 10:17 +0200, Heiko Schocher wrote: On the i.mx6 based aristainetos2 board a Toshiba TH58NYG3S0HBAI4 is used, which has 4096 pagesize and 256b oob. The ECC strength was not correct detected by U-Boot Signed-off-by: Heiko Schocher h...@denx.de ---

[U-Boot] socfpga sdram_applycfg in mainline u-boot

2015-04-13 Thread Pavel Machek
Hi! Is there equivalent of socfpga sdram_applycfg in mainline u-boot? If not, does anyone have a patch porting functionality forward? If not would it be ok to create socfpga command with sdram_applycfg subcommand, or would different interface be preffered? Best regards,

Re: [U-Boot] [PATCH v2 0/6] Add support for Colibri Vybrid Modules

2015-04-13 Thread Peter Chen
On 15-04-13 01:28:07, Marek Vasut wrote: On Sunday, April 12, 2015 at 07:33:41 AM, maitysancha...@gmail.com wrote: Hi, On 15-04-11 18:46:15, Marek Vasut wrote: On Wednesday, April 08, 2015 at 03:20:04 PM, Sanchayan Maity wrote: Hello, This is the

[U-Boot] [PATCH] x86: minnowmax: Remove CONFIG_VIDEO_X86 in the defconfig

2015-04-13 Thread Bin Meng
CONFIG_VIDEO_X86 has been replaced by CONFIG_VIDEO_VESA. Signed-off-by: Bin Meng bmeng...@gmail.com --- configs/minnowmax_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/minnowmax_defconfig b/configs/minnowmax_defconfig index d124289..d1add19 100644 ---

[U-Boot] [PATCH] x86: Remove the old VGA driver

2015-04-13 Thread Bin Meng
CONFIG_VIDEO_VGA is no longer needed thus remove it. Signed-off-by: Bin Meng bmeng...@gmail.com --- README| 6 -- arch/x86/lib/Makefile | 1 - arch/x86/lib/video.c | 205 -- 3 files changed, 212 deletions(-) delete mode

[U-Boot] [PATCH] x86: queensbay: Avoid using PCH prefix

2015-04-13 Thread Bin Meng
The prefix PCH was taken from ivybridge port. However Queensbay platform official document does not mention PCH. It is composed of TunnelCreek processor and Topcliff IOH chipset. For accuracy, avoid using PCH prefix in the macro. Signed-off-by: Bin Meng bmeng...@gmail.com ---

Re: [U-Boot] socfpga sdram_applycfg in mainline u-boot

2015-04-13 Thread Stefan Roese
On 13.04.2015 13:24, Marek Vasut wrote: On Monday, April 13, 2015 at 01:12:06 PM, Pavel Machek wrote: Hi! Is there equivalent of socfpga sdram_applycfg in mainline u-boot? If not, does anyone have a patch porting functionality forward? If not would it be ok to create socfpga command with

Re: [U-Boot] socfpga sdram_applycfg in mainline u-boot

2015-04-13 Thread Marek Vasut
On Monday, April 13, 2015 at 01:12:06 PM, Pavel Machek wrote: Hi! Is there equivalent of socfpga sdram_applycfg in mainline u-boot? If not, does anyone have a patch porting functionality forward? If not would it be ok to create socfpga command with sdram_applycfg subcommand, or would

Re: [U-Boot] [PATCH 2/2] ARMv8: enable DM in vexpress64 board

2015-04-13 Thread Linus Walleij
On Sat, Jan 31, 2015 at 4:55 AM, feng...@phytium.com.cn wrote: From: David Feng feng...@phytium.com.cn Signed-off-by: David Feng feng...@phytium.com.cn This commit breaks U-Boot on the Juno board, I don't know how to best fix it? Is DM something we want available on all boards or just the

Re: [U-Boot] [PATCH] ARM: rpi: add a couple more revision IDs

2015-04-13 Thread Tom Rini
On Sun, Apr 12, 2015 at 09:43:25PM -0600, Stephen Warren wrote: According to Gordon Henderson's WiringPi library, there are some more Pi revision IDs out there. Add support for them.

Re: [U-Boot] [patch] break build if it would produce broken binary

2015-04-13 Thread Tom Rini
On Mon, Apr 13, 2015 at 02:49:28PM +0200, Pavel Machek wrote: Add an error in known-bad case so that we don't produce broken and hard to debug binaries. Signed-off-by: Pavel Machek pa...@denx.de diff --git a/arch/arm/include/asm/u-boot.h b/arch/arm/include/asm/u-boot.h index

Re: [U-Boot] Testing u-boot-dm/next

2015-04-13 Thread Simon Glass
Hi Bin, On 11 April 2015 at 07:48, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Sat, Apr 11, 2015 at 9:22 PM, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Sat, Apr 11, 2015 at 1:42 AM, Simon Glass s...@chromium.org wrote: Hi Bin, On 9 April 2015 at 06:52, Bin Meng

Re: [U-Boot] Compile minnowboard max error

2015-04-13 Thread Simon Glass
Hi, On 13 April 2015 at 00:00, li yuqian liyuqia...@outlook.com wrote: Hi Any one can help me figure out what is the wrong for that, is that a bug?Thank you From: liyuqia...@outlook.com To: u-boot@lists.denx.de Date: Sat, 11 Apr 2015 14:17:37 + Subject: Re: [U-Boot] Compile

Re: [U-Boot] Testing u-boot-dm/next

2015-04-13 Thread Simon Glass
Hi Prazemyslaw, On 10 April 2015 at 12:08, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello, On 04/10/2015 07:57 PM, Simon Glass wrote: Hi Przemyslaw, On 10 April 2015 at 11:50, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello Simon, On 04/10/2015 07:40 PM, Simon Glass

Re: [U-Boot] [PATCH] mxs_nand: Fix ECC strength for NAND flash with OOB size of 256

2015-04-13 Thread Jörg Krause
Hi Marek, Heiko, On Mo, 2015-04-13 at 11:01 +0200, Heiko Schocher wrote: Hello Marek, Joerg, Am 13.04.2015 10:42, schrieb Marek Vasut: On Monday, April 13, 2015 at 10:39:46 AM, Jörg Krause wrote: Hi Heiko, On So, 2015-04-12 at 10:17 +0200, Heiko Schocher wrote: On the i.mx6

[U-Boot] [patch] break build if it would produce broken binary

2015-04-13 Thread Pavel Machek
Add an error in known-bad case so that we don't produce broken and hard to debug binaries. Signed-off-by: Pavel Machek pa...@denx.de diff --git a/arch/arm/include/asm/u-boot.h b/arch/arm/include/asm/u-boot.h index 43cc494..ae4c21b 100644 --- a/arch/arm/include/asm/u-boot.h +++

Re: [U-Boot] printf(%d) breaks u-boot 2015.01+

2015-04-13 Thread Pavel Machek
Hi! I'll fire up ELDK 5.4 + Pandaboard later today (which uses thumb) but I think you need to bisect down to when exactly things break since my gut is telling me it's not toolchain / thumb but something else that broke things. Panda + ELDK 5.4, which sets CONFIG_SYS_THUMB_BUILD for

Re: [U-Boot] [PATCH] mxs_nand: Fix ECC strength for NAND flash with OOB size of 256

2015-04-13 Thread Heiko Schocher
Hello Joerg, Am 13.04.2015 13:38, schrieb Jörg Krause: Hi Marek, Heiko, On Mo, 2015-04-13 at 11:01 +0200, Heiko Schocher wrote: Hello Marek, Joerg, Am 13.04.2015 10:42, schrieb Marek Vasut: On Monday, April 13, 2015 at 10:39:46 AM, Jörg Krause wrote: Hi Heiko, On So, 2015-04-12 at 10:17

Re: [U-Boot] [PULL] Please pull u-boot-imx

2015-04-13 Thread Tom Rini
On Mon, Apr 13, 2015 at 08:36:53AM +0200, Stefano Babic wrote: Hi Tom, pleas pull from u-boot-imx, thanks ! The following changes since commit 21866c34a1b4098a8868c9250daf01baf84c2397: at91sam9rlek_mmc_defconfig: Add CONFIG_ARCH_AT91=y (2015-03-20 10:47:38 -0400) are available in

Re: [U-Boot] Testing u-boot-dm/next

2015-04-13 Thread Stephen Warren
On 04/13/2015 10:27 AM, Stephen Warren wrote: On 04/08/2015 09:11 PM, Simon Glass wrote: (Correcting address for Masahiro, sorry) On 8 April 2015 at 21:07, Simon Glass s...@chromium.org wrote: Hi, I have quite a few patches queued up in the next branch of u-boot-dm, ready for when the merge

Re: [U-Boot] [PATCHv3 10/17] arm: socfpga: spl: Add s_init stub

2015-04-13 Thread Dinh Nguyen
On 04/11/2015 11:57 AM, Marek Vasut wrote: On Tuesday, April 07, 2015 at 04:31:43 PM, Dinh Nguyen wrote: On Fri, 3 Apr 2015, Marek Vasut wrote: On Tuesday, March 31, 2015 at 12:01:11 AM, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com Add a stub

Re: [U-Boot] Testing u-boot-dm/next

2015-04-13 Thread Stephen Warren
On 04/08/2015 09:11 PM, Simon Glass wrote: (Correcting address for Masahiro, sorry) On 8 April 2015 at 21:07, Simon Glass s...@chromium.org wrote: Hi, I have quite a few patches queued up in the next branch of u-boot-dm, ready for when the merge window options. If anyone has time and can

Re: [U-Boot] [PATCH 1/2][v6] powerpc/mpc85xx: SECURE BOOT- NAND secure boot target for P3041

2015-04-13 Thread York Sun
Aneesh, On 03/04/2015 11:38 PM, Aneesh Bansal wrote: Secure Boot Target is added for NAND for P3041. Changes: In PowerPC, the core begins execution from address 0xFFFC. In case of secure boot, this default address maps to Boot ROM. The Boot ROM code requires that the bootloader(U-boot)

Re: [U-Boot] [PATCHv3 10/17] arm: socfpga: spl: Add s_init stub

2015-04-13 Thread Marek Vasut
On Monday, April 13, 2015 at 05:20:38 PM, Dinh Nguyen wrote: On 04/11/2015 11:57 AM, Marek Vasut wrote: On Tuesday, April 07, 2015 at 04:31:43 PM, Dinh Nguyen wrote: On Fri, 3 Apr 2015, Marek Vasut wrote: On Tuesday, March 31, 2015 at 12:01:11 AM, dingu...@opensource.altera.com

Re: [U-Boot] Testing u-boot-dm/next

2015-04-13 Thread Bin Meng
Hi Simon, On Mon, Apr 13, 2015 at 10:27 PM, Simon Glass s...@chromium.org wrote: Hi Bin, On 11 April 2015 at 07:48, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Sat, Apr 11, 2015 at 9:22 PM, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Sat, Apr 11, 2015 at 1:42 AM, Simon Glass

Re: [U-Boot] [PATCH 2/2] ARMv8: enable DM in vexpress64 board

2015-04-13 Thread Tom Rini
On Mon, Apr 13, 2015 at 04:50:55PM +0200, Linus Walleij wrote: On Sat, Jan 31, 2015 at 4:55 AM, feng...@phytium.com.cn wrote: From: David Feng feng...@phytium.com.cn Signed-off-by: David Feng feng...@phytium.com.cn This commit breaks U-Boot on the Juno board, I don't know how to best

Re: [U-Boot] Testing u-boot-dm/next

2015-04-13 Thread Simon Glass
Hi Bin, On 13 April 2015 at 09:05, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Mon, Apr 13, 2015 at 10:27 PM, Simon Glass s...@chromium.org wrote: Hi Bin, On 11 April 2015 at 07:48, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Sat, Apr 11, 2015 at 9:22 PM, Bin Meng

Re: [U-Boot] Testing u-boot-dm/next

2015-04-13 Thread Przemyslaw Marczak
Hello Simon, On 04/13/2015 04:31 PM, Simon Glass wrote: Hi Prazemyslaw, On 10 April 2015 at 12:08, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello, On 04/10/2015 07:57 PM, Simon Glass wrote: Hi Przemyslaw, On 10 April 2015 at 11:50, Przemyslaw Marczak p.marc...@samsung.com wrote: