Re: [U-Boot] [PATCH v3 07/14] fdt: Add DEV_TREE_BIN option to specify a device tree binary file

2014-06-10 Thread Masahiro Yamada
Hi Simon, On Mon, 2 Jun 2014 22:04:50 -0600 Simon Glass s...@chromium.org wrote: In some cases, an externally-built device tree binary is required to be attached to U-Boot. An example is when using image signing, since in that case the .dtb file must include the public keys. I do not want

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

2014-06-10 Thread Lukasz Majewski
Hi Marek, On Monday, June 09, 2014 at 12:51:43 PM, Lukasz Majewski wrote: Hi Marek, Hi Marek, On Monday, May 26, 2014 at 07:46:27 AM, Lukasz Majewski wrote: Hi Marek The following changes since commit fc25fa27e5f439705e9ca42182014e2d75d9f0ae:

[U-Boot] [PATCH v5 1/2] watchdog/denali: Adding DesignWare watchdog driver support

2014-06-10 Thread Chin Liang See
To add the DesignWare watchdog driver support. It required information such as register base address and clock info from configuration header file within include/configs folder. Signed-off-by: Chin Liang See cl...@altera.com Cc: Anatolij Gustschin ag...@denx.de Cc: Albert Aribaud

[U-Boot] [PATCH v5 2/2] socfpga: Adding DesignWare watchdog support

2014-06-10 Thread Chin Liang See
To enable the DesignWare watchdog support at SOCFPGA Cyclone V dev kit. Signed-off-by: Chin Liang See cl...@altera.com Cc: Anatolij Gustschin ag...@denx.de Cc: Albert Aribaud albert.u.b...@aribaud.net Cc: Heiko Schocher h...@denx.de Cc: Tom Rini tr...@ti.com --- Changes for v5 - Updated to latest

[U-Boot] [PATCH v8] socfpga: Adding Scan Manager driver

2014-06-10 Thread Chin Liang See
Scan Manager driver will be called to configure the IOCSR scan chain. This configuration will setup the IO buffer settings Signed-off-by: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Wolfgang Denk w...@denx.de CC: Pavel Machek pa...@denx.de Cc: Tom Rini tr...@ti.com Cc:

[U-Boot] [PATCH] mmc/dw_mmc: Fix clock divider calculation error for bypass mode

2014-06-10 Thread Chin Liang See
To fix the clock divider calculation error when the controller clock same as the operating frequency. This is known as bypass mode. In this mode, the divider should be 0. Signed-off-by: Chin Liang See cl...@altera.com Cc: Pantelis Antoniou pa...@antoniou-consulting.com Cc: Rajeshwari Shinde

Re: [U-Boot] [PATCH 2/5] sunxi: Add i2c support

2014-06-10 Thread Heiko Schocher
Hello Hans, Am 09.06.2014 17:15, schrieb Hans de Goede: Add support for the i2c controller found on all Allwinner sunxi SoCs, this is the same controller as found on the Marvell orion5x and kirkwood SoC families, with a slightly different register layout, so this patch uses the existing mvtwsi

[U-Boot] [PATCH] socfpga: Relocate arch common functions away from board

2014-06-10 Thread Chin Liang See
To move the arch common function away from board folder to arch/arm/cpu/armv7/socfpga folder. Signed-off-by: Chin Liang See cl...@altera.com Cc: Wolfgang Denk w...@denx.de Cc: Detlev Zundel d...@denx.de Cc: Pavel Machek pa...@denx.de Cc: Dinh Nguyen dingu...@altera.com ---

Re: [U-Boot] [PATCH 2/3] usb:composite: clear the whole common buffer

2014-06-10 Thread Lukasz Majewski
Hi Jeroen, Since the struct fsg_common is calloced, reset it completely with zero's when reused. While at it, make checkpatch happy. cc: Lukasz Majewski l.majew...@samsung.com cc: Piotr Wilczek p.wilc...@samsung.com cc: Kyungmin Park kyungmin.p...@samsung.com cc: Marek Vasut

Re: [U-Boot] [PATCH 1/3] usb:g_dnl:f_thor: remove memset before memcpy

2014-06-10 Thread Lukasz Majewski
Hi Jeroen, since ALLOC_CACHE_ALIGN_BUFFER defines a pointer and not a buffer, the memset with sizeof(rqt) likely does something else then intended. Since there is a memcpy directly after it with the full size, drop the memset completely. Acked-by: Lukasz Majewski l.majew...@samsung.com

Re: [U-Boot] [PATCH] socfpga: Relocate arch common functions away from board

2014-06-10 Thread Albert ARIBAUD
Hi Chin, On Tue, 10 Jun 2014 01:41:06 -0500, Chin Liang See cl...@altera.com wrote: To move the arch common function away from board folder to arch/arm/cpu/armv7/socfpga folder. Signed-off-by: Chin Liang See cl...@altera.com Cc: Wolfgang Denk w...@denx.de Cc: Detlev Zundel d...@denx.de

Re: [U-Boot] [PATCH] socfpga: Relocate arch common functions away from board

2014-06-10 Thread Chin Liang See
Hi Albert, On Tue, 2014-06-10 at 09:07 +0200, ZY - albert.u.boot wrote: Hi Chin, On Tue, 10 Jun 2014 01:41:06 -0500, Chin Liang See cl...@altera.com wrote: To move the arch common function away from board folder to arch/arm/cpu/armv7/socfpga folder. Signed-off-by: Chin Liang See

