Re: [U-Boot] [PATCH RFC] dfu: ram support

2013-09-09 Thread Lukasz Majewski
Hi Afzal Mohammed, DFU spec mentions it as a method to upgrade firmware (software stored in writable non-volatile memory). It also says other potential uses of DFU is beyond scope of the spec. Here such a beyond the scope use is being attempted - directly pumping binary images from host

Re: [U-Boot] [PATCH 0/9] Consolidate ARM timer code

2013-09-09 Thread Lukasz Majewski
Hi Rob, From: Rob Herring rob.herr...@calxeda.com Much of the ARM timer code is re-implemented for each platform yet it is all pretty much the same code. This series introduces a common implementation of timer functions and simplifies the platform code down to 2 or 3 config defines. It

Re: [U-Boot] [PATCH] arm:goni:mmc: Add sd card detection and initialization.

2013-09-09 Thread Przemyslaw Marczak
Hello Minkyu, On 09/03/2013 02:45 PM, Przemyslaw Marczak wrote: This change allow to use sd card on Goni the same like mmc 0. SD card is mmc dev 1, so it can be used like this: fatls mmc 1:2. SD card is inited even if eMMC initialization fails. Signed-off-by: Przemyslaw Marczak

Re: [U-Boot] [PATCH] arm:mmc:goni/exynos: Fix wrong mmc base register devices offset.

2013-09-09 Thread Przemyslaw Marczak
Hello Minkyu, On 09/03/2013 02:57 PM, Przemyslaw Marczak wrote: On s5pc1xx mmc devices offset is multiply of 0x10, wrong value was 0x1. Register offset always points to mmc 0 before this change. Add macro definition of mmc dev register offset to s5pc1xx and exynos mmc. Signed-off-by:

Re: [U-Boot] [PATCH v2] mmc: don't support write erase for SPL builds

2013-09-09 Thread Paul Burton
On Sun 08 Sep 2013 09:48:20 BST, Andreas Bießmann wrote: Dear Paul Burton, On 06.09.13 15:43, Paul Burton wrote: For SPL builds this is just dead code since we'll only need to read. Eliminating it results in a significant size reduction for the SPL binary, which may be critical for certain

Re: [U-Boot] [PATCH] arm:goni:mmc: Add sd card detection and initialization.

2013-09-09 Thread Jaehoon Chung
Hi, On 09/03/2013 09:45 PM, Przemyslaw Marczak wrote: This change allow to use sd card on Goni the same like mmc 0. SD card is mmc dev 1, so it can be used like this: fatls mmc 1:2. SD card is inited even if eMMC initialization fails. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com

Re: [U-Boot] please pull u-boot-samsung master

2013-09-09 Thread Minkyu Kang
Dear Chander Kashyap, On 06/09/13 13:32, Chander Kashyap wrote: Hi Albert, On 5 September 2013 18:58, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Chander, On Thu, 5 Sep 2013 17:36:34 +0530, Chander Kashyap chander.kash...@linaro.org wrote: Hi Albert, On 5 September 2013 17:08,

Re: [U-Boot] [PATCH v2] mmc: don't support write erase for SPL builds

2013-09-09 Thread Pantelis Antoniou
Hi Paul, On Sep 9, 2013, at 11:14 AM, Paul Burton wrote: On Sun 08 Sep 2013 09:48:20 BST, Andreas Bießmann wrote: Dear Paul Burton, On 06.09.13 15:43, Paul Burton wrote: For SPL builds this is just dead code since we'll only need to read. Eliminating it results in a significant size

[U-Boot] [PATCH v3] powerpc/p1010rdb: update readme for p1010rdb-pb board

2013-09-09 Thread Shengzhou Liu
- Remove duplicate doc/README.p1010rdb - Update for P1010RDB-PB board P1010RDB-PB is a variation of previous P1010RDB-PA board. Henceforth we support P1010RDB-PB board instead of P1010RDB-PA. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- v3: add frequency combination support v2:

