Re: [U-Boot] [PATCH 01/11] i2c: Clean drivers/i2c/ Makefile

2008-08-18 Thread Michal Simek
Hi Wolfgang, the patches are older and progress in U-BOOT is too big. That's why some patches contains faults. And you applied some patches from Jean-Christophe before these which fixed the same issue. In driver folder only pcmcia and usb need some fix in Makefile. Regards, Michal > Dear [EMAI

[U-Boot] Pull request - net

2008-08-18 Thread Ben Warren
Wolfgang, The following changes since commit fcd69a1a57fb2af4d26201422095a4be9f36963e: Kumar Gala (1): Clean up usage of icache_disable/dcache_disable are available in the git repository at: git://git.denx.de/u-boot-net.git master TsiChung Liew (1): Fix dm9000 receive status a

Re: [U-Boot] [U-Boot-Users] [PATCH] rtl8169: add support for RTL8110SCL

2008-08-18 Thread Ben Warren
Yoshihiro Shimoda wrote: > This patch fixes a problem that RTL8110SCL started transfer > with an incorrect memory address. > > Signed-off-by: Yoshihiro Shimoda <[EMAIL PROTECTED]> > --- Applied to net repo. Please be careful with spaces in front of tabs going forward - this patch was damaged.

Re: [U-Boot] ARM: net.c: UDP Checksum code failing every packet

2008-08-18 Thread Ben Warren
Tom Evans wrote: > Ben Warren wrote: >> Tom Evans wrote: >>> Ben Warren wrote: >> number of steps: >> 1. $ git clone You've done this already >> 2. > > That's the bit I can't do. The u-boot distribution DOESN'T support our > hardware. I can only test it on our "variant" version of u-boot. > Rig

Re: [U-Boot] ARM: net.c: UDP Checksum code failing every packet

2008-08-18 Thread Ben Warren
Tom Evans wrote: > Ben Warren wrote: >> Hi Tom, >> >> Tom Evans wrote: > >> ... >>> I'm afraid I can't generate a patch to do this. Could someone else >>> please incorporate this change if required? >>> >>> >> Everything seems logical until this point. Why can't you create a >> patch? > > Bec

Re: [U-Boot] ARM: net.c: UDP Checksum code failing every packet

2008-08-18 Thread Ben Warren
Hi Tom, Tom Evans wrote: > UDP Checksumming is enabled with the configuration variable > CONFIG_UDP_CHECKSUM. This is only enabled in 7 out of 437 > include/configs/*.h files. Enabling UDP checksumming can be useful, as > it allows any errors (in downloading via TFTP) to be retried rather than >

[U-Boot] [PATCH] common/cmd_load.c - More code cleanup

2008-08-18 Thread Gururaja Hebbar K R
- Remove unused global variable os_data_count. This was long back deprecated but still in use. The only reference for this in google is http://cvs.tuxbox.org/cgi-bin/viewcvs.cgi/*checkout*/tuxbox/boot/ppcboot/common/Attic/cmd_boot.c?content-type=text%2Fplain - Remove unused variable z.

[U-Boot] ARM: net.c: UDP Checksum code failing every packet

