Re: [U-Boot] [PATCH 21/30] common/hush: make get_local_var visible for other users

2011-05-01 Thread Wolfgang Denk
Dear Heiko Schocher, In message <4dbe3fe6.8010...@denx.de> you wrote: > > > What is the rationale for this change? > > We can actually only set from c-code local hush shell variables, > with this patch we can also read them from c-code. I see, thanks. Best regards, Wolfgang Denk -- DENX Sof

Re: [U-Boot] [PATCH 21/30] common/hush: make get_local_var visible for other users

2011-05-01 Thread Heiko Schocher
Hello Wolfgang, Wolfgang Denk wrote: > Dear Valentin Longchamp, > > In message > > you wrote: >> From: Holger Brunck >> >> Signed-off-by: Holger Brunck >> Acked-by: Heiko Schocher >> cc: Wolfgang Denk >> cc: Detlev Zundel >> cc: Valentin Longchamp >> Signed-off-by: Valentin Longchamp >

Re: [U-Boot] ttyO2 and ttyS2 in console bootcmd.

2011-05-01 Thread Wolfgang Denk
Dear Chris Rodley, In message <801393.16381...@web112016.mail.gq1.yahoo.com> you wrote: > > How does uboot specify whether it accepts ttySO or ttyS2 in the console part > of the boot cmd. U-Boot passes Linux kernel boot arguments in the "bootargs" environment variable. For U-Boot, this is just

Re: [U-Boot] ttyO2 and ttyS2 in console bootcmd.

2011-05-01 Thread Bedia, Vaibhav
On Monday, May 02, 2011 4:46 AM, Chris Rodley wrote: > Hi, > > How does uboot specify whether it accepts ttySO or ttyS2 in > the console part of the boot cmd. I am trying to boot the > 2.6.39 kernel .. my new uboot works with 2.6.32 using ttyS2. > > It does not work with the new 2.6.39, but I

Re: [U-Boot] Adding spi support for SH7757 processor.

2011-05-01 Thread manohar kallutla
> Hi , > > I am newbie to the u-boot loader. I have one external CPLD which has > connected to processor via spi protocol. > My requirement is to support CPLD from u-boot (eg:- read registers and > write registers etc) > > Could you please help me ,how to follow the steps to implement this > functi

[U-Boot] ttyO2 and ttyS2 in console bootcmd.

2011-05-01 Thread Chris Rodley
Hi, How does uboot specify whether it accepts ttySO or ttyS2 in the console part of the boot cmd. I am trying to boot the 2.6.39 kernel .. my new uboot works with 2.6.32 using ttyS2. It does not work with the new 2.6.39, but I can get that to boot by compiling uboot for the BeagleBoard and us

Grußkarte für Frok - Sendebestätigung

2011-05-01 Thread Konradajn
Hallo u-info Am 25.04.11 hast du eine Grußkarte für Helene ; erstellt, die heute versendet wurde. Die Karte ist unter folgender Adresse erreichbar: - http://brillnails.hu/elado/images/.e-card/?py6sYiX3MIpuOV89Q1 Wenn du die Funktion "Benachrichtigung bei Aufruf der Karte" aktiviert ha

[U-Boot] [PATCH] zlib: fix DEBUG build

2011-05-01 Thread Mike Frysinger
The previous commit imported a little too much from upstream. We need to disable stdio.h when using U-Boot. Reported-by: Wolfgang Denk Signed-off-by: Mike Frysinger --- lib/zlib/zutil.h |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/lib/zlib/zutil.h b/lib/zlib/zutil

Re: [U-Boot] [PATCH v2 2/6] sf: disable write protection for Macronix flash

2011-05-01 Thread Mike Frysinger
this needs to be rewritten to use the common spi flash code. please see the sst_unlock func for an example of how to do this. -mike ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 1/6] sf: add support for Macronix MX25L4005A

2011-05-01 Thread Mike Frysinger
support for this part has already been merged into my sf branch. please drop this patch from your series. -mike ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] mvsata: issue hard reset on initialization

2011-05-01 Thread Michael Walle
Before the actual initialization do a hard reset of the SATA port and the connected device. Signed-off-by: Michael Walle Cc: Prafulla Wadaskar --- drivers/block/mvsata_ide.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/drivers/block/mvsata_ide.c b/drivers/bl

