[U-Boot] [PATCH 3/5] iMX6DL:SABRESD: Add new DDR script

2014-09-02 Thread Ye . Li
Add specified mx6dl_4x_mt41j128.cfg DDR script for iMX6DLSABRESD board. Not share from nitrogen6x. The default boot device also changes to SD card. Signed-off-by: Ye.Li b37...@freescale.com --- board/freescale/mx6sabresd/mx6dl_4x_mt41j128.cfg | 130 ++

[U-Boot] [PATCH 4/5] iMX6Solo:SABRESD: Add the i.MX6Solo SABRESD board support

2014-09-02 Thread Ye . Li
The i.MX6solo SABRE-SD board configuration has the following difference with i.MX6dl sabre-sd: - DDR bus width: 32bit - DDR capacity: 512M Signed-off-by: Ye.Li b37...@freescale.com --- board/freescale/mx6sabresd/mx6solo_4x_mt41j128.cfg | 106

[U-Boot] [PATCH 5/5] iMX6Solo:SABREAUTO: Add the i.MX6Solo SABREAUTO board support

2014-09-02 Thread Ye . Li
This patch is to add the i.MX6solo sabreauto support, The i.MX6solo sabreauto board configuration has the following difference with i.MX6dl sabreauto: - DDR bus width: 32bit - DDR capacity: 1024M Signed-off-by: Ye.Li b37...@freescale.com --- board/freescale/mx6qsabreauto/mx6solo.cfg | 106

[U-Boot] [PATCH 2/5] iMX6Q:SABREAUTO: Rename the imximage.cfg to mx6q.cfg

2014-09-02 Thread Ye . Li
Rename the imximage.cfg to mx6q.cfg. No function change at all Signed-off-by: Ye.Li b37...@freescale.com --- board/freescale/mx6qsabreauto/imximage.cfg | 129 board/freescale/mx6qsabreauto/mx6q.cfg | 129

[U-Boot] [PATCH 1/5] iMX6Q/DL:SABREAUTO/SABRESD: Move DDR and FDT configs to defconfig

2014-09-02 Thread Ye . Li
To support more iMX6 variants, 1. Make the DDR size configurable based on the defconfig file 2. Make the FDT file configurable based on the defconfig file Signed-off-by: Ye.Li b37...@freescale.com --- board/freescale/mx6qsabreauto/mx6qsabreauto.c |2 +-

[U-Boot] [GIT] Pull request: u-boot-dfu

2014-09-02 Thread Lukasz Majewski
Dear Marek, The following changes since commit 74c0d756dea14855bec47f380b6ccb557be5db7c: usb: hub: don't check CONNECTION in hub_port_reset() (2014-08-29 11:27:43 +0200) are available in the git repository at: u-boot-denx-usb/master for you to fetch changes up to

Re: [U-Boot] tools-only build broken

2014-09-02 Thread Ian Campbell
On Sun, 2014-08-31 at 21:54 -0700, Simon Glass wrote: Hi, On 30 August 2014 19:44, Ian Campbell i...@hellion.org.uk wrote: On Sat, 2014-08-30 at 13:40 +0400, Matwey V. Kornilov wrote: 30.08.2014 04:04, Ian Campbell пишет: In the meantime touch include/config/auto.conf lets it build

[U-Boot] [PATCH] ARM: at91sam9rlek: convert to generic board support

2014-09-02 Thread Josh Wu
Signed-off-by: Josh Wu josh...@atmel.com --- include/configs/at91sam9rlek.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/at91sam9rlek.h b/include/configs/at91sam9rlek.h index 3747098..b8d5dd1 100644 --- a/include/configs/at91sam9rlek.h +++ b/include/configs/at91sam9rlek.h

[U-Boot] [PATCH] ARM: at91sam9n12ek: convert to generic board support

2014-09-02 Thread Josh Wu
Signed-off-by: Josh Wu josh...@atmel.com --- include/configs/at91sam9n12ek.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/at91sam9n12ek.h b/include/configs/at91sam9n12ek.h index 9b0e588..f02fce9 100644 --- a/include/configs/at91sam9n12ek.h +++

[U-Boot] [PATCH v4] arm: tegra: initial support for apalis t30

2014-09-02 Thread Marcel Ziswiler
This patch adds board support for the Toradex Apalis T30 a computer on module which can be used on different carrier boards. For the sake of ease of use we do not distinguish between different carrier boards for now as the base module features are deemed sufficient enough for regular booting.

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