[U-Boot] [PATCH v2] socfpga: Relocate arch common functions away from board

2014-06-10 Thread Chin Liang See
To move the arch common function away from board folder to arch/arm/cpu/armv7/socfpga folder. Its to avoid code duplication for other non Altera dev kit which is using socfpga device. Signed-off-by: Chin Liang See cl...@altera.com Cc: Wolfgang Denk w...@denx.de Cc: Detlev Zundel d...@denx.de Cc:

Re: [U-Boot] [PATCH] sun5i: Add A13-OLinuXinoM support

2014-06-10 Thread Albert ARIBAUD
Hi Hans, On Mon, 09 Jun 2014 09:56:01 +0200, Hans de Goede hdego...@redhat.com wrote: Hi, On 06/09/2014 08:50 AM, Albert ARIBAUD wrote: Hi Tom, On Thu, 20 Mar 2014 08:49:37 -0400, Tom Rini tr...@ti.com wrote: Tested-by: Matt Porter matt.por...@linaro.org Signed-off-by: Tom Rini

Re: [U-Boot] [Patch v2] omap3: overo: Select fdtfile for expansion board

2014-06-10 Thread Stefan Herbrechtsmeier
Am 09.06.2014 22:47, schrieb Ash Charles: The u-boot Overo board actually supports both Overo (OMAP35xx) and Overo Storm (AM/DM37xx) COMs with a range of different expansion boards. This provides a mechanism to select the an appropriate device tree file based on the processor version and, if

Re: [U-Boot] [U-Boot, v5, 3/4] lib, fdt: move fdtdec_get_int() out of lib/fdtdec.c

2014-06-10 Thread Heiko Schocher
Hello Tom, Am 05.06.2014 21:15, schrieb Tom Rini: On Wed, May 28, 2014 at 11:33:35AM +0200, Heiko Schocher wrote: move fdtdec_get_int() out of lib/fdtdec.c into lib/fdtdec_common.c as this function is also used, if CONFIG_OF_CONTROL is not used. Poped up on the ids8313 board using signed FIT

Re: [U-Boot] [PATCH 2/5] sunxi: Add i2c support

2014-06-10 Thread Hans de Goede
Hi, On 06/10/2014 08:33 AM, Heiko Schocher wrote: Hello Hans, Am 09.06.2014 17:15, schrieb Hans de Goede: Add support for the i2c controller found on all Allwinner sunxi SoCs, this is the same controller as found on the Marvell orion5x and kirkwood SoC families, with a slightly different

Re: [U-Boot] [PATCH] sun5i: Add A13-OLinuXinoM support

2014-06-10 Thread Hans de Goede
Hi, On 06/10/2014 09:25 AM, Albert ARIBAUD wrote: Hi Hans, On Mon, 09 Jun 2014 09:56:01 +0200, Hans de Goede hdego...@redhat.com wrote: Hi, On 06/09/2014 08:50 AM, Albert ARIBAUD wrote: Hi Tom, On Thu, 20 Mar 2014 08:49:37 -0400, Tom Rini tr...@ti.com wrote: Tested-by: Matt Porter

Re: [U-Boot] [PATCH 2/5] sunxi: Add i2c support

2014-06-10 Thread Heiko Schocher
Hello Hans, Am 10.06.2014 09:44, schrieb Hans de Goede: Hi, On 06/10/2014 08:33 AM, Heiko Schocher wrote: Hello Hans, Am 09.06.2014 17:15, schrieb Hans de Goede: Add support for the i2c controller found on all Allwinner sunxi SoCs, this is the same controller as found on the Marvell orion5x

[U-Boot] Pull request: u-boot-sh/rmobile into u-boot-arm/master

2014-06-10 Thread Nobuhiro Iwamatsu
Dear Albert Aribaud, Please pull u-boot-sh/rmobile into u-boot-arm/master. The following changes since commit 0a26e1d6c394aacbf1153977b7348d1dff85db3f: arm: fix a double-definition error of _start symbol (2014-06-09 10:36:40 +0200) are available in the git repository at:

Re: [U-Boot] [U-Boot, 1/5] mvtwsi: convert to CONFIG_SYS_I2C framework

2014-06-10 Thread Heiko Schocher
Hello Hans, Am 09.06.2014 17:15, schrieb Hans de Goede: Note this has only been tested on Allwinner sunxi devices (support for which gets introduced by a later patch). The kirkwood changes have been compile tested using the wireless_space board config, the orion5x changes have been compile

[U-Boot] Pull request: u-boot-sh/master

2014-06-10 Thread Nobuhiro Iwamatsu
Dear Tom Rini. Please pull u-boot-sh master branch. This PR is included part of net stuff. The following changes since commit 55e8250bd3cfd996d1caa04f520160a89ec04754: Merge branch 'master' of git://git.denx.de/u-boot-arm (2014-06-08 07:58:41 -0400) are available in the git repository at:

Re: [U-Boot] [PATCH v3 1/3] mx28evk: Fix warning when CONFIG_ENV_IS_IN_SPI_FLASH is selected

2014-06-10 Thread Stefano Babic
Hi Fabio, On 10/06/2014 05:03, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com When building a target with CONFIG_ENV_IS_IN_SPI_FLASH the following warning is seen: include/configs/mx28evk.h:73:0: warning: CONFIG_ENV_SIZE redefined [enabled by default] Protect

[U-Boot] [PATCH] imx: correct HAB status for new chip TO

