Re: [U-Boot] [PATCH 23/23] ARM: tegra: Enable PCIe on Jetson TK1

2014-08-28 Thread Tuomas Tynkkynen
On 27/08/14 17:34, Thierry Reding wrote: [...] >>> On my board, this call results in UART corruption, like this: >>> >>> tegra-pcie: non-prefetchable memory: 0x1300-0x2000 >>> tegra-pcie: prefetchable memory: 0x2000-0x4000 >>> ¥É½¥¹½bªÍ¥¹b2x1, 1x1 configuration >>> ¹Í5Rþtegra-

Re: [U-Boot] [PATCH 06/25] dm: spi: Add a uclass for SPI

2014-08-28 Thread Jagan Teki
On 15 July 2014 06:26, Simon Glass wrote: > Add a uclass which provides access to SPI buses and includes operations > required by SPI. > > For a time driver model will need to co-exist with the legacy SPI interface > so some parts of the header file are changed depending on which is in use. > The

[U-Boot] [PATCH v2] nios2: link to CONFIG_SYS_MONITOR_BASE and remove text_base hook

2014-08-28 Thread Thomas Chou
This patch changes the link script to base at CONFIG_SYS_MONITOR_BASE. Then we can remove the text_base hook in nios2-generic board. Signed-off-by: Thomas Chou --- Changes in v2: - Remove text_base_hook() proto in nios2-generic.c arch/nios2/cpu/u-boot.lds |2 + board/alter

Re: [U-Boot] [PATCH v2 13/40] i2c: Add high-level API

2014-08-28 Thread Heiko Schocher
Hello Simon, Am 27.08.2014 21:10, schrieb Simon Glass: Hi Thierry, On 27 August 2014 05:41, Thierry Reding wrote: On Wed, Aug 27, 2014 at 11:56:41AM +0200, Heiko Schocher wrote: Hello Thierry, Am 27.08.2014 10:51, schrieb Thierry Reding: On Wed, Aug 27, 2014 at 09:07:58AM +0200, Heiko Scho

Re: [U-Boot] [PATCH v2 0/6] Introduce low-level debug for ARM architecture

2014-08-28 Thread Przemyslaw Marczak
Hello Masahiro, On 08/28/2014 04:31 AM, Masahiro Yamada wrote: I have been in trouble for a while to debug some nasty problem where neighter a debugger nor printf() function is available. I found the lowlevel debug feature in ARM Linux can be used as is in U-Boot too. I tested this series on

Re: [U-Boot] [PATCH 2/8] ARM: PSCI: Alow arch specific DT patching

2014-08-28 Thread Mark Rutland
Hi Arnab, On Wed, Aug 27, 2014 at 09:29:55PM +0100, Arnab Basu wrote: > Both ARMv7 and ARMv8 need to patch the device tree but the kind > of patching done is different. This creates a function that can be > defined by each architecture to handle the differences I have no problem with the patch, b

Re: [U-Boot] [PATCH] tools/env: change stripping strategy to allow no-stripping

2014-08-28 Thread Sonic Zhang
On Wed, Aug 27, 2014 at 8:29 PM, Thomas Petazzoni wrote: > When building the U-Boot tools for non-ELF platforms (such as Blackfin > FLAT), since commit 79fc0c5f498c3982aa4740c273ab1a9255063d9c > ("tools/env: cross-compile fw_printenv without setting HOSTCC"), the > build fails because it tries to

Re: [U-Boot] [PATCH v2 01/40] vsprintf: Add modifier for phys_addr_t

2014-08-28 Thread Thierry Reding
On Wed, Aug 27, 2014 at 11:41:55AM -0600, Stephen Warren wrote: > On 08/27/2014 01:01 AM, Thierry Reding wrote: > >On Tue, Aug 26, 2014 at 11:04:56AM -0600, Stephen Warren wrote: > >>On 08/26/2014 09:33 AM, Thierry Reding wrote: > >>>From: Thierry Reding > >>> > >>>Provide a new modifier to vsprin

Re: [U-Boot] [PATCH 2/8] ARM: PSCI: Alow arch specific DT patching

2014-08-28 Thread Arnab Basu
Hi Mark On 08/28/2014 03:40 PM, Mark Rutland wrote: Hi Arnab, On Wed, Aug 27, 2014 at 09:29:55PM +0100, Arnab Basu wrote: Both ARMv7 and ARMv8 need to patch the device tree but the kind of patching done is different. This creates a function that can be defined by each architecture to handle th

Re: [U-Boot] [PATCH] arm: zynq: Add compile time boot mode override

2014-08-28 Thread Peter Crosthwaite
Ping! On Wed, Aug 20, 2014 at 10:14 PM, Peter Crosthwaite wrote: > To better enable debug of u-boot itself (in particular SPL). To debug > u-boot you want to put your board in JTAG boot mode for quick recompile > and elf downloads via the JTAG debugger. Yet you may still want to boot > from a per

Re: [U-Boot] [PATCH] ARM: atmel: sama5d3: add timings register

2014-08-28 Thread Andreas Bießmann
On 08/01/2014 10:37 AM, Bo Shen wrote: > Signed-off-by: Bo Shen Reviewed-by: Andreas Bießmann > --- > arch/arm/include/asm/arch-at91/sama5d3_smc.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/include/asm/arch-at91/sama5d3_smc.h > b/arch/arm/include/asm/

Re: [U-Boot] [PATCH] mtd: atmel-nand: use pmecc_readl(b)/pmecc_writel to access the pmecc register

