Re: [U-Boot] [PATCH] 7/12 Multiadapter/multibus I2C, drivers part 4

2009-02-17 Thread Heiko Schocher
Hello ksi, k...@koi8.net wrote: > On Wed, 18 Feb 2009, Wolfgang Denk wrote: > >> Dear k...@koi8.net, >> >> In message you wrote: [...] >>> OK, this is not about using multiple I2C busses before relocation and using >>> them right now for any of existing boards (some of which are actually dead >>

Re: [U-Boot] [PATCH] 7/12 Multiadapter/multibus I2C, drivers part 4

2009-02-17 Thread Heiko Schocher
Hello Wolfgang, Wolfgang Denk wrote: > Dear k...@koi8.net, > > In message you wrote: [...] >>> What makes you insist that we cannot change a variable if we need to >>> be able to change one? >> It is NOT just variable. My approach uses i2c _BUS_, not _ADAPTER_. And >> number of busses can be big

Re: [U-Boot] [PATCH] 7/12 Multiadapter/multibus I2C, drivers part 4

2009-02-17 Thread Heiko Schocher
Hello ksi, k...@koi8.net wrote: > On Mon, 16 Feb 2009, Wolfgang Denk wrote: > >> Dear k...@koi8.net, >> >> In message you wrote: Yes, good point. But do we need more then one i2c adapter when running from flash? I see only one reason to use i2c when running from flash: accessing S

Re: [U-Boot] [PATCH] 7/12 Multiadapter/multibus I2C, drivers part 4

2009-02-17 Thread Heiko Schocher
Hello ksi, k...@koi8.net wrote: > On Mon, 16 Feb 2009, Wolfgang Denk wrote: > >> Dear k...@koi8.net, >> >> In message you wrote: >>> That means you have to make changes in two places instead of one -- config >>> file AND $(BOARD).c. Also you use functions instead of macros and you can >>> NOT ma

[U-Boot] Amenajari interioare pentru casa dumneavoastra!!!

2009-02-17 Thread Westfloor
www.zugraveli.home.ro Venind in intampinarea dorintelor dvs. o echipa de profesionisti cu experienta in amenajarea vilelor de lux va sta la dispozitie. Va oferim o gama variata de servicii pornind de la renovari pana la ultimul detaliu, toate realizate la cele mai inalte standarde occiden

Re: [U-Boot] [PATCH] ppc4xx: Cleanup PMC405 board support

2009-02-17 Thread Matthias Fuchs
Hi Stefan, > On Tuesday 17 February 2009 15:19, Stefan Roese wrote: > > On Sunday 15 February 2009, Matthias Fuchs wrote: > > > This patch fixes coding style for PMC405 board support. > > > Also some unneeded features/code is removed. > > > > Please find some comments below. > > > > > + out32(GPI

Re: [U-Boot] MAC address being reset to 00:00:00:00:00:00 ?

2009-02-17 Thread Amit Margalit
> -Original Message- > From: Andy Fleming [mailto:aflem...@gmail.com] > Sent: ד 18 פברואר 2009 00:44 > To: Amit Margalit > Cc: Michael Trimarchi; u-boot@lists.denx.de > Subject: Re: [U-Boot] MAC address being reset to 00:00:00:00:00:00 ? > > 2009/2/17 Amit Margalit : > >> -Original Me

[U-Boot] flash configuration in u-boot

2009-02-17 Thread zix
Hi, I am configuring u-boot to my board running on arm926ejs. the flash is Nand512-A, 64Mbyte, configured on 8bit I/O bus. page size: 512 bytes block size: 16k Now, in u-boot they accept in sectors, but am not having any clue how this is related to sectors. Can anybody please advice what values

Re: [U-Boot] [PATCH] qong: changes to Dave/DENX Qong configuration

2009-02-17 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:29 Tue 17 Feb , Wolfgang Denk wrote: > >From db8b5a7ed751fde815ec1a7a9e8751d64abeef91 Thu Feb 05 04:08:20 2009 > From: Ilya Yanok > Date: Thu, 5 Feb 2009 04:08:20 +0100 > Subject: [PATCH] qong: changes to Dave/DENX Qong configuration > > 1. Changes to the default environment: > - "boo

[U-Boot] ARM Pull Request

2009-02-17 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi Wolfgang, Please pull The following changes since commit 9d8811c5bd2b7dd6307742cf22fbdb7953b6f816: Wolfgang Denk (1): Merge branch 'master' of git://git.denx.de/u-boot-usb are available in the git repository at: git://git.denx.de/u-boot-arm.git master Guennadi Liakhovets

Re: [U-Boot] [PATCH 1/3] Initial mflash support

2009-02-17 Thread unsik Kim
+/* must override this function */ +struct mg_drv_data * __attribute__((weak)) mg_get_drv_data (void) +{ + puts ("### WARNING ### port mg_get_drv_data function\n"); + return NULL; +} >>> please do an compile error not a run time error >> IMHO, compile error (or warn

Re: [U-Boot] [PATCH 08/12] 83xx, kmeter: QE_ENET10 errata for Silicon Revision 2.1

2009-02-17 Thread Kumar Gala
On Feb 17, 2009, at 8:29 PM, Kumar Gala wrote: > > On Feb 17, 2009, at 7:25 PM, Kim Phillips wrote: > >> On Tue, 17 Feb 2009 09:54:51 +0100 >> Heiko Schocher wrote: >> >>> ppc_82xx-ld: NAND bootstrap too big >>> ppc_82xx-ld: NAND bootstrap too big >>> make[1]: *** [/home/hs/U-Boot-Patches/u-boot

Re: [U-Boot] spd_dram.c for mpc83xx broken

2009-02-17 Thread Liu Dave-R63238
> well it applies, but it also nuked the first board I tried it on. For > any new ddr work on 83xx, I'd suggest starting with porting the new > common mpc8xxx ddr code. Agree, The original spd_spd.c will go away. ___ U-Boot mailing list U-Boot@lists.den

[U-Boot] [PATCH] fsl: Don't spew messages related to PHY fixup of device tree

2009-02-17 Thread Kumar Gala
Converted print statements that didn't have much meaning beyond debug from printf() to debug(). Signed-off-by: Kumar Gala --- board/freescale/common/sgmii_riser.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/freescale/common/sgmii_riser.c b/board/freescale

Re: [U-Boot] [PATCH 08/12] 83xx, kmeter: QE_ENET10 errata for Silicon Revision 2.1

2009-02-17 Thread Kumar Gala
On Feb 17, 2009, at 7:25 PM, Kim Phillips wrote: > On Tue, 17 Feb 2009 09:54:51 +0100 > Heiko Schocher wrote: > >> ppc_82xx-ld: NAND bootstrap too big >> ppc_82xx-ld: NAND bootstrap too big >> make[1]: *** [/home/hs/U-Boot-Patches/u-boot/nand_spl/u-boot-spl] >> Fehler 1 >> make: *** [nand_spl]

Re: [U-Boot] spd_dram.c for mpc83xx broken

2009-02-17 Thread Kim Phillips
On Tue, 17 Feb 2009 20:25:03 +0100 Joakim Tjernlund wrote: > The spd code for mpc83xx is so broken it isn't funny. This is what I had > to do to get my > Micron MT47H64M16-3. This isn't against current u-boot, but it is a start. well it applies, but it also nuked the first board I tried it on.

Re: [U-Boot] [PATCH 08/12] 83xx, kmeter: QE_ENET10 errata for Silicon Revision 2.1

2009-02-17 Thread Kim Phillips
On Tue, 17 Feb 2009 09:54:51 +0100 Heiko Schocher wrote: > ppc_82xx-ld: NAND bootstrap too big > ppc_82xx-ld: NAND bootstrap too big > make[1]: *** [/home/hs/U-Boot-Patches/u-boot/nand_spl/u-boot-spl] Fehler 1 > make: *** [nand_spl] Fehler 2 > make: *** Warte auf noch nicht beendete Prozesse... >

Re: [U-Boot] [PATCH 03/12] 83xx, kmeter1: add I2C, dtt, eeprom support

2009-02-17 Thread Kim Phillips
On Tue, 17 Feb 2009 07:03:23 +0100 Heiko Schocher wrote: > Hello Kim, Hello Heiko, > Kim Phillips wrote: > > On Wed, 11 Feb 2009 19:25:49 +0100 > > Heiko Schocher wrote: > >>/* switch to correct I2C bus */ > >>old_bus = I2C_GET_BUS(); > >> - I2C_SET_BUS(CONFIG_SYS_DTT_BUS_NUM); > >> +

Re: [U-Boot] [PATCH] 7/12 Multiadapter/multibus I2C, drivers part 4

2009-02-17 Thread ksi
On Wed, 18 Feb 2009, Wolfgang Denk wrote: > Dear k...@koi8.net, > > In message you wrote: > > > > > [On the other hand I still wonder why I have never seen any such > > > board appear to me in real life yet. None of the 500+ boards > > > supported in U-Boot uses any such configuration.] > > >

[U-Boot] [PATCH] nmdk8815: rename CONFIG_CMD_ENV to CONFIG_CMD_SAVEENV

2009-02-17 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- include/configs/nmdk8815.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/nmdk8815.h b/include/configs/nmdk8815.h index 01de08f..7f0c26a 100644 --- a/include/configs/nmdk8815.h +++ b/include/configs/nmdk8815.h @@ -38,7 +

Re: [U-Boot] [PATCH] 7/12 Multiadapter/multibus I2C, drivers part 4

2009-02-17 Thread Wolfgang Denk
Dear k...@koi8.net, In message you wrote: > > > [On the other hand I still wonder why I have never seen any such > > board appear to me in real life yet. None of the 500+ boards > > supported in U-Boot uses any such configuration.] > > Eh, for those 500+ (actually 472 judging on the number of f

[U-Boot] [PATCH] bootm: Reduce the unnecessary memmove

2009-02-17 Thread Minkyu Kang
Although load address and image start address are same address, bootm command always does memmove. That is unnecessary memmove and can be taken few milliseconds (about 500 msec to 1000 msec). If skip this memmove, we can reduce the boot time. Signed-off-by: Minkyu Kang --- common/cmd_bootm.c |

Re: [U-Boot] [PATCH] Fix Freescale link scripts for newer GCCs

2009-02-17 Thread Wolfgang Denk
Dear Kim, In message <20090216200502.1e25c494.kim.phill...@freescale.com> you wrote: > > Trent Piepho wrote: ... > > But what systems are affected by the problem? For instance ms7750se only > > has ".rodata", not even ".rodata.str1.4". So should it get changed too? > > > > There are CPUs that

Re: [U-Boot] [PATCH 2/2 V2] common/console: avoid ifdef CONFIG_CONSOLE_MUX when it's possible

2009-02-17 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <1233504472-21545-2-git-send-email-plagn...@jcrosoft.com> you wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > --- > common/console.c | 108 > -- > 1 files changed, 56 insertions(+),

Re: [U-Boot] [PATCH 1/2 v2] common/console: coding style cleanup

2009-02-17 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <1233504472-21545-1-git-send-email-plagn...@jcrosoft.com> you wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > --- > common/console.c | 199 +++-- > 1 files changed, 101 insertions(+), 98

Re: [U-Boot] [PATCH] mpc8xx_pcmcia: move CONFIG_8xx out of .c file and into Makefile

2009-02-17 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1233277343-6207-1-git-send-email-vap...@gentoo.org> you wrote: > Move the CONFIG_8xx mpc8xx_pcmcia.c protection out of the C file and into > the Makefile so we avoid pointless compiling of the file. > > Signed-off-by: Mike Frysinger > --- > drivers/pcmcia/Makefi

Re: [U-Boot] [PATCH] disk: convert part_* files to COBJ-$(CONFIG_XXX) style

2009-02-17 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1233277327-6169-1-git-send-email-vap...@gentoo.org> you wrote: > Move the CONFIG_XXX out of the part_XXX.c file and into Makefile to avoid > pointless compiles. > > Signed-off-by: Mike Frysinger > --- > disk/Makefile | 10 +- > disk/part_amiga.c |

Re: [U-Boot] [PATCH] include/image.h: Ease grepping of image_* functions

2009-02-17 Thread Wolfgang Denk
Dear Petri Lehtinen, In message <1233218140-11440-1-git-send-email-petri.lehti...@inoi.fi> you wrote: > Because the functions have been defined using macros, grepping for > their definitions is not possible. This patch adds the real function > names in comments. > > Signed-off-by: Petri Lehtinen

Re: [U-Boot] [PATCH] rename CONFIG_CMD_ENV to CONFIG_CMD_SAVEENV

2009-02-17 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1233187694-22531-1-git-send-email-vap...@gentoo.org> you wrote: > The CONFIG_CMD_ENV option controls enablement of the `saveenv` command > rather than a generic "env" command, or anything else related to the > environment. So, let's make sure the define is named a

Re: [U-Boot] [PATCH v3] Remove static type from gunzip_bmp()

2009-02-17 Thread Wolfgang Denk
Dear Mark Jackson, In message <497f052e.20...@mimc.co.uk> you wrote: > The current bmp routines support gzipped files, but compilation fails (under > AVR32) due to the gunzip_bmp() function being defined as static. > > This patch fixes this problem. > > The gunzip_bmp routine has also now been d

Re: [U-Boot] [PATCH] 7/12 Multiadapter/multibus I2C, drivers part 4

2009-02-17 Thread ksi
On Tue, 17 Feb 2009, Wolfgang Denk wrote: > Dear k...@koi8.net, > > In message you wrote: > > > > What is unreadable in that code? > > It gets out of control. You don;t see any more how much code gets > generated from that. Why not? But anyways, I can make those instances manually, without CP

Re: [U-Boot] [PATCH] disable imls command if no flash is defined

2009-02-17 Thread Wolfgang Denk
Dear Valeriy Glushkov, In message <12327337373498-git-send-email-...@lstec.com> you wrote: > Default CONFIG_CMD_IMLS must be disabled when CONFIG_SYS_NO_FLASH is defined > > Signed-off-by: Valeriy Glushkov > --- > include/config_cmd_default.h |2 ++ > 1 files changed, 2 insertions(+), 0 del

Re: [U-Boot] [PATCH 4/4] API: Improve glue mid-layer of the API demo application.

2009-02-17 Thread Wolfgang Denk
Dear Rafal Jaworowski, In message <12327136393883-git-send-email-...@semihalf.com> you wrote: > - Extend ub_dev_read() and ub_dev_recv() so they return the length actually > read, which allows for better control and error handling (this introduces > additional error code API_ESYSC returned by the

Re: [U-Boot] [PATCH 1/4] API: Use stack pointer as API signature search hint in the glue layer.

2009-02-17 Thread Wolfgang Denk
Dear Rafal Jaworowski, In message <12327136383163-git-send-email-...@semihalf.com> you wrote: > De-hardcode range in RAM we search for the API signature. Instead use the > stack > pointer as a hint to narrow down the range in which the signature could reside > (it is malloc'ed on the U-Boot heap,

Re: [U-Boot] [PATCH 3/4] API: Only output test data when reading was successful.

2009-02-17 Thread Wolfgang Denk
Dear Rafal Jaworowski, In message <12327136381068-git-send-email-...@semihalf.com> you wrote: > Signed-off-by: Rafal Czubak > --- > api_examples/demo.c |8 +--- > 1 files changed, 5 insertions(+), 3 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineeri

Re: [U-Boot] [PATCH 2/4] API: Provide syscall entry point for the ARM architecture.

2009-02-17 Thread Wolfgang Denk
Dear Rafal Jaworowski, In message <12327136383856-git-send-email-...@semihalf.com> you wrote: > Signed-off-by: Rafal Czubak > Acked-by: Rafal Jaworowski > --- > api_examples/Makefile |7 +++ > api_examples/crt0.S | 17 - > lib_arm/board.c |5 + > 3 file

Re: [U-Boot] [PATCH v2] smc911x: split out useful defines/functions into local header

2009-02-17 Thread Wolfgang Denk
Dear Ben, In message <1231259684-22134-1-git-send-email-vap...@gentoo.org> Mike Frysinger wrote: > The smc911x driver has a lot of useful defines/functions which can be used > by pieces of code (such as example eeprom programmers). Rather than > forcing each place to duplicate these defines/func

Re: [U-Boot] [PATCH 2/2] smc911x_eeprom: new example app for managing newer SMC parts

2009-02-17 Thread Wolfgang Denk
Dear Ben, In message <1229932567-10682-2-git-send-email-vap...@gentoo.org> Mike Frysinger wrote: > A forward port of the last version to work with the newer smc911x driver. > I only have a board with a LAN9218 part on it, so that is the only one > I've tested. But there isn't anything in this th

Re: [U-Boot] [PATCH] tsec: report when there is no vendor specific PHY support.

2009-02-17 Thread Wolfgang Denk
Dear Ben, In message <29f2f2fe7e8a340b4bad9db14d2f6d3844cf8964.1228951215.git.paul.gortma...@windriver.com> Paul Gortmaker wrote: > Commit af1c2b84 added a generic phy support, with an ID of zero > and a 32 bit mask; meaning that it will match on any PHY ID. > > The problem is that there is a te

Re: [U-Boot] [PATCH] ADS5121 Add mem config for current rev4 boards

2009-02-17 Thread John Rigby
Wolfgang Denk wrote: > Dear John Rigby, > > In message <1234908276-26381-1-git-send-email-jri...@freescale.com> you wrote: > >> From: Martha Marx >> >> The following configurations are now supported: >> >> ads5121_config >> rev 4.1 boards with Elpida memory >> >> ads5121_rev4m_config >>

Re: [U-Boot] U-boot level MPC8548 Ethernet internal/External Loop backtesting

2009-02-17 Thread Swarthout Edward L-SWARTHOU
From: Ajeesh Kumar > > We have a custom board with MPC8548E processor, please help > me in suggesting/sharing Ethernet Internal/External Loopback > testing code piece. Also any Phy level loop back too. If you have a typical phy and this commit applied, you can use the mii command to put the ph

Re: [U-Boot] [PATCH] ADS5121 Add mem config for current rev4 boards

2009-02-17 Thread Wolfgang Denk
Dear John Rigby, In message <1234908276-26381-1-git-send-email-jri...@freescale.com> you wrote: > From: Martha Marx > > The following configurations are now supported: > > ads5121_config > rev 4.1 boards with Elpida memory > > ads5121_rev4m_config > rev 4 boards with Micron memory

Re: [U-Boot] [PATCH] 7/12 Multiadapter/multibus I2C, drivers part 4

2009-02-17 Thread Wolfgang Denk
Dear k...@koi8.net, In message you wrote: > > What is unreadable in that code? It gets out of control. You don;t see any more how much code gets generated from that. > > This is a boot loader with limited resources, not a general purpose > > OS. > > It doesn't matter. It is much better to have

Re: [U-Boot] MAC address being reset to 00:00:00:00:00:00 ?

2009-02-17 Thread Andy Fleming
2009/2/17 Amit Margalit : >> -Original Message- >> From: Michael Trimarchi [mailto:trimar...@gandalf.sssup.it] >> Sent: ג 17 פברואר 2009 18:40 >> To: Amit Margalit >> Cc: u-boot@lists.denx.de >> Subject: Re: [U-Boot] MAC address being reset to 00:00:00:00:00:00 ? >> >> What's exacly your pr

Re: [U-Boot] MAC address being reset to 00:00:00:00:00:00 ?

2009-02-17 Thread Amit Margalit
> -Original Message- > From: Michael Trimarchi [mailto:trimar...@gandalf.sssup.it] > Sent: ג 17 פברואר 2009 18:40 > To: Amit Margalit > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] MAC address being reset to 00:00:00:00:00:00 ? > > Hi, > > Amit Margalit wrote: > > Hi! > > > > Thanks.

[U-Boot] [PATCH] ADS5121 Add mem config for current rev4 boards

2009-02-17 Thread John Rigby
From: Martha Marx The following configurations are now supported: ads5121_config rev 4.1 boards with Elpida memory ads5121_rev4m_config rev 4 boards with Micron memory ads5121_rev3_config rev3 boards which also have Micron memory but have the older rev silicon

Re: [U-Boot] [PATCH v3] MPC8349ITX: several config issues fixed

2009-02-17 Thread Timur Tabi
On Tue, Feb 17, 2009 at 3:49 PM, Kumar Gala wrote: > The default value is 256M so I don't thing the change is need anymore. Huh? I think his patch is supposed to address the fact that 256MB is the limit, and he wants to add more. -- Timur Tabi Linux kernel developer at Freescale __

Re: [U-Boot] [PATCH 03/30] net: new utility functions for working with enetaddr's

2009-02-17 Thread Mike Frysinger
On Tuesday 17 February 2009 00:10:24 Mike Frysinger wrote: > +int eth_getenv_enetaddr(char *name, uchar *enetaddr) > +{ > + int ret = 0; > + char *addr; > + > + addr = getenv(name); > + if (!addr) > + ret = -1; > + eth_parse_enetaddr(addr, enetaddr); > + > + retu

Re: [U-Boot] [PATCH v3] MPC8349ITX: several config issues fixed

2009-02-17 Thread Kumar Gala
On Feb 17, 2009, at 10:31 AM, Timur Tabi wrote: > On Mon, Feb 16, 2009 at 7:28 PM, Kim Phillips > wrote: >> Configuring for MPC8349ITX board... >> In file included from /home/kim/git/u-boot/include/config.h:5, >>from include/common.h:35: >> /home/kim/git/u-boot/include/configs/MP

Re: [U-Boot] [PATCH] Pad data length for nand write

2009-02-17 Thread Derek Ou
Currently, the nand_util.c does not manipulate NAND flash page by page. It's the nand_base.c provides that level of NAND control. Implementing this properly requires changes to the existing structure. Also, adding "+length" syntax means command interface change as well. Since it's not to the

Re: [U-Boot] [PATCH] Multiadapter/multibus I2C, i2c.h fix

2009-02-17 Thread ksi
On Mon, 16 Feb 2009, Wolfgang Denk wrote: > Dear k...@koi8.net, > > In message you wrote: > > Add missing #endif in include/i2c.h > > > > Signed-off-by: Sergey Kubushyn > > --- > > diff -purN u-boot-i2c.ORIG/include/i2c.h u-boot-i2c/include/i2c.h > > --- u-boot-i2c.ORIG/include/i2c.h 2009-02

Re: [U-Boot] [PATCH] 1/12 Multiadapter/multibus I2C, common part 1, fixed

2009-02-17 Thread ksi
On Mon, 16 Feb 2009, Wolfgang Denk wrote: > Dear k...@koi8.net, > > In message you wrote: > > Initial multiadapter/multibus I2C support. > > > > Signed-off-by: Sergey Kubushyn > > Please start versioning your patches, and make sure it is clear which > parts belong to which series. > > Do not

Re: [U-Boot] [PATCH] 7/12 Multiadapter/multibus I2C, drivers part 4

2009-02-17 Thread ksi
On Mon, 16 Feb 2009, Wolfgang Denk wrote: > Dear Heiko Schocher, > > In message <49992bce.5020...@denx.de> you wrote: > > > > > You can have, e.g. TWO SPD EEPROMs on different busses. And please > > > remember > > > that infamous "640K ought to be enough for anybody..." > > > > OK, if we reall

Re: [U-Boot] [PATCH] 7/12 Multiadapter/multibus I2C, drivers part 4

2009-02-17 Thread ksi
On Mon, 16 Feb 2009, Wolfgang Denk wrote: > Dear k...@koi8.net, > > In message you wrote: > > > > > Yes, good point. But do we need more then one i2c adapter when running > > > from flash? I see only one reason to use i2c when running from flash: > > > accessing SPD EEprom ... and this "bus" co

Re: [U-Boot] [PATCH] 7/12 Multiadapter/multibus I2C, drivers part 4

2009-02-17 Thread ksi
On Mon, 16 Feb 2009, Wolfgang Denk wrote: > Dear k...@koi8.net, > > In message you wrote: > > > > That means you have to make changes in two places instead of one -- config > > file AND $(BOARD).c. Also you use functions instead of macros and you can > > NOT make them inline because they come f

Re: [U-Boot] [PATCH] Pad data length for nand write

2009-02-17 Thread Scott Wood
Derek Ou wrote: > This routine is copied from nand_write_opts() at nand_util.c of v1.3.4. v1.3.4 had its own buffer; it did not use the caller's. > It maybe better > to pad data length and data buffer in do_nand() at cmd_nand.c. Or pass a flag to nand_write_skip_bad(). But I > don't see re

Re: [U-Boot] [PATCH] Pad data length for nand write

2009-02-17 Thread Derek Ou
This routine is copied from nand_write_opts() at nand_util.c of v1.3.4. It maybe better to pad data length and data buffer in do_nand() at cmd_nand.c. But I don't see real difference. I didn't allocate a new buffer since the data length is defined in the command arguments and I have no knowle

Re: [U-Boot] [PATCH] Pad data length for nand write

2009-02-17 Thread Wolfgang Denk
Dear Derek Ou, In message <499b03fd.7050...@siconix.com> you wrote: > > Until v1.3.4, "nand write.jffs2" supports non page-aligned data write and > pad data automatically to page alignment. As a result, we can use the > following scripts to automate downloading a file and writing it to flash. > "

Re: [U-Boot] [PATCH] 9/12 Multiadapter/multibus I2C, configs part 2

2009-02-17 Thread ksi
On Mon, 16 Feb 2009, Wolfgang Denk wrote: > Dear k...@koi8.net, > > In message you wrote: > > Signed-off-by: Sergey Kubushyn > > --- > > diff -purN u-boot-i2c.orig/include/configs/MHPC.h > > u-boot-i2c/include/configs/MHPC.h > > --- u-boot-i2c.orig/include/configs/MHPC.h 2009-02-12 10:43:41.0

[U-Boot] [PATCH v2] Create configuration option for restricted ns16550 functions

2009-02-17 Thread Ron Madrid
This patch will create a configuration option for a minimum configuration for the ns16550 serial driver at drivers/serial/ns16550.c which will exclude all functions with exception of NS16550_putc and NS16550_init. This will be used primarily to save space and remove unused code from builds in whic

Re: [U-Boot] [PATCH] 8/12 Multiadapter/multibus I2C, configs part 1

2009-02-17 Thread ksi
On Mon, 16 Feb 2009, Wolfgang Denk wrote: > Dear k...@koi8.net, > > In message you wrote: > > > > -#define CONFIG_HARD_I2C/* I2C with hardware support*/ > > -#undef CONFIG_SOFT_I2C /* I2C bit-banged */ > > -#define CONFIG_SYS_I2C_SPEED 40 /* I2C speed a

Re: [U-Boot] [PATCH] 7/12 Multiadapter/multibus I2C, drivers part 4

2009-02-17 Thread ksi
On Mon, 16 Feb 2009, Wolfgang Denk wrote: > Dear k...@koi8.net, > > In message you wrote: > > > > +#define I2C_SOFT_SEND_START(n) \ > > +static void send_start##n(void) \ > > +{ \ > > + I2C_SOFT_DECLARATIONS##n \ > > + I2C_DELAY##n; \ > > + I2C_SDA##n(1); \ > > + I2C_ACTIVE##n; \ > > +

Re: [U-Boot] [PATCH] 6/12 Multiadapter/multibus I2C, drivers part 3

2009-02-17 Thread ksi
On Mon, 16 Feb 2009, Wolfgang Denk wrote: > Dear k...@koi8.net, > > In message you wrote: > ... > > +/* I2C registers field definitions */ > > +/* */ > > +/* I2C_CONTROL (R/W) */ > > Incorrect multi-line comment style. Please fix. OK. > > +#define SM501_CHECK_N

[U-Boot] spd_dram.c for mpc83xx broken

2009-02-17 Thread Joakim Tjernlund
The spd code for mpc83xx is so broken it isn't funny. This is what I had to do to get my Micron MT47H64M16-3. This isn't against current u-boot, but it is a start. Jocke PS. Sorry for the attachment, trying to use Lotus Notes as my new E-mail client and I can't find how to insert a f

Re: [U-Boot] [PATCH] 5/12 Multiadapter/multibus I2C, drivers part 2

2009-02-17 Thread ksi
On Mon, 16 Feb 2009, Wolfgang Denk wrote: > Dear k...@koi8.net, > > In message you wrote: > > > ... > > -int i2c_read (uchar chip, uint addr, int alen, uchar * buffer, int len) > > +static int omap1510_i2c_read (uchar chip, uint addr, int alen, uchar * > > buffer, int len) > > { > > int i;

Re: [U-Boot] [PATCH] 2/12 Multiadapter/multibus I2C, common part 2

2009-02-17 Thread ksi
On Mon, 16 Feb 2009, Wolfgang Denk wrote: > Dear k...@koi8.net, > > In message you wrote: > > Signed-off-by: Sergey Kubushyn > > --- > > diff -purN u-boot-i2c.orig/cpu/mpc8xx/video.c u-boot-i2c/cpu/mpc8xx/video.c > > --- u-boot-i2c.orig/cpu/mpc8xx/video.c 2009-02-12 10:43:41.0 > >

Re: [U-Boot] [PATCH 1/1] ARM DaVinci: Add common peripherals andmodules enable functions.

2009-02-17 Thread Hugo Villeneuve
On Sat, 24 Jan 2009 17:16:58 +0100 Jean-Christophe PLAGNIOL-VILLARD wrote: > On 09:56 Mon 19 Jan , Hugo Villeneuve wrote: > > > From: u-boot-boun...@lists.denx.de on behalf of Hugo Villeneuve > > > Sent: Fri 11/21/2008 2:35 PM > > > To: u-boot@lists.denx.de > > > Subject: [U-Boot] [PATCH 1/1]

Re: [U-Boot] Strange data behaviour

2009-02-17 Thread Wolfgang Denk
Dear Remco Poelstra, In message <499aa5b8.7030...@duran-audio.com> you wrote: > > I'm trying to get my LPC2468 based board to work. I've some problems > with the external memory databus. > I would like to know the settings of internal registers to see whether > I've initialized them correctly,

Re: [U-Boot] How to implement starting logo?

2009-02-17 Thread Anatolij Gustschin
Hello, first of all, please reduce the size of lines in your emails to this list to max. 80 characters per line. TIA! lzhmail wrote: > Hi, > I want to display a starting logo on LCD when my custome > board power up, so what shoud I do to achieve this purpose? > The U-Boot version is 1.1.1, th

Re: [U-Boot] [PATCH] Pad data length for nand write

2009-02-17 Thread Scott Wood
On Tue, Feb 17, 2009 at 10:15:07AM -0700, Derek Ou wrote: > + /* Reject writes when offset is not page aligned */ > + if ((offset & (nand->writesize - 1)) != 0 ) { No space before ')'. Better yet, just get rid of the != 0 part. > + /* now, pad data with 0xff */ > + if (page_offse

Re: [U-Boot] [PATCH] Pad data length for nand write

2009-02-17 Thread Scott Wood
Derek Ou wrote: > Sorry that my patch went out twice. I ran into smtp authentication issue > with git-send-email. Also, what is the right way to add more comments > to a patch? Should I edit the patch generated by git-format-patch or I > should just add commit title, blank line and the full comm

Re: [U-Boot] [PATCH] Pad data length for nand write

2009-02-17 Thread Derek Ou
Sorry that my patch went out twice. I ran into smtp authentication issue with git-send-email. Also, what is the right way to add more comments to a patch? Should I edit the patch generated by git-format-patch or I should just add commit title, blank line and the full commit message when I git co

Re: [U-Boot] [PATCH] 3/12 Multiadapter/multibus I2C, boards

2009-02-17 Thread ksi
On Mon, 16 Feb 2009, Wolfgang Denk wrote: > Dear k...@koi8.net, > > In message you wrote: > > > ... > > - if (eeprom_read (dev_addr, 0, i2c_buffer, > > CONFIG_SYS_IVM_EEPROM_MAX_LEN) != 0) { > > - printf ("Error reading EEprom\n"); > > - return -2; > > + if (eeprom_read

Re: [U-Boot] [PATCH] 2/12 Multiadapter/multibus I2C, common part 2

2009-02-17 Thread ksi
On Mon, 16 Feb 2009, Wolfgang Denk wrote: > Dear k...@koi8.net, > > In message you wrote: > > Signed-off-by: Sergey Kubushyn > > --- > > diff -purN u-boot-i2c.orig/cpu/mpc8xx/video.c u-boot-i2c/cpu/mpc8xx/video.c > > --- u-boot-i2c.orig/cpu/mpc8xx/video.c 2009-02-12 10:43:41.0 > >

Re: [U-Boot] [PATCH] 2/12 Multiadapter/multibus I2C, common part 2

2009-02-17 Thread ksi
On Mon, 16 Feb 2009, Wolfgang Denk wrote: > Dear k...@koi8.net, > > In message you wrote: > ... > > diff -purN u-boot-i2c.orig/lib_arm/board.c u-boot-i2c/lib_arm/board.c > > --- u-boot-i2c.orig/lib_arm/board.c 2009-02-12 10:43:41.0 -0800 > > +++ u-boot-i2c/lib_arm/board.c 2009-02-12

Re: [U-Boot] [PATCH] 1/12 Multiadapter/multibus I2C, common part 1

2009-02-17 Thread ksi
On Mon, 16 Feb 2009, Wolfgang Denk wrote: > Dear k...@koi8.net, > > In message you wrote: > > Signed-off-by: Sergey Kubushyn > > --- > > diff -purN u-boot-i2c.orig/common/cmd_date.c u-boot-i2c/common/cmd_date.c > > --- u-boot-i2c.orig/common/cmd_date.c 2009-02-12 10:43:41.0 > > -

Re: [U-Boot] [PATCH] Pad data length for nand write

2009-02-17 Thread Mike Frysinger
On Tuesday 17 February 2009 12:15:06 Derek Ou wrote: > Signed-off-by: Derek Ou could you document what this is actually for ? -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http:/

Re: [U-Boot] [PATCH 08/12] 83xx, kmeter: QE_ENET10 errata for Silicon Revision 2.1

2009-02-17 Thread Scott Wood
On Mon, Feb 16, 2009 at 07:37:20PM -0600, Kim Phillips wrote: > On Wed, 11 Feb 2009 19:26:22 +0100 > Heiko Schocher wrote: > > > + switch (svid) { > > + case 0x0020: > > 'case' should be aligned directly under 'switch'. > > > +++ b/cpu/mpc83xx/start.S > > @@ -137,6 +137,11 @@ get_pv

Re: [U-Boot] MAC address being reset to 00:00:00:00:00:00 ?

2009-02-17 Thread Michael Trimarchi
Hi, Amit Margalit wrote: > Hi! > > Thanks. This solved the issue. I tracked this down and found that I was using > an address that is a multi-cast address and it got rejected. > > Now I wonder why the address isn't being set by U-boot? Any ideas? > What's exacly your problem. I don't understand.

Re: [U-Boot] PCI-E problems on Kilauea board

2009-02-17 Thread Felix Radensky
Stefan Roese wrote: > Hi Felix, > > On Monday 16 February 2009, Felix Radensky wrote: > >> I have several PCI-E related problems on Kilauea board Rev 1.2 >> >> 1. With u-boot v2009.01 and latest git I'm getting machine check >> exception when PCI-E card is plugged into slot 0. There's no >>

[U-Boot] [PATCH] Pad data length for nand write

2009-02-17 Thread Derek Ou
Signed-off-by: Derek Ou --- drivers/mtd/nand/nand_util.c | 25 ++--- 1 files changed, 18 insertions(+), 7 deletions(-) diff --git a/drivers/mtd/nand/nand_util.c b/drivers/mtd/nand/nand_util.c index 6ba52b3..b9d292a 100644 --- a/drivers/mtd/nand/nand_util.c +++ b/drivers/mtd

[U-Boot] [PATCH] Pad data length for nand write

2009-02-17 Thread Derek Ou
Signed-off-by: Derek Ou --- drivers/mtd/nand/nand_util.c | 25 ++--- 1 files changed, 18 insertions(+), 7 deletions(-) diff --git a/drivers/mtd/nand/nand_util.c b/drivers/mtd/nand/nand_util.c index 6ba52b3..b9d292a 100644 --- a/drivers/mtd/nand/nand_util.c +++ b/drivers/mtd

Re: [U-Boot] [PATCH 06/30] net: get mac address from environment and use eth util funcs

2009-02-17 Thread Mike Frysinger
On Tuesday 17 February 2009 11:21:42 Peter Tyser wrote: > On Tue, 2009-02-17 at 00:10 -0500, Mike Frysinger wrote: > > @@ -915,11 +914,7 @@ int CDPSendTrigger(void) > > #ifdef CONFIG_CDP_DEVICE_ID > > *s++ = htons(CDP_DEVICE_ID_TLV); > > *s++ = htons(CONFIG_CDP_DEVICE_ID); > > - memset(b

Re: [U-Boot] [PATCH] TQM85xx: Fix a couple warnings in TQM8548 build

2009-02-17 Thread Wolfgang Grandegger
Jens Gehrlein wrote: > Hi Andy, > > Andy Fleming schrieb: >> The ecm variable in sdram.c was being declared for all 8548, but only >> used by specific 8548 boards, so we make that variable require those >> specific boards, too >> > > [snip] > >> diff --git a/board/tqc/tqm85xx/sdram.c b/board/tqc

Re: [U-Boot] [PATCH v3] MPC8349ITX: several config issues fixed

2009-02-17 Thread Timur Tabi
On Mon, Feb 16, 2009 at 7:28 PM, Kim Phillips wrote: > Configuring for MPC8349ITX board... > In file included from /home/kim/git/u-boot/include/config.h:5, > from include/common.h:35: > /home/kim/git/u-boot/include/configs/MPC8349ITX.h:173:1: warning: > "CONFIG_MAX_MEM_MAPPED" red

Re: [U-Boot] [PATCH 06/30] net: get mac address from environment and use eth util funcs

2009-02-17 Thread Peter Tyser
On Tue, 2009-02-17 at 00:10 -0500, Mike Frysinger wrote: > Signed-off-by: Mike Frysinger > CC: Ben Warren > --- > net/bootp.c | 13 ++--- > net/net.c | 17 + > 2 files changed, 7 insertions(+), 23 deletions(-) > > diff --git a/net/bootp.c b/net/bootp.c > index d1cb

Re: [U-Boot] U-Boot Makefile question

2009-02-17 Thread Mike Frysinger
On Tuesday 17 February 2009 08:43:31 Steven Zedeck wrote: > What does the "-" sign mean before the "$" ? it doesnt mean anything. make allows "-" in variable names as well as many other chars you might not expect. -mike signature.asc Description: This is a digitally signed message part. __

Re: [U-Boot] [PATCH] ppc4xx: Cleanup PMC405 board support

2009-02-17 Thread Matthias Fuchs
On Tuesday 17 February 2009 15:19, Stefan Roese wrote: > On Sunday 15 February 2009, Matthias Fuchs wrote: > > This patch fixes coding style for PMC405 board support. > > Also some unneeded features/code is removed. > > Please find some comments below. > > > Signed-off-by: Matthias Fuchs > > ---

Re: [U-Boot] [PATCH] ppc4xx: Cleanup PMC405 board support

2009-02-17 Thread Stefan Roese
On Tuesday 17 February 2009, Matthias Fuchs wrote: > > I suggest to switch to using the out_be32()/in_be32() accessor functions > > instead. I am aware that many other 4xx boards still use the "wrong" > > accessor functions for initial GPIO configuration. I'll try to change > > this soon. > > You a

Re: [U-Boot] U-Boot Makefile question

2009-02-17 Thread Michael Lawnick
Steven Zedeck said the following: > For example, I'm having problems understanding what this means in a > Makefile: > > COBJS-$(CONFIG_HAS_DATAFLASH) += at45.o > COBJS-$(CONFIG_FLASH_CFI_DRIVER) += cfi_flash.o > COBJS-$(CONFIG_HAS_DATAFLASH) += dataflash.o > COBJS-$(CONFIG_FLASH_CFI_LEGACY) += jed

Re: [U-Boot] PCI-E problems on Kilauea board

2009-02-17 Thread Stefan Roese
On Tuesday 17 February 2009, Felix Radensky wrote: > >> 2. Another problem is that in bootstrap configuration B (CPU - 333 Mhz, > >> PLB 166MHz) > >> PCI-E cards are not recognized in any slot. This happens with all > >> u-boot versions I've > >> tested. Linux also does not recognize PCI-E

Re: [U-Boot] PCI-E problems on Kilauea board

2009-02-17 Thread Felix Radensky
Stefan Roese wrote: > Hi Felix, > > On Monday 16 February 2009, Felix Radensky wrote: > >> I have several PCI-E related problems on Kilauea board Rev 1.2 >> >> 1. With u-boot v2009.01 and latest git I'm getting machine check >> exception when PCI-E card is plugged into slot 0. There's no >>

Re: [U-Boot] MAC address being reset to 00:00:00:00:00:00 ?

2009-02-17 Thread Amit Margalit
Hi! Thanks. This solved the issue. I tracked this down and found that I was using an address that is a multi-cast address and it got rejected. Now I wonder why the address isn't being set by U-boot? Any ideas? Thanks, Amit Margalit | SW Team Leader Siverge Networks Ltd 5 Maskit st. Herzelia P

Re: [U-Boot] [PATCH] ppc4xx: Cleanup PMC405 board support

2009-02-17 Thread Stefan Roese
On Sunday 15 February 2009, Matthias Fuchs wrote: > This patch fixes coding style for PMC405 board support. > Also some unneeded features/code is removed. Please find some comments below. > Signed-off-by: Matthias Fuchs > --- > board/esd/pmc405/pmc405.c | 95 --- > include/configs

[U-Boot] How to implement starting logo?

2009-02-17 Thread lzhmail
Hi, I want to display a starting logo on LCD when my custome board power up, so what shoud I do to achieve this purpose? The U-Boot version is 1.1.1, the processor is AT91RM9200, and the display controller is SAMSUNG S1D13506. should I implement framebuffer driver for the display controller?

Re: [U-Boot] PCI-E problems on Kilauea board

2009-02-17 Thread Stefan Roese
Hi Felix, On Monday 16 February 2009, Felix Radensky wrote: > I have several PCI-E related problems on Kilauea board Rev 1.2 > > 1. With u-boot v2009.01 and latest git I'm getting machine check > exception when PCI-E card is plugged into slot 0. There's no > problem if the same card is pl

[U-Boot] U-Boot Makefile question

2009-02-17 Thread Steven Zedeck
Hi all, I am new to u-boot. But I am ramping up pretty fast. My primary issue is understanding the Makefile syntax. Is there a good tutorial somewhere that explains how u-boot uses the Makefiles and their syntax? For example, I'm having problems understanding what this means in a Makefile: COBJS

Re: [U-Boot] [PATCH 22/27] pcs440ep: get mac address from environment and move load_sernum_ethaddr() to board init

2009-02-17 Thread Stefan Roese
On Tuesday 17 February 2009, Wolfgang Denk wrote: > > > Well, there is a very small number of boards. Why cannot we have this > > > change in one step, in one commit? Adding empty functions just to > > > remove them later seems sub-optimal to me. > > > > in my mind, what i did is more logical. i'l

[U-Boot] Use of Netconsole

2009-02-17 Thread Piyush Shah
Hi all, I had read somewhere that if, while using netconsole, we dont set ncip, the messages are broadcast. In that case, if I send commands to my target (where u-boot is running) from my Linux host, since ncip is not set, will it accept them? If not, what am I supposed to do? My requirement is th

Re: [U-Boot] [PATCH] 0/12 Multiadapter/multibus I2C

2009-02-17 Thread Wolfgang Denk
Dear k...@koi8.net, In message you wrote: > > > It is not an unsolvable problem. We do have the global data structure, > > and it has been (mis-) used for worse purposes before. > > Not so fast... And remember, there are other similar interfaces that are > waiting in the line (e.g. SPI...) So

  1   2   >