Re: [U-Boot] [PATCH] USB: Remove LUN number from CDB

2009-02-10 Thread Remy Bohmer
Hello Wolfgang, In message 19f8576c6e063c45be387c64729e739403e5ca6...@dbde02.ent.ti.com Abraham, Thomas wrote: The LUN number is not part of the Command Descriptor Block (CDB) for scsi inquiry, request sense, test unit ready, read capacity and read10 commands. This patch removes the LUN

[U-Boot] Enabling POST on the canyon lands board

2009-02-10 Thread Afzal Nadirshah
Hi All, I am trying to enable POST tests on the canyonlands board.I have added the following to the canyonlands.h header file. /* POST support */ #define CONFIG_POST (CFG_POST_CACHE | \ CFG_POST_CPU | \

Re: [U-Boot] PATCH 3/8 Multi-adapter multi-bus I2C

2009-02-10 Thread Heiko Schocher
Hello ksi, k...@koi8.net wrote: On Mon, 9 Feb 2009, Heiko Schocher wrote: Hello ksi, k...@koi8.net wrote: Signed-off-by: Sergey Kubushyn k...@koi8.net --- diff --git a/drivers/i2c/soft_i2c.c b/drivers/i2c/soft_i2c.c index da6cec1..f0c1771 100644 --- a/drivers/i2c/soft_i2c.c +++

Re: [U-Boot] [PATCH 1/2] net: Sort Makefile labels

2009-02-10 Thread Michal Simek
Hi Ben and Wolfgang, In message d4fd46d3b2d27747b728da37fad3ebca3732d837.1231154122.git.mon...@monstr.eu you wrote: From: Michal Simek mon...@monstr.eu Signed-off-by: Michal Simek mon...@monstr.eu --- drivers/net/Makefile |4 ++-- 1 files changed, 2 insertions(+), 2

[U-Boot] [PATCH] musb: add timeout via CONFIG_MUSB_TIMEOUT

2009-02-10 Thread Mike Frysinger
From: Bryan Wu bryan...@analog.com Signed-off-by: Bryan Wu bryan...@analog.com Signed-off-by: Mike Frysinger vap...@gentoo.org CC: Ravi Babu ravib...@ti.com CC: Swaminathan S swami.i...@ti.com CC: Thomas Abraham t-abra...@ti.com CC: Ajay Kumar Gupta ajay.gu...@ti.com CC: Remy Bohmer

[U-Boot] 8xx serial, smc: add configurable SMC Rx buffer len

2009-02-10 Thread Heiko Schocher
This patch adds the configuration option CONFIG_SYS_SMC_RXBUFLEN. With this option it is possible to allow the receive buffer for the SMC on 8xx to be greater then 1. In case CONFIG_SYS_SMC_RXBUFLEN == 1 this driver works as the old version. When defining CONFIG_SYS_SMC_RXBUFLEN also

[U-Boot] 8xx serial, smc: Coding-Style cleanup serial SMC driver

2009-02-10 Thread Heiko Schocher
Signed-off-by: Heiko Schocher h...@denx.de --- cpu/mpc8xx/serial.c | 72 +-- 1 files changed, 24 insertions(+), 48 deletions(-) diff --git a/cpu/mpc8xx/serial.c b/cpu/mpc8xx/serial.c index 972f190..664db65 100644 --- a/cpu/mpc8xx/serial.c +++

Re: [U-Boot] fw_setenv not working

2009-02-10 Thread Wolfgang Denk
Dear M SANDEEP-TVF386, in message 0a01463223b8164194908cac85b66a1203414...@zmy16exm67.ds.mot.com you wrote: My U-boot version is 1.1.4, but I was not able to build tools/env for 1.1.4, so I am using fw_setenv and fw_printenv binaries build from 1.3.4. Please update your code. U-Boot 1.1.4

[U-Boot] netloop: speed up NetLoop

