Re: [U-Boot] [PATCH] Add some second source legacy flash chips 256x8

2009-07-22 Thread Wolfgang Denk
Dear Niklaus Giger, In message <1248244909-7085-1-git-send-email-niklaus.gi...@member.fsf.org> you wrote: > Signed-off-by: Niklaus Giger > --- > > We tested some boot flashes as possible second source. > As some had ids above 0x7f, we had to implement JEDEC JEP106Z in cfi_flash.c. Please provi

Re: [U-Boot] arm: pRAM support?

2009-07-22 Thread Wolfgang Denk
Dear Heiko Schocher, In message <4a66a86d.7070...@denx.de> you wrote: > > Andreas Huber wrote: > > We are using the pRAM feature (CONFIG_PRAM) on the PPC architecture. As > > we are switching to an ARM architecture (Kirkwood) I am wondering if > > there is an equivalent U-Boot feature for this (C

Re: [U-Boot] [PATCH] autoconf.mk: include before config.mk for top level files

2009-07-22 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1248231576-26757-1-git-send-email-vap...@gentoo.org> you wrote: > By including autoconf.mk before config.mk, all top level files can use any > config options it sets up (like _config.mk) or the Makefile itself > without being forced to use lazy evaluation. > --- >

Re: [U-Boot] [PATCH][FIXED] zlib: updated to v.1.2.3

2009-07-22 Thread Wolfgang Denk
Dear Mike Frysinger, In message <200907211718.05959.vap...@gentoo.org> you wrote: > > things like "fixed" and "v3" and "resend" should go inside of [patch ...]. > git am will trim [patch ...], but it wont trim the other stuff. and really You are wrong. "git am" will trim _anything_ in brackets,

Re: [U-Boot] [PATCH][FIXED] zlib: updated to v.1.2.3

2009-07-22 Thread Wolfgang Denk
Dear Giuseppe CONDORELLI, In message <1248168763-10042-1-git-send-email-giuseppe.condore...@st.com> you wrote: > This patch updates zlib to the latest stable version. > Only relevant zlib parts were ported to u-boot tree, as already did for the > current zlib (0.95). New zlib guarantees a faster

Re: [U-Boot] [PATCH 2/3] tools: mkimage (type=kwbimage) kirkwood boot image support

2009-07-22 Thread Prafulla Wadaskar
> -Original Message- > From: Wolfgang Denk [mailto:w...@denx.de] > Sent: Monday, July 20, 2009 8:27 PM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Manas Saksena; Ronen Shitrit; > Nicolas Pitre; Ashish Karkare; Prabhanjan Sarnaik; Lennert Buijtenhek > Subject: Re: [U-Boot] [PATC

Re: [U-Boot] [PATCH][FIXED] zlib: updated to v.1.2.3

2009-07-22 Thread Wolfgang Denk
Dear Giuseppe CONDORELLI, In message <1248168763-10042-1-git-send-email-giuseppe.condore...@st.com> you wrote: > This patch updates zlib to the latest stable version. > Only relevant zlib parts were ported to u-boot tree, as already did for the > current zlib (0.95). New zlib guarantees a faster

Re: [U-Boot] How to start U-Boot for i.MX31 NAND out of RedBoot (out of RAM)

2009-07-22 Thread Ulrich Gerster
Hello Magnus Lilja 14.07.09 19.43 Uhr >>> > Hi 2009/7/14 Ulrich Gerster : >> Hello. >> > Magnus Lilja 14.07.09 16.03 Uhr >>> >> I used the patch from you out of this posting: [U-Boot-Users] [PATCH RFC 3/5] i.MX31: Add i.MX31 NAND Flash Controller driver. http:/

Re: [U-Boot] [PATCH] autoconf.mk: include before config.mk for top level files

2009-07-22 Thread Mike Frysinger
On Wednesday 22 July 2009 03:12:07 Wolfgang Denk wrote: > Mike Frysinger wrote: > > By including autoconf.mk before config.mk, all top level files can use > > any config options it sets up (like _config.mk) or the Makefile > > itself without being forced to use lazy evaluation. > > --- > > Makefil

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

2009-07-22 Thread Wolfgang Denk
Dear Matthias Fuchs, In message <12481717431327-git-send-email-matthias.fu...@esd.eu> you wrote: > patch v2: > - coding style cleanup > - added CONFIG_PHY1_ADDR > patch v3: > - refactor PLL reconfiguration code > - beautify some one-line-functions > patch v4: > - remo

Re: [U-Boot] [PATCH] ppc4xx: Fix EEPROM configuration on Kilauea

2009-07-22 Thread Wolfgang Denk
Dear Stefan Roese, In message <1248182100-15318-1-git-send-email...@denx.de> you wrote: > Kilauea has an AT24C02 EEPROM which has an 8 byte page. Without defining > CONFIG_SYS_EEPROM_PAGE_WRITE_BITS to 3 the "eeprom" command doesn't > work correctly. > > Signed-off-by: Stefan Roese > --- > incl

Re: [U-Boot] [PATCH][FIXED] zlib: updated to v.1.2.3

2009-07-22 Thread Mike Frysinger
On Wednesday 22 July 2009 03:17:27 Wolfgang Denk wrote: > Mike Frysinger wrote: > > things like "fixed" and "v3" and "resend" should go inside of [patch > > ...]. git am will trim [patch ...], but it wont trim the other stuff. > > and really > > You are wrong. "git am" will trim _anything_ in brac

Re: [U-Boot] [PATCH] Support for the Calao TNY-A9260 board

2009-07-22 Thread Wolfgang Denk
Dear Albin Tonnerre, In message <20090721180214.ga6...@pc-ras4041.res.insa> you wrote: > > > > +++ b/include/configs/tny_a9260.h > > ... > > > +#define ROUND(A, B) (((A) + (B)) & ~((B) - 1)) > > > > Please do not redefine. > > > > Don't you get a warning message at least? > > ROUN

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

2009-07-22 Thread Stefan Roese
Hi Wolfgang, On Wednesday 22 July 2009 09:26:09 Wolfgang Denk wrote: > > +struct ppc4xx_config ppc4xx_config_val[] = { > > + > > + { "133", "CPU: 133 PLB: 133 OPB: 66 EBC: 44 PCI: 44/66", > > + { 0x19, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, > > + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

Re: [U-Boot] [PATCH] ppc4xx: Fix EEPROM configuration on Kilauea

2009-07-22 Thread Stefan Roese
On Wednesday 22 July 2009 09:27:45 Wolfgang Denk wrote: > > -#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 6 /* 24C02 > > requires 5ms > > delay */ #define CONFIG_SYS_I2C_EEPROM_ADDR 0x52/* I2C boot EEPROM > > (24C02BN) */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 /* >

Re: [U-Boot] [PATCH] Refresh LZMA-lib to v4.65

2009-07-22 Thread Wolfgang Denk
Dear Luigi 'Comio' Mantellini, In message <1248165949-5845-2-git-send-email-luigi.mantellini...@gmail.com> you wrote: > --===0963718385== > > From: Luigi 'Comio' Mantellini > > > Signed-off-by: Luigi 'Comio' Mantellini > --- > common/cmd_bootm.c |5 +- > incl

Re: [U-Boot] [PATCH] Add some second source legacy flash chips 256x8

2009-07-22 Thread Stefan Roese
On Wednesday 22 July 2009 08:41:49 Niklaus Giger wrote: > Signed-off-by: Niklaus Giger Apart from Wolfgang's comments, please find some minor coding style comments below. > We tested some boot flashes as possible second source. > As some had ids above 0x7f, we had to implement JEDEC JEP106Z in

Re: [U-Boot] Rejected: PATCH Nios2 kernel bootstrap error due to missing processor data cache flush: fix

2009-07-22 Thread Renato Andreola
Ok, please update the file with the correct bug fix with no more copyright. My intent is only to fix the bug that caused random boot failures and to keep free the good work on Nios2. I was warried about that the official main UBoot distribution contained a bug that has a big impact on the abilit

[U-Boot] [PATCH] Using I/O accessor instead of volatile pointers in SMC911x driver

2009-07-22 Thread Matthias Weisser
Volatile pointer usage caused lockup with arm-gcc 4.3.2 Using I/O accessor fixed that. Signed-off-by: Matthias Weisser --- drivers/net/smc911x.h | 17 +++-- 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/drivers/net/smc911x.h b/drivers/net/smc911x.h index 80d2ce0..

Re: [U-Boot] [PATCH] Support for the Calao TNY-A9260 board

2009-07-22 Thread Albin Tonnerre
Hi Wolfgang, On Wed, Jul 22, 2009 at 09:33:15AM +0200, Wolfgang Denk wrote : > Please check again; this patch was posted last Friday: > http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/64071 I'm not sure how to use this patch. Including from include/configs/tny_a9260.h makes the compile fa

Re: [U-Boot] Problem booting Linux from Flash

2009-07-22 Thread Rahanesh
Hi Wolfgang Denk, Thanks a lot for your reply. Actually problem started when i added few utilities in flash. I ll explain the scenario. I had a working jffs image with bin , boot, scripts as directories in it. uImage(Linux kernel image ) was contained in boot folder. For my application i had

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

2009-07-22 Thread Matthias Fuchs
On Wednesday 22 July 2009 09:36, Stefan Roese wrote: > Hi Wolfgang, > > On Wednesday 22 July 2009 09:26:09 Wolfgang Denk wrote: > > > +struct ppc4xx_config ppc4xx_config_val[] = { > > > + > > > + { "133", "CPU: 133 PLB: 133 OPB: 66 EBC: 44 PCI: 44/66", > > > + { 0x19, 0x00, 0x00, 0x00, 0x00, 0x0

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

2009-07-22 Thread Stefan Roese
On Wednesday 22 July 2009 10:23:11 Matthias Fuchs wrote: > > > Indentation by TAB , please. > > > > I don't see a problem here. The code is aligned to the lines above via > > spaces (< 8 spaces). Example: > > > > { 0x19, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, > > 0x00, 0x00, 0x00,

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

2009-07-22 Thread Matthias Fuchs
On Wednesday 22 July 2009 09:26, Wolfgang Denk wrote: > Dear Matthias Fuchs, > > In message <12481717431327-git-send-email-matthias.fu...@esd.eu> you wrote: > > patch v2: > > - coding style cleanup > > - added CONFIG_PHY1_ADDR > > patch v3: > > - refactor PLL reconfiguration code > >

Re: [U-Boot] [PATCH] Using I/O accessor instead of volatile pointers in SMC911x driver

2009-07-22 Thread Mike Frysinger
On Wednesday 22 July 2009 04:14:33 Matthias Weisser wrote: > static inline u32 smc911x_reg_read(u32 addr) > { > - volatile u16 *addr_16 = (u16 *)addr; > - return ((*addr_16 & 0x) | (*(addr_16 + 1) << 16)); > + u32 res; > + > + res = readw(addr) & 0x; > + res |= ((u

Re: [U-Boot] [PATCH v2 2/4] tools: mkimage (type=kwbimage) kirkwood boot image support

2009-07-22 Thread Wolfgang Denk
Dear Prafulla Wadaskar, In message <1248215857-11006-2-git-send-email-prafu...@marvell.com> you wrote: > For more details refer docs/README.kwbimage > > Signed-off-by: Prafulla Wadaskar > +enum kwbimage_cmd kwbimage_check_cfgcmd(char *token, > + struct kwb_header *kw

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

2009-07-22 Thread Stefan Roese
On Wednesday 22 July 2009 10:24:33 Matthias Fuchs wrote: > On Wednesday 22 July 2009 09:26, Wolfgang Denk wrote: > > Dear Matthias Fuchs, > > > > In message <12481717431327-git-send-email-matthias.fu...@esd.eu> you wrote: > > > patch v2: > > > - coding style cleanup > > > - added CONFIG_PHY1_A

[U-Boot] [PATCH v2] ppc4xx: Fix EEPROM configuration on Kilauea

2009-07-22 Thread Stefan Roese
Kilauea has an AT24C02 EEPROM which has an 8 byte page. Without defining CONFIG_SYS_EEPROM_PAGE_WRITE_BITS to 3 the "eeprom" command doesn't work correctly. Additionally the page write delay (CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS) is set to a more defensive value of 10ms. Signed-off-by: Stefan Ro

Re: [U-Boot] Kernel RSA signature ?

2009-07-22 Thread Cyrille Francois
Dear Wolfgang Denk, Thanks for this information. But this feature is used to check the kernel integrity. My need is to authenticate the kernel image by the u-boot, to be sure that the kernel image is a official firmware. That is why i'm thinking about RSA signature. The goal is, at generation t

Re: [U-Boot] [PATCH v2 1/4] tools: mkimage: hdr_size used to facilitate customized support

2009-07-22 Thread Wolfgang Denk
Dear Prafulla Wadaskar, In message <1248201062-30319-1-git-send-email-prafu...@marvell.com> you wrote: > hdr_size variable is initialized > at the begining of image creation algorithm instead of reading it each time. > This facilitate to use the common code for other image type implementations > f

Re: [U-Boot] [PATCH v3 2/4] tools: mkimage (type=kwbimage) kirkwood boot image support

2009-07-22 Thread Wolfgang Denk
Dear Prafulla Wadaskar, In message <1248219669-3946-1-git-send-email-prafu...@marvell.com> you wrote: > For more details refer docs/README.kwbimage > > Signed-off-by: Prafulla Wadaskar > --- > Change log: > v2: strtok_r() used for simple parser algorithm > updated as per feedback for v1 > all li

Re: [U-Boot] [PATCH v2 3/4] tools: mkimage: kwbimage list command support

2009-07-22 Thread Wolfgang Denk
Dear Prafulla Wadaskar, In message <1248220911-11378-1-git-send-email-prafu...@marvell.com> you wrote: > Signed-off-by: Prafulla Wadaskar ... > --- a/common/image.c > +++ b/common/image.c > @@ -159,7 +159,7 @@ static table_entry_t uimage_comp[] = { > > uint32_t crc32 (uint32_t, const unsigned

Re: [U-Boot] [PATCH v2 2/4] tools: mkimage (type=kwbimage) kirkwood boot image support

2009-07-22 Thread Prafulla Wadaskar
> -Original Message- > From: Wolfgang Denk [mailto:w...@denx.de] > Sent: Wednesday, July 22, 2009 2:06 PM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Ashish Karkare; Prabhanjan Sarnaik > Subject: Re: [U-Boot] [PATCH v2 2/4] tools: mkimage > (type=kwbimage) kirkwood boot image s

Re: [U-Boot] [PATCH] mpc83xx: Add esd VME8349 board support

2009-07-22 Thread Wolfgang Denk
Dear Stefan Roese, In message <200907211138.31711...@denx.de> you wrote: ... > > > +typedef struct { > > > + uint32_t cmd; > > > + uint32_t issue; > > > + uint32_t addr; > > > + uint32_t par[5]; > > > +} CADDY_CMD; > > > + > > > +typedef struct { > > > + uint32_t answer; > > > + uint32_t issue; >

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

2009-07-22 Thread Wolfgang Denk
Dear Stefan Roese, In message <200907220936.55822...@denx.de> you wrote: > Hi Wolfgang, > > On Wednesday 22 July 2009 09:26:09 Wolfgang Denk wrote: > > > +struct ppc4xx_config ppc4xx_config_val[] = { > > > + > > > + { "133", "CPU: 133 PLB: 133 OPB: 66 EBC: 44 PCI: 44/66", > > > + { 0x19, 0x00,

Re: [U-Boot] [PATCH] ppc4xx: Fix EEPROM configuration on Kilauea

2009-07-22 Thread Wolfgang Denk
Dear Stefan Roese, In message <200907220944.50403...@denx.de> you wrote: > > > > The commit message does not mention the increased write delay. Is htis > > really needed? The (removed) comment says 5ms should be sufficient? > > 10ms is also used on many other AMCC eval boards. It's more defensive

Re: [U-Boot] Rejected: PATCH Nios2 kernel bootstrap error due to missing processor data cache flush: fix

2009-07-22 Thread Wolfgang Denk
Dear Renato Andreola, In message <4a66c746.4050...@imagos.it> you wrote: > Ok, please update the file with the correct bug fix with no more copyright. > My intent is only to fix the bug that caused random boot failures and to > keep free the good work on Nios2. Please re-submit a cleaned up patc

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

2009-07-22 Thread Stefan Roese
On Wednesday 22 July 2009 11:41:45 Wolfgang Denk wrote: > > > Indentation by TAB , please. > > > > I don't see a problem here. The code is aligned to the lines above via > > spaces (< 8 spaces). Example: > > The braces should be indented by TABs. > > > { 0x19, 0x00, 0x00, 0x00, 0x00, 0x00, 0x

Re: [U-Boot] [PATCH] Support for the Calao TNY-A9260 board

2009-07-22 Thread Wolfgang Denk
Dear Albin Tonnerre, In message <20090722081651.ga13...@pc-ras4041.res.insa> you wrote: > > On Wed, Jul 22, 2009 at 09:33:15AM +0200, Wolfgang Denk wrote : > > Please check again; this patch was posted last Friday: > > http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/64071 > > I'm not sure

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

2009-07-22 Thread Wolfgang Denk
Dear Matthias Fuchs, In message <200907221024.33607.matthias.fu...@esd.eu> you wrote: > On Wednesday 22 July 2009 09:26, Wolfgang Denk wrote: > > Dear Matthias Fuchs, > > > > In message <12481717431327-git-send-email-matthias.fu...@esd.eu> you wrote: > > > patch v2: > > > - coding style cleanup

Re: [U-Boot] [PATCH v2 3/4] tools: mkimage: kwbimage list command support

2009-07-22 Thread Prafulla Wadaskar
> -Original Message- > From: Wolfgang Denk [mailto:w...@denx.de] > Sent: Wednesday, July 22, 2009 2:55 PM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Ashish Karkare; Prabhanjan Sarnaik > Subject: Re: [U-Boot] [PATCH v2 3/4] tools: mkimage: kwbimage > list command support > > D

Re: [U-Boot] [PATCH 1/2] Removed CONFIG_NUM_CPUS for 85xx and 86xxFreescale processors.

2009-07-22 Thread Aggrwal Poonam-B10812
> > ... > > +#ifndef CONFIG_MP > > + if (cpu_numcores() > 1) > > + puts("#\n" > > + "The system is detected to be MULTICORE,\n" > > + "but u-boot is built with UNI-CORE\n" > > + "To en

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

2009-07-22 Thread Matthias Fuchs
Dear Wolfgang, On Wednesday 22 July 2009 11:41, Wolfgang Denk wrote: > Dear Stefan Roese, > > In message <200907220936.55822...@denx.de> you wrote: > > Hi Wolfgang, > > > > On Wednesday 22 July 2009 09:26:09 Wolfgang Denk wrote: > > > > +struct ppc4xx_config ppc4xx_config_val[] = { > > > > + > >

Re: [U-Boot] [PATCH v2 1/4] tools: mkimage: hdr_size used to facilitate customized support

2009-07-22 Thread Prafulla Wadaskar
> -Original Message- > From: Wolfgang Denk [mailto:w...@denx.de] > Sent: Wednesday, July 22, 2009 2:48 PM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Ashish Karkare > Subject: Re: [U-Boot] [PATCH v2 1/4] tools: mkimage: hdr_size > used to facilitate customized support > > > I

[U-Boot] [PATCH] add WATCHDOG_RESET to allow LZMA kernel decompression on slow machines

2009-07-22 Thread rhabarber1848
Signed-off-by: rhabarber1848 --- lib_generic/lzma/LzmaDec.c | 26 ++ lib_generic/lzma/LzmaTools.c |4 2 files changed, 30 insertions(+), 0 deletions(-) diff --git a/lib_generic/lzma/LzmaDec.c b/lib_generic/lzma/LzmaDec.c index 89d934a..acffb14 100644 --- a/

Re: [U-Boot] Kernel RSA signature ?

2009-07-22 Thread Wolfgang Denk
Dear Cyrille Francois, In message <61acdef60907220154q67c37cfen5e95aa18170af...@mail.gmail.com> you wrote: > > Thanks for this information. > But this feature is used to check the kernel integrity. > > My need is to authenticate the kernel image by the u-boot, to be sure > that the kernel image

Re: [U-Boot] [PATCH] Refresh LZMA-lib to v4.65

2009-07-22 Thread Luigi 'Comio' Mantellini
thanks > Dear Luigi 'Comio' Mantellini, > > In message > <1248165949-5845-2-git-send-email-luigi.mantellini...@gmail.com> > you wrote: >> --===0963718385== >> >> From: Luigi 'Comio' Mantellini >> >> >> Signed-off-by: Luigi 'Comio' Mantellini >> >> --- >> common/cmd_bootm.c

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

2009-07-22 Thread Wolfgang Denk
Dear Stefan Roese, In message <200907221147.25539...@denx.de> you wrote: > > > Indentation is not done by TABs, but by TABs + spaces, and this is > > wrong. > > Why should this be wrong? This alignment looks better IMHO. Please allow the > developers a little bit of freedom. "Documentation/Codi

Re: [U-Boot] [PATCH v2 3/4] tools: mkimage: kwbimage list command support

2009-07-22 Thread Wolfgang Denk
Dear Prafulla Wadaskar, In message <73173d32e9439e4abb5151606c3e19e202ddf27...@sc-vexch1.marvell.com> you wrote: > > > When exporting this function, then please add prototype to > > header file. > I have followed function crc32, I will do it. Ah, I see. > Shall I do it for crc32 and other fu

Re: [U-Boot] [PATCH 2/2] P2020RDB Platform Support Added

2009-07-22 Thread Aggrwal Poonam-B10812
> -Original Message- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Wolfgang Denk > Sent: Tuesday, July 21, 2009 6:56 PM > To: Aggrwal Poonam-B10812 > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH 2/2] P2020RDB Platform Support Added

Re: [U-Boot] Rejected: PATCH Nios2 kernel bootstrap error due to missing processor data cache flush: fix

2009-07-22 Thread Wolfgang Wegner
Dear Scott, Wolfgang, On Tue, Jul 21, 2009 at 02:02:43PM -0400, Scott McNutt wrote: > ... for a two line bug fix? > > This is hardly a valid reason to claim copyright on the module. > > This practice will only discourage the contribution of original work > to the project. Nobody wants to have th

Re: [U-Boot] [PATCH 2/2] P2020RDB Platform Support Added

2009-07-22 Thread Wolfgang Denk
Dear "Aggrwal Poonam-B10812", In message <1bd5cfc378ed0946b688e0c9ba2ef095129...@zin33exm24.fsl.freescale.net> you wrote: > ... > > > + val = pgpio->gpdat; > > > + temp = val & BOARDREV_MASK; > > > + if (temp == BOARDREV_C) > > > + board_rev = 'C'; > > > + else if (temp == BOARDREV_B) >

Re: [U-Boot] Rejected: PATCH Nios2 kernel bootstrap error due to missing processor data cache flush: fix

2009-07-22 Thread Wolfgang Denk
Dear Wolfgang Wegner, In message <20090722094127.gv20...@leila.ping.de> you wrote: > > So you really think your practice will encourage anybody to submit a > clean patch for a bug he spent days (or weeks) to find? That's how the public review process works: You submit a patch, and it either gets

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

2009-07-22 Thread Stefan Roese
On Wednesday 22 July 2009 12:34:44 Wolfgang Denk wrote: > > > Indentation is not done by TABs, but by TABs + spaces, and this is > > > wrong. > > > > Why should this be wrong? This alignment looks better IMHO. Please allow > > the developers a little bit of freedom. > > "Documentation/CodingStyle":

Re: [U-Boot] [PATCH] Support for the Calao TNY-A9260 board

2009-07-22 Thread Albin Tonnerre
Hi Wolfgang, On Wed, Jul 22, 2009 at 11:47:36AM +0200, Wolfgang Denk wrote : > Just rebase your tree against current mainline. Ah, it's in git now, thanks. > > include/configs/tny_a9260.h makes the compile fail. Am I overlooking > > something > > here ? > > You should not have to include ; it'

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

2009-07-22 Thread Wolfgang Denk
Dear Matthias Fuchs, In message <200907221214.25935.matthias.fu...@esd.eu> you wrote: > > > The braces should be indented by TABs. > Can you please post a suggestion you you would like to this these > lines indented. When I try to replace the spaces by TABs, the code > looks very ugly and unreada

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

2009-07-22 Thread Wolfgang Denk
Dear Stefan Roese, In message <200907221257.30824...@denx.de> you wrote: > > Fuck Ack. But: This has nothing to do with the problem we are discussing > here. > I was talking about alignment and not indentation. Do you want to forbid > people use alignment at all? Please do me (and yourself, an

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

2009-07-22 Thread Stefan Roese
On Wednesday 22 July 2009 13:05:56 Wolfgang Denk wrote: > I don't understand what's so difficult about it; just indent by TABs: > > struct ppc4xx_config ppc4xx_config_val[] = { > { > "133", > "CPU: 133 PLB: 133 OPB: 66 EBC: 44 PCI: 44/66", > { >

Re: [U-Boot] [PATCH] Support for the Calao TNY-A9260 board

2009-07-22 Thread Wolfgang Denk
Dear Albin Tonnerre, In message <20090722110303.gc13...@pc-ras4041.res.insa> you wrote: > > > You should not have to include ; it's already included > > virtually everywhere. > > cpu/arm926ejs/start.S includes directly , which in turns includes > the > config file, but nowhere is common.h includ

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

2009-07-22 Thread Wolfgang Denk
Dear Stefan Roese, In message <200907221312.17644...@denx.de> you wrote: > > Your version is 10 lines long, ours is 5. That twice as long. I still prefer > our version and think this kind of personal freedom should be allowed. Nobody attempts to restrict yoru thoughts or preferences. But you wa

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

2009-07-22 Thread Stefan Roese
On Wednesday 22 July 2009 13:08:30 Wolfgang Denk wrote: > Please do me (and yourself, and us all) a favour and just read the > rules, and then follow them, instead of wasting our all time. I'm pretty sure that I'm doing at least some developers a favour, in discussing this issue. It's annoying no

Re: [U-Boot] [PATCH 1/2] Removed CONFIG_NUM_CPUS for 85xx and86xxFreescale processors.

2009-07-22 Thread Aggrwal Poonam-B10812
> -Original Message- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Aggrwal > Poonam-B10812 > Sent: Wednesday, July 22, 2009 3:45 PM > To: Wolfgang Denk; Gala Kumar-B11780 > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH 1/2] Removed

[U-Boot] [PATCH] Support up to 7 banks for ids as specified in JEDEC JEP106Z. see http://www.jedec.org/download/search/jep106Z.pdf Add some second source legacy flash chips 256x8.

2009-07-22 Thread Niklaus Giger
Signed-off-by: Niklaus Giger --- drivers/mtd/cfi_flash.c | 15 +- drivers/mtd/jedec_flash.c | 67 + include/flash.h | 10 ++- 3 files changed, 89 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers

Re: [U-Boot] Rejected: PATCH Nios2 kernel bootstrap error due to missing processor data cache flush: fix

2009-07-22 Thread Wolfgang Wegner
Dear Wolfgang, On Wed, Jul 22, 2009 at 12:56:52PM +0200, Wolfgang Denk wrote: [...] > If you don't do that, then either somebody else will clean up your > patch and commit it and earn the credits for your work, or nobody will > care and the problem remains, which means your work was basicly > wast

Re: [U-Boot] [PATCH] Support up to 7 banks for ids as specified in JEDEC JEP106Z. see http://www.jedec.org/download/search/jep106Z.pdf Add some second source legacy flash chips 256x8.

2009-07-22 Thread Stefan Roese
Hi Niklaus, now you've got a very looong subject. Please split this into a shorter subject and put the rest in the commit text. Thanks. Best regards, Stefan = DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zund

Re: [U-Boot] [PATCH v2 3/4] tools: mkimage: kwbimage list command support

2009-07-22 Thread Prafulla Wadaskar
> -Original Message- > From: Wolfgang Denk [mailto:w...@denx.de] > Sent: Wednesday, July 22, 2009 4:11 PM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Ashish Karkare; Prabhanjan Sarnaik > Subject: Re: [U-Boot] [PATCH v2 3/4] tools: mkimage: kwbimage > list command support > > >

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

2009-07-22 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs --- patch v2: - coding style cleanup - added CONFIG_PHY1_ADDR patch v3: - refactor PLL reconfiguration code - beautify some one-line-functions patch v4: - remove 'sbe' command - add CONFIG_CMD_CHIP_CONFIG support

[U-Boot] [PATCH:v2] Support up to 7 banks for ids as specified in JEDEC JEP106Z

2009-07-22 Thread Niklaus Giger
see http://www.jedec.org/download/search/jep106Z.pdf Add some second source legacy flash chips 256x8. Signed-off-by: Niklaus Giger --- drivers/mtd/cfi_flash.c | 15 +- drivers/mtd/jedec_flash.c | 67 + include/flash.h | 10

Re: [U-Boot] Kernel RSA signature ?

2009-07-22 Thread Cyrille Francois
Tivoize : no. My interest is the security part, I want a secure boot for remotely upgrade my firmware. Thanks Cyrille ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH:v2] Support up to 7 banks for ids as specified in JEDEC JEP106Z

2009-07-22 Thread Stefan Roese
On Wednesday 22 July 2009 14:03:04 Niklaus Giger wrote: > see http://www.jedec.org/download/search/jep106Z.pdf > Add some second source legacy flash chips 256x8. Please add an empty line here. > Signed-off-by: Niklaus Giger And still some more white space cleanup comments below (sorry, I didn't

Re: [U-Boot] http client?

2009-07-22 Thread Robin Getz
On Tue 21 Jul 2009 17:09, Wolfgang Denk pondered: > Dear Robin Getz, > > In message <200907211400.21275.rg...@blackfin.uclinux.org> you wrote: > > > > > I know there have been discussions about adding wget to U-Boot, > > > which I agree is not something that is worthwhile to do. > > I am not so

Re: [U-Boot] arm: pRAM support?

2009-07-22 Thread Holger brunck
Dear Wolfgang Denk, > Dear Heiko Schocher, > > In message <4a66a86d.7070...@denx.de> you wrote: >> Andreas Huber wrote: >>> We are using the pRAM feature (CONFIG_PRAM) on the PPC architecture. As >>> we are switching to an ARM architecture (Kirkwood) I am wondering if >>> there is an equivalent U

[U-Boot] [PATCH v3] 86xx: Report which "bank" of NOR flash we are booting from on MPC8641HPCN

2009-07-22 Thread Kumar Gala
The MPC8641HPCN board is capable of swizzling the upper address bit of the NOR flash we boot out of which creates the concept of "virtual" banks. This is useful in that we can flash a test of image of u-boot and reset to one of the virtual banks while still maintaining a working image in "bank 0".

Re: [U-Boot] http client?

2009-07-22 Thread jeffery palmer
her suggestions were - use lwip. -Robin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot __ NOD32 4266 (20090722) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com

[U-Boot] [PATCH v2] 85xx: Report which "bank" of NOR flash we are booting from on FSL boards

2009-07-22 Thread Kumar Gala
The p2020DS, MPC8536DS, MPC8572DS, MPC8544DS boards are capable of swizzling the upper address bits of the NOR flash we boot out of which creates the concept of "virtual" banks. This is useful in that we can flash a test of image of u-boot and reset to one of the virtual banks while still maintain

Re: [U-Boot] Rejected: PATCH Nios2 kernel bootstrap error due to missing processor data cache flush: fix

2009-07-22 Thread Wolfgang Denk
Dear Wolfgang Wegner, In message <20090722103358.gw20...@leila.ping.de> you wrote: > > > Um... and instead of maintaining several private source trees you > > should consider poushing your code upstream, so that others do the > > maintenance for you. > > The intention is to do so with my next pr

Re: [U-Boot] Kernel RSA signature ?

2009-07-22 Thread Wolfgang Denk
Dear Cyrille Francois, In message <61acdef60907220506s6d203bbfvea7bfc0420003...@mail.gmail.com> you wrote: > Tivoize : no. > > My interest is the security part, I want a secure boot for remotely > upgrade my firmware. Verifying the SHA1 checksum of the loaded image should be sufficient, no? Be

Re: [U-Boot] http client?

2009-07-22 Thread Wolfgang Denk
Dear Robin Getz, In message <200907220826.58333.rg...@blackfin.uclinux.org> you wrote: > > > Well, you are aware that such a thing would need a TCP/IP stack, which > > is far beyond what we currently have in U-Boot support? > > Yes - I'm aware. My thoughts were to do something like what IBM and o

[U-Boot] Ask: How speed up read nand flash on lpc3250

2009-07-22 Thread xbl1986
CPU:LPC3250. Nand:K9F2G8U0A 256M the u-boot boot time now about 8s. the step to read linux kernel less 2M cost more or less 4s!! I want to make it faster~,but don't know how to. I try to change the memcpy function.but it's works not very well. so i want to via the maillist to find some help. thank

Re: [U-Boot] [PATCH 1/2] Removed CONFIG_NUM_CPUS for 85xx and 86xxFreescale processors.

2009-07-22 Thread Kumar Gala
On Jul 22, 2009, at 5:14 AM, Aggrwal Poonam-B10812 wrote: >> >> ... >>> --- a/cpu/mpc86xx/cpu.c >>> +++ b/cpu/mpc86xx/cpu.c >> ... >>> +int probecpu (void) >>> +{ >>> + uint svr; >>> + uint ver; >>> + >>> + svr = get_svr(); >>> + ver = SVR_SOC_VER(svr); >>> + >>> + gd->cpu = identify_cp

[U-Boot] [PATCH:v3] Support up to 7 banks for ids as specified in JEDEC JEP106Z

2009-07-22 Thread Niklaus Giger
see http://www.jedec.org/download/search/jep106Z.pdf Add some second source legacy flash chips 256x8. Signed-off-by: Niklaus Giger --- drivers/mtd/cfi_flash.c | 15 +- drivers/mtd/jedec_flash.c | 67 + include/flash.h | 10 +++

Re: [U-Boot] arm: pRAM support?

2009-07-22 Thread Wolfgang Denk
Dear Holger, In message <4a671863.9040...@keymile.com> you wrote: > > > Well, if you want to do it Right (TM) that means we would take this > > chance and fix the ARM memory map, which implies to implement > > relocation to a dynamicalle detemined relocation address. > > > can you explain this a

[U-Boot] [PATCH] 85xx/86xx: Replace in8/out8 with in_8/out_8 on FSL boards

2009-07-22 Thread Kumar Gala
The pixis code used in8/out8 all over the place. Replace it with in_8/out_8 macros. Signed-off-by: Kumar Gala --- board/freescale/common/pixis.c| 78 ++--- board/freescale/mpc8536ds/mpc8536ds.c | 22 +--- board/freescale/mpc8544ds/mpc8544ds.c

Re: [U-Boot] http client?

2009-07-22 Thread Wolfgang Denk
Dear "jeffery palmer", In message you wrote: > > We are looking for an http client now as well. Our major issue revolves > around the download times for tftp. HTTP will probably not be much faster. Did you try using NFS? > Our units automically update themselves inside of uboot giving us the

[U-Boot] include/asm-ppc/immap_86xx.h

2009-07-22 Thread David Updegraff
Hi. I think there is a small offset bug in here.. unless there is an errata that I have missed there should be no pad between srds1cr0,1. Anyone know for sure? --- a/include/asm-ppc/immap_86xx.h +++ b/include/asm-ppc/immap_86xx.h @@ -1240,7 +1240,7 @@ typedef struct ccsr_gur { uint

Re: [U-Boot] http client?

2009-07-22 Thread Alessandro Rubini
> Hm... but 20 minutes versus 30 seconds cannot be explained by TFTP > versus HTTP alone. There must be other effects impacting your network > traffic. Did you run any deeper analysis? I'm sure it depends on network delays. TCP has the sliding window mechanism, so several packets can be in flight

Re: [U-Boot] include/asm-ppc/immap_86xx.h

2009-07-22 Thread Kumar Gala
On Jul 22, 2009, at 10:16 AM, David Updegraff wrote: > Hi. > > I think there is a small offset bug in here.. unless there is an > errata > that I have missed there should be no pad between srds1cr0,1. Anyone > know for sure? > > > --- a/include/asm-ppc/immap_86xx.h > +++ b/include/asm-ppc/imma

[U-Boot] [PATCH] ppc4xx: Replace 4xx lowercase SPR references

2009-07-22 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs --- This patch replaces my patch from yesterday titled [PATCH V2] ppc4xx: use SPRN_TCR macro instead of tcr board/esd/pmc440/pmc440.c |2 +- board/mpl/mip405/mip405.c |2 +- board/mpl/pip405/pip405.c |2 +- board/netstal/hcu5/hcu5.c |

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

2009-07-22 Thread Thomas Petazzoni
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 differences: different clocks, no LCD, etc

Re: [U-Boot] [PATCH 1/2] xes: Increase CONFIG_SYS_BOOTM_LEN to 16MB

2009-07-22 Thread Kumar Gala
On Jul 21, 2009, at 1:51 PM, Peter Tyser wrote: > Increasing CONFIG_SYS_BOOTM_LEN from 8 MB to 16 MB is necessary to > support uncompressing images larger than 8 MB when using the bootm > command. > > Note that recent Linux kernels for the 85xx and 86xx map greater than > 16MB of memory on bootup

Re: [U-Boot] [PATCH 2/2] xpedite5370: Enable NAND command support

2009-07-22 Thread Kumar Gala
On Jul 21, 2009, at 1:51 PM, Peter Tyser wrote: > Use the MPC8572's eLBC to access 1 GB (or greater) onboard NAND flash > via the 'nand' command. > > Previously, the XPedite5370's NAND chip selects were properly > configured, but NAND support was not enabled. > > Signed-off-by: Peter Tyser > ---

Re: [U-Boot] [PATCH] ppc4xx: Replace 4xx lowercase SPR references

2009-07-22 Thread Wolfgang Denk
Dear Matthias Fuchs, In message <200907221727.56402.matthias.fu...@esd.eu> you wrote: > Signed-off-by: Matthias Fuchs ... > board/esd/pmc440/pmc440.c |2 +- > board/mpl/mip405/mip405.c |2 +- > board/mpl/pip405/pip405.c |2 +- > board/netstal/hcu5/hcu5.c |8 +- > board/ne

Re: [U-Boot] [PATCH] 85xx: Fix mapping of 0xfffffxxx when CONFIG_MP

2009-07-22 Thread Peter Tyser
Hi Kumar, > > >> I understand what the patch does. It just removes the capability of > > >> soft-resetting a core back into the boot translation code. I > > >> understand your problem I'm just not keen on solving it by completely > > >> disabling boot translation. > > >> > > >> We had a similar

[U-Boot] [PATCH v2] Use do_div from div64.h for vsprintf

2009-07-22 Thread Dirk Behme
Use do_div from div64.h for vsprintf in case of 64bit division. For 32bit division, do_div from div64.h can't be used as it needs a 64bit parameter. Signed-off-by: Dirk Behme CC: Simon Kagstrom --- This patch replaces first version http://lists.denx.de/pipermail/u-boot/2009-July/055599.html d

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

2009-07-22 Thread Peter Tyser
Hi Thomas, Just a note, but its nice when you resend patches to include the string [PATCH vX] where X=2, 3, etc. That way whoever applies your patch can tell which email contains the latest iteration of it. > This new version includes the following changes : > > * Copyright header on config.mk

Re: [U-Boot] http client?

2009-07-22 Thread jeffery palmer
The ACK delays are exactly what cause the extremely long download times. There are approx 16,000 ACK cycles for my 8MB image on a 512K blksize. I upped this to 1432 to stay under the MTU which cut the ACK cycles by three, but still, on a 180ms round trip time the math is simple. 8MB/1432bytes=5580

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

2009-07-22 Thread Thomas Petazzoni
Hi, Le Wed, 22 Jul 2009 10:57:09 -0500, Peter Tyser a écrit : > Hi Thomas, > > Just a note, but its nice when you resend patches to include the > string [PATCH vX] where X=2, 3, etc. That way whoever applies your > patch can tell which email contains the latest iteration of it. Ok. > That's

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

2009-07-22 Thread Albin Tonnerre
On Wed, Jul 22, 2009 at 10:57:09AM -0500, Peter Tyser wrote : > Hi Thomas, > > Just a note, but its nice when you resend patches to include the string > [PATCH vX] where X=2, 3, etc. That way whoever applies your patch can > tell which email contains the latest iteration of it. > > > This new ve

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

2009-07-22 Thread Peter Tyser
On Wed, 2009-07-22 at 18:04 +0200, Thomas Petazzoni wrote: > Hi, > > Le Wed, 22 Jul 2009 10:57:09 -0500, > Peter Tyser a écrit : > > > Hi Thomas, > > > > Just a note, but its nice when you resend patches to include the > > string [PATCH vX] where X=2, 3, etc. That way whoever applies your > >

[U-Boot] Please pull u-boot-mpc85xx (updated)

2009-07-22 Thread Kumar Gala
(This has the updated versions of the 'bank' patches based on comments from the list) - k The following changes since commit d4abc757c26c531293f5bbc4262ade44a317eec9: Peter Tyser (1): Move api_examples to examples/api are available in the git repository at: git://git.denx.de/u-boot-

  1   2   >