[U-Boot] about am335x watchdog

2014-02-25 Thread Yan, Miao
Hi Tom, In commit 6843918e0035bf06cb65ad2b4c98b38e86e43bd5: am335x: Enable CONFIG_OMAP_WATCHDOG support, hardware watchdog is enabled for am335x by default which is disabled in SPL, is this required by Linux or U-Boot itself ? I am asking because when testing with VxWorks (watchdog

Re: [U-Boot] [PATCH v3 1/7] nand: Add zynq nand controller driver support

2014-02-25 Thread Michal Simek
Hi Scott, On 02/17/2014 01:26 PM, Siva Durga Prasad Paladugu wrote: From: Jagannadha Sutradharudu Teki jaga...@xilinx.com Added support for Zynq Nand controller driver. Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com Signed-off-by: Jagannadha Sutradharudu Teki

[U-Boot] [PATCH] arm: am335x: DXR2: Reset SMSC LAN9303 switch via GPIO upon bootup

2014-02-25 Thread Stefan Roese
Since the switch may be re-configured for VLAN usage in Linux (or any other OS), lets reset the switch to its default register values upon power-up. Otherwise network might not be available in U-Boot. Signed-off-by: Stefan Roese s...@denx.de Cc: Heiko Schocher h...@denx.de Cc: Roger Meier

[U-Boot] [PATCH v2 2/2] kbuild: Move linker sciript check to prepare1

2014-02-25 Thread Masahiro Yamada
Same as the previous commit. Move sanity check to prepare1 target to avoid nasty troubles. Before this commit, LDSCRIPT existence was not checked when it was specified by CONFIG_SYS_LDSCRIPT. Now LDSCRIPT existence is checked for all boards. $(wildcard $(LDSCRIPT)) must point to the linker

[U-Boot] [PATCH v2 0/2] Kbuild: Fix a false error of sanity check

2014-02-25 Thread Masahiro Yamada
Masahiro Yamada (2): kbuild: Fix a false error of generic board support kbuild: Move linker sciript check to prepare1 Makefile | 24 include/configs/MPC8536DS.h | 2 +- include/configs/MPC8569MDS.h | 2 +- include/configs/MPC8572DS.h | 2 +-

[U-Boot] [PATCH v2 1/2] kbuild: Fix a false error of generic board support

2014-02-25 Thread Masahiro Yamada
Before this commit, make terminated with an error where is shouldn't under some condition. This bug happened when we built a board unsupporting generic board right after building with generic board. For example, the following sequence failed. (harmony uses generic board but microblaze-generic

Re: [U-Boot] [U-Boot, v2] part_efi: fix protective mbr struct allocation

2014-02-25 Thread Tom Rini
On Thu, Feb 13, 2014 at 09:48:24AM +0100, Hector Palacios wrote: The calloc() call was allocating space for the sizeof the struct pointer rather than for the struct contents. Besides, since this buffer is passed to mmc for writing and some platforms may use cache, the legacy_mbr struct should

Re: [U-Boot] kbuild: fix SPL link bug when USE_PRIVATE_LIBGCC is yes

2014-02-25 Thread Tom Rini
On Mon, Feb 24, 2014 at 08:44:14PM +0900, Masahiro Yamada wrote: Commit 6825a95 (kbuild: use Linux Kernel build scripts) changed the behavior of linkage when USE_PRIAVATE_LIBGCC is defined as yes. (It dropped arch/arm/lib/eabi_compat.o from the target library.) Affected boards are all

Re: [U-Boot] fs/fdos: Remove

2014-02-25 Thread Tom Rini
On Fri, Feb 21, 2014 at 08:42:59AM -0500, Tom Rini wrote: We have an unused FAT implementation in fs/fdos, remove. Signed-off-by: Tom Rini tr...@ti.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] x86: coreboot: delete unused coreboot/config.mk

2014-02-25 Thread Tom Rini
On Mon, Feb 24, 2014 at 09:36:35PM +0900, Masahiro Yamada wrote: HOSTCFLAGS_autoconf.mk.dep was added by commit 422322f but it has never been used. Cc: Vadim Bendebury vben...@chromium.org Cc: Simon Glass s...@chromium.org Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied

Re: [U-Boot] boards.cfg: Keep arc entries sorted

2014-02-25 Thread Tom Rini
On Mon, Feb 24, 2014 at 10:32:42AM -0300, Fabio Estevam wrote: Run tools/reformat.py -i -d '-' -s 8 boards.cfg boards0.cfg mv boards0.cfg boards.cfg in order to keep arc entries sorted. Signed-off-by: Fabio Estevam fabio.este...@freescale.com Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] power: fix: Do not execute pmic command when not all necessary parameters are passed

