Re: [U-Boot] ARM Pull Request

2009-08-06 Thread Prafulla Wadaskar
> -Original Message- > From: Wolfgang Denk [mailto:w...@denx.de] > Sent: Thursday, July 30, 2009 4:02 AM > To: Prafulla Wadaskar > Cc: Jean-Christophe PLAGNIOL-VILLARD; U-Boot; Ben Warren; > Ashish Karkare; Prabhanjan Sarnaik > Subject: Re: [U-Boot] ARM Pull Request > > Dear Prafulla

[U-Boot] [PATCH 4/4] stx: add support for STx amc8548 board

2009-08-06 Thread oakad
From: Alex Dubov This board, intended for RapidIO development, has following features: * RapidIO interface to backplane * No PCI * USB controller on LBC (not currently enabled) * 16MiB Spansion flash * one soDIMM DDR2 slot Environment is set to its own, smaller eraseblock near the end of FLASH c

[U-Boot] [PATCH 2/4] stx: factor out LAW settings common for all STx boards

2009-08-06 Thread oakad
From: Alex Dubov All STx boards follow common convention for LAW region assignment. Signed-off-by: Alex Dubov --- board/stx/common/Makefile | 54 + board/stx/{stxssa => common}/law.c | 22 - board/stx/stxgp3/Makefile |1 - b

[U-Boot] [PATCH 1/4] stx: create common vendor/board hierarchy for STx boards

2009-08-06 Thread oakad
From: Alex Dubov Move files belonging to the STx boards into common vendor directory and update the Makefile to reflect this. Signed-off-by: Alex Dubov --- Makefile|6 +++--- board/{ => stx}/stxgp3/Makefile |0 board/{ => stx}/stxgp3/config.mk

[U-Boot] [PATCH 3/4] stx: factor out common DIMM enumeration code

2009-08-06 Thread oakad
From: Alex Dubov Board specific ddr options are moved to the main board configuration file. Common DIMM enumeration code is factored out. Signed-off-by: Alex Dubov --- board/stx/common/Makefile |1 + board/stx/common/ddr.c| 43 + board/stx/stxgp3/Makefile |

[U-Boot] Another patchset for STx AMC8548

2009-08-06 Thread oakad
I created a common vendor directory for STx, factored out law.c and ddr.c files, have not touched the tlb.c ones (for now) and added my AMC8548 config. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Handling of environment settings

2009-08-06 Thread Alex Dubov
Until now, custom environment settings were just defined in the board config file. All that had to be done is to edit the file, recompile the u-boot and flash it to the target. Now, however, this approach is not longer acceptable. This means, that environment must be either set manually on the ta

Re: [U-Boot] [PATCH] arm: Kirkwood: add SYSRSTn Duration Counter Support

2009-08-06 Thread Prafulla Wadaskar
> -Original Message- > From: Wolfgang Denk [mailto:w...@denx.de] > Sent: Thursday, August 06, 2009 7:53 PM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Ashish Karkare; Prabhanjan Sarnaik > Subject: Re: [U-Boot] [PATCH] arm: Kirkwood: add SYSRSTn > Duration Counter Support > > D

[U-Boot] [PATCH] 86xx: Remove redudant PLATFORM_CPPFLAGS

2009-08-06 Thread Kumar Gala
For historic reasons we had defined some additional PLATFORM_CPPFLAGS like: PLATFORM_CPPFLAGS += -DCONFIG_MPC86xx=1 PLATFORM_CPPFLAGS += -DCONFIG_MPC8641=1 However these are all captured in the config.h and thus redudant. Also moved common 86xx flags into cpu/mpc86xx/config.mk. Signed-off-by: K

[U-Boot] [PATCH] 85xx: Remove redudant PLATFORM_CPPFLAGS

2009-08-06 Thread Kumar Gala
For historic reasons we had defined some additional PLATFORM_CPPFLAGS like: PLATFORM_CPPFLAGS += -DCONFIG_E500=1 PLATFORM_CPPFLAGS += -DCONFIG_MPC85xx=1 PLATFORM_CPPFLAGS += -DCONFIG_MPC8548=1 However these are all captured in the config.h and thus redudant. Signed-off-by: Kumar Gala --- board

[U-Boot] [PATCH v2] 85xx: Add a 36-bit physical configuration for MPC8536DS

