Re: [U-Boot] chemicals drict distributor

2011-10-26 Thread Selena Ren
Dear Purchase manager, Good morning to you . At First we are very pleasure to know that you are also deal in chemicals industry . here we introduct our products and marketing details. 1. Titanium dioxide is our factory produce. 2. acting sales of other chemicals raw material. : Adipic acid

Re: [U-Boot] [PATCH 2/2] Powerpc/i2c: Force i2c to become bus master out of reset

2011-10-26 Thread Heiko Schocher
Hello Chang-Ming, chang-ming.hu...@freescale.com wrote: > From: Jerry Huang > > It is sometimes necessary to force the I2C module to become the I2C bus master > out of reset and drive SCL(even though SDA may already be driven, > which indicates that the bus is busy). This can occur when a system

Re: [U-Boot] [PATCH v4] MPC8360EMDS: 512MB DDR and 33.33MHz oscillator support

2011-10-26 Thread Liu Dave-R63238
NACK. > diff --git a/arch/powerpc/lib/board.c b/arch/powerpc/lib/board.c index > 9885b14..8a97c1b > 100644 > --- a/arch/powerpc/lib/board.c > +++ b/arch/powerpc/lib/board.c > @@ -75,9 +75,7 @@ > #include > #endif > > -#ifdef CONFIG_ADDR_MAP > #include > -#endif > > #ifdef CONFIG_MP > #in

Re: [U-Boot] [RFC PATCH 3/3] sandbox: WIP: add basic command line parsing

2011-10-26 Thread Mike Frysinger
On Wed, Oct 26, 2011 at 18:54, Simon Glass wrote: > This adds simple command-line parssing to sandbox. The idea is that it > sets up the state with options provided, and this state can then be > queried as needed later. i'm not seeing the usefulness of the "state" code > +               "\t-c \tE

[U-Boot] [PATCH v4] MPC8360EMDS: 512MB DDR and 33.33MHz oscillator support

2011-10-26 Thread Chang-Ming.Huang
From: Jerry Huang This patch: 1. Support 512MB DDR. 2. Support 33.33MHz oscillator. 3. QE clock is changed to 500MHz as the default value. The new MPC8360EMDS board changes the oscillator to 33.33MHz in order to support QE 500MHZ and this new board supports 512MB DDR since 2008, but the u-boot o

Re: [U-Boot] [RFC PATCH 1/3] sandbox: gpio: WIP add basic driver for simulating GPIOs

2011-10-26 Thread Mike Frysinger
On Wed, Oct 26, 2011 at 18:54, Simon Glass wrote: > --- /dev/null > +++ b/drivers/gpio/sandbox.c > > +#include > +#include not used > +#include should be asm/gpio.h > +/* These functions make up what could be a public interface within U-Boot */ these are the public interface in u-boot. i w

Re: [U-Boot] [PATCH 2/3] net: Change for loop to memcpy()

2011-10-26 Thread Mike Frysinger
On Thu, Oct 27, 2011 at 02:18, Simon Glass wrote: > +       memset(&arp->ar_data[10], '\0', 6); summary says memcpy. code says memset. -mike ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 3/3] net: Be less picky about decoding the netretry env var

2011-10-26 Thread Mike Frysinger
On Thu, Oct 27, 2011 at 02:18, Simon Glass wrote: > --- a/net/net.c > +++ b/net/net.c > > -               if (!strcmp(nretry, "yes")) > +               if (*nretry == 'y') not sure about this as it makes it hard to add code in the future if we care about compatibility. if we support just "y", peo

Re: [U-Boot] [PATCH 05/10 v3] spl, nand: add 4bit HW ecc oob first nand_read_page function

2011-10-26 Thread Heiko Schocher
Hello Scott, Scott Wood wrote: > On 10/26/2011 01:16 AM, Heiko Schocher wrote: >> Hello Scott, >> >> Scott Wood wrote: >>> It's not new, but it is misnamed (there's nothing 4-bit specific in the >>> #ifdeffed code), and we now have someone that wants this for 8-bit ECC. >> look at my v4 series of

Re: [U-Boot] [PATCH v3] MPC8360EMDS: 512MB DDR and 33.33MHz oscillator support

2011-10-26 Thread 馬克泡
Hi Jerry Hunag, 2011/10/27 : > From: Jerry Huang > > This patch: > 1. Support 512MB DDR. > 2. Support 33.33MHz oscillator. > 3. QE clock is changed to 500MHz as the default value. [snip] > Signed-off-by: Jerry Huang Please add change log between each different version of patches. Could you p

Re: [U-Boot] [PATCH v3] MPC8360EMDS: 512MB DDR and 33.33MHz oscillator support

2011-10-26 Thread Wolfgang Denk
Dear chang-ming.hu...@freescale.com, In message <1319686540-999-1-git-send-email-chang-ming.hu...@freescale.com> you wrote: > From: Jerry Huang > > This patch: > 1. Support 512MB DDR. > 2. Support 33.33MHz oscillator. > 3. QE clock is changed to 500MHz as the default value. > > The new MPC8360

Re: [U-Boot] [PATCH v2 04/11] net: tftpput: Add support for receiving ICMP packets

2011-10-26 Thread Wolfgang Denk
Dear Simon Glass, In message you wrote: > > > /work/wd/tmp-ppc/u-boot.lds:69 cannot move location counter backwards > > (from 4000815c to 40008000) > > I did see this in my testing, but it seemed to happen even without my > changes, so I assumed it was just broken. Are you sure it built > rec

