[U-Boot] [PATCH 4/4] mmc: tegra2: Implement card-detect hook.

2011-12-05 Thread Thierry Reding
On Tegra2, card-detection is implemented by passing the card-detection GPIOs to the MMC driver at initialization time. Instead of implementing the board_mmc_getcd() function, use the card-detect hook and allow boards to override it by providing their own board_mmc_getcd() implementation.

[U-Boot] [PATCH 1/4] mmc: Change board_mmc_getcd() signature.

2011-12-05 Thread Thierry Reding
The new API no longer uses the extra cd parameter that was used to store the card presence state. Instead, this information is returned via the function's return value. board_mmc_getcd() returns -1 to indicate that no card-detection mechanism is implemented; 0 indicates that no card is present and

[U-Boot] [PATCH 2/4] mmc: Implement card detection.

2011-12-05 Thread Thierry Reding
Check for card detect each time an MMC/SD device is initialized. If card detection is not implemented, this code behaves as before and continues assuming a card is present. If no card is detected, has_init is reset for the MMC/SD device (to force initialization next time) and an error is returned.

[U-Boot] [PATCH 3/4] mmc: fsl_esdhc: Implement card-detect hook.

2011-12-05 Thread Thierry Reding
This card-detect hook probably doesn't work. Perhaps somebody with more knowledge about the hardware can comment on this. I think that perhaps even the complete code from esdhc_init() could go into the getcd() function instead or mmc_getcd() needs to be called at some later time after mmc_init(),

[U-Boot] [PATCH v7] Add generic ULPI layer

2011-12-05 Thread Igor Grinberg
Although it is a single patch, I felt that a cover letter will definetly not hurt here, also the patch version history is so big, so I decided to move it here. The ULPI (UTMI Low Pin (count) Interface) PHYs are widely used on variety of boards. This requires a generic architecture independant

[U-Boot] [PATCH v7] USB: Add generic ULPI layer and a viewport

2011-12-05 Thread Igor Grinberg
From: Jana Rapava ferma...@gmail.com Add partial ULPI specification implementation that should be enough to interface the ULPI PHYs in the boot loader context. Add a viewport implementation for Chipidea/ARC based controllers. Signed-off-by: Jana Rapava ferma...@gmail.com Signed-off-by: Igor

Re: [U-Boot] [PATCH 1/4] mmc: Change board_mmc_getcd() signature.

2011-12-05 Thread Marek Vasut
The new API no longer uses the extra cd parameter that was used to store the card presence state. Instead, this information is returned via the function's return value. board_mmc_getcd() returns -1 to indicate that no card-detection mechanism is implemented; 0 indicates that no card is

Re: [U-Boot] [PATCH 1/4] mmc: Change board_mmc_getcd() signature.

2011-12-05 Thread Thierry Reding
* Marek Vasut wrote: The new API no longer uses the extra cd parameter that was used to store the card presence state. Instead, this information is returned via the function's return value. board_mmc_getcd() returns -1 to indicate that no card-detection mechanism is implemented; 0

[U-Boot] [ARM]: File type for u-boot elf file

2011-12-05 Thread rojan
I have OMAP L138 Hawkboard which is loaded with some other program. I am new to this hawkboard and tried to boot as per instructions from user guide in http://www.hawkboard.org/ , system is not coming to hawkboard.org to access command. It is coming as follows. Please help me to make it ready.

Re: [U-Boot] having trouble booting a simple kernel on a TQM860 board

2011-12-05 Thread Wolfgang Denk
Dear Robert, In message alpine.DEB.2.02.1112042100270.15118@oneiric you wrote: i believe i've solved this issue, at least. i downloaded ELDK 4.2 and installed the ppc_8xx- toolchain. with that, i managed to compile u-boot 2010.12 and flashed it to my TQM860, reset and, lo and behold, i

Re: [U-Boot] [PATCH v3 13/15] arm, da850evm: Add an SPL for SPI boot

2011-12-05 Thread Christian Riesch
Hi Tom, On Sat, Dec 3, 2011 at 6:49 AM, Christian Riesch christian.rie...@omicron.at wrote: Hi Tom, Thanks for your comments. On Friday, December 2, 2011, Tom Rini tr...@ti.com wrote: On 12/02/2011 09:12 AM, Christian Riesch wrote: [snip]  include/configs/da850evm.h            |   87

Re: [U-Boot] having trouble booting a simple kernel on a TQM860 board

2011-12-05 Thread Robert P. J. Day
On Mon, 5 Dec 2011, Wolfgang Denk wrote: Dear Robert, In message alpine.DEB.2.02.1112042100270.15118@oneiric you wrote: i believe i've solved this issue, at least. i downloaded ELDK 4.2 and installed the ppc_8xx- toolchain. with that, i managed to compile u-boot 2010.12 and flashed

Re: [U-Boot] [PATCH 3/4] mmc: fsl_esdhc: Implement card-detect hook.

2011-12-05 Thread Stefano Babic
On 05/12/2011 09:23, Thierry Reding wrote: This card-detect hook probably doesn't work. Perhaps somebody with more knowledge about the hardware can comment on this. I think that perhaps even the complete code from esdhc_init() could go into the getcd() The reason was only that the SDHC

Re: [U-Boot] [PATCH] tools/envcrc: fix compile breakage

2011-12-05 Thread Igor Grinberg
ping! This fixes a compile breakage and IMO should be applied before 2011.12 is out. Can someone, please apply it? On 11/28/11 09:57, Igor Grinberg wrote: When ENV_IS_EMBEDDED is not set, but CONFIG_BUILD_ENVCRC is set, the environment.h file does not get included resulting in unrecognized