[U-Boot] [PATCH] powerpc/p1010rdb: add p1010rdb-pb support with updating p1010rdb-pa

2013-09-09 Thread Shengzhou Liu
- Rename old P1010RDB board as P1010RDB-PA. - Add support for new P1010RDB-PB board. - Enable IFC flash access in case of SD boot via hwconfig or mux command. - Some optimization and code cleanup. For more details, see board/freescale/p1010rdb/README. Signed-off-by: Shengzhou Liu

Re: [U-Boot] [PATCH] arm:goni:mmc: Add sd card detection and initialization.

2013-09-09 Thread Minkyu Kang
Dear Przemyslaw Marczak, On 03/09/13 21:45, Przemyslaw Marczak wrote: This change allow to use sd card on Goni the same like mmc 0. SD card is mmc dev 1, so it can be used like this: fatls mmc 1:2. SD card is inited even if eMMC initialization fails. Signed-off-by: Przemyslaw Marczak

[U-Boot] powerpc SPL framework: Avoiding relocate_code

2013-09-09 Thread Prabhakar Kushwaha
Hi, SPL framework is used to support multi-stage booting. Where first level boot loader is created via SPL having relocate_code() function. I am working on a Freescale's SoC which has less internal SRAM. I don't want to use relocate_code() as to support this function, I need to reduce SPL

[U-Boot] powerpc SPL framework: Avoiding relocate_code

2013-09-09 Thread Prabhakar Kushwaha
Hi, SPL framework is used to support multi-stage booting. Where first level boot loader is created via SPL having relocate_code() function. I am working on a Freescale's SoC which has less internal SRAM. I don't want to use relocate_code() as to support this function, I need to reduce SPL

[U-Boot] [PATCH] arm:goni:mmc: Add sd card detection and initialization.

2013-09-09 Thread Przemyslaw Marczak
This change allow to use sd card on Goni the same like mmc 0. SD card is mmc dev 1, so it can be used like this: fatls mmc 1:2. SD card is inited even if eMMC initialization fails. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC:

[U-Boot] [PATCH] mmc:sdhci: Fix card ready status timeout.

2013-09-09 Thread Przemyslaw Marczak
According to JEDEC eMMC specification, after data transfer (multiple or single block) host must wait for card ready status. This is done by waiting for command and data lines to be at idle state after transfer. JEDEC does not specify maximum timeout. Before this change max timeout was 10 ms but

[U-Boot] [PATCH v6 0/5] arm64 patch

2013-09-09 Thread fenghua
From: David Feng feng...@phytium.com.cn The porting has been merged with arm architecture. Most architecture codes are placed in arch/arm/cpu/armv8 directory. Generic board is also supported after a few bugs are fixed. Changes for v5: - Make modification to inappropriate licensed file and bugs

[U-Boot] [PATCH v6 3/5] generic board patch of manual reloc and zero gd_t

2013-09-09 Thread fenghua
From: David Feng feng...@phytium.com.cn 1. function board_init_f in board_f.c should firstly zero gd_t structure before it call initcall_run_list, otherwise the debug print will go run if DEBUG is defined. Because the printf function will use global data to determine whether serial port

[U-Boot] [PATCH v6 4/5] 64bit initrd start address support

2013-09-09 Thread fenghua
From: David Feng feng...@phytium.com.cn This patch fix the fdt_initrd function. It will get #adress_cells property fisrt, then write linux,initrd-start and linux,initrd-end property value to fdt according to address cell size such that the 64bit initrd start address could be supported.

[U-Boot] [PATCH v6 5/5] remove compiling warnings

2013-09-09 Thread fenghua
From: David Feng feng...@phytium.com.cn Signed-off-by: David Feng feng...@phytium.com.cn --- common/cmd_pxe.c |4 ++-- lib/hashtable.c |1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c index a2fb50a..52375a4 100644 ---

[U-Boot] [PATCH v6 2/5] board support of arm64

