[U-Boot] [PATCH] kbuild: move spl/Makefile to scripts/Makefile.spl

2014-06-09 Thread Masahiro Yamada
All files under spl/ and tpl/ are generated during the build process except spl/Makefile. We can simplify clean-rule and git-ignore by moving spl/Makefile to somewhere else. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- By the way, scripts/Makefile.spl shall be merged into other

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

2014-06-09 Thread Albert ARIBAUD
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 tr...@ti.com --- Where does this patch come from? The source tree it applies to is not that of mainline U-Boot. If this is actually an RFC that I

Re: [U-Boot] [PATCH] arm: fix a build error with CONFIG_USE_IRQ

2014-06-09 Thread Albert ARIBAUD
Hi Masahiro, On Mon, 26 May 2014 19:43:50 +0900, Masahiro Yamada yamad...@jp.panasonic.com wrote: Commit 41623c91 moved exception handling to arch/arm/lib/vectors.S, breaking CONFIG_USE_IRQ feature. If CONFIG_USE_IRQ is enabled, undefined reference error occurs.

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

2014-06-09 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 --- Has this been tested on hardware, or just build-tested? Amicalement, -- Albert. ___ U-Boot

Re: [U-Boot] [PATCH] arm: fix a build error with CONFIG_USE_IRQ

2014-06-09 Thread Masahiro Yamada
Hi Albert, On Mon, 9 Jun 2014 09:14:11 +0200 Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Masahiro, On Mon, 26 May 2014 19:43:50 +0900, Masahiro Yamada yamad...@jp.panasonic.com wrote: Commit 41623c91 moved exception handling to arch/arm/lib/vectors.S, breaking CONFIG_USE_IRQ

[U-Boot] [PULL u-boot-arm]: sunxi fixes + sun4i and sun5i support

2014-06-09 Thread Hans de Goede
resend with u-boot list in the CC, sorry about that Hi Albert, Please pull from my tree for various sunxi fixes + sun4i and sun5i support, all these patches have been reviewed and acked by Ian Campbell. I've not included the i2c and axp pmic patches from my previous posting of these series into

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

2014-06-09 Thread Hans de Goede
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 tr...@ti.com --- Where does this patch come from? The source tree it applies to is not that

Re: [U-Boot] [PATCH 1/3] arm: vf610: Add QSPI driver support

2014-06-09 Thread Albert ARIBAUD
Hi Chao, On Tue, 6 May 2014 09:13:01 +0800, Chao Fu b44...@freescale.com wrote: From: Alison Wang b18...@freescale.com Add Freescale QSPI driver support for VF610. Signed-off-by: Alison Wang huan.w...@freescale.com Signed-off-by: Chao Fu b44...@freescale.com --- drivers/spi/Makefile

Re: [U-Boot] [PATCH] vf610twr: Tune DDR initialization settings

2014-06-09 Thread Albert ARIBAUD
Hi Anthony, On Wed, 14 May 2014 17:29:48 -0400, Anthony Felice tony.fel...@timesys.com wrote: Removed settings in unsupported register fields. They didn’t do anything, and in most cases, were not documented in the reference manual. Changed register settings to comply with JEDEC required

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

2014-06-09 Thread Marc Zyngier
On 08/06/14 08:57, Albert ARIBAUD wrote: On Sun, 25 May 2014 16:08:44 +0200, Albert ARIBAUD albert.u.b...@aribaud.net wrote: 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

Re: [U-Boot] [PATCH v2 08/12] sunxi: Add axp209 pmic support