2009-02-10 Thread Heiko Schocher
NetLoop polls every cycle with getenv some environment variables. This is horribly slow, especially when the environment is big. This patch reads only the environment variables in NetLoop, when they were changed. Also moved the init part of the NetLoop function in a seperate function.

Re: [U-Boot] [PATCH 1/2] net: Sort Makefile labels

2009-02-10 Thread Stefan Roese
On Tuesday 10 February 2009, Michal Simek wrote: +++ b/drivers/net/Makefile @@ -26,6 +26,7 @@ include $(TOPDIR)/config.mk LIB:= $(obj)libnet.a COBJS-$(CONFIG_DRIVER_3C589) += 3c589.o +COBJS-$(CONFIG_PPC4xx_EMAC) += 4xx_enet.o COBJS-$(CONFIG_DRIVER_AX88180) += ax88180.o

Re: [U-Boot] PATCH 0/8 Multi-adapter multi-bus I2C

2009-02-10 Thread Heiko Schocher
Hello Wolfgang, Wolfgang Denk wrote: In message 49901379.2050...@denx.de you wrote: - I also think, we should have a u-boot-i2c.git or something like that for this big change. So your patches go first in u-boot-i2c.git, and everybody can try out your changes. And if all goes OK, then it

[U-Boot] cfi: make flash_get_info() non static

2009-02-10 Thread Heiko Schocher
If on your board is more than one flash, you must know the size of every single flash, for example, for updating the DTS before booting Linux. So make this function flash_get_info() extern, and you can have all info about your flashes. Signed-off-by: Heiko Schocher h...@denx.de ---

[U-Boot] lcd

2009-02-10 Thread Anusha Bhat
Hi, How to add LCD(confog_lcd) support in omap3evm bootloader(u-boot)? Thank u. Ragards, Anusha ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Atmel AT91 USB Device Controller Driver

2009-02-10 Thread Fabio Porcedda
Hi all, I would like to use an USB Console with an AT91SAM9260 microcontroller, so I've read that the usb device driver and the serial over usb driver should be enabled: #define CONFIG_USB_DEVICE #define CONFIG_USB_TTY #define CFG_CONSOLE_IS_IN_ENV the support for the Serial over USB is already

Re: [U-Boot] [PATCH] ppc4xx/net: Rename 4xx_enet to ppc4xx_emac

2009-02-10 Thread Michal Simek
Thanks, Michal Stefan Roese wrote: Signed-off-by: Stefan Roese s...@denx.de --- Ben, I think this patch should either go though your or my repository. I suggest that you pull it into yours (if nobody objects) since merging problems with the 4xx linker scripts are unlikely. Thanks.

Re: [U-Boot] [PATCH 1/3] Add support for W90P710 ARM7 SoC

2009-02-10 Thread Konstantin Vovk
Jean-Christophe PLAGNIOL-VILLARD wrote: On 13:08 Mon 09 Feb , Vovk Konstantin wrote: Add support for CPU and serial communication. Interrupt not used for work with Timer0. Serial communication configured for UART0. --- cpu/arm720t/cpu.c | 48 ++-

Re: [U-Boot] [PATCH] tsec: Wait for auto-negotiation to complete without link

2009-02-10 Thread Jerry Van Baren
Andy Fleming wrote: On Fri, Feb 6, 2009 at 1:30 PM, Jerry Van Baren gerald.vanba...@ge.com wrote: Andy Fleming wrote: On Fri, Feb 6, 2009 at 7:32 AM, Jerry Van Baren gerald.vanba...@ge.com wrote: Peter Tyser wrote: [snip] My experience is that The second case assumes that the far end

[U-Boot] Problem booting CRAMFS with flattened device tree

2009-02-10 Thread hendrik
Greetings all, I have been able to port to U-boot 2009 successfully and am able to boot Linux 2.6.27 via NFS using a flattened device tree. I am now stuck trying to boot a CRAMFS version from flash (AMD nor). I found that U-boot1.2 used a MTD map that is compiled for the board. Is this still

