Re: [U-Boot] How to use multiple env variables.

2010-01-28 Thread Ladislav Michl
On Thu, Jan 28, 2010 at 12:30:54PM +0530, Shashi Kumar M.S wrote: Is there any option for multiple env variables so that when i upgrade the kernel and rootfile system if not working properly so that i can fall back to the previous kernel and ramdisk considering i have a sufficiently big nand

Re: [U-Boot] ARM pull request

2010-01-28 Thread Wolfgang Denk
Dear Prafulla, In message 73173d32e9439e4abb5151606c3e19e2030a565...@sc-vexch1.marvell.com you wrote: Prafulla Wadaskar (2): Kirkwood: Upgated licencing for files imported from linux source to GPLv2 or later I cannot find any patch with this subject anywhere. Can you

Re: [U-Boot] How to use multiple env variables.

2010-01-28 Thread Wolfgang Denk
Dear Shashi Kumar M.S, In message 00f001ca9fe8$011da6f0$a5206...@semco you wrote: Is there any option for multiple env variables so that when i upgrade the kernel and rootfile system if not working properly so that i can fall back to the previous kernel and ramdisk considering i have a

Re: [U-Boot] NS16550 Register structure

2010-01-28 Thread Pedanekar, Hemant
Hi Detlev, Wolfgang, Any suggestions on this? Thanks - Hemant -Original Message- From: Pedanekar, Hemant Sent: Thursday, January 21, 2010 4:34 PM To: 'Detlev Zundel' Cc: Wolfgang Denk; u-boot@lists.denx.de Subject: RE: [U-Boot] NS16550 Register structure Hi Detlev, There is

Re: [U-Boot] [PATCH 1/2 v2] cramfs: make cramfs usable on non NOR flash

2010-01-28 Thread Wolfgang Denk
Dear Heiko Schocher, In message 4b613d24.7060...@denx.de you wrote: The cramfs image is located in RAM (where it first was copied from whenever), and then files are read from it with the cramfsload command ... OK. +#if !defined(CONFIG_SYS_NO_FLASH) part.offset = addr -

[U-Boot] Set TEXT_BASE via project.h file?

2010-01-28 Thread A. Geisreiter
Hi, I have a question to the TEXT_BASE setting in the config.mk file. Is it possible to set TEXT_BASE via a setting in the project.h file? Thanks, Andreas ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Set TEXT_BASE via project.h file?

2010-01-28 Thread Wolfgang Wegner
Hi Andreas, On Thu, Jan 28, 2010 at 12:31:44PM +0100, A. Geisreiter wrote: Hi, I have a question to the TEXT_BASE setting in the config.mk file. Is it possible to set TEXT_BASE via a setting in the project.h file? yes, it is. In my project.h I set: #define CONFIG_TEXT_BASE

[U-Boot] [PATCH 02/17] GRETH: Added support for selecting PHY address from config, PHY address was always set to zero before.

2010-01-28 Thread Daniel Hellstrom
Signed-off-by: Daniel Hellstrom dan...@gaisler.com --- drivers/net/greth.c | 69 +++--- 1 files changed, 43 insertions(+), 26 deletions(-) diff --git a/drivers/net/greth.c b/drivers/net/greth.c index 79bc4d9..833915d 100644 --- a/drivers/net/greth.c

[U-Boot] [PATCH 03/17] GRETH: Added extra RESET, this is needed if GRETH was stopped during an ethernet frame reception.

2010-01-28 Thread Daniel Hellstrom
Signed-off-by: Daniel Hellstrom dan...@gaisler.com --- drivers/net/greth.c | 14 -- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/net/greth.c b/drivers/net/greth.c index 833915d..383b25c 100644 --- a/drivers/net/greth.c +++ b/drivers/net/greth.c @@ -146,13

[U-Boot] [PATCH 01/17] SPARC: added unaligned definitions, patch supplied by Magnus Sjalander.

2010-01-28 Thread Daniel Hellstrom
Signed-off-by: Daniel Hellstrom dan...@gaisler.com --- include/asm-sparc/unaligned.h | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) create mode 100644 include/asm-sparc/unaligned.h diff --git a/include/asm-sparc/unaligned.h b/include/asm-sparc/unaligned.h new file

[U-Boot] [PATCH 07/17] LEON3: serial baud rate register support multiple buses with different frequency.

2010-01-28 Thread Daniel Hellstrom
Signed-off-by: Daniel Hellstrom dan...@gaisler.com --- cpu/leon3/serial.c | 17 ++--- 1 files changed, 14 insertions(+), 3 deletions(-) diff --git a/cpu/leon3/serial.c b/cpu/leon3/serial.c index 8964310..1f17ede 100644 --- a/cpu/leon3/serial.c +++ b/cpu/leon3/serial.c @@ -47,11

[U-Boot] [PATCH 06/17] LEON3: Moved GRLIB core header files to common include/grlib directory

