[U-Boot] [PATCH] doc: README.SPL: adjust for Kbuild and Kconfig

2014-08-05 Thread Masahiro Yamada
Reflect the latest build system to doc/README.SPL. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- doc/README.SPL | 28 ++-- 1 file changed, 6 insertions(+), 22 deletions(-) diff --git a/doc/README.SPL b/doc/README.SPL index 2b4b0b8..c283dcf 100644 ---

[U-Boot] [PATCH] doc: delete README.ARM-SoC

2014-08-05 Thread Masahiro Yamada
This document is too old and useless. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- doc/README.ARM-SoC | 31 --- 1 file changed, 31 deletions(-) delete mode 100644 doc/README.ARM-SoC diff --git a/doc/README.ARM-SoC b/doc/README.ARM-SoC deleted file

Re: [U-Boot] [PATCH v2 02/16] sunxi: dram: Remove broken super-standby remnants

2014-08-05 Thread Ian Campbell
On Sun, 2014-08-03 at 05:32 +0300, Siarhei Siamashka wrote: If the dram-ppwrsctl (SDR_DPCR) register has the lowest bit set to 1, this means that DRAM is currently in self-refresh mode and retaining the old data. Since we have no idea what to do in this situation yet, just set this register to

Re: [U-Boot] [PATCH v2 03/16] sunxi: dram: Respect the DDR3 reset timing requirements

2014-08-05 Thread Ian Campbell
On Sun, 2014-08-03 at 05:32 +0300, Siarhei Siamashka wrote: The RESET pin needs to be kept low for at least 200 us according to the DDR3 spec. So just do it the right way. This issue did not cause any visible major problems earlier, because the DRAM RESET pin is usually already low after the

Re: [U-Boot] [PATCH v2 04/16] sunxi: dram: Fix CKE delay handling for sun4i/sun5i

2014-08-05 Thread Ian Campbell
On Sun, 2014-08-03 at 05:32 +0300, Siarhei Siamashka wrote: Before driving the CKE pin (Clock Enable) high, the DDR3 spec requires to wait for additional 500 us after the RESET pin is de-asserted. The DRAM controller takes care of this delay by itself, using a configurable counter in the

Re: [U-Boot] [PATCH v2 05/16] sunxi: dram: Remove broken impedance and ODT configuration code

2014-08-05 Thread Ian Campbell
On Sun, 2014-08-03 at 05:32 +0300, Siarhei Siamashka wrote: We can safely remove it, because none of the currently supported boards uses these features. The existing implementation had multiple problems: - unnecessary code duplication between sun4i/sun5i/sun7i - ZQ calibration was

Re: [U-Boot] [PATCH v2 06/16] sunxi: dram: Do DDR3 reset in the same way on sun4i/sun5i/sun7i

2014-08-05 Thread Ian Campbell
On Sun, 2014-08-03 at 05:32 +0300, Siarhei Siamashka wrote: The older differences were likely justified by the need to mitigate the CKE delay timing violations on sun4i/sun5i. The CKE problem is already resolved, so now we can use the sun7i variant of this code everywhere. Signed-off-by:

Re: [U-Boot] [PATCH v2 07/16] sunxi: dram: Add 'await_bits_clear'/'await_bits_set' helper functions

2014-08-05 Thread Ian Campbell
On Sun, 2014-08-03 at 05:32 +0300, Siarhei Siamashka wrote: The old 'await_completion' function is not sufficient, because in some cases we want to wait for bits to be cleared, and in the other cases we want to wait for bits to be set. So split the 'await_completion' into two new

Re: [U-Boot] [PATCH v2 08/16] sunxi: dram: Re-introduce the impedance calibration ond ODT

2014-08-05 Thread Ian Campbell
On Sun, 2014-08-03 at 05:32 +0300, Siarhei Siamashka wrote: The DRAM controller allows to configure impedance either by using the calibration against an external high precision 240 ohm resistor, or by skipping the calibration and loading pre-defined data. The DRAM controller register guide is

Re: [U-Boot] [PATCH v2 09/16] sunxi: dram: Configurable MBUS clock speed (use PLL5 or PLL6)

2014-08-05 Thread Ian Campbell
On Sun, 2014-08-03 at 05:32 +0300, Siarhei Siamashka wrote: The sun5i hardware (Allwinner A13) introduced configurable MBUS clock speed. Allwinner A13 uses only 16-bit data bus width to connect the external DRAM, which is halved compared to the 32-bit data bus of sun4i (Allwinner A10), so it

Re: [U-Boot] [PATCH v2 12/16] sunxi: dram: Add a helper function 'mctl_get_number_of_lanes'

2014-08-05 Thread Ian Campbell
On Sun, 2014-08-03 at 05:32 +0300, Siarhei Siamashka wrote: It is going to be useful in more than one place. Signed-off-by: Siarhei Siamashka siarhei.siamas...@gmail.com Acked-by: Ian Campbell i...@hellion.org.uk ___ U-Boot mailing list

Re: [U-Boot] [PATCH v2 13/16] sunxi: dram: Configurable DQS gating window mode and delay

2014-08-05 Thread Ian Campbell
On Sun, 2014-08-03 at 05:32 +0300, Siarhei Siamashka wrote: The hardware DQS gate training is a bit unreliable and does not always find the best delay settings. So we introduce a 32-bit 'dqs_gating_delay' variable, where each byte encodes the DQS gating delay for each byte lane. The delay