2014-08-28 Thread Andreas Bießmann
On 06/24/2014 12:18 PM, Josh Wu wrote: > We defined the macro pmecc_readl(b)/pmecc_writel for pmecc register access. > But in the driver we also use the readl(b)/writel. > To keep consistent, this patch make all use pmecc_readl(b)/pmecc_writel. > > Signed-off-by: Josh Wu Reviewed-by: Andreas Bie

[U-Boot] [PATCH 1/3] arm: dts: zynq: Add digilent ZYBO board dts

2014-08-28 Thread Peter Crosthwaite
It's a Zynq board similar in design to the currently supported ones. 512MB of RAM and UART1 is used. Signed-off-by: Peter Crosthwaite --- arch/arm/dts/Makefile | 1 + arch/arm/dts/zynq-zybo.dts | 23 +++ 2 files changed, 24 insertions(+) create mode 100644 arch/arm/dts

[U-Boot] [PATCH 0/3] ARM: Zynq: Add ZYBO board

2014-08-28 Thread Peter Crosthwaite
Hi Michal, Steven, This series adds the ZYBO board to u-boot. Some components were originally contributed to the digilent u-boot tree (P2). Thanks to Steven Wang. The original code had a custom u-boot env specific for Zybo but I have dropped that. I have added DTS support - which in general seems

[U-Boot] [PATCH 2/3] configs: zynq: Add config support for ZYBO

2014-08-28 Thread Peter Crosthwaite
From: Tinghui Wang This patch adds config support needed for ZYBO target and has been tested on Rev. B ZYBO hardware. Signed-off-by: Tinghui Wang [PC changes: * Dropped boards.cfg change (rebase conflict) * Dropped custom u-boot env * Added DTS * Misc forward-porting changes ] Signed-off-by

[U-Boot] [PATCH 3/3] kconfig: zynq: Add ZYBO board

2014-08-28 Thread Peter Crosthwaite
Add a defconfig and Kconfigury for the Digilent ZYBO board. Signed-off-by: Peter Crosthwaite --- arch/arm/Kconfig| 3 +++ board/xilinx/zynq/Kconfig | 24 configs/zynq_zybo_defconfig | 3 +++ 3 files changed, 30 insertions(+) create mode 100644 configs/zy

Re: [U-Boot] [PATCH 12/25] dm: spi: Add documentation on how to convert over SPI drivers

2014-08-28 Thread Jagan Teki
On 15 July 2014 06:26, Simon Glass wrote: > This README is intended to help maintainers move their SPI drivers over to > driver model. It works through the required steps with an example. > > Signed-off-by: Simon Glass > --- > > doc/driver-model/spi-howto.txt | 570 > +++

Re: [U-Boot] [PATCH] samsung: s5p_goni: fix: Add missing definitions for G_DNL_UMS gadget

2014-08-28 Thread Minkyu Kang
On 25/08/14 16:26, Lukasz Majewski wrote: > Hi Tom, > >> On 08/22/2014 09:12 AM, Lukasz Majewski wrote: >>> The commit (SHA1: 8fc171318e352) reintroduced correct values for >>> vendor and product IDs required for UMS gadget to work properly >>> either at Windows or Linux. >>> >>> This data was mis

Re: [U-Boot] [PATCH 5/8] ARMv8: PCSI: Add generic ARMv8 PSCI code

2014-08-28 Thread Mark Rutland
Hi Arnab, On Wed, Aug 27, 2014 at 09:29:58PM +0100, Arnab Basu wrote: > Implement core support for PSCI. As this is generic code, it doesn't > implement anything really useful (all the functions are returning > Not Implemented). This is really nice to see! Thanks for working on this. Some functi

Re: [U-Boot] [PATCH 2/3] configs: zynq: Add config support for ZYBO