2013-09-09 Thread fenghua
From: David Feng feng...@phytium.com.cn Signed-off-by: David Feng feng...@phytium.com.cn --- Changes for v5: - add CONFIG_BOOTING_EL1 configuration to vexpress_aemv8a.h board/armltd/dts/vexpress64.dts | 439 ++ board/armltd/vexpress64/Makefile | 43

Re: [U-Boot] [PATCH] config: consolidate CONFIG_SYS_HZ definition

2013-09-09 Thread Wolfgang Denk
Dear Rob Herring, In message 1378670088-17602-1-git-send-email-robherri...@gmail.com you wrote: ... diff --git a/include/config_fallbacks.h b/include/config_fallbacks.h index e59ee96..4c25289 100644 --- a/include/config_fallbacks.h +++ b/include/config_fallbacks.h @@ -53,4 +53,8 @@

Re: [U-Boot] [PATCH v6 2/5] board support of arm64

2013-09-09 Thread Wolfgang Denk
Dear feng...@phytium.com.cn, In message 1378734616-37558-3-git-send-email-feng...@phytium.com.cn you wrote: From: David Feng feng...@phytium.com.cn Signed-off-by: David Feng feng...@phytium.com.cn --- Changes for v5: - add CONFIG_BOOTING_EL1 configuration to vexpress_aemv8a.h

Re: [U-Boot] [PATCH v6 0/5] arm64 patch

2013-09-09 Thread Wolfgang Denk
Dear feng...@phytium.com.cn, In message 1378734616-37558-1-git-send-email-feng...@phytium.com.cn you wrote: From: David Feng feng...@phytium.com.cn The porting has been merged with arm architecture. Most architecture codes are placed in arch/arm/cpu/armv8 directory. Generic board is also

Re: [U-Boot] [PATCH v6 5/5] remove compiling warnings

2013-09-09 Thread Wolfgang Denk
Dear feng...@phytium.com.cn, In message 1378734616-37558-6-git-send-email-feng...@phytium.com.cn you wrote: From: David Feng feng...@phytium.com.cn Signed-off-by: David Feng feng...@phytium.com.cn --- common/cmd_pxe.c |4 ++-- lib/hashtable.c |1 + 2 files changed, 3

Re: [U-Boot] [PATCH v6 3/5] generic board patch of manual reloc and zero gd_t

2013-09-09 Thread Wolfgang Denk
Dear feng...@phytium.com.cn, In message 1378734616-37558-4-git-send-email-feng...@phytium.com.cn you wrote: From: David Feng feng...@phytium.com.cn 1. function board_init_f in board_f.c should firstly zero gd_t structure before it call initcall_run_list, otherwise the debug print will go

[U-Boot] [PATCH] Subject: [PATCH v.2] at91: add support for CDU9G25 board

2013-09-09 Thread Jiri Prchal
This patch adds support for our companies board CDU9G25 with Atmel AT91SAM9G25, 128MB DDR2, 256MB NAND. v.2 Fixed static IP and MAC addr cofiguration by random MAC and DHCP. Added entry to MAINTAINERS. Fixed line lenght, trailing spaces and other cosmetics. Signed-off-by: Jiri Prchal

[U-Boot] [PATCH v3] mmc: don't support write erase for SPL builds

2013-09-09 Thread Paul Burton
For SPL builds this is just dead code since we'll only need to read. Eliminating it results in a significant size reduction for the SPL binary, which may be critical for certain platforms where the binary size is highly constrained. Signed-off-by: Paul Burton paul.bur...@imgtec.com Acked-by:

Re: [U-Boot] [PATCH 0/1] m28evk board config

2013-09-09 Thread Marek Vasut
Dear lot...@denx.de, Hi, Following, an update for the m28evk board config, in order to support a standard setup for sdcards having an uImage and FDT files on boot partition (ext), and a rootfs partition (ext), as it will be used by the latest ELDK and its yocto build recipes. You

