[U-Boot] [PATCH v2] gpio: lpc32xx: Use priv_data instead of platdata

2015-04-13 Thread Axel Lin
The LPC32XX GPIO driver platdata currently contains GPIO state information, which should go into priv_data. Thus rename lpc32xx_gpio_platdata to lpc32xx_gpio_priv and convert to use dev_get_priv() instead. Signed-off-by: Axel Lin --- v2: Update commit log to mention that using priv_data for runti

[U-Boot] [PATCH] zynq: Add Zynq PicoZed board support

2015-04-13 Thread Nathan Rossi
The PicoZed is a System-on-Module board which is marketed as part of the ZedBoard/MicroZed/etc. collection. It includes a Zynq-7000 processor. This patch adds support that covers all the variants of the PicoZed including the SKUs with Z7010/Z7020 and Z7015/Z7030 Zynq chips. This patch set however

[U-Boot] run the u-boot for taihu board within qemu

2015-04-13 Thread fengyanz...@tju.edu.cn
Hi, Trying to run the u-boot for taihu board within qemu. but i get some error. I am using u-boot-latest and qemu-1.6.1. Command: make distclean make mrproper make ARCH=powerpc CROSS_COMPILE=/tools/bin/powerpc-linux- taihu_defconfig make ARCH=powerpc CROSS_COMPIL

[U-Boot] [PATCH v4 0/9] 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 mor

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

2015-04-13 Thread Heiko Schocher
Hello Scott, Am 13.04.2015 22:32, schrieb 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 thr

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

2015-04-13 Thread Heiko Schocher
Hello Jörg, Am 13.04.2015 22:17, schrieb Jörg Krause: Signed-off-by: Jörg Krause --- drivers/mtd/nand/mxs_nand.c | 7 +++ 1 file changed, 7 insertions(+) nitpick only ... diff --git a/drivers/mtd/nand/mxs_nand.c b/drivers/mtd/nand/mxs_nand.c index 912fed8..76e47ab 100644 --- a/driver

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

2015-04-13 Thread Heiko Schocher
Hello Jörg, Am 13.04.2015 22:17, schrieb 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/

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 a écrit : > 2015-04-13 16:41 GMT+08:00 Albert ARIBAUD : > > Hi Axel, > > > > Le Sat, 11 Apr 2015 10:20:08 +0800, Axel Lin a > > écrit : > > > >> Initially I found this driver has set priv_auto_alloc_size but it actually > >> never use dev->p

[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] 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 i

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 > > --- > > Changes in v3: > - Fix polarity of CONFIG_XHCI check (which broke USB keyboards) Re

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 -

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 add

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

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

2015-04-13 Thread Simon Glass
Hi, On 13 April 2015 at 21:25, Simon Glass wrote: > > Hi Stephen, > > On 13 April 2015 at 14:17, Simon Glass wrote: > > Hi Stephen, > > > > On 13 April 2015 at 13:03, Stephen Warren wrote: > >> On 04/13/2015 11:52 AM, Simon Glass wrote: > >> ... > > > > On 8 April 2015 at 21:07,

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 wrote: > Hi Stephen, > > On 13 April 2015 at 13:03, Stephen Warren wrote: >> On 04/13/2015 11:52 AM, Simon Glass wrote: >> ... > > On 8 April 2015 at 21:07, Simon Glass wrote: >> >> I have quite a few patches que

