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

2009-07-17 Thread rhabarber1848
Wolfgang Denk wrote in news:20090716211129.e9241832e...@gemini.denx.de: > Maybe lzmaBuffToBuffDecompress() stores an incorrect value in unc_len? Hi, this is correct, the unpatched version of lib_generic/lzma/LzmaTools.c has this code in line 137: *uncompressedSize = outProcessed; I added th

[U-Boot] [PATCH] Add warning about upcoming removal of old Ethernet API

2009-07-17 Thread Ben Warren
Signed-off-by: Ben Warren --- net/eth.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/net/eth.c b/net/eth.c index 3d93966..8e1d692 100644 --- a/net/eth.c +++ b/net/eth.c @@ -500,6 +500,8 @@ char *eth_get_name (void) } #elif defined(CONFIG_CMD_NET) && !defined(CONFIG_

Re: [U-Boot] No reply to USB related questions

2009-07-17 Thread Michael Trimarchi
Hi, Dushara Jayasinghe wrote: > Hi, > > I've posted a few questions to the list for which I didn't get any response. > > http://www.mail-archive.com/u-boot@lists.denx.de/msg17801.html > > Please let me know if I'm breaking in ML rules and I'll change my evil ways > :-) > I think that you can

Re: [U-Boot] No reply to USB related questions

2009-07-17 Thread Matthias Fuchs
Hi Dushara, you posted your question just seven hours ago! A huge part of the u-boot community is typically in bed at the time you posted. Not everybody is in your timezone. I wrote this email within the first 20 mintues after I arrived at my desk this morning. Perhaps we should introduce a u-boo

Re: [U-Boot] [PATCH] nand: fixed failed reads on corrected ECC errors in nand_util.c