[U-Boot] [PATCH] Powerpc: Set SYSCLK to the required frequency

2011-10-26 Thread Chang-Ming.Huang
From: Jerry Huang For ICS307-02, there is one general expression to generate SYSCLK: CLK1Frequency = InputFrequency * 2 * (VDW + 8) / ((RDW + 2) * OD) If we want the required frequency for SYSCLK, we must find one solution to generate this frequency, this solution includes VDW, RDW and OD. For O

[U-Boot] [PATCH v3] MPC8360EMDS: 512MB DDR and 33.33MHz oscillator support

2011-10-26 Thread Chang-Ming.Huang
From: Jerry Huang This patch: 1. Support 512MB DDR. 2. Support 33.33MHz oscillator. 3. QE clock is changed to 500MHz as the default value. The new MPC8360EMDS board changes the oscillator to 33.33MHz in order to support QE 500MHZ and this new board supports 512MB DDR since 2008, but the u-boot o

[U-Boot] Failed to created image file

2011-10-26 Thread Sadashiva
Hi Sir, I am able to build the u-boot source code and its also able to create u-boot.bin but not able to build the u-boot.img file. Please can you instruct me how to build u-boot.img file. Thanks in advance. Best Regards, Sadashiv ___

[U-Boot] Your email emerge and won the amount of 1, 000, 000GBP. the draw no.1653 and winning number 04 23 34 38 39 41 BONUS 27 brought out your e-mail address from a Data Base of Internet Email Users

2011-10-26 Thread BBC/AWARD
___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] andes_pcu.h: header file of andes_pcu power control unit

2011-10-26 Thread Macpaul Lin
header file of andes_pcu power control unit Signed-off-by: Macpaul Lin --- include/andestech/andes_pcu.h | 367 + 1 files changed, 367 insertions(+), 0 deletions(-) create mode 100644 include/andestech/andes_pcu.h diff --git a/include/andestech/andes_pc

[U-Boot] [PATCH v2] MPC8360EMDS: 512MB DDR and 33.33MHz oscillator support

2011-10-26 Thread Chang-Ming.Huang
From: Jerry Huang This patch: 1. Support 512MB DDR. 2. Support 33.33MHz oscillator. 3. QE clock is changed to 500MHz as the default value. The new MPC8360EMDS board changes the oscillator to 33.33MHz in order to support QE 500MHZ and this new board supports 512MB DDR since 2008, but the u-boot o

Re: [U-Boot] [PATCH 3/3] nds32: asm/io.h: add __iormb and __iowmb support

2011-10-26 Thread Graeme Russ
Hi Macpaul, 2011/10/27 馬克泡 : > Hi Graeme, > > 在 2011年10月26日下午1:55,Graeme Russ 寫道: >> Hi Macpaul > > [snip] > >>> I'm going to change writeb/readb series functions from macro into >>> inline functions. >> >> For all arches? Have you seen /arch/x86/include/asm/io.h? > > Currently, I have take a loo

Re: [U-Boot] [PATCH 3/3] nds32: asm/io.h: add __iormb and __iowmb support

2011-10-26 Thread 馬克泡
Hi Graeme, 在 2011年10月26日下午1:55,Graeme Russ 寫道: > Hi Macpaul [snip] >> I'm going to change writeb/readb series functions from macro into >> inline functions. > > For all arches? Have you seen /arch/x86/include/asm/io.h? Currently, I have take a looked into arm, mips, and blackfin. Because the m

Re: [U-Boot] [PATCH] MPC8360EMDS: 512MB DDR and 33.33MHz oscillator support

2011-10-26 Thread Fabio Estevam
On Wed, Oct 26, 2011 at 11:31 PM, wrote: > > +#ifdef CONFIG_MPC8360EMDS > +       /* BAT6 is used for SDRAM when DDR size is 512MB or larger than 256MB > +        * So re-setup PCI MEM space used BAT5 after relocated to DDR */ Multiline comment is wrong. ... > +       /* Setup BAT6 for SDRAM wh

[U-Boot] [PATCH 1/2] Powerpc/i2c: Use the same initialize codes

2011-10-26 Thread Chang-Ming.Huang
From: Jerry Huang Make the I2C2 and I2C1 use the same initialize codes. Signed-off-by: Jerry Huang --- drivers/i2c/fsl_i2c.c | 47 +-- 1 files changed, 25 insertions(+), 22 deletions(-) diff --git a/drivers/i2c/fsl_i2c.c b/drivers/i2c/fsl_i2c.c in

[U-Boot] [PATCH] MPC8360EMDS: 512MB DDR and 33.33MHz oscillator support

2011-10-26 Thread Chang-Ming.Huang
From: Jerry Huang This patch: 1. Support 512MB DDR. 2. Support 33.33MHz oscillator. 3. QE clock is changed to 500MHz as the default value. The new MPC8360EMDS board changes the oscillator to 33.33MHz in order to support QE 500MHZ and this new board supports 512MB DDR since 2008, but the u-boot o

[U-Boot] [PATCH 2/2] Powerpc/i2c: Force i2c to become bus master out of reset

2011-10-26 Thread Chang-Ming.Huang
From: Jerry Huang It is sometimes necessary to force the I2C module to become the I2C bus master out of reset and drive SCL(even though SDA may already be driven, which indicates that the bus is busy). This can occur when a system reset does not cause all I2C devices to be reset. Thus, SDA can be

Re: [U-Boot] [PATCH 2/2] README: improve documentation of network related CONFIG_ settings