2014-06-10 Thread Stefano Babic
According to: http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/log/?h=imx_v2009.08_3.0.35_4.1.0 ENGR00287268 mx6: fix the secure boot issue on the new tapout chip commit 424cb1a79e9f5ae4ede9350dfb5e10dc9680e90b newer i.MX6 silicon revisions have an updated ROM and HAB API table. Please

Re: [U-Boot] [PATCH] sun5i: Add A13-OLinuXinoM support

2014-06-10 Thread Albert ARIBAUD
Hi Hans, On Tue, 10 Jun 2014 09:48:48 +0200, Hans de Goede hdego...@redhat.com wrote: Hi, On 06/10/2014 09:25 AM, Albert ARIBAUD wrote: Hi Hans, On Mon, 09 Jun 2014 09:56:01 +0200, Hans de Goede hdego...@redhat.com wrote: Hi, On 06/09/2014 08:50 AM, Albert ARIBAUD wrote:

Re: [U-Boot] [PATCH v4 00/10] ARMv7: add PSCI support to U-Boot

2014-06-10 Thread Albert ARIBAUD
Hi Marc, On Sat, 26 Apr 2014 13:17:01 +0100, Marc Zyngier marc.zyng...@arm.com wrote: PSCI is an ARM standard that provides a generic interface that supervisory software can use to manage power in the following situations: - Core idle management - CPU hotplug - big.LITTLE migration models

Re: [U-Boot] [RFC 06/10] cc-option: make it work with clang

2014-06-10 Thread Masahiro Yamada
Hi Jeroen, On Sat, 31 May 2014 22:32:20 +0200 Jeroen Hofstee jer...@myspectrum.nl wrote: By default clang will return echo a warning if an option is unknown. Therefore turn warnings into errors when polling for options. As far as I tested with clang 3.5 on Ubuntu 14.04, it looks different.

Re: [U-Boot] Pull request: u-boot-sh/rmobile into u-boot-arm/master

2014-06-10 Thread Albert ARIBAUD
Hi Nobuhiro, On Tue, 10 Jun 2014 16:58:39 +0900, Nobuhiro Iwamatsu iwama...@nigauri.org wrote: Dear Albert Aribaud, Please pull u-boot-sh/rmobile into u-boot-arm/master. The following changes since commit 0a26e1d6c394aacbf1153977b7348d1dff85db3f: arm: fix a double-definition error of

Re: [U-Boot] [RFC 06/10] cc-option: make it work with clang

2014-06-10 Thread Albert ARIBAUD
Hi Masahiro, On Tue, 10 Jun 2014 17:39:03 +0900, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Jeroen, On Sat, 31 May 2014 22:32:20 +0200 Jeroen Hofstee jer...@myspectrum.nl wrote: By default clang will return echo a warning if an option is unknown. Therefore turn warnings

Re: [U-Boot] [PATCH v4 00/10] ARMv7: add PSCI support to U-Boot - *not* applied

2014-06-10 Thread Albert ARIBAUD
On Tue, 10 Jun 2014 10:36:49 +0200, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Marc, Applied to u-boot-arm/master, thanks! Apologies -- *not* applied until 08/10 warning is fixed. Amicalement, -- Albert. ___ U-Boot mailing list

Re: [U-Boot] [PATCH v4 00/10] ARMv7: add PSCI support to U-Boot - *not* applied

2014-06-10 Thread Albert ARIBAUD
On Tue, 10 Jun 2014 11:06:38 +0200, Albert ARIBAUD albert.u.b...@aribaud.net wrote: On Tue, 10 Jun 2014 10:36:49 +0200, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Marc, Applied to u-boot-arm/master, thanks! Apologies -- *not* applied until 08/10 warning is fixed. I meant

Re: [U-Boot] [Patch v4 2/5] ARMv8: Adjust MMU setup

2014-06-10 Thread Mark Rutland
Hi, Apologies for the delay in replying. On Fri, Jun 06, 2014 at 11:14:23PM +0100, York Sun wrote: On 06/06/2014 01:17 PM, York Sun wrote: On 06/06/2014 10:32 AM, Mark Rutland wrote: How is TCR_EL2.SH0 (or TCR_EL1.SH*) configured? You'll only need to flush the cache if they're

Re: [U-Boot] Please pick up the maintainership on orphan boards

2014-06-10 Thread Tushar Behera
On 29 May 2014 12:06, Tushar Behera tushar.beh...@linaro.org wrote: On 29 May 2014 11:30, Minkyu Kang mk7.k...@samsung.com wrote: Dear Tushar Behera, On 29/05/14 12:43, Masahiro Yamada wrote: Minkyu, Inderpal Singh inderpal.si...@linaro.org is invalid. Could you assign another enginner

[U-Boot] [PATCH] Arndale: Enable preboot support

2014-06-10 Thread Tushar Behera
We need to run 'usb start' as preboot command so that ethernet comes up during u-boot prompt. Signed-off-by: Tushar Behera tusha...@samsung.com --- include/configs/arndale.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/arndale.h b/include/configs/arndale.h index

[U-Boot] [PATCH] dfu: Disable default calculation of CRC32

2014-06-10 Thread Lukasz Majewski
Patch (SHA1: bd694244db7bc969954) dfu: Introduction of the dfu_hash_algo env variable for checksum method setting already introduced more generic handling of the crc32 calculation. Up till now the CRC32 of received data was calculated unconditionally. This patch changes this and from now - by

Re: [U-Boot] [U-boot] sandbox test script question