Re: [U-Boot] [PATCH v2 14/16] sunxi: dram: Drop DDR2 support and assume only single rank DDR3 memory

2014-08-05 Thread Ian Campbell
On Sun, 2014-08-03 at 05:32 +0300, Siarhei Siamashka wrote: All the known Allwinner A10/A13/A20 devices are using just single rank DDR3 memory. So don't pretend that we support DDR2 or more than one rank, because nobody could ever test these configurations for real and they are likely broken.

[U-Boot] [PATCH 3/3] scripts: objdiff: sync with Linux 3.16

2014-08-05 Thread Masahiro Yamada
Import scripts/objdiff improvements from Linux v3.16, which consists of 7 commits written by me. commit 7fa0e6db3cedc9b70d68a4170f1352e2b1aa0f90 scripts: objdiff: support directories for the augument of record command commit 8ac28bee76eec006aac5ba5c418878a607d53a9b scripts: objdiff: fix

[U-Boot] [PATCH 0/3] Kbuild: sync with Linux 3.16

2014-08-05 Thread Masahiro Yamada
Linux 3.16 is out now. This series imports various Kbuild-related updates from Linux 3.16. I am resending the same series which was put off before. See the reply from Tom Rini http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/188802/focus=189010 Masahiro Yamada (3): kbuild: move extra

[U-Boot] [PATCH 2/3] kbuild: sync mixed targets handling with Linux 3.16

2014-08-05 Thread Masahiro Yamada
make %_config all was supported for the first time in U-Boot: commit 53bca5ab kbuild: support simultaneous board configuration and make all Surprisingly it had not been working in Linux Kernel for a long time. So I sent back the patch to the Linux Kbuild community and it was accepted with a

[U-Boot] [PATCH 1/3] kbuild: move extra gcc checks to scripts/Makefile.extrawarn

2014-08-05 Thread Masahiro Yamada
This commit was imported from Linux Kernel: commit a86fe353 written by me. W=... provides extra gcc checks. Having such code in scripts/Makefile.build results in the same flags being added to KBUILD_CFLAGS multiple times becuase scripts/Makefile.build is invoked every time Kbuild descends into

Re: [U-Boot] [PATCH v2 00/16] sunxi: Allwinner A10/A13/A20 DRAM controller fixes

2014-08-05 Thread Ian Campbell
On Sun, 2014-08-03 at 05:32 +0300, Siarhei Siamashka wrote: This is version 2 of http://lists.denx.de/pipermail/u-boot/2014-July/183981.html Rebased on git://git.denx.de/u-boot-sunxi.git master branch (commit 3340eab26d89176dd0bf543e6d2590665c577423 sun7i: Add bananapi board) This all

Re: [U-Boot] [PATCH 6/7] sunxi: Kconfig: move common settings into a shared code block

2014-08-05 Thread Ian Campbell
On Tue, 2014-08-05 at 09:24 +0800, Chen-Yu Tsai wrote: On Tue, Aug 5, 2014 at 5:26 AM, Ian Campbell i...@hellion.org.uk wrote: On Fri, 2014-08-01 at 09:46 +0200, Hans de Goede wrote: SYS_CPU, SYS_BOARD and SYS_SOC are identical for all sunxi boards, move them to a shared code block.

[U-Boot] [PATCH v2 08/25] arm: marvell: Move arch-kirkwood/spi.h to arch-mvebu/spi.h

2014-08-05 Thread Stefan Roese
This move makes it possible to use this kirkwood SPI driver from other MVEBU platforms as well. This will be used by the upcoming Armada XP support. Signed-off-by: Stefan Roese s...@denx.de --- Changes in v2: None arch/arm/include/asm/{arch-kirkwood = arch-mvebu}/spi.h | 0

[U-Boot] [PATCH v2 03/25] spi: kirkwood_spi.c: Some fixes and cleanup

2014-08-05 Thread Stefan Roese
This patch introduces the clrsetbits_le32() accessor functions in the kirkwood SPI driver. Note that it also includes a fix: -writel(~KWSPI_CSN_ACT | KWSPI_SMEMRDY, spireg-ctrl); +writel(KWSPI_SMEMRDY, spireg-ctrl); Here the bit KWSPI_CSN_ACT (0x1) should have been cleared.

[U-Boot] [PATCH v2 0/25] Add Marvell Armada XP MV78460 SoC support

2014-08-05 Thread Stefan Roese
This patch series adds support for the Marvell Armada XP SoC's. Specifically the MV78460. Basic support for the db-78460-bp evaluation board is added. Supporting the following interfaces: - UART - SPI (including SPI NOR flash) - I2C - Ethernet (neta) While doing this port, I tried to

[U-Boot] [PATCH v2 06/25] arm: kirkwood: Move some SoC files into new arch/arm/mvebu-common

2014-08-05 Thread Stefan Roese
By moving some kirkwood files into a Marvell common directory, those files can be used by other Marvell platforms as well. The name mvebu is taken from the Linux kernel source tree. It has been chosen there to represent the SoC's from the Marvell EBU (Engineering Business Unit). Those SoC's

[U-Boot] [PATCH v2 11/25] spi: kirkwood_spi.c: Compile MPP (pin-mux) only for kirkwood SoC's