Re: [U-Boot] [PATCH] ppc4xx/net: Rename 4xx_enet to ppc4xx_emac

2009-02-10 Thread Ben Warren
On Tue, Feb 10, 2009 at 2:35 AM, Stefan Roese s...@denx.de wrote: Signed-off-by: Stefan Roese s...@denx.de --- Ben, I think this patch should either go though your or my repository. I suggest that you pull it into yours (if nobody objects) since merging problems with the 4xx linker scripts

Re: [U-Boot] [PATCH 1/2] net: Sort Makefile labels

2009-02-10 Thread Ben Warren
On Tue, Feb 10, 2009 at 1:09 AM, Michal Simek mon...@monstr.eu wrote: Dear Wolfgang, Dear Michal Simek, In message 49913792.9060...@monstr.eu you wrote: COBJS-$(CONFIG_DRIVER_3C589) += 3c589.o +COBJS-$(CONFIG_PPC4xx_EMAC) += 4xx_enet.o COBJS-$(CONFIG_DRIVER_AX88180) += ax88180.o

Re: [U-Boot] PATCH 0/8 Multi-adapter multi-bus I2C

2009-02-10 Thread ksi
On Tue, 10 Feb 2009, Heiko Schocher wrote: Hello Wolfgang, Wolfgang Denk wrote: In message 49901379.2050...@denx.de you wrote: - I also think, we should have a u-boot-i2c.git or something like that for this big change. So your patches go first in u-boot-i2c.git, and everybody can

Re: [U-Boot] PATCH 0/8 Multi-adapter multi-bus I2C

2009-02-10 Thread Heiko Schocher
Hello ksi, k...@koi8.net wrote: On Tue, 10 Feb 2009, Heiko Schocher wrote: Hello Wolfgang, Wolfgang Denk wrote: In message 49901379.2050...@denx.de you wrote: - I also think, we should have a u-boot-i2c.git or something like that for this big change. So your patches go first in

[U-Boot] Issues when BDI2000 accesses the emtpy flash

2009-02-10 Thread Spark Zhao
Hi, All My platform is FSL8347, Flash : SPANSION S29GL01GP 128MB, base address 0xf800, RAM 256MB DDR2. BDI2000 with 1.22 firmware for MPC82xx/83xx/.. I erased the first sector of the flash, then tried to access the empty flash by the command md 0xf800, it always report that # SAP: read

Re: [U-Boot] PATCH 0/8 Multi-adapter multi-bus I2C

2009-02-10 Thread ksi
On Tue, 10 Feb 2009, Heiko Schocher wrote: Hello ksi, k...@koi8.net wrote: On Tue, 10 Feb 2009, Heiko Schocher wrote: Hello Wolfgang, Wolfgang Denk wrote: In message 49901379.2050...@denx.de you wrote: - I also think, we should have a u-boot-i2c.git or something like that

Re: [U-Boot] [PATCH] tsec: Wait for auto-negotiation to complete without link

2009-02-10 Thread Scott Wood
On Tue, Feb 10, 2009 at 08:59:11AM -0500, Jerry Van Baren wrote: That is my reasoning behind my statement that we can generally ignore the autonegotiation - fixed configuration case because the odds of it working properly are poor anyway. I'm not fond of giving up any ability to support a

Re: [U-Boot] [PATCH 36/42] Blackfin: cm-bf548: new board port

2009-02-10 Thread Scott Wood
On Tue, Feb 10, 2009 at 01:21:14AM -0500, Mike Frysinger wrote: diff --git a/board/cm-bf548/nand.c b/board/cm-bf548/nand.c new file mode 100644 index 000..bce563e --- /dev/null +++ b/board/cm-bf548/nand.c @@ -0,0 +1,2 @@ +/* Share the nand driver */ +#include ../bf548-ezkit/nand.c