2014-02-25 Thread Tom Rini
On Mon, Feb 24, 2014 at 01:33:08PM +0100, Łukasz Majewski wrote: Lack of this check resulted in a data abort when CPU tried to execute the following command (without further mandatory input): 'pmic MAX77686_PMIC'. Only the 'pmic list' command requires one passed parameter. Other require at

Re: [U-Boot] arm: delete unused macro CONFIG_ARCH_DEVICE_TREE

2014-02-25 Thread Tom Rini
On Mon, Feb 24, 2014 at 09:45:48PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Tom Warren twar...@nvidia.com Cc: Stephen Warren swar...@nvidia.com Cc: Rajeshwari Birje rajeshwar...@samsung.com Cc: Inderpal Singh inderpal.si...@linaro.org

Re: [U-Boot] [U-Boot, v5] Makefile: add a new script to check -fstack-usage support

2014-02-25 Thread Tom Rini
On Wed, Dec 11, 2013 at 08:11:34PM +0900, Masahiro Yamada wrote: If -fstack-usage option is given to crosstools that do not support it, gcc displays a warning message but still exits with status 0. This means we can not rely on $(call cc-option,...) to detect if -fstack-usage option is

[U-Boot] [PATCH V3 00/12] Exynos4: add support for device tree

2014-02-25 Thread Piotr Wilczek
This patch set enables support for device tree on all Exynos4 based boards. DT support is enabled on Exynos mipi dsim and sdhci drives. Common board.c file is reused for all functions common for Exynos4 boards. Board specific files are implemented in the board files. Origen, Universal, Trats and

[U-Boot] [PATCH V3 01/12] exynos4:pinmux:fdt: decode peripheral id

2014-02-25 Thread Piotr Wilczek
This patch adds api to decode peripheral id based on interrupt number. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com --- Changes for v3: - none Changes for v2: - removed incorrectly implemented

[U-Boot] [PATCH V3 02/12] video:mipidsim:fdt: Add DT support for mipi dsim driver

2014-02-25 Thread Piotr Wilczek
This patch enables parsing mipi data from device tree. Non device tree case is still supported. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes for v3: - none Changes for v2: - removed

[U-Boot] [PATCH V3 03/12] video:exynos_fb:fdt: add additional fdt data

2014-02-25 Thread Piotr Wilczek
This patch adds additional data parsing from DTB and adds the new exynos_lcd_panel_init() function for panel specific initialisation from the board file. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com

[U-Boot] [PATCH V3 04/12] drivers:mmc:sdhci: enable support for DT

2014-02-25 Thread Piotr Wilczek
This patch enables support for device tree for sdhci driver. Non DT case is still supported. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes for v3: - none Changes for v2: - fixed

[U-Boot] [PATCH V3 05/12] board:samsung: move checkboard to common file

2014-02-25 Thread Piotr Wilczek
The checkboard function's implementation is common for all DT supporting boards and should be placed in the board common file. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Chander Kashyap k.chan...@samsung.com Cc: Rajeshwari S

[U-Boot] [PATCH V3 06/12] arm:exynos: add common DTS file for exynos 4

2014-02-25 Thread Piotr Wilczek
This patch adds common dtsi file and config header for all Exynos 4 based boards. Patch additionaly adds board specific (weak) functions for board_early_init_f and board_power_init functions. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park

[U-Boot] [PATCH V3 07/12] board:samsung:common: move max77686 init function

2014-02-25 Thread Piotr Wilczek
This patch moves board specific max77686 init function from common board to smdk5250 board file. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Rajeshwari S Shinde rajeshwar...@samsung.com Cc: Rajeshwari Birje

[U-Boot] [PATCH V3 08/12] arm:exynos: enable sdhci and misc_init to common board

2014-02-25 Thread Piotr Wilczek
This patch enables sdhci initialisation and misc_init_r in common board file for all exynos 4 based boards. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes for v3: - none Changes for v2:

[U-Boot] [PATCH V3 11/12] board:trats: Enable device tree on Trats

2014-02-25 Thread Piotr Wilczek
This patch enables to run Trats board on device tree. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com CC: Lukasz Majewski l.majew...@samsung.com --- Changes for v3: - dts file moved to arch/arm/dts

[U-Boot] [PATCH V3 09/12] board:origen: Enable device tree on Origen

2014-02-25 Thread Piotr Wilczek
This patch enables to run Origen board on device tree. Uart, DRAM and MMC init functions are removed as their generic replacements form the common board file are used. The config file is modified to contain only board specific options. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com