2014-08-28 Thread Jagan Teki
On 28 August 2014 16:46, Peter Crosthwaite wrote: > From: Tinghui Wang > > This patch adds config support needed for ZYBO target and has > been tested on Rev. B ZYBO hardware. > > Signed-off-by: Tinghui Wang > [PC changes: > * Dropped boards.cfg change (rebase conflict) > * Dropped custom u-bo

Re: [U-Boot] [PATCH v2 1/2] ARM: atmel: sama5d3xek: add nor flash init function

2014-08-28 Thread Andreas Bießmann
On 07/18/2014 10:43 AM, Bo Shen wrote: > Add NOR flash hardware init function, including SMC and PIO > configuration. > > Signed-off-by: Bo Shen Reviewed-by: Andreas Bießmann > --- > Changes in v2: None > > board/atmel/sama5d3xek/sama5d3xek.c | 58 > + >

Re: [U-Boot] [PATCH 1/3] arm: dts: zynq: Add digilent ZYBO board dts

2014-08-28 Thread Jagan Teki
On 28 August 2014 16:46, Peter Crosthwaite wrote: > It's a Zynq board similar in design to the currently supported ones. > 512MB of RAM and UART1 is used. > > Signed-off-by: Peter Crosthwaite > --- > arch/arm/dts/Makefile | 1 + > arch/arm/dts/zynq-zybo.dts | 23 +++ >

Re: [U-Boot] [PATCH 3/3] kconfig: zynq: Add ZYBO board

2014-08-28 Thread Jagan Teki
On 28 August 2014 16:46, Peter Crosthwaite wrote: > Add a defconfig and Kconfigury for the Digilent ZYBO board. > > Signed-off-by: Peter Crosthwaite > --- > arch/arm/Kconfig| 3 +++ > board/xilinx/zynq/Kconfig | 24 > configs/zynq_zybo_defconfig | 3 +++ >

Re: [U-Boot] [PATCH] arm: zynq: Add compile time boot mode override

2014-08-28 Thread Michal Simek
On 08/28/2014 01:02 PM, Peter Crosthwaite wrote: > Ping! > > On Wed, Aug 20, 2014 at 10:14 PM, Peter Crosthwaite > wrote: >> To better enable debug of u-boot itself (in particular SPL). To debug >> u-boot you want to put your board in JTAG boot mode for quick recompile >> and elf downloads via th

Re: [U-Boot] [PATCH] arm: zynq: Add compile time boot mode override

2014-08-28 Thread Jagan Teki
On 28 August 2014 17:28, Michal Simek wrote: > On 08/28/2014 01:02 PM, Peter Crosthwaite wrote: >> Ping! >> >> On Wed, Aug 20, 2014 at 10:14 PM, Peter Crosthwaite >> wrote: >>> To better enable debug of u-boot itself (in particular SPL). To debug >>> u-boot you want to put your board in JTAG boot

Re: [U-Boot] [PATCH] common: fix compiler warning on wrong printf format

2014-08-28 Thread Tom Rini
On Wed, Aug 27, 2014 at 10:27:19AM +1200, Chris Packham wrote: > On Wed, Aug 27, 2014 at 2:02 AM, Alexey Brodkin > wrote: > > bounce_buffer->len_aligned is of type "size_t", but on some arches/compilers > > "size_t" might be an alias to whether "int", "long" or their > > "signed/unsigned" > > fla

Re: [U-Boot] [PATCH 6/8] ARMv8: PSCI: Fixup the device tree for PSCI v0.2

2014-08-28 Thread Mark Rutland
Hi, On Wed, Aug 27, 2014 at 09:29:59PM +0100, Arnab Basu wrote: > Set the enable-method in the cpu node to psci, create the psci > device tree node and also add a reserve section for the psci code > that lives in in normal RAM, so that the kernel leaves it alone > > Signed-off-by: Arnab Basu > R

Re: [U-Boot] [PATCH 2/8] ARM: PSCI: Alow arch specific DT patching

2014-08-28 Thread Mark Rutland
On Thu, Aug 28, 2014 at 11:51:08AM +0100, Arnab Basu wrote: > Hi Mark > > On 08/28/2014 03:40 PM, Mark Rutland wrote: > > Hi Arnab, > > > > On Wed, Aug 27, 2014 at 09:29:55PM +0100, Arnab Basu wrote: > >> Both ARMv7 and ARMv8 need to patch the device tree but the kind > >> of patching done is diff

Re: [U-Boot] [PATCH v9 0/14] Add some missing buildman features and deprecate MAKEALL

2014-08-28 Thread Tom Rini
On Tue, Aug 26, 2014 at 08:54:03PM -0600, Simon Glass wrote: > Hi Tom, > > On 25 August 2014 14:21, Tom Rini wrote: > > On Mon, Aug 25, 2014 at 01:00:05PM -0600, Simon Glass wrote: > >> Hi Tom, > >> > >> On 25 August 2014 12:54, Tom Rini wrote: > >> > On Mon, Aug 25, 2014 at 09:58:21AM -0600, Si

Re: [U-Boot] [PATCH v9 11/14] buildman: Add an option to show which boards caused which errors

2014-08-28 Thread Tom Rini
On Tue, Aug 26, 2014 at 08:59:52PM -0600, Simon Glass wrote: > Hi Tom, > > On 25 August 2014 13:14, Tom Rini wrote: > > On Mon, Aug 25, 2014 at 09:58:32AM -0600, Simon Glass wrote: > >> Add a -l option to display a list of offending boards against each > >> error/warning line. The information wil

Re: [U-Boot] [PATCH] arm: zynq: Add compile time boot mode override

2014-08-28 Thread Peter Crosthwaite
On Thu, Aug 28, 2014 at 10:05 PM, Jagan Teki wrote: > On 28 August 2014 17:28, Michal Simek wrote: >> On 08/28/2014 01:02 PM, Peter Crosthwaite wrote: >>> Ping! >>> >>> On Wed, Aug 20, 2014 at 10:14 PM, Peter Crosthwaite >>> wrote: To better enable debug of u-boot itself (in particular SPL)

Re: [U-Boot] [PATCH] arm: zynq: Add compile time boot mode override

2014-08-28 Thread Peter Crosthwaite
On Thu, Aug 28, 2014 at 9:58 PM, Michal Simek wrote: > On 08/28/2014 01:02 PM, Peter Crosthwaite wrote: >> Ping! >> >> On Wed, Aug 20, 2014 at 10:14 PM, Peter Crosthwaite >> wrote: >>> To better enable debug of u-boot itself (in particular SPL). To debug >>> u-boot you want to put your board in J

Re: [U-Boot] [PATCH] arm: zynq: Add compile time boot mode override

2014-08-28 Thread Michal Simek
On 08/28/2014 02:51 PM, Peter Crosthwaite wrote: > On Thu, Aug 28, 2014 at 9:58 PM, Michal Simek wrote: >> On 08/28/2014 01:02 PM, Peter Crosthwaite wrote: >>> Ping! >>> >>> On Wed, Aug 20, 2014 at 10:14 PM, Peter Crosthwaite >>> wrote: To better enable debug of u-boot itself (in particular

[U-Boot] [U-boot] [Patch] keystone2: use readl/writel functions instead of redefinition

2014-08-28 Thread Ivan Khoronzhuk
There is no reason to redefine pure readl/writel functions. So remove this redundancy. Signed-off-by: Ivan Khoronzhuk Acked-by: Vitaly Andrianov --- Based on "[U-boot] [Patch] ARM: keystone: clock: use correct BWADJ field mask for PASSPLLCTL0" http://lists.denx.de/pipermail/u-boot/2014-August/1

[U-Boot] [PATCH v2] common: fix compiler warning on wrong printf format

2014-08-28 Thread Alexey Brodkin
From: Alexey Brodkin bounce_buffer->len_aligned is of type "size_t" so use "%zd". this fixes following warning: --->--- common/bouncebuf.c: In function "addr_aligned": common/bouncebuf.c:26:3: warning: format "%d" expects argument of type "int", but argument 2 has type "size_t" [-Wformat=] d

[U-Boot] [PATCH] Added support for comments in input to mkenvimage.

2014-08-28 Thread Dominik Muth
>From 4877c78a6b11ebf90fe25376f1362b12d233797a Mon Sep 17 00:00:00 2001 From: Dominik Muth Date: Thu, 28 Aug 2014 12:25:27 +0200 Subject: [PATCH] Added support for comments in input to mkenvimage. This patch adds support for comments in the input to mkenvimage, i.e. in the environment source: All

Re: [U-Boot] [PATCH v5 0/4] Implement "fastboot flash" for eMMC

2014-08-28 Thread Tom Rini
On Wed, Aug 27, 2014 at 09:04:09AM +0200, Lukasz Majewski wrote: > Hi Steve, > > > > > > > On 14-08-26 02:14 AM, Lukasz Majewski wrote: > > > Hi Steve, > > > > > >> > > >> > > >> On 14-08-25 07:57 AM, Lukasz Majewski wrote: > > >>> Hi Steve, > > >>> > > This series implements the "fastboot

Re: [U-Boot] [PATCH v2] common: fix compiler warning on wrong printf format

2014-08-28 Thread Vasili Galka
On Thu, Aug 28, 2014 at 4:15 PM, Alexey Brodkin wrote: > From: Alexey Brodkin > > bounce_buffer->len_aligned is of type "size_t" so use "%zd". > > this fixes following warning: > --->--- > common/bouncebuf.c: In function "addr_aligned": > common/bouncebuf.c:26:3: warning: format "%d" expects arg

Re: [U-Boot] [PATCH v2] common: fix compiler warning on wrong printf format

2014-08-28 Thread Alexey Brodkin
Hi Vasili, On Thu, 2014-08-28 at 17:17 +0300, Vasili Galka wrote: > On Thu, Aug 28, 2014 at 4:15 PM, Alexey Brodkin > wrote: > From: Alexey Brodkin > > bounce_buffer->len_aligned is of type "size_t" so use "%zd". > > this fixes following warning: >

Re: [U-Boot] buildman: suspect issue with patman tags

2014-08-28 Thread Simon Glass
Hi Steve, On 27 August 2014 15:22, Steve Rae wrote: > Another issue may be related to the "combined issue" below) > > Five consecutive builds (with no changes between builds) > (1)does not always generate the "u-boot.bin" file You need to use the -k option to keep the build outputs. Also th

Re: [U-Boot] [PATCH v2] common: fix compiler warning on wrong printf format

2014-08-28 Thread Vasili Galka
On Thu, Aug 28, 2014 at 5:33 PM, Alexey Brodkin < alexey.brod...@synopsys.com> wrote: > Hi Vasili, > > On Thu, 2014-08-28 at 17:17 +0300, Vasili Galka wrote: > > On Thu, Aug 28, 2014 at 4:15 PM, Alexey Brodkin > > wrote: > > From: Alexey Brodkin > > > > bounce_buffer->len_aligne

Re: [U-Boot] buildman: selection question

2014-08-28 Thread Simon Glass
Hi Steve, On 27 August 2014 15:23, Steve Rae wrote: > question: > Two of the boards that I support are almost the same: > Active arm armv7 bcm281xxbroadcom > bcm28155_ap bcm28155_ap - > Active arm armv7 bcm281xxbroadcom > bcm

[U-Boot] Please pull u-boot-x86.git branch patman

2014-08-28 Thread Simon Glass
Hi Tom, This is just for one commit which fixes patman, so it should be applied before we get to the other stuff. (branch 'patman') The following changes since commit 7bee1c91a94db19bd26f92cc67be35d3592c6429: Merge branch 'ag...@denx.de' of git://git.denx.de/u-boot-staging (2014-08-25 08:34:

Re: [U-Boot] [U-Boot, v5, 2/5] lib, list_sort: add list_sort from linux 3.14

2014-08-28 Thread Tom Rini
On Tue, Jun 24, 2014 at 10:10:01AM +0200, Heiko Schocher wrote: > from linux 3.14: > > commit 455c6fdbd219161bd09b1165f11699d6d73de11c > Author: Linus Torvalds > Date: Sun Mar 30 20:40:15 2014 -0700 > > Linux 3.14 > > Needed for the MTD/UBI/UBIFS resync Applied to u-boot/master, thanks!

Re: [U-Boot] [U-Boot, v5, 4/5] lib, linux: move linux specific defines to linux/compat.h

2014-08-28 Thread Tom Rini
On Tue, Jun 24, 2014 at 10:10:03AM +0200, Heiko Schocher wrote: > - move linux specific defines from usb and video code > into linux/compat.h > - move common linux specific defines from include/ubi_uboot.h > to linux/compat.h > - add for new mtd/ubi/ubifs sync new needed linux specific > def

Re: [U-Boot] [U-Boot,v5,1/5] lib, rbtree: resync with Linux-3.14

2014-08-28 Thread Tom Rini
On Tue, Jun 24, 2014 at 10:10:00AM +0200, Heiko Schocher wrote: > resync with linux: > > commit 455c6fdbd219161bd09b1165f11699d6d73de11c > Author: Linus Torvalds > Date: Sun Mar 30 20:40:15 2014 -0700 > > Linux 3.14 > > Needed for the MTD/UBI/UBIFS resync Applied to u-boot/master, thank

Re: [U-Boot] [U-Boot,v5,3/5] linux include: add ERR_CAST

2014-08-28 Thread Tom Rini
On Tue, Jun 24, 2014 at 10:10:02AM +0200, Heiko Schocher wrote: > add missing ERR_CAST to linux/err.h as it is needed for ubi/ubifs support > > Signed-off-by: Heiko Schocher Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, v1, 1/2] mtd, ubi, ubifs: update for the sync with linux v3.14

