Re: [U-Boot] [PATCH][repost] mkimage support ( bin_dep.sh Support)

2009-07-15 Thread Prafulla Wadaskar
> -Original Message- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Prafulla Wadaskar > Sent: Tuesday, July 14, 2009 10:34 PM > To: Detlev Zundel > Cc: Ronen Shitrit; Nicolas Pitre; u-boot@lists.denx.de; > Ashish Karkare; Prabhanjan Sarnaik; L

[U-Boot] eth/net driver documentation

2009-07-15 Thread Mike Frysinger
is there any documentation that covers the NET_MULTI driver stack ? i.e. if i was a network chip vendor and wanted to write a u-boot driver for my part, where would i look ? or is it a matter of "the code is the documentation" ? i can start a small doc that covers the existing stack if that

[U-Boot] [PATCH] net: sync env ethaddr to device enetaddr in eth_init()

2009-07-15 Thread Mike Frysinger
In the previous enetaddr refactoring, the assumption with commit 56b555a644 was that the eth layer would handle the env -> device enetaddr syncing. This was not the case as eth_initialize() is called only once and the sync occurs there. So make sure the eth_init() function does the env -> device s

[U-Boot] [PATCH] Improve U-Boot Porting Guide in the README

2009-07-15 Thread Jerry Van Baren
Update for... * BDI2000 -> BDI3000 (BDI2000 is obsolete). * Add a line to read the doc/README.* files * Fix coding standard violations Signed-off-by: Gerald Van Baren --- Dear Wolfgang, I was looking at the Porting Guide and realized it needed some updating. Thanks, gvb README | 60

Re: [U-Boot] [PATCH 17/30] lan91c96/smc91111/smc911x: get mac address from environment