Re: [U-Boot] [PATCH 18/42] Blackfin: make sure autoconf.mk is generated early enough

2009-02-10 Thread Ben Warren
Hi Mike, Mike Frysinger wrote: We use things from autoconf.mk in the top level Makefile, so it needs to exist before doing a top level make. Otherwise, the top level make env does not get the values in the autoconf.mk. Signed-off-by: Mike Frysinger vap...@gentoo.org --- Makefile |2

Re: [U-Boot] [PATCH 18/42] Blackfin: make sure autoconf.mk is generated early enough

2009-02-10 Thread Mike Frysinger
On Tuesday 10 February 2009 12:54:31 Ben Warren wrote: Mike Frysinger wrote: We use things from autoconf.mk in the top level Makefile, so it needs to exist before doing a top level make. Otherwise, the top level make env does not get the values in the autoconf.mk. Signed-off-by: Mike

Re: [U-Boot] [PATCH 18/42] Blackfin: make sure autoconf.mk is generated early enough

2009-02-10 Thread Ben Warren
Mike Frysinger wrote: On Tuesday 10 February 2009 12:54:31 Ben Warren wrote: Mike Frysinger wrote: We use things from autoconf.mk in the top level Makefile, so it needs to exist before doing a top level make. Otherwise, the top level make env does not get the values in the

Re: [U-Boot] PATCH: Fix MPC8260 with ethernet on SCC

2009-02-10 Thread Heiko Schocher
Hello Ben, Ben Warren wrote: k...@koi8.net wrote: This fixes MPC8260 compilation with ethernet on SCC. Probably was a typo or something... Signed-off-by: Sergey Kubushyn k...@koi8.net --- diff -purN u-boot.orig/cpu/mpc8260/cpu.c u-boot/cpu/mpc8260/cpu.c ---

Re: [U-Boot] PATCH 0/8 Multi-adapter multi-bus I2C

2009-02-10 Thread ksi
On Tue, 10 Feb 2009, Wolfgang Denk wrote: Dear k...@koi8.net, In message pine.lnx.4.64ksi.0902100900510.6...@home-gw.koi8.net you wrote: Would you like to volunteer as I2C custodian? Ok, I will try it. That's fine. Please let me know when it is setup and how can I push my

Re: [U-Boot] [PATCH 18/42] Blackfin: make sure autoconf.mk is generated early enough

2009-02-10 Thread Mike Frysinger
On Tuesday 10 February 2009 14:42:20 Wolfgang Denk wrote: Dear Mike Frysinger, In message 200902101357.29507.vap...@gentoo.org you wrote: $(BFIN_BOARDS:%=%_config) : unconfig @$(MKCONFIG) $(@:_config=) blackfin blackfin $(@:_config=) + @$(MAKE) -s -B

Re: [U-Boot] [PATCH] musb: add timeout via CONFIG_MUSB_TIMEOUT