2009-07-17 Thread Valeriy Glushkov
Hi Scott, >> if (len_incl_bad == *length) { >> rval = nand_read (nand, offset, length, buffer); >> - if (rval != 0) >> - printf ("NAND read from offset %llx failed %d\n", >> - offset, rval); >> - >> + if (!rval || rval == -EUCLEAN) >> + return 0; >> + printf ("NAND read from offset %llx failed %d

Re: [U-Boot] [PATCH 2/6] S5PC100: SMDKC100 Board support

2009-07-17 Thread Minkyu Kang
2009/7/11 Wolfgang Denk : > Dear HeungJun Kim, > > In message <350d1ec30906250108q5949e337neb54520d6773f...@mail.gmail.com> you > wrote: >> This patch initializes DRAM memory, OneNAND, & Board specific functions. >> Also, it includes SMDKC100 configuration file & modification of Makefile. >> >> Si

Re: [U-Boot] [PATCH 1/3] factor out common code for matrix vision boards

2009-07-17 Thread André Schwarz
On Thu, 2009-07-16 at 22:54 +0200, Wolfgang Denk wrote: > Dear =?ISO-8859-1?Q?Andr=E9?= Schwarz, > > In message <1245678391.3867.11.ca...@swa-m460> you wrote: > > > > factor out common code for Matrix Vision based boards. > > > > Signed-off-by: Andre Schwarz > > --- > > board/matrix_vision/com

Re: [U-Boot] USB not working with 4.3.2 gcc compiler in u-boot 1.1.5

2009-07-17 Thread Virupax SS
Thanks You are correct if i use u-boot 1.3.0 with this 4.3.2 compiler, usb works fine. we have done a lot of customization on u-boot 1.1.5 and it will take a lot of time to do those changes to the new u-boot 1.3.0. can u please tell me what compiler related change is done in the new u-boot

[U-Boot] [PATCH v1] usb: bugfix driver/usb/host/ehci-hcd.c function ehci_submit_root

2009-07-17 Thread Prafulla Wadaskar
This change is cheked in Linux source and fix found to be in sync. This patch is tested for USB host interface on Kirkwood based Sheevaplug platform (ARM little endian board) Risk: the impact of this patch is not validated on big endian board. This need to be checked... Signed-off-by: Prafulla Wa

[U-Boot] [PATCH] Add "cpu_config" command for PPC4xx bootstrap configuration

2009-07-17 Thread Stefan Roese
From: Dirk Eibach This patch adds a generic command for programming I2C bootstrap eeproms on PPC4xx. An implementation for Canyonlands board is included. The command name is intentionally chosen not to be PPC4xx specific. This way other CPU's/SoC's can implement a similar command under the same

Re: [U-Boot] [PATCH] Add "cpu_config" command for PPC4xx bootstrap configuration

2009-07-17 Thread Stefan Roese
On Friday 17 July 2009 11:26:03 Stefan Roese wrote: > From: Dirk Eibach Sorry, but this "From: Dirk..." slipped in by accident. Dirk has provided some parts of this framework, but the real command is more complete rewrite from myself. I kept Dirk's Copyright's in the header, but this patch vers

Re: [U-Boot] [PATCH] Add "cpu_config" command for PPC4xx bootstrap configuration

2009-07-17 Thread Eibach, Dirk
> Dirk, if you like I can add you s-o-b to the next patch > version, since you contributed to this code as well. Just let me know. Sure, you can list me as s-o-b. Cheers Dirk ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/

Re: [U-Boot] No reply to USB related questions

2009-07-17 Thread Wolfgang Denk
Dear Dushara Jayasinghe, In message you wrote: > > I've posted a few questions to the list for which I didn't get any response. Your posting is less than 24 hours old, and you did not pay your premium support contract fee yet. See http://catb.org/esr/faqs/smart-questions.html Best regards,

Re: [U-Boot] No reply to USB related questions

2009-07-17 Thread Wolfgang Denk
Dear Matthias Fuchs, In message <200907171009.18303.matthias.fu...@esd.eu> you wrote: > > Perhaps we should introduce a u-boot callcenter :-) Feel free to send your questions to supp...@denx.de ; please mark if you want premium support so we can charge premium rates, too. Best regards, Wolfgan

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

2009-07-17 Thread Wolfgang Denk
Dear rhabarber1848, In message you wrote: > > this is correct, the unpatched version of lib_generic/lzma/LzmaTools.c > has this code in line 137: > > *uncompressedSize = outProcessed; > > I added the same code to the lzma465 patch and it works for me: Aha! > Attached you will find a patch whi

Re: [U-Boot] USB not working with 4.3.2 gcc compiler in u-boot 1.1.5

2009-07-17 Thread Wolfgang Denk
Dear Virupax SS, In message you wrote: > > You are correct if i use u-boot 1.3.0 with this 4.3.2 compiler, usb works > fine. Good. Note that U-Boot 1.3.0 is very, very old, too. > we have done a lot of customization on u-boot 1.1.5 and it will take a lot > of time to do those changes to the

[U-Boot] USB Device Port not working in MPC8280 PowerPC

2009-07-17 Thread Gurumurthy Gowdar
Dear All, am facing problem on writing USB device port driver for MPC8280,when i connect it to the host PC through USB cable .device descriptor is happening host is setting the address but device configuration is not happening properly...it hangs there in USB b

Re: [U-Boot] [PATCH] Add "cpu_config" command for PPC4xx bootstrap configuration

2009-07-17 Thread Wolfgang Denk
Dear Stefan Roese, In message <1247822763-20761-1-git-send-email...@denx.de> you wrote: > From: Dirk Eibach > > This patch adds a generic command for programming I2C bootstrap > eeproms on PPC4xx. An implementation for Canyonlands board is > included. > > The command name is intentionally chose

Re: [U-Boot] [PATCH 4/7] mxc_nand: add nand driver for MX2/MX3

2009-07-17 Thread Ilya Yanok
Hi Scott, please review the updated patch (will be posted as a follow-up). Scott Wood wrote: > Please look at drivers/mtd/nand/mpc5121_nfc.c, which AFAICT is very > similar hardware, and see if anything can be factored out into common > code, and try to keep the rest looking the same except where

Re: [U-Boot] USB Device Port not working in MPC8280 PowerPC

2009-07-17 Thread Wolfgang Denk
Dear Gurumurthy Gowdar, In message you wrote: > > am facing problem on writing USB > device port driver for MPC8280,when i connect it to the host PC through USB > cable .device descriptor is happening host is setting the address but device > configuration is

[U-Boot] [PATCH] mxc_nand: add nand driver for MX2/MX3

2009-07-17 Thread Ilya Yanok
Driver for NFC NAND controller found on Freescale's MX2 and MX3 processors. Ported from Linux. Tested only with i.MX27 but should works with other MX2 and MX3 processors too. Signed-off-by: Ilya Yanok --- drivers/mtd/nand/Makefile |1 + drivers/mtd/nand/mxc_nand.c | 902 ++

[U-Boot] [PATCH] fec_mxc: driver for FEC ethernet controller on i.MX27

2009-07-17 Thread Ilya Yanok
Signed-off-by: Ilya Yanok --- cpu/arm926ejs/mx27/generic.c | 10 + drivers/net/Makefile |1 + drivers/net/fec_mxc.c| 742 ++ drivers/net/fec_mxc.h| 304 + include/netdev.h |1 + 5 files changed

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

2009-07-17 Thread Ilya Yanok
This patch adds support for i.MX27-LITEKIT development board from LogicPD. This board uses i.MX27 SoC and has 2MB NOR flash, 64MB NAND flash, FEC ethernet controller integrated into i.MX27. Signed-off-by: Ilya Yanok --- MAINTAINERS |1 + MAKEALL

[U-Boot] [PATCH] mx27: rename fec_imx27 to fec_mxc

2009-07-17 Thread Ilya Yanok
Signed-off-by: Ilya Yanok --- cpu/arm926ejs/mx27/generic.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cpu/arm926ejs/mx27/generic.c b/cpu/arm926ejs/mx27/generic.c index b377fad..cbb6c85 100644 --- a/cpu/arm926ejs/mx27/generic.c +++ b/cpu/arm926ejs/mx27/generic.c @@

[U-Boot] [PATCH] jffs2: some fixes to summary support

2009-07-17 Thread Ilya Yanok
This patch fixes some issues with JFFS2 summary support in U-Boot. 1/ Summary support made compilation configurable (as summary support considered expiremental even in Linux). 2/ Summary code can do unaligned 16-bit and 32-bit memory accesses. We need to get data byte by byte to exclude data aborts

Re: [U-Boot] [PATCH] Add "cpu_config" command for PPC4xx bootstrap configuration

2009-07-17 Thread Stefan Roese
Hi Wolfgang, On Friday 17 July 2009 12:45:01 Wolfgang Denk wrote: > > => cpu_config > > Available configurations: > > 600-nor - NOR CPU: 600 PLB: 200 OPB: 100 EBC: 100 > > 600-nand- NAND CPU: 600 PLB: 200 OPB: 100 EBC: 100 > > 800-nor - NOR CPU: 800 PLB: 200 OPB: 100 E

Re: [U-Boot] USB Device Port not working in MPC8280 PowerPC

2009-07-17 Thread Gurumurthy Gowdar
U-boot 1.3.1 ELDK 4.2 currently debugging in Code Warrior IDE. i have taken device port code from u-boot i.e mpc8xx_udc.c & modified to suit mpc8280. With Regards, Gurumurthy On Fri, Jul 17, 2009 at 4:22 PM, Wolfgang Denk wrote: > Dear Gurumurthy Gowdar, > > In message > you wrote: > > > >

Re: [U-Boot] [PATCH] Add "cpu_config" command for PPC4xx bootstrap configuration

2009-07-17 Thread Wolfgang Denk
Dear Stefan Roese, In message <200907171313.37259...@denx.de> you wrote: > > > Why are the lines indented by one space? > > It was this way in the original bootstrap version. I can remove it if you > prefer. Please do. > > Would it be possible to also mark the current setting in this output?

Re: [U-Boot] USB Device Port not working in MPC8280 PowerPC

2009-07-17 Thread Wolfgang Denk
Dear Gurumurthy Gowdar, please do not top-post / full-quote. Make sure to read http://www.netmeister.org/news/learn2quote.html In message you wrote: > > U-boot 1.3.1 How about updating to current code? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk &

Re: [U-Boot] [PATCH] Add "cpu_config" command for PPC4xx bootstrap configuration

2009-07-17 Thread Stefan Roese
On Friday 17 July 2009 13:20:17 Wolfgang Denk wrote: > > > Would it be possible to also mark the current setting in this output? > > > Like printing an asterisk befor or after it? > > > > No. Currently the implementation only checks strings and has no idea of > > frequencies. Also, not only PLL fre

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

2009-07-17 Thread Detlev Zundel
Hi Scott, >> > You could even make it a weak symbol that stays at NULL, so any attempt >> > to call it will trap that way (assuming NULL pointers are trapped in >> > U-Boot on that architecture...). >> >> As you know, they are not. > > If you're happy with not making it debuggable, then there's

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

2009-07-17 Thread Wolfgang Denk
Dear Detlev Zundel, In message you wrote: > > I also think that making our lifes easier is a very good thing. Our > "it's only a bootloader" codebase is pretty complex already so I welcome > making it more robust. I was kind of surprised the other day that > null-pointer jumps(*) did not resul

Re: [U-Boot] [PATCH] Add "cpu_config" command for PPC4xx bootstrap configuration

2009-07-17 Thread Wolfgang Denk
Dear Stefan Roese, In message <200907171326.25645...@denx.de> you wrote: > > > But would it not be useful to be able to detect any "illegal" > > settings, for example resulting from accidentyial corruption of the > > EEPROM data? > > I don't understand this. How should the code detect a

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

2009-07-17 Thread Wolfgang Denk
Dear Detlev, In message <20090717113714.4bf10832e...@gemini.denx.de> I wrote: > > Well, what do you suggest? remember for example that booting a Linux > kernel means jumping to it's entry point address - which happens to > be 0 - or is this NULL ? How do you detemine the difference? ... at le

Re: [U-Boot] [PATCH] Add "cpu_config" command for PPC4xx bootstrap configuration

2009-07-17 Thread Stefan Roese
On Friday 17 July 2009 13:40:50 Wolfgang Denk wrote: > > > But would it not be useful to be able to detect any "illegal" > > > settings, for example resulting from accidentyial corruption of the > > > EEPROM data? > > > > I don't understand this. How should the code detect an "illegal" se

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

2009-07-17 Thread rhabarber1848
Wolfgang Denk wrote: > Keep the update of the lzma code and the > watchdog stuff separated in two patches - and use git-format-patch to > create and git-send-email to post the patches, please. Hi, please forgive me when I am posting the patches again as binary attachments (hopefully now readable

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

2009-07-17 Thread Robin Getz
On Thu 16 Jul 2009 12:56, Ben Warren pondered: > Mike Frysinger wrote: > > On Monday 13 July 2009 16:19:51 Robin Getz wrote: > > > >> + CONFIG_KEEP_SERVERADDR > >> + > >> + Keeps the server's MAC address, in the env 'serveraddr' > >> + for passing to bootargs (like Lin

[U-Boot] [PATCH v4] ppc4xx: Add DL-Vision 405EP board support

2009-07-17 Thread Dirk Eibach
Board support for the Guntermann & Drunck DL-Vision. Signed-off-by: Dirk Eibach --- Changes since v1: - whitespace cleanup Changes since v2: - added include to board/gdsys/dlvision/dlvision.c - added missing return statement to misc_init_r() Changes since v3: - fix initialization of GPIO5 MA

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

2009-07-17 Thread Wolfgang Denk
Dear rhabarber1848, In message you wrote: > > please forgive me when I am posting the patches again as binary attachments > (hopefully now readable) as I do not use git here. Pleas einclude the patch description (= commit message) with the patch. And make sure to add your Signed-off-by: lines.

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

2009-07-17 Thread Wolfgang Denk
Dear Robin Getz, In message <200907170753.53732.rg...@blackfin.uclinux.org> you wrote: > On Thu 16 Jul 2009 12:56, Ben Warren pondered: > > Mike Frysinger wrote: > > > On Monday 13 July 2009 16:19:51 Robin Getz wrote: > > > > > >> +CONFIG_KEEP_SERVERADDR > > >> + > > >> +

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

2009-07-17 Thread Jerry Van Baren
Wolfgang Denk wrote: > Dear Brent Cook, > > In message <200907161744.51888.bc...@bpointsys.com> you wrote: >> This is hilarious, though I am curious what the real-world analog to >> 'return 0;' is :) > > This depends on the caller's context. In case of hobby projects it > usually means be_happy(

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

2009-07-17 Thread Alessandro Rubini
> watchdog.diff > reset watchdog timer to avoid reboot during decompression on slow machines. Actually, you don't need all these ifdef, that clutter the code. watchdog.h already include this: /* * No hardware or software watchdog. */

[U-Boot] [PATCH v2] Add "cpu_config" command for PPC4xx bootstrap configuration

2009-07-17 Thread Stefan Roese
This patch adds a generic command for programming I2C bootstrap eeproms on PPC4xx. An implementation for Canyonlands board is included. The command name is intentionally chosen not to be PPC4xx specific. This way other CPU's/SoC's can implement a similar command under the same name, perhaps with a

[U-Boot] [U-boot][PATCH][1 of 2] AMCC ppc4xx /PLLOUTB/CPU clock/ Default bootstrap options A, B, C, D

2009-07-17 Thread Rupjyoti Sarmah
Unstable 440EPx operation due to default bootsrtap options settings. The 440EPx fixed bootstrap options A,B,C,D sets PLL FWDVA to a value 1 that results PLLOUTB being greater than the CPU clock frequency. This results unstable 440EPx operation causing hang conditions. This is a patch fixing this p

[U-Boot] PATCH

2009-07-17 Thread André Schwarz
This patch adds common code usable for all Matrix Vision boards. Signed-off-by: André Schwarz --- board/matrix_vision/common/Makefile| 54 ++ board/matrix_vision/common/mv_common.c | 125 board/matrix_vision/common/mv_common.h | 25 +++

[U-Boot] [PATCH] cmd_i2c: bugfix: add missing brace

2009-07-17 Thread Alessandro Rubini
From: Alessandro Rubini The sub-command parser missed a brace, so "return 0;" is always taken and no error message is diplayed if you say "i2c scan" instead of "i2c probe", for example. Proper brace is added. Also, a misleading and unneeded else is removed. Signed-off-by: Alessandro Rubini ---

[U-Boot] [PATCH 1/2] update config for mvBC-P (MPC5200)

2009-07-17 Thread André Schwarz
This patch adds I2C support for mvBC-P and defines flash layout matching the shipped product. Signed-off-by: André Schwarz --- include/configs/MVBC_P.h | 14 -- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/include/configs/MVBC_P.h b/include/configs/MVBC_P.h inde

[U-Boot] [PATCH 2/2] use common code for mvBC-P (MPC5200)

2009-07-17 Thread André Schwarz
This patch makes use of common code, i.e. removes duplicate board specific code. Additionally some hard coded numbers have been replace by definitions and an configurable PCI latency has been added. Signed-off-by: André Schwarz --- board/matrix_vision/mvbc_p/mvbc_p.c | 94 +--

[U-Boot] [PATCH 1/2] update config for mvBL-M7 (MPC8343)

2009-07-17 Thread André Schwarz
This patch fixes DDR-II settings and adds I2C support. Signed-off-by: André Schwarz --- include/configs/MVBLM7.h | 48 - 1 files changed, 21 insertions(+), 27 deletions(-) diff --git a/include/configs/MVBLM7.h b/include/configs/MVBLM7.h index ac8c

Re: [U-Boot] [U-boot][PATCH][1 of 2] AMCC ppc4xx /PLLOUTB/CPU clock/ Default bootstrap options A, B, C, D

2009-07-17 Thread Stefan Roese
Hi Rupjyoti Sarmah, On Friday 17 July 2009 14:41:21 Rupjyoti Sarmah wrote: > Unstable 440EPx operation due to default bootsrtap options settings. > The 440EPx fixed bootstrap options A,B,C,D sets PLL FWDVA > to a value 1 that results PLLOUTB being greater than the CPU clock > frequency. This resul

[U-Boot] [PATCH 2/2] use common code for mvBL-M7 (MPC8343)

2009-07-17 Thread André Schwarz
This patch makes use of common code, i.e. removes duplicate board specific code. Fix wrong GPIO direction. Signed-off-by: André Schwarz --- Kim, please note that this patch depends on WD applying the "add common code" patch. Cheers, André board/matrix_vision/mvblm7/mvblm7.c | 54 +

Re: [U-Boot] [PATCH v2] Add "cpu_config" command for PPC4xx bootstrap configuration

2009-07-17 Thread Wolfgang Denk
Dear Stefan Roese, In message <1247834006-3005-1-git-send-email...@denx.de> you wrote: > This patch adds a generic command for programming I2C bootstrap > eeproms on PPC4xx. An implementation for Canyonlands board is > included. > > The command name is intentionally chosen not to be PPC4xx specif

Re: [U-Boot] PATCH

2009-07-17 Thread Wolfgang Denk
Dear =?ISO-8859-1?Q?Andr=E9?= Schwarz, In message <1247834498.3953.34.ca...@swa-m460> you wrote: > This patch adds common code usable for all Matrix Vision boards. > > Signed-off-by: Andr=C3=A9 Schwarz > --- > > board/matrix_vision/common/Makefile| 54 ++ > board/matrix_visio

Re: [U-Boot] [PATCH 2/2] use common code for mvBC-P (MPC5200)

2009-07-17 Thread Wolfgang Denk
Dear =?ISO-8859-1?Q?Andr=E9?= Schwarz, In message <1247836062.3953.61.ca...@swa-m460> you wrote: > This patch makes use of common code, i.e. removes > duplicate board specific code. Additionally some hard > coded numbers have been replace by definitions and an > configurable PCI latency has been a

Re: [U-Boot] [PATCH 2/2] use common code for mvBL-M7 (MPC8343)

2009-07-17 Thread Wolfgang Denk
Dear =?ISO-8859-1?Q?Andr=E9?= Schwarz, In message <1247836512.3953.70.ca...@swa-m460> you wrote: > This patch makes use of common code, i.e. removes duplicate board > specific code. > Fix wrong GPIO direction. Please split this in two patches, and fold the "use common code" part into the "add com

Re: [U-Boot] [PATCH] ARM Cortex A8: Move OMAP3 specific reset handler to OMAP3 code

2009-07-17 Thread Dirk Behme
Minkyu Kang wrote: > Dear Jean and Dirk, > >> cpu/arm_cortexa8/omap3/lowlevel_init.S | 12 >> cpu/arm_cortexa8/start.S | 14 -- >> 2 files changed, 12 insertions(+), 14 deletions(-) >> >> Index: u-boot-arm/cpu/arm_cortexa8/omap3/lowle

[U-Boot] Pull request: u-boot-video

2009-07-17 Thread Anatolij Gustschin
Dear Wolfgang, The following changes since commit bfadb17f69c256196620c32164775f063a59c34f: Anton Vorontsov (1): mpc83xx: MPC837xEMDS: Use hwconfig instead of pci_external_arbiter variable are available in the git repository at: git://git.denx.de/u-boot-video.git master Anatolij Gu

[U-Boot] [PATCH v3] Add "cpu_config" command for PPC4xx bootstrap configuration

2009-07-17 Thread Stefan Roese
This patch adds a generic command for programming I2C bootstrap eeproms on PPC4xx. An implementation for Canyonlands board is included. The command name is intentionally chosen not to be PPC4xx specific. This way other CPU's/SoC's can implement a similar command under the same name, perhaps with a

[U-Boot] [PATCH v2] create and use common code for Matrix Vision boards

2009-07-17 Thread André Schwarz
This patch adds and uses common code for all Matrix Vision boards. Signed-off-by: André Schwarz --- board/matrix_vision/common/Makefile| 54 ++ board/matrix_vision/common/mv_common.c | 125 board/matrix_vision/common/mv_common.h | 25 +

Re: [U-Boot] [PATCH] fec_mxc: driver for FEC ethernet controller on i.MX27

2009-07-17 Thread Ben Warren
Hi Ilya, On Fri, Jul 17, 2009 at 3:57 AM, Ilya Yanok wrote: > Signed-off-by: Ilya Yanok > --- > cpu/arm926ejs/mx27/generic.c | 10 + > drivers/net/Makefile |1 + > drivers/net/fec_mxc.c| 742 > ++ > drivers/net/fec_mxc.h|

Re: [U-Boot] [PATCH 1/2] update config for mvBL-M7 (MPC8343)

2009-07-17 Thread Heiko Schocher
Hello André, André Schwarz wrote: > This patch fixes DDR-II settings and adds I2C support. > > > Signed-off-by: André Schwarz > --- > > include/configs/MVBLM7.h | 48 > - > 1 files changed, 21 insertions(+), 27 deletions(-) > > diff --git a/inclu

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

2009-07-17 Thread Piotr Zięcik
Wednesday 15 July 2009 18:09:30 Mike Frysinger napisał(a): > > CONFIG_API worked fine for ARM builds some time ago, and this breakage > > seems like a recent development. > > or, it still works fine if your toolchain doesnt suck and isnt broken > -mike I have done some research and mike is right.

[U-Boot] Net patches and the merge window

2009-07-17 Thread Ben Warren
Hello, The merge window for release 2009.08 is scheduled to close in 2 days. I'll very soon be going away for the weekend and probably won't have internet access until after the merge window closes. As long as the first spin of a network-related patch is posted by the end of Sunday, California ti

Re: [U-Boot] [PATCH 1/2] update config for mvBL-M7 (MPC8343)

2009-07-17 Thread André Schwarz
Heiko, this patch is no longer valid since I already posted v2. But your comments are correct ... Will wait for WD's comments and send v3. Regards, André On Fri, 2009-07-17 at 16:15 +0200, Heiko Schocher wrote: > Hello André, > > André Schwarz wrote: > > This patch fixes DDR-II settings and

Re: [U-Boot] [PATCH 1/2] update config for mvBL-M7 (MPC8343)

2009-07-17 Thread Heiko Schocher
Hello André, André Schwarz wrote: > Heiko, > > this patch is no longer valid since I already posted v2. Ah, ok. > But your comments are correct ... > > Will wait for WD's comments and send v3. OK, one more minor comment ... > On Fri, 2009-07-17 at 16:15 +0200, Heiko Schocher wrote: >> Hello

[U-Boot] [PATCH] api: Fix broken build on ARM.

2009-07-17 Thread Piotr Ziecik
This patch fixes broken build introduced by commit 84bf7ca522e94ec402a1264b01971b924b7e268f (api: remove un-needed ifdef CONFIG_API already handle by the Makefile). Signed-off-by: Piotr Ziecik --- api/api_platform-arm.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/ap

Re: [U-Boot] [PATCH v3] Add "cpu_config" command for PPC4xx bootstrap configuration

2009-07-17 Thread Wolfgang Denk
Dear Stefan Roese, In message <1247838836-20340-1-git-send-email...@denx.de> you wrote: > This patch adds a generic command for programming I2C bootstrap > eeproms on PPC4xx. An implementation for Canyonlands board is > included. > > The command name is intentionally chosen not to be PPC4xx speci

Re: [U-Boot] [PATCH 1/2] update config for mvBL-M7 (MPC8343)

2009-07-17 Thread André Schwarz
On Fri, 2009-07-17 at 16:32 +0200, Heiko Schocher wrote: > Hello André, > > André Schwarz wrote: > > Heiko, > > > > this patch is no longer valid since I already posted v2. > > Ah, ok. > > > But your comments are correct ... > > > > Will wait for WD's comments and send v3. > > OK, one more mi

Re: [U-Boot] [PATCH 1/2] update config for mvBL-M7 (MPC8343)

2009-07-17 Thread Wolfgang Denk
Dear =?ISO-8859-1?Q?Andr=E9?= Schwarz, In message <1247840636.3953.78.ca...@swa-m460> you wrote: > > > > +#define CONFIG_MISC_INIT_R > > > > So misc_init_r () gets called, but I didn;t find this in your > > patch? May I miss something ... > > It's included in the other "common code" patch. You m

Re: [U-Boot] [PATCH v3] Add "cpu_config" command for PPC4xx bootstrap configuration

2009-07-17 Thread Stefan Roese
On Friday 17 July 2009 16:39:35 Wolfgang Denk wrote: > Acked-by: Wolfgang Denk > > > Stefan, as this is mostly 4xx-related I suggest you run this through > the ppc_4xx repo. OK, will do. Thanks. Best regards, Stefan = DENX Soft

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

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

Re: [U-Boot] [PATCH 1/2] update config for mvBL-M7 (MPC8343)

2009-07-17 Thread André Schwarz
On Fri, 2009-07-17 at 16:44 +0200, Wolfgang Denk wrote: > Dear =?ISO-8859-1?Q?Andr=E9?= Schwarz, > > In message <1247840636.3953.78.ca...@swa-m460> you wrote: > > > > > > +#define CONFIG_MISC_INIT_R > > > > > > So misc_init_r () gets called, but I didn;t find this in your > > > patch? May I miss

[U-Boot] [PATCH v3] create and use common code for Matrix Vision boards

2009-07-17 Thread André Schwarz
This patch adds and uses common code for all Matrix Vision boards. Signed-off-by: André Schwarz --- Heiko's comments have been addressed and common/mv_common.h has been included where needed. board/matrix_vision/common/Makefile| 54 ++ board/matrix_vision/common/mv_common.c

Re: [U-Boot] [PATCH] mx27: rename fec_imx27 to fec_mxc

2009-07-17 Thread Wolfgang Denk
Dear Ilya Yanok, In message <1247828504-9806-1-git-send-email-ya...@emcraft.com> you wrote: > > Signed-off-by: Ilya Yanok > --- > cpu/arm926ejs/mx27/generic.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/cpu/arm926ejs/mx27/generic.c b/cpu/arm926ejs/mx27/generi

[U-Boot] [PATCH 1/4] 86xx: Rename ccsr_ddr's sdram_mode_1, sdram_cfg_1 fields

2009-07-17 Thread Peter Tyser
Rename sdram_mode_1 to sdram_mode and sdram_cfg_1 to sdram_cfg to match the 86xx user's manual and other Freescale architectures Signed-off-by: Peter Tyser --- board/freescale/mpc8610hpcd/mpc8610hpcd.c |4 ++-- board/freescale/mpc8641hpcn/mpc8641hpcn.c |6 +++--- board/sbc8641d/sbc8641d.

[U-Boot] [PATCH 4/4] 85xx, 86xx: Add common board_add_ram_info()

2009-07-17 Thread Peter Tyser
Previously, 85xx and 86xx boards would display DRAM information on bootup such as: ... I2C: ready DRAM: Memory controller interleaving enabled: Bank interleaving! 2 GB FLASH: 256 MB ... This patch moves the printing of the DRAM controller configuration to a common board_add_ram_info() function

[U-Boot] [PATCH 3/4] tqm85xx: Remove board_add_ram_info()

2009-07-17 Thread Peter Tyser
This is in preparation for adding one common 8xxx board_add_ram_info() function for all 8xxx boards Signed-off-by: Peter Tyser --- board/tqc/tqm85xx/sdram.c | 33 +++-- 1 files changed, 3 insertions(+), 30 deletions(-) diff --git a/board/tqc/tqm85xx/sdram.c b/board

[U-Boot] [PATCH 2/4] xes: Remove 8xxx board_add_ram_info() function

2009-07-17 Thread Peter Tyser
This is in preparation for adding one common 8xxx board_add_ram_info() fuction for all 8xxx boards Signed-off-by: Peter Tyser --- board/xes/common/fsl_8xxx_ddr.c | 53 --- 1 files changed, 0 insertions(+), 53 deletions(-) diff --git a/board/xes/common/fsl_8

Re: [U-Boot] [PATCH] mx27: rename fec_imx27 to fec_mxc

2009-07-17 Thread Ilya Yanok
Hi Wolfgang, Wolfgang Denk wrote: >> Signed-off-by: Ilya Yanok >> --- >> cpu/arm926ejs/mx27/generic.c |2 +- >> 1 files changed, 1 insertions(+), 1 deletions(-) >> >> diff --git a/cpu/arm926ejs/mx27/generic.c b/cpu/arm926ejs/mx27/generic.c >> index b377fad..cbb6c85 100644 >> --- a/cpu/arm926

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

2009-07-17 Thread Scott Wood
On Fri, Jul 17, 2009 at 01:37:14PM +0200, Wolfgang Denk wrote: > Dear Detlev Zundel, > > In message you wrote: > > > > I also think that making our lifes easier is a very good thing. Our > > "it's only a bootloader" codebase is pretty complex already so I welcome > > making it more robust. I w

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

2009-07-17 Thread Scott Wood
On Fri, Jul 17, 2009 at 07:05:03AM +0200, Heiko Schocher wrote: > Hmm... this is the third patch of a patchset, so it apply cleanly, if > the other 2 patches are first applied ... or should I base this patch > against current nand-flash tree, because this patch goes through your > tree? Ah, I miss

Re: [U-Boot] [PATCH v3] Add "cpu_config" command for PPC4xx bootstrap configuration

2009-07-17 Thread Kumar Gala
On Jul 17, 2009, at 8:53 AM, Stefan Roese wrote: > This patch adds a generic command for programming I2C bootstrap > eeproms on PPC4xx. An implementation for Canyonlands board is > included. > > The command name is intentionally chosen not to be PPC4xx specific. > This way other CPU's/SoC's can i

Re: [U-Boot] [PATCH 4/7] mxc_nand: add nand driver for MX2/MX3

2009-07-17 Thread Scott Wood
On Fri, Jul 17, 2009 at 02:48:38PM +0400, Ilya Yanok wrote: > Scott Wood wrote: > > Please look at drivers/mtd/nand/mpc5121_nfc.c, which AFAICT is very > > similar hardware, and see if anything can be factored out into common > > code, and try to keep the rest looking the same except where the hard

[U-Boot] Using Uboot to communicate a PCI device.

2009-07-17 Thread Darshan Vasisht
Dear sir, I am using U-boot as a Boot loader for booting Cavium Octeon Processor. My current requirement is to implement Octeon as the PCI bus arbiter i.e. Octeon as a PCI host. Octeon will be responsible for bringing up other processor like Wintegra Winpath Network processor i.e in turn boot th

Re: [U-Boot] [PATCH v3] Add "cpu_config" command for PPC4xx bootstrap configuration

2009-07-17 Thread Stefan Roese
On Friday 17 July 2009 17:38:13 Kumar Gala wrote: > On Jul 17, 2009, at 8:53 AM, Stefan Roese wrote: > > This patch adds a generic command for programming I2C bootstrap > > eeproms on PPC4xx. An implementation for Canyonlands board is > > included. > > > > The command name is intentionally chosen n

[U-Boot] [PATCH v2] net: tsec - fix dereferencing type-punned pointer will break strict-aliasing rules warning

2009-07-17 Thread Kim Phillips
fix this gcc 4.4 warning: tsec.c: In function 'tsec_init': tsec.c:200: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Kim Phillips --- this is the endian-correct version drivers/net/tsec.c |5 - 1 files changed, 4 insertions(+), 1 deletions(

Re: [U-Boot] [PATCH 1/2] update config for mvBL-M7 (MPC8343)

2009-07-17 Thread Kim Phillips
On Fri, 17 Jul 2009 16:54:40 +0200 André Schwarz wrote: > If there are no further objections I'll submit v3 adressing Heiko's > comments and fixing a warning due to missing #include statement. please do. > Both board binaries compile and work as expected. > > Sorry for the trouble - I'm not an

[U-Boot] [PATCH] mpc83xx: fix duplicate MONITOR_LEN definition caused by merge foo

2009-07-17 Thread Kim Phillips
commits 4a9932a4364b548773bc131bf85e24a2ec15f2b0 and c9646ed758804fa1fa6c1425369a4eee5d618b1d merged and generated this build error: Configuring for MPC837XERDB board... In file included from /home/r1aaha/git/u-boot/include/config.h:3, from include/common.h:35: /home/r1aaha/git/u-

Re: [U-Boot] USB Device Port not working in MPC8280 PowerPC

2009-07-17 Thread Gurumurthy Gowdar
updating to Current code which version? is there any drivers for MPC8280 USB host & Device ports. regards, gurumurthy On Fri, Jul 17, 2009 at 4:51 PM, Wolfgang Denk wrote: > Dear Gurumurthy Gowdar, > > please do not top-post / full-quote. Make sure to read > http://www.netmeister.org/news/lea

Re: [U-Boot] [PATCH v3] Add "cpu_config" command for PPC4xx bootstrap configuration

2009-07-17 Thread Wolfgang Denk
Dear Stefan Roese, In message <200907171905.07765...@denx.de> you wrote: > > > we could use something similar on some of the FSL SoCs. What about > > renaming this chip_config? When I see cpu I think of just CPU cores. > > "chip_config" is fine for me as well. If nobody objects or suggest somet

Re: [U-Boot] USB Device Port not working in MPC8280 PowerPC

2009-07-17 Thread Wolfgang Denk
Dear Gurumurthy Gowdar, please do not ignore hints given to you: Please do not top-post / full-quote. Make sure to read http://www.netmeister.org/news/learn2quote.html In message you wrote: > > updating to Current code which version? is there any drivers for MPC8280 USB > host & Device ports.

Re: [U-Boot] [PATCH] ppc4xx: Enable support for 64bit printf on all PPC4xx variants

2009-07-17 Thread Wolfgang Denk
Dear Stefan Roese, In message <200907090654.02336...@denx.de> you wrote: > > Then please grep for "#define CONFIG_" in the include directory. You will be > surprised how many of these defines there are outside of the include/configs > directory. This is no excuse for adding even more such code

Re: [U-Boot] [PATCH 1/4]: arm: Kirkwood: Set MAC address during registration for kirkwood egiga

2009-07-17 Thread Wolfgang Denk
Dear Simon Kagstrom, In message <20090713101307.30d3d...@marrow.netinsight.se> you wrote: > OK, so until ARM has moved to the device tree approach (and from LKML I > see there is some vocal opposition to this), we'd still need to resort > to some driver-specific hack [with Linux support] for this

Re: [U-Boot] [PATCH 1/3] fix: missing autoconfig.mk from general Makefile

2009-07-17 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <1243107758-4528-1-git-send-email-plagn...@jcrosoft.com> you wrote: > at the first run of make we generate the autoconf.mk and autoconf.mk.dep > if not already the case and we currently include only to .dep > > in order to use these autogenerated

Re: [U-Boot] [PATCH] config.mk: Remove $(PCI_CLOCK) reference

2009-07-17 Thread Wolfgang Denk
Dear Shinya Kuribayashi, In message <4a3cb586.1010...@pobox.com> you wrote: > The following commit introduced $(PCI_CLOCK) reference so that > we could tweak `PCI_66M' definition via an environment variable. > > > commit f046ccd15c8bc9613bfd72916b761a127d36e5c6 > > Author: Eran Liberty > > Date:

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

2009-07-17 Thread Wolfgang Denk
Dear Thomas Petazzoni, In message <20090715163557.08b58...@surf> you wrote: > Support for the Calao USB A9263 board > > The Calao USB A9263 board is a board manufactured and sold by Calao > Systems . Its components are very > similar to the AT91SAM9263EK board, so i

[U-Boot] [PATCH] - add dns

2009-07-17 Thread Robin Getz
On 04 Oct 2008 Pieter posted a dns implementation for U-Boot. http://www.mail-archive.com/u-boot-us...@lists.sourceforge.net/msg10216.html > DNS can be enabled by setting CFG_CMD_DNS. After performing a query, the > serverip environment var is updated. > > Probably there are some cosmetic issues

Re: [U-Boot] [PATCH v3] Add "cpu_config" command for PPC4xx bootstrap configuration

2009-07-17 Thread Matthias Fuchs
Please see one comment below On Friday 17 July 2009 15:53:56 Stefan Roese wrote: > This patch adds a generic command for programming I2C bootstrap > eeproms on PPC4xx. An implementation for Canyonlands board is > included. > > The command name is intentionally chosen not to be PPC4xx specific. > T

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

2009-07-17 Thread Wolfgang Denk
Dear Marcel Moolenaar, In message <018c5018-f1ce-4e30-9239-93c118cff...@mac.com> you wrote: > > It seems to me that these questions stem from an assumption > about how applications are written. That is, I always interpret This is actually correct. The basic assumption I make, and request othe

Re: [U-Boot] [PATCH] envcrc: add missing dependencies on env storage

2009-07-17 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1245029716-14477-1-git-send-email-vap...@gentoo.org> you wrote: > When the envcrc building was made conditional, it missed a bunch of env > storage types, so add all currently supported types. > > Signed-off-by: Mike Frysinger > --- > tools/Makefile |4

  1   2   >