2014-09-02 Thread Mark Rutland
On Mon, Sep 01, 2014 at 07:43:18PM +0100, Mark Rutland wrote: Hi, diff --git a/arch/arm/cpu/armv8/cpu-dt.c b/arch/arm/cpu/armv8/cpu-dt.c index 9792bc0..c2c8fe7 100644 --- a/arch/arm/cpu/armv8/cpu-dt.c +++ b/arch/arm/cpu/armv8/cpu-dt.c @@ -9,7 +9,69 @@ #include fdt_support.h

[U-Boot] [PATCH] mtd: atmel_nand: Disable subpage NAND write when using Atmel PMECC

2014-09-02 Thread Boris BREZILLON
Disable subpage write when using PMECC to prevent buggy partial page write. This fix has been taken from linux sources (see commit 90445ff6241e2a13445310803e2efa606c61f276) Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- Hi, Here is a link to the linux commit:

[U-Boot] [PATCH v3 5/6] MAINTAINERS: add me as a maintainer of UniPhier platform

2014-09-02 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v3: None Changes in v2: - Newly added MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index af194ca..cb5b3f0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -149,6 +149,14

[U-Boot] [PATCH v3 2/6] serial: add UniPhier serial driver

2014-09-02 Thread Masahiro Yamada
The driver for on-chip UART used on Panasonic UniPhier platform. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v3: None Changes in v2: - Use const unsigned int mode_x_div = 16 instead of #define MODE_X_DIV 16 - Use DIV_ROUND_CLOSEST() macro to compute the

[U-Boot] [PATCH v3 1/6] nand: denali: add Denali NAND driver for SPL

2014-09-02 Thread Masahiro Yamada
The SPL-mode driver for Denali(Cadence) NAND Flash Memory Controller IP. This driver requires two CONFIG macros: - CONFIG_NAND_DENALI Define to enable this driver. - CONFIG_SYS_NAND_BAD_BLOCK_POS Specify bad block mark position in the oob space. Typically 0. Signed-off-by: Masahiro

[U-Boot] [PATCH v3 6/6] git-mailrc: add me as a maintainer of UniPhier platform

2014-09-02 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v3: None Changes in v2: - Rebase doc/git-mailrc | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/git-mailrc b/doc/git-mailrc index 0fba100..35f2eb2 100644 --- a/doc/git-mailrc +++ b/doc/git-mailrc @@ -63,6 +63,7 @@

[U-Boot] [PATCH v3 4/6] arm: uniphier: add Kconfig and defconfig

2014-09-02 Thread Masahiro Yamada
Add entries for Panasonic UniPhier family: PH1-LD4, PH1-Pro4, PH1-sLD8 Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v3: - Rebase on the current u-boot/master Changes in v2: - Rebase on the current u-boot/master arch/arm/Kconfig| 5 +

[U-Boot] [PATCH v3 0/6] Add support for Panasonic UniPhier SoCs/boards

2014-09-02 Thread Masahiro Yamada
UniPhier is the SoC family developed by Panasonic Corporation, based on ARM Cortex-A9. This patch set adds its SoC/board support code with some drivers. This series depends on the Denali NAND driver patch: http://patchwork.ozlabs.org/patch/381305/ It must be applied first. Masahiro Yamada

[U-Boot] Fwd: Recommended SH toolchain

2014-09-02 Thread Vasili Galka
Hi Tom, On Thu, Aug 21, 2014 at 2:07 PM, Vasili Galka vvv...@gmail.com wrote: Hi Nobuhiro, I'm trying to verify the correct build of all SH boards in U-Boot. What is the recommended toolchain to use? I tried the one from kernel.org [1], but it does not work for all the boards, I get

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

2014-09-02 Thread Stefan Roese
Signed-off-by: Stefan Roese s...@denx.de Cc: Jagannadha Sutradharudu Teki jaga...@xilinx.com Acked-by: Prafulla Wadaskar prafu...@marvell.com Tested-by: Luka Perkov l...@openwrt.org --- Changes in v3: - Added Acked-by from Prafulla to all Kirkwood patches - Added Tested-by from Luka Changes in

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

2014-09-02 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 Acked-by: Prafulla Wadaskar prafu...@marvell.com Reviewed-by: Jagannadha Sutradharudu Teki

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

2014-09-02 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 Acked-by: Prafulla Wadaskar prafu...@marvell.com Tested-by: Luka Perkov l...@openwrt.org --- Changes in v3: - Added Acked-by from Prafulla to all Kirkwood patches - Added

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

2014-09-02 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 v3: None Changes in v2: None arch/arm/cpu/arm926ejs/kirkwood/cpu.c | 55 --- 1 file changed, 55 deletions(-) diff

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

2014-09-02 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 v3 24/25] tools: kwbimage: Add image version 1 support for Armada XP / 370