Re: [U-Boot] [PATCH 1/4] mmc: Change board_mmc_getcd() signature.

2011-12-05 Thread Stefano Babic
On 05/12/2011 11:00, Thierry Reding wrote: * Marek Vasut wrote: The new API no longer uses the extra cd parameter that was used to store the card presence state. Instead, this information is returned via the function's return value. board_mmc_getcd() returns -1 to indicate that no

[U-Boot] [PATCH v5 4/6] arm, da850evm: Add an SPL for SPI boot

2011-12-05 Thread Christian Riesch
Signed-off-by: Christian Riesch christian.rie...@omicron.at Cc: Heiko Schocher h...@denx.de Cc: Sandeep Paulraj s-paul...@ti.com Cc: Tom Rini tr...@ti.com Cc: Sudhakar Rajashekhara sudhakar@ti.com --- board/davinci/da8xxevm/da850evm.c |4 +- board/davinci/da8xxevm/u-boot-spl.lds |

[U-Boot] [PATCH v5 5/6] mkimage: Fix variable length header support

2011-12-05 Thread Christian Riesch
Support for variable length images like AIS image was introduced in commit f0662105b674a3874227316abf8536bebc9b5995. A parameter -s was also introduced to prohibit copying of the image file automatically in the main program. However, this parameter was implemented incorrectly and the image file

[U-Boot] [PATCH v5 3/6] arm, davinci: Add SPL support for DA850 SoCs

2011-12-05 Thread Christian Riesch
This code adds an SPL for booting from SPI flash on DA850 SoCs. Signed-off-by: Christian Riesch christian.rie...@omicron.at Cc: Heiko Schocher h...@denx.de Cc: Sandeep Paulraj s-paul...@ti.com Cc: Tom Rini tr...@ti.com Acked-by: Tom Rini tr...@ti.com --- arch/arm/cpu/arm926ejs/davinci/Makefile |

[U-Boot] [PATCH v5 2/6] sf: Add spi_boot() to allow booting from SPI flash in an SPL

2011-12-05 Thread Christian Riesch
Signed-off-by: Christian Riesch christian.rie...@omicron.at Cc: Heiko Schocher h...@denx.de Cc: Mike Frysinger vap...@gentoo.org Cc: Scott Wood scottw...@freescale.com Acked-by: Mike Frysinger vap...@gentoo.org --- doc/README.SPL |1 + drivers/mtd/spi/Makefile |4 +++

[U-Boot] [PATCH v5 6/6] arm, davinci: Add support for generating AIS images to the Makefile

2011-12-05 Thread Christian Riesch
Signed-off-by: Christian Riesch christian.rie...@omicron.at Cc: Stefano Babic sba...@denx.de Cc: Heiko Schocher h...@denx.de Cc: Mike Frysinger vap...@gentoo.org --- .gitignore |1 + Makefile | 13 + 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/.gitignore

[U-Boot] [PATCH v5 0/6] Add an SPL to boot the da850evm from SPI

2011-12-05 Thread Christian Riesch
Hi, this is v5 of the last part of my recent patchset [PATCH v3 00/15] Add an SPL to boot the da850evm from SPI http://lists.denx.de/pipermail/u-boot/2011-November/82.html Most of the other parts are already merged, together with this patchset they introduce an SPL for the da850evm to run

Re: [U-Boot] [PATCH 1/4] mmc: Change board_mmc_getcd() signature.

2011-12-05 Thread Marek Vasut
On 05/12/2011 11:00, Thierry Reding wrote: * Marek Vasut wrote: The new API no longer uses the extra cd parameter that was used to store the card presence state. Instead, this information is returned via the function's return value. board_mmc_getcd() returns -1 to indicate that no

[U-Boot] [PATCH v5 1/6] spl: display_options.o is required for SPI flash support in SPL

2011-12-05 Thread Christian Riesch
Signed-off-by: Christian Riesch christian.rie...@omicron.at Cc: Heiko Schocher h...@denx.de Cc: Mike Frysinger vap...@gentoo.org --- lib/Makefile |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/lib/Makefile b/lib/Makefile index 54708c2..35ba7ff 100644 --- a/lib/Makefile

[U-Boot] [PATCH 1/4] mkenvimage: Fix some typos

2011-12-05 Thread Horst Kronstorfer
Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- tools/mkenvimage.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c index 9c32f4a..b7b0e0f 100644 --- a/tools/mkenvimage.c +++ b/tools/mkenvimage.c @@ -116,7 +116,7

[U-Boot] [PATCH 3/4] mkenvimage: Print program basename instead of whole path in usage()

2011-12-05 Thread Horst Kronstorfer
Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- tools/mkenvimage.c | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c index 22d1b88..3e7f967 100644 --- a/tools/mkenvimage.c +++ b/tools/mkenvimage.c @@ -79,6

[U-Boot] [PATCH 2/4] mkenvimage: Fix getopt() error handling

2011-12-05 Thread Horst Kronstorfer
Since the original implementation indicates explicit error handling we turn off getopt()'s internal error messaging to avoid duplicate error messages. Additionally we add ':' (missing option argument) error handling. Signed-off-by: Horst Kronstorfer hkron...@frequentis.com ---

[U-Boot] [PATCH 4/4] mkenvimage: Add version info switch (-V)

2011-12-05 Thread Horst Kronstorfer
Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- tools/mkenvimage.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c index 3e7f967..046661d 100644 --- a/tools/mkenvimage.c +++ b/tools/mkenvimage.c @@ -36,6 +36,7 @@