2008-08-18 Thread Tom Evans
UDP Checksumming is enabled with the configuration variable CONFIG_UDP_CHECKSUM. This is only enabled in 7 out of 437 include/configs/*.h files. Enabling UDP checksumming can be useful, as it allows any errors (in downloading via TFTP) to be retried rather than resulting in an image CRC error whe

Re: [U-Boot] [U-Boot-Users] [Part 2 of A PATCH SERIES for STLS]: Upate Makefile, MAKEALL and MAINTAINERS files in root directory!

2008-08-18 Thread Ryan CHEN
Dear Wolfgang, Yes, I was modifying my codes in the past several days. Since I need give support to another project, I was so late to continue my push work for U-Boot. Sorry! I am unskilled on git tools, so now I also try to study how to use git-format-patch to make my patchs reasonable. I will re

Re: [U-Boot] Resubmit : [PATCH] Correct ARM Versatile TimerInitialization

2008-08-18 Thread Gururaja Hebbar K R
Hi, Today I download u-boot-1.3.4 and checked drivers\rtc directory with u-boot-1.3.3\drivers\rtc . There is change in the files that this patch touches. So I think the same patch can be applied to u-boot-1.3.4 also. Kindly update me if any changes is needed Regards Gururaja

Re: [U-Boot] [PATCH v2] fdt: rework fdt_fixup_ethernet() to use env instead of bd_t

2008-08-18 Thread Jerry Van Baren
Wolfgang Denk wrote: > Dear Kumar Gala, > > In message <[EMAIL PROTECTED]> you wrote: This makes the code a bit more flexible to the number of ethernet interfaces. Right now we assume a max of 10 interfaces. >>> Hm... where exactly is this artificial limit coming from? Do we really >>>

[U-Boot] [PATCH] Fix OneNAND read_oob/write_oob functions compatability (take #2)

2008-08-18 Thread Kyungmin Park
Also sync with kernel OneNAND codes with adrian contribution credits Signed-off-by: Kyungmin Park <[EMAIL PROTECTED]> --- diff --git a/common/cmd_onenand.c b/common/cmd_onenand.c index 5e2062b..8d87b78 100644 --- a/common/cmd_onenand.c +++ b/common/cmd_onenand.c @@ -85,15 +85,25 @@ int do_onenand(

Re: [U-Boot] [PATCH] Fix OneNAND read_oob/write_oob functions compatability

2008-08-18 Thread Scott Wood
Kyungmin Park wrote: >>> diff --git a/common/cmd_onenand.c b/common/cmd_onenand.c >>> index 5e2062b..8d87b78 100644 >>> --- a/common/cmd_onenand.c >>> +++ b/common/cmd_onenand.c >>> @@ -85,15 +85,25 @@ int do_onenand(cmd_tbl_t * cmdtp, int flag, int argc, >>> char *argv[]) >>>

Re: [U-Boot] [PATCH 05/15] fdt: fdt addr w/o any args reports back the current working address

2008-08-18 Thread Jerry Van Baren
Wolfgang Denk wrote: > Hi Jerry, > > In message <[EMAIL PROTECTED]> Kumar Gala wrote: >> Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> >> --- >> common/cmd_fdt.c |8 >> 1 files changed, 8 insertions(+), 0 deletions(-) [snip] > > This looks ok to me. Will you add this, or should I

Re: [U-Boot] [U-Boot-Users] [PATCH] add 'unzip' command to u-boot commandline

2008-08-18 Thread Wolfgang Denk
Dear Harald Welte, In message <[EMAIL PROTECTED]> you wrote: > > [PATCH] add new 'unzip' command to u-boot commandline > > common/cmd_mem.c: new command "unzip srcaddr dstaddr [dstsize]" to unzip from > memory to memory, and option CONFIG_CMD_UNZIP to enable it > > Signed-off-by: Werner Alm

Re: [U-Boot] [PATCH 03/15] Add command to enable/disable interrupts

2008-08-18 Thread Kumar Gala
On Aug 18, 2008, at 5:59 PM, Wolfgang Denk wrote: > Dear Kumar Gala, > > In message <1218806685-3615-3-git-send-email- > [EMAIL PROTECTED]> you wrote: >> Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> >> --- >> common/Makefile |1 + >> common/cmd_irq.c | 50 +

Re: [U-Boot] [PATCH] Fix OneNAND read_oob/write_oob functions compatability

2008-08-18 Thread Kyungmin Park
On Tue, Aug 19, 2008 at 7:08 AM, Scott Wood <[EMAIL PROTECTED]> wrote: > On Sat, Aug 16, 2008 at 02:32:16PM +0900, Kyungmin Park wrote: >> Also sync with kernel OneNAND codes > > Either you synced with a rather old version of the kernel's > onenand_base.c, or you left out the Nokia/Adrian Hunter co

Re: [U-Boot] [PATCH 05/15] fdt: fdt addr w/o any args reports back the current working address

2008-08-18 Thread Wolfgang Denk
Hi Jerry, In message <[EMAIL PROTECTED]> Kumar Gala wrote: > Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> > --- > common/cmd_fdt.c |8 > 1 files changed, 8 insertions(+), 0 deletions(-) > > diff --git a/common/cmd_fdt.c b/common/cmd_fdt.c > index 436fec9..c129993 100644 > --- a/com

Re: [U-Boot] [PATCH 04/15] fdt: added the ability to set initrd start/end via chosen command

2008-08-18 Thread Wolfgang Denk
Dear Kumar Gala, In message <[EMAIL PROTECTED]> you wrote: > Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> > --- > common/cmd_fdt.c | 21 + > 1 files changed, 17 insertions(+), 4 deletions(-) > > diff --git a/common/cmd_fdt.c b/common/cmd_fdt.c > index d3b19dd..436fec9 1006

Re: [U-Boot] [U-boot] [PATCH 2/2] NET: QE: UEC: Allow uec re-initialization based on netretry environment variable.

2008-08-18 Thread richardretanubun
Hi Ben, Ben Warren wrote: > richardretanubun wrote: >> Allow uec_init to run more than once, based on the netretry >> environment variable. >> This allows for manual (back and forth) switching between network >> interfaces. >> >> > Can't you do this by changing the 'ethactive' environment var

Re: [U-Boot] [PATCH 03/15] Add command to enable/disable interrupts

2008-08-18 Thread Wolfgang Denk
Dear Kumar Gala, In message <[EMAIL PROTECTED]> you wrote: > Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> > --- > common/Makefile |1 + > common/cmd_irq.c | 50 ++ > 2 files changed, 51 insertions(+), 0 deletions(-) > create mode 100644 com

Re: [U-Boot] [PATCH 02/15] Clean up usage of icache_disable/dcache_disable

2008-08-18 Thread Wolfgang Denk
Dear Kumar Gala, In message <[EMAIL PROTECTED]> you wrote: > There is no point in disabling the icache on 7xx/74xx/86xx parts and not > also flushing the icache. All callers of invalidate_l1_instruction_cache() > call icache_disable() right after. Make it so icache_disable() calls > invalidate_l

Re: [U-Boot] [PATCH 01/15] Update linux bootm to support ePAPR client interface

2008-08-18 Thread Wolfgang Denk
Dear Kumar Gala, In message <[EMAIL PROTECTED]> you wrote: > the ePAPR spec has some subtle differences from the current device tree > based boot interface to the powerpc linux kernel. The powerpc linux kernel > currently ignores the differences that ePAPR specifies. > > Signed-off-by: Kumar Gal

Re: [U-Boot] [PATCH 2/2]: muas3001: added missing Maintainer entry

2008-08-18 Thread Wolfgang Denk
Dear Heiko, In message <[EMAIL PROTECTED]> you wrote: > > [POWERPC] muas3001: added missing Maintainer entry >correct SDRAM initialization values Please fold this in the first patch, now that you have to respin it anyway. Thanks. Best regards, Wolfgang Denk -- DENX Software Engi

Re: [U-Boot] [PATCH 1/2]: Add support for the muas3001 board

2008-08-18 Thread Wolfgang Denk
Dear Heiko, In message <[EMAIL PROTECTED]> you wrote: > Hello, > > [POWERPC] Added support for the muas3001 board from IAI, >based on a MPC8270 CPU. ... > +#if defined(CONFIG_OF_BOARD_SETUP) && defined(CONFIG_OF_LIBFDT) > +/* > + * update "memory" property in the blob > + */ > +void