2014-08-05 Thread Stefan Roese
Compile the pin multiplexing only on Kirkwood platforms. As the Armada XP doesn't need it. Signed-off-by: Stefan Roese s...@denx.de Cc: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes in v2: None drivers/spi/kirkwood_spi.c | 10 ++ 1 file changed, 10 insertions(+) diff

[U-Boot] [PATCH v2 04/25] spi: kirkwood_spi.c: Make global variable static

2014-08-05 Thread Stefan Roese
Signed-off-by: Stefan Roese s...@denx.de Cc: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes in v2: None drivers/spi/kirkwood_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/kirkwood_spi.c b/drivers/spi/kirkwood_spi.c index 449e9f8..7d1c1f9

[U-Boot] [PATCH v2 01/25] sf: Add M25PX64 SPI NOR flash ID

2014-08-05 Thread Stefan Roese
Add ID for this Numonix / STMicro chip. Tested on Marvell DB-78460-BP board. Signed-off-by: Stefan Roese s...@denx.de Cc: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes in v2: None drivers/mtd/spi/sf_params.c | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH v2 17/25] i2c: mvtwsi: Add support for Marvell Armada XP

2014-08-05 Thread Stefan Roese
To support the Armada XP SoC, we just need to include the correct header. Signed-off-by: Stefan Roese s...@denx.de Cc: Heiko Schocher h...@denx.de --- Changes in v2: None drivers/i2c/mvtwsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/mvtwsi.c

[U-Boot] [PATCH v2 14/25] arm: kirkwood: Change naming of dram functions from km_foo() to mvebu_foo()

2014-08-05 Thread Stefan Roese
Additionally the SDRAM address decoding register address is not hard coded in the C code any more. A define is introduced for this base address. This makes is possible to use those gpio functions from other MVEBU SoC's as well. Signed-off-by: Stefan Roese s...@denx.de --- Changes in v2: None

[U-Boot] [PATCH v2 07/25] arm: marvell: Move arch/kirkwood.h to arch/soc.h

2014-08-05 Thread Stefan Roese
This move makes is possible to use this header not only from kirkwood platforms but from all Marvell mvebu platforms. Signed-off-by: Stefan Roese s...@denx.de --- Changes in v2: None arch/arm/cpu/arm926ejs/kirkwood/cpu.c| 2 +- arch/arm/cpu/arm926ejs/kirkwood/mpp.c

[U-Boot] [PATCH v2 05/25] spi: kirkwood_spi.c: cosmetic: Fix minor coding style issues

2014-08-05 Thread Stefan Roese
Signed-off-by: Stefan Roese s...@denx.de Cc: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes in v2: None drivers/spi/kirkwood_spi.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/spi/kirkwood_spi.c b/drivers/spi/kirkwood_spi.c index

[U-Boot] [PATCH v2 02/25] arm: kirkwood: spi.h: Add some missing parenthesis

2014-08-05 Thread Stefan Roese
Signed-off-by: Stefan Roese s...@denx.de Cc: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes in v2: None arch/arm/include/asm/arch-kirkwood/spi.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/include/asm/arch-kirkwood/spi.h

[U-Boot] [PATCH v2 19/25] arm: armada-xp: Add basic support for the Marvell DB-MV784MP-GP board

2014-08-05 Thread Stefan Roese
This patch adds basic support for the Marvell DB-MV784MP-GP evaulation board. This is the first board that uses the recently created Armada XP 78460 SoC support. Signed-off-by: Stefan Roese s...@denx.de --- Changes in v2: - Renamed target from db-78460-bp to db-mv784mp-gp as this matches the

[U-Boot] [PATCH v2 21/25] arm: kirkwood: Remove some dead code from cpu.c

2014-08-05 Thread Stefan Roese
All those functions removed with this patch are not accessed at all. So lets remove them. Signed-off-by: Stefan Roese s...@denx.de --- Changes in v2: None arch/arm/cpu/arm926ejs/kirkwood/cpu.c | 55 --- 1 file changed, 55 deletions(-) diff --git

[U-Boot] [PATCH v2 10/25] arm: mvebu: Add common mbus functions to use on Marvell SoCs

2014-08-05 Thread Stefan Roese
These mbus functions are ported from Barebox. The Barebox version is ported from Linux. These functions will be first used by the upcoming Armada XP support. Later other Marvell SoC's will be adopted to use these functions as well (Kirkwood, Orion). Signed-off-by: Stefan Roese s...@denx.de ---

[U-Boot] [PATCH v2 22/25] tools/kwboot: Sync with latest barebox version to support Armada XP

2014-08-05 Thread Stefan Roese
The barebox version of the kwboot tool has evolved a bit. To support Armada XP and Dove. Additionally a few minor fixes have been applied. So lets sync with the latest barebox version. Please note that the main difference between both versions now is, that the U-Boot version still supports the -p

[U-Boot] [PATCH v2 12/25] arm: marvell: Extract kirkwood gpio functions into new common file gpio.c

2014-08-05 Thread Stefan Roese
This makes is possible to use those gpio functions from other MVEBU SoC's as well. Signed-off-by: Stefan Roese s...@denx.de --- Changes in v2: None arch/arm/cpu/arm926ejs/kirkwood/cpu.c | 17 -- arch/arm/include/asm/arch-kirkwood/cpu.h| 2 +-

[U-Boot] [PATCH v2 09/25] arm: marvell: Rework timer.c to make it usable for other MVEBU platforms