2010-01-28 Thread Daniel Hellstrom
Signed-off-by: Daniel Hellstrom dan...@gaisler.com --- cpu/leon3/cpu_init.c| 10 ++-- cpu/leon3/interrupts.c |7 ++- cpu/leon3/memcfg.h |1 - cpu/leon3/prom.c|7 ++- cpu/leon3/serial.c | 16 +++--- drivers/net/greth.c |2 +- include/ambapp.h|

[U-Boot] [PATCH 09/17] LEON3: added busy wait function, made wait_ms() work when IRQ is disabled.

2010-01-28 Thread Daniel Hellstrom
Signed-off-by: Daniel Hellstrom dan...@gaisler.com --- cpu/leon3/cpu_init.c | 30 -- 1 files changed, 28 insertions(+), 2 deletions(-) diff --git a/cpu/leon3/cpu_init.c b/cpu/leon3/cpu_init.c index e2e1181..d2f47e1 100644 --- a/cpu/leon3/cpu_init.c +++

[U-Boot] [PATCH 08/17] SPARC: added function that checks if IRQ is on or off.

2010-01-28 Thread Daniel Hellstrom
Signed-off-by: Daniel Hellstrom dan...@gaisler.com --- include/asm-sparc/irq.h |3 +++ lib_sparc/interrupts.c |7 +++ 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/include/asm-sparc/irq.h b/include/asm-sparc/irq.h index c5538c0..ce78169 100644 ---

[U-Boot] [PATCH 10/17] LEON3: added CPU count and frequency detection.

2010-01-28 Thread Daniel Hellstrom
Signed-off-by: Daniel Hellstrom dan...@gaisler.com --- cpu/leon3/cpu.c | 42 +- include/asm-sparc/leon3.h | 13 + 2 files changed, 54 insertions(+), 1 deletions(-) diff --git a/cpu/leon3/cpu.c b/cpu/leon3/cpu.c index

[U-Boot] [PATCH 12/17] SPARC: added optional cpu_late_init routine.

2010-01-28 Thread Daniel Hellstrom
Signed-off-by: Daniel Hellstrom dan...@gaisler.com --- lib_sparc/board.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/lib_sparc/board.c b/lib_sparc/board.c index 11eea60..d829af0 100644 --- a/lib_sparc/board.c +++ b/lib_sparc/board.c @@ -65,6 +65,7 @@ extern void

[U-Boot] [PATCH 11/17] SPARC: removed USB stop from linux bootm, arch-independent bootm stop USB.

2010-01-28 Thread Daniel Hellstrom
Signed-off-by: Daniel Hellstrom dan...@gaisler.com --- lib_sparc/bootm.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/lib_sparc/bootm.c b/lib_sparc/bootm.c index c62cf57..f517325 100644 --- a/lib_sparc/bootm.c +++ b/lib_sparc/bootm.c @@ -35,10 +35,6 @@ extern

[U-Boot] [PATCH 15/17] LEON3: fixed MMU table for systems with larger memory than 128MB.

2010-01-28 Thread Daniel Hellstrom
Signed-off-by: Daniel Hellstrom dan...@gaisler.com --- cpu/leon3/prom.c | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/cpu/leon3/prom.c b/cpu/leon3/prom.c index 86376bb..6cd2281 100644 --- a/cpu/leon3/prom.c +++ b/cpu/leon3/prom.c @@ -1059,6 +1059,22 @@

[U-Boot] [PATCH 13/17] LEON3: Added GRETH EDCL debug link IP address initialization.

2010-01-28 Thread Daniel Hellstrom
Signed-off-by: Daniel Hellstrom dan...@gaisler.com --- cpu/leon3/cpu_init.c | 14 + cpu/leon3/greth.c| 152 ++ 2 files changed, 166 insertions(+), 0 deletions(-) create mode 100644 cpu/leon3/greth.c diff --git a/cpu/leon3/cpu_init.c

[U-Boot] [PATCH 16/17] bootm command: added argument to arch_preboot_os, function may depend on OS type.

2010-01-28 Thread Daniel Hellstrom
Signed-off-by: Daniel Hellstrom dan...@gaisler.com --- common/cmd_bootm.c |8 cpu/mpc85xx/cpu_init.c |2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 94ddac3..f795857 100644 --- a/common/cmd_bootm.c +++

[U-Boot] [PATCH 14/17] LEON: added support for GRLIB SPI Memory controller, spi command interface.

2010-01-28 Thread Daniel Hellstrom
Signed-off-by: Daniel Hellstrom dan...@gaisler.com --- drivers/spi/Makefile |1 + drivers/spi/spimctrl_spi.c | 261 include/grlib/spimctrl.h | 69 lib_sparc/board.c | 14 +++ 4 files changed, 345 insertions(+), 0

[U-Boot] [PATCH 17/17] SPARC, LEON3: added support for multiprocessing, tested Linux 2.6.21.1 SMP and RTEMS-4.10 AMP.