[U-Boot] MV Linux uImage not working with u-boot, but zImage does

2008-08-18 Thread john h
I wasn't sure if this is a Linux issue or a u-boot issue. We are using an older version of arch/ppc MontaVista Linux and having a problem with u-boot. We can build a zImage and convert it to a uImage and it runs from u-boot fine. If we build a uImage from MV, the kernel crashes as shown below. W

Re: [U-Boot] [U-Boot-Users] [PATCH v4] Add MIMC200 board

2008-08-18 Thread Wolfgang Denk
Dear Haavard, in message <[EMAIL PROTECTED]> you wrote: > The MIMC200 board is based on Atmel's NGW100 dev kit, but with an extra > 8MByte FLASH and 128KByte FRAM. > --- > CREDITS |4 + > MAINTAINERS |4 + > MAKEALL |1 + >

[U-Boot] [U-boot] [PATCHv2 1/2] NET: QE: UEC: Make uec_miiphy_read() and uec_miiphy_write() use the devname arg.

2008-08-18 Thread richardretanubun
Hi Ben, Thanks for the feedback. I've made the changes you suggested. Here is the patch re-pasted (please let me know if this is not the proper way to submit patch v2). Added a new function uec_miiphy_find_dev_by_name to allow uec_miiphy_read and uec

Re: [U-Boot] [U-Boot-Users] [PATCH] API: Provide syscall entry point implementation for the ARM architecture.

2008-08-18 Thread Wolfgang Denk
Dear Rafal Jaworowski, In message <[EMAIL PROTECTED]> you wrote: > (Tested on ARM920-based EP93xx system) > > Signed-off-by: Rafal Czubak <[EMAIL PROTECTED]> > Acked-by: Rafal Jaworowski <[EMAIL PROTECTED]> > --- > api_examples/Makefile |6 +++--- > api_examples/crt0.S | 17 +

Re: [U-Boot] [U-Boot-Users] [Part 2 of A PATCH SERIES for STLS]: Upate Makefile, MAKEALL and MAINTAINERS files in root directory!

2008-08-18 Thread Wolfgang Denk
Dear Ryan CHEN, In message <[EMAIL PROTECTED]> you wrote: > > This is part 2 of a patch series for STLS. It will update Makefile, MAKEALL > and MAINTAINERS files with STLS information! After the review comments on this list I'm still waiting for you to post an updated patch (a single one). Pleas

Re: [U-Boot] [U-Boot-Users] [PATCH] (Resend)Allows negative offset in command loads

2008-08-18 Thread Wolfgang Denk
Dear Ricardo Ribalda Delgado, In message <[EMAIL PROTECTED]> you wrote: > > Signed-off-by: Ricardo Ribalda Delgado <[EMAIL PROTECTED]> I think it makes little sense to change only one command and leave the other, similar commands unchanged. All commands that provide similar functions should beha

[U-Boot] [PATCH] NAND: Remove delay from nand_boot_fsl_elbc.c.

2008-08-18 Thread Scott Wood
It was for debugging purposes, and shouldn't have been left in. Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- Applied to u-boot-nand-flash. nand_spl/nand_boot_fsl_elbc.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/nand_spl/nand_boot_fsl_elbc.c b/nand_spl/nand_bo

Re: [U-Boot] [PATCH] Fix OneNAND read_oob/write_oob functions compatability

2008-08-18 Thread Scott Wood
On Sat, Aug 16, 2008 at 02:32:16PM +0900, Kyungmin Park wrote: > Also sync with kernel OneNAND codes Either you synced with a rather old version of the kernel's onenand_base.c, or you left out the Nokia/Adrian Hunter copyright and attribution. > diff --git a/common/cmd_onenand.c b/common/cmd_onen

Re: [U-Boot] [U-Boot-Users] PATCH: Update U-Boot EXT2 Filesystem to support dynamic inode size and optimize ext2 read function to fasten read speed!

2008-08-18 Thread Wolfgang Denk
Dear Ryan CHEN, In message <[EMAIL PROTECTED]> you wrote: > Hi Wolfgang, > I have modified my patch according to your suggestion. The only question is > that use debug() because I found all debug print msg lines are written as : > #ifdef DEBUG > printf(..); > #endif > Are you sure I need chang