2014-06-09 Thread Hans de Goede
Hi, On 06/05/2014 08:40 PM, Ian Campbell wrote: On Tue, 2014-06-03 at 21:41 +0200, Hans de Goede wrote: +int axp209_set_ldo3(int mvolt) +{ +int cfg = axp209_mvolt_to_cfg(mvolt, 700, 2275, 25); + +if (mvolt == -1) +cfg = 0x80; /* determined by LDO3IN pin */ Thus

Re: [U-Boot] [PATCH] arm64: zero cntvoff_el2

2014-06-09 Thread Albert ARIBAUD
Hi Mark, On Wed, 21 May 2014 14:29:23 +0100, Mark Rutland mark.rutl...@arm.com wrote: Currently cntvoff_el2 is initialised with an arbitrary bag of bits derived from the initial value of cnthctl_el2 on the current CPU. This is somewhat odd and problematic as some of these bits are UNKNOWN at

Re: [U-Boot] [PATCH] arm: fix a build error with CONFIG_USE_IRQ

2014-06-09 Thread Albert ARIBAUD
Hi Masahiro, On Mon, 09 Jun 2014 16:36:56 +0900, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Albert, On Mon, 9 Jun 2014 09:14:11 +0200 Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Masahiro, On Mon, 26 May 2014 19:43:50 +0900, Masahiro Yamada

Re: [U-Boot] [PATCH 3/3] spi: add common spi3 controller driver

2014-06-09 Thread Jagan Teki
On Fri, Jun 6, 2014 at 12:14 PM, Scott Jiang scott.jiang.li...@gmail.com wrote: SPI3 controller is not only used on BF609 platform. So we add a common controller driver and leave machine specific configuration in board drivers. Remove obsolete spi6xx.h and select new board driver in

Re: [U-Boot] [PATCH] arm: fix a double-definition error of _start symbol

2014-06-09 Thread Albert ARIBAUD
Hi Masahiro, On Tue, 27 May 2014 11:16:29 +0900, Masahiro Yamada yamad...@jp.panasonic.com wrote: The symbol _start is defined twice in arch/arm/lib/vectors.S: around line 48 and line 54. If CONFIG_SYS_DV_NOR_BOOT_CFG is defined (as on calimain board), build fails:

Re: [U-Boot] [PATCH v2 08/12] sunxi: Add axp209 pmic support

2014-06-09 Thread Ian Campbell
On Mon, 2014-06-09 at 10:25 +0200, Hans de Goede wrote: https://github.com/jwrdegoede/u-boot-sunxi/commits/sunxi-upstreaming Note I often rebase + force push this branch. I noticed ;-) Note I won't be re-posting these until the i2c controller conversion to the CONFIG_SYS_I2C framework is

Re: [U-Boot] [PATCH v2 08/12] sunxi: Add axp209 pmic support

2014-06-09 Thread Hans de Goede
Hi, On 06/09/2014 10:50 AM, Ian Campbell wrote: On Mon, 2014-06-09 at 10:25 +0200, Hans de Goede wrote: https://github.com/jwrdegoede/u-boot-sunxi/commits/sunxi-upstreaming Note I often rebase + force push this branch. I noticed ;-) Note I won't be re-posting these until the i2c

Re: [U-Boot] [PATCH v4] arm: Add support for semihosting for armv8 fastmodel targets.

2014-06-09 Thread Albert ARIBAUD
Hi Darwin, On Fri, 23 May 2014 16:38:08 -0700, Darwin Rambo dra...@broadcom.com wrote: The reason for this change is to be able to use the ARM Trusted Firmware (ATF) to load the various ATF images, plus u-boot, which can then load the kernel/ramdisk/dtb with calls to an external host from a

[U-Boot] [PATCH] common: hash: zero end the string instead of the pointer

2014-06-09 Thread Jeroen Hofstee
if algo-digest_size is zero nothing is set in the str_output buffer. An attempt is made to zero end the buffer, but the pointer to the buffer is set to zero instead. I am unaware if it causes any actual problems, but solves the following warning: common/hash.c:217:13: warning: expression which

Re: [U-Boot] [PATCH v2 08/12] sunxi: Add axp209 pmic support

2014-06-09 Thread Albert ARIBAUD
Hi Hans, On Mon, 09 Jun 2014 10:59:19 +0200, Hans de Goede hdego...@redhat.com wrote: Hi, On 06/09/2014 10:50 AM, Ian Campbell wrote: On Mon, 2014-06-09 at 10:25 +0200, Hans de Goede wrote: https://github.com/jwrdegoede/u-boot-sunxi/commits/sunxi-upstreaming Note I often rebase +

Re: [U-Boot] [PATCH v2 08/12] sunxi: Add axp209 pmic support

2014-06-09 Thread Hans de Goede
Hi, On 06/09/2014 11:06 AM, Albert ARIBAUD wrote: Hi Hans, On Mon, 09 Jun 2014 10:59:19 +0200, Hans de Goede hdego...@redhat.com wrote: Hi, On 06/09/2014 10:50 AM, Ian Campbell wrote: On Mon, 2014-06-09 at 10:25 +0200, Hans de Goede wrote:

Re: [U-Boot] [PATCH] arm: fix a build error with CONFIG_USE_IRQ

2014-06-09 Thread Masahiro Yamada
Hi Albert, On Mon, 9 Jun 2014 10:35:06 +0200 Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Masahiro, On Mon, 09 Jun 2014 16:36:56 +0900, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Albert, On Mon, 9 Jun 2014 09:14:11 +0200 Albert ARIBAUD albert.u.b...@aribaud.net

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

2014-06-09 Thread Albert ARIBAUD
Hi Marc, On Mon, 09 Jun 2014 09:12:34 +0100, Marc Zyngier marc.zyng...@arm.com wrote: On 08/06/14 08:57, Albert ARIBAUD wrote: On Sun, 25 May 2014 16:08:44 +0200, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Marc, On Sat, 26 Apr 2014 13:17:01 +0100, Marc Zyngier

[U-Boot] [PATCH] FIX: config: goni: Change goni configuration to store envs at eMMC

2014-06-09 Thread Lukasz Majewski
Up till now goni's configuration has been stored at OneNAND. Since u-boot itself is now stored at eMMC it is more handy to store envs there as well. Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- include/configs/s5p_goni.h | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-)

[U-Boot] [PATCH v3 00/10] sunxi: Bug fixes, sun4i and sun5i support and network improvements

2014-06-09 Thread Hans de Goede
Hi All, Here is v2 of my patch series to be applied on top of Ian's recently merged basic sun7i support. This patch series begins with a few bug fixes found while working on preparing the rest of the series, adds sun4i and sun5i support and rounds things of with some networking fixes /

[U-Boot] [PATCH v3 01/10] sunxi: mksunxiboot: Fix loading of files with a size which is not a multiple of 4

2014-06-09 Thread Hans de Goede
We should not be aligning the amount of bytes which we try to read from the disk, this leads to trying to read more bytes then there are which fails. file_size is already aligned to BLOCK_SIZE before being stored in img.header.length, so there is no need for load_size at all. Signed-off-by: Hans

[U-Boot] [PATCH v3 02/10] sunxi: Fix u-boot-spl.lds to refer to .vectors

2014-06-09 Thread Hans de Goede
Adjust the u-boot-spl.lds linker script to match the changes made in the 41623c91b09a0c865fab41acdaff30f060f29ad6 arm: move exception handling out of start.S files commit. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell i...@hellion.org.uk ---

[U-Boot] [PATCH v3 04/10] sunxi: Implement reset_cpu

2014-06-09 Thread Hans de Goede
There is no way to reset the cpu, so use the watchdog for this. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell i...@hellion.org.uk --- arch/arm/cpu/armv7/sunxi/board.c| 7 +++ arch/arm/include/asm/arch-sunxi/timer.h | 5 + 2 files changed, 12

[U-Boot] [PATCH v3 03/10] sunxi: Remove mmc DMA support

2014-06-09 Thread Hans de Goede
The DMA code in sunxi_mmc.c is broken. mmc_trans_data_by_dma() allocates the dma descriptors on the stack, and then exits while the dma transfer is in progress, so the dma engine is reading stack memory which at that point may be re-used. So far we've gotten away with this by luck, but recent

[U-Boot] [PATCH v3 08/10] sunxi: Add emac glue, enable emac on the cubieboard

2014-06-09 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell i...@hellion.org.uk --- arch/arm/cpu/armv7/sunxi/board.c | 8 boards.cfg | 2 +- include/configs/sunxi-common.h | 5 + 3 files changed, 14 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v3 10/10] sunxi: Add Ian Campbell and Hans de Goede as cubietruck board-maintainers