2009-08-06 Thread Kumar Gala
We move all IO addressed (CCSR, localbus, PCI) above the 4G boundary to allow for larger memory sizes. Signed-off-by: Kumar Gala --- Makefile|5 ++- include/configs/MPC8536DS.h | 82 +- 2 files changed, 76 insertions(+), 11 deleti

Re: [U-Boot] [PATCH] dlmalloc: Ignore gcc4.4 compiler warnings

2009-08-06 Thread Kumar Gala
On Jul 29, 2009, at 12:47 AM, Wolfgang Denk wrote: > Dear Scott, > > In message <20090728225244.ga8...@b07421-ec1.am.freescale.net> you > wrote: >> >> The patch title is bad -- it's not disabling warnings, it's >> disabling an >> aspect of C99 that the code is incompatible with (and which is

[U-Boot] what are RELFLAGS?

2009-08-06 Thread Kumar Gala
We seem to set CPPFLAGS to include RELFLAGS but I'm wondering how PLATFORM_ RELFLAGS is suppose to differ from PLATFORM_CPPFLAGS. I especially love the following: cpu/i386/config.mk:PLATFORM_RELFLAGS += cpu/nios/config.mk:PLATFORM_RELFLAGS += cpu/nios2/config.mk:PLATFORM_RELFLAGS += (Yes they

Re: [U-Boot] minor debug cleanups in ./net

2009-08-06 Thread Wolfgang Denk
Dear Robin Getz, In message <200908061557.30782.rg...@blackfin.uclinux.org> you wrote: > > when I switch to the net tree, I get: > > rg...@pinky:~/blackfin/mainline/u-boot/net> git remote -v > origin git://git.denx.de/u-boot-net.git > rg...@pinky:~/blackfin/mainline/u-boot/net> git describe --al

Re: [U-Boot] [PATCHv4 3/3] 83xx, kmeter1: added NAND support

2009-08-06 Thread Scott Wood
On Tue, Jul 21, 2009 at 05:13:40PM +0200, Heiko Schocher wrote: > Signed-off-by: Heiko Schocher Applied to u-boot-nand-flash/next -Scott ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] OneNAND: Remove unused read_spareram

2009-08-06 Thread Scott Wood
On Tue, Jul 21, 2009 at 11:58:04AM +0900, Kyungmin Park wrote: > Remove unused read_spareram and add unlock_all as kernel does > > Signed-off-by: Kyungmin Park Applied to u-boot-nand-flash/next -Scott ___ U-Boot mailing list U-Boot@lists.denx.de http:

Re: [U-Boot] [PATCH 2/2 v6] KB9202: Add NAND support

2009-08-06 Thread Scott Wood
On Thu, Jul 16, 2009 at 09:19:29PM +0200, Matthias Kaehlcke wrote: > Add KB9202 NAND driver > > Signed-off-by: Matthias Kaehlcke > Applied to u-boot-nand-flash/next. -Scott ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/lis

Re: [U-Boot] PLATFORM_CPPFLAGS ?

2009-08-06 Thread Wolfgang Denk
Dear Kumar Gala, In message you wrote: > > I think its a copy/paste thing that's just propagated w/o anyone > asking why. The Wisdom of Crowds in action ;-) > We probably based the first 85xx port on a 440 seeing as the 440's > seem to do the following: > > board/amcc/ebony/config.mk:PLAT

Re: [U-Boot] [PATCH] 85xx: Add a 36-bit physical configuration for MPC8536DS

2009-08-06 Thread Wolfgang Denk
Dear Kumar Gala, In message you wrote: > > >> +MPC8536DS_36BIT_config \ > >> MPC8536DS_config: unconfig > >> - @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8536ds freescale > >> + @mkdir -p $(obj)include > >> + @if [ "$(findstring _36BIT_,$@)" ] ; then \ > >> + echo "#define CONFI

Re: [U-Boot] PATCH mtd CFI flash: timeout calculation underflow if imprecise 1kHz timer: fix

2009-08-06 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <20090806211548.gi13...@game.jcrosoft.org> you wrote: > > honestly I'll not ack the change otherwise noone will update the timers That's a pretty purist position which is not exactly helpful, as it results in broken systems. Consider it as a need

Re: [U-Boot] PLATFORM_CPPFLAGS ?

2009-08-06 Thread Kumar Gala
On Aug 6, 2009, at 2:40 PM, Wolfgang Denk wrote: > Dear Timur Tabi, > > In message <4a7b1cfb.3030...@freescale.com> you wrote: >> Why do we define the same macros in config.mk and in the board >> header file? > > We == Freescale here? I agree - I never understood this either. > >> Isn't it redu