Re: [U-Boot] [PATCH v2 2/6] i.MX31: Add reset_timer() and modify get_timer_masked().

2008-08-18 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:30 Mon 18 Aug , Magnus Lilja wrote: > This patch adds the reset_timer() function (needed by nand_base.c) and > modifies the get_timer_masked() to work in the same way as the omap24xx > function. > > Signed-off-by: Magnus Lilja <[EMAIL PROTECTED]> > --- > cpu/arm1136/mx31/interrupts.c |

Re: [U-Boot] [PATCH v2 1/6] i.MX31: Add NFC_BASE_ADDR definition.

2008-08-18 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:30 Mon 18 Aug , Magnus Lilja wrote: > Signed-off-by: Magnus Lilja <[EMAIL PROTECTED]> > --- > include/asm-arm/arch-mx31/mx31-regs.h | 11 +++ > 1 files changed, 11 insertions(+), 0 deletions(-) > > diff --git a/include/asm-arm/arch-mx31/mx31-regs.h > b/include/asm-arm/arch-mx

Re: [U-Boot] [U-Boot-Users] [PATCH] I2C Monitor chip ADT7460 support (Resubmit)

2008-08-18 Thread Wolfgang Denk
Dear Ricardo Ribalda Delgado, In message <[EMAIL PROTECTED]> you wrote: > Signed-off-by: Ricardo Ribalda Delgado <[EMAIL PROTECTED]> > --- > drivers/hwmon/Makefile |1 + > drivers/hwmon/adt7460.c | 83 > +++ > include/dtt.h |3 +- >

Re: [U-Boot] [PATCH 11/11] video: Clean drivers/video/Makefile

2008-08-18 Thread Wolfgang Denk
Dear [EMAIL PROTECTED], In message <[EMAIL PROTECTED]> you wrote: > From: Michal Simek <[EMAIL PROTECTED]> > > > Signed-off-by: Michal Simek <[EMAIL PROTECTED]> > --- > drivers/video/Makefile| 16 > drivers/video/ati_radeon_fb.c |3 --- > drivers/video/cfb_console

Re: [U-Boot] [PATCH 10/11] input: Clean drivers/input/Makefile

2008-08-18 Thread Wolfgang Denk
Dear [EMAIL PROTECTED], In message <[EMAIL PROTECTED]> you wrote: > From: Michal Simek <[EMAIL PROTECTED]> > > > Signed-off-by: Michal Simek <[EMAIL PROTECTED]> > --- > drivers/input/Makefile |7 --- > drivers/input/i8042.c|4 > drivers/input/keyboard.c |4 > dri

Re: [U-Boot] [PATCH 09/11] pci: Clean drivers/pci/Makefile

2008-08-18 Thread Wolfgang Denk
Dear [EMAIL PROTECTED], In message <[EMAIL PROTECTED]> you wrote: > From: Michal Simek <[EMAIL PROTECTED]> > > > Signed-off-by: Michal Simek <[EMAIL PROTECTED]> > --- > drivers/pci/Makefile | 10 -- > drivers/pci/fsl_pci_init.c |4 > drivers/pci/pci.c |4 --

Re: [U-Boot] [PATCH 08/11] dma: Clean drivers/dma/Makefile

2008-08-18 Thread Wolfgang Denk
Dear [EMAIL PROTECTED], In message <[EMAIL PROTECTED]> you wrote: > From: Michal Simek <[EMAIL PROTECTED]> > > > Signed-off-by: Michal Simek <[EMAIL PROTECTED]> > --- > drivers/dma/MCD_dmaApi.c|3 --- > drivers/dma/MCD_tasks.c |4 > drivers/dma/MCD_tasksInit.c |4 >

Re: [U-Boot] [PATCH 07/11] block: Clean drivers/block/Makefile

2008-08-18 Thread Wolfgang Denk
Dear [EMAIL PROTECTED], In message <[EMAIL PROTECTED]> you wrote: > From: Michal Simek <[EMAIL PROTECTED]> > > > Signed-off-by: Michal Simek <[EMAIL PROTECTED]> > --- > drivers/block/Makefile| 10 +- > drivers/block/ahci.c |3 --- > drivers/block/ata_piix.c |4 >

Re: [U-Boot] [PATCH 07/11] block: Clean drivers/block/Makefile

2008-08-18 Thread Wolfgang Denk
Dear [EMAIL PROTECTED], In message <[EMAIL PROTECTED]> you wrote: > From: Michal Simek <[EMAIL PROTECTED]> > > > Signed-off-by: Michal Simek <[EMAIL PROTECTED]> > --- > drivers/block/Makefile| 10 +- > drivers/block/ahci.c |3 --- > drivers/block/ata_piix.c |4 >

Re: [U-Boot] [PATCH 06/11] misc: Clean drivers/misc/Makefile

2008-08-18 Thread Wolfgang Denk
Dear [EMAIL PROTECTED], In message <[EMAIL PROTECTED]> you wrote: > From: Michal Simek <[EMAIL PROTECTED]> > > > Signed-off-by: Michal Simek <[EMAIL PROTECTED]> > --- > drivers/misc/Makefile |6 +++--- > drivers/misc/ali512x.c|5 - > drivers/misc/ns87308.c|4 >