2014-06-09 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell i...@hellion.org.uk --- boards.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards.cfg b/boards.cfg index 1fe9f80..983189e 100644 --- a/boards.cfg +++ b/boards.cfg @@ -376,8 +376,8 @@ Active

[U-Boot] [PATCH v3 06/10] sunxi: Add sun5i support

2014-06-09 Thread Hans de Goede
Add support for the Allwinner A13 and A10s SoCs also know as the Allwinner sun5i family, and the A13-OLinuXinoM A13 based and r7-tv-dongle A10s based boards. The only differences compared to the already supported sun4i and sun7i families are all in the DRAM controller initialization: -Different

[U-Boot] [PATCH v3 05/10] sunxi: Add sun4i support

2014-06-09 Thread Hans de Goede
Add support for the Allwinner A10 SoC also known as the Allwinner sun4i family, and add the Cubieboard board which uses the A10 SoC. Compared to sun7 only the DRAM controller is a bit different: -Controller reset bits are inverted, but only for Rev. A -Different hpcr values -No MBUS on sun4i

[U-Boot] [PATCH v3 07/10] net: Rename and cleanup sunxi (Allwinner) emac driver

2014-06-09 Thread Hans de Goede
From: Stefan Roese s...@denx.de There have been 3 versions of the sunxi_emac support patch during its development. Somehow version 2 ended up in upstream u-boot where as the u-boot-sunxi git repo got version 3. This bumps the version in upstream u-boot to version 3 of the patch: - Initialize MII

[U-Boot] [PATCH v3 09/10] sunxi: Add support for using MII phy-s with the GMAC nic

2014-06-09 Thread Hans de Goede
From: Chen-Yu Tsai w...@csie.org Many A20 boards (ie Cubieboard2, A20-OLinuXino_MICRO) use an 100 Mbit MII phy together with the GMAC nic found in the A20 SoC, add support for this (this will get used when we add these boards in a later patch). Signed-off-by: Chen-Yu Tsai w...@csie.org

