Re: [U-Boot] [PATCH] gpio: generalize for all generic gpio providers

2011-04-12 Thread Mike Frysinger
On Tuesday, April 12, 2011 09:13:35 Andreas Pretzsch wrote: > Am Montag, den 11.04.2011, 23:14 -0400 schrieb Mike Frysinger: > > On Monday, April 11, 2011 15:34:17 Andreas Pretzsch wrote: > > > Am Sonntag, den 03.04.2011, 04:43 -0400 schrieb Mike Frysinger: > > > > + return port_base + simple

Re: [U-Boot] ramtron f-ram

2011-04-12 Thread Mike Frysinger
On Tuesday, April 12, 2011 09:23:21 Ran Shalit wrote: > But since the ramtron implementation change the value of IDCODE_CONT_LEN, I > will get that this constant (IDCODE_CONT_LEN) > is OK for one flash but wrong in the other that is incorrect. the IDCODE_CONT_LEN only controls the max # of ident

Re: [U-Boot] Image copy to ram

2011-04-12 Thread Mike Frysinger
On Tuesday, April 12, 2011 04:01:18 Matthias Weißer wrote: > I looked into the documentation but I can't find a command which copies > an image from one address to another. you mean 'cp' ? -mike signature.asc Description: This is a digitally signed message part. _

Re: [U-Boot] [PATCH 3/3] Rename openrd_base files to openrd.

2011-04-12 Thread Albert ARIBAUD
Hi Clint, Le 12/04/2011 18:09, Clint Adams a écrit : > --- > board/Marvell/openrd/Makefile | 56 ++ > board/Marvell/openrd/kwbimage.cfg | 168 > ++ > board/Marvell/openrd/openrd.c | 173 > +++ > bo

Re: [U-Boot] [PATCH 1/3] Add definitions for OpenRD-Client and OpenRD-Ultimate

2011-04-12 Thread Albert ARIBAUD
Le 12/04/2011 18:09, Clint Adams a écrit : > --- > MAKEALL |2 ++ > board/Marvell/openrd_base/openrd_base.c |6 ++ > boards.cfg |4 +++- > include/configs/openrd_base.h | 14 +- > 4 files chan

[U-Boot] Health insurance (4/12/2011)

2011-04-12 Thread Robert Moore
Hello, Our company is an authorized agent for a unique advertising opportunity, reaching over 36,000,000 consumers, 94% of which are US based. We're able to present our users with a preferred choice whenever they are looking for anything on the major search engines. I seek one source to send th

Re: [U-Boot] [PATCH ATMEL REWORK][V3] update arm/at91rm9200 work with rework rework110202

2011-04-12 Thread Jens Scharsig
Dear Reinhard Meyer, can you apply this patch to current atmel_rework 110411. The eb_cpux9k2 board runs with this patch. The at91rm9200_ek has compiled without error's. Best regards Jens Scharsig ___ U-Boot mailing list U-Boot@lists.denx.de http://li

[U-Boot] [PATCH] da850evm: fix NAND WSTROBE and TA timings

2011-04-12 Thread Ben Gardiner
The current NAND timings, introduced in commit a3f88293ddd13facd734769c1664d35ab4ed681f da850evm: setup the NAND flash timings , incorrectly set WSTROBE and TA to 0. A more recent inspection of the values set by the Linux kernel indicates that these should be set to 1. Set the WSTROBE and TA field

Re: [U-Boot] [PATCH] powerpc: fix LDSCRIPT in NAND boot