2014-08-05 Thread Stefan Roese
This patch does the following: - Rename defines and registers to not use kirkwood - Remove unused defines - Use clrsetbits() accessor functions - Coding style cleanup - Clear 25MHZ bit in timer controller register init for Armada XP There is no functional change for kirkwood. At least not

[U-Boot] [PATCH v2 16/25] net: phy.h: Make PHY autonegotiation timeout configurable

2014-08-05 Thread Stefan Roese
The Marvell MV78460 eval board DB-78460-BP seems to need a longer PHY autonegotiation timeout than the standard 4 seconds. So lets make this timeout configurable. If not defined in the board config header the original 4000ms is used. Signed-off-by: Stefan Roese s...@denx.de Cc: Joe Hershberger

[U-Boot] [PATCH v2 18/25] arm: armada-xp: Add basic support for Marvell Armada XP SoC

2014-08-05 Thread Stefan Roese
This basic support for the Marvell Armada XP is base on the existing kirkwood support. Which has been generatized by moving some common files into common marvell locations. This is in preparation for the upcoming Armada XP MV78460 support. Signed-off-by: Stefan Roese s...@denx.de --- Changes in

[U-Boot] [PATCH v2 15/25] net: mvneta.c: Add support for the ethernet controller of the Marvell Armada XP SoC

2014-08-05 Thread Stefan Roese
This patch adds support for the NETA ethernet controller which is integrated in the Marvell Armada XP SoC's. This port is based on the Linux driver which has been stripped of the in U-Boot unused portions. Tested on the Marvell MV78460 eval board db-78460-bp. Signed-off-by: Stefan Roese

[U-Boot] [PATCH v2 23/25] tools: Compile kwboot for Marvell Armada XP as those SoCs are now supported

2014-08-05 Thread Stefan Roese
Signed-off-by: Stefan Roese s...@denx.de Tested-by: Luka Perkov l...@openwrt.org --- Changes in v2: None tools/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/Makefile b/tools/Makefile index 90e966d..7495f17 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -139,6 +139,7 @@

Re: [U-Boot] [PATCH] drivers: rtc: remove dead drivers

2014-08-05 Thread Stefano Babic
Hi Tom, hi Masahiro, On 04/08/2014 19:30, Tom Rini wrote: On Wed, Jul 30, 2014 at 07:20:03PM +0900, Masahiro Yamada wrote: The following configs are not defined at all: - CONFIG_RTC_DS1388 - CONFIG_RTC_ISL1208 - CONFIG_RTC_MX27 - CONFIG_RTC_PL031 - CONFIG_RTC_RS5C372A -

[U-Boot] [PATCH v2 25/25] Makefile: Add CONFIG_BUILD_TARGET to automatically build an special image

2014-08-05 Thread Stefan Roese
Add target to build it automatically upon make / MAKEALL. This can/should be set by board / cpu specific headers if a special U-Boot image is required for this SoC / board. E.g. used by Marvell Armada XP to automatically build the u-boot.kwb target. Signed-off-by: Stefan Roese s...@denx.de Cc:

[U-Boot] [PATCH v2 13/25] spi: kirkwood_spi.c: Change KW_SPI_BASE to MVEBU_SPI_BASE

2014-08-05 Thread Stefan Roese
This makes is possible to use this SPI driver from other MVEBU SoC's as well. As the upcoming Armada XP support will do. Signed-off-by: Stefan Roese s...@denx.de Cc: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes in v2: None arch/arm/include/asm/arch-kirkwood/soc.h | 2 +-

[U-Boot] [PATCH v2 20/25] arm: armada-xp: Add basic support for the maxBCM board

2014-08-05 Thread Stefan Roese
The maxBCM board is equipped with the Marvell Armada-XP MV78460 SoC. It integrates an SPI NOR flash and an Marvell 88E6185 switch. Signed-off-by: Stefan Roese s...@denx.de --- Changes in v2: None arch/arm/Kconfig | 4 +++ board/maxbcm/Kconfig | 19

[U-Boot] [PATCH v2 24/25] tools: kwbimage: Add image version 1 support for Armada XP / 370

2014-08-05 Thread Stefan Roese
This patch integrates the Barebox version of this kwbimage.c file into U-Boot. As this version supports the image version 1 type for the Armada XP / 370 SoCs. It was easier to integrate the existing and known to be working Barebox source than to update the current U-Boot version to support this

[U-Boot] mmc: question about capacity detection

2014-08-05 Thread Hannes Petermaier
hi folks, i am actually trying to enable the enhanced data area on an 4GB emmc device, this i've done successfully with the linux mmc-utils and the card has after this partitioning 2GB user-partition. Linux kernel deals correctly with the card. U-Boot doesn't: MMC: block number 0x301

Re: [U-Boot] [PATCH 12/18] arm: mx6: add support for Compulab cm-fx6 CoM

2014-08-05 Thread Nikita Kiryanov
On 04/08/14 18:12, Marek Vasut wrote: On Monday, August 04, 2014 at 04:41:03 PM, Nikita Kiryanov wrote: On 03/08/14 17:09, Marek Vasut wrote: On Sunday, August 03, 2014 at 09:34:42 AM, Nikita Kiryanov wrote: Add initial support for Compulab CM-FX6 CoM. Support includes MMC, SPI flash, and

Re: [U-Boot] [PATCH] zynq: spl: Add vectors section to linker script