Re: [U-Boot] [PATCH 05/11] mtd: Clean drivers/mtd/Makefile

2008-08-18 Thread Wolfgang Denk
Dear [EMAIL PROTECTED], In message <[EMAIL PROTECTED]> you wrote: > From: Michal Simek <[EMAIL PROTECTED]> > > > Signed-off-by: Michal Simek <[EMAIL PROTECTED]> > --- > drivers/mtd/Makefile|6 +++--- > drivers/mtd/at45.c |2 -- > drivers/mtd/cfi_flash.c |3 --- > drivers/mt

Re: [U-Boot] [PATCH 04/11] serial: Clean drivers/serial/Makefile

2008-08-18 Thread Wolfgang Denk
Dear [EMAIL PROTECTED], In message <[EMAIL PROTECTED]> you wrote: > From: Michal Simek <[EMAIL PROTECTED]> > > > Signed-off-by: Michal Simek <[EMAIL PROTECTED]> > --- > drivers/serial/Makefile | 24 > drivers/serial/atmel_usart.c |3 --- > drivers/s

Re: [U-Boot] [PATCH 03/11] rtc: Clean drivers/rtc/Makefile

2008-08-18 Thread Wolfgang Denk
Dear [EMAIL PROTECTED], In message <[EMAIL PROTECTED]> you wrote: > From: Michal Simek <[EMAIL PROTECTED]> > > > Signed-off-by: Michal Simek <[EMAIL PROTECTED]> > --- > drivers/rtc/Makefile | 50 ++-- > drivers/rtc/bfin_rtc.c|2 +- > driver

Re: [U-Boot] [PATCH 02/11] usb: Clean drivers/usb/Makefile

2008-08-18 Thread Wolfgang Denk
Dear [EMAIL PROTECTED], In message <[EMAIL PROTECTED]> you wrote: > From: Michal Simek <[EMAIL PROTECTED]> > > > Signed-off-by: Michal Simek <[EMAIL PROTECTED]> > --- > drivers/usb/Makefile| 12 ++-- > drivers/usb/isp116x-hcd.c |3 --- > drivers/usb/sl811_usb.c

Re: [U-Boot] [PATCH 01/11] i2c: Clean drivers/i2c/ Makefile

2008-08-18 Thread Wolfgang Denk
Dear [EMAIL PROTECTED], In message <[EMAIL PROTECTED]> you wrote: > From: Michal Simek <[EMAIL PROTECTED]> > > > Signed-off-by: Michal Simek <[EMAIL PROTECTED]> > --- > drivers/i2c/Makefile | 10 +- > drivers/i2c/fsl_i2c.c |2 -- > drivers/i2c/mxc_i2c.c |2 +- >

Re: [U-Boot] [U-boot] [PATCH 2/2] NET: QE: UEC: Allow uec re-initialization based on netretry environment variable.

2008-08-18 Thread Ben Warren
richardretanubun wrote: > Allow uec_init to run more than once, based on the netretry environment > variable. > This allows for manual (back and forth) switching between network > interfaces. > > Can't you do this by changing the 'ethactive' environment variable? regards, Ben

Re: [U-Boot] [PATCH v2] fdt: rework fdt_fixup_ethernet() to use env instead of bd_t

2008-08-18 Thread Kumar Gala
On Aug 18, 2008, at 3:55 PM, Wolfgang Denk wrote: > Dear Kumar Gala, > > In message <594AB220-FA74-4A51-BF54- > [EMAIL PROTECTED]> you wrote: >> >>> It might be better (and more efficent) to iterate over the >>> environment, and check each name against the eth*addr pattern. >> >> Its probably ea

Re: [U-Boot] [U-Boot-Users] Request: s3c24xx getting its own start.S file ?

2008-08-18 Thread Wolfgang Denk
Dear Jean-Christophe, In message <[EMAIL PROTECTED]> Harald Welte wrote: > > the problem is tha the main makefile always wants to build > cpu/arm920t/start.o, and I don't see an easy way how it could be > modified to build cpu/arm920t/s3c24x0/start.o instead. At least until > now I don't see an

Re: [U-Boot] [PATCH v2 3/6] i.MX31: Add i.MX31 NAND Flash Controller driver.