Re: [U-Boot] [PATCH 1/1] m28evk board config

2013-09-09 Thread Marek Vasut
Dear lot...@denx.de, From 24b6381162b4569ab86b481b8714d81877231f22 Mon Sep 17 00:00:00 2001 From: Lothar Rubusch lot...@denx.de Date: Fri, 6 Sep 2013 15:01:39 +0200 Subject: [PATCH] m28evk board specific configurations for setup with ext boot partition and separate ext rootfs

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

2013-09-09 Thread Tom Rini
On Sat, Sep 07, 2013 at 12:55:38AM +0200, Albert ARIBAUD wrote: Hello Tom, The following changes since commit fb18fa95a14ae875ef0a5421cd9fecc00c7c3a4c: Prepare v2013.10-rc2 (2013-09-02 14:20:36 -0400) are available in the git repository at: git://git.denx.de/u-boot-arm master

Re: [U-Boot] [PATCH] am335x_evm.h: Add back the actual load of the kernel image

2013-09-09 Thread Tom Rini
On Wed, Sep 04, 2013 at 08:41:44AM -0400, Robert P. J. Day wrote: Somewhere along the line of refactoring the am335x header files, the kernel image load was lost, so put it back in. Signed-off-by: Robert P. J. Day rpj...@crashcourse.ca Applied to u-boot/master, thanks! -- Tom

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

2013-09-09 Thread Tom Rini
On Sat, Sep 07, 2013 at 09:50:15AM +0200, Stefan Roese wrote: Hi Tom, please pull the following fix: The following changes since commit 1affd4d4a3fe512050e1ad1636d9360c670da531: cam_enc_4xx: Move CONFIG_SPL_PAD_TO to a config header (2013-09-06 13:09:08 -0400) are available in

Re: [U-Boot] [i2c] Pull request

2013-09-09 Thread Tom Rini
On Mon, Sep 09, 2013 at 07:48:34AM +0200, Heiko Schocher wrote: Hello Tom, please pull from u-boot-i2c: The following changes since commit 1affd4d4a3fe512050e1ad1636d9360c670da531: cam_enc_4xx: Move CONFIG_SPL_PAD_TO to a config header (2013-09-06 13:09:08 -0400) are available in

Re: [U-Boot] [PATCH] config: consolidate CONFIG_SYS_HZ definition

2013-09-09 Thread Rob Herring
On 09/09/2013 09:06 AM, Wolfgang Denk wrote: Dear Rob Herring, In message 1378670088-17602-1-git-send-email-robherri...@gmail.com you wrote: ... diff --git a/include/config_fallbacks.h b/include/config_fallbacks.h index e59ee96..4c25289 100644 --- a/include/config_fallbacks.h +++

Re: [U-Boot] [PATCH 0/9] Consolidate ARM timer code

2013-09-09 Thread Rob Herring
On 09/09/2013 12:53 AM, Wolfgang Denk wrote: Dear Rob Herring, In message 1378671174-18535-1-git-send-email-robherri...@gmail.com you wrote: From: Rob Herring rob.herr...@calxeda.com Much of the ARM timer code is re-implemented for each platform yet it is all pretty much the same code.

Re: [U-Boot] [PATCH RFC] dfu: ram support

2013-09-09 Thread Afzal Mohammed
Hi Lukasz Majewski, On Mon, Sep 09, 2013 at 08:50:58AM +0200, Lukasz Majewski wrote: usage: image name ram start address size eg. kernel ram 0x8100 0x100 Downloading images to RAM using DFU is not something new, this is acheived in openmoko also. DFU on RAM can be used

Re: [U-Boot] [PATCH] config: consolidate CONFIG_SYS_HZ definition

2013-09-09 Thread Wolfgang Denk
Dear Rob, In message 522de2ff.2080...@gmail.com you wrote: What do I do with current boards that are wrong? I should make all these Good question... boards have build errors or fix them to use 1000 which may break them at runtime depending on their possible misuse of CONFIG_SYS_HZ?