2014-08-05 Thread Michal Simek
On 08/04/2014 12:51 PM, Peter Crosthwaite wrote: The vectors section contains the _start symbol which is used as the program entry point. Add it to the linker script in same fasion as done fashion for regular u-boot. This allows for correct generation of an spl elf with a non-zero entry

Re: [U-Boot] [PATCH 7/7] sunxi: Add environment settings to make extlinux.conf booting work

2014-08-05 Thread Hans de Goede
Hi, On 08/04/2014 11:29 PM, Ian Campbell wrote: On Fri, 2014-08-01 at 15:05 -0500, Dennis Gilmore wrote: On Fri, 01 Aug 2014 12:57:31 -0600 Stephen Warren swar...@wwwdotorg.org wrote: On 08/01/2014 01:46 AM, Hans de Goede wrote: Automatic booting using an extlinux.conf file requires various

Re: [U-Boot] [PATCH 7/7] sunxi: Add environment settings to make extlinux.conf booting work

2014-08-05 Thread Hans de Goede
Hi, On 08/04/2014 11:27 PM, Ian Campbell wrote: On Fri, 2014-08-01 at 09:46 +0200, Hans de Goede wrote: Automatic booting using an extlinux.conf file requires various environment variables to be set. -#define CONFIG_SYS_LOAD_ADDR0x4800 /* default load address */

[U-Boot] u-boot ppc does not work with gcc 4.8

2014-08-05 Thread Dirk Eibach
In my latest u-boot builds I had some strange behaviour that I finally tracked down to not fixed up flash addresses in relocated u-boot. These addresses come from symbols in the .data.rel.ro.local section that is not handled by u-boot linker scripts at the moment. Some background on relro:

Re: [U-Boot] [PATCH v1] arm: include config.h in vectors.S

2014-08-05 Thread Chris Packham
On 14/07/14 17:01, Chris Packham wrote: In order to use configuration flags it is necessary to include config.h. Without this arm targets that use CONFIG_USE_IRQ or CONFIG_SPL_BUILD won't get the correct code. Signed-off-by: Chris Packham judge.pack...@gmail.com --- Resent without

Re: [U-Boot] [PATCH v8] nand/denali: Adding Denali NAND driver support

2014-08-05 Thread Masahiro Yamada
Hi Chin Liang See, Ping again. Is your v9 patch ready? We have made lots of effort to review and test this driver. I want this patch on the mainline and I need your help for that. Please send v9. Thanks Masahiro Yamada On Fri, 11 Jul 2014 20:59:26 +0900 Masahiro Yamada

Re: [U-Boot] [PATCH 06/15] kirkwood: kconfig: refactor Kconfig and defconfig

2014-08-05 Thread Luka Perkov
Hi Masahiro, On Mon, Aug 04, 2014 at 10:19:19PM +0900, Masahiro Yamada wrote: Becuase the board select menu in arch/arm/Kconfig is too big, move the KirkWood board select menu to kirkwood/Kconfig. Consolidate also common settings (CONFIG_SYS_CPU=arm926ejs and CONFIG_SYS_SOC=kirkwood).

Re: [U-Boot] mmc: question about capacity detection

2014-08-05 Thread Hannes Petermaier
On 2014-08-05 09:20, Hannes Petermaier wrote: hi folks, i am actually trying to enable the enhanced data area on an 4GB emmc device, this i've done successfully with the linux mmc-utils and the card has after this partitioning 2GB user-partition. Linux kernel deals correctly with the card.

Re: [U-Boot] [PATCH 0/15] arm: kconfig: move board select menus and other settings to SoC dir

2014-08-05 Thread Michal Simek
On 08/04/2014 03:19 PM, Masahiro Yamada wrote: There are lots of boards supported in ARM architecture. The board select menu in arch/arm/Kconfig is already too fat. This series introduces platform select between arch select and board select. ARCH select (ARM) |-- Platform select

Re: [U-Boot] [PATCH 06/15] kirkwood: kconfig: refactor Kconfig and defconfig

2014-08-05 Thread Masahiro Yamada
Hi Luka, On Tue, 5 Aug 2014 10:54:56 +0200 Luka Perkov l...@openwrt.org wrote: Hi Masahiro, On Mon, Aug 04, 2014 at 10:19:19PM +0900, Masahiro Yamada wrote: Becuase the board select menu in arch/arm/Kconfig is too big, move the KirkWood board select menu to kirkwood/Kconfig.

Re: [U-Boot] Quick guide to Kconfig

2014-08-05 Thread Ian Campbell
On Mon, 2014-08-04 at 17:35 +0200, Hans de Goede wrote: Hi, On 08/04/2014 04:27 PM, Tom Rini wrote: On Fri, Aug 01, 2014 at 01:37:54PM +0900, Masahiro Yamada wrote: [snip] We had multiple entries in boards.cfg per board (with some differences in the options field) and I generated

Re: [U-Boot] [PATCH v2 00/16] sunxi: Allwinner A10/A13/A20 DRAM controller fixes

2014-08-05 Thread Hans de Goede
Hi, On 08/05/2014 09:02 AM, Ian Campbell wrote: On Sun, 2014-08-03 at 05:32 +0300, Siarhei Siamashka wrote: This is version 2 of http://lists.denx.de/pipermail/u-boot/2014-July/183981.html Rebased on git://git.denx.de/u-boot-sunxi.git master branch (commit