2008-08-18 Thread Scott Wood
On Mon, Aug 18, 2008 at 11:30:44AM +0200, Magnus Lilja wrote: > +/* The bool type is used locally in this file, added for U-boot. */ > +typedef enum {false = 0, true = 1 } bool; Please remove this. > +struct nand_info { > + bool bSpareOnly; > + bool bStatusRequest; No Hungarian notation.

Re: [U-Boot] [U-boot] [PATCH 1/2] NET: QE: UEC: Make uec_miiphy_read() and uec_miiphy_write() use the devname arg.

2008-08-18 Thread Ben Warren
richardretanubun wrote: > Added a new function uec_miiphy_find_dev_by_name to allow uec_miiphy_read > and uec_miiphy_write to use the passed devname and not hardcoded to devlist[0] > > Signed-off-by: Richard Retanubun > > diff --git a/drivers/qe/uec.c b/drivers/qe/uec.c > index 344c649..d14566e 1

Re: [U-Boot] [U-Boot-Users] [PATCH] add 'unzip' command to u-boot commandline

2008-08-18 Thread Wolfgang Denk
Dear Harald Welte, In message <[EMAIL PROTECTED]> you wrote: > > [PATCH] add new 'unzip' command to u-boot commandline > > common/cmd_mem.c: new command "unzip srcaddr dstaddr [dstsize]" to unzip from > memory to memory, and option CONFIG_CMD_UNZIP to enable it > > Signed-off-by: Werner Alm

Re: [U-Boot] [PATCH v2] fdt: rework fdt_fixup_ethernet() to use env instead of bd_t

2008-08-18 Thread Wolfgang Denk
Dear Kumar Gala, In message <[EMAIL PROTECTED]> you wrote: > > > It might be better (and more efficent) to iterate over the > > environment, and check each name against the eth*addr pattern. > > Its probably easier/less work to iterate over the aliases looking for > "ethernet*" pattern, I ca

Re: [U-Boot] [PATCH v2] fdt: rework fdt_fixup_ethernet() to use env instead of bd_t

2008-08-18 Thread Wolfgang Denk
Dear Kumar Gala, In message <[EMAIL PROTECTED]> you wrote: > > >> This makes the code a bit more flexible to the number of ethernet > >> interfaces. Right now we assume a max of 10 interfaces. > > > > Hm... where exactly is this artificial limit coming from? Do we really > > need it? > > We nee

[U-Boot] [U-boot] [PATCH 1/2] NET: QE: UEC: Make uec_miiphy_read() and uec_miiphy_write() use the devname arg.

2008-08-18 Thread richardretanubun
Added a new function uec_miiphy_find_dev_by_name to allow uec_miiphy_read and uec_miiphy_write to use the passed devname and not hardcoded to devlist[0] Signed-off-by: Richard Retanubun diff --git a/drivers/qe/uec.c b/drivers/qe/uec.c index 344c649..d14566e 100644 --- a/drivers/qe/uec.c +++ b/d

[U-Boot] [U-boot] [PATCH 2/2] NET: QE: UEC: Allow uec re-initialization based on netretry environment variable.

2008-08-18 Thread richardretanubun
Allow uec_init to run more than once, based on the netretry environment variable. This allows for manual (back and forth) switching between network interfaces. Signed-off-by: Richard Retanubun diff --git a/drivers/qe/uec.c b/drivers/qe/uec.c index 344c649..88402ca 100644 --- a/drivers/qe/uec.c

Re: [U-Boot] [PATCH v2] fdt: rework fdt_fixup_ethernet() to use env instead of bd_t

2008-08-18 Thread Kumar Gala
On Aug 18, 2008, at 2:49 PM, Scott Wood wrote: > Kumar Gala wrote: >> On Aug 18, 2008, at 2:30 PM, Wolfgang Denk wrote: >>> Dear Kumar Gala, >>> >>> In message >> > you wrote: Move to using the environment variables 'ethaddr', 'eth1addr', etc.. instead of bd->bi_enetaddr, bi_enet

Re: [U-Boot] [PATCH v2] fdt: rework fdt_fixup_ethernet() to use env instead of bd_t

2008-08-18 Thread Scott Wood
Kumar Gala wrote: > On Aug 18, 2008, at 2:30 PM, Wolfgang Denk wrote: > >> Dear Kumar Gala, >> >> In message > [EMAIL PROTECTED]> you wrote: >>> Move to using the environment variables 'ethaddr', 'eth1addr', etc.. >>> instead of bd->bi_enetaddr, bi_enet1addr, etc. >>> >>> This makes the code a bit

Re: [U-Boot] [PATCH v2] fdt: rework fdt_fixup_ethernet() to use env instead of bd_t

2008-08-18 Thread Kumar Gala
On Aug 18, 2008, at 2:30 PM, Wolfgang Denk wrote: > Dear Kumar Gala, > > In message [EMAIL PROTECTED]> you wrote: >> Move to using the environment variables 'ethaddr', 'eth1addr', etc.. >> instead of bd->bi_enetaddr, bi_enet1addr, etc. >> >> This makes the code a bit more flexible to the number

Re: [U-Boot] [PATCH v2] fdt: rework fdt_fixup_ethernet() to use env instead of bd_t

2008-08-18 Thread Wolfgang Denk
Dear Kumar Gala, In message <[EMAIL PROTECTED]> you wrote: > Move to using the environment variables 'ethaddr', 'eth1addr', etc.. > instead of bd->bi_enetaddr, bi_enet1addr, etc. > > This makes the code a bit more flexible to the number of ethernet > interfaces. Right now we assume a max of 10 i

Re: [U-Boot] [PATCH] fdt: rework fdt_fixup_ethernet() to use env instead of bd_t

2008-08-18 Thread Wolfgang Denk
Dear Kumar Gala, In message <[EMAIL PROTECTED]> you wrote: > > 74xx_7xx, mpc8xx, ppc4xx -- called regardless of CONFIG_HAS_ETHn > mpc512x -- called only based on HAS_ETH0 > mpc8260, mpc83xx, mpc85xx, mpc86xx -- called if HAS_ETH0 || HAS_ETH1 > || HAS_ETH2 || HAS_ETH3 > > With ETH3 being the ma

[U-Boot] [PATCH v2] fdt: rework fdt_fixup_ethernet() to use env instead of bd_t

2008-08-18 Thread Kumar Gala
Move to using the environment variables 'ethaddr', 'eth1addr', etc.. instead of bd->bi_enetaddr, bi_enet1addr, etc. This makes the code a bit more flexible to the number of ethernet interfaces. Right now we assume a max of 10 interfaces. Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- Since w

Re: [U-Boot] [PATCH] fdt: rework fdt_fixup_ethernet() to use env instead of bd_t

2008-08-18 Thread Kumar Gala
On Aug 18, 2008, at 2:16 PM, Kumar Gala wrote: > > On Aug 18, 2008, at 2:12 PM, Wolfgang Denk wrote: > >> Dear Kumar Gala, >> >> In message <[EMAIL PROTECTED]> >> you wrote: >>> Move to using the environment variables 'ethaddr', 'eth1addr', etc.. >>> instead of bd->bi_enetaddr, bi_enet1addr, etc.

Re: [U-Boot] [PATCH] fdt: rework fdt_fixup_ethernet() to use env instead of bd_t

2008-08-18 Thread Kumar Gala
On Aug 18, 2008, at 2:12 PM, Wolfgang Denk wrote: > Dear Kumar Gala, > > In message <[EMAIL PROTECTED]> > you wrote: >> Move to using the environment variables 'ethaddr', 'eth1addr', etc.. >> instead of bd->bi_enetaddr, bi_enet1addr, etc. >> >> This makes the code a bit more flexible to the num

Re: [U-Boot] [PATCH] fdt: rework fdt_fixup_ethernet() to use env instead of bd_t

2008-08-18 Thread Wolfgang Denk
Dear Kumar Gala, In message <[EMAIL PROTECTED]> you wrote: > Move to using the environment variables 'ethaddr', 'eth1addr', etc.. > instead of bd->bi_enetaddr, bi_enet1addr, etc. > > This makes the code a bit more flexible to the number of ethernet > interfaces. Right now we assume a max of 10 i

[U-Boot] [PATCH] fdt: rework fdt_fixup_ethernet() to use env instead of bd_t

2008-08-18 Thread Kumar Gala
Move to using the environment variables 'ethaddr', 'eth1addr', etc.. instead of bd->bi_enetaddr, bi_enet1addr, etc. This makes the code a bit more flexible to the number of ethernet interfaces. Right now we assume a max of 10 interfaces. Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- common/

[U-Boot] change fdt_fixup_ethernet to use env instead of bd_t

2008-08-18 Thread Kumar Gala
Does anyone see any issue with moving to using the environment instead of the bd_t to get the mac address for a given ethernet controller. This has the benefit of having this bit of code scales easier w/the # of controllers. Right now I've set the max to 10, but we can easily make it configurable

[U-Boot] MPC5200 custodianship

2008-08-18 Thread Grant Likely
Hi Wolfgang, I've found that I'm just not good at splitting my focus between U-Boot and the kernel. I've asked John if he'd like to take responsibility for all of 5xxx support, not just 5121, and he said "sure". Is that okay by you? g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Lt

Re: [U-Boot] [Add tlbentry problem]

2008-08-18 Thread Stefan Roese
On Monday 18 August 2008, 김영순 wrote: > I’ve worked on my custum board based on SEQUOIA. > > > > I’d like to add new device (DSP, SIZE=256M, CS4). > > I added tlbentry(256M) in init.S and defined CS4 in sequoia.h. > > > > Init.S: > >/* TLB-entry for EBC(DSP) */ > > tlbentry( CF

[U-Boot] [Add tlbentry problem]

2008-08-18 Thread 김영순
I’ve worked on my custum board based on SEQUOIA. I’d like to add new device (DSP, SIZE=256M, CS4). I added tlbentry(256M) in init.S and defined CS4 in sequoia.h. Init.S: /* TLB-entry for EBC(DSP) */ tlbentry( CFG_DSP_BASE, SZ_256M, CFG_DSP_BASE, 1, AC_R|AC_W|AC_X|

Re: [U-Boot] [PATCH] remove MVS1 board

2008-08-18 Thread Andre Schwarz
Wolfgang, no users out there. The hardware is out of production for 5 years now. We already waited that long to make sure. After all there have been OEM customers only. You can definitely remove it. regards, Andre Wolfgang Denk schrieb: > Dear Andre, > > In message <[EMAIL PROTECTED]> you wro

Re: [U-Boot] [PATCH] remove MVS1 board

2008-08-18 Thread Wolfgang Denk
Dear Andre, In message <[EMAIL PROTECTED]> you wrote: > > MVS1 board has reached end-of-life and can be removed completely. But there are probably still users around that might be interestied in keeping the board supported? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, M

[U-Boot] [PATCH] Consolidate strmhz() implementation

2008-08-18 Thread Haavard Skinnemoen
ARM, i386, m68k and ppc all have identical implementations of strmhz(). Other architectures don't provide this function at all. This patch moves strmhz() into lib_generic, reducing code duplication and providing a more unified API across architectures. Signed-off-by: Haavard Skinnemoen <[EMAIL PR

[U-Boot] [PATCH] remove MVS1 board

2008-08-18 Thread Andre Schwarz
MVS1 board has reached end-of-life and can be removed completely. Signed-off-by: Andre Schwarz <[EMAIL PROTECTED]> --- MATRIX VISION GmbH, Talstraße 16, DE-71570 Oppenweiler - Registergericht: Amtsgericht Stuttgart, HRB 271090 Geschäftsführer: Gerhard Thullner, Werner Armingeon, Uwe Furtner

[U-Boot] [PATCH]: fix mvbc_p board build warnings

2008-08-18 Thread Andre Schwarz
fix build warnings @ mvBC-P board by using correct types, i.e. change out_be32 to out_be16 and out_8 accordingly. Signed-off-by: Andre Schwarz <[EMAIL PROTECTED]> --- Wolfgang, sorry for the delay - I've been out of office. regards, Andre MATRIX VISION GmbH, Talstraße 16, DE-71570 Oppenwei

[U-Boot] [PATCH v2 2/6] i.MX31: Add reset_timer() and modify get_timer_masked().

2008-08-18 Thread Magnus Lilja
This patch adds the reset_timer() function (needed by nand_base.c) and modifies the get_timer_masked() to work in the same way as the omap24xx function. Signed-off-by: Magnus Lilja <[EMAIL PROTECTED]> --- cpu/arm1136/mx31/interrupts.c | 22 ++ 1 files changed, 18 insertions(

[U-Boot] [PATCH v2 3/6] i.MX31: Add i.MX31 NAND Flash Controller driver.

2008-08-18 Thread Magnus Lilja
Imported from Freescale's Linux NFC driver from the i.MX31 BSP release 5 (Linux 2.6.22.5) and the i.MX31 PDK BSP (Linux 2.6.24). The code has been changed to conform (better) with the coding style in Linux/U-boot. Sections not used by U-boot have been removed. The driver has been tested on i.MX31

[U-Boot] [PATCH v2 4/6] i.MX31: Add NAND support in the i.MX31 Litekit config file.

2008-08-18 Thread Magnus Lilja
Signed-off-by: Magnus Lilja <[EMAIL PROTECTED]> --- include/configs/imx31_litekit.h | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/include/configs/imx31_litekit.h b/include/configs/imx31_litekit.h index c476333..493ec8e 100644 --- a/include/configs/imx31_litek

[U-Boot] [PATCH v2 6/6] i.MX31: Add basic support for Freescale's i.MX31 PDK board.

2008-08-18 Thread Magnus Lilja
Add support for NAND and ethernet on the Freescale i.MX31 PDK (a.k.a. 3DS) board. Booting from NAND is not supported yet so U-boot relies on some other initial boot loader to set up SDRAM and clocks and copying U-boot to SDRAM. Signed-off-by: Magnus Lilja <[EMAIL PROTECTED]> --- MAKEALL

[U-Boot] [PATCH v2 0/6] i.MX31: Add NAND support and new PDK board.

2008-08-18 Thread Magnus Lilja
Hi again This series of patches adds support for the NAND flash controller in the i.MX31 device and also introduces the Freescale i.MX31 PDK board. Changes since v1: - Moved PDK board to boards/freescale/mx31pdk - Moved mxc_nd.c to driver/mtd/nand/mx31_nand.c - Moved contents of mxc_nd.h to mx31

[U-Boot] [PATCH v2 5/6] i.MX31: Make the SPI bus and chip select configurable for MC13783

2008-08-18 Thread Magnus Lilja
The i.MX31 has three SPI buses and each bus has several chip selects and the MC13783 chip can be connected to any of these. The current RTC driver for MC13783 is hardcoded for CSPI2/SS2. This patch makes make MC13783 SPI bus and chip select configurable via CONFIG_MC13783_SPI_BUS and CONFIG_MC1378

[U-Boot] [PATCH v2 1/6] i.MX31: Add NFC_BASE_ADDR definition.

2008-08-18 Thread Magnus Lilja
Signed-off-by: Magnus Lilja <[EMAIL PROTECTED]> --- include/asm-arm/arch-mx31/mx31-regs.h | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/include/asm-arm/arch-mx31/mx31-regs.h b/include/asm-arm/arch-mx31/mx31-regs.h index b04a718..769c1e8 100644 --- a/include/a

Re: [U-Boot] need clarification regarding mmc csd structure declaration

2008-08-18 Thread Gururaja Hebbar K R
Hi, > > So my doubt is, Shouldn't erase_grp_size come before sector size. > > No. But sometimes, erase_grp_size just isn't there at all, > and you have a 1-bit flag right before sector_size instead. > > Currently, these values aren't actually used by u-boot, but I > guess ideally, we should e

Re: [U-Boot] need clarification regarding mmc csd structure declaration

2008-08-18 Thread Haavard Skinnemoen
"Gururaja Hebbar K R" <[EMAIL PROTECTED]> wrote: > Hi, > > I need few clarification regarding mmc csd structure declaration. I was > taking Atmel mci as reference. > > In ProductManualSDCardv2.2.pdf @ page 34 & ProdManualSDCardv1.9[1].pdf @ page > 39, says > > ... > ... > ... > C_SIZE_MULT