2009-02-10 Thread Remy Bohmer
Hello Mike, 2009/2/10 Mike Frysinger vap...@gentoo.org: From: Bryan Wu bryan...@analog.com + int timeout = CONFIG_MUSB_TIMEOUT; while (result 0) { csr = readw(musbr-txcsr); @@ -152,7 +153,17 @@ static int wait_until_ep0_ready(struct usb_device *dev, u32

Re: [U-Boot] Atmel AT91 USB Device Controller Driver

2009-02-10 Thread Remy Bohmer
Hello Fabio, 2009/2/10 Fabio Porcedda fabio.porce...@gmail.com: Hi all, I would like to use an USB Console with an AT91SAM9260 microcontroller, so I've read that the usb device driver and the serial over usb driver should be enabled: #define CONFIG_USB_DEVICE #define CONFIG_USB_TTY

Re: [U-Boot] [PATCH] musb: add timeout via CONFIG_MUSB_TIMEOUT

2009-02-10 Thread Mike Frysinger
On Tuesday 10 February 2009 15:11:55 Remy Bohmer wrote: 2009/2/10 Mike Frysinger: From: Bryan Wu bryan...@analog.com + int timeout = CONFIG_MUSB_TIMEOUT; while (result 0) { csr = readw(musbr-txcsr); @@ -152,7 +153,17 @@ static int

Re: [U-Boot] [PATCH] USB: Remove LUN number from CDB

2009-02-10 Thread Remy Bohmer
Hello Thomas, 2009/2/10 Remy Bohmer li...@bohmer.net: Hello Wolfgang, In message 19f8576c6e063c45be387c64729e739403e5ca6...@dbde02.ent.ti.com Abraham, Thomas wrote: The LUN number is not part of the Command Descriptor Block (CDB) for scsi inquiry, request sense, test unit ready, read

[U-Boot] [PATCH] Add eth_get_dev_by_index

2009-02-10 Thread Andy Fleming
This allows code to iterate through the ethernet devices Also does some whitespace cleanup Signed-off-by: Andy Fleming aflem...@freescale.com --- Sorry this is so late. This has been sitting in my tree, and is required for a patch for 85xx. It's included in my upcoming pull request, as long as

Re: [U-Boot] [PATCH] Add eth_get_dev_by_index

2009-02-10 Thread Mike Frysinger
On Tuesday 10 February 2009 19:55:35 Andy Fleming wrote: diff --git a/include/net.h b/include/net.h index bbe0d4b..fc14615 100644 --- a/include/net.h +++ b/include/net.h @@ -116,18 +116,19 @@ looks like a lot of pointless whitespace changes when there should just be 1 new line: the

Re: [U-Boot] [PATCH] Add eth_get_dev_by_index

2009-02-10 Thread Andy Fleming
On Tue, Feb 10, 2009 at 7:01 PM, Mike Frysinger vap...@gentoo.org wrote: On Tuesday 10 February 2009 19:55:35 Andy Fleming wrote: diff --git a/include/net.h b/include/net.h index bbe0d4b..fc14615 100644 --- a/include/net.h +++ b/include/net.h @@ -116,18 +116,19 @@ looks like a lot of

Re: [U-Boot] [PATCH] Add eth_get_dev_by_index

2009-02-10 Thread Mike Frysinger
On Tuesday 10 February 2009 20:43:54 Andy Fleming wrote: On Tue, Feb 10, 2009 at 7:01 PM, Mike Frysinger vap...@gentoo.org wrote: On Tuesday 10 February 2009 19:55:35 Andy Fleming wrote: diff --git a/include/net.h b/include/net.h index bbe0d4b..fc14615 100644 --- a/include/net.h +++

Re: [U-Boot] [PATCH] Add eth_get_dev_by_index

2009-02-10 Thread Ben Warren
Andy Fleming wrote: This allows code to iterate through the ethernet devices Also does some whitespace cleanup Signed-off-by: Andy Fleming aflem...@freescale.com Acked-by: Ben Warren biggerbadder...@gmail.com --- Sorry this is so late. This has been sitting in my tree, and is required

Re: [U-Boot] [PATCH 01/27 v2] Blackfin: bfin_mac: force board_get_enetaddr() usage

2009-02-10 Thread Ben Warren
Mike Frysinger wrote: On Tuesday 03 February 2009 14:40:00 Mike Frysinger wrote: i think we can agree that this does not scale at all. if, however, we change the global data to something like: typedef struct bd_info { ... #ifdef CONFIG_NET_MULTI uchar

Re: [U-Boot] [PATCH 01/27 v2] Blackfin: bfin_mac: force board_get_enetaddr() usage

2009-02-10 Thread Mike Frysinger
On Wednesday 11 February 2009 00:45:05 Ben Warren wrote: Mike Frysinger wrote: On Tuesday 03 February 2009 14:40:00 Mike Frysinger wrote: i think we can agree that this does not scale at all. if, however, we change the global data to something like: typedef struct bd_info { ...