2014-06-10 Thread TigerLiu
Hi, Simon: Is there any doc described how to use 'sb load host / sb ls host' etc cmds? I tried to run: sb info it displayed: 0 Not bound to a backing file .. Best wishes, ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] arm: bcm281xx: Add CONFIG_SYS_GENERIC_BOARD

2014-06-10 Thread Albert ARIBAUD
Hi Steve, On Wed, 14 May 2014 14:18:09 -0700, Steve Rae s...@broadcom.com wrote: convert to generic board Signed-off-by: Steve Rae s...@broadcom.com --- include/configs/bcm28155_ap.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/bcm28155_ap.h

[U-Boot] [PATCH 02/10] exynos: pinmux: fix the gpio names for exynos4x12 mmc

2014-06-10 Thread Przemyslaw Marczak
This change fixes the bad gpio configuration for the exynos dwmmc. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Beomho Seo beomho@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com Cc: Jaehoon Chung jh80.ch...@samsung.com --- arch/arm/cpu/armv7/exynos/pinmux.c | 4 ++-- 1 file

[U-Boot] [PATCH 01/10] samsung: misc: fix soc revision setting in the set_board_info()

2014-06-10 Thread Przemyslaw Marczak
The byte order of soc revision was inverted, now it is fixed. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Piotr Wilczek p.wilc...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- board/samsung/common/misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 07/10] samsung: board: checkboard: call get_board_type() for CONFIG_BOARD_TYPES

2014-06-10 Thread Przemyslaw Marczak
For support of multiple board types in a one config - it is welcome to display the current board model. This is what get_board_type() should return. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Piotr Wilczek p.wilc...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com ---

[U-Boot] [PATCH 08/10] odroid: add board file for Odroid X2/U3 based on Samsung Exynos4412

2014-06-10 Thread Przemyslaw Marczak
This board file supports standard features of Odroid X2 and U3 boards: - Exynos4412 core clock set to 1000MHz and MPLL peripherial clock set to 800MHz, - MAX77686 power regulator, - USB PHY, - enable XCL205 - power for board peripherials - check board type: U3 or X2. Signed-off-by: Przemyslaw

[U-Boot] [PATCH 06/10] samsung: misc: set_board_info: check the board type to set fdt file name

2014-06-10 Thread Przemyslaw Marczak
This change adds a call to the get_board_type_fdt() function before setting the fdtfile environment variable. For CONFIG_BOARD_TYPES below function is called: - const char *get_board_type_fdt(void) - should return a pointer to the board type string. This is useful in case of run many boards

[U-Boot] [PATCH 05/10] arm:reset: call the reset_misc() before the cpu reset

2014-06-10 Thread Przemyslaw Marczak
On an Odroid U3 board, the SOC is unable to reset an eMMC card in the DWMMC mode by the cpu software reset. Manual reset of the card by switching proper gpio pin - fixes this issue. Such solution needs to add a call to pre reset function. This is done by the reset_misc() function, which is called

[U-Boot] [PATCH 09/10] odroid: add odroid U3/X2 device tree description

2014-06-10 Thread Przemyslaw Marczak
This is a standard description for Odroid boards. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com Cc: Tom Rini tr...@ti.com --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/exynos4412-odroid.dts | 70 ++

[U-Boot] [PATCH 04/10] samsung: misc: set the dfu bootloader setting at boot time.

2014-06-10 Thread Przemyslaw Marczak
This change adds new function: - set_dfu_boot_alt(bootmode) - where bootmode is the value of Exynos ompin[5:1] masked with BOOT_MODE(x) macro. This change is useful for devices with more than one boot device, e.g. with a separated SD and eMMC slots. Different dfu

[U-Boot] [PATCH 03/10] board:samsung: check the mmc boot device and init the right mmc driver.

2014-06-10 Thread Przemyslaw Marczak
It is possible to boot from a few media devices, especially using a micro SD or eMMC slots. In this situation, boot device should be registered as block device 0 in the MMC framework, because CONFIG_SYS_MMC_ENV_DEV is usually set to 0 in the most config cases. Signed-off-by: Przemyslaw Marczak

[U-Boot] [PATCH 10/10] odroid: add odroid_config

2014-06-10 Thread Przemyslaw Marczak
This config is valid for two devices: - Odroid X2, - Odroid U3. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com Cc: Tom Rini tr...@ti.com --- boards.cfg | 1 + doc/README.odroid| 122 +++

Re: [U-Boot] U-Boot support for ODROID Board

2014-06-10 Thread Przemyslaw Marczak
Hello Hannes, On 06/09/2014 05:11 PM, Przemyslaw Marczak wrote: Hi, On 06/09/2014 05:00 PM, Hannes Petermaier wrote: Hi Przemyslaw, sounds good. Do you have also experience running a current version of Linux Kernel on this board ? best regards, Hannes On 2014-06-09 16:29, Przemyslaw

Re: [U-Boot] [PATCH 1/2] Makefile: fix clang warnings due to clang support

2014-06-10 Thread Masahiro Yamada
Hi Jeroen, On Fri, 30 May 2014 15:45:27 +0200 Jeroen Hofstee jer...@myspectrum.nl wrote: Building u-boot tools with clang as a host compiler e.g. on FreeBSD with `gmake HOSTCC=clang CONFIG_USE_PRIVATE_LIBGCC=y tools` leads to many warnings [1] for every compiler invocation since commit

Re: [U-Boot] Please pick up the maintainership on orphan boards