Re: [U-Boot] [PATCH] Subject: [PATCH v.2] at91: add support for CDU9G25 board

2013-09-09 Thread Wolfgang Denk
Dear Jiri Prchal, In message 1378736524-30870-1-git-send-email-jiri.prc...@aksignal.cz you wrote: This patch adds support for our companies board CDU9G25 with Atmel AT91SAM9G25, 128MB DDR2, 256MB NAND. Please keep the line length of the commit message 70 characters. v.2 Fixed static IP

Re: [U-Boot] [PATCH v5 1/4] core support of arm64

2013-09-09 Thread Scott Wood
On Sat, 2013-09-07 at 22:56 +0800, FengHua wrote: Fisrt, thank scott for checking the patch. -原始邮件- 发件人: Scott Wood scottw...@freescale.com 发送时间: 2013年9月7日 星期六 收件人: feng...@phytium.com.cn 抄送: u-boot@lists.denx.de, tr...@ti.com 主题: Re: [U-Boot] [PATCH v5 1/4] core support of

Re: [U-Boot] [PATCH 0/9] Consolidate ARM timer code

2013-09-09 Thread Rob Herring
On Mon, Sep 9, 2013 at 2:13 AM, Lukasz Majewski l.majew...@samsung.com wrote: Hi Rob, From: Rob Herring rob.herr...@calxeda.com Much of the ARM timer code is re-implemented for each platform yet it is all pretty much the same code. This series introduces a common implementation of timer

Re: [U-Boot] [PATCH 5/9] ARM: mx25: convert to common timer code

2013-09-09 Thread Rob Herring
On Sun, Sep 8, 2013 at 6:56 PM, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: Dear Rob Herring, On Sunday, September 8, 2013 10:12:50 PM, Rob Herring wrote: From: Rob Herring rob.herr...@calxeda.com Convert mx25 to use the commmon timer code. Signed-off-by: Rob Herring

[U-Boot] [PATCH] wandboard: Use imx6dl-wandboard.dtb for the solo version

2013-09-09 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com The wandboard solo version should boot the 'imx6dl-wandboard.dtb' file, since dual-lite and solo variants are the same SoC with only the number of cores being different. Signed-off-by: Fabio Estevam fabio.este...@freescale.com ---

Re: [U-Boot] [PATCH 0/9] Consolidate ARM timer code

2013-09-09 Thread Wolfgang Denk
Dear Rob Herring, In message 522de0b3.20...@gmail.com you wrote: If we consolidate code, it should always be done in a cross-platform way, unless platform specifc code really cannot be avoided (which I fail to see yet here). I agree, but it appeared that at least some PPC platforms

[U-Boot] [PATCH] am335x_evm.h: If mmcdev and bootpart switch to mmcdev 1, so should mmcroot.

2013-09-09 Thread Robert P. J. Day
If, in CONFIG_BOOTCOMMAND, the environment switches both the mmcdev and bootpart variables to refer to MMC device 1, it would make sense that the mmcroot env variable should switch to that device as well. Signed-off-by: Robert P. J. Day rpj...@crashcourse.ca --- i asked about this a while

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-09-09 Thread Scott Wood
On Fri, 2013-08-23 at 19:17 -0500, Scott Wood wrote: On Fri, 2013-08-23 at 18:12 -0600, Simon Glass wrote: Hi, On Thu, Aug 22, 2013 at 8:55 AM, FengHua feng...@phytium.com.cn wrote: On Thu, Aug 22, 2013 at 09:31:35AM +0800, FengHua wrote: --

Re: [U-Boot] [PATCH] arm:goni:mmc: Add sd card detection and initialization.

2013-09-09 Thread Jaehoon Chung
Dear Przemyslaw, On 09/09/2013 09:50 PM, Przemyslaw Marczak wrote: This change allow to use sd card on Goni the same like mmc 0. SD card is mmc dev 1, so it can be used like this: fatls mmc 1:2. SD card is inited even if eMMC initialization fails. Signed-off-by: Przemyslaw Marczak