Re: [U-Boot] [PATCH 0/15] arm: kconfig: move board select menus and other settings to SoC dir

2014-08-05 Thread Masahiro Yamada
Hi Michal, On Tue, 05 Aug 2014 11:04:14 +0200 Michal Simek mon...@monstr.eu wrote: On 08/04/2014 03:19 PM, Masahiro Yamada wrote: There are lots of boards supported in ARM architecture. The board select menu in arch/arm/Kconfig is already too fat. This series introduces platform

Re: [U-Boot] [PATCH 1/5] mx6: imx-regs: Remove unused 'omux' field from iomux struct

2014-08-05 Thread Stefano Babic
Hi Fabio, On 01/08/2014 13:49, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com 'omux' field is not used anywhere and such layout is not valid for mx6solox. Instead of adding more ifdef's into the structure, let's simply remove this unused 'omux' field.

Re: [U-Boot] [PATCH 06/15] kirkwood: kconfig: refactor Kconfig and defconfig

2014-08-05 Thread Luka Perkov
Hi Masahiro, On Tue, Aug 05, 2014 at 06:08:21PM +0900, Masahiro Yamada wrote: On Tue, 5 Aug 2014 10:54:56 +0200 +config TARGET_DREAMPLUG + bool Dreamplug Board This sould be DramPlug Board. I assume this is a typo. DreamPlug Board ? Yes, sorry. I will fix in v2. Great,

[U-Boot] hw_watchdog

2014-08-05 Thread and...@polkaspots.com
How can I find out if hw_watchdog is enabled on my U-Boot? Is there a timing variable that I need to set in u-boot-env Or that part of the code is executed earlier. Bassically what im experienceing is that sometimes, in some unknown conditions, U-Boot will freeze, at the point when is

Re: [U-Boot] [PATCH] video: add cfb console driver for sunxi

2014-08-05 Thread Hans de Goede
Hi, On 08/02/2014 06:14 PM, Luc Verhaegen wrote: This adds a fixed mode hdmi driver (lcd to be added in future) for the sunxi platform. Current config is such that 8MB is shaved off at the top of the RAM. Simplefb support is available for kernels that know how to use it. I've been trying to

Re: [U-Boot] [PATCH v2 1/3] image: introduce genimg_get_kernel_addr()

2014-08-05 Thread Simon Glass
On 4 August 2014 18:43, Bryan Wu coolo...@gmail.com wrote: Kernel address is normally stored as a string argument of bootm or bootz. This function is taken out from boot_get_kernel() of bootm.c, which can be reused by others. Signed-off-by: Bryan Wu pe...@nvidia.com Tested-by: Stephen Warren

Re: [U-Boot] [PATCH v2 3/3] bootm: use genimg_get_kernel_addr()

2014-08-05 Thread Simon Glass
On 4 August 2014 18:43, Bryan Wu coolo...@gmail.com wrote: Use the new API which is originally taken out from boot_get_kernel of bootm.c Signed-off-by: Bryan Wu pe...@nvidia.com Tested-by: Stephen Warren swar...@nvidia.com Reviewed-by: Stephen Warren swar...@nvidia.com Reviewed-by: Simon

Re: [U-Boot] [PATCH 12/18] arm: mx6: add support for Compulab cm-fx6 CoM

2014-08-05 Thread Marek Vasut
On Tuesday, August 05, 2014 at 09:36:27 AM, Nikita Kiryanov wrote: [...] imx_ddr_size() won't cut it here ? It doesn't handle 4GB correctly (returns 0). I suppose I can make a patch which caps the return value of imx_ddr_size() for MX6 socs to 3840MB. What do you think? That

Re: [U-Boot] hw_watchdog

2014-08-05 Thread Hannes Petermaier
On 2014-08-05 13:07, and...@polkaspots.com wrote: How can I find out if hw_watchdog is enabled on my U-Boot? Is there a timing variable that I need to set in u-boot-env Or that part of the code is executed earlier. Bassically what im experienceing is that sometimes, in some unknown conditions,

Re: [U-Boot] [PATCH 1/3] config: introduce a generic $bootcmd

2014-08-05 Thread Simon Glass
Hi Stephen Dennis, On 4 August 2014 12:04, Stephen Warren swar...@wwwdotorg.org wrote: On 08/04/2014 04:13 AM, Simon Glass wrote: Hi Stephen, On 31 July 2014 17:00, Stephen Warren swar...@wwwdotorg.org wrote: On 07/31/2014 04:03 PM, Simon Glass wrote: Hi Stephen, On 30 July 2014

Re: [U-Boot] SPL broken on i.mx31 platforms

2014-08-05 Thread Fabio Estevam
Hi Magnus, On Mon, Aug 4, 2014 at 5:23 PM, Magnus Lilja lilja.mag...@gmail.com wrote: I have now done some tests on i.MX31 PDK: * v2013.04 and v2014.04 works * v2014.07 and tip of tree as of this mail does not work To make it work (both v2014.07 and tip of tree) I only have to change the

Re: [U-Boot] SPL broken on i.mx31 platforms

2014-08-05 Thread Magnus Lilja
Hi Fabio, On 5 August 2014 14:28, Fabio Estevam feste...@gmail.com wrote: Hi Magnus, On Mon, Aug 4, 2014 at 5:23 PM, Magnus Lilja lilja.mag...@gmail.com wrote: I have now done some tests on i.MX31 PDK: * v2013.04 and v2014.04 works * v2014.07 and tip of tree as of this mail does not work