2009-07-15 Thread Mike Frysinger
On Monday 13 July 2009 17:58:18 Wolfgang Denk wrote: > Mike Frysinger wrote: > > > This patch (see also commit 03f3d8d3b39c, > > > http://git.denx.de/?p=u-boot.git;a=commit;h=03f3d8d3b39cf85c0ce7ca903b4 > > >3670 1e8aa610b) changed behaviour of some network drivers. > > > > > > As I just learned (s

Re: [U-Boot] [PATCH 1/2 v6] Make libgcc inclusion from common Makefile overridable by platform config file

2009-07-15 Thread Mike Frysinger
On Wednesday 15 July 2009 19:03:36 Scott Wood wrote: > Mike Frysinger wrote: > > On Wednesday 15 July 2009 18:18:20 Scott Wood wrote: > >> It seems pretty reasonable for U-Boot to provide functions like > >> raise()/abort() that take the place of a hardware exception, and display > >> an error mess

Re: [U-Boot] [PATCH 1/2 v6] Make libgcc inclusion from common Makefile overridable by platform config file

2009-07-15 Thread Scott Wood
Mike Frysinger wrote: > On Wednesday 15 July 2009 18:18:20 Scott Wood wrote: >> It seems pretty reasonable for U-Boot to provide functions like >> raise()/abort() that take the place of a hardware exception, and display >> an error message. > > i disagree here. how much of the C library are you p

Re: [U-Boot] [PATCH 3/3] video: mb862xx: replace printf with puts

2009-07-15 Thread Anatolij Gustschin
On Tue, 7 Jul 2009 13:45:34 +0200 Anatolij Gustschin wrote: > Signed-off-by: Anatolij Gustschin > --- > drivers/video/mb862xx.c | 20 ++-- > 1 files changed, 10 insertions(+), 10 deletions(-) applied ___ U-Boot mailing list U-Boot

Re: [U-Boot] [PATCH 2/3] video: mb862xx: use macros instead of magic numbers

2009-07-15 Thread Anatolij Gustschin
On Tue, 7 Jul 2009 13:45:33 +0200 Anatolij Gustschin wrote: > Signed-off-by: Anatolij Gustschin > --- > drivers/video/mb862xx.c | 96 > -- > include/mb862xx.h | 69 + 2 > files changed, 119 insertions(+), 46 de

Re: [U-Boot] [PATCH 1/2 v6] Make libgcc inclusion from common Makefile overridable by platform config file

2009-07-15 Thread Mike Frysinger
On Wednesday 15 July 2009 18:18:20 Scott Wood wrote: > On Mon, Jul 13, 2009 at 05:25:35AM -0400, Mike Frysinger wrote: > > On Sunday 12 July 2009 14:29:46 Wolfgang Denk wrote: > > > You mean it is impossible to build a tool chain for ARM that can be > > > used to build U-Boot, Linux, and user space

Re: [U-Boot] [PATCH 1/3] video: mb862xx: fix coding style and remove dead code

2009-07-15 Thread Anatolij Gustschin
On Tue, 7 Jul 2009 13:45:32 +0200 Anatolij Gustschin wrote: > Signed-off-by: Anatolij Gustschin > --- > drivers/video/mb862xx.c | 217 > +-- 1 files changed, 114 > insertions(+), 103 deletions(-) applied

Re: [U-Boot] [PATCH 1/2 v6] Make libgcc inclusion from common Makefile overridable by platform config file

2009-07-15 Thread Scott Wood
On Mon, Jul 13, 2009 at 05:25:35AM -0400, Mike Frysinger wrote: > On Sunday 12 July 2009 14:29:46 Wolfgang Denk wrote: > > You mean it is impossible to build a tool chain for ARM that can be > > used to build U-Boot, Linux, and user space code? I can't believe > > that ARM support in GCC is that s

Re: [U-Boot] [PATCH] Refresh LZMA-lib to 4.65

2009-07-15 Thread rhabarber1848
Hi, it seems I solved the problem. before: >>kernel loaded at 0x, end = 0x0080 >> ERROR: Failed to allocate 0x200 bytes below 0x80. now: >kernel loaded at 0x, end = 0x0009 > ## cmdline at 0x007ffe00 ... 0x007ffe99 > ## kernel board info at 0x007ffdc0 [...] > #

Re: [U-Boot] CONFIG_API, EABI and raise()

2009-07-15 Thread Mike Frysinger
On Wednesday 15 July 2009 11:15:46 Rafal Jaworowski wrote: > On 2009-07-15, at 16:58, Mike Frysinger wrote: > > On Tuesday 14 July 2009 09:47:26 Piotr Zięcik wrote: > >> While working on U-Boot for our board we have found problem related > >> to CONFIG_API option. In general, enabling it causes bui

[U-Boot] [PATCH 03/03 v3] Add support for Olimex SAM9-L9260 SBC

2009-07-15 Thread Dimitar Dimitrov
The SAM9-L9260 board support is based on code for AT91SAM9260EK. Networking is missing and will be added after the MACB support for AT91 boards is fixed to comply with U-Boot guide-lines. Signed-off-by: Dimitar Dimitrov --- MAINTAINERS |1 + MAKEALL

[U-Boot] [PATCH 02/03 v3] Add support for Olimex SAM9-L9261 SBC

2009-07-15 Thread Dimitar Dimitrov
The SAM9-L9261 board support is based on code for AT91SAM9261EK. Networking is missing and will be added after the DM9000 support for AT91 boards is fixed to comply with U-Boot guide-lines. --- MAINTAINERS |3 + MAKEALL |1 + Makefile

[U-Boot] [PATCH] Add inverted clock polarity support for Atmel LCD driver

2009-07-15 Thread Dimitar Dimitrov
This is my third try for Olimex SAM9-L9260/61 board support patches. Here follows the first patch. --- Boards utilizing the Atmel LCD driver can now specify that the LCD clock must be inverted by defining the macro CONFIG_LCD_INVERTED_CLOCK. --- README |5 + drivers

Re: [U-Boot] [PATCH] - save the server's mac address...

2009-07-15 Thread Robin Getz
On Wed 15 Jul 2009 11:00, Mike Frysinger pondered: > On Monday 13 July 2009 16:19:51 Robin Getz wrote: > > + CONFIG_KEEP_SERVERADDR > > + > > + Keeps the server's MAC address, in the env 'serveraddr' > > + for passing to bootargs (like Linux's netconsole option) > > i