Re: [U-Boot] [PATCH] arm: fix a build error with CONFIG_USE_IRQ

2014-06-09 Thread Albert ARIBAUD
Hi Masahiro, On Mon, 09 Jun 2014 18:29:26 +0900, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Albert, On Mon, 9 Jun 2014 10:35:06 +0200 Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Masahiro, On Mon, 09 Jun 2014 16:36:56 +0900, Masahiro Yamada

Re: [U-Boot] [PATCH] arm: fix a double-definition error of _start symbol

2014-06-09 Thread Masahiro Yamada
Hi Albert, Apart from the shame of having written this double definition myself and missed it entirely, I am surprised because this error (obviously) does not occur on my setup. Which toolchain are you using? It is not because of the toolchain difference. You should understand the problem

Re: [U-Boot] [PATCH] arm: fix a double-definition error of _start symbol

2014-06-09 Thread Albert ARIBAUD
Hi Masahiro, On Mon, 09 Jun 2014 18:44:08 +0900, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Albert, Apart from the shame of having written this double definition myself and missed it entirely, I am surprised because this error (obviously) does not occur on my setup. Which

Re: [U-Boot] [PATCH v2 08/12] sunxi: Add axp209 pmic support

2014-06-09 Thread Ian Campbell
On Mon, 2014-06-09 at 10:59 +0200, Hans de Goede wrote: How would you feel about reordering things a bit to push the i2c/power and sun[45]i stuff to the end, most of the rest looks more or less trivial/uncontroversial to me and could potentially be applied sooner rather than later

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