[U-Boot] [PATCH V3 12/12] board:trats2: Enable device tree on Trats2

2014-02-25 Thread Piotr Wilczek
This patch enables to run Trats2 board on device tree. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com --- Changes for v3: - dts file moved to arch/arm/dts Changes for v2: - fixed mmc2 address in DT

[U-Boot] [PATCH V3 10/12] board:universal: Enable device tree on Universal

2014-02-25 Thread Piotr Wilczek
This patch enables to run Universal board on device tree. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com Acked-by: Przemyslaw Marczak p.marc...@samsung.com --- Changes for v3: - dts file moved to

[U-Boot] [PATCH v3 2/2] arm: Switch to -mno-unaligned-access when supported by the compiler

2014-02-25 Thread Tom Rini
When we tell the compiler to optimize for ARMv7 (and ARMv6 for that matter) it assumes a default of SCTRL.A being cleared and unaligned accesses being allowed and fast at the hardware level. We set this bit and must pass along -mno-unaligned-access so that the compiler will still breakdown

[U-Boot] [PATCH v3 1/2] checkpatch.pl: Add warning for new __packed additions

2014-02-25 Thread Tom Rini
While there are valid reasons to use __packed, often the answer is that you should be doing something else here instead. Signed-off-by: Tom Rini tr...@ti.com --- scripts/checkpatch.pl |5 + 1 file changed, 5 insertions(+) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index

Re: [U-Boot] [PATCH v2 03/15] kbuild: move asm-offsets.h rules to ./Kbuild