2014-06-10 Thread Masahiro Yamada
Hi Tushar, On Tue, 10 Jun 2014 14:54:20 +0530 Tushar Behera tushar.beh...@linaro.org wrote: On 29 May 2014 12:06, Tushar Behera tushar.beh...@linaro.org wrote: On 29 May 2014 11:30, Minkyu Kang mk7.k...@samsung.com wrote: Dear Tushar Behera, On 29/05/14 12:43, Masahiro Yamada wrote:

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

2014-06-10 Thread Masahiro Yamada
Hi Chin, On Tue, 10 Jun 2014 00:42:19 -0500 Chin Liang See cl...@altera.com wrote: To add the Denali NAND driver support into U-Boot. It required information such as register base address from configuration header file within include/configs folder. Signed-off-by: Chin Liang See

[U-Boot] [PATCH] x86: Enable 32-bit build using x86_64 multilib toolchain

2014-06-10 Thread Vasili Galka
Until now building the x86 arch boards required 32-bit toolchain. As many x86_64 toolchains come with 32-bit support (multilib) that's a good idea to enable build with such toolchains. The change required was to specify the usage of 32-bit explicitly to the compiler and the linker (-m32 and -m

[U-Boot] [PATCH] Remove ${objtree}/include/asm/proc/ link

2014-06-10 Thread Vasili Galka
mkconfig links ${objtree}/include/asm/proc/ to ${srctree}/arch/${arch}/include/asm/proc-armv/. This seems to be a remnant from the past. Ever since its introduction in 2003 it is used only in ARM build and always links to same place, so let's simplify the code, remove it and reference directly

Re: [U-Boot] Pull request: u-boot-sh/master

2014-06-10 Thread Tom Rini
On Tue, Jun 10, 2014 at 05:10:02PM +0900, Nobuhiro Iwamatsu wrote: Dear Tom Rini. Please pull u-boot-sh master branch. This PR is included part of net stuff. The following changes since commit 55e8250bd3cfd996d1caa04f520160a89ec04754: Merge branch 'master' of

[U-Boot] [PATCH] cosmetic: Whitespace fix

2014-06-10 Thread Vasili Galka
Signed-off-by: Vasili Galka vvv...@gmail.com --- arch/arm/cpu/armv7/exynos/spl_boot.c |4 ++-- board/Marvell/include/pci.h |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/cpu/armv7/exynos/spl_boot.c b/arch/arm/cpu/armv7/exynos/spl_boot.c index

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

2014-06-10 Thread Marek Vasut
On Tuesday, June 10, 2014 at 08:10:01 AM, Lukasz Majewski wrote: Hi Marek, On Monday, June 09, 2014 at 12:51:43 PM, Lukasz Majewski wrote: Hi Marek, Hi Marek, On Monday, May 26, 2014 at 07:46:27 AM, Lukasz Majewski wrote: Hi Marek The following changes

Re: [U-Boot] [PATCH 2/5] sunxi: Add i2c support

2014-06-10 Thread Prafulla Wadaskar
-Original Message- From: Hans de Goede [mailto:hdego...@redhat.com] Sent: 09 June 2014 22:44 To: Albert ARIBAUD Cc: Heiko Schocher; Henrik Nordström; Ian Campbell; u- b...@lists.denx.de; Prafulla Wadaskar Subject: Re: [PATCH 2/5] sunxi: Add i2c support Hi, On 06/09/2014

Re: [U-Boot] Please pick up the maintainership on orphan boards

2014-06-10 Thread Tom Rini
On Tue, Jun 10, 2014 at 02:54:20PM +0530, Tushar Behera wrote: On 29 May 2014 12:06, Tushar Behera tushar.beh...@linaro.org wrote: On 29 May 2014 11:30, Minkyu Kang mk7.k...@samsung.com wrote: Dear Tushar Behera, On 29/05/14 12:43, Masahiro Yamada wrote: Minkyu, Inderpal Singh

[U-Boot] [PATCH] trats/trats2: exynos_power_init: return 0 if no battery detected.

2014-06-10 Thread Przemyslaw Marczak
Generic board support is now enabled for Exynos 4, and if any init function returns an error then the init process is stopped. This makes a boot issue on the Trats and Trats2 devices. If the device is supplied by USB cable or an external power supply then it can't boot because function

Re: [U-Boot] [PATCH 1/5] mvtwsi: convert to CONFIG_SYS_I2C framework

2014-06-10 Thread Prafulla Wadaskar
-Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot- boun...@lists.denx.de] On Behalf Of Hans de Goede Sent: 09 June 2014 20:45 To: Albert ARIBAUD; Heiko Schocher Cc: u-boot@lists.denx.de; Ian Campbell Subject: [U-Boot] [PATCH 1/5] mvtwsi: convert to

[U-Boot] [RFC] Proposal to change include search model

2014-06-10 Thread Vasili Galka
Hi, Currently U-Boot has a long list of include search paths. This makes it hard to understand the location of each header. Moreover, it opens an easy opportunity for breaking build by including the wrong header. This is especially easy when compiling the tools directory. I found numerous commits

Re: [U-Boot] [PATCH 4/4] usb: ci_udc: complete ep0 direction handling

2014-06-10 Thread Stephen Warren
On 06/01/2014 11:22 AM, Marek Vasut wrote: On Thursday, May 29, 2014 at 10:53:03 PM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com handle_setup() currently assumes that the response to a Setup transaction will be an OUT transaction, and any subsequent packet (if any) will be

Re: [U-Boot] [PATCH] mmc: return meaningful error codes from mmc_select_hwpart