Re: [U-Boot] having trouble booting a simple kernel on a TQM860 board

2011-12-05 Thread Robert P. J. Day
On Mon, 5 Dec 2011, Wolfgang Denk wrote: Dear Robert, In message alpine.DEB.2.02.1112042100270.15118@oneiric you wrote: i believe i've solved this issue, at least. i downloaded ELDK 4.2 and installed the ppc_8xx- toolchain. with that, i managed to compile u-boot 2010.12 and flashed

Re: [U-Boot] [PATCH 3/4] mmc: fsl_esdhc: Implement card-detect hook.

2011-12-05 Thread Thierry Reding
* Stefano Babic wrote: On 05/12/2011 09:23, Thierry Reding wrote: This card-detect hook probably doesn't work. Perhaps somebody with more knowledge about the hardware can comment on this. I think that perhaps even the complete code from esdhc_init() could go into the getcd() The reason

Re: [U-Boot] [PATCH 1/4] mmc: Change board_mmc_getcd() signature.

2011-12-05 Thread Thierry Reding
* Stefano Babic wrote: On 05/12/2011 09:23, Thierry Reding wrote: [...] diff --git a/board/efikamx/efikamx.c b/board/efikamx/efikamx.c index b78bf6c..451d709 100644 --- a/board/efikamx/efikamx.c +++ b/board/efikamx/efikamx.c @@ -309,17 +309,15 @@ static inline uint32_t

Re: [U-Boot] having trouble booting a simple kernel on a TQM860 board

2011-12-05 Thread Wolfgang Denk
Dear Robert, In message alpine.DEB.2.02.1112050701340.21244@oneiric you wrote: No. Now you don't need a cuImage nay more. Just use the DT as I showed you in the builkd and boot log I sent before. for the sake of clarification, you write that i don't *need* cuImages anymore, but

[U-Boot] [PATCH] i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board

2011-12-05 Thread Jason Liu
From: Dirk Behme dirk.be...@de.bosch.com Add the initial support for Freescale i.MX6Q Sabre Lite board Signed-off-by: Dirk Behme dirk.be...@de.bosch.com Signed-off-by: Jason Liu jason@linaro.org Cc: Stefano Babic sba...@denx.de --- MAINTAINERS |1 +

Re: [U-Boot] [PATCH] i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board

2011-12-05 Thread Fabio Estevam
On Mon, Dec 5, 2011 at 10:57 AM, Jason Liu jason@linaro.org wrote: +IMAGE_VERSION 2 + +# Boot Device : one of +# spi, sd (the board has no nand neither onenand) + +BOOT_FROM      sd This board does not boot from sd, only from SPI NOR. Could you please let me know how it was tested?

Re: [U-Boot] [PATCH] i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board

2011-12-05 Thread Dirk Behme
On 05.12.2011 14:23, Fabio Estevam wrote: On Mon, Dec 5, 2011 at 10:57 AM, Jason Liu jason@linaro.org wrote: +IMAGE_VERSION 2 + +# Boot Device : one of +# spi, sd (the board has no nand neither onenand) + +BOOT_FROM sd This board does not boot from sd, only from SPI NOR. Could you

Re: [U-Boot] [PATCH] i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board

2011-12-05 Thread Dirk Behme
On 05.12.2011 13:57, Jason Liu wrote: From: Dirk Behme dirk.be...@de.bosch.com Add the initial support for Freescale i.MX6Q Sabre Lite board Please note that this patch relies on the basic i.mx6q core support introduced with the patch series

Re: [U-Boot] [PATCH] i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board

2011-12-05 Thread Fabio Estevam
On Mon, Dec 5, 2011 at 11:26 AM, Dirk Behme dirk.be...@de.bosch.com wrote: On 05.12.2011 14:23, Fabio Estevam wrote: On Mon, Dec 5, 2011 at 10:57 AM, Jason Liu jason@linaro.org wrote: +IMAGE_VERSION 2 + +# Boot Device : one of +# spi, sd (the board has no nand neither onenand) +

Re: [U-Boot] [PATCH v3 13/15] arm, da850evm: Add an SPL for SPI boot

2011-12-05 Thread Tom Rini
On 12/05/2011 03:20 AM, Christian Riesch wrote: Hi Tom, On Sat, Dec 3, 2011 at 6:49 AM, Christian Riesch christian.rie...@omicron.at wrote: Hi Tom, Thanks for your comments. On Friday, December 2, 2011, Tom Rini tr...@ti.com wrote: On 12/02/2011 09:12 AM, Christian Riesch wrote:

Re: [U-Boot] [PATCH 8/9] arch/arm/cpu/armv7/omap-common/clocks-common.c: Fix GCC 4.6 warnings

2011-12-05 Thread Tom Rini
On 12/03/2011 09:46 AM, Anatolij Gustschin wrote: Fix: clocks-common.c: In function 'setup_dplls': clocks-common.c:256:6: warning: variable 'sysclk_ind' set but not used [-Wunused-but-set-variable] clocks-common.c: In function 'setup_non_essential_dplls': clocks-common.c:292:6: warning:

Re: [U-Boot] [PATCH 7/9] arch/arm/cpu/armv7/omap-common/spl.c: Fix GCC 4.2 warnings

2011-12-05 Thread Tom Rini
On 12/04/2011 04:28 AM, Marek Vasut wrote: Fix: spl.c: In function 'jump_to_image_no_args': spl.c:103: warning: assignment makes pointer from integer without a cast spl.c:105: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Anatolij Gustschin