Re: [U-Boot] [PATCH 01/18] spl: improve spi configuration

2014-08-05 Thread Nikita Kiryanov
On 03/08/14 16:44, Marek Vasut wrote: On Sunday, August 03, 2014 at 09:34:31 AM, Nikita Kiryanov wrote: Currently we can define CONFIG_SPL_SPI_any parameter except SPI MODE. Define CONFIG_SPL_SPI_MODE option, and provide a default value for backwards compatibility. Default values are also

Re: [U-Boot] [PATCH v3 1/4] usb/gadget: fastboot: add sparse image definitions

2014-08-05 Thread Tom Rini
On Thu, Jul 31, 2014 at 10:32:51AM -0700, Steve Rae wrote: On 14-07-30 06:25 PM, Marek Vasut wrote: On Thursday, June 26, 2014 at 10:13:21 PM, Steve Rae wrote: - to prepare for the support of fastboot sparse images Signed-off-by: Steve Rae s...@broadcom.com --- This file is ASIS from:

Re: [U-Boot] [PATCH v5 05/11] exynos: dts: Adjust device tree files for U-Boot

2014-08-05 Thread Tom Rini
On Mon, Aug 04, 2014 at 02:46:02PM -0600, Simon Glass wrote: Hi Tom, On 4 August 2014 09:54, Tom Rini tr...@ti.com wrote: On Mon, Aug 04, 2014 at 06:01:58AM -0600, Simon Glass wrote: Hi Tom, On 30 July 2014 09:34, Simon Glass s...@chromium.org wrote: Hi Tom, On 28 July 2014

Re: [U-Boot] [PATCH 01/18] spl: improve spi configuration

2014-08-05 Thread Marek Vasut
On Tuesday, August 05, 2014 at 03:28:04 PM, Nikita Kiryanov wrote: On 03/08/14 16:44, Marek Vasut wrote: On Sunday, August 03, 2014 at 09:34:31 AM, Nikita Kiryanov wrote: Currently we can define CONFIG_SPL_SPI_any parameter except SPI MODE. Define CONFIG_SPL_SPI_MODE option, and provide a

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

2014-08-05 Thread Simon Glass
Hi Tom, On 4 August 2014 15:23, Tom Rini tr...@ti.com wrote: On Mon, Aug 04, 2014 at 02:41:45PM -0600, Simon Glass wrote: Hi Tom, On 4 August 2014 07:23, Tom Rini tr...@ti.com wrote: On Mon, Jul 28, 2014 at 11:53:27PM -0600, Simon Glass wrote: Buildman has been around for a little over

Re: [U-Boot] [RFC PATCH v2 0/2] Make Python scripts compatible with older versions

2014-08-05 Thread Tom Rini
On Tue, Aug 05, 2014 at 02:05:20AM +, Yan, Miao wrote: OK, what host distribution are you using? I'm going to guess RHEL5 (or compatible)... If so, yes, I think we need to support that as a host platform so long as it's still supported by RedHat. It's CentOS 5, which still has

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

2014-08-05 Thread Simon Glass
Hi Tom, On 5 August 2014 08:06, Simon Glass s...@chromium.org wrote: Hi Tom, On 4 August 2014 15:23, Tom Rini tr...@ti.com wrote: On Mon, Aug 04, 2014 at 02:41:45PM -0600, Simon Glass wrote: Hi Tom, On 4 August 2014 07:23, Tom Rini tr...@ti.com wrote: [ship] I also didn't quite see how

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

2014-08-05 Thread Tom Rini
On Tue, Aug 05, 2014 at 08:06:25AM -0600, Simon Glass wrote: Hi Tom, On 4 August 2014 15:23, Tom Rini tr...@ti.com wrote: On Mon, Aug 04, 2014 at 02:41:45PM -0600, Simon Glass wrote: Hi Tom, On 4 August 2014 07:23, Tom Rini tr...@ti.com wrote: On Mon, Jul 28, 2014 at 11:53:27PM

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

2014-08-05 Thread Simon Glass
Hi Jeroen, On 4 August 2014 14:56, Jeroen Hofstee jer...@myspectrum.nl wrote: Hello Simon, On 04-08-14 22:41, Simon Glass wrote: Hi Tom, On 4 August 2014 07:23, Tom Rini tr...@ti.com wrote: On Mon, Jul 28, 2014 at 11:53:27PM -0600, Simon Glass wrote: Buildman has been around for a

Re: [U-Boot] [PATCH v5 05/11] exynos: dts: Adjust device tree files for U-Boot

2014-08-05 Thread Simon Glass
Hi Tom, On 5 August 2014 08:07, Tom Rini tr...@ti.com wrote: On Mon, Aug 04, 2014 at 02:46:02PM -0600, Simon Glass wrote: Hi Tom, On 4 August 2014 09:54, Tom Rini tr...@ti.com wrote: On Mon, Aug 04, 2014 at 06:01:58AM -0600, Simon Glass wrote: Hi Tom, On 30 July 2014 09:34, Simon

[U-Boot] [PATCH v4 06/13] buildman: Refactor output options

2014-08-05 Thread Simon Glass
We need the output options to be available in several places. It's a pain to pass them into each function. Make them properties of the builder and add a single function to set them up. At the same time, add a function which produces summary output using these options. Signed-off-by: Simon Glass

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