2014-08-28 Thread Tom Rini
On Tue, Jul 15, 2014 at 04:08:42PM +0200, Heiko Schocher wrote: > while playing with the new mtd/ubi/ubifs sync, found some > small updates for it: > > - add del_mtd_partition() to include/linux/mtd/mtd > - mtd: add a debug_printf > - remove some not used functions > > Signed-off-by: Heiko Schoc

Re: [U-Boot] [RFC PATCH] USB: get rid of warning when compile with debug enabled

2014-08-28 Thread Tom Rini
On Wed, Aug 27, 2014 at 11:36:05PM +0200, Marek Vasut wrote: > On Wednesday, August 27, 2014 at 11:20:45 PM, Tom Rini wrote: > [...] > > > > This is about to be complicated / fixed by the NAND patches that I'm > > > > merging and pushing shortly, so hold on please! > > > > > > Can you please poin

Re: [U-Boot] [U-Boot, v5, 5/5] mtd, ubi, ubifs: resync with Linux-3.14

2014-08-28 Thread Tom Rini
On Tue, Jun 24, 2014 at 10:10:04AM +0200, Heiko Schocher wrote: > resync ubi subsystem with linux: > > commit 455c6fdbd219161bd09b1165f11699d6d73de11c > Author: Linus Torvalds > Date: Sun Mar 30 20:40:15 2014 -0700 > > Linux 3.14 > > A nice side effect of this, is we introduce UBI Fastma