2010-01-28 Thread Daniel Hellstrom
Signed-off-by: Daniel Hellstrom dan...@gaisler.com --- board/gaisler/gr_cpci_ax2000/u-boot.lds |7 ++ board/gaisler/gr_ep2s60/u-boot.lds |7 ++ board/gaisler/gr_xc3s_1500/u-boot.lds |7 ++ board/gaisler/grsim/u-boot.lds |7 ++ cpu/leon3/Makefile

Re: [U-Boot] [PATCH 2/2 v2] arm: suen3, suen3_v1, mgcoge2_arm_p1a support

2010-01-28 Thread Tom
Heiko Schocher wrote: Hello Tom, Tom wrote: Heiko Schocher wrote: This patch adds support for the Keymile SUEN3 board variants which are based on the Marvell Kirkwood (88F6281) SoC. All variants uses common code stored in board/keymile/km_arm/km_arm.c mgcoge2_arm_p1a board: This adds

Re: [U-Boot] [PATCH] OMAP3: Avoid re-write to PRM_CLKSRC_CTRL

2010-01-28 Thread Tom
Premi, Sanjeev wrote: -Original Message- From: Tom [mailto:tom@windriver.com] Sent: Wednesday, January 27, 2010 7:15 PM To: Premi, Sanjeev Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH] OMAP3: Avoid re-write to PRM_CLKSRC_CTRL Sanjeev Premi wrote: In function

Re: [U-Boot] How to use multiple env variables.

2010-01-28 Thread Shashi Kumar M.S
Hi, Thanks for the reply at the earliest. One doubt. Where should this variable swapos should be. 1. should this swapos be in one of the separate partition of the nand flash so that can be set by the kernel. 2. or is it a u-boot environment variable set by the kernel (reading the u-boot

Re: [U-Boot] How to use multiple env variables.

2010-01-28 Thread Ladislav Michl
On Thu, Jan 28, 2010 at 09:19:37PM +0530, Shashi Kumar M.S wrote: Where should this variable swapos should be. Both 'ospart' and 'swapos' are ordinary u-boot environment variables. 1. should this swapos be in one of the separate partition of the nand flash so that can be set by the kernel.

Re: [U-Boot] U-Boot Compiling in CYGWIN environment

2010-01-28 Thread Wolfgang Denk
Dear James Kosin, In message 4b61a431.6060...@intcomgrp.com you wrote: (2) I'm developing on a Windows system (don't laugh); but, I can't easily change or add VMware to the picture. Maybe you can use one of the many other existing solutions - CoLinux, VirtualBox, etc. etc. Best regards,

[U-Boot] Please pull u-boot-ti master

2010-01-28 Thread s-paulraj
Tom, Please pull u-boot-ti master. Thanks, Sandeep The following changes since commit 797312a15edc9dfb433e6903a75189030e7a: Wolfgang Denk (1): Merge branch 'master' of git://git.denx.de/u-boot-mpc83xx are available in the git repository at: git://git.denx.de/u-boot-ti.git

[U-Boot] [PATCH v2] tsec: do not print Speed: if using netconsole

2010-01-28 Thread Ed Swarthout
CONFIG_NETCONSOLE on the p2020ds is functional with the tsec driver. But the printf in adjust_link() which is called by startup_tsec() called by tsec_init() in tsec.c is making it impossible to use. For example typing 12345 on the netconsole causes the message to be printed for every character:

Re: [U-Boot] [PATCH] Testing netconsole fix

2010-01-28 Thread Swarthout Edward L-SWARTHOU
From: Peter Tyser Sent: Tuesday, January 26, 2010 12:44 PM This *seemed* to work, but I'm probably overlooking something obvious. The other thing this patch doesn't do is ever shut down an interface, eg prior to booting an OS. I'm also not sure how it would work if using multiple

[U-Boot] loading uImage error, Verifying Checksum ... Bad Data CRC, for what?

2010-01-28 Thread linzhavon
U-Boot 1.1.6 (Jan 29 2010 - 01:37:50) DRAM: 64 MB Flash: 1 MB NAND: 64 MiB *** Warning - bad CRC, using default environment In:serial Out: serial Err: serial UPLLVal [M:38h,P:2h,S:2h] MPLLVal [M:5ch,P:1h,S:1h] CLKDIVN:5h +-+ |

Re: [U-Boot] loading uImage error, Verifying Checksum ... Bad Data CRC, for what?

2010-01-28 Thread Wolfgang Denk
Dear linzhavon, In message 9c4bdd041001281430yc298f2bk3924e4f561213...@mail.gmail.com you wrote: U-Boot 1.1.6 (Jan 29 2010 - 01:37:50) This is ancient code. Please update to a recent version (v2009.11.1 or later). +-+ | S3C2440A USB Downloader

[U-Boot] [PATCH v3] 85xx/p1_p2_rdb: p1020: add muxed usb2handling

2010-01-28 Thread Harninder Rai
This patch adds the 2nd USB (muxed with eLBC) node depending upon enabling the 'usb2' environment variable via hwconfig i.e. setenv hwconfig usb2, so that linux has the 2nd USB controller enabled, which will lead to the disabling of the eLBC (NAND, NOR etc). Also the 2nd USB controller has been