2014-09-02 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] [PATCH v3 19/25] arm: armada-xp: Add basic support for the Marvell DB-MV784MP-GP board

2014-09-02 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 Tested-by: Luka Perkov l...@openwrt.org --- Changes in v3: - Added Tested-by from Luka -

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

2014-09-02 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 Tested-by:

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

2014-09-02 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 v3 03/25] spi: kirkwood_spi.c: Some fixes and cleanup

2014-09-02 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 v3 20/25] arm: armada-xp: Add basic support for the maxBCM board

2014-09-02 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 v3: - Rebased on current top-of-tree (git ID a1263632) Changes in v2: None arch/arm/Kconfig | 4

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

2014-09-02 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 Acked-by: Heiko Schocher h...@denx.de Tested-by: Luka Perkov l...@openwrt.org --- Changes in v3: - Added Tested-by from Luka - Added Acked-by from Heiko Changes in v2: None

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

2014-09-02 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 v3 23/25] tools: Compile kwboot for Marvell Armada XP as those SoCs are now supported

2014-09-02 Thread Stefan Roese
Signed-off-by: Stefan Roese s...@denx.de Tested-by: Luka Perkov l...@openwrt.org --- Changes in v3: None 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

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

2014-09-02 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 Tested-by: Luka Perkov l...@openwrt.org --- Changes in v3: - Added Tested-by from Luka Changes in v2: None

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

2014-09-02 Thread Stefan Roese
Signed-off-by: Stefan Roese s...@denx.de Cc: Jagannadha Sutradharudu Teki jaga...@xilinx.com Tested-by: Luka Perkov l...@openwrt.org --- Changes in v3: - Added Tested-by from Luka Changes in v2: None arch/arm/include/asm/arch-kirkwood/spi.h | 8 1 file changed, 4 insertions(+), 4

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

2014-09-02 Thread Stefan Roese
Signed-off-by: Stefan Roese s...@denx.de Cc: Jagannadha Sutradharudu Teki jaga...@xilinx.com Acked-by: Prafulla Wadaskar prafu...@marvell.com Tested-by: Luka Perkov l...@openwrt.org --- Changes in v3: - Added Acked-by from Prafulla to all Kirkwood patches - Added Tested-by from Luka Changes in

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

2014-09-02 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 v3 11/25] spi: kirkwood_spi.c: Compile MPP (pin-mux) only for kirkwood SoC's

2014-09-02 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 Acked-by: Prafulla Wadaskar prafu...@marvell.com Reviewed-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com Tested-by: Luka Perkov l...@openwrt.org --- Changes

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

2014-09-02 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 v3 25/25] Makefile: Add CONFIG_BUILD_TARGET to automatically build an special image

2014-09-02 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 v3 13/25] spi: kirkwood_spi.c: Change KW_SPI_BASE to MVEBU_SPI_BASE

2014-09-02 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 Acked-by: Prafulla Wadaskar prafu...@marvell.com Reviewed-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com Tested-by: Luka Perkov

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

2014-09-02 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 Acked-by: Prafulla Wadaskar prafu...@marvell.com Tested-by: Luka Perkov l...@openwrt.org --- Changes in v3: - Added Acked-by from

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

2014-09-02 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 Acked-by: Prafulla

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

2014-09-02 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 v3 0/25] Add Marvell Armada XP MV78460 SoC support

2014-09-02 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

Re: [U-Boot] [PATCH 3/5] iMX6DL:SABRESD: Add new DDR script

2014-09-02 Thread Fabio Estevam
Hi Ye Li, On Tue, Sep 2, 2014 at 3:11 AM, Ye.Li b37...@freescale.com wrote: Add specified mx6dl_4x_mt41j128.cfg DDR script for iMX6DLSABRESD board. Not share from nitrogen6x. The default boot device also changes to SD card. Signed-off-by: Ye.Li b37...@freescale.com Thanks for the patch, but

Re: [U-Boot] [PATCH] mpc5xxx: Add stub implementation of cache functions

2014-09-02 Thread Tom Rini
On Mon, Sep 01, 2014 at 10:53:10PM +0200, Wolfgang Denk wrote: Dear Vasili Galka, In message 1409051131-7260-1-git-send-email-vvv...@gmail.com you wrote: Some drivers (e.g. net/e1000) reference these functions. So, this fixes the build of MVBC_P board. I'm not familiar with the

Re: [U-Boot] uboot env in mmc partition

2014-09-02 Thread Naitik Amin
Hi Hannes, Yes, its an eMMC. If I read your response correctly, #define CONFIG_SYS_MMC_ENV_PART Can only have 2 values, 1 2 is that correct ? Pls also keep in mind that from linux, it works fine, with fw_env.config set to /dev/mmcblk0p4 0 0x1 From: Hannes Petermaier

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