[U-Boot] [PATCH v2 1/3] Add Eukrea CPUIMX27 support

2009-07-15 Thread Eric Benard
CPUIMX27 is built around Freescale's i.MX27 and has up to 64MB of NOR Flash, up to 512MB of NAND Flash and up to 256MB of mDDR, it includes an ethernet PHY in MII mode, an I2C RTC and a ST16554 QuadUART on nCS3. Signed-off-by: Eric Benard --- arch/arm/Kconfig| 11 ++

[U-Boot] [PATCH v2 3/3] Add NAND to EUKREA CPUIMX27 defconfig

2009-07-15 Thread Eric Benard
Signed-off-by: Eric Benard --- arch/arm/configs/eukrea_cpuimx27_defconfig | 10 -- board/eukrea_cpuimx27/eukrea_cpuimx27.c|1 + 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm/configs/eukrea_cpuimx27_defconfig b/arch/arm/configs/eukrea_cpuimx27_defconfig

[U-Boot] [PATCH v2 2/3] Fix 2k page size NAND for iMX27

2009-07-15 Thread Eric Benard
Signed-off-by: Eric Benard --- drivers/nand/nand_imx.c | 20 +--- include/asm-arm/arch-imx/imx-nand.h |3 ++- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/drivers/nand/nand_imx.c b/drivers/nand/nand_imx.c index cbff7ce..ecfb649 100644 --- a/dri

Re: [U-Boot] CONFIG_API, EABI and raise()

2009-07-15 Thread Stefan Roese
Hi Wolfgang, On Wednesday 15 July 2009 17:12:57 Wolfgang Denk wrote: > > I vote for accepting Jean-Christophe's libgcc patches in the latest > > version. They definitely fix some ugly problems seen on ARM (build > > failures, etc) and make life easier. > > They have been rejected, and I will not a

Re: [U-Boot] CONFIG_API, EABI and raise()

2009-07-15 Thread Rafal Jaworowski
On 2009-07-15, at 16:58, Mike Frysinger wrote: > On Tuesday 14 July 2009 09:47:26 Piotr Zięcik wrote: >> While working on U-Boot for our board we have found problem related >> to >> CONFIG_API option. In general, enabling it causes build failure. >> Our tests >> showed that problem exists als

Re: [U-Boot] CONFIG_API, EABI and raise()

2009-07-15 Thread Wolfgang Denk
Dear Stefan Roese, In message <200907151710.04262...@denx.de> you wrote: > > I vote for accepting Jean-Christophe's libgcc patches in the latest version. > They definitely fix some ugly problems seen on ARM (build failures, etc) and > make life easier. They have been rejected, and I will not ac

Re: [U-Boot] CONFIG_API, EABI and raise()

2009-07-15 Thread Stefan Roese
On Wednesday 15 July 2009 16:58:40 Mike Frysinger wrote: > On Tuesday 14 July 2009 09:47:26 Piotr Zięcik wrote: > > While working on U-Boot for our board we have found problem related to > > CONFIG_API option. In general, enabling it causes build failure. Our > > tests showed that problem exists al

Re: [U-Boot] [PATCH] cmd_mmc: make curr_device static

2009-07-15 Thread Mike Frysinger
On Sunday 14 June 2009 21:35:21 Mike Frysinger wrote: > The curr_device variable isn't used outside of cmd_mmc, so mark it static > to avoid conflicts with other pieces of code (like sata which also exports > a curr_device). Otherwise we end up with stuff like: > common/libcommon.a(cmd_sata.o):(.d

Re: [U-Boot] [PATCH V2] ppc4xx: Add 405EP based PMC405DE board