2011-04-12 Thread Wolfgang Denk
Dear Zhao Chenhui, In message <1296202676-30873-1-git-send-email-b35...@freescale.com> you wrote: > ONFIG_NAND_U_BOOT indicates whether the SPL is used, while > CONFIG_NAND_SPL is set only when building the SPL itself (and isn't > available in makefiles anyway). This is the linker script for the

Re: [U-Boot] [PATCH] powerpc: fix LDSCRIPT in NAND boot

2011-04-12 Thread Scott Wood
On Tue, 12 Apr 2011 20:39:21 +0200 Wolfgang Denk wrote: > Dear Zhao Chenhui, > > In message <1296202676-30873-1-git-send-email-b35...@freescale.com> you wrote: > > ONFIG_NAND_U_BOOT indicates whether the SPL is used, while > > CONFIG_NAND_SPL is set only when building the SPL itself (and isn't >

Re: [U-Boot] [PATCH 2/3] Initialize second PHY on OpenRD-Client and OpenRD-Ultimate.

2011-04-12 Thread Clint Adams
On Tue, Apr 12, 2011 at 11:38:13AM -0700, Julian Pidancet wrote: > This part only initialize second PHY for the OpenRD-Client board and not > the OpenRD-Ultimate. > I would do something like: > > #if defined(CONFIG_BOARD_IS_OPENRD_CLIENT) || > defined(CONFIG_BOARD_IS_OPENRD_ULTIMATE) > #if defined

[U-Boot] [PATCH 1/3] Add definitions for OpenRD-Client and OpenRD-Ultimate

2011-04-12 Thread Clint Adams
--- MAKEALL |2 ++ board/Marvell/openrd_base/openrd_base.c |6 ++ boards.cfg |4 +++- include/configs/openrd_base.h | 14 +- 4 files changed, 24 insertions(+), 2 deletions(-) diff --git a/MAKEALL

[U-Boot] [PATCH 2/3] Initialize second PHY on OpenRD-Client and OpenRD-Ultimate.

2011-04-12 Thread Clint Adams
(rework of Julian Pidancet's patch) --- board/Marvell/openrd_base/openrd_base.c | 24 include/configs/openrd_base.h | 14 -- 2 files changed, 32 insertions(+), 6 deletions(-) diff --git a/board/Marvell/openrd_base/openrd_base.c b/board/Marvell/o

[U-Boot] [PATCH 3/3] Rename openrd_base files to openrd.

2011-04-12 Thread Clint Adams
--- board/Marvell/openrd/Makefile | 56 ++ board/Marvell/openrd/kwbimage.cfg | 168 + board/Marvell/openrd/openrd.c | 175 +++ board/Marvell/openrd/openrd.h | 46 board/Marvell/openrd

Re: [U-Boot] Image copy to ram

2011-04-12 Thread Matthias Weisser
Am 12.04.2011 18:20, schrieb Mike Frysinger: > On Tuesday, April 12, 2011 04:01:18 Matthias Weißer wrote: >> I looked into the documentation but I can't find a command which copies >> an image from one address to another. > > you mean 'cp' ? Well, not exactly. cp doesn't know anything about the s

Re: [U-Boot] [PATCH 2/3] Initialize second PHY on OpenRD-Client and OpenRD-Ultimate.

2011-04-12 Thread Julian Pidancet
Thank you for reworking this patch. On 04/12/2011 09:09 AM, Clint Adams wrote: > (rework of Julian Pidancet's patch) > --- > board/Marvell/openrd_base/openrd_base.c | 22 ++ > include/configs/openrd_base.h | 14 -- > 2 files changed, 30 insertions(+),

Re: [U-Boot] [PATCH] mvgbe: enable the reception of packets with an odd number of preamble nibbles

2011-04-12 Thread Wolfgang Denk
Dear Klaus Flittner, In message <20110131204025.1ffb0...@earth.lan> you wrote: > With the current hardware initialisation of the driver all packets with > an odd number of preamble nibbles are dropped. Some switches seem to > send all packets with such an preamble. > > According to the functional

Re: [U-Boot] [PATCH 1/1] Fix min/max macros in include/common.h

2011-04-12 Thread Wolfgang Denk
Dear Aaron Williams, In message <201101311955.50902.aaron.willi...@caviumnetworks.com> you wrote: > There is a bug in the min and max macros in common.h which occurs if > Y is a larger type than X. For example, if Y is a 64-bit value and X > is a 32-bit value then Y will be truncated to 32-bits.

Re: [U-Boot] [PATCH] Fix gunzip to work for any gzipped uImage size Signed-off-by: Catalin Radu

2011-04-12 Thread Wolfgang Denk
Dear Catalin Radu, In message <1296664907-2185-1-git-send-email-cata...@virtualmetrix.com> you wrote: > --- > lib/gunzip.c | 16 ++-- > 1 files changed, 10 insertions(+), 6 deletions(-) Please resubmit after cleaning up as requested by Sergei! Best regards, Wolfgang Denk -- DE

Re: [U-Boot] [PATCH] Fix gunzip to work for any gzipped uImage size Signed-off-by: Catalin Radu

2011-04-12 Thread Wolfgang Denk
Dear Catalin Radu, In message <1296664907-2185-1-git-send-email-cata...@virtualmetrix.com> you wrote: > --- > lib/gunzip.c | 16 ++-- > 1 files changed, 10 insertions(+), 6 deletions(-) Oops. Please ignore me. Or rather: Next time when posting a follow up patch please make sure t

Re: [U-Boot] [PATCH] Fix gunzip to work for any gziped uImage size

2011-04-12 Thread Wolfgang Denk
Dear Catalin Radu, In message <1296822947-6320-1-git-send-email-cata...@virtualmetrix.com> you wrote: > > Signed-off-by: Catalin Radu > --- > lib/gunzip.c | 16 ++-- > 1 files changed, 10 insertions(+), 6 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Soft

Re: [U-Boot] [PATCH] Fix bad padding of bootp request packet

2011-04-12 Thread Wolfgang Denk
Dear Simon Glass, In message <1296687808-10086-1-git-send-email-...@chromium.org> you wrote: > This seems to pad to one byte longer than required > > Change-Id: I86a888a9f5f27356e260c0457d92468d5923a756 What is this "Change-Id:" supposed to mean? Best regards, Wolfgang Denk -- DENX Software

[U-Boot] [PATCH] powerpc/85xx: Enable Internal USB PHY for p2040, p3041, p5010 and p5020

2011-04-12 Thread Kumar Gala
From: Roy Zang The P2040, P3041, P5010, and P5020 all have internal USB PHYs that we need to enable for them to function. Signed-off-by: Roy Zang Signed-off-by: Kumar Gala --- arch/powerpc/cpu/mpc85xx/cpu_init.c | 17 + arch/powerpc/include/asm/config_mpc85xx.h |8

Re: [U-Boot] Image copy to ram

2011-04-12 Thread Mike Frysinger
On Tuesday, April 12, 2011 14:47:46 Matthias Weisser wrote: > Am 12.04.2011 18:20, schrieb Mike Frysinger: > > On Tuesday, April 12, 2011 04:01:18 Matthias Weißer wrote: > >> I looked into the documentation but I can't find a command which copies > >> an image from one address to another. > > > >

Re: [U-Boot] [PATCH V3] Fix misc spelling errors found by lintian

2011-04-12 Thread Wolfgang Denk
Dear =?UTF-8?q?Lo=C3=AFc=20Minier?=, In message <1296767066-26337-1-git-send-email-loic.min...@linaro.org> you wrote: > Signed-off-by: Loïc Minier > --- > Changes for V3: > * tweak casing of string in common/cmd_usb.c to "No device available" > > Changes for V2: > * add Signed-off-by > > arc

Re: [U-Boot] [PATCH] Drop config.h include in tools/imximage.h

2011-04-12 Thread Wolfgang Denk
Dear =?UTF-8?q?Lo=C3=AFc=20Minier?=, In message <1296742021-23999-1-git-send-email-loic.min...@linaro.org> you wrote: > "make tools-all" should allow building tools such as mkimage and the new > imximage without any config, but imximage.c currently fails to build > with: > imximage.h:27:20: error:

Re: [U-Boot] [PATCH] [NEXT] Make STANDALONE_LOAD_ADDR configurable per board

2011-04-12 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1296825917-31025-1-git-send-email...@denx.de> you wrote: > Rename STANDALONE_LOAD_ADDR into CONFIG_STANDALONE_LOAD_ADDR > and allow that the architecture-specific default value gets > overwritten by defining the value in the board header file. > > Signed-off-by: Wo

Re: [U-Boot] [PATCH] Only build fw_printenv if we have mtd/mtd-user.h

2011-04-12 Thread Wolfgang Denk
Dear =?UTF-8?q?Lo=C3=AFc=20Minier?=, In message <1297120981-29885-1-git-send-email-loic.min...@linaro.org> you wrote: > mtd/mtd-user.h is missing on FreeBSD hosts; add a macro to test whether > a specific host header is present and use it to decide to build > fw_printenv if mtd/mtd-user.h is prese

Re: [U-Boot] [U-BOOT] [PATCH] mmc: enable switch partition function

2011-04-12 Thread Wolfgang Denk
Dear Lei Wen, In message you wrote: > > Further refine this idea, don't need to call mmc_register multi-times. > For the purpose is to switch partition when needed, we really do want to one > real device. So I propose a new solution as: > > Assume there is two sd/mmc controller on the board, na

[U-Boot] [PATCH] part_dos: allocate sector buffer dynamically

2011-04-12 Thread Sergei Shtylyov
Apple iPod nanos have sector sizes of 2 or 4 KiB, which crashes U-Boot when it tries to read the MBR into 512-byte buffer situated on stack. Instead allocate this buffer dynamically to be safe with any large sector size. Signed-off-by: Sergei Shtylyov --- The same change is probably needed for d

Re: [U-Boot] Image copy to ram

2011-04-12 Thread Matthias Weisser
Am 12.04.2011 21:12, schrieb Mike Frysinger: > On Tuesday, April 12, 2011 14:47:46 Matthias Weisser wrote: >> Am 12.04.2011 18:20, schrieb Mike Frysinger: >>> On Tuesday, April 12, 2011 04:01:18 Matthias Weißer wrote: I looked into the documentation but I can't find a command which copies

Re: [U-Boot] [PATCH 1/3] cmd_nvedit: use explicit typecast for printf

2011-04-12 Thread Wolfgang Denk
Dear =?UTF-8?q?Andreas=20Bie=C3=9Fmann?=, In message <1297260631-13864-2-git-send-email-biessm...@corscience.de> you wrote: > This patch fixes warnings in MAKEALL for avr32: > > ---8<--- > cmd_nvedit.c: In function 'do_env_export': > cmd_nvedit.c:663: warning: format '%zX' expects type 'size_t',

Re: [U-Boot] [PATCH 3/3] common/cmd_bdinfo.c: fix do_bdinfo() for AVR32

2011-04-12 Thread Wolfgang Denk
Dear =?UTF-8?q?Andreas=20Bie=C3=9Fmann?=, In message <1297260631-13864-4-git-send-email-biessm...@corscience.de> you wrote: > This patch fixes following warning message: > > ---8<--- > cmd_bdinfo.c:458: warning: initialization from incompatible pointer type > --->8--- > > There was a prototype

Re: [U-Boot] [PATCH] Only build fw_printenv if we have mtd/mtd-user.h

2011-04-12 Thread Loïc Minier
On Tue, Apr 12, 2011, Wolfgang Denk wrote: > I understand thi is just a RFC, not a patch (yet) intended for > inclusion? [In that case it would miss your SoB line...] Correct! was just a RFC (albeit I did include it in the Debian packaging for now, until we have an upstreamable way of doing it)

Re: [U-Boot] [PATCH 0/3] Get AVR32 boards working with partial linking

2011-04-12 Thread Wolfgang Denk
Dear Reinhard Meyer, In message <4d52ae98.3020...@emk-elektronik.de> you wrote: > > > common/cmd_bdinfo.c|2 +- > > common/cmd_nvedit.c|4 ++-- > > Shall I also handle those, or is someone else going to handle them? Wolfgang? I took these, thanks.

Re: [U-Boot] [PATCH v4] ftwdt010_wdt: support faraday ftwdt010 watchdog

2011-04-12 Thread Wolfgang Denk
Dear Macpaul Lin, In message you wrote: > > Thanks for your patience for reviewing and fixing up the code. > > However, the latest version of this watchdog ftwdt010_wdt is v6. > http://patchwork.ozlabs.org/patch/88164/ Sorry for missing this - note that it would have helped a lot of you hat ke

Re: [U-Boot] [PATCH] ftwdt010_wdt: move header to include/faraday and enhance

2011-04-12 Thread Wolfgang Denk
Dear Macpaul Lin, In message <1302584642-16787-1-git-send-email-macp...@andestech.com> you wrote: > 1. Move header to include/faraday > 2. Fix include path in ftwdt010_wdt.c > 3. Fix function prototype and declaration to > - ftwdt010_wdt_settimeout > - ftwdt010_wdt_reset > - ftwdt010_wdt_dis

Re: [U-Boot] [PATCH 1/3] Add definitions for OpenRD-Client and OpenRD-Ultimate

2011-04-12 Thread Albert ARIBAUD
Le 12/04/2011 20:44, Clint Adams a écrit : > --- > MAKEALL |2 ++ > board/Marvell/openrd_base/openrd_base.c |6 ++ > boards.cfg |4 +++- > include/configs/openrd_base.h | 14 +- > 4 files chan

Re: [U-Boot] [PATCH 2/5] e1000: Restructure and streamline PCI device probing

2011-04-12 Thread Wolfgang Denk
Dear Kyle Moffett, In message <1297467482-14864-3-git-send-email-kyle.d.moff...@boeing.com> you wrote: > By allocating the e1000 device structures much earlier, we can easily > generate better error messages and siginficantly clean things up. > > The only user-visable change (aside from reworded

Re: [U-Boot] [PATCH 4/5] e1000: New "e1000" commands for SPI EEPROM management

2011-04-12 Thread Wolfgang Denk
Dear Kyle Moffett, In message <1297467482-14864-5-git-send-email-kyle.d.moff...@boeing.com> you wrote: > For our new board ports, we are programming the EEPROMs attached to our > Intel 82571EB controllers from software (using U-Boot and Linux). > > This code provides a helpful set of "e1000" sub

Re: [U-Boot] [PATCH 5/5] e1000: Add a small SPI driver wrapper around the EEPROM code

2011-04-12 Thread Wolfgang Denk
Dear Kyle Moffett, In message <1297467482-14864-6-git-send-email-kyle.d.moff...@boeing.com> you wrote: > To make it possible to use the "sspi" command with the e1000 firmware > EEPROM we add a small "generic SPI" driver wrapper around the existing > e1000 SPI backend. > > Signed-off-by: Kyle Mof

Re: [U-Boot] [PATCH v4] mkimage: add "-V" option to print version information

2011-04-12 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1297503431-19435-1-git-send-email...@denx.de> you wrote: > Signed-off-by: Wolfgang Denk > --- > v2: fix missing argument to printf() call. > v3: explain the magic "+ 7" offset into the version string > v3: avoid offset into U_BOOT_VERSION string completely and defi

Re: [U-Boot] [PATCH] Add support for dataflash to U-boot environment settings tool.

2011-04-12 Thread Wolfgang Denk
Dear Remy Bohmer, In message <1297533986-13294-1-git-send-email-li...@bohmer.net> you wrote: > * The sector size for SPI-dataflash (like AT45 flashes) are not always > a power-of-2. So, the sector calculations are rewritten such that it > works for either power-of-2 as any size sectors. > * Ma

Re: [U-Boot] [PATCH 2/2] hush: Fix return code when using 'exit' in control structures

2011-04-12 Thread Wolfgang Denk
In message <1297710697-13872-2-git-send-email...@denx.de> you wrote: > This fixes cases like this one, there hush used to return 0 : > > => if foo ; then do something ; exit 1 ; fi ; echo RC=$? > Unknown command 'foo' - try 'help' > RC=1 > > Adapted from Barebox commit 2477fb1 >

Re: [U-Boot] [PATCH] disk/part.c: fix potential stack overflow bug

2011-04-12 Thread Wolfgang Denk
Dear Lei Wen, In message <1297760200-15301-1-git-send-email-lei...@marvell.com> you wrote: > If the param pass to get_dev is not the one defined in the block_drvr, > it could make uboot becomes unstable, for it would continue run after > search complete the block_drvr table. > > Signed-off-by: Le

[U-Boot] [PATCH V4] arm: Tegra2: add support for A9 CPU init

2011-04-12 Thread Tom Warren
Signed-off-by: Tom Warren --- Changes for V2: - Remove returns in void functions - Move inline assembly code to .S file - Simplify some if/else code, break out common code - Minimize the use of local vars - Inline some single-instance functions - Rem

Re: [U-Boot] [PATCH] powerpc: fix LDSCRIPT in NAND boot

2011-04-12 Thread Wolfgang Denk
Dear Scott Wood, In message <20110412134338.7b5d0...@schlenkerla.am.freescale.net> you wrote: > On Tue, 12 Apr 2011 20:39:21 +0200 > Wolfgang Denk wrote: > > > Dear Zhao Chenhui, > > > > In message <1296202676-30873-1-git-send-email-b35...@freescale.com> you > > wrote: > > > ONFIG_NAND_U_BOOT

[U-Boot] [PATCH 1/5] Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter

2011-04-12 Thread Simon Glass
The SMSC95XX is a USB hub with a built-in Ethernet adapter. This adds support for this, using the USB host network framework. TEST=usb start; bootp; tftp ... Signed-off-by: Simon Glass --- drivers/usb/eth/Makefile|1 + drivers/usb/eth/smsc95xx.c | 922 +

[U-Boot] [PATCH 2/5] Add Ethernet hardware MAC address framework to usbnet

2011-04-12 Thread Simon Glass
Built-in Ethernet adapters support setting the mac address by means of a ethaddr environment variable for each interface (ethaddr, eth1addr, eth2addr). This adds similar support to the USB network side, using the names usbethaddr, usbeth1addr, etc. They are kept separate since we don't want a USB

[U-Boot] [PATCH 3/5] Add documentation for USB Host Networking

2011-04-12 Thread Simon Glass
This describes what it is for, devices supported, how to enable for your board in U-Boot, setting up the server, and notes about MAC addresses. Signed-off-by: Simon Glass --- doc/README.usb | 163 +++- 1 files changed, 162 insertions(+), 1 del

[U-Boot] [PATCH 4/5] Put common autoload code into AutoLoad() function

2011-04-12 Thread Simon Glass
This is a small clean-up patch. TEST=Build U-Boot, try bootp and check it auto-loads. Signed-off-by: Simon Glass --- net/bootp.c | 76 +- 1 files changed, 33 insertions(+), 43 deletions(-) diff --git a/net/bootp.c b/net/bootp.c index 1a

[U-Boot] [PATCH 5/5] Allow tftp server to be different from bootp/dhcp server

2011-04-12 Thread Simon Glass
In many environments the DHCP server (which provides IP addresses) is not under control of the individual engineer. While it is required in order to connect to the corporate network, it doesn't provide useful information for booting. For example, it may be set up for PC imaging and provide a bootfi

Re: [U-Boot] [PATCH ATMEL REWORK][V3] update arm/at91rm9200 work with rework rework110202

2011-04-12 Thread Andreas Bießmann
Dear Reinhard Meyer, Am 12.04.2011 um 20:33 schrieb Jens Scharsig: > Dear Reinhard Meyer, > > can you apply this patch to current atmel_rework 110411. This patch should even go into atmel/next, it is required to have at91rm9200ek built with latest changes merged into atmel/next. Tested-by: An

Re: [U-Boot] [PATCH 1/5] Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter

2011-04-12 Thread Wolfgang Denk
Dear Simon Glass, In message <1302642840-6958-1-git-send-email-...@chromium.org> you wrote: > The SMSC95XX is a USB hub with a built-in Ethernet adapter. This adds support > for this, using the USB host network framework. > > TEST=usb start; bootp; tftp ... > > Signed-off-by: Simon Glass > ---

Re: [U-Boot] [PATCH 5/5] Allow tftp server to be different from bootp/dhcp server

2011-04-12 Thread Wolfgang Denk
Dear Simon Glass, In message <1302642840-6958-5-git-send-email-...@chromium.org> you wrote: > In many environments the DHCP server (which provides IP addresses) is not > under control of the individual engineer. While it is required in order to > connect to the corporate network, it doesn't provid

Re: [U-Boot] [PATCH 4/5] Put common autoload code into AutoLoad() function

2011-04-12 Thread Wolfgang Denk
Dear Simon Glass, In message <1302642840-6958-4-git-send-email-...@chromium.org> you wrote: > This is a small clean-up patch. > > TEST=Build U-Boot, try bootp and check it auto-loads. > > Signed-off-by: Simon Glass > --- > net/bootp.c | 76 +---

Re: [U-Boot] [PATCH 2/5] Add Ethernet hardware MAC address framework to usbnet

2011-04-12 Thread Mike Frysinger
On Tuesday, April 12, 2011 17:13:57 Simon Glass wrote: > Built-in Ethernet adapters support setting the mac address by means of a > ethaddr environment variable for each interface (ethaddr, eth1addr, > eth2addr). > > This adds similar support to the USB network side, using the names > usbethaddr,

Re: [U-Boot] [PATCH 1/5] Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter

2011-04-12 Thread Mike Frysinger
On Tuesday, April 12, 2011 17:13:56 Simon Glass wrote: > +static struct smsc95xx_dongle smsc95xx_dongles[] = { > + { 0x0424, 0xec00 }, /* LAN9512/LAN9514 Ethernet */ > + { 0x0424, 0x9500 }, /* LAN9500 Ethernet */ > + { 0x, 0x } /* END - Do not remove */ > +}; shoul

[U-Boot] RFC: How use same interface between arm926ejs/at91 and arm920t/at91

2011-04-12 Thread Andreas Bießmann
Dear Reinhard Meyer, I try to remove deprecated at91rm9200_usart driver for 2011.06 release (and switch to atmel_usart for at91rm9200 devices). This require the get_usart_clk_rate() which in turn requires get_mck_clk_rate() interface. This interface is currently implemented in a/a/c/arm926ejs/at91

Re: [U-Boot] [PATCH] imximage: drop useless config.h include

2011-04-12 Thread Mike Frysinger
On Wednesday, April 06, 2011 13:59:44 Mike Frysinger wrote: > The imximage code doesn't actually use any config defines, so it doesn't > need the config.h header. This also fixes building of tools only when > the tree hasn't been configured for any board. guess someone already posted a patch to f

Re: [U-Boot] [PATCH 2/5] e1000: Restructure and streamline PCI device probing

2011-04-12 Thread Moffett, Kyle D
On Apr 12, 2011, at 16:17, Wolfgang Denk wrote: > In message <1297467482-14864-3-git-send-email-kyle.d.moff...@boeing.com> you > wrote: >> By allocating the e1000 device structures much earlier, we can easily >> generate better error messages and siginficantly clean things up. >> >> The only user

Re: [U-Boot] [PATCH 4/5] e1000: New "e1000" commands for SPI EEPROM management

2011-04-12 Thread Moffett, Kyle D
On Apr 12, 2011, at 16:24, Wolfgang Denk wrote: > In message <1297467482-14864-5-git-send-email-kyle.d.moff...@boeing.com> you > wrote: >> For our new board ports, we are programming the EEPROMs attached to our >> Intel 82571EB controllers from software (using U-Boot and Linux). >> >> This code p

Re: [U-Boot] [PATCH 5/5] Allow tftp server to be different from bootp/dhcp server

2011-04-12 Thread Simon Glass
On Tue, Apr 12, 2011 at 2:56 PM, Wolfgang Denk wrote: > Dear Simon Glass, > > In message <1302642840-6958-5-git-send-email-...@chromium.org> you wrote: >> In many environments the DHCP server (which provides IP addresses) is not >> under control of the individual engineer. While it is required in

Re: [U-Boot] [PATCH 4/5] Put common autoload code into AutoLoad() function

2011-04-12 Thread Simon Glass
On Tue, Apr 12, 2011 at 2:58 PM, Wolfgang Denk wrote: > Dear Simon Glass, > ... >> >>       debug("got BOOTP packet (src=%d, dst=%d, len=%d want_len=%zu)\n", >>               src, dest, len, sizeof (Bootp_t)); >> @@ -312,26 +342,7 @@ BootpHandler(uchar * pkt, unsigned dest, unsigned src, >> unsig

[U-Boot] [PATCH v2 3/5] Add documentation for USB Host Networking

2011-04-12 Thread Simon Glass
This describes what it is for, devices supported, how to enable for your board in U-Boot, setting up the server, and notes about MAC addresses. Signed-off-by: Simon Glass --- doc/README.usb | 163 +++- 1 files changed, 162 insertions(+), 1 del

[U-Boot] [PATCH v2 1/5] Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter

2011-04-12 Thread Simon Glass
The SMSC95XX is a USB hub with a built-in Ethernet adapter. This adds support for this, using the USB host network framework. TEST=usb start; bootp; tftp ... Signed-off-by: Simon Glass --- Changes for v2: - Coding style cleanup - Changed some comments as suggested - eth_set_hwaddr -> e

[U-Boot] [PATCH v2 4/5] Put common autoload code into AutoLoad() function

2011-04-12 Thread Simon Glass
This is a small clean-up patch. TEST=Build U-Boot, try bootp and check it auto-loads. Signed-off-by: Simon Glass --- net/bootp.c | 76 +- 1 files changed, 33 insertions(+), 43 deletions(-) diff --git a/net/bootp.c b/net/bootp.c index 1a

[U-Boot] [PATCH v2 2/5] Add Ethernet hardware MAC address framework to usbnet

2011-04-12 Thread Simon Glass
Built-in Ethernet adapters support setting the mac address by means of a ethaddr environment variable for each interface (ethaddr, eth1addr, eth2addr). This adds similar support to the USB network side, using the names usbethaddr, usbeth1addr, etc. They are kept separate since we don't want a USB

[U-Boot] [PATCH v2 5/5] Allow tftp server to be different from bootp/dhcp server

2011-04-12 Thread Simon Glass
In many environments the DHCP server (which provides IP addresses) is not under control of the individual engineer. While it is required in order to connect to the corporate network, it doesn't provide useful information for booting. For example, it may be set up for PC imaging and provide a bootfi

Re: [U-Boot] [PATCH] Fix bad padding of bootp request packet

2011-04-12 Thread Simon Glass
On Tue, Apr 12, 2011 at 12:07 PM, Wolfgang Denk wrote: > Dear Simon Glass, > > In message <1296687808-10086-1-git-send-email-...@chromium.org> you wrote: >> This seems to pad to one byte longer than required >> >> Change-Id: I86a888a9f5f27356e260c0457d92468d5923a756 > > What is this "Change-Id:" s

Re: [U-Boot] [PATCH 1/5] Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter

2011-04-12 Thread Simon Glass
On Tue, Apr 12, 2011 at 2:50 PM, Wolfgang Denk wrote: > Dear Simon Glass, > > In message <1302642840-6958-1-git-send-email-...@chromium.org> you wrote: >> The SMSC95XX is a USB hub with a built-in Ethernet adapter. This adds support >> for this, using the USB host network framework. > Please make

Re: [U-Boot] [PATCH 1/2] ARMV7: Adding support for Samsung SMDKV310 Board

2011-04-12 Thread Minkyu Kang
Dear Chander Kashyap, On 11 April 2011 19:49, Chander Kashyap wrote: >> > SMDKV310 board is based on Samsung S5PV310 SOC. This SOC is very much >> > similar to S5PC210. >> > >> > Signed-off-by: Chander Kashyap >> > Signed-off-by: Tushar Behera >> > --- >> >  board/samsung/smdkv310/Makefile    

Re: [U-Boot] [PATCH v3] Divides variable of linker flags to LDFLAGS-u-boot and LDFLAGS

2011-04-12 Thread Nobuhiro Iwamatsu
Hi, # Scott has already replied, too. You applied this patch by commit 8aba9dceebb14144e07d19593111ee3a999c37fc. Best regards, Nobuhiro 2011/4/12 Wolfgang Denk : > Dear Nobuhiro Iwamatsu, > > In message <1294747652-12603-1-git-send-email-iwama...@nigauri.org> you wrote: >> Linker needs to use

[U-Boot] [PATCH] MX51: mx51evk: Use struct to access SRSR register instead of offset

2011-04-12 Thread Fabio Estevam
Signed-off-by: Fabio Estevam --- board/freescale/mx51evk/mx51evk.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/board/freescale/mx51evk/mx51evk.c b/board/freescale/mx51evk/mx51evk.c index 02a765d..3f2217c 100644 --- a/board/freescale/mx51evk/mx51evk.c +++ b/board

Re: [U-Boot] [PATCH] MX51: mx51evk: Use struct to access SRSR register instead of offset

2011-04-12 Thread Jason Liu
2011/4/13 Fabio Estevam : > Signed-off-by: Fabio Estevam > --- >  board/freescale/mx51evk/mx51evk.c |    6 +- >  1 files changed, 5 insertions(+), 1 deletions(-) > > diff --git a/board/freescale/mx51evk/mx51evk.c > b/board/freescale/mx51evk/mx51evk.c > index 02a765d..3f2217c 100644 > --- a/bo

[U-Boot] [PATCH v2] MX51: mx51evk: Use struct to access SRSR register instead of offset

2011-04-12 Thread Fabio Estevam
Use struct to access SRSR register instead of offset. While at it mask the 7 bits of SRSR for correctness. Signed-off-by: Fabio Estevam --- Changes since v1: - Use readl to read the srsr register - Mask the lower 7 bits of the SRSR register for getting the correct result. board/freescale/mx51e

Re: [U-Boot] [PATCH v2 1/5] Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter

2011-04-12 Thread Mike Frysinger
On Tuesday, April 12, 2011 20:46:08 Simon Glass wrote: > +static int turbo_mode = 1; perhaps this should be a #define ? i cant see anything that changes its value in this driver ... > +static void smsc95xx_halt(struct eth_device *eth) > +{ > + debug("** %s()\n", __func__); > +} is this rig

Re: [U-Boot] [PATCH v2 2/5] Add Ethernet hardware MAC address framework to usbnet

2011-04-12 Thread Mike Frysinger
On Tuesday, April 12, 2011 20:46:09 Simon Glass wrote: > --- a/include/net.h > +++ b/include/net.h > +/* Tftp Server IP addr (0 = unknown)*/ > +extern IPaddr_t NetTftpServerIP; doesnt seem to belong in this patch. guess it bled in from another ? > --- a/net/eth.c > +++ b/net/eth.c >

Re: [U-Boot] [U-BOOT] [PATCH] mmc: enable switch partition function

2011-04-12 Thread Lei Wen
Hi Wolfgang, On Wed, Apr 13, 2011 at 3:31 AM, Wolfgang Denk wrote: > Dear Lei Wen, > > In message you > wrote: >> >> Further refine this idea, don't need to call mmc_register multi-times. >> For the purpose is to switch partition when needed, we really do want to one >> real device. So I propos

Re: [U-Boot] [PATCH 2/5] e1000: Restructure and streamline PCI device probing

2011-04-12 Thread Wolfgang Denk
Dear "Moffett, Kyle D", In message <85579850-725c-46cc-b6af-9de6d6683...@boeing.com> you wrote: > > indented by 3 levels: > > hw->hw_addr = pci_map_bar(devno, PCI_BASE_ADDRESS_0, PCI_REGION_MEM); > > printf("%s: ERROR: Can't enable I/O memory\n", nic->name); > > printf("%s: ERROR: Can't enable bus

[U-Boot] [arm] a320evb related fix

2011-04-12 Thread Macpaul Lin
Hi Albert, Since there are 3 days to merge windows is closed (4/16) and you've just changed a new e-mail address. I've summarized the following patches which has been send before. Just want to remind you that please give a help to review and check if the patch is applicable to a320evb board and to

Re: [U-Boot] [PATCH 4/5] e1000: New "e1000" commands for SPI EEPROM management

2011-04-12 Thread Wolfgang Denk
Dear "Moffett, Kyle D", In message <0ef7e520-ff4a-435f-af2a-0d47c0951...@boeing.com> you wrote: > > > Eventually this should not even be linked with U-Boot, but kept > > separate as lodable module, like eepro100_eeprom.c, smc911x_eeprom.c > > and smc9_eeprom.c. > > Hmm, there seem to be some

Re: [U-Boot] [PATCH 5/5] Allow tftp server to be different from bootp/dhcp server

2011-04-12 Thread Wolfgang Denk
Dear Simon Glass, In message you wrote: > > > Why don't you simply re-assing another value to "serverip" before > > doing any TFTP transfers? > > The point here is to initialize the ethernet only once. Technically it makes no difference if you change the "serverip" address in a script or in C c

Re: [U-Boot] [U-BOOT] [PATCH] mmc: enable switch partition function

2011-04-12 Thread Wolfgang Denk
Dear Lei Wen, In message you wrote: > > > Why don't you follow the existing examples from other storage devices, > > where we have a "dev" subcommand that allows to select one of the > > existing devices as "active" device? =A0Similarly, you could here select > > an active device/partition pair.

Re: [U-Boot] [U-BOOT] [PATCH] mmc: enable switch partition function

2011-04-12 Thread Lei Wen
Hi Wolfgang, On Wed, Apr 13, 2011 at 1:35 PM, Wolfgang Denk wrote: > Dear Lei Wen, > > In message you wrote: >> >> > Why don't you follow the existing examples from other storage devices, >> > where we have a "dev" subcommand that allows to select one of the >> > existing devices as "active" dev

Re: [U-Boot] [U-BOOT] [PATCH] mmc: enable switch partition function

2011-04-12 Thread Wolfgang Denk
Dear Lei Wen, In message you wrote: > > > I'm not really sure I understand what this command was supposed to do. > > What I want to see is consistency with other drivers, i. e. you should > > be able to use "mmc dev" to select a device and optionally a partition > > on it as current device, so t

Re: [U-Boot] [U-BOOT] [PATCH] mmc: enable switch partition function

2011-04-12 Thread Lei Wen
Hi Wolfgang, On Wed, Apr 13, 2011 at 1:49 PM, Wolfgang Denk wrote: > Dear Lei Wen, > > In message you wrote: >> >> > I'm not really sure I understand what this command was supposed to do. >> > What I want to see is consistency with other drivers, i. e. you should >> > be able to use "mmc dev" to

[U-Boot] [PATCH] gpio: check request result

2011-04-12 Thread Mike Frysinger
Make sure the pin request passed before attempting to use it later on. Signed-off-by: Mike Frysinger --- common/cmd_gpio.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/common/cmd_gpio.c b/common/cmd_gpio.c index 9c9de28..9cc790a 100644 --- a/common/cmd_gpio.c +++

Re: [U-Boot] [PATCH] Do not copy to same address

2011-04-12 Thread Mike Frysinger
this summary is kind of weak. please prefix it with something like "string:" or "memcpy/memmove:". keep in mind that the summary needs to quickly pick out what the changeset is doing from every other changeset in the tree based only on that. or at least give a pretty good idea. side note, i

Re: [U-Boot] [PATCH] Do not copy to same address

2011-04-12 Thread Albert ARIBAUD
Hi Matthias, Le 12/04/2011 08:58, Matthias Weisser a écrit : > In some cases (e.g. bootm with a elf payload) there is a in place copy of > data to the same address. Catching this saves some ms while booting. > > Signed-off-by: Matthias Weisser > --- > lib/string.c |9 + > 1 files ch

[U-Boot] [PATCH] Blackfin: adi boards: add eon to the "all" spi flash list

2011-04-12 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- include/configs/bfin_adi_common.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/bfin_adi_common.h b/include/configs/bfin_adi_common.h index 9e61542..3312681 100644 --- a/include/configs/bfin_adi_common.h +++ b/include/c

Re: [U-Boot] [PATCH] Do not copy to same address

2011-04-12 Thread Matthias Weißer
Am 12.04.2011 09:06, schrieb Albert ARIBAUD: > Hi Matthias, > > Le 12/04/2011 08:58, Matthias Weisser a écrit : >> In some cases (e.g. bootm with a elf payload) there is a in place copy of >> data to the same address. Catching this saves some ms while booting. >> >> Signed-off-by: Matthias Weisser

Re: [U-Boot] [PATCH] Do not copy to same address

2011-04-12 Thread Matthias Weißer
Am 12.04.2011 09:05, schrieb Mike Frysinger: > this summary is kind of weak. please prefix it with something like "string:" > or "memcpy/memmove:". keep in mind that the summary needs to quickly pick out > what the changeset is doing from every other changeset in the tree based only > on that. o

Re: [U-Boot] [PATCHv3 2/4] armv7: Add ST-Ericsson u8500 arch

2011-04-12 Thread Albert ARIBAUD
Hi John, Le 12/04/2011 08:17, John Rigby a écrit : > diff --git a/arch/arm/cpu/armv7/u8500/lowlevel.S > b/arch/arm/cpu/armv7/u8500/lowlevel.S > new file mode 100644 > index 000..0e3f8fc > --- /dev/null > +++ b/arch/arm/cpu/armv7/u8500/lowlevel.S > @@ -0,0 +1,33 @@ > +/* > + * See file CREDIT

Re: [U-Boot] [PATCH] Do not copy to same address

2011-04-12 Thread Albert ARIBAUD
Hi Matthias, Le 12/04/2011 09:13, Matthias Weißer a écrit : > Am 12.04.2011 09:06, schrieb Albert ARIBAUD: >> Hi Matthias, >> >> Le 12/04/2011 08:58, Matthias Weisser a écrit : >>> In some cases (e.g. bootm with a elf payload) there is a in place >>> copy of >>> data to the same address. Catching

Re: [U-Boot] [PATCH 3/6] Davinci: ea20: Add NAND support

2011-04-12 Thread Stefano Babic
On 04/11/2011 03:05 PM, Ben Gardiner wrote: Hi Ben, > >> [...] >> @@ -143,20 +144,20 @@ int board_init(void) >>irq_init(); >> #endif >> >> -#ifdef CONFIG_NAND_DAVINCI >>/* >> * NAND CS setup - cycle counts based on da850evm NAND timings in the >> * Linux kernel @

Re: [U-Boot] Net: smc911x: Invalid chip endian 0x04980498 No ethernet found.

2011-04-12 Thread Minkyu Kang
Dear Sung Hee Park On 12 April 2011 12:04, Sung Hee Park wrote: > Hi, > > I'm having a problem with detecting a network controller in Mistral's > omap3evm board rev G. I've compiled both x-loader and u-boot from the one > included in dvsdk_omap3530-evm_4_01_00_09_setuplinux. Can you please sugges

Re: [U-Boot] [PATCH] Fix CFI flash driver for 8-bit bus support

2011-04-12 Thread Aaron Williams
I believe this is correct. I have redone the patch as two patches. The first patch fixes the 8-bit addressing and has been tested with both 8 and 16-bit support with Spansion. The second patch adds a 1us delay after every reset call. In my email correspondence with Spansion they said that at le

Re: [U-Boot] [PATCH] Do not copy to same address

2011-04-12 Thread Matthias Weißer
Am 12.04.2011 09:27, schrieb Albert ARIBAUD: > Hi Matthias, > > Le 12/04/2011 09:13, Matthias Weißer a écrit : >> Am 12.04.2011 09:06, schrieb Albert ARIBAUD: >>> Hi Matthias, >>> >>> Le 12/04/2011 08:58, Matthias Weisser a écrit : In some cases (e.g. bootm with a elf payload) there is a in pl

[U-Boot] [PATCH] cfi_flash driver: fixed addressing for 8-bit flash buses.

2011-04-12 Thread Aaron Williams
This patch corrects the addresses used when working with Spansion/AMD FLASH chips. Addressing for 8 and 16 bits is almost identical except in the 16 bit case the LSB of the address is always 0. The confusion arose because the addresses in the datasheet for the 16 bit mode are word addresses but t

  1   2   >