2014-09-02 Thread Tom Rini
On Mon, Sep 01, 2014 at 05:15:37PM -0700, Simon Glass wrote: Hi Tom, I have to leave off the exynos and tegra patches while I wait for feedback. But here are some GPIO enhancements that might as well go in. Next will be serial, but it needs a rev first. Should be in the next few days.

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

2014-09-02 Thread Tom Rini
On Thu, Aug 28, 2014 at 09:43:43AM -0600, Simon Glass wrote: 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: [snip] diff --git a/tools/buildman/README b/tools/buildman/README index b8c2bd6..fbc8449

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

2014-09-02 Thread Marek Vasut
The following changes since commit a1263632bb05f0a21620bad0661235fcbbe79dca: mx6: tqma6: get board support back to Kconfig build system (2014-08-31 12:01:04 -0400) are available in the git repository at: git://git.denx.de/u-boot-usb.git HEAD for you to fetch changes up to

Re: [U-Boot] [PATCH 2/2] USB: gadget: s3c: get rid of debug compile warning

2014-09-02 Thread Marek Vasut
On Monday, September 01, 2014 at 04:59:39 AM, Bo Shen wrote: Hi Marek, On 08/29/2014 05:34 PM, Marek Vasut wrote: On Wednesday, August 27, 2014 at 11:28:18 AM, Bo Shen wrote: When enable debug option to compile, it will give the following warning, this patch is used to get rid of it.

Re: [U-Boot] [GIT] Pull request: u-boot-dfu

2014-09-02 Thread Marek Vasut
On Tuesday, September 02, 2014 at 09:13:44 AM, Lukasz Majewski wrote: Dear Marek, Pulled, thanks! Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] omap3_beagle: Add boot script support to omap3 beagle board

2014-09-02 Thread Guillaume Gardet
Ping. Guillaume Le 26/08/2014 10:48, Guillaume GARDET a écrit : This patch adds boot script support to omap3 beagle board. Signed-off-by: Guillaume GARDET guillaume.gar...@free.fr Cc: Tom Rini tr...@ti.com --- include/configs/omap3_beagle.h | 13 ++--- 1 file changed, 10

Re: [U-Boot] [PATCH 4/5] iMX6Solo:SABRESD: Add the i.MX6Solo SABRESD board support

2014-09-02 Thread Fabio Estevam
On Tue, Sep 2, 2014 at 3:11 AM, Ye.Li b37...@freescale.com wrote: #ifdef CONFIG_SUPPORT_EMMC_BOOT #define EMMC_ENV \ emmcdev=2\0 \ @@ -146,7 +155,8 @@ fi; \ fi\0 \ EMMC_ENV \ - mmcargs=setenv bootargs

Re: [U-Boot] [PATCH 2/5] iMX6Q:SABREAUTO: Rename the imximage.cfg to mx6q.cfg

2014-09-02 Thread Fabio Estevam
On Tue, Sep 2, 2014 at 3:11 AM, Ye.Li b37...@freescale.com wrote: Rename the imximage.cfg to mx6q.cfg. No function change at all Signed-off-by: Ye.Li b37...@freescale.com --- board/freescale/mx6qsabreauto/imximage.cfg | 129

Re: [U-Boot] [PATCH] tools: imximage: Fix the maximum DCD size for mx53/mx6

2014-09-02 Thread Tom Rini
On Mon, Sep 01, 2014 at 01:35:22PM +, Nitin Garg wrote: Acked! Please note that patchwork won't pick that up, only a properly formatted acked-by line, thanks! Regards, Nitin Garg -Original Message- From: Fabio Estevam [mailto:fabio.este...@freescale.com] Sent: Monday,

[U-Boot] [PATCH] mtd: nand: omap_gpmc: Enable multiple NAND flash devices

2014-09-02 Thread Rostislav Lisovy
Since the CS of a device connected to the GPMC was stored in the global variable, it was not possible to use multiple devices. In this patch the CS is stored per device in its 'struct omap_nand_info'. This makes it possible to use up to 'GPMC_MAX_CS' NAND Flash devices connected to U-boot.

Re: [U-Boot] [PATCH] tools: imximage: Fix the maximum DCD size for mx53/mx6

2014-09-02 Thread Nitin Garg
On 09/01/2014 07:56 AM, Fabio Estevam wrote: According to mx53 and mx6 reference manuals: The maximum size of the DCD limited to 1768 bytes. As each DCD entry consists of 8 bytes, we have a total of 1768 / 8 = 221, and excluding the first entry, which is the header leads to 220 as the