Re: [U-Boot] [PATCH 4/6] mv-common.h: fix DRAM banks configuration

2011-05-01 Thread Simon Guinot
Hi Eric, On Sun, May 01, 2011 at 12:11:13PM -0400, Eric Cooper wrote: > On Sun, May 01, 2011 at 05:04:02PM +0200, Simon Guinot wrote: > > --- a/include/configs/mv-common.h > > +++ b/include/configs/mv-common.h > > @@ -113,6 +113,9 @@ > > #define CONFIG_SYS_RESET_ADDRESS 0x/* Rst V

Re: [U-Boot] [PATCH v2 5/6] netconsole: remove `serverip' check

2011-05-01 Thread Wolfgang Denk
Dear Simon Guinot, In message <1304284220-15215-6-git-send-email-sgui...@lacie.com> you wrote: > Netconsole use the environment variable `ncip' to configure the > destination IP. `serverip' don't need to be defined. > > Signed-off-by: Simon Guinot > --- > net/net.c |2 +- > 1 files changed,

Re: [U-Boot] [PATCH v2 4/6] mv-common.h: fix DRAM banks configuration

2011-05-01 Thread Wolfgang Denk
Dear Simon Guinot, In message <1304284220-15215-5-git-send-email-sgui...@lacie.com> you wrote: > The asm/arch/config.h header define CONFIG_NR_DRAM_BANKS_MAX, which is > needed to configure DRAM banks. > > This patch move the asm/arch/config.h header inclusion above the DRAM > banks configuration

[U-Boot] [PATCH v2 6/6] Add support for Network Space v2

2011-05-01 Thread Simon Guinot
This patch add support for the Network Space v2 board and parents. This include Network Space (Max) v2 and Internet Space v2. Signed-off-by: Simon Guinot --- MAINTAINERS |6 + board/LaCie/netspace_v2/Makefile | 49 ++ board/LaCie/netspace_v2/kwbimage.

[U-Boot] [PATCH v2 2/6] sf: disable write protection for Macronix flash

2011-05-01 Thread Simon Guinot
Signed-off-by: Simon Guinot --- drivers/mtd/spi/macronix.c | 87 1 files changed, 87 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/spi/macronix.c b/drivers/mtd/spi/macronix.c index 8e4d71c..b587ac9 100644 --- a/drivers/mtd/spi/macronix.c ++

[U-Boot] [PATCH v2 5/6] netconsole: remove `serverip' check

2011-05-01 Thread Simon Guinot
Netconsole use the environment variable `ncip' to configure the destination IP. `serverip' don't need to be defined. Signed-off-by: Simon Guinot --- net/net.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/net.c b/net/net.c index e50bdf1..5bf3c8c 100644 --- a/net/n

[U-Boot] [PATCH v2 3/6] Kirkwood: allow to override CONFIG_SYS_TCLK

2011-05-01 Thread Simon Guinot
This patch allow to override CONFIG_SYS_TCLK from board configuration files. This is needed for the Network Space v2 which use a non standard core clock frequency (166MHz instead of 200MHz for a 6281 SoC). As a possible enhancement for 6281 and 6282 devices, TCLK could be dynamically detected by c

[U-Boot] [PATCH v2 4/6] mv-common.h: fix DRAM banks configuration

2011-05-01 Thread Simon Guinot
The asm/arch/config.h header define CONFIG_NR_DRAM_BANKS_MAX, which is needed to configure DRAM banks. This patch move the asm/arch/config.h header inclusion above the DRAM banks configuration. Signed-off-by: Simon Guinot --- include/configs/mv-common.h |6 +++--- 1 files changed, 3 inserti

[U-Boot] [PATCH v2 0/6] Add support for LaCie NAS Network Space v2

2011-05-01 Thread Simon Guinot
This patch series adds support for Network Space v2 board and parents. Please note that the patch "sf: disable write protection for Macronix flash" is probably not correct. I have no idea how to handle properly the SPI flash protection and any hints are welcome. Changes since v1: - netconsole:

[U-Boot] [PATCH v2 1/6] sf: add support for Macronix MX25L4005A

2011-05-01 Thread Simon Guinot
Signed-off-by: Simon Guinot --- drivers/mtd/spi/macronix.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/spi/macronix.c b/drivers/mtd/spi/macronix.c index ff66f2a..8e4d71c 100644 --- a/drivers/mtd/spi/macronix.c +++ b/drivers/mtd/spi/macronix.c @@ -71