Re: [U-Boot] [PATCH] 85xx: Add a 36-bit physical configuration for MPC8536DS

2009-08-06 Thread Kumar Gala
On Aug 6, 2009, at 2:33 PM, Wolfgang Denk wrote: > Dear Kumar Gala, > > In message <1249573913-1451-1-git-send-email- > ga...@kernel.crashing.org> you wrote: >> We move all IO addressed (CCSR, localbus, PCI) above the 4G boundary >> to allow for larger memory sizes. >> >> Signed-off-by: Kumar Ga

Re: [U-Boot] PATCH mtd CFI flash: timeout calculation underflow if imprecise 1kHz timer: fix

2009-08-06 Thread Jean-Christophe PLAGNIOL-VILLARD
On 22:53 Thu 06 Aug , Wolfgang Denk wrote: > Dear Jean-Christophe PLAGNIOL-VILLARD, > > In message <20090806202615.gh13...@game.jcrosoft.org> you wrote: > > > > as we are all supposed to have CONFIG_SYS_HZ at 1000 (mandtory) > > to have cfi, tftp & co working perfectly I do not thing this is a

Re: [U-Boot] PATCH mtd CFI flash: timeout calculation underflow if imprecise 1kHz timer: fix

2009-08-06 Thread Wolfgang Denk
In message <20090806205329.8a31c832e...@gemini.denx.de> I wrote: > > However, the current situation is this: more than 60 boards (all of > them ARM, it seems) use very different settings: > > include/configs/EB+MCF-EV123.h: 1000 > include/configs/EP1C20.h: > (CONFIG

Re: [U-Boot] PATCH mtd CFI flash: timeout calculation underflow if imprecise 1kHz timer: fix

2009-08-06 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <20090806202615.gh13...@game.jcrosoft.org> you wrote: > > as we are all supposed to have CONFIG_SYS_HZ at 1000 (mandtory) > to have cfi, tftp & co working perfectly I do not thing this is a good idea Yes, this is the rule, and we would like to enf

Re: [U-Boot] PATCH mtd CFI flash: timeout calculation underflow if imprecise 1kHz timer: fix

2009-08-06 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:09 Thu 06 Aug , Renato Andreola wrote: > From 3723c8437d8c3d2e04bc3bc1de9c21b33072ab08 Mon Sep 17 00:00:00 2001 > From: Renato Andreola > Date: Thu, 6 Aug 2009 14:49:59 +0200 > Subject: [PATCH] drivers/mtd/cfi_flash: precision and underflow problem > in tout calculation > > With old c

Re: [U-Boot] MPC8280 Clock configuration for U-boot

2009-08-06 Thread Jerry Van Baren
GurumurthyGowdar wrote: > Dear all, > i have an issue with the clock configuration for MPC8280 for > U-boot 1.3.1, > > the following is the message when u-boot booted. > > U-Boot 1.3.1 (Jul 27 2009 - 17:27:10) > > MPC8260 Reset Status: External Soft, External Hard > > MPC8260 Cl

Re: [U-Boot] [PATCH] imx27lite: add support for imx27lite board from LogicPD

2009-08-06 Thread Wolfgang Denk
Dear Javier, In message you wrote: ... > I have applied it but when compiling it gives the following errors: ... > arm-none-linux-gnueabi-ld: ERROR: Source object > /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.2/libgcc.a(_udivsi3.o

Re: [U-Boot] minor debug cleanups in ./net

2009-08-06 Thread Ben Warren
Robin Getz wrote: > On Thu 6 Aug 2009 15:40, Wolfgang Denk pondered: > >> Dear Robin Getz, >> >> In message <200908061427.10961.rg...@blackfin.uclinux.org> you wrote: >> >>> On Thu 23 Jul 2009 03:01, Robin Getz pondered: >>> OK - this is on git remote -v origin

Re: [U-Boot] MPC8280 Clock configuration for U-boot

2009-08-06 Thread Scott Wood
GurumurthyGowdar wrote: > MPC8260 Clock Configuration > - Bus-to-Core Mult 3x, VCO Div 4, 60x Bus Freq 16-50 , Core Freq 50-150 > - dfbrg 1, corecnf 0x10, busdf 4, cpmdf 1, plldf 0, pllmf 4, pcidf 3 > - vco_out 5, scc_clk 12500, brg_clk 3125 > - cpu_clk 3, cpm_clk

Re: [U-Boot] minor debug cleanups in ./net

2009-08-06 Thread Robin Getz
On Thu 6 Aug 2009 15:40, Wolfgang Denk pondered: > Dear Robin Getz, > > In message <200908061427.10961.rg...@blackfin.uclinux.org> you wrote: > > On Thu 23 Jul 2009 03:01, Robin Getz pondered: > > > OK - this is on > > > > > > git remote -v > > > origin git://git.denx.de/u-boot-net.git > > > >

Re: [U-Boot] MPC8280 Clock configuration for U-boot

2009-08-06 Thread Wolfgang Denk
Dear "GurumurthyGowdar", In message <20090806185644.1388.qm...@f4mail-234-237.rediffmail.com> you wrote: > > i have an issue with the clock configuration for MPC8280 for > U-boot 1.3.1, ... > in terms of hardware i have configured as per the clock configuration but if > we see the

Re: [U-Boot] minor debug cleanups in ./net

2009-08-06 Thread Wolfgang Denk
Dear Robin Getz, In message <200908061427.10961.rg...@blackfin.uclinux.org> you wrote: > On Thu 23 Jul 2009 03:01, Robin Getz pondered: > > OK - this is on > > > > git remote -v > > origin git://git.denx.de/u-boot-net.git > > > > git log --max-count=1 > > commit 97cfe86163505ea18e7ff7b71e78df5

Re: [U-Boot] PLATFORM_CPPFLAGS ?

2009-08-06 Thread Wolfgang Denk
Dear Timur Tabi, In message <4a7b1cfb.3030...@freescale.com> you wrote: > Why do we define the same macros in config.mk and in the board header file? We == Freescale here? I agree - I never understood this either. > Isn't it redundant to have these entries in config.mk? We seem to > be doing thi

Re: [U-Boot] U-boot "make config" errors

2009-08-06 Thread Wolfgang Denk
Dear alfred steele, In message <528f13590908061058p75cb632cubedee8990ceb7...@mail.gmail.com> you wrote: > > I have been building/using u-boot for uite some time now. I never had > issues with it. Now, I am trying to use a versioning system to store a > version of u-boot and then check out a fres

Re: [U-Boot] [PATCH] 85xx: Add a 36-bit physical configuration for MPC8536DS

2009-08-06 Thread Wolfgang Denk
Dear Kumar Gala, In message <1249573913-1451-1-git-send-email-ga...@kernel.crashing.org> you wrote: > We move all IO addressed (CCSR, localbus, PCI) above the 4G boundary > to allow for larger memory sizes. > > Signed-off-by: Kumar Gala > --- > Makefile|8 - > inclu

[U-Boot] [PATCH] ARM EABI: add new helper functions resp. function names

2009-08-06 Thread Wolfgang Denk
The ARM EABI defines new names for GCC helper functions, and GCC seems to need some new functions as well. This patch is a minimal-invasive approach to fix problems with EABI conformant tool chains (to be used with "USE_PRIVATE_LIBGCC=yes"). Signed-off-by: Wolfgang Denk --- lib_arm/_ashldi3.S |

[U-Boot] MPC8280 Clock configuration for U-boot

2009-08-06 Thread GurumurthyGowdar
Dear all, i have an issue with the clock configuration for MPC8280 for U-boot 1.3.1, the following is the message when u-boot booted. U-Boot 1.3.1 (Jul 27 2009 - 17:27:10) MPC8260 Reset Status: External Soft, External Hard MPC8260 Clock Configuration - Bus-to-Core Mult 3x, VCO

Re: [U-Boot] minor debug cleanups in ./net

2009-08-06 Thread Ben Warren
Robin Getz wrote: > On Thu 23 Jul 2009 03:01, Robin Getz pondered: > >> OK - this is on >> >> git remote -v >> origin git://git.denx.de/u-boot-net.git >> >> git log --max-count=1 >> commit 97cfe86163505ea18e7ff7b71e78df5bb03dad57 >> >> (Is there a better way to tell if git is up to date?) >>

Re: [U-Boot] U-boot "make config" errors

2009-08-06 Thread alfred steele
> Hi all, > I have been building/using  u-boot for uite some time now. I never had > issues with it. Now, I am trying to use a versioning system to store a > version of u-boot and then check out a fresh version from the > repository on a different workspace and trying to compile it. > I get the fol

Re: [U-Boot] minor debug cleanups in ./net

2009-08-06 Thread Robin Getz
On Thu 23 Jul 2009 03:01, Robin Getz pondered: > OK - this is on > > git remote -v > origin git://git.denx.de/u-boot-net.git > > git log --max-count=1 > commit 97cfe86163505ea18e7ff7b71e78df5bb03dad57 > > (Is there a better way to tell if git is up to date?) Was there any problems with this o

[U-Boot] Is there anyway for configuring NAND and NOR together

2009-08-06 Thread Penda, Naveen Kumar
Hi All OMAP3_SDP supports both NAND and NOR flash, depending on the dip switch settings it will select NOR or NAND. So I would like to know is there any way I can configure both NAND and NOR in common configuration file. so that I need not rebuild separatley for NAND or NOR. Regards Na

[U-Boot] PLATFORM_CPPFLAGS ?

2009-08-06 Thread Timur Tabi
Why do we define the same macros in config.mk and in the board header file? config.mk: PLATFORM_CPPFLAGS += -DCONFIG_E500=1 PLATFORM_CPPFLAGS += -DCONFIG_MPC85xx=1 PLATFORM_CPPFLAGS += -DCONFIG_MPC8572=1 MPC8572DS.h: #define CONFIG_BOOKE1 /* BOOKE */ #define CONFIG_E500

Re: [U-Boot] U-boot "make config" errors

2009-08-06 Thread Alessandro Rubini
> u-boot]$ make mx31_config > Configuring for mx31 board... > rm: cannot remove `asm': Is a directory Asm should be a symlink. It seems you checked in your own versioning system the directory pointed by the link and not the link itself. Most likely your versioning system doesn't handle symlinks.

[U-Boot] U-boot "make config" errors

2009-08-06 Thread alfred steele
Hi all, I have been building/using u-boot for uite some time now. I never had issues with it. Now, I am trying to use a versioning system to store a version of u-boot and then check out a fresh version from the repository on a different workspace and trying to compile it. I get the following error

Re: [U-Boot] unused dhcp option?

2009-08-06 Thread Ben Warren
Hi Robin, Robin Getz wrote: > As far as I can tell - the dhcp_leasetime var is not accessed outside of the > net/bootp.c file, and it isn't actually used anywhere, just written to - so > it is not removed by --gc-sections. :( > > net/bootp.c:unsigned long dhcp_leasetime = 0; > > net/bootp.c:

[U-Boot] USB Mass Storage devices on MPC8536DS

2009-08-06 Thread Felix Radensky
Hi, I'm trying to access USB mass storage devices from u-boot running on MPC8536DS. I use the latest git version. Tried 4 different devices, but only one of them was recognized. although all 4 work fine with linux-2.6.31-rc5. Also, device is recognizable only in 1 of 4 available USB ports. Is tha

Re: [U-Boot] Problems porting new u-boot

2009-08-06 Thread Alemao
Thanks for the quick responses. Thanks for the quick responses. Actually it doesn't need to be so big, to justify use TEXT_BASE 0xfff0. Im really wasting flash memory. The problem is that in U-Boot-1.2.0, u-boot.bin gets filled, and in U-Boot-2009.03 seems that objcopy doesn't fill the right

[U-Boot] PATCH mtd CFI flash: timeout calculation underflow if imprecise 1kHz timer: fix

2009-08-06 Thread Renato Andreola
From 341dbd88695d3514699aae612d640ed93feb8821 Mon Sep 17 00:00:00 2001 From: Renato Andreola Date: Thu, 6 Aug 2009 18:05:00 +0200 Subject: [PATCH] drivers/mtd/cfi_flash: precision and underflow problem in tout calculation With old configuration it could happen tout=0 if CONFIG_SYS_HZ<1000 solve

[U-Boot] [PATCH v2] 85xx: Cleanup whitespace in mpc8536ds.c

2009-08-06 Thread Kumar Gala
Signed-off-by: Kumar Gala --- * Forgot signoff on the first patch board/freescale/mpc8536ds/mpc8536ds.c | 16 +--- 1 files changed, 5 insertions(+), 11 deletions(-) diff --git a/board/freescale/mpc8536ds/mpc8536ds.c b/board/freescale/mpc8536ds/mpc8536ds.c index 5bd20ce..032d732 1

[U-Boot] [PATCH] 85xx: Add a 36-bit physical configuration for MPC8536DS

2009-08-06 Thread Kumar Gala
We move all IO addressed (CCSR, localbus, PCI) above the 4G boundary to allow for larger memory sizes. Signed-off-by: Kumar Gala --- Makefile|8 - include/configs/MPC8536DS.h | 78 +- 2 files changed, 75 insertions(+), 11 dele

[U-Boot] [PATCH] 85xx: Cleanup whitespace in mpc8536ds.c

2009-08-06 Thread Kumar Gala
--- board/freescale/mpc8536ds/mpc8536ds.c | 16 +--- 1 files changed, 5 insertions(+), 11 deletions(-) diff --git a/board/freescale/mpc8536ds/mpc8536ds.c b/board/freescale/mpc8536ds/mpc8536ds.c index 5bd20ce..032d732 100644 --- a/board/freescale/mpc8536ds/mpc8536ds.c +++ b/board/fr

Re: [U-Boot] BMP display.

2009-08-06 Thread Detlev Zundel
Hi Tuma, > While I've been waiting for reply, I've found some information from Internet > and source code. I tryed to configure current omap3evm config file, but I get > errors during compilation. > So I know there is no LCD support for OMAP3evm now. This can be changed ;) > And now I think ab

[U-Boot] Error :Unknown command 'mmcinit' - try 'help -- need help

2009-08-06 Thread Penda, Naveen Kumar
Hi All I am trying to get MMC support on omap3_sdp Configuration changes I added are below #define CONFIG_MMC 1 #define CONFIG_OMAP3_MMC 1 //this will pick up the mmc driver for omap3 #define CONFIG_CMD_FAT /* FAT support */ #defin

Re: [U-Boot] [U-BOOT] error: end address not on sector boundary when I use saveenv cmd

2009-08-06 Thread Penda, Naveen Kumar
Hi Wolfgang Denk > > Dear "Penda, Naveen Kumar", > > In message > <5a47e75e594f054baf48c5e4fc4b92ab0305fc6...@dbde02.ent.ti.com> > you wrote: > > > > Thanks for your quick support, > > Now I made CFG_ENV_SIZE to proper sector size. > > You must be using really obsolte code if you still

Re: [U-Boot] [PATCH 2/3]: arm: Kirkwood: Check the error summary bit for error detection

2009-08-06 Thread Wolfgang Denk
Dear Prafulla Wadaskar, In message <73173d32e9439e4abb5151606c3e19e202e1215...@sc-vexch1.marvell.com> you wrote: > > > Ping? > This patch is already applied Ah. thanks for pointing out. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB

Re: [U-Boot] Problems porting new u-boot

2009-08-06 Thread Wolfgang Denk
Dear Jerry Van Baren, In message <4a7adcc8.9040...@ge.com> you wrote: > > Argh, some days I read. Other days... With a little training you probably can learn to read _while_ rolling your eyes :-) Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Z

Re: [U-Boot] [PATCH] arm: Kirkwood: add SYSRSTn Duration Counter Support

2009-08-06 Thread Wolfgang Denk
Dear Prafulla Wadaskar, In message <1249583526-22532-1-git-send-email-prafu...@marvell.com> you wrote: > This feature can be used to trigger special command "sysrst_cmd" using > reset key long press event > (useful for reset to factory or manufacturing mode execution) Cool. > Implementation: upo

Re: [U-Boot] PATCH mtd CFI flash: timeout calculation underflow if imprecise 1kHz timer: fix

2009-08-06 Thread Wolfgang Denk
Dear Alessandro Rubini, In message <20090806133110.ga26...@mail.gnudd.com> you wrote: > > Since the timeout is an error condition, It's better to have it longer > than shorter. Since integer division truncates towards 0, I'd better > give my hardware more time before signalling an error (an unlik

Re: [U-Boot] Problems porting new u-boot

2009-08-06 Thread Jerry Van Baren
Jerry Van Baren wrote: > Hi Alemao, > > Alemao wrote: >> Hi all, >> >> Im having problems porting u-boot-2009.03 to a MPC8541 board. ^^^ [snip] > You did not say what processor you are using, but it sounds > like a MPC74xx or MPC86xx or MPC8

[U-Boot] [PATCH] arm: Kirkwood: add SYSRSTn Duration Counter Support

2009-08-06 Thread Prafulla Wadaskar
This feature can be used to trigger special command "sysrst_cmd" using reset key long press event (useful for reset to factory or manufacturing mode execution) Kirkwood SoC implements a hardware-based SYSRSTn duration counter. When SYSRSTn is asserted low, a SYSRSTn duration counter is running. Th

Re: [U-Boot] PATCH mtd CFI flash: timeout calculation underflow if imprecise 1kHz timer: fix

2009-08-06 Thread Alessandro Rubini
>> +tout = tout * CONFIG_SYS_HZ / 1000 + 1; > 2) There should be a Signed-off-by: from Alessandro, too. Signed-off-by: Alessandro Rubini > 5) Omit the "+1". It seems bogus to me. Since the timeout is an error condition, It's better to have it longer than shorter. Since integer

Re: [U-Boot] Problems porting new u-boot

2009-08-06 Thread Jerry Van Baren
Hi Alemao, Alemao wrote: > Hi all, > > Im having problems porting u-boot-2009.03 to a MPC8541 board. > > In u-boot-1.2.0, if I use TEXT_BASE = 0xfff0, u-boot.bin is > created with 1MB size. The .bin file is a binary image from the first location 0xfff0 *contiguously filled* to the last

Re: [U-Boot] PATCH - Added support to YANU Nios2 uart

2009-08-06 Thread Wolfgang Denk
Dear Renato Andreola, In message <4a7ad72a.4030...@imagos.it> you wrote: > From 6e15ffc680ca75d5bd3a01fc9010c34637c6ab32 Mon Sep 17 00:00:00 2001 > From: Renato Andreola > Date: Thu, 6 Aug 2009 12:28:51 +0200 > Subject: [PATCH] Yanu Support for U-Boot > > with this patch YANU uart support will

Re: [U-Boot] PATCH mtd CFI flash: timeout calculation underflow if imprecise 1kHz timer: fix

2009-08-06 Thread Wolfgang Denk
Dear Renato Andreola, In message <4a7ad624.9030...@imagos.it> you wrote: > From 3723c8437d8c3d2e04bc3bc1de9c21b33072ab08 Mon Sep 17 00:00:00 2001 > From: Renato Andreola > Date: Thu, 6 Aug 2009 14:49:59 +0200 > Subject: [PATCH] drivers/mtd/cfi_flash: precision and underflow problem > in tout ca

[U-Boot] PATCH - Added support to YANU Nios2 uart

2009-08-06 Thread Renato Andreola
From 6e15ffc680ca75d5bd3a01fc9010c34637c6ab32 Mon Sep 17 00:00:00 2001 From: Renato Andreola Date: Thu, 6 Aug 2009 12:28:51 +0200 Subject: [PATCH] Yanu Support for U-Boot with this patch YANU uart support will be added to u-boot. Remember to modify properly your board files for defining physical

Re: [U-Boot] [PATCH 2/3]: arm: Kirkwood: Check the error summary bit for error detection

2009-08-06 Thread Prafulla Wadaskar
> -Original Message- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Wolfgang Denk > Sent: Thursday, August 06, 2009 2:37 AM > To: Ben Warren > Cc: U-Boot ML > Subject: Re: [U-Boot] [PATCH 2/3]: arm: Kirkwood: Check the > error summary bit for e

[U-Boot] PATCH mtd CFI flash: timeout calculation underflow if imprecise 1kHz timer: fix

2009-08-06 Thread Renato Andreola
From 3723c8437d8c3d2e04bc3bc1de9c21b33072ab08 Mon Sep 17 00:00:00 2001 From: Renato Andreola Date: Thu, 6 Aug 2009 14:49:59 +0200 Subject: [PATCH] drivers/mtd/cfi_flash: precision and underflow problem in tout calculation With old configuration it could happen tout=0 if CONFIG_SYS_HZ<1000 solve

Re: [U-Boot] [PATCH 3/3]: arm: Kirkwood: See to it that sent data is 8-byte aligned

2009-08-06 Thread Prafulla Wadaskar
> -Original Message- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Wolfgang Denk > Sent: Thursday, August 06, 2009 2:38 AM > To: Ben Warren > Cc: U-Boot ML > Subject: Re: [U-Boot] [PATCH 3/3]: arm: Kirkwood: See to it > that sent data is 8-by

Re: [U-Boot] Problems porting new u-boot

2009-08-06 Thread Wolfgang Denk
Dear Alemao, In message you wrote: > > Im having problems porting u-boot-2009.03 to a MPC8541 board. > > In u-boot-1.2.0, if I use TEXT_BASE = 0xfff0, u-boot.bin is > created with 1MB size. Sounds like a waste of flash memoory ? > But in u-boot-2009.03 it's created with only 516kB. Look

[U-Boot] Problems porting new u-boot

2009-08-06 Thread Alemao
Hi all, Im having problems porting u-boot-2009.03 to a MPC8541 board. In u-boot-1.2.0, if I use TEXT_BASE = 0xfff0, u-boot.bin is created with 1MB size. But in u-boot-2009.03 it's created with only 516kB. In cpu/mpc85xx/start.S says: "The processor starts at 0xfffc and the code is firs

Re: [U-Boot] BMP display.

2009-08-06 Thread Tuma
Hello, Detlev! Thanks for your reply. While I've been waiting for reply, I've found some information from Internet and source code. I tryed to configure current omap3evm config file, but I get errors during compilation. So I know there is no LCD support for OMAP3evm now. And now I think about the

Re: [U-Boot] PATCH mtd CFI flash: timeout calculation underflow if imprecise 1kHz timer: fix

2009-08-06 Thread Wolfgang Denk
Dear Renato Andreola, In message <4a7ab614.2020...@imagos.it> you wrote: > > > Please NEVER post HTML here!! > I agree with Wolfgang Denk in not using the LL type (too > compiler/library/machine dependent). > I think that the code of Alessandro Rubini that makes the runtime > decision using n

Re: [U-Boot] PATCH mtd CFI flash: timeout calculation underflow if imprecise 1kHz timer: fix

2009-08-06 Thread Alessandro Rubini
> With old configuration it could happen tout=0 if CONFIG_SYS_HZ<1000 > solved using an unsigned long long I had the same problem with an ancient version of a vendor-ported u-boot. There my CFG_HZ was 100, so the timeout was 0. I used this, which avoids the preprocessor conditional. Since the HZ

Re: [U-Boot] PATCH mtd CFI flash: timeout calculation underflow if imprecise 1kHz timer: fix

2009-08-06 Thread Wolfgang Denk
Dear Renato Andreola, In message <4a7aa72c.8010...@imagos.it> you wrote: > From be54cb97ca26bcbbc1a908d1f2a5447b6639dc59 Mon Sep 17 00:00:00 2001 > From: Renato Andreola > Date: Thu, 6 Aug 2009 11:40:52 +0200 > Subject: [PATCH] drivers/mtd/cfi_flash: precision and underflow problem > in tout ca

[U-Boot] PATCH mtd CFI flash: timeout calculation underflow if imprecise 1kHz timer: fix

2009-08-06 Thread Renato Andreola
From be54cb97ca26bcbbc1a908d1f2a5447b6639dc59 Mon Sep 17 00:00:00 2001 From: Renato Andreola Date: Thu, 6 Aug 2009 11:40:52 +0200 Subject: [PATCH] drivers/mtd/cfi_flash: precision and underflow problem in tout calculation With old configuration it could happen tout=0 if CONFIG_SYS_HZ<1000 solve

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

2009-08-06 Thread Renato Andreola
From caddbcecc99d7f96fdf7ca9c3d89ffac9cb999e1 Mon Sep 17 00:00:00 2001 From: Renato Andreola Date: Thu, 6 Aug 2009 11:03:19 +0200 Subject: Nios2: do_boom_linux(): kernel gunzip input data integrity problem due to mi ssing cache flush Added instruction and data caches flush Signed-o

Re: [U-Boot] [PATCH] stx: create common vendor hierarchy for Silicon Turnkey boards

2009-08-06 Thread Wolfgang Denk
Dear Alex Dubov, In message <963516.31353...@web37603.mail.mud.yahoo.com> you wrote: > > However, the real issue here is whether you prefer a #define sprawl or > having a couple of additional short files for each board in question. Until > now, as I can see, the second option was preferred. I ex

Re: [U-Boot] floating point operation in powerpc

2009-08-06 Thread Wolfgang Denk
Dear prathika, In message <4a7a7946.6080...@deeopl.com> you wrote: > > i am porting u-boot on powerpc 440. > i am also running a simple hello world application on it and I want to > use floating point unit. Boot an operating system, then. U-Boot is just a boot loader, and we do not support any