Re: [U-Boot] [PATCH 9/9] arch/arm/include/asm/arch-omap5/clocks.h: Fix GCC 4.2 warnings

2011-12-05 Thread Tom Rini
On 12/04/2011 06:59 AM, Anatolij Gustschin wrote: On Sun, 4 Dec 2011 12:30:40 +0100 Marek Vasut marek.va...@gmail.com wrote: Fix: clocks.c: In function 'setup_post_dividers': clocks.c:175: warning: comparison is always true due to limited range of data type clocks.c:177: warning:

Re: [U-Boot] [PATCH v5 4/6] arm, da850evm: Add an SPL for SPI boot

2011-12-05 Thread Tom Rini
On 12/05/2011 03:58 AM, Christian Riesch wrote: [snip] include/configs/da850evm.h| 87 + [snip] +#define CONFIG_SYS_DA850_DDR2_SDTIMR2 ( \ + (7 DV_DDR_SDTMR2_RASMAX_SHIFT) | \ + (0 DV_DDR_SDTMR2_XP_SHIFT) | \

Re: [U-Boot] [ARM]: File type for u-boot elf file

2011-12-05 Thread Tom Rini
On Mon, Dec 5, 2011 at 2:19 AM, rojan rojan@bpltelecom.com wrote:  I have OMAP L138 Hawkboard which is loaded with some other program. I am new to this hawkboard and tried to boot as per instructions from user guide in http://www.hawkboard.org/ , system is not coming to hawkboard.org to

Re: [U-Boot] [PATCH 8/9] arch/arm/cpu/armv7/omap-common/clocks-common.c: Fix GCC 4.6 warnings

2011-12-05 Thread Anatolij Gustschin
On Mon, 5 Dec 2011 08:02:53 -0700 Tom Rini tr...@ti.com wrote: On 12/03/2011 09:46 AM, Anatolij Gustschin wrote: Fix: clocks-common.c: In function 'setup_dplls': clocks-common.c:256:6: warning: variable 'sysclk_ind' set but not used [-Wunused-but-set-variable] clocks-common.c: In

Re: [U-Boot] [PATCH v2] global_data: unify global flag defines