2009-07-15 Thread Wolfgang Denk
Dear Matthias Fuchs, In message <200907151251.25985.matthias.fu...@esd.eu> you wrote: > Signed-off-by: Matthias Fuchs > --- ... > diff --git a/board/esd/pmc405de/pmc405de.c b/board/esd/pmc405de/pmc405de.c > new file mode 100644 > index 000..ca26d5c > --- /dev/null > +++ b/board/esd/pmc405de/p

Re: [U-Boot] [PATCH] eth_receive(): Do not assume that caller always wants full packet.

2009-07-15 Thread Mike Frysinger
On Tuesday 14 July 2009 04:08:35 Piotr Ziecik wrote: > When packets arrive on the interface that are larger than the buffer > being passed to U-Boot from a standalone application, then the > eth_receive() returns -1 and leaves the packet saved. The next call to > eth_receive() will find that same p

Re: [U-Boot] [PATCH] - save the server's mac address...

2009-07-15 Thread Mike Frysinger
On Monday 13 July 2009 16:19:51 Robin Getz wrote: > + CONFIG_KEEP_SERVERADDR > + > + Keeps the server's MAC address, in the env 'serveraddr' > + for passing to bootargs (like Linux's netconsole option) is a config option really necessary ? i'd say just add it f

Re: [U-Boot] CONFIG_API, EABI and raise()

2009-07-15 Thread Mike Frysinger
On Tuesday 14 July 2009 09:47:26 Piotr Zięcik wrote: > While working on U-Boot for our board we have found problem related to > CONFIG_API option. In general, enabling it causes build failure. Our tests > showed that problem exists also on other ARM U-Boot targets (for example > davinci_dvevm). > >

Re: [U-Boot] [PATCH] Add bootstrap command

2009-07-15 Thread Mike Frysinger
On Wednesday 15 July 2009 09:48:00 Dirk Eibach wrote: > This adds a generic command for programming I2C bootstrap eeproms. > Implementation for Canyonlands board is included. "bootstrap" is pretty generic. can you pick something a little more descriptive/specific ? -mike signature.asc Descript

Re: [U-Boot] Support for Calao USB A9263 board based on AT91SAM9263 CPU

2009-07-15 Thread Peter Tyser
On Wed, 2009-07-15 at 16:35 +0200, Thomas Petazzoni wrote: > Support for the Calao USB A9263 board You can get rid of the line above. It is nearly identical to the patch subject and doesn't add any useful info. > > MAKEALL |1 > Makefile

Re: [U-Boot] [PATCH v2 0/6] Clean up top-level directory structure

2009-07-15 Thread Rafal Jaworowski
Hi Peter, On 2009-07-14, at 17:20, Peter Tyser wrote: > I like the Linux and u-boot-v2 directory layout too the more I think > about it too. How about if I resend this series but with the final > directory structure looking like: > > /arch/$(ARCH)/lib/ > /lib/ > / > /libfdt/ >

Re: [U-Boot] [PATCH] Refresh LZMA-lib to 4.65

2009-07-15 Thread rhabarber1848
Hi, the same boot screen with #define DEBUG > Un-Protecting sectors 8..70 in bank 1 > ... done > Un-Protected 63 sectors > ## Current stack ends at 0x03fa87e8 > * kernel: default image load address = 0x0100 > ## Booting kernel from

[U-Boot] U-Boot doesn't compile for M54455EVB_intel_config

2009-07-15 Thread Matthew Lear
Hi TsiChung / Wolfgang, I just pulled u-boot.git to re-sync and tried to configure and build it for M54455EVB_intel_config but the compilation failed. I tried a fresh clone just to be sure and it was the same. [snip] m68k-linux-gnu-gcc -g -Os -ffixed-d7 -msep-data -D__KERNEL__ -DTEXT_BASE=0x

Re: [U-Boot] [PATCH] Refresh LZMA-lib to 4.65

2009-07-15 Thread rhabarber1848
Luigi 'Comio' Mantellini wrote: > --- > common/cmd_bootm.c |5 +- > include/lzma/LzmaDec.h | 31 + > include/lzma/LzmaDecode.h | 31 - > include/lzma/LzmaTools.h |2 +- > include/lzma/LzmaTypes.h | 15 +- > lib_generic/lzma/LG