Re: [U-Boot] Should ARM custodian tree pull-reqs still go through the ARM tree ?

2014-08-28 Thread Tom Rini
On Tue, Aug 26, 2014 at 03:47:34PM +0200, Hans de Goede wrote: > Hi All, > > Albert lately seems quite busy, and has a somewhat largish turn around time > for things like pull-reqs. This mail is in no way intended as a complaint > against Albert, we all have personal lives, and we all have period

Re: [U-Boot] [U-Boot,v1,2/2] mtd,ubi,ubifs: sync with linux v3.15

2014-08-28 Thread Tom Rini
On Tue, Jul 15, 2014 at 04:08:43PM +0200, Heiko Schocher wrote: > snyc with linux v3.15: > > commit 1860e379875dfe7271c649058aeddffe5afd9d0d > Author: Linus Torvalds > Date: Sun Jun 8 11:19:54 2014 -0700 > > Linux 3.15 > > Signed-off-by: Heiko Schocher > Cc: Scott Wood > Cc: Tom Rini

[U-Boot] [PATCH v10 01/14] patman: Support the 'reverse' option for 'git log'

2014-08-28 Thread Simon Glass
This option is currently not supported, but needs to be, for buildman to operate as expected. Reported-by: York Sun Signed-off-by: Simon Glass --- Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: - Add new patch to fix the 'reverse' bug Changes in v6: None Changes in

[U-Boot] [PATCH v10 0/14] Add some missing buildman features and deprecate MAKEALL

2014-08-28 Thread Simon Glass
Buildman has been around for a little over a year and is used by a fair number of U-Boot developers. However quite a few people still use MAKEALL. Buildman was intended to replace MAKEALL, so perhaps now is a good time to start that process. The reasons to deprecate MAKEALL are: - We don't want t

[U-Boot] [PATCH v10 04/14] patman: Remove the -a option

2014-08-28 Thread Simon Glass
It seems that this is no longer needed, since checkpatch.pl will catch whitespace problems in patches. Also the option is not widely used, so it seems safe to just remove it. Suggested-by: Masahiro Yamada Signed-off-by: Simon Glass --- Changes in v10: None Changes in v9: None Changes in v8: Non

[U-Boot] [PATCH v10 11/14] buildman: Add an option to show which boards caused which errors

2014-08-28 Thread Simon Glass
Add a -l option to display a list of offending boards against each error/warning line. The information will be shown in brackets as below: 02: wip sandbox: + sandbox arm: + seaboard +(sandbox) arch/sandbox/cpu/cpu.c: In function 'timer_get_us': +(sandbox) arch/sandbox/cpu/cpu.c:40:9:

[U-Boot] [PATCH v10 10/14] buildman: Remove the directory prefix from each error line

2014-08-28 Thread Simon Glass
The full path is long and also includes buildman private directories. Clean this up, so that only a relative U-Boot path is shown. This will change warnings like these: /home/sjg/c/src/third_party/u-boot/buildman5/.bm-work/00/arch/sandbox/cpu/cpu.c: In function 'timer_get_us': /home/sjg/c/src/th

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

2014-08-28 Thread Tom Rini
On Thu, Aug 28, 2014 at 09:00:32AM -0600, Simon Glass wrote: > Hi Tom, > > This is just for one commit which fixes patman, so it should be > applied before we get to the other stuff. > > (branch 'patman') > > > The following changes since commit 7bee1c91a94db19bd26f92cc67be35d3592c6429: > >

[U-Boot] [PATCH v2 0/16] buildman: Expand test coverage