2014-06-10 Thread Stephen Warren
On 06/02/2014 12:18 AM, Pantelis Antoniou wrote: On May 23, 2014, at 9:47 PM, Stephen Warren wrote: Rather than just returning -1 everywhere, try to return something meaningful from mmc_select_hwpart(). Note that most other MMC functions don't do this, including functions called from

Re: [U-Boot] [PATCH 1/2] cmd_mmc: default to HW partition 0 if not specified

2014-06-10 Thread Stephen Warren
On 05/30/2014 03:11 PM, Stephen Warren wrote: On 05/23/2014 12:48 PM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Currently, mmc dev 0 does not change the selected HW partition. I think it makes more sense if mmc dev 0 is an alias for mmc dev 0 0, i.e. that HW partition 0

Re: [U-Boot] [PATCH 1/3] cmd_mmc: add force_init parameter to init_mmc_device()

2014-06-10 Thread Stephen Warren
On 05/30/2014 03:12 PM, Stephen Warren wrote: On 05/23/2014 01:24 PM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com This allows callers to inject mmc-has_init = 0 between finding the MMC device, and calling mmc_init(), which forces mmc_init() to rescan the HW. Future changes

Re: [U-Boot] [PATCH] mmc: return meaningful error codes from mmc_select_hwpart

2014-06-10 Thread Pantelis Antoniou
On Jun 10, 2014, at 7:00 PM, Stephen Warren wrote: On 06/02/2014 12:18 AM, Pantelis Antoniou wrote: On May 23, 2014, at 9:47 PM, Stephen Warren wrote: Rather than just returning -1 everywhere, try to return something meaningful from mmc_select_hwpart(). Note that most other MMC functions

Re: [U-Boot] [Patch v4 2/5] ARMv8: Adjust MMU setup

2014-06-10 Thread York Sun
On 06/10/2014 02:15 AM, Mark Rutland wrote: Hi, Apologies for the delay in replying. On Fri, Jun 06, 2014 at 11:14:23PM +0100, York Sun wrote: On 06/06/2014 01:17 PM, York Sun wrote: On 06/06/2014 10:32 AM, Mark Rutland wrote: How is TCR_EL2.SH0 (or TCR_EL1.SH*) configured? You'll only

[U-Boot] [PATCH] dfu: free entities when parsing fails

2014-06-10 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com When dfu_init_env_entities() fails part-way through, some entities may have been added to dfu_list. These are only removed by dfu_free_entities(). If that function isn't called, those stale entities will still exist the next time dfu_init_env_entities() is

Re: [U-Boot] u-boot: vexpressca9x4: hang(?) with qemu

2014-06-10 Thread Matwey V. Kornilov
09.06.2014 21:52, Matwey V. Kornilov пишет: It actually jumps to 0x6001 where the middle of get_device_and_partition located. I've found that it works with qemu 1.7 but I have to provide u-boot in ELF format, bare-metal u-boot.bin don't work.

[U-Boot] [ANN] U-Boot v2014.07-rc3 released

2014-06-10 Thread Tom Rini
Hey all, I've pushed v2014.07-rc3 out to the repository and tarballs should exist soon. We're getting better on the syncing up of things out of patchwork and I know there's still a few items to go (and some bigger ideas I need to come back to commenting on). As always, if anything is broken

Re: [U-Boot] [ANN] U-Boot v2014.07-rc3 released

2014-06-10 Thread Stefan Roese
Hi Tom! On 10.06.2014 18:14, Tom Rini wrote: I've pushed v2014.07-rc3 out to the repository and tarballs should exist soon. We're getting better on the syncing up of things out of patchwork and I know there's still a few items to go (and some bigger ideas I need to come back to commenting on).

[U-Boot] [PATCH 1/4] usb: ci_udc: call udc_disconnect() from ci_pullup()

2014-06-10 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com ci_pullup()'s !is_on path contains a cut/paste copy of udc_disconnect(). Remove the duplication by simply calling udc_disconnect() instead. Signed-off-by: Stephen Warren swar...@nvidia.com --- drivers/usb/gadget/ci_udc.c | 28

[U-Boot] [PATCH 4/4] usb: ci_udc: clean up all allocations in unregister

2014-06-10 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com usb_gadget_unregister_driver() is called to tear down the USB device mode stack. Fix the driver to stop the USB HW (which causes any attached host to notice the disappearance of the device), and free all allocations (which obviously prevents memory leaks).

[U-Boot] [PATCH 3/4] usb: ci_udc: fix probe error cleanup

2014-06-10 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com If allocation of the ep0 req fails, clean up all the allocations that were made in ci_udc_probe(). Signed-off-by: Stephen Warren swar...@nvidia.com --- drivers/usb/gadget/ci_udc.c | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH 2/4] usb: ci_udc: fix freeing of ep0 req

2014-06-10 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com ci_ep_alloc_request() avoids allocating multiple request objects for ep0 by keeping a record of the first req allocated for ep0, and always returning that instead of allocating a new req. However, if this req is ever freed, the record of the previous

Re: [U-Boot] [ANN] U-Boot v2014.07-rc3 released

2014-06-10 Thread Wolfgang Denk
Dear Tom, In message 20140610161453.GB7841@bill-the-cat you wrote: I've pushed v2014.07-rc3 out to the repository and tarballs should exist soon. The tarball is available on the FTP server. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev

Re: [U-Boot] [ANN] U-Boot v2014.07-rc3 released