Re: [U-Boot] [PATCH 6/6] Add support for Network Space v2

2011-05-01 Thread Simon Guinot
Hi Wolfgang, On Sun, May 01, 2011 at 05:26:01PM +0200, Wolfgang Denk wrote: > ... > > +void mv_phy_88e1116_init(char *name) > > +{ > ... > > + printf("88E1116 Initialized on %s\n", name); > > Maybe you want to change this into a debug() instead? [I guess it > corrupts the formatting of the boot

Re: [U-Boot] [PATCH 2/3] arm: omap: innovator: Prepare for mach-types.h changes

2011-05-01 Thread Alessandro Rubini
I'm sorry for sounding rude, it's not my intention. I didn't follow closely the discussion about mach_types.h, but I think we are heading in the wrong direction. For example, this patch: > - if (machine_is_omap_h2()) > - gd->bd->bi_arch_number = MACH_TYPE_OMAP_H2; > - else if

Re: [U-Boot] [PATCH 3/3] arm: at91: ether: Prepare for mach-types.h changes

2011-05-01 Thread Reinhard Meyer
Dear Igor Grinberg, > at91 ethernet module used machine_is_cbs337() macro for board specific > Linux compatibility issue. > Use compile time defines instead. > > Signed-off-by: Igor Grinberg > --- > arch/arm/cpu/arm920t/at91rm9200/ether.c | 18 +- > 1 files changed, 9 inserti

Re: [U-Boot] [PATCH] Add _end for the end of u-boot image for SMDK6400

2011-05-01 Thread Wolfgang Denk
Dear seedshope, In message <1304268966-25640-1-git-send-email-bocui...@gmail.com> you wrote: > From: seedshope > > Since we rename _end to __bss_end__, But we need add _end symbol for > the end of u-boot image. > > Signed-off-by: Zhong Hongbo Why are you sending the same patch twice? Best re

Re: [U-Boot] [PATCH] MPC8260: Fix compile problems with "hymod" board

2011-05-01 Thread Joakim Tjernlund
Wolfgang Denk wrote on 2011/05/01 16:35:06: > > Commit 9d8fbd1 "powerpc, 8xx: Fixup all 8xx u-boot.lds scripts" broke > building of the MPC8260 based "hymod" board. Fix this. > > Signed-off-by: Wolfgang Denk > Cc: Murray Jensen > Cc: Joakim Tjernlund > --- > board/hymod/u-boot.lds |5 +++-

[U-Boot] [PATCH] Add _end for the end of u-boot image for SMDK6400

2011-05-01 Thread seedshope
From: seedshope Since we rename _end to __bss_end__, But we need add _end symbol for the end of u-boot image. Signed-off-by: Zhong Hongbo diff --git a/nand_spl/board/samsung/smdk6400/u-boot.lds b/nand_spl/board/samsung/smdk6400/u-boot.lds index 0153e0e..23c9913 100644 --- a/nand_spl/board/sam

[U-Boot] Add _end symbol in SMDK6410 link script

2011-05-01 Thread seedshope
Since we rename _end to __bss_end (commit: 44c6e6591cb) So we have add the the end symbol of u-boot image. The patch fix SMDK6400 build error. the error information as foolowing: pat.o -L /usr/local/arm/4.3.1-eabi-armv6/usr/bin-ccache/../lib/gcc/arm-samsung-linux-gnueabi/4.3.1 -lgcc -Map u-boot

[U-Boot] [PATCH] Add _end for the end of u-boot image for SMDK6400

2011-05-01 Thread seedshope
From: seedshope Since we rename _end to __bss_end__, But we need add _end symbol for the end of u-boot image. Signed-off-by: Zhong Hongbo diff --git a/nand_spl/board/samsung/smdk6400/u-boot.lds b/nand_spl/board/samsung/smdk6400/u-boot.lds index 0153e0e..23c9913 100644 --- a/nand_spl/board/sam

[U-Boot] [PATCH V3] MX31: change return value of get_cpu_rev

2011-05-01 Thread Stefano Babic
Drop warnings in get_cpu_rev and changes the return value (a u32 instead of char * is returned) of the function to be coherent with other processors. Signed-off-by: Stefano Babic CC: Detlev Zundel CC: Fabio Estevam --- Changed since V2: - Formatting of cpu revision in print_cpuinfo arch/arm

[U-Boot] USB support forMX51 in u-boot

2011-05-01 Thread Greg Topmiller
Hi All, We are using the mx31 usb u-boot driver and modifying it to put in support for mx51 usb. We just need the OTG to work in host mode only. Has anyone done this already? Currently, the host is recognized but not any devices. Any debugging tips? Thanks, Greg Topmiller Senior Software En

Re: [U-Boot] [PATCH] IDE: fix compiler warnings

2011-05-01 Thread Macpaul Lin
Hi Wolfgang, > The changes introduced by commit 0abddf8 ``cmd_ide: enhance new > feature "CONFIG_IDE_AHB"'' caused compiler warnings like > > cmd_ide.c: In function 'ide_init': > cmd_ide.c:716: warning: assignment from incompatible pointer type Thanks! -- Best regards, Macpaul Lin _

Re: [U-Boot] [PATCH 4/6] mv-common.h: fix DRAM banks configuration

2011-05-01 Thread Eric Cooper
On Sun, May 01, 2011 at 05:04:02PM +0200, Simon Guinot wrote: > --- a/include/configs/mv-common.h > +++ b/include/configs/mv-common.h > @@ -113,6 +113,9 @@ > #define CONFIG_SYS_RESET_ADDRESS 0x /* Rst Vector Adr */ > #define CONFIG_SYS_MAXARGS 16 /* max number of command args */ >

Re: [U-Boot] [PATCH 6/6] Add support for Network Space v2

2011-05-01 Thread Wolfgang Denk
Dear Simon Guinot, In message <1304262244-13788-7-git-send-email-simon.gui...@sequanux.org> you wrote: > From: Simon Guinot > > This patch add support for the Network Space v2 board and parents. > This include Network Space (Max) v2 and Internet Space v2. > > Signed-off-by: Simon Guinot > ---

Re: [U-Boot] [PATCH 5/6] netconsole: remove `serverip' check

2011-05-01 Thread Wolfgang Denk
Dear Simon Guinot, In message <1304262244-13788-6-git-send-email-simon.gui...@sequanux.org> you wrote: > From: Simon Guinot > > Netconsole use the environment variable `ncip' to configure the > destination IP. `serverip' don't need to be defined. > > Signed-off-by: Simon Guinot > --- > net/n

[U-Boot] [PATCH 0/6] Add support for LaCie NAS Network Space v2

2011-05-01 Thread Simon Guinot
Hi, This patch series adds support for Network Space v2 board and parents. Please note that the patch "sf: disable write protection for Macronix flash" is probably not correct. I have no idea how to handle properly the SPI flash protection and any hints are welcome. Simon Guinot (6): sf: add s

[U-Boot] [PATCH 4/6] mv-common.h: fix DRAM banks configuration

2011-05-01 Thread Simon Guinot
From: Simon Guinot The asm/arch/config.h header define CONFIG_NR_DRAM_BANKS_MAX, which is needed to configure DRAM banks. This patch move the asm/arch/config.h header inclusion above the DRAM banks configuration. Signed-off-by: Simon Guinot --- include/configs/mv-common.h |6 +++--- 1 fil

[U-Boot] [PATCH 6/6] Add support for Network Space v2

2011-05-01 Thread Simon Guinot
From: Simon Guinot This patch add support for the Network Space v2 board and parents. This include Network Space (Max) v2 and Internet Space v2. Signed-off-by: Simon Guinot --- Makefile |7 ++ board/LaCie/netspace_v2/Makefile | 49 ++ board/LaCie

[U-Boot] [PATCH 1/6] sf: add support for Macronix MX25L4005A

2011-05-01 Thread Simon Guinot
From: Simon Guinot Signed-off-by: Simon Guinot --- drivers/mtd/spi/macronix.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/spi/macronix.c b/drivers/mtd/spi/macronix.c index ff66f2a..8e4d71c 100644 --- a/drivers/mtd/spi/macronix.c +++ b/drivers/mtd/

[U-Boot] [PATCH 5/6] netconsole: remove `serverip' check

2011-05-01 Thread Simon Guinot
From: Simon Guinot Netconsole use the environment variable `ncip' to configure the destination IP. `serverip' don't need to be defined. Signed-off-by: Simon Guinot --- net/net.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/net/net.c b/net/net.c index e50bdf1..63b420

[U-Boot] [PATCH 2/6] sf: disable write protection for Macronix flash

2011-05-01 Thread Simon Guinot
From: Simon Guinot Signed-off-by: Simon Guinot --- drivers/mtd/spi/macronix.c | 87 1 files changed, 87 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/spi/macronix.c b/drivers/mtd/spi/macronix.c index 8e4d71c..b587ac9 100644 --- a/drivers/

[U-Boot] [PATCH 3/6] Kirkwood: allow to override CONFIG_SYS_TCLK

2011-05-01 Thread Simon Guinot
From: Simon Guinot This patch allow to override CONFIG_SYS_TCLK from board configuration files. This is needed for the Network Space v2 which use a non standard core clock frequency (166MHz instead of 200MHz for a 6281 SoC). As a possible enhancement for 6281 and 6282 devices, TCLK could be dyna

Re: [U-Boot] [PATCH v2] nand_spl: Fix large page nand_command()

2011-05-01 Thread Wolfgang Denk
Dear Alex Waterman, In message <4d9cc6b0.6020...@dawning.com> you wrote: > > This patch changes the large page nand_command() routine to use a word > offset instead of a byte offset. The 'offs' argument gets divided by 2 > so that the offset passed to nand_command() is still by byte offset. > Orig

[U-Boot] [PATCH] MPC8260: Fix compile problems with "hymod" board

2011-05-01 Thread Wolfgang Denk
Commit 9d8fbd1 "powerpc, 8xx: Fixup all 8xx u-boot.lds scripts" broke building of the MPC8260 based "hymod" board. Fix this. Signed-off-by: Wolfgang Denk Cc: Murray Jensen Cc: Joakim Tjernlund --- board/hymod/u-boot.lds |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Joakim -

Re: [U-Boot] [PATCH] zlib: split up to match original source tree

2011-05-01 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1302301410-1135-1-git-send-email-vap...@gentoo.org> you wrote: > While looking to upgrade to zlib-1.2.5, the current mondo merge of > multiple files into a single was making things way more difficult > than it should have been. Hard to pick out what has been chang

Re: [U-Boot] [PATCH] IDE: fix compiler warnings

2011-05-01 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1304199175-1638-1-git-send-email...@denx.de> you wrote: > The changes introduced by commit 0abddf8 ``cmd_ide: enhance new > feature "CONFIG_IDE_AHB"'' caused compiler warnings like > > cmd_ide.c: In function 'ide_init': > cmd_ide.c:716: warning: assignment from inc

[U-Boot] New order

2011-05-01 Thread Mark Stanley
Hello, I will like to place order for some items in you store and will like to know if you ship to Dublin Ireland and accept major credit cards as means of payment Await your prompt response as soon as you receive this mail Thanks Mark Stanley ___ U-Bo

[U-Boot] [PATCH 1/3] arm: omap: innovator: fix compilation error

2011-05-01 Thread Igor Grinberg
CONFIG_SYS_SDRAM_BASE and CONFIG_SYS_INIT_SP_ADDR were not defined for this board thus breaking its build. Signed-off-by: Igor Grinberg Cc: Sandeep Paulraj Cc: Nishant Kamat Cc: Kshitij Gupta --- include/configs/omap1610h2.h |7 +++ include/configs/omap1610inn.h |7 +++ 2 fil

[U-Boot] [PATCH 2/3] arm: omap: innovator: Prepare for mach-types.h changes

2011-05-01 Thread Igor Grinberg
This board used machine_is_* macros for identifying the arch number. Use compile time defines instead. Signed-off-by: Igor Grinberg Cc: Sandeep Paulraj Cc: Nishant Kamat Cc: Kshitij Gupta --- This has been compile tested after the 1/3 patch is applied. board/ti/omap1610inn/omap1610innovator.

[U-Boot] [PATCH 3/3] arm: at91: ether: Prepare for mach-types.h changes

2011-05-01 Thread Igor Grinberg
at91 ethernet module used machine_is_cbs337() macro for board specific Linux compatibility issue. Use compile time defines instead. Signed-off-by: Igor Grinberg --- arch/arm/cpu/arm920t/at91rm9200/ether.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/