2011-12-05 Thread Mike Frysinger
On Monday 05 December 2011 00:47:12 Graeme Russ wrote: Hi Mike, On Mon, Dec 5, 2011 at 5:39 PM, Mike Frysinger vap...@gentoo.org wrote: On Sunday 04 December 2011 22:47:59 Graeme Russ wrote: On Mon, Dec 5, 2011 at 2:43 PM, Mike Frysinger wrote: +/* + * Base for arches to start adding

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

2011-12-05 Thread Albert ARIBAUD
Hi Stefano, Le 01/12/2011 17:14, Stefano Babic a écrit : Hi Albert, please pull from u-boot-imx, thanks. The following changes since commit 3be4bab07b614c23f3bffaa6febca9a5a2c4dfa6: vision2: Fix checkpatch warning (2011-11-28 13:10:36 +0100) are available in the git repository at:

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

2011-12-05 Thread Albert ARIBAUD
Hi Marek, Le 02/12/2011 11:11, Marek Vasut a écrit : I see no comments on my patchset for a while, so: The following changes since commit f2695a272849764cda09bcce6f86d03105e9e46d: PXA: Drop XM250 board (2011-11-25 20:44:24 +0100) are available in the git repository at:

Re: [U-Boot] [PATCH v6] arm, arm926ejs: Fix clear bss loop for zero length bss

2011-12-05 Thread Albert ARIBAUD
Hi Christian, Le 01/12/2011 09:27, Christian Riesch a écrit : This patch fixes the clear bss loop for bss sections that have zero length, i.e., where __bss_start == __bss_end__. Signed-off-by: Christian Rieschchristian.rie...@omicron.at Cc: Albert Aribaudalbert.u.b...@aribaud.net --- Hi, this

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

2011-12-05 Thread Albert ARIBAUD
Hi Tom, Le 29/11/2011 23:53, Tom Rini a écrit : The following changes since commit f2695a272849764cda09bcce6f86d03105e9e46d: Marek Vasut (1): PXA: Drop XM250 board are available in the git repository at: git://git.denx.de/u-boot-ti.git master Anatolij Gustschin (1):

[U-Boot] undefined reference to `abort'

2011-12-05 Thread Shadid, Bill
This is a follow-up to my issue, re: /opt/embedded/tools/usr/bin/../lib/gcc/powerpc-linux/4.2.2/m8540/libgcc.a(divsf3.o): In function `__divsf3':

Re: [U-Boot] [PATCH 8/9] arch/arm/cpu/armv7/omap-common/clocks-common.c: Fix GCC 4.6 warnings

2011-12-05 Thread Tom Rini
On 12/05/2011 09:32 AM, Anatolij Gustschin wrote: On Mon, 5 Dec 2011 08:02:53 -0700 Tom Rini tr...@ti.com wrote: On 12/03/2011 09:46 AM, Anatolij Gustschin wrote: Fix: clocks-common.c: In function 'setup_dplls': clocks-common.c:256:6: warning: variable 'sysclk_ind' set but not used

Re: [U-Boot] [PATCH 1/2] arm, arm926ejs: always do cpu critical inits

2011-12-05 Thread Albert ARIBAUD
Le 29/11/2011 20:27, Tom Rini a écrit : On Wed, Nov 9, 2011 at 11:06 PM, Heiko Schocherh...@denx.de wrote: always do the cpu critical inits in cpu_init_crit, and only jump to lowlevel_init, if CONFIG_SKIP_LOWLEVEL_INIT is not defined. Signed-off-by: Heiko Schocherh...@denx.de Cc: Albert

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

2011-12-05 Thread Stefano Babic
On 05/12/2011 17:57, Albert ARIBAUD wrote: Hmm... Your master is based on my next, not on my master. Do you intend me to add these onto my 'next' or 'master' branch? Sorry, I have applied the wrong script, I presume. I will send a new pull request soon. Best regards, Stefano Babic --

[U-Boot] [GIT PULL] Pull request: u-boot-imx

2011-12-05 Thread Stefano Babic
Hi Albert, please pull from u-boot-imx (this time rebased on u-boot-arm/master..) The following changes since commit d4870a914b73884f2f3e8fb082ae50f75fc01ebc: arm, arm926ejs: Fix clear bss loop for zero length bss (2011-12-05 18:03:51 +0100) are available in the git repository at:

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

2011-12-05 Thread Albert ARIBAUD
Hi Stefano, Le 05/12/2011 18:22, Stefano Babic a écrit : Hi Albert, please pull from u-boot-imx (this time rebased on u-boot-arm/master..) The following changes since commit d4870a914b73884f2f3e8fb082ae50f75fc01ebc: arm, arm926ejs: Fix clear bss loop for zero length bss (2011-12-05

Re: [U-Boot] undefined reference to `abort'

2011-12-05 Thread Mike Frysinger
On Monday 05 December 2011 11:43:09 Shadid, Bill wrote: /opt/embedded/tools/usr/bin/../lib/gcc/powerpc-linux/4.2.2/m8540/libgcc.a(d ivsf3.o): In function `__divsf3': /opt/eldk/build/ppc-2008-04-01/work/usr/src/denx/BUILD/crosstool-0.43/buil

Re: [U-Boot] having trouble booting a simple kernel on a TQM860 board

2011-12-05 Thread Robert P. J. Day
On Mon, 5 Dec 2011, Wolfgang Denk wrote: Dear Robert, In message alpine.DEB.2.02.1112050701340.21244@oneiric you wrote: No. Now you don't need a cuImage nay more. Just use the DT as I showed you in the builkd and boot log I sent before. for the sake of clarification, you write

Re: [U-Boot] undefined reference to `abort'

2011-12-05 Thread Matthias Weißer
Am 05.12.2011 18:28, schrieb Mike Frysinger: On Monday 05 December 2011 11:43:09 Shadid, Bill wrote: /opt/embedded/tools/usr/bin/../lib/gcc/powerpc-linux/4.2.2/m8540/libgcc.a(d ivsf3.o): In function `__divsf3': /opt/eldk/build/ppc-2008-04-01/work/usr/src/denx/BUILD/crosstool-0.43/buil

[U-Boot] [ARM] Pending patches for december release?

2011-12-05 Thread Albert ARIBAUD
Hi all, As I don't have much time and the december release is coming soon, I would appreciate that anyone with a patch that they think should go to ARM master now please send me an e-mail with the link to the patchwork patch page so that I delegate the patch to myself. If the patch is

Re: [U-Boot] [ARM] Pending patches for december release?

2011-12-05 Thread Tom Rini
On Mon, Dec 5, 2011 at 11:05 AM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi all, As I don't have much time and the december release is coming soon, I would appreciate that anyone with a patch that they think should go to ARM master now please send me an e-mail with the link to the

Re: [U-Boot] undefined reference to `abort'

2011-12-05 Thread Shadid, Bill
I've added a test suite to the build that can be accessed while at the u-boot prompt. The suite allows folks to verify various h/w components without running an OS. The suite contains some algorithms to convert sensor data to voltage, current, power and temperature. I can modify some of these

Re: [U-Boot] [PATCH 4/4] mtd/nand: Add ONFI support for FSL NAND controller

2011-12-05 Thread Scott Wood
On 12/03/2011 03:25 AM, Liu Shengzhou-B36685 wrote: -Original Message- From: Wood Scott-B07421 Sent: 2011年12月3日 2:45 To: Liu Shengzhou-B36685 Cc: u-boot@lists.denx.de; Gala Kumar-B11780 Subject: Re: [PATCH 4/4] mtd/nand: Add ONFI support for FSL NAND controller On 12/02/2011

Re: [U-Boot] [PATCH v5 2/6] sf: Add spi_boot() to allow booting from SPI flash in an SPL

2011-12-05 Thread Scott Wood
On 12/05/2011 04:58 AM, Christian Riesch wrote: Signed-off-by: Christian Riesch christian.rie...@omicron.at Cc: Heiko Schocher h...@denx.de Cc: Mike Frysinger vap...@gentoo.org Cc: Scott Wood scottw...@freescale.com Acked-by: Mike Frysinger vap...@gentoo.org --- doc/README.SPL

Re: [U-Boot] undefined reference to `abort'

2011-12-05 Thread Wolfgang Denk
Dear Shadid, Bill, In message e7f97b349c2a6843b718b2ddf2f9a8f016941...@email.corp.neptec.com you wrote: It was suggested that I should migrate to a newer version of u-boot to resolve the issue. I downloaded and compiled with u-boot-2011.03-rc and the compiler reported the same errors.

Re: [U-Boot] [PATCH v5 2/6] sf: Add spi_boot() to allow booting from SPI flash in an SPL

2011-12-05 Thread Mike Frysinger
On Monday 05 December 2011 14:33:40 Scott Wood wrote: On 12/05/2011 04:58 AM, Christian Riesch wrote: Signed-off-by: Christian Riesch christian.rie...@omicron.at Cc: Heiko Schocher h...@denx.de Cc: Mike Frysinger vap...@gentoo.org Cc: Scott Wood scottw...@freescale.com Acked-by: Mike

Re: [U-Boot] having trouble booting a simple kernel on a TQM860 board

2011-12-05 Thread Wolfgang Denk
Dear Robert, In message alpine.DEB.2.02.1112051242090.4383@oneiric you wrote: True, you don't have to use the DT. You don't have to use the most straightforward way that has been well tested for a ton of combinations of recent U-Boot releases against recent kernel releases. You are

Re: [U-Boot] [PATCH v5 2/6] sf: Add spi_boot() to allow booting from SPI flash in an SPL

2011-12-05 Thread Tom Rini
On Mon, Dec 5, 2011 at 12:56 PM, Mike Frysinger vap...@gentoo.org wrote: On Monday 05 December 2011 14:33:40 Scott Wood wrote: On 12/05/2011 04:58 AM, Christian Riesch wrote: Signed-off-by: Christian Riesch christian.rie...@omicron.at Cc: Heiko Schocher h...@denx.de Cc: Mike Frysinger

Re: [U-Boot] undefined reference to `abort'

2011-12-05 Thread Wolfgang Denk
Dear Shadid, Bill, In message e7f97b349c2a6843b718b2ddf2f9a8f016941...@email.corp.neptec.com you wrote: Its surprising that this code compiled and ran fine with ELDK 4.0 but has compile issues with 4.2. I guess some floating-point support was removed. I'm still not clear why the abort

Re: [U-Boot] [PATCH v5 0/6] Add an SPL to boot the da850evm from SPI

2011-12-05 Thread Tom Rini
On Mon, Dec 5, 2011 at 3:58 AM, Christian Riesch christian.rie...@omicron.at wrote: Hi, this is v5 of the last part of my recent patchset Following on to my last email in 2/6 of the series, if there's no objections other than mine about commenting and not doing 0 bit shifts, and that's an

Re: [U-Boot] [PATCH v2] global_data: unify global flag defines

2011-12-05 Thread Graeme Russ
Hi Mike, On Dec 6, 2011 3:44 AM, Mike Frysinger vap...@gentoo.org wrote: On Monday 05 December 2011 00:47:12 Graeme Russ wrote: Hi Mike, On Mon, Dec 5, 2011 at 5:39 PM, Mike Frysinger vap...@gentoo.org wrote: On Sunday 04 December 2011 22:47:59 Graeme Russ wrote: On Mon, Dec 5, 2011

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

2011-12-05 Thread Wolfgang Denk
Dear Nobuhiro Iwamatsu, In message CABMQnVKLWn+hPcfFY_Gq=b9xcx1v9rmgk+5zs3mtrkchp1b...@mail.gmail.com you wrote: Dear Wolfgang Denk. Please pull from git://git.denx.de/u-boot-sh master. Best regards, Nobuhiro The following changes since commit

Re: [U-Boot] [PULL] u-boot-staging / marek.va...@gmail.com

2011-12-05 Thread Wolfgang Denk
Dear Marek Vasut, In message 201112021101.18529.marek.va...@gmail.com you wrote: Hi Wolfgang, let's see how this works :) The following changes since commit 7708d8b352e9e595f6f08afd3206af6495c7dc09: Merge branch 'master' of ssh://gemini/home/wd/git/u-boot/master (2011-12-= 02=20

Re: [U-Boot] [PATCH] matrix vision: fix MVBLM7, MVSMR build error

2011-12-05 Thread Wolfgang Denk
Dear Kim Phillips, In message 2004164356.5ab650e3a7af28de76f55...@freescale.com you wrote: when a mkimage binary isn't present in the default system PATH, we get this error: $ ./MAKEALL MVBLM7 Configuring for MVBLM7 board... make[1]: mkimage: Command not found make[1]: ***

Re: [U-Boot] [PATCH v2] Phy/Marvell: Rewrite the MV88E1111 phy config function based on kernel code

2011-12-05 Thread Wolfgang Denk
Dear Roy Zang, In message 1319777529-28654-1-git-send-email-tie-fei.z...@freescale.com you wrote: The original m88es_config() does not do the SGMII mode initialization and is buggy. Rewrite the function according to 3.0.6 kernel function m88e_config_init() in drivers/net/phy/marvell.c

Re: [U-Boot] [PATCH] Makefile: add tools/mkenvimage to target 'clean'

2011-12-05 Thread Anatolij Gustschin
On Tue, 29 Nov 2011 10:42:14 +0100 Horst Kronstorfer hkron...@frequentis.com wrote: Signed-off-by: Horst Kronstorfer hkron...@frequentis.com --- Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Applied to u-boot-staging/ag...@denx.de. Thanks! Anatolij

Re: [U-Boot] [PATCH 2/4] net: tweak eth_device layout to simplify enetaddr use

2011-12-05 Thread Wolfgang Denk
Dear Mike Frysinger, In message 20111003.15436.vap...@gentoo.org you wrote: I'm OK with expanding the name[] field, but as Thomas pointed out, providing convenient u32 / u16 variables for the MAC address is actually a faux ami that misleads people into using these variables without

Re: [U-Boot] [PATCH v3] video: cfb_console: Make the software cursor non-destructive

2011-12-05 Thread Anatolij Gustschin
On Thu, 1 Dec 2011 00:50:50 +0100 Anatolij Gustschin ag...@denx.de wrote: From: Gabe Black gabebl...@chromium.org When printing the string \r\n to the framebuffer console, the first character of the current line was being replaced with a space. The boot prompt would become the oot prompt.

Re: [U-Boot] [PATCH] miiphy: Note that miiphy_* API is deprecated

2011-12-05 Thread Wolfgang Denk
Dear Andy Fleming, In message 1320072373-367-1-git-send-email-aflem...@freescale.com you wrote: We want to move everything to phylib, and we definitely don't want new drivers using the miiphy infrastructure. Signed-off-by: Andy Fleming aflem...@freescale.com --- common/miiphyutil.c

Re: [U-Boot] [PATCH v5 2/6] sf: Add spi_boot() to allow booting from SPI flash in an SPL

2011-12-05 Thread Mike Frysinger
On Monday 05 December 2011 15:03:44 Tom Rini wrote: On Mon, Dec 5, 2011 at 12:56 PM, Mike Frysinger vap...@gentoo.org wrote: On Monday 05 December 2011 14:33:40 Scott Wood wrote: On 12/05/2011 04:58 AM, Christian Riesch wrote: Signed-off-by: Christian Riesch christian.rie...@omicron.at

Re: [U-Boot] [PATCH v2 01/17] fdt: Tidy up a few fdtdec problems

2011-12-05 Thread Stephen Warren
On 12/02/2011 07:11 PM, Simon Glass wrote: ... +int fdtdec_get_is_enabled(const void *blob, int node) { const char *cell; cell = fdt_getprop(blob, node, status, NULL); if (cell) - return 0 == strcmp(cell, ok); - return default_val; + return

Re: [U-Boot] [PATCH 10/14] tegra: usb: Add support for USB peripheral

2011-12-05 Thread Stephen Warren
On 12/02/2011 05:59 PM, Simon Glass wrote: Hi Stephen, Here are my comments on the rest of your email. On Mon, Nov 28, 2011 at 11:21 AM, Stephen Warren swar...@nvidia.com wrote: On 11/23/2011 08:54 PM, Simon Glass wrote: This adds basic support for the Tegra2 USB controller. Board files

Re: [U-Boot] [PATCH v2 01/17] fdt: Tidy up a few fdtdec problems

2011-12-05 Thread Simon Glass
Hi Stephen, On Mon, Dec 5, 2011 at 1:27 PM, Stephen Warren swar...@nvidia.com wrote: On 12/02/2011 07:11 PM, Simon Glass wrote: ... +int fdtdec_get_is_enabled(const void *blob, int node)  {       const char *cell;       cell = fdt_getprop(blob, node, status, NULL);       if (cell) -      

Re: [U-Boot] [PATCH V4] Ethernut 5 board support

2011-12-05 Thread Wolfgang Denk
Dear Harald Kipp, In message 4ec6b254.80...@egnite.de you wrote: Dear Maintainers, On 02.11.2011 10:55, Tim Schendekehl wrote: Add support for the Ethernut 5 open hardware design, based on Atmel's AT91SAM9XE512 SoC. Any chance to get this patch reviewed before it's becoming outdated

Re: [U-Boot] [PATCH 10/14] tegra: usb: Add support for USB peripheral

2011-12-05 Thread Simon Glass
Hi Stephen, On Mon, Dec 5, 2011 at 1:33 PM, Stephen Warren swar...@nvidia.com wrote: On 12/02/2011 05:59 PM, Simon Glass wrote: Hi Stephen, Here are my comments on the rest of your email. On Mon, Nov 28, 2011 at 11:21 AM, Stephen Warren swar...@nvidia.com wrote: On 11/23/2011 08:54 PM,

Re: [U-Boot] [PATCH v2 04/17] fdt: Add basic support for decoding GPIO definitions

2011-12-05 Thread Stephen Warren
On 12/02/2011 07:11 PM, Simon Glass wrote: This adds some support into fdtdec for reading GPIO definitions from the fdt. We permit up to FDT_GPIO_MAX GPIOs in the system. Each GPIO is of the form: gpio-function-name = phandle gpio_num flags; where: phandle is a pointer to the GPIO node

Re: [U-Boot] [PATCH v1 1/5] serial: cosmetic checkpatch compliance

2011-12-05 Thread Wolfgang Denk
Dear Gerlando Falauto, In message 1321634955-5561-2-git-send-email-gerlando.fala...@keymile.com you wrote: Signed-off-by: Gerlando Falauto gerlando.fala...@keymile.com --- common/serial.c | 51 +-- include/serial.h | 19

Re: [U-Boot] [PATCH v1 2/5] serial: constify serial_assign()

2011-12-05 Thread Wolfgang Denk
Dear Gerlando Falauto, In message 1321634955-5561-3-git-send-email-gerlando.fala...@keymile.com you wrote: Signed-off-by: Gerlando Falauto gerlando.fala...@keymile.com --- common/serial.c |2 +- include/serial.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Applied,

Re: [U-Boot] [PATCH] CPCI750: Fix GCC 4.6 warning in board/esd/cpci750/mv_eth.c

2011-12-05 Thread Wolfgang Denk
Dear Reinhard Arlt, In message 4ec6a749.1020...@esd.eu you wrote: From: Reinhard Arlt reinhard.a...@esd.eu This patch fix the GCC 4.6 warnings in in what? and which warnings? Signed-off-by: Reinhard Arlt reinhard.a...@esd.eu -- diff --git a/board/esd/cpci750/mv_eth.c

Re: [U-Boot] [PATCH] CPCI750: Do not enable data cache in start.S

2011-12-05 Thread Wolfgang Denk
Dear Reinhard Arlt, In message 4ec6a8e3.7050...@esd.eu you wrote: From: Reinhard Arlt reinhard.a...@esd.eu Do not enable the data cache in start.S, the decrementer do not work. Signed-off-by: Reinhard Arlt reinhard.a...@esd.eu -- diff --git a/arch/powerpc/cpu/74xx_7xx/start.S

Re: [U-Boot] [PATCH v2 04/17] fdt: Add basic support for decoding GPIO definitions

2011-12-05 Thread Simon Glass
Hi Stephen, On Mon, Dec 5, 2011 at 1:46 PM, Stephen Warren swar...@nvidia.com wrote: On 12/02/2011 07:11 PM, Simon Glass wrote: This adds some support into fdtdec for reading GPIO definitions from the fdt. We permit up to FDT_GPIO_MAX GPIOs in the system. Each GPIO is of the form:

Re: [U-Boot] [PATCH v2 02/17] fdt: Add functions to access phandles, arrays and bools

2011-12-05 Thread Stephen Warren
On 12/02/2011 07:11 PM, Simon Glass wrote: Add a function to look up a property which is a phandle in a node, and another to read a fixed-length integer array from an fdt property. Also add a function to read boolean properties, although there is no actual boolean type in U-Boot. +/** + *

Re: [U-Boot] [PATCH] env_nand: Remove DEBUG definition

2011-12-05 Thread Wolfgang Denk
Dear Thomas Weber, In message 1320912600-3170-1-git-send-email-we...@corscience.de you wrote: When compiling with -DDEBUG enabled this caused a warning about multiple definition of DEBUG. Signed-off-by: Thomas Weber we...@corscience.de --- common/env_nand.c |2 +- 1 files changed, 1

Re: [U-Boot] [PATCH] drivers/net/mvgbe.c: Fix GCC 4.6 warnings

2011-12-05 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message 1321729176-5520-1-git-send-email-ag...@denx.de you wrote: Fix: mvgbe.c: In function 'mvgbe_send': mvgbe.c:555:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] mvgbe.c: In function 'mvgbe_recv':

Re: [U-Boot] [PATCH] Fix tsize warning in tools/aisimage.c

2011-12-05 Thread Wolfgang Denk
Dear Simon Glass, In message 1321726854-18400-1-git-send-email-...@chromium.org you wrote: This fixes the following warning with gcc 4.4.3. aisimage.c: In function 'aisimage_generate': aisimage.c:365: warning: 'tsize' may be used uninitialized in this function Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v2 01/17] fdt: Tidy up a few fdtdec problems

2011-12-05 Thread Stephen Warren
On 12/05/2011 02:40 PM, Simon Glass wrote: Hi Stephen, On Mon, Dec 5, 2011 at 1:27 PM, Stephen Warren swar...@nvidia.com wrote: On 12/02/2011 07:11 PM, Simon Glass wrote: ... +int fdtdec_get_is_enabled(const void *blob, int node) { const char *cell; cell = fdt_getprop(blob,

Re: [U-Boot] [PATCH v2 02/17] fdt: Add functions to access phandles, arrays and bools

2011-12-05 Thread Simon Glass
Hi Stephen, On Mon, Dec 5, 2011 at 1:59 PM, Stephen Warren swar...@nvidia.com wrote: On 12/02/2011 07:11 PM, Simon Glass wrote: Add a function to look up a property which is a phandle in a node, and another to read a fixed-length integer array from an fdt property. Also add a function to read

[U-Boot] [PATCH v3 3/6] x86: Add support for booting Linux using the 32 bit boot protocol

2011-12-05 Thread Gabe Black
This change conditionally modifies the zboot command so that it can use the 32 bit boot protocol. This is necessary because the 16 bit realmode entry point assumes that it can call BIOS services which neither coreboot nor u-boot provide. Signed-off-by: Gabe Black gabebl...@chromium.org ---

[U-Boot] [PATCH v3 6/6] x86: Add support for specifying an initrd with the zboot command

2011-12-05 Thread Gabe Black
This change finishes plumbing the initrd support built into the zboot mechanism out to the command interface. It also fixes a bug in the command declaration where the kernel size could be passed as an optional second parameter but not enough arguments were allowed. Signed-off-by: Gabe Black

[U-Boot] [PATCH v3 1/6] x86: Import code from coreboot's libpayload to parse the coreboot table

2011-12-05 Thread Gabe Black
This change also forces the lib_sysinfo structure to be in the .data section. Otherwise it ends up in the .bss section. U-boot assumes that it doesn't need to copy it over during relocation, and instead fills that whole section with zeroes. If we really were booting from ROM that would be

[U-Boot] [PATCH v3 2/6] x86: Clean up the x86 zimage code in preparation to extend it

2011-12-05 Thread Gabe Black
This change cleans up some formatting issues in the zimage handling code, and converts it from using offsets added to a base pointer to using the available structure definitions which were already being included. Signed-off-by: Gabe Black gabebl...@chromium.org --- Changes in v2: - Changed

[U-Boot] [PATCH v3 0/6] Add support for the 32 bit boot protocol and coreboot table parsing.

2011-12-05 Thread Gabe Black
Add functionality for reading in the coreboot tables and storing their contents in a structure for easy access. These four patches add support for the 32 bit Linux boot protocol to the zboot command. They also add support for an initrd. Changes in v2: - Move arch/x86/include/asm/ic/coreboot/* to

  1   2   >