[U-Boot] [PATCH] mtd: nand: omap_gpmc: Fix 'bit-flip' errors

2014-09-02 Thread Rostislav Lisovy
OMAP GPMC driver used with some NAND Flash devices (e.g. Spansion S34ML08G1) causes that U-boot shows hundreds of 'nand: bit-flip corrected' error messages. Possible cause was discussed in the mailinglist thread: http://lists.denx.de/pipermail/u-boot/2014-April/177508.html Quote (Author: Pekon

Re: [U-Boot] [PATCH v2] sun7i: Add support for Olimex A20-OLinuXino-LIME

2014-09-02 Thread Ian Campbell
On Tue, 2014-09-02 at 11:17 +0900, FUKAUMI Naoki wrote: This patch adds support for Olimex A20-OLinuXino-LIME board. Signed-off-by: FUKAUMI Naoki nao...@gmail.com Acked and applied to u-boot-sunxi#next, thanks. Ia ___ U-Boot mailing list

Re: [U-Boot] [PATCH v2] sunxi: Correct typo CONFIG_FTDFILE = CONFIG_FDTFILE

2014-09-02 Thread Ian Campbell
On Mon, 2014-09-01 at 10:30 +0200, Hans de Goede wrote: Hi, On 08/31/2014 02:13 PM, Ian Campbell wrote: Patch is the result of: sed -i -e 's/FTDFILE/FDTFILE/g' board/sunxi/Kconfig configs/* include/configs/sunxi-common.h sed -i -e 's/ftdfile/fdtfile/g' board/sunxi/Kconfig

Re: [U-Boot] [PATCH] kconfig: remove redundant SPL from CONFIG_SYS_EXTRA_OPTIONS

2014-09-02 Thread Ian Campbell
On Sun, 2014-08-31 at 15:44 +0100, Ian Campbell wrote: On Sun, 2014-08-31 at 22:32 +0900, Masahiro Yamada wrote: CONFIG_SPL is defined as a primary option in Kconfig. It should not be added to CONFIG_SYS_EXTRA_OPTIONS. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Looks

Re: [U-Boot] [PATCH] tools: imximage: Fix the maximum DCD size for mx53/mx6

2014-09-02 Thread Nitin Garg
On 09/01/2014 07:56 AM, Fabio Estevam wrote: According to mx53 and mx6 reference manuals: The maximum size of the DCD limited to 1768 bytes. As each DCD entry consists of 8 bytes, we have a total of 1768 / 8 = 221, and excluding the first entry, which is the header leads to 220 as the

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

2014-09-02 Thread Stuart Yoder
The idea here is that if there is no PSCI specific (most likely secure) memory allocated in the system, the macro CONFIG_ARMV8_SECURE_BASE will not be defined. In this case the PSCI vector table and its support code will be in DDR and will be protected from Linux using memreserve. Sure,

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

2014-09-02 Thread Simon Glass
Hi Tom, On 2 September 2014 06:36, Tom Rini tr...@ti.com wrote: On Thu, Aug 28, 2014 at 09:43:43AM -0600, Simon Glass wrote: 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: [snip] diff --git

Re: [U-Boot] tools-only build broken

2014-09-02 Thread Simon Glass
Hi Ian, On 2 September 2014 03:22, Ian Campbell i...@hellion.org.uk wrote: On Sun, 2014-08-31 at 21:54 -0700, Simon Glass wrote: Hi, On 30 August 2014 19:44, Ian Campbell i...@hellion.org.uk wrote: On Sat, 2014-08-30 at 13:40 +0400, Matwey V. Kornilov wrote: 30.08.2014 04:04, Ian Campbell

Re: [U-Boot] [PATCH 04/25] dm: spi: Move cmd device code into its own function

2014-09-02 Thread Simon Glass
Hi Jagan, On 25 August 2014 12:31, Jagan Teki jagannadh.t...@gmail.com wrote: On 15 July 2014 06:26, Simon Glass s...@chromium.org wrote: In preparation for changing the error handling in this code for driver model, move it into its own function. Signed-off-by: Simon Glass s...@chromium.org

Re: [U-Boot] [PATCH v2 14/40] i2c: tegra: Implement i2c_get_bus_num_fdt()

2014-09-02 Thread Simon Glass
On 26 August 2014 09:34, Thierry Reding thierry.red...@gmail.com wrote: From: Thierry Reding tred...@nvidia.com This is useful to retrieve the U-Boot bus number of an I2C controller given a device tree node. Signed-off-by: Thierry Reding tred...@nvidia.com Acked-by: Simon Glass

Re: [U-Boot] Please pull u-boot-arc/master

2014-09-02 Thread Tom Rini
On Tue, Aug 26, 2014 at 03:15:33PM +, Alexey Brodkin wrote: Hi Tom, The following changes since commit 7bee1c91a94db19bd26f92cc67be35d3592c6429: Merge branch 'ag...@denx.de' of git://git.denx.de/u-boot-staging (2014-08-25 08:34:39 -0400) are available in the git repository at:

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

2014-09-02 Thread Tom Rini
On Tue, Sep 02, 2014 at 02:34:17PM +0200, Marek Vasut wrote: The following changes since commit a1263632bb05f0a21620bad0661235fcbbe79dca: mx6: tqma6: get board support back to Kconfig build system (2014-08-31 12:01:04 -0400) are available in the git repository at:

[U-Boot] [ANN] U-Boot v2014.10-rc2 released

2014-09-02 Thread Tom Rini
Hey all, I've pushed v2014.10-rc2 out to the repository and tarballs should exist soon, really this time. One of the big changes is we're back to not needing Python to be installed for at least regular building, just make and friends, like it was before. I feel this is important so if there's a

Re: [U-Boot] tools-only build broken

2014-09-02 Thread Otavio Salvador
On Tue, Sep 2, 2014 at 4:19 PM, Simon Glass s...@chromium.org wrote: ... We are using tools-only as part of the Debian packaging, what we are trying to build is a usable generic version of mkimage (and potentially other tools in the future) which can be placed in a generic u-boot-tools package

[U-Boot] [PATCH v3 0/3] add support for new arch stv0991

2014-09-02 Thread Vikas Manocha
This patchset add support for new arch stv0991. Changes in v3: - removed period from commit messages Changes in v2: - corrected files license to GPL-2.0+ - replaced printf() usage with puts() for string print - sorted sourcing of board Kconfig Vikas Manocha (3): stv0991: Add basic stv0991

[U-Boot] [PATCH v3 1/3] stv0991: Add basic stv0991 architecture support

2014-09-02 Thread Vikas Manocha
stv0991 architecture support added. It contains the support for following blocks - Timer - uart Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changes in v3: - removed period from commit message Changes in v2: - corrected files license to GPL-2.0+ - replaced printf() usage with puts()

[U-Boot] [PATCH v3 2/3] stv0991: enable ethernet support

2014-09-02 Thread Vikas Manocha
Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changes in v3: - removed period from commit message Changes in v2: None arch/arm/cpu/armv7/stv0991/clock.c | 14 arch/arm/cpu/armv7/stv0991/pinmux.c| 14

[U-Boot] [PATCH v3 3/3] stv0991: default + misc command configs enabled

2014-09-02 Thread Vikas Manocha
Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changes in v3: - removed period from commit message Changes in v2: None include/configs/stv0991.h | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/include/configs/stv0991.h

Re: [U-Boot] [PATCH v2 3/3] tools/genboardscfg.py: improve performance more with Kconfiglib

2014-09-02 Thread Simon Glass
On 1 September 2014 04:57, Masahiro Yamada yamad...@jp.panasonic.com wrote: The idea of using Kconfiglib was given by Tom Rini. It allows us to scan lots of defconfigs very quickly. This commit also uses multiprocessing for further acceleration. Signed-off-by: Masahiro Yamada

Re: [U-Boot] tools-only build broken

2014-09-02 Thread Simon Glass
Hi Otavio, On 2 September 2014 15:44, Otavio Salvador ota...@ossystems.com.br wrote: On Tue, Sep 2, 2014 at 4:19 PM, Simon Glass s...@chromium.org wrote: ... We are using tools-only as part of the Debian packaging, what we are trying to build is a usable generic version of mkimage (and

[U-Boot] [PATCH 0/2] fix issue with mmc partition management

2014-09-02 Thread Peter A. Bigot
This series aims at addressing an issue discovered with SPL mode when the MMC device being used lacks an environment partition. http://www.mail-archive.com/meta-ti@yoctoproject.org/msg04320.html includes details on the original failure with this diagnosis: This is a bug in handling

[U-Boot] [PATCH 2/2] mmc: restore capacity when switching to partition 0

2014-09-02 Thread Peter A. Bigot
The capacity and lba for an MMC device with part_num 0 reflects the whole device. When mmc_switch_part() successfully switches to a partition, the capacity is changed to that partition. As partition 0 does not physically exist, attempts to switch back to the whole device will indicate an error,

[U-Boot] [PATCH 1/2] env_mmc: remove condition on call to mmc_switch_part

2014-09-02 Thread Peter A. Bigot
Though it might be expected to do so, mmc_switch_part() does not change the part_num field of the device on which the partition has been changed. As such, checking to see whether the partition is already the target partition will fail to correctly restore the original configuration in cases like

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

2014-09-02 Thread Steve Rae
On 14-08-29 04:13 PM, Steve Rae wrote: On 14-08-29 01:54 PM, Marek Vasut wrote: On Friday, August 29, 2014 at 07:38:39 PM, Steve Rae wrote: On 14-08-29 08:11 AM, Tom Rini wrote: On Thu, Aug 28, 2014 at 02:52:40PM -0700, Steve Rae wrote: On 14-08-28 02:31 PM, Steve Rae wrote: On 14-08-28

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

2014-09-02 Thread Tom Rini
On Tue, Sep 02, 2014 at 05:03:53PM -0700, Steve Rae wrote: On 14-08-29 04:13 PM, Steve Rae wrote: On 14-08-29 01:54 PM, Marek Vasut wrote: On Friday, August 29, 2014 at 07:38:39 PM, Steve Rae wrote: On 14-08-29 08:11 AM, Tom Rini wrote: On Thu, Aug 28, 2014 at 02:52:40PM -0700, Steve

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

2014-09-02 Thread Benoît Thébaudeau
Hi Helmut, all, On Tue, Aug 19, 2014 at 10:55 PM, Benoît Thébaudeau benoit.thebaudeau@gmail.com wrote: On Fri, Aug 15, 2014 at 7:45 PM, Magnus Lilja lilja.mag...@gmail.com wrote: On 13 August 2014 14:01, Helmut Raiger helmut.rai...@hale.at wrote: On 08/05/2014 02:32 PM, Magnus Lilja wrote:

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

2014-09-02 Thread Tom Rini
On Wed, Sep 03, 2014 at 02:53:17AM +0200, Benoît Thébaudeau wrote: Hi Helmut, all, On Tue, Aug 19, 2014 at 10:55 PM, Benoît Thébaudeau benoit.thebaudeau@gmail.com wrote: On Fri, Aug 15, 2014 at 7:45 PM, Magnus Lilja lilja.mag...@gmail.com wrote: On 13 August 2014 14:01, Helmut

[U-Boot] [PATCH v2] imx: Support i.MX6 High Assurance Boot authentication

2014-09-02 Thread Nitin Garg
When CONFIG_SECURE_BOOT is enabled, the signed images like kernel and dtb can be authenticated using iMX6 CAAM. The added command hab_auth_img can be used for HAB authentication of images. The command takes the image DDR location, IVT (Image Vector Table) offset inside image as parameters.

Re: [U-Boot] [PATCH] Support i.MX6 High Assurance Boot (HAB) authentication of images

2014-09-02 Thread Nitin Garg
On 08/31/2014 08:09 PM, Otavio Salvador wrote: Hello Nitin, On Sun, Aug 31, 2014 at 5:16 PM, nitin.g...@freescale.com wrote: From: Nitin Garg nitin.g...@freescale.com Add hab_auth_img u-boot command which can be used for HAB authentication of images. Signed-off-by: Nitin Garg

Re: [U-Boot] [PATCH] Support i.MX6 High Assurance Boot (HAB) authentication of images

2014-09-02 Thread Otavio Salvador
Hello Nitin, On Tue, Sep 2, 2014 at 10:36 PM, Nitin Garg nitin.g...@freescale.com wrote: On 08/31/2014 08:09 PM, Otavio Salvador wrote: diff --git a/arch/arm/include/asm/arch-mx6/sys_proto.h b/arch/arm/include/asm/arch-mx6/sys_proto.h index 306d699..2bbb86e 100644 ---

Re: [U-Boot] tools-only build broken

2014-09-02 Thread Otavio Salvador
On Tue, Sep 2, 2014 at 8:14 PM, Simon Glass s...@chromium.org wrote: On 2 September 2014 15:44, Otavio Salvador ota...@ossystems.com.br wrote: On Tue, Sep 2, 2014 at 4:19 PM, Simon Glass s...@chromium.org wrote: ... We are using tools-only as part of the Debian packaging, what we are trying

Re: [U-Boot] tools-only build broken

2014-09-02 Thread Simon Glass
Hi Otvaio, On 2 September 2014 18:44, Otavio Salvador ota...@ossystems.com.br wrote: On Tue, Sep 2, 2014 at 8:14 PM, Simon Glass s...@chromium.org wrote: On 2 September 2014 15:44, Otavio Salvador ota...@ossystems.com.br wrote: On Tue, Sep 2, 2014 at 4:19 PM, Simon Glass s...@chromium.org

Re: [U-Boot] [PATCH] Support i.MX6 High Assurance Boot (HAB) authentication of images

2014-09-02 Thread Nitin Garg
On 09/02/2014 08:41 PM, Otavio Salvador wrote: Hello Nitin, On Tue, Sep 2, 2014 at 10:36 PM, Nitin Garg nitin.g...@freescale.com wrote: On 08/31/2014 08:09 PM, Otavio Salvador wrote: diff --git a/arch/arm/include/asm/arch-mx6/sys_proto.h b/arch/arm/include/asm/arch-mx6/sys_proto.h index

Re: [U-Boot] [PATCH] Support i.MX6 High Assurance Boot (HAB) authentication of images

2014-09-02 Thread Otavio Salvador
On Tue, Sep 2, 2014 at 10:47 PM, Nitin Garg nitin.g...@freescale.com wrote: On 09/02/2014 08:41 PM, Otavio Salvador wrote: Hello Nitin, On Tue, Sep 2, 2014 at 10:36 PM, Nitin Garg nitin.g...@freescale.com wrote: On 08/31/2014 08:09 PM, Otavio Salvador wrote: diff --git

Re: [U-Boot] [PATCH] Support i.MX6 High Assurance Boot (HAB) authentication of images

2014-09-02 Thread Fabio Estevam
On Tue, Sep 2, 2014 at 10:47 PM, Nitin Garg nitin.g...@freescale.com wrote: But get_cpu_rev is correct, it returns unsigned int. The problem happens in hab code where there are comparisons between int and unsigned int, hence Where exactly in the hab code does the problem happen?

Re: [U-Boot] [PATCH] Support i.MX6 High Assurance Boot (HAB) authentication of images

2014-09-02 Thread Nitin Garg
On 09/02/2014 08:52 PM, Fabio Estevam wrote: On Tue, Sep 2, 2014 at 10:47 PM, Nitin Garg nitin.g...@freescale.com wrote: But get_cpu_rev is correct, it returns unsigned int. The problem happens in hab code where there are comparisons between int and unsigned int, hence Where exactly in

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

2014-09-02 Thread Scott Wood
On Mon, 2014-09-01 at 12:54 +0900, Masahiro Yamada wrote: Hi Tom, On Sat, 30 Aug 2014 07:45:49 -0400 Tom Rini tr...@ti.com wrote: On Thu, Aug 28, 2014 at 11:13:40AM +0900, Masahiro Yamada wrote: Hi Scott, On Tue, 19 Aug 2014 04:47:40 -0500 Chin Liang See

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

2014-09-02 Thread Scott Wood
On Sat, 2014-08-30 at 07:45 -0400, Tom Rini wrote: On Thu, Aug 28, 2014 at 11:13:40AM +0900, Masahiro Yamada wrote: Hi Scott, On Tue, 19 Aug 2014 04:47:40 -0500 Chin Liang See cl...@altera.com wrote: To add the Denali NAND driver support into U-Boot. This driver is leveraged

Re: [U-Boot] tools-only build broken

2014-09-02 Thread Otavio Salvador
On Tue, Sep 2, 2014 at 10:46 PM, Simon Glass s...@chromium.org wrote: On 2 September 2014 18:44, Otavio Salvador ota...@ossystems.com.br wrote: On Tue, Sep 2, 2014 at 8:14 PM, Simon Glass s...@chromium.org wrote: On 2 September 2014 15:44, Otavio Salvador ota...@ossystems.com.br wrote: On Tue,

Re: [U-Boot] [PATCH] Support i.MX6 High Assurance Boot (HAB) authentication of images

2014-09-02 Thread Otavio Salvador
On Tue, Sep 2, 2014 at 10:55 PM, Nitin Garg nitin.g...@freescale.com wrote: On 09/02/2014 08:52 PM, Fabio Estevam wrote: On Tue, Sep 2, 2014 at 10:47 PM, Nitin Garg nitin.g...@freescale.com wrote: But get_cpu_rev is correct, it returns unsigned int. The problem happens in hab code where there

Re: [U-Boot] [PATCH 3/5] iMX6DL:SABRESD: Add new DDR script

2014-09-02 Thread Li Ye-B37916
On 9/2/2014 8:13 PM, Fabio Estevam wrote: Hi Ye Li, On Tue, Sep 2, 2014 at 3:11 AM, Ye.Li b37...@freescale.com wrote: Add specified mx6dl_4x_mt41j128.cfg DDR script for iMX6DLSABRESD board. Not share from nitrogen6x. The default boot device also changes to SD card. Signed-off-by: Ye.Li

  1   2   >