2014-06-10 Thread Tom Rini
On Tue, Jun 10, 2014 at 07:01:51PM +0200, Stefan Roese wrote: Hi Tom! On 10.06.2014 18:14, Tom Rini wrote: I've pushed v2014.07-rc3 out to the repository and tarballs should exist soon. We're getting better on the syncing up of things out of patchwork and I know there's still a few items

Re: [U-Boot] [Patch v2] omap3: overo: Select fdtfile for expansion board

2014-06-10 Thread Ash Charles
On Tue, Jun 10, 2014 at 12:30 AM, Stefan Herbrechtsmeier ste...@herbrechtsmeier.net wrote: Why you set the 'expansionname' to 'tobi' for unknown (maybe foreign) expansion boards? 1. We need some sort of default otherwise people's boards that either don't have an eeprom or don't have board data

Re: [U-Boot] [PATCH] dfu: fix some issues with reads/uploads

2014-06-10 Thread Stephen Warren
On 05/30/2014 02:28 AM, Lukasz Majewski wrote: Stephen Warren wrote: ... Wouldn't it be better to have the following separate backends to DFU: * MMC (raw IO only) * NAND (raw IO only) * RAM (raw IO only) * Filesystem (anything that fs/fat/ext* load/write can support) That way, DFU could

Re: [U-Boot] [PATCH] arm: Allow u-boot to run from offset base address

2014-06-10 Thread Steve Rae
On 14-06-09 10:16 PM, Albert ARIBAUD wrote: Hi Steve, (sorry for the duplicate) On Mon, 9 Jun 2014 13:45:50 -0700, Steve Rae s...@broadcom.com wrote: On 14-06-09 03:23 AM, Albert ARIBAUD wrote: Hi Darwin, On Mon, 2 Jun 2014 17:37:25 -0700, Darwin Rambo dra...@broadcom.com wrote: On

Re: [U-Boot] [Patch v2] omap3: overo: Select fdtfile for expansion board

2014-06-10 Thread Stefan Herbrechtsmeier
Am 10.06.2014 19:17, schrieb Ash Charles: On Tue, Jun 10, 2014 at 12:30 AM, Stefan Herbrechtsmeier ste...@herbrechtsmeier.net wrote: Why you set the 'expansionname' to 'tobi' for unknown (maybe foreign) expansion boards? 1. We need some sort of default otherwise people's boards that either

Re: [U-Boot] [PATCH] arm: Allow u-boot to run from offset base address

2014-06-10 Thread Wolfgang Denk
Dear Steve, In message 539746c4.9040...@broadcom.com you wrote: There could be many reasons why the CONFIG_SYS_TEXT_BASE is not aligned on a 0x1000 byte boundary (Darwin has attempted to document his particular use-case...) We should be more precise here and ask for any _good_ reasons. I

Re: [U-Boot] [PATCH 1/2] Makefile: fix clang warnings due to clang support