[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 --- Changes in v3: - Fix polarity of CONFIG_XHCI check (which broke USB keyboards) common/usb.c | 72 +++- 1

[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

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

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 > Acked-by: Simon Glass > Acked-by: Stephen Warren Acked-by : Denn

Re: [U-Boot] Compile minnowboard max error

2015-04-13 Thread Simon Glass
Hi, On 13 April 2015 at 19:32, li yuqian 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 ;( > > root@ubuntu:/usr/src/uboot/u-boot# ls -l

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 ro

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 : > Hi Axel, > > Le Sat, 11 Apr 2015 10:20:08 +0800, Axel Lin 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 fiel

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 wrote: > Hi Sjoerd, > > > On Mon, Apr 13, 2015 at 5:07 PM, Simon Glass wrote: >> >> Hi Sjoerd, >> >> On 13 April 2015 at 14:54, Sjoerd Simons >> wrote: >> > Make the sandbox setup more generic/examplary by including >> > config_distro_defaults.

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 wrote: > > Hi Sjoerd, > > On 13 April 2015 at 14:54, Sjoerd Simons 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

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 wrote: > On Mon, Apr 13, 2015 at 5:15 PM, Tom Rini wrote: >> On Mon, Apr 13, 2015 at 04:50:55PM +0200, Linus Walleij wrote: >>> On Sat, Jan 31, 2015 at 4:55 AM, wrote: >>> >>> > From: David Feng >>> > >>> > Signed-off-by: David Feng >>> >>>

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

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 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 standard distro bootcmds by

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 > --- > > arch/arm/Kconfig | 2 ++ > configs/stv0991_defconfig | 2 -- > 2 files changed, 2 insertions(+), 2 deletions(-) Acked-by : Vikas Manocha ___ U-Boot mai

[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 --- 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 +++ b/drivers/mtd/nand/mxs_nand.c @@ -148,6 +148,13 @@ st

[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 --- 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 --- a/drivers/mtd/nand/mxs_nand.c +++

[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 to avoid changing the tools/Makefile where the Linux Kernel header files are not included for building the tools target. Signed-off-by: Jörg Kra

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

2015-04-13 Thread Jörg Krause
From: Peng Fan Calculate ecc strength according oobsize, but not hardcoded which is not aligned with kernel driver Signed-off-by: Peng Fan Signed-off-by: Ye.Li Reviewed-by: Marek Vasut Signed-off-by: Jörg Krause --- drivers/mtd/nand/mxs_nand.c | 22 -- 1 file changed, 4

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

[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

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 wrote: > On Mon, Apr 13, 2015 at 04:50:55PM +0200, Linus Walleij wrote: >> On Sat, Jan 31, 2015 at 4:55 AM, wrote: >> >> > From: David Feng >> > >> > Signed-off-by: David Feng >> >> This commit breaks U-Boot on the Juno board, I don't know how to >> be

[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 --- Changes in v4: - New patch Changes in v3: None Changes in v2

[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: dev [device] Implement host dev [device] so this pattern can be used for sandbox host devices. Signed-off-by: Sjoerd Simons Acked-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes

[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 Acked-by: Simon Glass Acked-by: Stephen Warren --- Changes in v4: None Changes in v3: None Changes in v2: None include/config_dist

[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 Acked-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: - Prevent uncessary ca

[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 Acked-by: Simon Glass --- Changes in v4: None Changes in v3: - Fill in *start and *end with proper values

[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 Acked-by: Simon Glass --- Changes in v4: None Changes in v3: - Improve deprecated sb command short line - Don't document subcommands for sb anymore Changes in v2: No

[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 Reviewed-by: Simon Glass Acked-by:

[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 Acked-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None arch/sandbox/cpu/cpu.c| 12 arch/sandbox/l

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 > > > > diff --git a/arch/arm/include/asm/u-bo

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] ARM: tegra: enable STDIO deregistration

2015-04-13 Thread Simon Glass
Hi Stephen, On 13 April 2015 at 13:17, Stephen Warren wrote: > On 04/13/2015 11:22 AM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 13 April 2015 at 11:11, Stephen Warren wrote: >>> >>> From: Stephen Warren >>> >>> At the very least when USB keyboard support is enabled, we need to enable >>> C

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 wrote: > On 04/13/2015 11:52 AM, Simon Glass wrote: > ... On 8 April 2015 at 21:07, Simon Glass wrote: > > I have quite a few patches queued up in the next branch of > u-boot-dm, > ready for w

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 > arch/arm/d

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

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 wrote: From: Stephen Warren 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 dev

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 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 much appreciated! ..

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

2015-04-13 Thread Stephen Warren
From: Stephen Warren 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 warnings from being spew

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 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 Acked-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de

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 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 standard distro bootcmds by

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 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 Acked-by: Simon Glass > > --- > > Changes in v3:

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 wrote: > Hi Stephen, > > On 13 April 2015 at 11:36, Stephen Warren wrote: >> >> On 04/13/2015 11:29 AM, Simon Glass wrote: >>> >>> Hi Stephen, >>> >>> On 13 April 2015 at 11:04, Stephen Warren wrote: On 04/13/2015 10:27 AM, Stephen Wa

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 wrote: > Hi Albert, > > On 25.02.2015 23:09, Albert ARIBAUD wrote: > > On Tue, 24 Feb 2015 14:53:36 +0100, Albert ARIBAUD > > wrote: > >> When building a THumb-1-only target with CONFIG_SYS_THUMB_BUILD, > >> some files fail to 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 wrote: > > On 04/13/2015 11:29 AM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 13 April 2015 at 11:04, Stephen Warren wrote: >>> >>> On 04/13/2015 10:27 AM, Stephen Warren wrote: On 04/08/2015 09:11 PM, Simon Glass wrote: >>>

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 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 wrote: Hi, I

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 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 wrote: >>> Hi, I have quite

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 wrote: > From: Stephen Warren > > 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 Warr

[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 relea

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) 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 > 3: * >

[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 arch/arm/dts/s5pc110-pinctrl.dtsi

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

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

2015-04-13 Thread Stephen Warren
From: Stephen Warren 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 --- This feels like a nice fix for the upcoming release if possible. Ev

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

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

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 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 give it a spin on th

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

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 Add a stub s_init function i

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 wrote: Hello, On 04/10/2015 07:57 PM, Simon Glass wrote: Hi Przemyslaw, On 10 April 2015 at 11:50, Przemyslaw Marczak wrote: Hello Simon, On 04/10/2015 07:40 PM, Sim

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 wrote: > Hi Simon, > > On Mon, Apr 13, 2015 at 10:27 PM, Simon Glass wrote: >> Hi Bin, >> >> On 11 April 2015 at 07:48, Bin Meng wrote: >>> Hi Simon, >>> >>> On Sat, Apr 11, 2015 at 9:22 PM, Bin Meng wrote: Hi Simon, On Sat, Apr 11, 20

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, wrote: > > > From: David Feng > > > > Signed-off-by: David Feng > > 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

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 wrote: > Hi Bin, > > On 11 April 2015 at 07:48, Bin Meng wrote: >> Hi Simon, >> >> On Sat, Apr 11, 2015 at 9:22 PM, Bin Meng wrote: >>> Hi Simon, >>> >>> On Sat, Apr 11, 2015 at 1:42 AM, Simon Glass wrote: Hi Bin, On 9 Apri

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, wrote: > From: David Feng > > Signed-off-by: David Feng 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 FVP model? Yours, Linus Walleij _

Re: [U-Boot] Compile minnowboard max error

2015-04-13 Thread Simon Glass
Hi, On 13 April 2015 at 00:00, li yuqian 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 minnowboard max error

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 wrote: > Hello, > > > On 04/10/2015 07:57 PM, Simon Glass wrote: >> >> Hi Przemyslaw, >> >> On 10 April 2015 at 11:50, Przemyslaw Marczak >> wrote: >>> >>> Hello Simon, >>> >>> >>> On 04/10/2015 07:40 PM, Simon Glass wrote:

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 wrote: > Hi Simon, > > On Sat, Apr 11, 2015 at 9:22 PM, Bin Meng wrote: >> Hi Simon, >> >> On Sat, Apr 11, 2015 at 1:42 AM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 9 April 2015 at 06:52, Bin Meng wrote: Hi Simon, On Thu, Apr 9, 2015

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 avai

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 +0

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 > > diff --git a/arch/arm/include/asm/u-boot.h b/arch/arm/include/asm/u-boot.h > index 43cc494..ae4c21

[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 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 +++ b/arch/arm/include/asm/u-boo

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. > > http://git.drogon.net/?p=wiringPi;a=blob_plain;f=wiringPi/wiringPi.c;hb=5edd177112c99416f68ba3e8c6c4db6ed9

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_BUIL

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

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 sd

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 wou

[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,

[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 --- configs/minnowmax_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/minnowmax_defconfig b/configs/minnowmax_defconfig index d124289..d1add19 100644 --- a/configs/minnowmax_defconfig +++ b/con

[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 --- README| 6 -- arch/x86/lib/Makefile | 1 - arch/x86/lib/video.c | 205 -- 3 files changed, 212 deletions(-) delete mode 100644 arch/x86/lib/vide

[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 --- arch/x86/cpu/queensbay/tnc.c

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,

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 > --- > > drivers/mtd/na

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

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 25

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,

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

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

  1   2   >