2014-08-28 Thread Simon Glass
Buildman's test coverage is inadequate, particularly in the area of the core builder threads and logic. As a result it is harder to make changes than it should be, since verifying correctness manually is tedious. The existing output test relies on the user to verify that things look OK. This is ge

[U-Boot] [PATCH v10 03/14] patman: Correct unit tests to run correctly

2014-08-28 Thread Simon Glass
It seems that doctest behaves differently now, and some of the unit tests do not run. Adjust the tests to work correctly. ./tools/patman/patman --test Signed-off-by: Simon Glass --- Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: - Add new patch

[U-Boot] [PATCH v10 05/14] patman: Use --no-pager' to stop git from forking a pager

2014-08-28 Thread Simon Glass
In a headless environment the pager can apparently hang. We don't want a pager anyway so let's request that none be used. Reported-by: Tom Rini Signed-off-by: Simon Glass --- Changes in v10: None Changes in v9: None Changes in v8: - Add new patch to disable the pager in git Changes in v7: None

[U-Boot] [PATCH v10 06/14] patman: Avoid changing the order of tags

2014-08-28 Thread Simon Glass
patman collects tags that it sees in the commit and places them nicely sorted at the end of the patch. However, this is not really necessary and in fact is apparently not desirable. Suggested-by: Masahiro Yamada Signed-off-by: Simon Glass --- Changes in v10: None Changes in v9: - Add new patch

[U-Boot] [PATCH v10 12/14] buildman: Separate out display of warnings and errors

2014-08-28 Thread Simon Glass
Some boards unfortunately build with warnings and it is useful to be able to easily distinguish the warnings from the errors. Use a simple pattern match to categorise gcc output into warnings and errors, and display each separately. New warnings are shown in magenta (with a w+ prefix) and fixed wa

[U-Boot] [PATCH v10 13/14] patman: Fix detection of git version

2014-08-28 Thread Simon Glass
A missing 'global' declaration means that this feature does not currently work. Fix it. Signed-off-by: Simon Glass --- Changes in v10: None Changes in v9: - Add new patch to fix detection of git version Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None tools/patm

[U-Boot] [PATCH v10 09/14] buildman: Implement an option to exclude boards from the build

2014-08-28 Thread Simon Glass
Some boards are known to be broken and it is convenient to be able to exclude them from the build. Add an --exclude option to specific boards to exclude. This uses the same matching rules as the normal 'include' arguments, and is a comma- separated list of regular expressions. Suggested-by: York

[U-Boot] [PATCH v10 14/14] RFC: Deprecate MAKEALL

2014-08-28 Thread Simon Glass
Since buildman now includes most of the features of MAKEALL it is probably time to talk about deprecating MAKEALL. Comments welcome. Signed-off-by: Simon Glass --- Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: - Remove already-applied patches from the series - Add

[U-Boot] [PATCH v10 07/14] buildman: Set the return code to indicate build result

2014-08-28 Thread Simon Glass
When buildman finds errors/warnings when building, set the return code to indicate this. Suggested-by: York Sun Signed-off-by: Simon Glass --- Changes in v10: None Changes in v9: - Add new patch to set the return code to indicate build result Changes in v8: None Changes in v7: None Changes in

[U-Boot] [PATCH v10 08/14] buildman: Allow make-flags variables to include '-' and '_'

2014-08-28 Thread Simon Glass
These characters are commonly used in variables, so permit them. Also document the permitted characters. Reported-by: Tom Rini Signed-off-by: Simon Glass --- Changes in v10: None Changes in v9: - Add new patch to allow make-flags variables to include '-' and '_' Changes in v8: None Changes in

[U-Boot] [PATCH v10 02/14] patman: Fix indentation in terminal.py

2014-08-28 Thread Simon Glass
This code came from a different project with 2-character indentation. Fix it for U-Boot. Signed-off-by: Simon Glass --- Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: - Add new patch to fix indentation in teminal.py Changes in v5: None tools/pa

Re: [U-Boot] [PATCH v2] README.kconfig: document backward compatibility "make *_config"

2014-08-28 Thread Stephen Warren
On 08/27/2014 07:56 PM, Masahiro Yamada wrote: Commit 3ff291f371fa9858426774f3732924bacb61ed1c (kconfig: convert Kconfig helper script into a shell script) restored "_config" target for backward compatibility. It should be documented. Reviewed-by: Stephen Warren ___

[U-Boot] [PATCH v2 06/16] buildman: Move full help code into the control module

2014-08-28 Thread Simon Glass
There is no good reason to keep this code separate. Move it into control.py so it is easier to test. Signed-off-by: Simon Glass --- Changes in v2: None tools/buildman/buildman.py | 6 -- tools/buildman/control.py | 8 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a

[U-Boot] [PATCH v2 16/16] buildman: Expand output test to cover directory prefixes

2014-08-28 Thread Simon Glass
Now that buildman supports removing the build directory prefix from output, add a test for it. Also ensure that output directories are removed when the test completes. Signed-off-by: Simon Glass --- Changes in v2: - Add patch to expand output test to cover directory prefixes tools/buildman/tes

[U-Boot] [PATCH v2 08/16] buildman: Add a functional test

2014-08-28 Thread Simon Glass
Buildman currently lacks testing in many areas, including its use of git, make and many command-line flags. Add a functional test which covers some of these areas. So far it does a fake 'build' of all boards for the current source tree. This version reads the real ~/.buildman and boards.cfg files

[U-Boot] [PATCH v2 10/16] buildman: Avoid looking at config file or toolchains in tests