2011-10-26 Thread Simon Glass
On Wed, Oct 26, 2011 at 1:21 PM, Wolfgang Denk wrote: > Add documentation for CONFIG_GATEWAYIP and CONFIG_NETMASK; > also add information which environment variables are set. > > Signed-off-by: Wolfgang Denk More docs = better Acked-by: Simon Glass > --- >  README |   19 +++ >

[U-Boot] [PATCH 3/3] net: Be less picky about decoding the netretry env var

2011-10-26 Thread Simon Glass
This is intended purely as a code size reduction. Signed-off-by: Simon Glass --- net/net.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/net/net.c b/net/net.c index cd34bf9..3712e17 100644 --- a/net/net.c +++ b/net/net.c @@ -605,11 +605,11 @@ void NetStartAgain(vo

[U-Boot] [PATCH 1/3] net: Hide more code behind CONFIG_CMD_TFTPPUT

2011-10-26 Thread Simon Glass
This commit reduces code size a little by making the ICMP handler only available to tftpput. This is reasonable since it is the only user at present (ping just uses the normal handler). Signed-off-by: Simon Glass --- net/net.c |8 net/tftp.c |6 -- 2 files changed, 12 inser

[U-Boot] [PATCH 2/3] net: Change for loop to memcpy()

2011-10-26 Thread Simon Glass
This is intended purely as a code size reduction. Signed-off-by: Simon Glass --- net/net.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/net/net.c b/net/net.c index 11f41ed..cd34bf9 100644 --- a/net/net.c +++ b/net/net.c @@ -246,7 +246,6 @@ int NetArpWai

[U-Boot] [PATCH 0/3] Reduce code size of libnet

2011-10-26 Thread Simon Glass
This patch series should change no functionality, but just reduce code size slightly to what it was before the tftpput series. Each patch is independent and each can be accepted or rejected as required. Overall the effect (on ARM) is to reduce the code size to about 5 bytes lower than it was befor

Re: [U-Boot] [PATCH v2 04/11] net: tftpput: Add support for receiving ICMP packets

2011-10-26 Thread Simon Glass
Hi Wolfgang, On Wed, Oct 26, 2011 at 1:44 PM, Wolfgang Denk wrote: > Dear Simon Glass, > > In message <1319515208-7810-5-git-send-email-...@chromium.org> you wrote: >> ICMP packets can tell you when there is no server at the other end. It >> is useful for tftp to figure this out, so that a quick

[U-Boot] Tegra T20 / T25 datasheet (Technical Reference Manual)

2011-10-26 Thread Tom Warren
The Tegra2 (T20/T25) TRM is now on our web site. http://developer.nvidia.com/tegra-2-technical-reference-manual. You'll need to register to download it, but anybody can get access to the datasheet as long as they don't plan to use the information for malicious purposes. We plan to work on T3

Re: [U-Boot] [PATCH v2] FAT: Add FAT write feature

2011-10-26 Thread Mike Frysinger
On Tue, Oct 25, 2011 at 09:15, Donggeun Kim wrote: > In some cases, saving data in RAM as a file with FAT format is required. > This patch allows the file to be written in FAT formatted partition. i thought Wolfgang NAK-ed FS write patches in the past ... > --- a/fs/fat/Makefile > +++ b/fs/fat/Ma

Re: [U-Boot] [RFC/PATCH] common/usb: use cache-alligned buffers

2011-10-26 Thread Mike Frysinger
On Wed, Oct 26, 2011 at 23:05, Ilya Yanok wrote: > What do you think, how should we deal with it? Make all buffers > alligned or implement bounce-buffering inside host driver? since this is a common issue to most USB controllers, aligning the buffers is probably best. and should be relatively pai

Re: [U-Boot] [PATCH v2 06/11] net: tftpput: move common code into separate functions

2011-10-26 Thread Simon Glass
Hi Tom, On Wed, Oct 26, 2011 at 1:38 PM, Tom Rini wrote: > On Wed, Oct 26, 2011 at 1:34 PM, Wolfgang Denk wrote: >> Dear Simon Glass, >> >> In message <1319515208-7810-7-git-send-email-...@chromium.org> you wrote: >>> We want to show block markers on completion of get and put, so >>> move this c

Re: [U-Boot] [PATCH v2 06/11] net: tftpput: move common code into separate functions

2011-10-26 Thread Simon Glass
Hi Wolfgang, On Wed, Oct 26, 2011 at 1:34 PM, Wolfgang Denk wrote: > Dear Simon Glass, > > In message <1319515208-7810-7-git-send-email-...@chromium.org> you wrote: >> We want to show block markers on completion of get and put, so >> move this common code into separate functions. >> >> Signed-off

[U-Boot] Global Seminar Event Invitation!!

2011-10-26 Thread Mrs. Alice Brigham
Dear Sir/Madam Warm greetings from Foundation for Peace Building Scotland England! We are organizing one week seminar event on "Health Security and Social Welfare"from 21st to 25th November, 2011, venue Happy Cringean Hotel. On behalf of the (FPB) it is my privilege to invite you and your colle

[U-Boot] [PATCH 1/2] OMAP3 SPL: Rework memory initalization and devkit 8000 support

2011-10-26 Thread Tom Rini
This changes to making the board be responsible for providing the memory initialization timings in SPL and converts the devkit 8000 to this framework. As part of this suffix the Micron DDR settings with their speed and add a few more timing values that will be needed. We also make sure that in mem

[U-Boot] [PATCH 2/2] OMAP3: Add SPL support to Beagleboard

2011-10-26 Thread Tom Rini
This introduces 200MHz Micron parts timing information based on x-loader and re-organizes the file slightly for grouping. The memory init logic is also based on what x-loader does in these cases. Note that while previously u-boot would be flashed in with SW ECC in this case it now must be flashed

[U-Boot] [PATCH RFT 0/2] Beagleboard SPL support

2011-10-26 Thread Tom Rini
Hey all, I'm looking for more testers for the following series of patches. This switches Beagleboard from using x-loader to load U-Boot to using SPL to provide that loader. This depends on: http://patchwork.ozlabs.org/patch/117648/ which is in u-boot-arm and for devkit8000: http://patchwork.ozlab

[U-Boot] [RFC/PATCH] common/usb: use cache-alligned buffers

2011-10-26 Thread Ilya Yanok
Make sure that all transfer buffers are cache-alligned so that HCD driver could safely do cache invalidate on them. Signed-off-by: Ilya Yanok --- Hi guys, I'm working with EHCI-controller on OMAP3 board and I've found that ehci-hcd.c driver procudes a lot of unalligned cache invalidate warnings

Re: [U-Boot] [PATCH 2/2] OMAP3: Add SPL support to Beagleboard

2011-10-26 Thread Tom Rini
On Wed, Oct 26, 2011 at 1:50 PM, Tom Rini wrote: > This introduces 200MHz Micron parts timing information based on x-loader > and re-organizes the file slightly for grouping.  The memory init logic > is also based on what x-loader does in these cases.  Note that while > previously u-boot would be

[U-Boot] [PATCH 2/2] OMAP3: Add SPL support to Beagleboard

2011-10-26 Thread Tom Rini
This introduces 200MHz Micron parts timing information based on x-loader and re-organizes the file slightly for grouping. The memory init logic is also based on what x-loader does in these cases. Note that while previously u-boot would be flashed in with SW ECC in this case it now must be flashed

Re: [U-Boot] [PATCH v2 04/11] net: tftpput: Add support for receiving ICMP packets

2011-10-26 Thread Wolfgang Denk
Dear Simon Glass, In message <1319515208-7810-5-git-send-email-...@chromium.org> you wrote: > ICMP packets can tell you when there is no server at the other end. It > is useful for tftp to figure this out, so that a quick error can be > displayed, rather than pointlessly retrying. > > This adds a

Re: [U-Boot] [PATCH v2 06/11] net: tftpput: move common code into separate functions

2011-10-26 Thread Tom Rini
On Wed, Oct 26, 2011 at 1:34 PM, Wolfgang Denk wrote: > Dear Simon Glass, > > In message <1319515208-7810-7-git-send-email-...@chromium.org> you wrote: >> We want to show block markers on completion of get and put, so >> move this common code into separate functions. >> >> Signed-off-by: Simon Gla

Re: [U-Boot] [PATCH] [WIP] sandbox: spi/sf emulation

2011-10-26 Thread Mike Frysinger
On Wed, Oct 26, 2011 at 12:26, Simon Glass wrote: > On Wed, Oct 26, 2011 at 3:30 AM, Mike Frysinger wrote: >> --- a/arch/sandbox/cpu/os.c >> +++ b/arch/sandbox/cpu/os.c >> >> +off_t os_lseek(int fd, off_t offset, int whence) >> +{ >> +       return lseek(fd, offset, whence); >> +} > > How are we go

Re: [U-Boot] [PATCH v2 06/11] net: tftpput: move common code into separate functions

2011-10-26 Thread Wolfgang Denk
Dear Simon Glass, In message <1319515208-7810-7-git-send-email-...@chromium.org> you wrote: > We want to show block markers on completion of get and put, so > move this common code into separate functions. > > Signed-off-by: Simon Glass > --- > net/tftp.c | 68

Re: [U-Boot] OMAP3 NAND ECC bug report

2011-10-26 Thread Scott Wood
On 10/25/2011 02:41 AM, Arno Steffen wrote: > I am feeling to spam the board but found finally the reason for this > behaviour. > > nand_read returns with -EUCLEAN in case of correcting errors, and this > will later on reported as BAD NAND, although this error is corrected. > > Correct me if I a

[U-Boot] [PATCH 1/2] README: white-space cleanup

2011-10-26 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk --- README | 40 1 files changed, 20 insertions(+), 20 deletions(-) diff --git a/README b/README index a1910dc..9e0ab58 100644 --- a/README +++ b/README @@ -134,7 +134,7 @@ Additional fields (if present) indicate release can

[U-Boot] [PATCH 2/2] README: improve documentation of network related CONFIG_ settings

2011-10-26 Thread Wolfgang Denk
Add documentation for CONFIG_GATEWAYIP and CONFIG_NETMASK; also add information which environment variables are set. Signed-off-by: Wolfgang Denk --- README | 19 +++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/README b/README index 9e0ab58..60a105f 100644 -

[U-Boot] Patch Submission - Mend mkimage getline errors for Max OS X 10.7

2011-10-26 Thread Bradley, Brandon L
Hello all, This fixes the getline definition in OS X Lion. Apple's stdio library comes with getline now. This change comes from Joseph Roback via OpenWRT, here is a link. This commit should be contributed to him. http://patchwork.openwrt.org/patch/1271/ CC if you will. Cheers! Brandon Bradley

Re: [U-Boot] [PATCH v2] FAT: Add FAT write feature

2011-10-26 Thread Wolfgang Denk
Dear Donggeun Kim, In message <1319526928-7927-1-git-send-email-dg77@samsung.com> you wrote: > In some cases, saving data in RAM as a file with FAT format is required. > This patch allows the file to be written in FAT formatted partition. > > The usage is similar with reading a file. > First,

Re: [U-Boot] [PATCH v6 6/6] fdt: ARM: Add fdtcontroladdr to set device tree address in environment

2011-10-26 Thread Wolfgang Denk
Dear Simon Glass, In message <1319519734-28704-7-git-send-email-...@chromium.org> you wrote: > This adds support for a new environment variable called 'fdtcontroladdr'. If > defined, the hex address is used as the address of the control fdt for U-Boot. > > Note: I have not changed CONFIG_PRAM sec

Re: [U-Boot] [PATCH v6 5/6] fdt: ARM: Implement and verify embedded and separate device tree

2011-10-26 Thread Wolfgang Denk
Dear Simon Glass, In message <1319519734-28704-6-git-send-email-...@chromium.org> you wrote: > This locates the device tree either embedded within U-Boot or attached to the > end as a separate binary. > > When CONFIG_OF_CONTROL is defined, U-Boot requires a valid fdt. A check is > provided for th

Re: [U-Boot] [PATCH v6 4/6] fdt: add decode helper library

2011-10-26 Thread Wolfgang Denk
Dear Simon Glass, In message <1319519734-28704-5-git-send-email-...@chromium.org> you wrote: > This library provides useful functions to drivers which want to use > the fdt to control their operation. Functions are provided to: > > - look up and enumerate a device type (for example assigning i2c

Re: [U-Boot] [PATCH v6 3/6] fdt: Add support for a separate device tree (CONFIG_OF_SEPARATE)

2011-10-26 Thread Wolfgang Denk
Dear Simon Glass, In message <1319519734-28704-4-git-send-email-...@chromium.org> you wrote: > This adds support for an FDT to be build as a separate binary file called > u-boot.dtb. This can be concatenated with the U-Boot binary to provide a > device tree located at run-time by U-Boot. The Makef

Re: [U-Boot] [PATCH v6 2/6] fdt: Add support for embedded device tree (CONFIG_OF_EMBED)

2011-10-26 Thread Wolfgang Denk
Dear Simon Glass, In message <1319519734-28704-3-git-send-email-...@chromium.org> you wrote: > This new option allows U-Boot to embed a binary device tree into its image > to allow run-time control of peripherals. This device tree is for U-Boot's > own use and is not necessarily the same one as is

Re: [U-Boot] [PATCH v6 1/6] fdt: ARM: Add device tree control of U-Boot (CONFIG_OF_CONTROL)

2011-10-26 Thread Wolfgang Denk
Dear Simon Glass, In message <1319519734-28704-2-git-send-email-...@chromium.org> you wrote: > This adds a device tree pointer to the global data. It can be set by > board code. A later commit will add support for making a device > tree binary blob available to U-Boot for run-time configuration. >

Re: [U-Boot] [PATCH v2 11/11] net: tftpput: add tftpput command

2011-10-26 Thread Wolfgang Denk
Dear Simon Glass, In message <1319515208-7810-12-git-send-email-...@chromium.org> you wrote: > This adds the tftpput command to U-Boot. > > Signed-off-by: Simon Glass > --- > common/cmd_net.c | 23 +++ > 1 files changed, 23 insertions(+), 0 deletions(-) Applied, thanks.

Re: [U-Boot] [PATCH v2 10/11] net: tftpput: implement tftp logic

2011-10-26 Thread Wolfgang Denk
Dear Simon Glass, In message <1319515208-7810-11-git-send-email-...@chromium.org> you wrote: > This adds logic to tftp.c to implement the tftp 'put' command, and > updates the README. > > Signed-off-by: Simon Glass > --- > Changes in v2: > - Cope with block rollover > - Don't print amount of dat

Re: [U-Boot] [PATCH v2 09/11] net: tftpput: add saveaddr and savesize env variables

2011-10-26 Thread Wolfgang Denk
Dear Simon Glass, In message <1319515208-7810-10-git-send-email-...@chromium.org> you wrote: > We need something akin to load_addr to handle saving data. > > Signed-off-by: Simon Glass > --- > common/cmd_nvedit.c |2 ++ > include/common.h|2 ++ > 2 files changed, 4 insertions(+), 0

Re: [U-Boot] [PATCH v2 08/11] net: tftpput: Support selecting get/put for tftp

2011-10-26 Thread Wolfgang Denk
Dear Simon Glass, In message <1319515208-7810-9-git-send-email-...@chromium.org> you wrote: > TftpStart should support starting either a get or a put. > > Signed-off-by: Simon Glass > --- > include/net.h |2 +- > net/bootp.c |2 +- > net/tftp.c|3 +-- > net/tftp.h|2 +-

Re: [U-Boot] [PATCH v2 07/11] net: tftpput: Factor out start, restart and next block functions

2011-10-26 Thread Wolfgang Denk
Dear Simon Glass, In message <1319515208-7810-8-git-send-email-...@chromium.org> you wrote: > This code is required for tftpput, so move it into separate functions. > > Signed-off-by: Simon Glass > --- > net/tftp.c | 77 +++ > 1 files ch

Re: [U-Boot] [PATCH v2 06/11] net: tftpput: move common code into separate functions

2011-10-26 Thread Wolfgang Denk
Dear Simon Glass, In message <1319515208-7810-7-git-send-email-...@chromium.org> you wrote: > We want to show block markers on completion of get and put, so > move this common code into separate functions. > > Signed-off-by: Simon Glass > --- > net/tftp.c | 68

Re: [U-Boot] [PATCH v2 05/11] net: tftpput: Rename TFTP to TFTPGET

2011-10-26 Thread Wolfgang Denk
Dear Simon Glass, In message <1319515208-7810-6-git-send-email-...@chromium.org> you wrote: > This is a better name for this protocol. Also remove the typedef to keep > checkpatch happy, and move zeroing of NetBootFileXferSize a little > earlier since TFTPPUT will need to change this. > > Signed-

Re: [U-Boot] [PATCH v2 04/11] net: tftpput: Add support for receiving ICMP packets

2011-10-26 Thread Wolfgang Denk
Dear Simon Glass, In message <1319515208-7810-5-git-send-email-...@chromium.org> you wrote: > ICMP packets can tell you when there is no server at the other end. It > is useful for tftp to figure this out, so that a quick error can be > displayed, rather than pointlessly retrying. > > This adds a

Re: [U-Boot] [PATCH v2 03/11] net: tftpput: Move ICMP code into its own function

2011-10-26 Thread Wolfgang Denk
Dear Simon Glass, In message <1319515208-7810-4-git-send-email-...@chromium.org> you wrote: > NetReceive() is a very long function with a lot of indent. Before adding > code to the ICMP bit, split it out. > > Signed-off-by: Simon Glass > --- > net/net.c | 101 > +++

Re: [U-Boot] [PATCH v2 02/11] Add setenv_ulong() and setenv_addr()

2011-10-26 Thread Wolfgang Denk
Dear Simon Glass, In message <1319515208-7810-3-git-send-email-...@chromium.org> you wrote: > It seems we put numbers and addresses into environment variables a lot. > We should have some functions to do this. > > Signed-off-by: Simon Glass > --- > common/cmd_nvedit.c | 30 +++

Re: [U-Boot] [PATCH v2 01/11] Move simple_itoa() to vsprintf.c

2011-10-26 Thread Wolfgang Denk
Dear Simon Glass, In message <1319515208-7810-2-git-send-email-...@chromium.org> you wrote: > This function is generally useful and shouldn't hide away in hush. It > has been moved as is. > > Signed-off-by: Simon Glass > --- > common/hush.c| 15 --- > include/common.h |1 +

Re: [U-Boot] [PATCH 5/5 v2] altera_tse: Fix return of eth_device's recv() callback

2011-10-26 Thread Wolfgang Denk
Dear Joachim Foerster, In message <1319618398-1878-6-git-send-email-joachim.foers...@missinglinkelectronics.com> you wrote: > It seems to be good practice to return the number of received bytes in the > eth_device's recv() callback, here: tse_eth_rx(). > > Signed-off-by: Joachim Foerster > ---

Re: [U-Boot] [PATCH 4/5 v2] altera_tse: m88e1111s: Honor device flags regarding PHY interface mode

2011-10-26 Thread Wolfgang Denk
Dear Joachim Foerster, In message <1319618398-1878-5-git-send-email-joachim.foers...@missinglinkelectronics.com> you wrote: > Note: This is kind of guess work. The current code is preserved for > all RGMII related modes. It is different for flags=0 (GMII) and flags=5 > (SGMII). The last case, SG

Re: [U-Boot] [PATCH 3/5 v2] altera_tse: Add support for dedicated descriptor memory

2011-10-26 Thread Wolfgang Denk
Dear Joachim Foerster, In message <1319618398-1878-4-git-send-email-joachim.foers...@missinglinkelectronics.com> you wrote: > Signed-off-by: Joachim Foerster > --- > Changes for v2: > - Remove period from end of summary line > > board/altera/nios2-generic/nios2-generic.c | 10

Re: [U-Boot] [PATCH 2/5 v2] altera_tse: Fix SGDMA reset triggering

2011-10-26 Thread Wolfgang Denk
Dear Joachim Foerster, In message <1319618398-1878-3-git-send-email-joachim.foers...@missinglinkelectronics.com> you wrote: > The SW_RESET needs to be set instead of being masked out! > > Signed-off-by: Joachim Foerster > --- > Changes for v2: > - Remove period from end of summary line >

Re: [U-Boot] [PATCH 1/5 v2] altera_tse: Clear SGDMA's RUN bit in async transfer, like in sync case

2011-10-26 Thread Wolfgang Denk
Dear Joachim Foerster, In message <1319618398-1878-2-git-send-email-joachim.foers...@missinglinkelectronics.com> you wrote: > Signed-off-by: Joachim Foerster > --- > Changes for v2: > - Remove period from end of summary line > - Fix typo in added comment in code > > drivers/net/al

Re: [U-Boot] [PATCH v2] NS16550: buffer reads

2011-10-26 Thread Wolfgang Denk
Dear Scott Wood, In message <4ea8566a.1050...@freescale.com> you wrote: > > > - Failure to process multi-line input is a restriction, and if you > > like you may even consider it a bug. > > Is this restriction documented anywhere? Only indirectly - it's a consequence of the "strictly single-ta

[U-Boot] Home loans (10/26/2011)

2011-10-26 Thread Dave Gilmore
Hello, Our company represents an online platform of over 36.4 million people, most of which are located in the US and Canada. What we do allows us to present our online platform with a first choice when they search for anything on any of the major search engines. We seek a preferred source to sen

[U-Boot] [PATCH] mx51evk: Remove unused get_board_rev function

2011-10-26 Thread Fabio Estevam
No board information is passed for MX51EVK, so remove get_board_rev function. Signed-off-by: Fabio Estevam --- Stefano, This patch applies on u-boot-imx with my previous mx51evk.h cleanup patch applied: http://www.mail-archive.com/u-boot@lists.denx.de/msg66552.html board/freescale/mx51evk/mx5

Re: [U-Boot] [PATCH v2] NS16550: buffer reads

2011-10-26 Thread Scott Wood
On 10/26/2011 01:17 PM, Wolfgang Denk wrote: > - Failure to process multi-line input is a restriction, and if you > like you may even consider it a bug. Is this restriction documented anywhere? > But papering over that bug and > suggesting to the end users that they are allowed to use multi

Re: [U-Boot] [PATCH v2] NS16550: buffer reads

2011-10-26 Thread Wolfgang Denk
Dear Scott Wood, In message <4ea83b88.8040...@freescale.com> you wrote: > > The point here is to make an incremental improvement that solves a > problem for some people (even if not "solving" the general problem), Sorry, but this is not an improment in any way, even if it looks so at first glance

[U-Boot] [PATCH] devkit8000: Fix NAND SPL on boards with 256MB NAND

2011-10-26 Thread Tom Rini
The devkit8000 ships with either a 128MB or 256MB NAND chip. In order for SPL to work with 256MB NAND CONFIG_SYS_NAND_5_ADDR_CYCLE needs to be set. After talking with Scott Wood this should be safe to set even for smaller NAND chips. Cc: Scott Wood Cc: Frederik Kriewitz Cc: Albert ARIBAUD Sig

Re: [U-Boot] [PATCH 05/10 v3] spl, nand: add 4bit HW ecc oob first nand_read_page function

2011-10-26 Thread Scott Wood
On 10/26/2011 01:16 AM, Heiko Schocher wrote: > Hello Scott, > > Scott Wood wrote: >> It's not new, but it is misnamed (there's nothing 4-bit specific in the >> #ifdeffed code), and we now have someone that wants this for 8-bit ECC. > > look at my v4 series of this patchset: > > http://patchwork

Re: [U-Boot] [PATCH v2] NS16550: buffer reads

2011-10-26 Thread Scott Wood
On 10/25/2011 06:37 PM, Graeme Russ wrote: > Hi Simon, > > On Wed, Oct 26, 2011 at 10:17 AM, Simon Glass wrote: > > [big snip] > >> Did I mention a can of worms? After 65 messages on this topic Scott's >> patch seems pretty appealing right now! We can even move it up a level >> in the s/w stack

[U-Boot] [RFC PATCH 3/3] sandbox: WIP: add basic command line parsing

2011-10-26 Thread Simon Glass
This adds simple command-line parssing to sandbox. The idea is that it sets up the state with options provided, and this state can then be queried as needed later. Signed-off-by: Simon Glass --- arch/sandbox/cpu/Makefile |2 +- arch/sandbox/cpu/parse.c | 67 +++

[U-Boot] [RFC PATCH 1/3] sandbox: gpio: WIP add basic driver for simulating GPIOs

2011-10-26 Thread Simon Glass
This provides a way of simulating GPIOs by setting values which are seen by the normal gpio_get/set_value() calls. Signed-off-by: Simon Glass --- drivers/gpio/Makefile |1 + drivers/gpio/sandbox.c | 213 include/sandbox_gpio.h | 50 +++

[U-Boot] [RFC PATCH 2/3] sandbox: WIP add concept of sandbox state

2011-10-26 Thread Simon Glass
The state exists through the life of U-Boot. It can be adjusted by command line options and perhaps later through a config file. It is available to U-Boot through state_...() calls (within sandbox code). Signed-off-by: Simon Glass --- arch/sandbox/cpu/state.c | 54

[U-Boot] [PATCH v0 3/4] env: implement selective "env default"

2011-10-26 Thread Gerlando Falauto
Signed-off-by: Gerlando Falauto --- README |2 ++ common/cmd_nvedit.c | 42 -- common/env_common.c | 14 ++ include/config_cmd_all.h |1 + include/environment.h|5 + 5 files changed, 58 inserti

[U-Boot] [PATCH v0 4/4] env: implement "env import -n var[, var...]"

2011-10-26 Thread Gerlando Falauto
Implemented selective importing of variables in env import Signed-off-by: Gerlando Falauto --- common/cmd_nvedit.c | 35 ++- 1 files changed, 30 insertions(+), 5 deletions(-) diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index 07cd062..0984a53 100644 -

[U-Boot] [PATCH v0 2/4] env: check and apply changes on delete/destroy

2011-10-26 Thread Gerlando Falauto
Signed-off-by: Gerlando Falauto --- common/cmd_nvedit.c |2 +- include/search.h|6 -- lib/hashtable.c | 18 -- 3 files changed, 17 insertions(+), 9 deletions(-) diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index 10b9552..905d3be 100644 --- a/common

[U-Boot] [PATCH v0 1/4] Groundwork for generalization of env interface

2011-10-26 Thread Gerlando Falauto
Signed-off-by: Gerlando Falauto --- common/cmd_nvedit.c | 152 +++-- common/env_common.c | 15 - include/environment.h |7 ++ include/search.h | 13 lib/hashtable.c | 50 5 files changed, 179 insertion

[U-Boot] [PATCH v0 0/4] env: reworking + default/import individual vars

2011-10-26 Thread Gerlando Falauto
This is a resubmission (after removing remove checkpatch errors) of http://lists.denx.de/pipermail/u-boot/2011-September/102875.html Here I am proposing a set of changes in the behaviour of the environment import/set_to_default functions. PATCH 1: Add a "new" himport_ex() function (reworking of

Re: [U-Boot] [PATCH] [WIP] sandbox: spi/sf emulation

2011-10-26 Thread Simon Glass
Hi Mike, On Wed, Oct 26, 2011 at 3:30 AM, Mike Frysinger wrote: > Just a WIP brain dump.  Not quite ready yet. Looks good thanks. > > Signed-off-by: Mike Frysinger > --- >  arch/sandbox/cpu/os.c     |   31 >  arch/sandbox/cpu/start.c  |   24 +++ >  drivers/spi/Makefile      |    3 + >  dr

Re: [U-Boot] [PATCH] sandbox: drop unused return

2011-10-26 Thread Simon Glass
On Wed, Oct 26, 2011 at 3:22 AM, Mike Frysinger wrote: > Signed-off-by: Mike Frysinger Acked-by: Simon Glass > --- >  arch/sandbox/cpu/start.c |    2 -- >  1 files changed, 0 insertions(+), 2 deletions(-) > > diff --git a/arch/sandbox/cpu/start.c b/arch/sandbox/cpu/start.c > index 685793e..a42

Re: [U-Boot] [PATCH] sandbox: put stdin into raw mode

2011-10-26 Thread Simon Glass
On Wed, Oct 26, 2011 at 3:21 AM, Mike Frysinger wrote: > This allows us to act like a serial device: we get tab chars and CTRL+C > and respond appropriately. > > Signed-off-by: Mike Frysinger Tested-by: Simon Glass Thanks Mike > --- >  arch/sandbox/cpu/os.c    |   34 +

Re: [U-Boot] [PATCH] serial: sandbox: use ssize_t to match os_read

2011-10-26 Thread Simon Glass
On Wed, Oct 26, 2011 at 3:21 AM, Mike Frysinger wrote: > Signed-off-by: Mike Frysinger Acked-by: Simon Glass > --- >  drivers/serial/sandbox.c |    2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/serial/sandbox.c b/drivers/serial/sandbox.c > index cae6c94..814

Re: [U-Boot] [PATCH] serial: sandbox: optimize puts

2011-10-26 Thread Simon Glass
On Wed, Oct 26, 2011 at 3:20 AM, Mike Frysinger wrote: > Signed-off-by: Mike Frysinger Acked-by: Simon Glass > --- >  drivers/serial/sandbox.c |    3 +-- >  1 files changed, 1 insertions(+), 2 deletions(-) > > diff --git a/drivers/serial/sandbox.c b/drivers/serial/sandbox.c > index 0d65587..ca

Re: [U-Boot] [PATCH] sandbox/tegra2: fix typo in autocomplete define

2011-10-26 Thread Simon Glass
On Wed, Oct 26, 2011 at 3:19 AM, Mike Frysinger wrote: > Signed-off-by: Mike Frysinger Acked-by: Simon Glass > --- >  include/configs/sandbox.h       |    2 +- >  include/configs/tegra2-common.h |    2 +- >  2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/configs/sand

[U-Boot] Exception vector setup in arm926ejs/start.S

2011-10-26 Thread jonsm...@gmail.com
I'm looking at the code in arm926ejs/start.S and I don't see how the exception vector gets set up at 0x0. Is there an assumption that the first 4KB of wherever uboot gets initially loaded is also mapped to 0x0? -- Jon Smirl jonsm...@gmail.com ___ U-Boot

Re: [U-Boot] [PATCH V3] I2C: Fix mxc_i2c.c problem on imx31_phycore

2011-10-26 Thread Stefano Babic
On 10/26/2011 01:17 PM, Heiko Schocher wrote: > Hello Stefano, > > Stefano Babic wrote: >> On 10/26/2011 12:05 PM, Marek Vasut wrote: >>> The problem was caused by a global variable being used early in the boot >>> process. >>> >>> The symptoms were on imx31_phycore board, reading the environment

[U-Boot] [PATCH] Fix DP8381x driver to work with mips processors

2011-10-26 Thread Laszlo Hegedüs
Fix for the DP8381x driver to translate the pointers to the receive Rinbuffer from a virtual address to the PCI memory space. TxRingPtr is translated okay, but no memory translation was done for RxRingPtr. This patch fix this error by adding calls to "phys_to_bus" in multiple places. The Bug: ...

[U-Boot] [PATCH] nios2: Offer ft_board_setup() capability and call fdt_fixup_ethernet().

2011-10-26 Thread Joachim Foerster
The main motivation is, to have the local-mac-address property of the ethernet peripherals fixed/synced with U-Boot's environment settings. Signed-off-by: Joachim Foerster --- arch/nios2/cpu/Makefile |1 + arch/nios2/cpu/fdt.c| 53 +++ 2 file

Re: [U-Boot] [PATCH V3] I2C: Fix mxc_i2c.c problem on imx31_phycore

2011-10-26 Thread Heiko Schocher
Hello Stefano, Stefano Babic wrote: > On 10/26/2011 12:05 PM, Marek Vasut wrote: >> The problem was caused by a global variable being used early in the boot >> process. >> >> The symptoms were on imx31_phycore board, reading the environment from I2C >> EEPROM didn't work correctly and causes defau

  1   2   >