Re: [U-Boot] Support for Calao USB A9263 board based on AT91SAM9263 CPU

2009-07-15 Thread Thomas Petazzoni
Support for the Calao USB A9263 board The Calao USB A9263 board is a board manufactured and sold by Calao Systems . Its components are very similar to the AT91SAM9263EK board, so its configuration is based on the configuration of this board. There are however some di

Re: [U-Boot] [PATCH] 85xx: Bump up the BOOTMAP to 16M on FSL 85xx boards

2009-07-15 Thread Peter Tyser
On Wed, 2009-07-15 at 09:02 -0500, Kumar Gala wrote: > We have always mapped at least 16M in the kernel and we have seen cases > with new kernel features that a kernel image needs more than 8M of > memory. It'd be nice to also increase CONFIG_SYS_BOOTM_LEN to 16MB to allow booting of compressed im

[U-Boot] [PATCH] 85xx: Bump up the BOOTMAP to 16M on FSL 85xx boards

2009-07-15 Thread Kumar Gala
We have always mapped at least 16M in the kernel and we have seen cases with new kernel features that a kernel image needs more than 8M of memory. Signed-off-by: Kumar Gala --- include/configs/MPC8536DS.h |4 ++-- include/configs/MPC8540ADS.h |4 ++-- include/configs/MPC8541CDS.h |4

[U-Boot] [PATCH] Add bootstrap command

2009-07-15 Thread Dirk Eibach
This adds a generic command for programming I2C bootstrap eeproms. Implementation for Canyonlands board is included. Signed-off-by: Dirk Eibach --- board/amcc/canyonlands/Makefile|5 +- board/amcc/canyonlands/bootstrap.c | 177 ++-- common/Makefile

[U-Boot] [PATCH V2] ppc4xx: Add 405EP based PMC405DE board

2009-07-15 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs --- MAINTAINERS |1 + MAKEALL |1 + Makefile |3 + board/esd/pmc405de/Makefile | 51 board/esd/pmc405de/config.mk | 23 ++ board/esd/pmc405de/pmc405de.c | 590 ++

Re: [U-Boot] [PATCH v2] ppc4xx: Add GDsys CompactCenter board support.

2009-07-15 Thread Eibach, Dirk
> >> __ft_board_setup() sets the property "ranges", with an entry for > >> every member of EBC_NUM_BANKS. > >> Then the so called "fixup" happens and the property > "ranges" is set > >> again, this time with only one entry (for the nor flash). > All other > >> entries are lost. > >> > >

Re: [U-Boot] [PATCH v2] ppc4xx: Add GDsys CompactCenter board support.

2009-07-15 Thread Felix Radensky
Hi, Stefan Roese wrote: > On Wednesday 15 July 2009 09:28:58 Eibach, Dirk wrote: > >>> Please check the latest version of this code in >>> canyonlands.c. It's now using the 4xx common >>> __ft_board_setup() function. Please move to this version as well. >>> >> This code in canyonlands.c

Re: [U-Boot] [PATCH v2] ppc4xx: Add GDsys CompactCenter board support.

2009-07-15 Thread Stefan Roese
On Wednesday 15 July 2009 09:28:58 Eibach, Dirk wrote: > > Please check the latest version of this code in > > canyonlands.c. It's now using the 4xx common > > __ft_board_setup() function. Please move to this version as well. > > This code in canyonlands.c does not work for me: > > void ft_board_se

Re: [U-Boot] [PATCH v2] ppc4xx: Add GDsys CompactCenter board support.

2009-07-15 Thread Eibach, Dirk
> > diff --git a/board/gdsys/compactcenter/compactcenter.c > > b/board/gdsys/compactcenter/compactcenter.c new file mode > 100644 index > > 000..9f1e49d > > --- /dev/null > > +++ b/board/gdsys/compactcenter/compactcenter.c > > > > > +#if defined(CONFIG_OF_LIBFDT) && > defined(CONFIG_OF