2014-08-05 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

[U-Boot] [PATCH v4 07/13] buildman: Add verbose option to display errors as they happen

2014-08-05 Thread Simon Glass
Normally buildman operates in two passes - one to do the build and another to summarise the errors. Add a verbose option (-v) to display build problems as they happen. With -e also given, this will display errors too. When building the current source tree (rather than a list of commits in a

[U-Boot] [PATCH v4 05/13] buildman: Sort command line options

2014-08-05 Thread Simon Glass
These options have got slightly out of order. Fix them. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Fix typo in commit message Changes in v3: - Add new patch to sort command line options Changes in v2: None tools/buildman/buildman.py | 12 ++-- 1 file changed, 6

[U-Boot] [PATCH v4 01/13] buildman: Fix a few typos

2014-08-05 Thread Simon Glass
There are several typos in the README - fix them. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: None Changes in v3: None Changes in v2: - Add new patch to fix existing typos tools/buildman/README | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[U-Boot] [PATCH v4 02/13] buildman: Add some notes about moving from MAKEALL

2014-08-05 Thread Simon Glass
For those used to MAKEALL, buildman seems strange. Add some notes to ease the transition. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: None Changes in v3: None Changes in v2: - Minor changes to the text tools/buildman/README | 92

[U-Boot] [PATCH v4 09/13] buildman: Add an option to specify the buildman config file

2014-08-05 Thread Simon Glass
Add a new --config-file option (-G) to specify a different configuration file from the default ~/.buildman. Reported-by: Tom Rini tr...@ti.com Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Add new patch to allow the config file to be specified Changes in v3: None Changes in

[U-Boot] [PATCH v4 12/13] buildman: Add a few more toolchain examples to the README

2014-08-05 Thread Simon Glass
The current README is a bit sparse in this area, so add a few more examples. Suggested-by: Tom Rini tr...@ti.com Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Add new path to add a few more toolchain examples to the README Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v4 11/13] buildman: Search for *cc instead of *gcc for the compiler

2014-08-05 Thread Simon Glass
Compiler names normally end with cc, but not always gcc. So update the detection logic. Reported-by: Jeroen Hofstee jer...@myspectrum.nl Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Add new patch to search for *cc instead of *gcc Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v4 04/13] buildman: Move BuilderThread code to its own file

2014-08-05 Thread Simon Glass
The builder.py file is getting too long, so split out some code. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Fix missing import in builder.py Changes in v3: - Add new patch to move BuilderThread code to its own file Changes in v2: None tools/buildman/builder.py |

[U-Boot] [PATCH v4 08/13] buildman: Remove unused non-incremental build method code

2014-08-05 Thread Simon Glass
The non-incremental build method is no longer used, so remove it. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Add new patch to remove unused non-incremental build method code Changes in v3: None Changes in v2: None tools/buildman/builder.py | 34

[U-Boot] [PATCH v4 10/13] buildman: Add a message indicating there are no errors

2014-08-05 Thread Simon Glass
If buildman finds no problems it prints nothing. This can be a bit confusing, so add a message that all is well. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Add new patch to show a message when there are no errors Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v4 13/13] RFC: Deprecate MAKEALL

2014-08-05 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 s...@chromium.org --- Changes in v4: None Changes in v3: None Changes in v2: None MAKEALL | 4 1 file changed, 4 insertions(+)

[U-Boot] [PATCH v4 03/13] buildman: Allow building of current source tree

2014-08-05 Thread Simon Glass
Originally buildman had some support for building the current source tree. However this was dropped before it was submitted, as part of the effort to make it faster when building entire branches. Reinstate this support. If no -b option is given, buildman will build the current source tree.

[U-Boot] Building u-boot for IMX6

2014-08-05 Thread Alexandre Delove
Hello I am trying to build an u-boot for a sabrelite with an IMX6Q, so i downloaded the last package (u-boot-2014.07.tar.bz2) on this link = ftp://ftp.denx.de/../../../pub/u-boot/. When i launched make mx6qsabrelite_config, everything was fine (Configuring for mx6qsabrelite - Board:

Re: [U-Boot] Building u-boot for IMX6

2014-08-05 Thread Fabio Estevam
On Tue, Aug 5, 2014 at 12:31 PM, Fabio Estevam feste...@gmail.com wrote: export CROSS_COMPILE=/usr/bin/arm-linux-gnueabi I meant export CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- (with a minus in the end) ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] Building u-boot for IMX6

2014-08-05 Thread Fabio Estevam
On Tue, Aug 5, 2014 at 12:06 PM, Alexandre Delove alexandre.del...@telecom-paristech.fr wrote: Hello I am trying to build an u-boot for a sabrelite with an IMX6Q, so i downloaded the last package (u-boot-2014.07.tar.bz2) on this link = ftp://ftp.denx.de/../../../pub/u-boot/. When i

Re: [U-Boot] [PATCH v3] ARM: tegra: Add support for norrin board

2014-08-05 Thread Stephen Warren
On 08/04/2014 03:57 PM, Allen Martin wrote: Norrin (PM370) is a Tegra124 clamshell board that is very similar to venice2, but it has a different panel, the sdcard cd and wp sense are flipped, and it has a different revision of the AS3722 PMIC. This board is also refered to as nyan in the

  1   2   >