2014-08-28 Thread Simon Glass
These files may not exist in the environment, or may not be suitable for testing. Provide our own config file and our own toolchains when running tests. Signed-off-by: Simon Glass --- Changes in v2: None tools/buildman/bsettings.py | 15 ++- tools/buildman/func_test.py | 19 +++

[U-Boot] [PATCH v2 09/16] buildman: Set up bsettings outside the control module

2014-08-28 Thread Simon Glass
Move the bsettings code back to the main buildman.py file, so we can do something different when testing. Signed-off-by: Simon Glass --- Changes in v2: None tools/buildman/buildman.py | 2 ++ tools/buildman/control.py | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/

[U-Boot] [PATCH v2 02/16] buildman: Send builder output through a function for testing

2014-08-28 Thread Simon Glass
To allow us to verify the builder's console output, send it through a function which can collect it when running in test mode. Signed-off-by: Simon Glass --- Changes in v2: None tools/buildman/builder.py | 58 --- 1 file changed, 30 insertions(+), 28

[U-Boot] [PATCH v2 04/16] patman: RunPipe() should not pipe stdout/stderr unless asked

2014-08-28 Thread Simon Glass
RunPipe() currently pipes the output of stdout and stderr to a pty, but this is not the intended behaviour. Fix it. Signed-off-by: Simon Glass --- Changes in v2: None tools/patman/command.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/patman/command.py b/tools/patman/command.py

[U-Boot] [PATCH v2 11/16] buildman: Allow tests to have their own boards

2014-08-28 Thread Simon Glass
Rather than reading boards.cfg, which may take time to generate and is not necessarily suitable for running tests, create our own list of boards. Signed-off-by: Simon Glass --- Changes in v2: None tools/buildman/control.py | 25 ++--- tools/buildman/func_test.py | 20

[U-Boot] [PATCH v2 03/16] buildman: Enhance basic test to check summary output

2014-08-28 Thread Simon Glass
Adjust the basic test so that it checks all console output. This will help to ensure that the builder is behaving correctly with printing summary information. Signed-off-by: Simon Glass --- Changes in v2: None tools/buildman/test.py | 101 ++--- 1 fi

[U-Boot] [PATCH v2 07/16] patman: Provide a way to intercept commands for testing

2014-08-28 Thread Simon Glass
Add a test point for the command module. This allows tests to emulate the execution of commands. This provides more control (since we can make the fake 'commands' do whatever we like), makes it faster to write tests since we don't need to set up as much environment, and speeds up test execution. S

[U-Boot] [PATCH v2 14/16] patman: Start with a clean series when needed

2014-08-28 Thread Simon Glass
For reasons that are not well-understood, GetMetaDataForList() can end up adding to an existing series even when it appears that it should be starting a new one. Change from using a default constructor parameter to an explicit one, to work around this problem. Signed-off-by: Simon Glass --- Cha

[U-Boot] Please pull u-boot-arm/master

2014-08-28 Thread Tom Rini
Hi me, The following changes since commit e76b933e02e1b38e48754c435e9dba1c0deeb3c6: Prepare v2014.10-rc1 (2014-08-06 09:12:58 -0400) are available in the git repository at: git://git.denx.de/u-boot-arm next for you to fetch changes up to 1899fac925eda817e12234aef3d01d354788662e: Merge b

Re: [U-Boot] [PATCH v5 0/4] Implement "fastboot flash" for eMMC

2014-08-28 Thread Steve Rae
On 14-08-28 06:24 AM, Tom Rini wrote: On Wed, Aug 27, 2014 at 09:04:09AM +0200, Lukasz Majewski wrote: Hi Steve, On 14-08-26 02:14 AM, Lukasz Majewski wrote: Hi Steve, On 14-08-25 07:57 AM, Lukasz Majewski wrote: [.. snip ...] Is fair as I know bsd-3L-clause license is compatib

Re: [U-Boot] buildman: selection question

2014-08-28 Thread Steve Rae
Ahhh -- that would work! Thanks, Steve On 14-08-28 07:54 AM, Simon Glass wrote: Hi Steve, On 27 August 2014 15:23, Steve Rae wrote: question: Two of the boards that I support are almost the same: Active arm armv7 bcm281xxbroadcom bcm28155_ap bcm28155_ap

Re: [U-Boot] [U-Boot, v1, 3/4] cleanup code which handles the Android sparse image format

2014-08-28 Thread Tom Rini
On Sat, Aug 23, 2014 at 10:39:02AM -0700, Steve Rae wrote: > - update license format > - port dprintf() to debug() > - update formatting > > Signed-off-by: Steve Rae > --- > > Licenses/bsd-3L-clause.txt | 24 + > common/aboot.c | 120 > +---

Re: [U-Boot] buildman: suspect issue with patman tags

2014-08-28 Thread Steve Rae
On 14-08-28 07:45 AM, Simon Glass wrote: Hi Steve, On 27 August 2014 15:22, Steve Rae wrote: [... snip ...] *From:*Steve Rae *Sent:* Monday, August 25, 2014 09:06 *To:* Simon Glass *Subject:* buildman: issue with patman tags Simon, When I combine multiple patch-series, each with their

Re: [U-Boot] [U-Boot, v1, 3/4] cleanup code which handles the Android sparse image format

2014-08-28 Thread Steve Rae
OK - AWESOME! Can you just update the one line, ( and drop the bsd-3l-clause.txt ) Or would you like me to submit a "v2" ? Thanks, Steve On 14-08-28 10:11 AM, Tom Rini wrote: On Sat, Aug 23, 2014 at 10:39:02AM -0700, Steve Rae wrote: - update license format - port dprintf() to debug() - upd

