[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. Signed-of

[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(), w

[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 impl

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

2011-12-05 Thread Igor Grinberg
From: Jana Rapava 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 Signed-off-by: Igor Grinberg Cc: Remy Bohmer Cc: Stefano Ba

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 > pr

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 i

[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] [PATCH] MIPS: fix endianess handling

2011-12-05 Thread Wolfgang Denk
Dear Daniel Schwierzeck, In message <4edc0a99.6090...@googlemail.com> you wrote: > > > In general, standalone applications are a rarely used special feature, > > and the few people who actually ever used this for a purpose probably > > used custom code and custom linker scripts, so the mainline co

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

2011-12-05 Thread Wolfgang Denk
Dear Robert, In message 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 have a 2010.12 u-boot. so my u-boot iss

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 wrote: > Hi Tom, > Thanks for your comments. > > > On Friday, December 2, 2011, Tom Rini 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 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 a

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

2011-12-05 Thread Stefano Babic
On 05/12/2011 09:23, Thierry Reding 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 im

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 contr

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 Cc: Heiko Schocher Cc: Sandeep Paulraj Cc: Tom Rini Cc: Sudhakar Rajashekhara --- board/davinci/da8xxevm/da850evm.c |4 +- board/davinci/da8xxevm/u-boot-spl.lds | 73 +++ doc/README.davinci|9 +++ includ

[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 w

[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 Cc: Heiko Schocher Cc: Sandeep Paulraj Cc: Tom Rini Acked-by: Tom Rini --- arch/arm/cpu/arm926ejs/davinci/Makefile |3 +- arch/arm/cpu/arm926ejs/davinci/spl.c| 34 +++

[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 Cc: Heiko Schocher Cc: Mike Frysinger Cc: Scott Wood Acked-by: Mike Frysinger --- doc/README.SPL |1 + drivers/mtd/spi/Makefile |4 +++ drivers/mtd/spi/spi_spl_load.c | 58 include/spi_fla

[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 Cc: Stefano Babic Cc: Heiko Schocher Cc: Mike Frysinger --- .gitignore |1 + Makefile | 13 + 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index ff4bae0..e4e95e2 100644 --- a/.gitignore +++ b/.gitign

[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 u-

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 indi

[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 Cc: Heiko Schocher Cc: Mike Frysinger --- 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 +++ b/lib/Makefile @@ -50,6 +50,8 @@ COBJS-$(CONFIG_SHA1)

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

2011-12-05 Thread Horst Kronstorfer
Signed-off-by: Horst Kronstorfer --- 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 @@ int main(int argc, ch

[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 --- 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 +79,11 @@ int main(int argc

[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 --- tools/mkenvimage.c | 12 ++-- 1

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

2011-12-05 Thread Horst Kronstorfer
Signed-off-by: Horst Kronstorfer --- 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 @@ #include #include

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 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 > >

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

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 efika_m

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

2011-12-05 Thread Wolfgang Denk
Dear Robert, In message 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 that's not the same as saying that i *mus

[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 Add the initial support for Freescale i.MX6Q Sabre Lite board Signed-off-by: Dirk Behme Signed-off-by: Jason Liu Cc: Stefano Babic --- MAINTAINERS |1 + board/freescale/mx6qsabrelite/Makefile| 42 ++ board/freescale/mx6qsab

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 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? It would be nice

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 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 ho

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 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 http://lists.denx.de/pipermail/u-boot/2011-November/63.html So it w

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 wrote: > On 05.12.2011 14:23, Fabio Estevam wrote: >> >> On Mon, Dec 5, 2011 at 10:57 AM, Jason Liu wrote: >> >>> +IMAGE_VERSION 2 >>> + >>> +# Boot Device : one of >>> +# spi, sd (the board has no nand neither onenand) >>> + >>> +BOOT_FROM      sd >> >

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 > wrote: >> Hi Tom, >> Thanks for your comments. >> >> >> On Friday, December 2, 2011, Tom Rini wrote: >>> On 12/02/2011 09:12 AM, Christian Riesch wrote: >>> >>> [snip] include/c

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 Gu

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 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: comparison i

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 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 access command. It is

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 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 functio

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 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 t

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: git:

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: git://git.denx.de

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 Riesch Cc: Albert Aribaud --- Hi, this is v6 of a patch out of my recent patchset [PATCH v

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): ARM:

[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': /opt/eldk/build/ppc-2008-04-01/work/usr/src/denx/BUILD/crosstool-0.43/build/gcc-4.2.2-glibc-20070515T2025-eldk/powerpc-linux/gcc-4.2.2/gcc/config/soft-

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 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 Schocher 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 Schocher Cc: Albert ARIBAUD Cc: Wolfgang Denk Cc:

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: git://www

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 18:03:5

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 > d/gcc-4.2.2-glibc-20070515T2025-eldk/powerpc-linux

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 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* > > cuIma

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 alread

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 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 patchwork patch page so

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 ca

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

2011-12-05 Thread Mike Frysinger
On Monday 05 December 2011 12:56:48 Matthias Weißer wrote: > 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/el

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 >> >>

Re: [U-Boot] [PATCH 2/4] mtd/nand: Fixup for support ONFI detect

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

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 > Cc: Heiko Schocher > Cc: Mike Frysinger > Cc: Scott Wood > Acked-by: Mike Frysinger > --- > doc/README.SPL |1 + > drivers/mtd/spi/Makefile |4 +++ > drivers/mtd/spi/spi_spl_load.

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

2011-12-05 Thread Wolfgang Denk
Dear "Shadid, Bill", In message 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. Would you please be so kind and explain why you decided

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 > > Cc: Heiko Schocher > > Cc: Mike Frysinger > > Cc: Scott Wood > > Acked-by: Mike Frysinger > > --- > > > > doc/README.SPL |1 + >

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

2011-12-05 Thread Wolfgang Denk
Dear Robert, In message 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 free to chose any untested, u

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 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 >> > Cc: Heiko Schocher >> > Cc: Mike Frysinger >> > Cc: Scott Wood >> > Acked-by: Mike Frysing

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

2011-12-05 Thread Wolfgang Denk
Dear "Shadid, Bill", In message 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 function is called and I > say called because when we do thr

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 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 agreeable change, if there's

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" 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 wrote: > > > On Sunday 04 December 2011 22:47:59 Graeme Russ wrote: > > >> On Mon, Dec 5, 2011 at 2:43 PM, Mike

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

2011-12-05 Thread Wolfgang Denk
Dear Nobuhiro Iwamatsu, In message you wrote: > Dear Wolfgang Denk. > > Please pull from git://git.denx.de/u-boot-sh master. > > Best regards, > Nobuhiro > > The following changes since commit 7708d8b352e9e595f6f08afd3206af6495c7dc09= > : > > Merge branch 'master' of ssh://gemini/home/wd

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-= > 0

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]: *** [li

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/marve

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 wrote: > Signed-off-by: Horst Kronstorfer > --- > Makefile |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Applied to u-boot-staging/ag...@denx.de. Thanks! Anatolij ___ U-Boot mailin

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 >

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 wrote: > From: Gabe Black > > 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. This change makes the cur

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 > --- > common/miiphyutil.c | 10 +

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 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 > >> > Cc: Heiko Schocher > >> > Cc:

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; > +

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 wrote: >> On 11/23/2011 08:54 PM, Simon Glass wrote: >>> This adds basic support for the Tegra2 USB controller. Board files should >>>

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 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 o

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 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 wrote: >>> On 11/23/2011 08:54 PM, Simon Glass wrote: Th

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 = ; > > where: > > phandle is a pointer to the GPIO node > gpio_num is

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 > --- > common/serial.c | 51 +-- > include/serial.h | 19 ++- > 2 files changed, 3

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 > --- > common/serial.c |2 +- > include/serial.h |2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Applied, thanks. Best regards, W

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 > > This patch fix the GCC 4.6 warnings in in what? and which warnings? > Signed-off-by: Reinhard Arlt > > -- > > diff --git a/board/esd/cpci750/mv_eth.c b/board/esd/cpci750/mv_eth.c > index 781ad23.

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 > > Do not enable the data cache in start.S, the decrementer do not work. > > Signed-off-by: Reinhard Arlt > > -- > > diff --git a/arch/powerpc/cpu/74xx_7xx/start.S > b/arch/powerpc/cpu/74xx_7xx/start.

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 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: >> >> gpio-function-nam

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 > --- > common/env_nand.c |2 +- > 1 files changed, 1 insertions(

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': > mvgb

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

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 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(bl

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 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 boolean pro

[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 --- Changes in v2: - Moved the co

  1   2   >