[U-Boot] [PATCH v2 1/3] dfu: unify mmc/nand read/write ops enum

2013-09-09 Thread Afzal Mohammed
MMC and NAND independently defines same enumerators for read/write. Unify them by defining enum in dfu header. RAM support that is being added newly also can make use of it. Signed-off-by: Afzal Mohammed afzal.mohd...@gmail.com Cc: Lukasz Majewski l.majew...@samsung.com Cc: Pantelis Antoniou

[U-Boot] [PATCH v2 2/3] dfu: ram support

2013-09-09 Thread Afzal Mohammed
DFU spec mentions it as a method to upgrade firmware (software stored in writable non-volatile memory). It also says other potential uses of DFU is beyond scope of the spec. Here such a beyond the scope use is being attempted - directly pumping binary images from host via USB to RAM. This

[U-Boot] [PATCH v2 3/3] am335x_evm: enable DFU RAM

2013-09-09 Thread Afzal Mohammed
Enable DFU for RAM, provide example dfu_alt_info Signed-off-by: Afzal Mohammed afzal.mohd...@gmail.com Cc: Tom Rini tr...@ti.com Cc: Lukasz Majewski l.majew...@samsung.com Cc: Pantelis Antoniou pa...@antoniou-consulting.com --- v2: new include/configs/am335x_evm.h | 6 ++ 1 file changed, 6

[U-Boot] u-boot build error in current git tree

2013-09-09 Thread Axel Lin
Hit below build errors (on ARM platforms): axel@phoenix:~/repos/git/u-boot$ make mx31pdk Configuring for mx31pdk board... make make[1]: Entering directory `/home/axel/repos/git/u-boot' Generating include/autoconf.mk Generating include/autoconf.mk.dep make[1]: Leaving directory

Re: [U-Boot] P2041RDB fails to boot with master (and 2013.10-rc1)

2013-09-09 Thread sun york-R58495
Chris, Thanks a lot to bring this to our attention. A brief look at the log shows the SPD wasn't found, probably due to recent I2C change. We will address this issue as soon as possible. York Original Message From: Chris Packham Sent: Mon, 09/09/2013 22:26 To: u-boot CC: sun

Re: [U-Boot] P2041RDB fails to boot with master (and 2013.10-rc1)

2013-09-09 Thread Chris Packham
git bisect points to the following commit 00f792e0df9ae942427e44595a0f4379582accee is the first bad commit commit 00f792e0df9ae942427e44595a0f4379582accee Author: Heiko Schocher h...@denx.de Date: Wed Oct 24 13:48:22 2012 +0200 i2c, fsl_i2c: switch to new multibus/multiadapter support

[U-Boot] P2041RDB fails to boot with master (and 2013.10-rc1)

2013-09-09 Thread Chris Packham
Hi, I was just looking at something else and found that my P2041RDB no longer boots from the master branch of u-boot.git (it hangs after DDR initialisation). I checked 2013.10-rc1, same problem. 2013.07 works. I haven't bisected further than that. I just thought I'd fire this off now since it

Re: [U-Boot] P2041RDB fails to boot with master (and 2013.10-rc1)

2013-09-09 Thread sun york-R58495
Chris, Thanks for the debugging work. As I suspected, it's related to I2C change. It's probably a problem in the board header file. If you fix it, please submit a patch. Otherwise, I will look into it tomorrow. York Original Message From: Chris Packham Sent: Mon, 09/09/2013

[U-Boot] actux2 build error due to commit 4412db46

2013-09-09 Thread Axel Lin
Hi Jack, I hit below build error, revert commit 4412db464 standalone-examples: support custom GCC lib fixes the build error. $ ./MAKEALL actux2 Configuring for actux2 board... make[1]: *** [hello_world] Error 1 make: *** [examples/standalone] Error 2 textdata bss dec hex