Re: [U-Boot] [U-Boot, v1, 3/4] cleanup code which handles the Android sparse image format

2014-08-28 Thread Tom Rini
On Thu, Aug 28, 2014 at 10:24:32AM -0700, Steve Rae wrote: > OK - AWESOME! > > Can you just update the one line, ( and drop the bsd-3l-clause.txt ) > Or would you like me to submit a "v2" ? Lets just do a v2 for clarity. > > Thanks, Steve > > > On 14-08-28 10:11 AM, Tom Rini wrote: > >On Sat

[U-Boot] [PATCH v2 2/4] update code which handles Android sparse image format

2014-08-28 Thread Steve Rae
- remove unnecessary functions Signed-off-by: Steve Rae --- Changes in v2: None common/aboot.c | 2438 1 file changed, 2438 deletions(-) diff --git a/common/aboot.c b/common/aboot.c index 3b5092d..a302c92 100644 --- a/common/aboot.c +++

[U-Boot] [PATCH v2 3/4] cleanup code which handles the Android sparse image format

2014-08-28 Thread Steve Rae
- update license format - port dprintf() to debug() - update formatting Signed-off-by: Steve Rae --- Changes in v2: - use BSD-3-Clause common/aboot.c | 120 ++--- 1 file changed, 55 insertions(+), 65 deletions(-) diff --git a/common/aboot.c

[U-Boot] [PATCH v2 0/4] Implement "sparse format" for fastboot

2014-08-28 Thread Steve Rae
This series implements the "sparse format" file handling for fastboot. - [1/4] brings in the pristine file "aboot.c" - [2/4] deletes all unnecessary functions in "aboot.c" - [3/4] is a simple cleanup of "aboot.c" - [4/4] provides the implementation of "aboot.c" suitable for U-Boot Changes in v2: -

[U-Boot] [PATCH v2 4/4] implement the Android sparse image format

2014-08-28 Thread Steve Rae
update to provide usable implementation to U-Boot Signed-off-by: Steve Rae --- Changes in v2: None common/aboot.c| 128 +- include/aboot.h | 28 +++ include/sparse_defs.h | 7 +++ 3 files changed, 110 insertions(+), 53 de

[U-Boot] [PATCH v2 1/4] add code to handle Android sparse image format

2014-08-28 Thread Steve Rae
Add original file (pristine) from : https://www.codeaurora.org/cgit/quic/la/kernel/lk/plain/app/aboot/aboot.c?h=master [3b5092d20bd15a7a2879c13e9f64acc48d04af2d] Signed-off-by: Steve Rae --- Changes in v2: None common/aboot.c | 2643

Re: [U-Boot] [PATCH v3 0/5] Introducing the Broadcom Cygnus and NSP boards.

2014-08-28 Thread Steve Rae
On 14-08-11 01:58 PM, Steve Rae wrote: This series adds the bcm958300k and the bcm958622hr boards which share the iproc architecture code. Changes in v3: - remove boards.cfg - improve error checking of configs - add required files for Kconfig Changes in v2: - remove unused include file - refo

Re: [U-Boot] [PATCH v2 1/3] arm: bcm281xx: Add Ethernet Clock support

2014-08-28 Thread Steve Rae
On 14-08-01 08:37 PM, Steve Rae wrote: From: Jiandong Zheng Enable Ethernet clock when Broadcom StarFighter2 Ethernet block (CONFIG_BCM_SF2_ETH) is enabled. Signed-off-by: Jiandong Zheng Signed-off-by: Steve Rae --- - with the changes to boards.cfg, the board with this feature will be adde

[U-Boot] [U-boot] [Patch 2/4] keystone2: keystone_nav: don't use hard addresses in netcp_pktdma

2014-08-28 Thread Ivan Khoronzhuk
Use definitions in netcp_pktdma instead direct addresses. The definitions can be set specifically for SoC, so there is no reason to check SoC type while initialization. Acked-by: Vitaly Andrianov Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/keystone_nav.c | 39

[U-Boot] [U-boot] [Patch 1/4] keystone2: keystone_nav: don't use hard addresses in qm_config

2014-08-28 Thread Ivan Khoronzhuk
Use definitions in qm_config. The definitions can be set specifically for SoC, so there is no reason to check SoC type while initialization. Acked-by: Vitaly Andrianov Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/keystone_nav.c| 49 +++ arch/arm/inc

[U-Boot] [U-boot] [Patch 3/4] dma: keystone_nav: move keystone_nav driver to driver/dma/

2014-08-28 Thread Ivan Khoronzhuk
The keystone_nav is used by drivers/net/keystone_net.c driver to send and receive packets, but currently it's placed at keystone arch sources. So it should be in the drivers directory also. It's separate driver that can be used for sending and receiving pktdma packets by others drivers also. This

[U-Boot] [U-boot] [Patch 0/4] keystone2: generalize navigator driver usage

2014-08-28 Thread Ivan Khoronzhuk
This series generalize keystone_nav driver usage in order to add keystone2 K2E/K2L SoCs support. Based on "[U-boot] [Patch] keystone2: use readl/writel functions instead of redefinition" http://patchwork.ozlabs.org/patch/383829 Ivan Khoronzhuk (4): keystone2: keystone_nav: don't use hard addres

[U-Boot] [U-boot] [Patch 4/4] dma: keystone_nav: generalize driver usage

2014-08-28 Thread Ivan Khoronzhuk
The keystone_nav driver is general driver intended to be used for working with queue manager and pktdma for different IPs like NETCP, AIF, FFTC, etc. So the it's API shouldn't be named like it works only with one of them, it should be general names. The names with prefix like netcp_* rather do for

  1   2   >