2014-06-09 Thread Albert ARIBAUD
Hi Darwin, On Mon, 2 Jun 2014 17:37:25 -0700, Darwin Rambo dra...@broadcom.com wrote: On 14-06-02 12:26 AM, Albert ARIBAUD wrote: Hi Darwin, On Mon, 26 May 2014 09:11:35 -0700, Darwin Rambo dra...@broadcom.com wrote: Hi Albert, The previous stage bootloader (which I had no

Re: [U-Boot] [PATCH v3 0/2] Introduction of new board Peach-Pit

2014-06-09 Thread Akshay Saraswat
Hi Minkyu, Please review this patch set. This board is based on Exynos5420 and is similar to SMDK5420 board. Adding new and refactoring existing DT and config files to support both SMDK5420 and Peach-Pit. Changes since v1: - Added Acked-by. Changes since v2: - Changed

Re: [U-Boot] [PATCH v3 0/5] Fix SPI read and Enable required configs for Exynos5

2014-06-09 Thread Akshay Saraswat
Hi Minkyu, Please review this patch set. This patch set intends to - 1. Fix SPI flash reading. 2. Enable saving environment at the end of flash. 3. Increase SPL size. 4. Enable USB booting for all Exynos5 Socs. Changes since v2: - Added Acked-by Tested-by. - Changed

Re: [U-Boot] [PATCH v2 0/4] Exynos5: Update dmc init

2014-06-09 Thread Akshay Saraswat
Hi Minkyu, Please review this patch set. This patch series intends to add few changes with respect to ddr3 init function definition and read leveling. Changes since v1: - Added Acked-by in patches 1/4, 2/4 and 3/4. - Removing only mem_iv_size argument now in patch 1/4.

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

2014-06-09 Thread Lukasz Majewski
Hi Marek, On Monday, May 26, 2014 at 07:46:27 AM, Lukasz Majewski wrote: Hi Marek The following changes since commit fc25fa27e5f439705e9ca42182014e2d75d9f0ae: dfu, nand: add medium specific polltimeout function (2014-05-08 10:38:30 +0200) are available in the git

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

2014-06-09 Thread Lukasz Majewski
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: dfu, nand: add medium specific polltimeout function (2014-05-08 10:38:30 +0200) are

[U-Boot] [PATCH v2 2/2] arm: fix a double-definition error of _start symbol

2014-06-09 Thread Masahiro Yamada
The symbol _start is defined twice in arch/arm/lib/vectors.S: around line 48 and line 54. If CONFIG_SYS_DV_NOR_BOOT_CFG is defined (as on calimain board), build fails: arch/arm/lib/vectors.S: Assembler messages: arch/arm/lib/vectors.S:54: Error: symbol `_start' is already defined make[1]:

[U-Boot] [PATCH v2 0/2] ARM: bug fixes of commit 41623c91 (arch/arm/lib/vectors.S)

2014-06-09 Thread Masahiro Yamada
Masahiro Yamada (2): arm: include config.h in arch/arm/lib/vectors.S arm: fix a double-definition error of _start symbol arch/arm/lib/vectors.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.9.1 ___ U-Boot mailing list

[U-Boot] [PATCH v2 1/2] arm: include config.h in arch/arm/lib/vectors.S

2014-06-09 Thread Masahiro Yamada
Commit 41623c91 moved exception handling to arch/arm/lib/vectors.S, but it missed to include config.h. This mistake causes two problems. [1] enbw_cmc, da850evm_direct_nor, calimain boards are broken. They expect CONFIG_SYS_DV_NOR_BOOT_CFG (= 0x0011) at the beginning of the boot image. But

Re: [U-Boot] [PATCH] arm: fix a build error with CONFIG_USE_IRQ

2014-06-09 Thread Masahiro Yamada
Hi Albert, On Mon, 9 Jun 2014 10:35:06 +0200 Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Masahiro, On Mon, 09 Jun 2014 16:36:56 +0900, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Albert, On Mon, 9 Jun 2014 09:14:11 +0200 Albert ARIBAUD albert.u.b...@aribaud.net

Re: [U-Boot] [PATCH] arm: fix a build error with CONFIG_USE_IRQ

2014-06-09 Thread Masahiro Yamada
Hi Albert, Sorry, I though your patch was about CONFIG_USE_IRQ and its related feature, as the subject and commit message both heavily refer to it and mention CONFIG_SYS_DV_NOR_BOOT_CFG almost incidentally. Since the issue is that CONFIG_SYS_DV_NOR_BOOT_CFG definition is broken for three

[U-Boot] [PATCH] FIX: config: goni: Change goni configuration to use Tizen's THOR downlodader

2014-06-09 Thread Lukasz Majewski
Modify GONI's configuration to utilize THOR downloader. Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- include/configs/s5p_goni.h | 8 1 file changed, 8 insertions(+) diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h index 804f97f..6e795bf 100644 ---

Re: [U-Boot] [PATCH v3 0/5] Fix SPI read and Enable required configs for Exynos5

2014-06-09 Thread Jagan Teki
There is v3 for this series - Is that correct or this is the final version for this series? On Mon, Jun 9, 2014 at 3:55 PM, Akshay Saraswat aksha...@samsung.com wrote: Hi Minkyu, Please review this patch set. This patch set intends to - 1. Fix SPI flash reading. 2. Enable saving environment

Re: [U-Boot] [PATCH v3 0/5] Fix SPI read and Enable required configs for Exynos5

2014-06-09 Thread Akshay Saraswat
Hi Jagan, There is v3 for this series - Is that correct or this is the final version for this series? Yes, v3 is the final version. This is v3. Please review and let me know your comments. On Mon, Jun 9, 2014 at 3:55 PM, Akshay Saraswat aksha...@samsung.com wrote: Hi Minkyu, Please review

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

2014-06-09 Thread Hannes Petermaier
Hello, does anybody know if there is support for the ODROID Board (http://hardkernel.com/main/products/prdt_info.php?g_code=G138745696275tab_idx=2) with the Samsung exynos 4412 processor ? best regards, hannes ___ U-Boot mailing list

[U-Boot] [PATCH 0/3] fix clang warnings about sizeof usage

2014-06-09 Thread Jeroen Hofstee
The following patches prevent some warnings with clang in case a struct/buffer is not properly cleared by incorrect sizeof usage. For completeness, I have not tested it on hw! Jeroen Hofstee (3): usb:g_dnl:f_thor: remove memset before memcpy usb:composite: clear the whole common buffer

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

2014-06-09 Thread Jeroen Hofstee
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. Cc: Lukasz Majewski l.majew...@samsung.com Cc: Marek Vasut

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

2014-06-09 Thread Jeroen Hofstee
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 marek.va...@gmail.com

[U-Boot] [PATCH 3/3] ext4: correctly zero filename

2014-06-09 Thread Jeroen Hofstee
Since ALLOC_CACHE_ALIGN_BUFFER declares a char* for filename sizeof(filename) is not the size of the buffer. Use the already known length instead. cc: Uma Shankar uma.shan...@samsung.com cc: Manjunatha C Achar a.manjuna...@samsung.com cc: Marek Vasut marek.va...@gmail.com Signed-off-by: Jeroen

Re: [U-Boot] error when building env

2014-06-09 Thread Masahiro Yamada
Hi Luka, Tom, On Thu, 5 Jun 2014 14:25:47 -0400 Tom Rini tr...@ti.com wrote: On Mon, May 19, 2014 at 02:14:03PM +0200, Luka Perkov wrote: Hi Tom, On Fri, May 16, 2014 at 01:58:05PM -0400, Tom Rini wrote: On Fri, May 16, 2014 at 07:26:51PM +0200, Luka Perkov wrote: when trying to

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

2014-06-09 Thread Przemyslaw Marczak
Hello Hannes, On 06/09/2014 02:39 PM, Hannes Petermaier wrote: Hello, does anybody know if there is support for the ODROID Board (http://hardkernel.com/main/products/prdt_info.php?g_code=G138745696275tab_idx=2) with the Samsung exynos 4412 processor ? best regards, hannes I am working on

Re: [U-Boot] [PATCH v2 07/12] sunxi: Add i2c support

2014-06-09 Thread Hans de Goede
Hi, On 06/04/2014 06:34 AM, Heiko Schocher wrote: Hello Hans, Am 03.06.2014 21:41, 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] U-Boot support for ODROID Board

2014-06-09 Thread Hannes Petermaier
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 Marczak wrote: Hello Hannes, On 06/09/2014 02:39 PM, Hannes Petermaier wrote: Hello, does anybody know if there is

Re: [U-Boot] [PATCH v3 0/5] Fix SPI read and Enable required configs for Exynos5

2014-06-09 Thread Jagan Teki
Hi, On Mon, Jun 9, 2014 at 6:07 PM, Akshay Saraswat aksha...@samsung.com wrote: Hi Jagan, There is v3 for this series - Is that correct or this is the final version for this series? Yes, v3 is the final version. This is v3. Please review and let me know your comments. This shows v2 - Can

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

2014-06-09 Thread Przemyslaw Marczak
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 Marczak wrote: Hello Hannes, On 06/09/2014 02:39 PM, Hannes

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

2014-06-09 Thread 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 tested using the edminiv2 board config. Signed-off-by: Hans

[U-Boot] [PATCH 5/5] sunxi: Fix reset hang on sun5i

2014-06-09 Thread Hans de Goede
Do the same as the Linux kernel does, this fixes the SoC hanging on reset about 50% of the time. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/board.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/sunxi/board.c

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

2014-06-09 Thread 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 code. Signed-off-by: Hans de Goede hdego...@redhat.com

[U-Boot] [PATCH 0/5] sunxi: i2c and pmic support

2014-06-09 Thread Hans de Goede
Hi Albert, Heiko, Here is a new attempt at getting i2c and pmic support added to the sunxi u-boot support. Heiko, as you requested I've added a patch to convert the mvtwsi driver to CONFIG_SYS_I2C, can you please review this patch ? Once this patch has been reviewed, I think it would be best

[U-Boot] [PATCH 3/5] sunxi: Add axp209 pmic support

2014-06-09 Thread Hans de Goede
From: Henrik Nordstrom hen...@henriknordstrom.net Add support for the x-powers axp209 pmic which is found on most A10, A13 and A20 boards. And enable AXP209 support for the Cubietruck and Cubieboard boards. While changing the boards.cfg lines for the Cubietruck, add Ian and me as board

[U-Boot] [PATCH 4/5] sunxi: Add axp152 pmic support

2014-06-09 Thread Hans de Goede
Add support for the x-powers axp152 pmic which is found on most A10s boards and enable it for the r7-tv-dongle board. Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net Signed-off-by: Ian Campbell i...@hellion.org.uk Signed-off-by: Hans de Goede hdego...@redhat.com ---

Re: [U-Boot] [PATCH v2 0/2] ARM: bug fixes of commit 41623c91 (arch/arm/lib/vectors.S)

2014-06-09 Thread Albert ARIBAUD
Hi Masahiro, On Mon, 9 Jun 2014 20:16:52 +0900, Masahiro Yamada yamad...@jp.panasonic.com wrote: Masahiro Yamada (2): arm: include config.h in arch/arm/lib/vectors.S arm: fix a double-definition error of _start symbol arch/arm/lib/vectors.S | 4 ++-- 1 file changed, 2

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

2014-06-09 Thread Albert ARIBAUD
Hi Hans, On Mon, 9 Jun 2014 17:15:27 +0200, Hans de Goede hdego...@redhat.com wrote: 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

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

2014-06-09 Thread Steve Rae
On 14-06-09 12:16 AM, Albert ARIBAUD wrote: Hi Steve, On Wed, 14 May 2014 14:18:09 -0700, Steve Raes...@broadcom.com wrote: convert to generic board Signed-off-by: Steve Raes...@broadcom.com --- Has this been tested on hardware, or just build-tested? This generic board change has been

[U-Boot] [PATCH] embestmx6boards: Fix CONFIG_CONSOLE_DEV

2014-06-09 Thread Fabio Estevam
mars and riot boards use UART2 as console, so CONFIG_CONSOLE_DEV should point to 'ttymxc1' instead. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Untested as I don't have access to this board. include/configs/embestmx6boards.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[U-Boot] [PATCH] embestmx6boards: Fix the dtb file name for riotboard

2014-06-09 Thread Fabio Estevam
The name of the dtb file used in the kernel is 'imx6dl-riotboard.dtb', so fix it accordingly. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- include/configs/embestmx6boards.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/embestmx6boards.h

[U-Boot] u-boot limitation if any.

2014-06-09 Thread mazen.e
Undoubtedly u-boot is very powerful and feature-rich bootloader. However, does it have any limitation? In other words what features if included to u-boot current functionality would result in a better efficiency in terms of performance, power,security,portability, boot-time, or any other

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

2014-06-09 Thread Matwey V. Kornilov
Hi, I've build u-boot 2014.04 using make vexpress_ca9x4_config Now, I am trying to run it on qemu-system-arm 1.3.1 (as well as 1.7 gives same result) as the following: qemu-system-arm -M vexpress-a9 -cpu cortex-a9 -m 1024 -kernel u-boot.bin -serial stdio I want to see u-boot banner and

[U-Boot] [PATCH] Add support for DS1340 RTC

2014-06-09 Thread Darwin Dingel
Implementation is the same as with a DS1337 but with different register addresses. Signed-off-by: Darwin Dingel darwin.din...@alliedtelesis.co.nz --- drivers/rtc/ds1337.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/rtc/ds1337.c

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

2014-06-09 Thread Hans de Goede
Hi, On 06/09/2014 06:09 PM, Albert ARIBAUD wrote: Hi Hans, On Mon, 9 Jun 2014 17:15:27 +0200, Hans de Goede hdego...@redhat.com wrote: 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,

Re: [U-Boot] u-boot limitation if any.

2014-06-09 Thread Albert ARIBAUD
Hi mazen.e, On Mon, 9 Jun 2014 09:40:31 -0700 (PDT), mazen.e mazen.ezzedd...@gmail.com wrote: Undoubtedly u-boot is very powerful and feature-rich bootloader. However, does it have any limitation? In other words what features if included to u-boot current functionality would result in a

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

2014-06-09 Thread Matwey V. Kornilov
09.06.2014 10:57, Matwey V. Kornilov пишет: Hi, I've build u-boot 2014.04 using make vexpress_ca9x4_config Now, I am trying to run it on qemu-system-arm 1.3.1 (as well as 1.7 gives same result) as the following: qemu-system-arm -M vexpress-a9 -cpu cortex-a9 -m 1024 -kernel u-boot.bin

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

2014-06-09 Thread Marek Vasut
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: dfu, nand: add medium

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

2014-06-09 Thread Matwey V. Kornilov
09.06.2014 21:30, Matwey V. Kornilov пишет: 09.06.2014 10:57, Matwey V. Kornilov пишет: Hi, I've build u-boot 2014.04 using make vexpress_ca9x4_config Now, I am trying to run it on qemu-system-arm 1.3.1 (as well as 1.7 gives same result) as the following: qemu-system-arm -M vexpress-a9

[U-Boot] [PATCH v5] arm: Add support for semihosting for armv8 fastmodel targets.

2014-06-09 Thread Darwin Rambo
The armv8 ARM Trusted Firmware (ATF) can be used to load various ATF images and u-boot, and does this for virtual platforms by using semihosting. This commit extends this idea by allowing u-boot to also use semihosting to load the kernel/ramdisk/dtb. This eliminates the need for a bootwrapper and

Re: [U-Boot] [PATCH 3/5] sunxi: Add axp209 pmic support

2014-06-09 Thread Ian Campbell
On Mon, 2014-06-09 at 17:15 +0200, Hans de Goede wrote: From: Henrik Nordstrom hen...@henriknordstrom.net Add support for the x-powers axp209 pmic which is found on most A10, A13 and A20 boards. And enable AXP209 support for the Cubietruck and Cubieboard boards. While changing the

Re: [U-Boot] [PATCH 4/5] sunxi: Add axp152 pmic support

2014-06-09 Thread Ian Campbell
On Mon, 2014-06-09 at 17:15 +0200, Hans de Goede wrote: Add support for the x-powers axp152 pmic which is found on most A10s boards and enable it for the r7-tv-dongle board. Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net Signed-off-by: Ian Campbell i...@hellion.org.uk

Re: [U-Boot] [PATCH 5/5] sunxi: Fix reset hang on sun5i

2014-06-09 Thread Ian Campbell
On Mon, 2014-06-09 at 17:15 +0200, Hans de Goede wrote: Do the same as the Linux kernel does, this fixes the SoC hanging on reset about 50% of the time. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell i...@hellion.org.uk

Re: [U-Boot] [PATCH v5] arm: Add support for semihosting for armv8 fastmodel targets.

2014-06-09 Thread Albert ARIBAUD
Hi Darwin, On Mon, 9 Jun 2014 11:12:59 -0700, Darwin Rambo dra...@broadcom.com wrote: [...] Please refer to README.semihosting for a more detailed description of semihosting and how it is used with the armv8 virtual platforms. With your permission, will apply but modify the above into...

Re: [U-Boot] [PATCH] embestmx6boards: Fix CONFIG_CONSOLE_DEV

2014-06-09 Thread Iain Paton
On 09/06/14 17:35, Fabio Estevam wrote: mars and riot boards use UART2 as console, so CONFIG_CONSOLE_DEV should point to 'ttymxc1' instead. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Untested as I don't have access to this board. include/configs/embestmx6boards.h | 2

Re: [U-Boot] [PATCH] embestmx6boards: Fix the dtb file name for riotboard

2014-06-09 Thread Iain Paton
On 09/06/14 17:42, Fabio Estevam wrote: The name of the dtb file used in the kernel is 'imx6dl-riotboard.dtb', so fix it accordingly. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- include/configs/embestmx6boards.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

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

2014-06-09 Thread Albert ARIBAUD
Hi Steve, On Mon, 9 Jun 2014 09:17:35 -0700, Steve Rae s...@broadcom.com wrote: On 14-06-09 12:16 AM, Albert ARIBAUD wrote: Hi Steve, On Wed, 14 May 2014 14:18:09 -0700, Steve Raes...@broadcom.com wrote: convert to generic board Signed-off-by: Steve Raes...@broadcom.com

Re: [U-Boot] [PATCH v4 06/10] ARM: HYP/non-sec: allow relocation to secure RAM

2014-06-09 Thread Albert ARIBAUD
Hi Marc, On Sat, 26 Apr 2014 13:17:07 +0100, Marc Zyngier marc.zyng...@arm.com wrote: The current non-sec switching code suffers from one major issue: it cannot run in secure RAM, as a large part of u-boot still needs to be run while we're switched to non-secure. This patch reworks the

Re: [U-Boot] [PATCH v5] arm: Add support for semihosting for armv8 fastmodel targets.

2014-06-09 Thread Darwin Rambo
On 14-06-09 11:25 AM, Albert ARIBAUD wrote: Hi Darwin, On Mon, 9 Jun 2014 11:12:59 -0700, Darwin Rambo dra...@broadcom.com wrote: [...] Please refer to README.semihosting for a more detailed description of semihosting and how it is used with the armv8 virtual platforms. With your

[U-Boot] [PATCH] arm: Fix armv8 compilation error

2014-06-09 Thread Darwin Rambo
From: Shaibal.Dutta shaibal.du...@broadcom.com Fix following compilation error when CONFIG_ARM64 is defined Error: unknown or missing system register name at operand 2 -- `mrs x0,daifmsr daifset,#3' Signed-off-by: Shaibal.Dutta shaibal.du...@broadcom.com Signed-off-by: Darwin Rambo

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

2014-06-09 Thread Marek Vasut
On Monday, June 09, 2014 at 03:28:59 PM, Jeroen Hofstee wrote: 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

Re: [U-Boot] [PATCH 3/3] ext4: correctly zero filename

2014-06-09 Thread Marek Vasut
On Monday, June 09, 2014 at 03:29:00 PM, Jeroen Hofstee wrote: Since ALLOC_CACHE_ALIGN_BUFFER declares a char* for filename sizeof(filename) is not the size of the buffer. Use the already known length instead. cc: Uma Shankar uma.shan...@samsung.com cc: Manjunatha C Achar

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

2014-06-09 Thread Steve Rae
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 14-06-02 12:26 AM, Albert ARIBAUD wrote: Hi Darwin, On Mon, 26 May 2014 09:11:35 -0700, Darwin Rambo dra...@broadcom.com wrote: Hi Albert, The previous

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

2014-06-09 Thread Ash Charles
On Sun, Jun 8, 2014 at 12:57 AM, Stefan Herbrechtsmeier ste...@herbrechtsmeier.net wrote: At the moment I use this functionality to set the environment variable 'fdtfile'. Cool :) Maybe you could set an environment variable 'boardname' to 'overo' or 'overo-storm' and use something like

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

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

[U-Boot] [PATCH] MX6: Correct calculation of PLL_SYS

2014-06-09 Thread Andre Renaud
DIV_SELECT is used as Fout = Fin * div_select / 2.0, so we should do the shift after the multiply to avoid rounding errors Signed-off-by: Andre Renaud an...@bluewatersys.com --- arch/arm/cpu/armv7/mx6/clock.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

  1   2   >