2014-06-10 Thread Jeroen Hofstee
Hello Masahiro, On di, 2014-06-10 at 21:20 +0900, Masahiro Yamada wrote: Hi Jeroen, On Fri, 30 May 2014 15:45:27 +0200 Jeroen Hofstee jer...@myspectrum.nl wrote: Building u-boot tools with clang as a host compiler e.g. on FreeBSD with `gmake HOSTCC=clang CONFIG_USE_PRIVATE_LIBGCC=y

[U-Boot] clang sandbox warning

2014-06-10 Thread Jeroen Hofstee
Hello Simon, While trying to find a u-boot make command which likely works with a pre-build clang linux package I got the following warnings: `make CC=clang -no-integrated-as HOSTCC=clang -no-integrated-as HOST_TOOLS_ALL=y sandbox_config tools`

[U-Boot] [PATCH 0/5] Add support for AM43xx Starter Kit

2014-06-10 Thread Felipe Balbi
Hi, patches were tested on AM43xx SK on top of v2014.07-rc3. Felipe Balbi (5): board: ti: am43xx: print unsupported board name cpu: armv7: am33x: ddr: write emif ref_ctrl_shadow register board: ti: am43xx: add support for AM43xx Starter Kit board: ti: am43xx: add AM437x SK PHY Address

[U-Boot] [PATCH 2/5] cpu: armv7: am33x: ddr: write emif ref_ctrl_shadow register

2014-06-10 Thread Felipe Balbi
Signed-off-by: Felipe Balbi ba...@ti.com --- arch/arm/cpu/armv7/am33xx/ddr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/cpu/armv7/am33xx/ddr.c b/arch/arm/cpu/armv7/am33xx/ddr.c index 9a625c4..bbe9d1a 100644 --- a/arch/arm/cpu/armv7/am33xx/ddr.c +++

[U-Boot] [PATCH 1/5] board: ti: am43xx: print unsupported board name

2014-06-10 Thread Felipe Balbi
when porting u-boot to a new am43xx board, it helps to know the name of the current unsupported board so we don't have to hunt for design documents to figure out what's written in the EEPROM. Signed-off-by: Felipe Balbi ba...@ti.com --- board/ti/am43xx/board.c | 2 +- 1 file changed, 1

[U-Boot] [PATCH 3/5] board: ti: am43xx: add support for AM43xx Starter Kit

2014-06-10 Thread Felipe Balbi
AM43xx Starter Kit is a new board based on AM437x line of SoCs. Being a low-cost EVM and small size EVM are intended to provide an entry level development platform on a full fledged Hardware System. Signed-off-by: Felipe Balbi ba...@ti.com --- board/ti/am43xx/board.c | 72

[U-Boot] [PATCH 5/5] board: ti: am43xx: enable QSPI and Gbit Ethernet on AM437x SK

2014-06-10 Thread Felipe Balbi
AM437x Starter Kit has a qspi flash and gbit ethernet support. By muxing those signals, we can use those interfaces from u-boot. Signed-off-by: Felipe Balbi ba...@ti.com --- board/ti/am43xx/mux.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/ti/am43xx/mux.c b/board/ti/am43xx/mux.c

[U-Boot] [PATCH 4/5] board: ti: am43xx: add AM437x SK PHY Address

2014-06-10 Thread Felipe Balbi
pass correct PHY Address when running on SK so that we have working ethernet with this board too. Signed-off-by: Felipe Balbi ba...@ti.com --- board/ti/am43xx/board.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/board/ti/am43xx/board.c

[U-Boot] [PATCH v2] bcm2835_sdhci: Add SDHCI_QUIRK_NO_HISPD_BIT flag

2014-06-10 Thread Lubomir Rintel
Seems like the controller doesn't support the flag. None of the hi-speed cards I've tried could be read, while they successfully worked with the quirk enabled. Signed-off-by: Lubomir Rintel lkund...@v3.sk --- Changes to v2: - I've sent the first version with extra and irrelevant hunk.

[U-Boot] [PATCH] bcm2835_sdhci: Add SDHCI_QUIRK_NO_HISPD_BIT flag

2014-06-10 Thread Lubomir Rintel
Seems like the controller doesn't support the flag. None of the hi-speed cards I've tried could be read, while they successfully worked with the quirk enabled. Signed-off-by: Lubomir Rintel lkund...@v3.sk --- drivers/mmc/bcm2835_sdhci.c | 2 +- include/configs/rpi_b.h | 2 ++ 2 files

Re: [U-Boot] [PATCH 4/4] usb: ci_udc: complete ep0 direction handling

2014-06-10 Thread Marek Vasut
On Tuesday, June 10, 2014 at 05:58:25 PM, Stephen Warren wrote: On 06/01/2014 11:22 AM, Marek Vasut wrote: On Thursday, May 29, 2014 at 10:53:03 PM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com handle_setup() currently assumes that the response to a Setup transaction

Re: [U-Boot] [Patch v2] omap3: overo: Select fdtfile for expansion board

2014-06-10 Thread Ash Charles
On Tue, Jun 10, 2014 at 11:06 AM, Stefan Herbrechtsmeier ste...@herbrechtsmeier.net wrote: You could use an environment file next to the u-boot image. Good point. ... Ok, but please use the GUMSTIX_NO_EEPROM case and leave the default empty or at least check the vendor id. This allows foreign

[U-Boot] [Patch v3] omap3: overo: Select fdtfile for expansion board

2014-06-10 Thread Ash Charles
The u-boot Overo board actually supports both Overo (OMAP35xx) and Overo Storm (AM/DM37xx) COMs with a range of different expansion boards. This provides a mechanism to select the an appropriate device tree file based on the processor version and, if available, the expansion board ID written on

Re: [U-Boot] [Patch v3] omap3: overo: Select fdtfile for expansion board

2014-06-10 Thread Stefan Herbrechtsmeier
Am 10.06.2014 21:02, schrieb Ash Charles: The u-boot Overo board actually supports both Overo (OMAP35xx) and Overo Storm (AM/DM37xx) COMs with a range of different expansion boards. This provides a mechanism to select the an appropriate device tree file based on the processor version and, if

Re: [U-Boot] [PATCH 1/2] usb: ci_udc: allow multiple buffer allocs per ep

2014-06-10 Thread Stephen Warren
On 06/02/2014 05:02 PM, Jörg Krause wrote: Sorry, my previous post was not shown correctly. The raw text was missing. I removed the annotation. Since this commit my Ethernet Gadget on a custom Freescale i.MX28 board is broken. Using tftp to download files I get in almost all cases a timeout:

Re: [U-Boot] [PATCH] arm: Allow u-boot to run from offset base address

2014-06-10 Thread Steve Rae
On 14-06-10 11:13 AM, Wolfgang Denk wrote: Dear Steve, In message 539746c4.9040...@broadcom.com you wrote: There could be many reasons why the CONFIG_SYS_TEXT_BASE is not aligned on a 0x1000 byte boundary (Darwin has attempted to document his particular use-case...) We should be more

Re: [U-Boot] [PATCH 4/5] board: ti: am43xx: add AM437x SK PHY Address

2014-06-10 Thread Vaibhav Bedia
Hi Felipe, On Jun 10, 2014 11:45 AM, Felipe Balbi ba...@ti.com wrote: pass correct PHY Address when running on SK so that we have working ethernet with this board too. Signed-off-by: Felipe Balbi ba...@ti.com --- board/ti/am43xx/board.c | 21 + 1 file changed, 13

Re: [U-Boot] [PATCH 4/5] board: ti: am43xx: add AM437x SK PHY Address

2014-06-10 Thread Felipe Balbi
Hi, On Tue, Jun 10, 2014 at 12:39:08PM -0700, Vaibhav Bedia wrote: Hi Felipe, On Jun 10, 2014 11:45 AM, Felipe Balbi ba...@ti.com wrote: pass correct PHY Address when running on SK so that we have working ethernet with this board too. Signed-off-by: Felipe Balbi ba...@ti.com ---

  1   2   >