2014-02-25 Thread Tom Rini
On Mon, Feb 24, 2014 at 06:36:07AM +0100, Wolfgang Denk wrote: Dear Masahiro, In message 1393207943-3725-4-git-send-email-yamad...@jp.panasonic.com you wrote: +define cmd_generic-offsets + (set -e; \ +echo #ifndef __GENERIC_ASM_OFFSETS_H__; \ +echo #define

Re: [U-Boot] [PATCH][RFC v2] add pci 64 bit prefechable mem support

2014-02-25 Thread Matt Porter
On Fri, Feb 14, 2014 at 10:36:20AM +0800, FengHua wrote: -Original Messages- From: Wolfgang Denk w...@denx.de Sent Time: 2014-02-14 00:30:24 (Friday) To: feng...@phytium.com.cn Cc: u-boot@lists.denx.de, tr...@ti.com, albert.u.b...@aribaud.net Subject: Re: [PATCH][RFC v2]

Re: [U-Boot] [PATCH] ar8031/8033/phy:enable autonegotiation for ar8031/8033

2014-02-25 Thread York Sun
On 12/22/2013 11:51 PM, Zhao Qiang wrote: Function genphy_parse_link() used if (mii_reg BMSR_ANEGCAPABLE) before while if (phydev-supported SUPPORTED_Autoneg) now. So assign phydev-supported to phydev-drv-features for ar8031/8033 to enable autonegotiation. Signed-off-by: Zhao Qiang

[U-Boot] Please pull u-boot-mpc85xx.git master

2014-02-25 Thread York Sun
Tom, The following changes since commit 22a240c32c1340183fce12867ae5f8736b92a638: serial/serial_arc - add driver for ARC UART (2014-02-07 12:55:07 -0500) are available in the git repository at: git://git.denx.de/u-boot-mpc85xx.git master for you to fetch changes up to

[U-Boot] [PATCH] fix: trats: clock setup: enable all clocks in clk_gate_block.

2014-02-25 Thread Przemyslaw Marczak
This change fixes kernel boot issue on trats. Some drivers in kernel 3.10 expects that proper clocks are enabled, e.g. mfc driver clock. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com cc: Lukasz Majewski l.majew...@samsung.com cc: Minkyu Kang mk7.k...@samsung.com cc: Tom Rini

Re: [U-Boot] [PATCH] fix: trats: clock setup: enable all clocks in clk_gate_block.

2014-02-25 Thread Tom Rini
On Tue, Feb 25, 2014 at 06:37:43PM +0100, Przemyslaw Marczak wrote: This change fixes kernel boot issue on trats. Some drivers in kernel 3.10 expects that proper clocks are enabled, e.g. mfc driver clock. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com cc: Lukasz Majewski

Re: [U-Boot] [PATCH REPOST] usb: create common header virtual root hub descriptors

2014-02-25 Thread Marek Vasut
On Friday, February 21, 2014 at 05:19:12 AM, Stephen Warren wrote: On 02/13/2014 09:15 PM, Stephen Warren wrote: Many USB host controller drivers contain almost identical copies of the same virtual root hub descriptors. Put these into a common file to avoid duplication. Note that there

Re: [U-Boot] [PATCH v2 00/13] ARMv7: add PSCI support to u-boot

2014-02-25 Thread Ezaul Zillmer
Hi Marc Zyngier Where could obtain this repository with these alterations to be able to test virtualization with KVM on my cubieboard2'm using Kernel 3.14.rc4 I appreciate if you help Thank you ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] FAT filesystem support on SPI flash

2014-02-25 Thread Vasili Galka
Dear Jagan, I'm not sure I fully understand your question. SPI flash is just a medium that has sectors/pages/blocks (call it however you want). You are free to store data with any structure you like on it. So if you like - you can store FAT file-system on it. That's true that maybe storing a FAT

Re: [U-Boot] [PATCH v2 00/13] ARMv7: add PSCI support to u-boot

2014-02-25 Thread Marc Zyngier
Hi, On 2014-02-25 13:38, Ezaul Zillmer wrote: Hi Marc Zyngier Where could obtain this repository with these alterations to be able to test virtualization with KVM on my cubieboard2'm using Kernel 3.14.rc4 I appreciate if you help You're looking at an older patch series. The new one can be

Re: [U-Boot] FAT filesystem support on SPI flash

2014-02-25 Thread Vasili Galka
Dear Wolfgang, 1. So, my understanding is that fatload/fatls/etc have only MMC/SATA support now? No support for MTD? 2. Where can I find the description of device driver model you mention? When is it planned to be adopted? Best, Vasili On Sun, Feb 23, 2014 at 7:23 PM, Wolfgang Denk

Re: [U-Boot] u-boot.dtb vs. dts/dt.dtb output filename, also O= vs BUILD_DIR=

2014-02-25 Thread Stephen Warren
On 02/24/2014 05:38 PM, Masahiro Yamada wrote: Prior the to kbuild conversion... ... Related, I also found that pre-Kbuild, I could make BUILD_DIR=..., but now I have to make O= That's also an external change in behaviour. Was that intentional? make O=... are always supported before and

Re: [U-Boot] [PATCH] ar8031/8033/phy:enable autonegotiation for ar8031/8033

2014-02-25 Thread Joe Hershberger
On Mon, Feb 24, 2014 at 5:54 PM, York Sun york...@freescale.com wrote: On 12/22/2013 11:51 PM, Zhao Qiang wrote: Function genphy_parse_link() used if (mii_reg BMSR_ANEGCAPABLE) before while if (phydev-supported SUPPORTED_Autoneg) now. So assign phydev-supported to phydev-drv-features

Re: [U-Boot] [U-Boot PATCH v2 00/12] Add support for keystone2 SoC and K2HK EVM

2014-02-25 Thread Tom Rini
On Thu, Feb 20, 2014 at 12:55:02PM -0500, Murali Karicheri wrote: This patch series add support for keystone2 SoC and K2HK EVM In general, you ran checkpatch.pl right? I see some '#definetab' cases that need manual fixing up as well. Further comments and acks coming. -- Tom signature.asc

Re: [U-Boot] [U-Boot PATCH v2 02/12] tools: sort the entries in Makefile

2014-02-25 Thread Tom Rini
On Thu, Feb 20, 2014 at 12:55:04PM -0500, Murali Karicheri wrote: The NOPED_OBJ_FILES, dumpimage and mkimage object file entries are to be kept sorted. This patch fix this issue. Signed-off-by: Murali Karicheri m-kariche...@ti.com Acked-by: Tom Rini tr...@ti.com -- Tom signature.asc

Re: [U-Boot] [U-Boot PATCH v2 01/12] fdt: call ft_board_setup_ex() at the end of image_setup_libfdt()

2014-02-25 Thread Tom Rini
On Thu, Feb 20, 2014 at 12:55:03PM -0500, Murali Karicheri wrote: From: Vitaly Andrianov vita...@ti.com The keystone2 SOC requires to fix all 32 bit aliased addresses to their 36 physical format. This has to happen after all fdt nodes are added or modified. Signed-off-by: Vitaly

Re: [U-Boot] [U-Boot PATCH v2 03/12] tools: mkimage: add support for gpimage format

2014-02-25 Thread Tom Rini
On Thu, Feb 20, 2014 at 12:55:05PM -0500, Murali Karicheri wrote: This patch add support for gpimage format as a preparatory patch for porting u-boot for keystone2 devices and is based on omapimage format. It re-uses gph header to store the size and loadaddr as done in omapimage.c

Re: [U-Boot] [U-Boot PATCH v2 04/12] arm: add support for arch timer

2014-02-25 Thread Tom Rini
On Thu, Feb 20, 2014 at 12:55:06PM -0500, Murali Karicheri wrote: From: Vitaly Andrianov vita...@ti.com This patch add basic support for the architecture timer found on recent ARMv7 based SoCs. Signed-off-by: Vitaly Andrianov vita...@ti.com Signed-off-by: Murali Karicheri

Re: [U-Boot] [U-Boot PATCH v2 08/12] k2hk: add support for k2hk SOC and EVM

2014-02-25 Thread Tom Rini
On Thu, Feb 20, 2014 at 12:55:10PM -0500, Murali Karicheri wrote: From: Vitaly Andrianov vita...@ti.com k2hk EVM is based on Texas Instruments Keystone2 Hawking/Kepler SoC. Keystone2 SoC has ARM v7 Cortex-A15 MPCore processor. Please refer the ti/k2hk_evm/README for details on the board,

Re: [U-Boot] [U-Boot PATCH v2 06/12] i2c, davinci: move i2c_defs.h to the drivers/i2c directory

2014-02-25 Thread Tom Rini
On Thu, Feb 20, 2014 at 12:55:08PM -0500, Murali Karicheri wrote: This patch moves the davinci i2c_defs.h file to drivers.i2c directory. It will allow to reuse the davinci_i2c driver for TI Keystone2 SOCs. Not used git mv command to move the file because small part of it with definitions

Re: [U-Boot] [U-Boot PATCH v2 07/12] i2c, davinci: add support for multiple i2c buses

2014-02-25 Thread Tom Rini
On Thu, Feb 20, 2014 at 12:55:09PM -0500, Murali Karicheri wrote: From: Vitaly Andrianov vita...@ti.com Signed-off-by: Vitaly Andrianov vita...@ti.com [snip] - * SPDX-License-Identifier: GPL-2.0+ + * SPDX-License-Identifier: GPL-2.0+ Don't change whitespace. +static struct i2c_regs

Re: [U-Boot] [U-Boot PATCH v2 05/12] NAND: DaVinci: allow forced disable of subpage writes

2014-02-25 Thread Tom Rini
On Thu, Feb 20, 2014 at 12:55:07PM -0500, Murali Karicheri wrote: This patch introduces a configurable mechanism to disable subpage writes in the DaVinci NAND driver. Signed-off-by: Vitaly Andrianov vita...@ti.com Signed-off-by: Murali Karicheri m-kariche...@ti.com Acked-by: Tom Rini

Re: [U-Boot] [U-Boot PATCH v2 10/12] keystone2: net: add keystone ethernet driver

2014-02-25 Thread Tom Rini
On Thu, Feb 20, 2014 at 12:55:12PM -0500, Murali Karicheri wrote: From: Vitaly Andrianov vita...@ti.com Ethernet driver configures the CPSW, SGMI and Phy and uses the the Navigator APIs. The driver supports 4 Ethernet ports and can work with only one port at a time. First, can we just use

Re: [U-Boot] [U-Boot PATCH v2 12/12] k2hk-evm: add configuration for spi1 and spi2 support

2014-02-25 Thread Tom Rini
On Thu, Feb 20, 2014 at 12:55:14PM -0500, Murali Karicheri wrote: currently only spi0 is enabled on k2hk evm. This configuration update is needed to enable spi1 and spi2. Signed-off-by: Murali Karicheri m-kariche...@ti.com Acked-by: Tom Rini tr...@ti.com -- Tom signature.asc

Re: [U-Boot] [U-Boot PATCH v2 09/12] keystone2: add keystone multicore navigator driver

2014-02-25 Thread Tom Rini
On Thu, Feb 20, 2014 at 12:55:11PM -0500, Murali Karicheri wrote: From: Vitaly Andrianov vita...@ti.com Multicore navigator consists of Network Coprocessor (NetCP) and Queue Manager sub system. More details on the hardware can be obtained from the following links:- Network Coprocessor:

Re: [U-Boot] [U-Boot PATCH v2 11/12] spi: davinci: add support for multiple bus and chip select

2014-02-25 Thread Tom Rini
On Thu, Feb 20, 2014 at 12:55:13PM -0500, Murali Karicheri wrote: From: Rex Chang rch...@ti.com Currently davinci spi driver supports only bus 0 cs 0. This patch allows driver to support bus 1 and bus 2 with configurable number of chip selects. Also defaults are selected in a way to avoid

Re: [U-Boot] [U-Boot PATCH v2 00/12] Add support for keystone2 SoC and K2HK EVM

2014-02-25 Thread Karicheri, Muralidharan
-Original Message- From: Karicheri, Muralidharan Sent: Thursday, February 20, 2014 12:55 PM To: u-boot@lists.denx.de; Rini, Tom Cc: Karicheri, Muralidharan Subject: [U-Boot PATCH v2 00/12] Add support for keystone2 SoC and K2HK EVM This patch series add support for keystone2 SoC and K2HK

Re: [U-Boot] [U-Boot PATCH v2 00/12] Add support for keystone2 SoC and K2HK EVM

2014-02-25 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/25/2014 05:49 PM, Karicheri, Muralidharan wrote: -Original Message- From: Karicheri, Muralidharan Sent: Thursday, February 20, 2014 12:55 PM To: u-boot@lists.denx.de; Rini, Tom Cc: Karicheri, Muralidharan Subject: [U-Boot PATCH v2

Re: [U-Boot] FAT filesystem support on SPI flash

2014-02-25 Thread Tom Rini
On Sun, Feb 23, 2014 at 01:37:53PM +, Vasili Galka wrote: Hi, On our system, we are interested in keeping all files, including the OS image and U-Boot second stage on FAT filesystem residing on a SPI flash. I have not found existing U-Boot support for such functionality. Have I

Re: [U-Boot] [PATCH v2 0/15] Follow-up for Kbuild series: more misc targets and short logs

2014-02-25 Thread Tom Rini
On Mon, Feb 24, 2014 at 11:12:08AM +0900, Masahiro Yamada wrote: Kbuild series must be applied before this series. This series refactors a little, imports more Kbuild features and convert many rules to Kbuild style. I think most of rules will be displayed in short log format by applying

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

2014-02-25 Thread Tom Rini
On Tue, Feb 25, 2014 at 09:34:53AM -0800, York Sun wrote: Tom, The following changes since commit 22a240c32c1340183fce12867ae5f8736b92a638: serial/serial_arc - add driver for ARC UART (2014-02-07 12:55:07 -0500) are available in the git repository at:

Re: [U-Boot] [PATCH v2 0/2] Kbuild: Fix a false error of sanity check

2014-02-25 Thread Tom Rini
On Tue, Feb 25, 2014 at 07:26:46PM +0900, Masahiro Yamada wrote: Masahiro Yamada (2): kbuild: Fix a false error of generic board support kbuild: Move linker sciript check to prepare1 Makefile | 24 include/configs/MPC8536DS.h | 2 +-

Re: [U-Boot] kbuild: get back DTB at the top directory

2014-02-25 Thread Tom Rini
On Fri, Feb 21, 2014 at 03:34:30PM +0900, Masahiro Yamada wrote: Commit 6ab6b2af deleted ./u-boot.dtb because it was a copy of dts/dt.dtb. But Simon suggested to keep u-boot.dtb at the top directory because it is a build output. After discussions, we agreed on revival of ./u-boot.dtb.

Re: [U-Boot] arm: omap: delete unincluded omap-common/config.mk

2014-02-25 Thread Tom Rini
On Tue, Feb 25, 2014 at 10:01:50AM +0900, Masahiro Yamada wrote: arch/arm/cpu/armv7/omap-common/config.mk is never included because omap-common is not SoC name. If we want to add OMAP-specific compiler flags, they must be added to omap3/config.mk, omap4/config.mk, omap5/config.mk.

Re: [U-Boot] [PATCH v2 1/2] kbuild: Fix a false error of generic board support

2014-02-25 Thread Simon Glass
On 25 February 2014 03:26, Masahiro Yamada yamad...@jp.panasonic.com wrote: Before this commit, make terminated with an error where is shouldn't under some condition. This bug happened when we built a board unsupporting generic board right after building with generic board. For example, the

Re: [U-Boot] [PATCH 2/2] kbuild: Move linker sciript check to prepare1

2014-02-25 Thread Simon Glass
On 24 February 2014 06:11, Masahiro Yamada yamad...@jp.panasonic.com wrote: Same as the previous commit. Move sanity check to prepare1 target to avoid nasty troubles. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Acked-by: Simon Glass s...@chromium.org

Re: [U-Boot] [PATCH 12/15] kbuild: use shorten logs for IMX images

2014-02-25 Thread Simon Glass
Hi Masahiro, On 23 February 2014 18:58, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hello Simon, Thanks for your close review. This is always appreciated. diff --git a/spl/Makefile b/spl/Makefile index 22d6323..e8c5938 100644 --- a/spl/Makefile +++ b/spl/Makefile @@ -178,8

Re: [U-Boot] [PATCH] x86: coreboot: delete unused coreboot/config.mk

2014-02-25 Thread Simon Glass
Hi Masahiro, On 24 February 2014 05:36, Masahiro Yamada yamad...@jp.panasonic.com wrote: HOSTCFLAGS_autoconf.mk.dep was added by commit 422322f but it has never been used. Cc: Vadim Bendebury vben...@chromium.org Cc: Simon Glass s...@chromium.org Signed-off-by: Masahiro Yamada

Re: [U-Boot] [PATCH] x86: coreboot: delete unused coreboot/config.mk

2014-02-25 Thread Vadim Bendebury
On Tue, Feb 25, 2014 at 3:43 PM, Simon Glass s...@chromium.org wrote: Hi Masahiro, On 24 February 2014 05:36, Masahiro Yamada yamad...@jp.panasonic.com wrote: HOSTCFLAGS_autoconf.mk.dep was added by commit 422322f but it has never been used. Cc: Vadim Bendebury vben...@chromium.org Cc:

[U-Boot] [PATCH v5] socfpga: Add socfpga preloader signing to mkimage

2014-02-25 Thread Charles Manning
Like many platforms, the Altera socfpga platform requires that the preloader be signed in a certain way or the built-in boot ROM will not boot the code. This change automatically creates an appropriately signed preloader from an SPL image. The signed image includes a CRC which must, of course,

[U-Boot] [PATCH] kbuild: post: fix dependency tracking correctly

2014-02-25 Thread Masahiro Yamada
$(call if_changed,...) must take FORCE as a prerequite. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- post/lib_powerpc/fpu/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post/lib_powerpc/fpu/Makefile b/post/lib_powerpc/fpu/Makefile index

Re: [U-Boot] [PATCH V3 09/12] board:origen: Enable device tree on Origen

2014-02-25 Thread Minkyu Kang
On 25/02/14 23:33, Piotr Wilczek wrote: This patch enables to run Origen board on device tree. Uart, DRAM and MMC init functions are removed as their generic replacements form the common board file are used. The config file is modified to contain only board specific options.

Re: [U-Boot] [U-Boot PATCH v2 05/12] NAND: DaVinci: allow forced disable of subpage writes

2014-02-25 Thread Scott Wood
On Thu, 2014-02-20 at 12:55 -0500, Murali Karicheri wrote: This patch introduces a configurable mechanism to disable subpage writes in the DaVinci NAND driver. Signed-off-by: Vitaly Andrianov vita...@ti.com Signed-off-by: Murali Karicheri m-kariche...@ti.com --- - Added README README

[U-Boot] [PATCH][v2] powerpc/t104xrdb: Update DDR initialization related settings

2014-02-25 Thread Priyanka Jain
Update following DDR related settings for T1040RDB, T1042RDB_PI -Correct number of chip selects to two as t1040 supports two Chip selects. -Update board_specific_parameters udimm structure with settings derived via calibration. -Update ddr_raw_timing sructure corresponding to DIMM. -Set ODT to

[U-Boot] [PATCH 0/8] Kbuild: A collection of trivial refactoring

2014-02-25 Thread Masahiro Yamada
Masahiro Yamada (8): config.mk: Delete unused variable BCURDIR Makefile: delete unused variable LDSCRIPT_MAKEFILE_DIR nand_spl: simpc8313: move config.mk used only for nand_spl x86: Delete redundant compiler flags sh: Do not define -ffreestanding twice sh: merge compiler flag

[U-Boot] [PATCH 7/8] m68k: merge compile flags -ffixed-d7 -sep-data

2014-02-25 Thread Masahiro Yamada
All arch/m68k/cpu/*/config.mk define the same flags PLAGFORM_REFLFLAGS += -ffixed-d7 -msep-data Move it to arch/m68k/config.mk Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Jason Jin jason@freescale.com --- arch/m68k/config.mk| 3 ++-

[U-Boot] [PATCH 2/8] Makefile: delete unused variable LDSCRIPT_MAKEFILE_DIR

2014-02-25 Thread Masahiro Yamada
LDSCRIPT_MAKEFILE_DIR is not referenced from anywhere. Remove. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Makefile | 4 1 file changed, 4 deletions(-) diff --git a/Makefile b/Makefile index d3b0afb..fe9e144 100644 --- a/Makefile +++ b/Makefile @@ -489,8 +489,6 @@ endif

[U-Boot] [PATCH 3/8] nand_spl: simpc8313: move config.mk used only for nand_spl

2014-02-25 Thread Masahiro Yamada
board/sheldon/simpc8313/config.mk is used only for nand_spl. So it should go into nand_spl/board/sheldon/simpc8313/. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- nand_spl/board/sheldon/simpc8313/Makefile | 2 ++ {board = nand_spl/board}/sheldon/simpc8313/config.mk |

[U-Boot] [PATCH 5/8] sh: Do not define -ffreestanding twice

2014-02-25 Thread Masahiro Yamada
-ffreestanding is defined at the top Makefile for all architectures. Do not define it twice for SH2A. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- arch/sh/cpu/sh2/config.mk | 2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] [PATCH 6/8] sh: merge compiler flag -ffixed-r13

2014-02-25 Thread Masahiro Yamada
-ffixed-r13 is defined commonly for sh2, sh3, sh4. Move it to arch/sh/config.mk Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- arch/sh/config.mk | 1 + arch/sh/cpu/sh2/config.mk | 1 - arch/sh/cpu/sh3/config.mk | 1 -

[U-Boot] [PATCH 1/8] config.mk: Delete unused variable BCURDIR

2014-02-25 Thread Masahiro Yamada
This variable was abolished by Kbuild series. I forgot to delete it. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- config.mk | 2 -- 1 file changed, 2 deletions(-) diff --git a/config.mk b/config.mk index 9897f20..e59697f 100644 --- a/config.mk +++ b/config.mk @@ -46,7 +46,5 @@

[U-Boot] [PATCH 4/8] x86: Delete redundant compiler flags

2014-02-25 Thread Masahiro Yamada
-Wstrict-prototypes, -ffreestanding, -fno-stack-protector are defined at the top Makefile for all architectures. Do not define them twice for x86. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Simon Glass s...@chromium.org --- arch/x86/config.mk | 5 + 1 file changed, 1

[U-Boot] [PATCH 8/8] arm64: Do not double -mstrict-align option

2014-02-25 Thread Masahiro Yamada
Seeing arch/arm/cpu/armv8/config.mk, -mstrict-align option was added to both PLATFORM_NO_UNALIGNED and PLATFORM_CPPFLAGS. $(PLATFORM_CPPFLAGS) is given to all compiled objects. Adding the same option to also PLATFORM_NO_UNALIGNED is redundant. For example, common/hush.o was compiled with double

Re: [U-Boot] [U-Boot, 2/3] mpc85xx: Add deep sleep framework support

2014-02-25 Thread Tang Yuantian-B29983
On 2014/2/25 星期二 3:11, Scott Wood wrote: On Mon, 2014-02-24 at 14:44 +0800, Tang Yuantian-B29983 wrote: On 2014/2/18 星期二 3:18, Scott Wood wrote: On Sun, 2014-02-16 at 21:35 -0600, Tang Yuantian-B29983 wrote: -Original Message- From: Wood Scott-B07421 To: Tang Yuantian-B29983 Cc: Sun

Re: [U-Boot] [PATCH v5] socfpga: Add socfpga preloader signing to mkimage

2014-02-25 Thread Michal Simek
On 02/26/2014 02:17 AM, Charles Manning wrote: Like many platforms, the Altera socfpga platform requires that the preloader be signed in a certain way or the built-in boot ROM will not boot the code. This change automatically creates an appropriately signed preloader from an SPL image.

Re: [U-Boot] [PATCH v5] socfpga: Add socfpga preloader signing to mkimage

2014-02-25 Thread Charles Manning
On Wednesday 26 February 2014 19:16:37 Michal Simek wrote: On 02/26/2014 02:17 AM, Charles Manning wrote: Like many platforms, the Altera socfpga platform requires that the preloader be signed in a certain way or the built-in boot ROM will not boot the code. This change automatically

[U-Boot] Question about Zynq SPL

2014-02-25 Thread Masahiro Yamada
Hello Michal, Please let me confirm if I am correctly understanding Zynq SPL added by commit d7e269c. Before that commit, Zynq booted like follows [1] Boot ROM [2] First Stage Boot Loader (created by Xilinx SDK) [3] U-Boot Now, SPL replaces FSBL. So, now Zynq boots like follows [1]

Re: [U-Boot] [U-Boot, 2/3] mpc85xx: Add deep sleep framework support

2014-02-25 Thread Tang Yuantian-B29983
On 2014/2/25 星期二 3:11, Scott Wood wrote: On Mon, 2014-02-24 at 15:47 +0800, Tang Yuantian-B29983 wrote: On 2014/2/15 星期六 6:21, Scott Wood wrote: On Thu, 2014-02-13 at 01:05 -0600, Tang Yuantian-B29983 wrote: Thanks for your review. Please see the reply inline. Thanks, Yuantian