Re: [U-Boot] [PATCH 3/5] ixp: move pci init in arm/board instead of cpu

2009-01-21 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <1232604438-15471-4-git-send-email-plagn...@jcrosoft.com> you wrote: > > +#if defined(CONFIG_CMD_PCI) || defined (CONFIG_PCI) > +#include > +static int arm_pci_init(void) > +{ > + pci_init(); > + return 0; > +} Maybe pci_init() should re

Re: [U-Boot] [PATCH 2/5] ixp: move pci drivers to drivers/pci

2009-01-21 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <1232604438-15471-3-git-send-email-plagn...@jcrosoft.com> you wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > > diff --git a/cpu/ixp/Makefile b/cpu/ixp/Makefile > index afa972a..6deecd4 100644 > --- a/cpu/ixp/Makefile > +++ b/cpu/ixp/M

Re: [U-Boot] [PATCH 0/5] ixp/npe: Move conditional compilation to Makefile

2009-01-21 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <1232604438-15471-1-git-send-email-plagn...@jcrosoft.com> you wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD YOU DID IT AGAIN!!! [PATCH 0/5] means DESCRIPTION only (and not a patch) for a patch series consisyting of FIVE (5, as in ..

Re: [U-Boot] [PATCH 0/1] arm/mach-types: sync with 2.6.28 and add generating tools support

2009-01-21 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <1232603494-14583-1-git-send-email-plagn...@jcrosoft.com> you wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD please, *PLEASE* get used to a somewhat reasonable style of numbering your patches. If you submit patches tagged as "[PATCH 0/

Re: [U-Boot] [PATCH 1/1] arm: fix some arch_number definition

2009-01-21 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <1232603494-14583-2-git-send-email-plagn...@jcrosoft.com> you wrote: > > diff --git a/board/armadillo/armadillo.c b/board/armadillo/armadillo.c > index ca5bd1d..e9be758 100644 > --- a/board/armadillo/armadillo.c > +++ b/board/armadillo/armadillo.c

[U-Boot] troubles trying to build glacier image

2009-01-21 Thread vb
I am trying to build a kernel image for the AMCC glacier board, using the latest denx linux kernel vv linux-2.6-denx 128 > git show commit 5a7b6e7d15253c01ee0f0b8846b78e2ca23ef40d Merge: 2f9f8f1... ae04d14... Author: Wolfgang Denk Date: Mon Jan 12

Re: [U-Boot] [PATCH 1/1] arm: fix some arch_number definition

2009-01-21 Thread Jens Gehrlein
Jean-Christophe PLAGNIOL-VILLARD schrieb: > diff --git a/board/imx31_phycore/imx31_phycore.c > b/board/imx31_phycore/imx31_phycore.c > index ae93444..4b72d57 100644 > --- a/board/imx31_phycore/imx31_phycore.c > +++ b/board/imx31_phycore/imx31_phycore.c > @@ -60,7 +60,7 @@ int board_init (void) >

[U-Boot] [PATCH 2/5] ixp: move pci drivers to drivers/pci

2009-01-21 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD diff --git a/cpu/ixp/Makefile b/cpu/ixp/Makefile index afa972a..6deecd4 100644 --- a/cpu/ixp/Makefile +++ b/cpu/ixp/Makefile @@ -28,7 +28,6 @@ LIB = $(obj)lib$(CPU).a START = start.o COBJS-y+= cpu.o COBJS-y+= interrupts.o -COBJ

[U-Boot] [PATCH 5/5] ixp: add big endian LDFLAGS

2009-01-21 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD diff --git a/cpu/ixp/config.mk b/cpu/ixp/config.mk index a71a20b..bbc5879 100644 --- a/cpu/ixp/config.mk +++ b/cpu/ixp/config.mk @@ -23,6 +23,7 @@ # BIG_ENDIAN = y +PLATFORM_LDFLAGS += -EB PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-commo

[U-Boot] [PATCH 1/5] ixp: Move conditional compilation to Makefile

2009-01-21 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD diff --git a/cpu/ixp/Makefile b/cpu/ixp/Makefile index e1fb327..afa972a 100644 --- a/cpu/ixp/Makefile +++ b/cpu/ixp/Makefile @@ -26,10 +26,16 @@ include $(TOPDIR)/config.mk LIB= $(obj)lib$(CPU).a START = start.o -COBJS = serial.o interrupt

[U-Boot] [PATCH 3/5] ixp: move pci init in arm/board instead of cpu

2009-01-21 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD diff --git a/cpu/ixp/cpu.c b/cpu/ixp/cpu.c index 27872fb..fd545b5 100644 --- a/cpu/ixp/cpu.c +++ b/cpu/ixp/cpu.c @@ -86,9 +86,6 @@ int cpu_init (void) FIQ_STACK_START = IRQ_STACK_START - CONFIG_STACKSIZE_IRQ; #endif -#if defined(CONFIG_CM

[U-Boot] [PATCH 0/5] ixp/npe: Move conditional compilation to Makefile

2009-01-21 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD diff --git a/cpu/ixp/npe/Makefile b/cpu/ixp/npe/Makefile index 25117d7..aa664a1 100644 --- a/cpu/ixp/npe/Makefile +++ b/cpu/ixp/npe/Makefile @@ -29,7 +29,7 @@ LOCAL_CFLAGS += -I$(TOPDIR)/cpu/ixp/npe/include -DCONFIG_IXP425_COMPONENT_ETHDB CFLAGS

[U-Boot] [PATCH 4/5] ixp: move serial to drivers/serial

2009-01-21 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD diff --git a/cpu/ixp/Makefile b/cpu/ixp/Makefile index 6deecd4..7e98d87 100644 --- a/cpu/ixp/Makefile +++ b/cpu/ixp/Makefile @@ -28,7 +28,6 @@ LIB = $(obj)lib$(CPU).a START = start.o COBJS-y+= cpu.o COBJS-y+= interrupts.o -COBJ

[U-Boot] [PATCH 1/1] arm: fix some arch_number definition

2009-01-21 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD diff --git a/board/apollon/apollon.c b/board/apollon/apollon.c index 8964eba..47df84a 100644 --- a/board/apollon/apollon.c +++ b/board/apollon/apollon.c @@ -66,7 +66,7 @@ int board_init(void) { gpmc_init();/* in SRAM or SDRM, fi

Re: [U-Boot] [PATCH] USB: Change "usb tree" cmd to print 480MBit upon highspeed connection

2009-01-21 Thread Stefan Roese
On Thursday 22 January 2009, Michael Trimarchi wrote: > Mike Frysinger wrote: > > On Wednesday 21 January 2009 11:11:47 Stefan Roese wrote: > >> Signed-off-by: Stefan Roese > >> --- > >> common/cmd_usb.c |1 + > >> 1 files changed, 1 insertions(+), 0 deletions(-) > >> > >> diff --git a/common

Re: [U-Boot] boot linux kernel from NAND

2009-01-21 Thread Aggrwal Poonam
> -Original Message- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of roundrobin > Sent: Thursday, January 22, 2009 7:54 AM > To: u-boot@lists.denx.de > Subject: Re: [U-Boot] boot linux kernel from NAND > > > Thanks a lot for the reply. > > Wh

Re: [U-Boot] boot linux kernel from NAND

2009-01-21 Thread roundrobin
Thanks a lot for the reply. What I understand from the reply is I need to change my bootcmd environment variable. Currently for loading kernel from NOR, it uses bootm command; now I have to change it to nboot command. Also I understand that I do not need to write a NAND driver for this purpose.

Re: [U-Boot] [PATCH 3/3] mpc83xx: Add PCI-E support for MPC837XEMDS boards

2009-01-21 Thread Anton Vorontsov
On Wed, Jan 21, 2009 at 07:03:32PM -0600, Kim Phillips wrote: > On Thu, 8 Jan 2009 04:26:19 +0300 > Anton Vorontsov wrote: > > > MPC837XEMDS boards can support PCI-E via "PCI-E riser card". The card > > provides two PCI-E (x2) ports. Though, only one port can be used in x2 > > mode. Two ports can

Re: [U-Boot] [PATCH] Fix Freescale link scripts for newer GCCs

2009-01-21 Thread Kim Phillips
On Wed, 7 Jan 2009 18:29:54 -0500 "Matthew L. Creech" wrote: > This addresses the problem described here: > > http://lists.denx.de/pipermail/u-boot/2008-December/045029.html > > This changes the link scripts of several of the mpcXXX CPUs to include > everything from '.rodata'. Without this, us

Re: [U-Boot] [PATCH] 83xx: Use the proper sequence for updating IMMR.

2009-01-21 Thread Kim Phillips
On Tue, 20 Jan 2009 11:56:11 -0600 Scott Wood wrote: > This ensures that subsequent accesses properly hit the new window. > > The dcbi during the NAND loop was accidentally working around this; > it's no longer necessary, as the cache is not enabled. > > Reported-by: Suchit Lepcha > Signed-off

Re: [U-Boot] [PATCH 3/3] mpc83xx: Add PCI-E support for MPC837XEMDS boards

2009-01-21 Thread Kim Phillips
On Thu, 8 Jan 2009 04:26:19 +0300 Anton Vorontsov wrote: > MPC837XEMDS boards can support PCI-E via "PCI-E riser card". The card > provides two PCI-E (x2) ports. Though, only one port can be used in x2 > mode. Two ports can function simultaneously in x1 mode. > > PCI-E x1/x2 modes can be switche

Re: [U-Boot] [PATCH 2/3] mpc83xx: Add PCI-E support for MPC8315ERDB boards

2009-01-21 Thread Kim Phillips
On Thu, 8 Jan 2009 05:43:32 - "Liu Dave" wrote: > > MPC8315ERDB boards features PCI-E x1 and Mini PCI-E x1 ports. Let's > > support them. > > > > Signed-off-by: Anton Vorontsov > > Acked-by: Dave Liu applied to u-boot-mpc83xx next. Thanks all, Kim __

Re: [U-Boot] [PATCH 1/3] mpc83xx: Add support for MPC83xx PCI-E controllers

2009-01-21 Thread Kim Phillips
On Thu, 8 Jan 2009 06:46:55 - "Liu Dave" wrote: > > This patch adds support for MPC83xx PCI-E controllers in Root Complex > > mode. > > > > The patch is based on Tony Li and Dave Liu work[1]. > > > > Though unlike the original patch, by default we don't register PCI-E > > buses for use in U

Re: [U-Boot] [PATCH] MPC8349EMDS: do not setup unused PCI clock outputs in PCI agent mode

2009-01-21 Thread Kim Phillips
On Mon, 12 Jan 2009 13:33:17 -0800 Ira Snyder wrote: > When running in PCI agent mode, the PCI_CLK_OUT signals are not used, so do > not enable them. See the MPC8349EA Reference Manual, Section 4.4.2 > "Clocking in PCI Agent Mode". > > Signed-off-by: Ira W. Snyder > --- > board/freescale/mpc83

Re: [U-Boot] [PATCH] 83xx: PCI agent mode fixes for multi-board systems

2009-01-21 Thread Kim Phillips
On Mon, 12 Jan 2009 13:32:26 -0800 Ira Snyder wrote: > When running a system with 2 or more MPC8349EMDS boards in PCI agent mode, > the boards will lock up the PCI bus by scanning against each other. > > The boards lock against each other by trying to access the PCI bus before > clearing their c

Re: [U-Boot] [PATCH] mpc83xx: Size optimization of start.S

2009-01-21 Thread Kim Phillips
On Fri, 12 Dec 2008 13:12:45 -0800 Ron Madrid wrote: > Currently there are in excess of 100 bytes located at the beginning of the > image > built by start.S that are not being utilized. This patch moves a few > functions > into this part of the image. This will create a greater number of *ava

Re: [U-Boot] [PATCH] USB: Change "usb tree" cmd to print 480MBit upon highspeed connection

2009-01-21 Thread Michael Trimarchi
Mike Frysinger wrote: > On Wednesday 21 January 2009 11:11:47 Stefan Roese wrote: > >> Signed-off-by: Stefan Roese >> --- >> common/cmd_usb.c |1 + >> 1 files changed, 1 insertions(+), 0 deletions(-) >> >> diff --git a/common/cmd_usb.c b/common/cmd_usb.c >> index 9e55c7c..773d1b5 100644 >>

Re: [U-Boot] Kernel loading and memory layout

2009-01-21 Thread Roman Mashak
Hello 2009/1/22 Vinay Venkataraghavan : > > How do I turn on debugs in uboot. Is there a compile time flag or is there > and #define that needs to be turned on. I looked in the code and could not > find how all the debugs are related and can be switched on? You may define DEBUG right in your bo

[U-Boot] [PATCH] mpc85xx: Add support for the P2020

2009-01-21 Thread Kumar Gala
From: Srikanth Srinivasan Added various p2020 processor specific details: * SVR for p2020, p2020E * immap updates for LAWs and DDR on p2020 * LAW defines related to p2020 Signed-off-by: Srikanth Srinivasan Signed-off-by: Travis Wheatley Signed-off-by: Kumar Gala --- cpu/mpc85xx/Makefile

Re: [U-Boot] Kernel loading and memory layout

2009-01-21 Thread Vinay Venkataraghavan
Thank you all for your responses. Has definitely got me going. Another really quick question. I notice that there are a lot of debug switches in the uboot code. How do I turn on debugs in uboot. Is there a compile time flag or is there and #define that needs to be turned on. I looked in the cod

Re: [U-Boot] [PATCH] tools/netconsole: make a bit more robust and use ncb when possible

2009-01-21 Thread Mike Frysinger
On Wednesday 21 January 2009 15:57:56 Wolfgang Denk wrote: > In message <200901211539.26445.vap...@gentoo.org> you wrote: > > > - When would "ncb" not be available? > > > > ncb is specific to u-boot: tools/ncb.c. most people will not bother to > > compile it as they'll just run the netconsole scri

Re: [U-Boot] [PATCH] tools/netconsole: make a bit more robust and use ncb when possible

2009-01-21 Thread Wolfgang Denk
Dear Mike Frysinger, In message <200901211539.26445.vap...@gentoo.org> you wrote: > > > - When would "ncb" not be available? > > ncb is specific to u-boot: tools/ncb.c. most people will not bother to > compile it as they'll just run the netconsole script. it certainly isnt > compiled by defau

Re: [U-Boot] [PATCH] tools/netconsole: make a bit more robust and use ncb when possible

2009-01-21 Thread Mike Frysinger
On Wednesday 21 January 2009 15:13:51 Wolfgang Denk wrote: > Dear Mike Frysinger, > > In message <200901161407.57150.vap...@gentoo.org> you wrote: > > > > have this "feature" and it supports broadcast udp, default to using > > > > that rather than netcat. > > > > > > When would "ncb" not be availab

Re: [U-Boot] [PATCH] USB: Change "usb tree" cmd to print 480MBit upon highspeed connection

2009-01-21 Thread Mike Frysinger
On Wednesday 21 January 2009 11:11:47 Stefan Roese wrote: > Signed-off-by: Stefan Roese > --- > common/cmd_usb.c |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/common/cmd_usb.c b/common/cmd_usb.c > index 9e55c7c..773d1b5 100644 > --- a/common/cmd_usb.c > +++ b/commo

Re: [U-Boot] [PATCH 2/4] usb : OMAP3 : Enable Mentor USB OTG module interface clock

2009-01-21 Thread Wolfgang Denk
Dear Remy, In message <3efb10970901050724l6af77dbft1e048bad592cb...@mail.gmail.com> you wrote: > > So, I have no problems with the separation Thomas has made to push the > USB patches to the USB tree, and the basic board patches to you, but Actually this is the correct thing to do. > then I ha

Re: [U-Boot] [PATCH] tools/netconsole: make a bit more robust and use ncb when possible

2009-01-21 Thread Wolfgang Denk
Dear Mike Frysinger, In message <200901161407.57150.vap...@gentoo.org> you wrote: > > > > have this "feature" and it supports broadcast udp, default to using that > > > rather than netcat. > > > > When would "ncb" not be available? > > > > What else are the implications when using ncb versus netca

Re: [U-Boot] Kernel loading and memory layout

2009-01-21 Thread Wolfgang Denk
Dear Jerry Van Baren, In message <49771642.1050...@ge.com> you wrote: > > U-Boot loads the linux kernel in RAM where ever you tell it to and then > jumps to the linux kernel entry point. The linux kernel, on start up, > relocates itself to where *it* wants to live and then proceeds. This is no

Re: [U-Boot] [PATCH] Add support W90P710 ARM SoC from Nuvoton

2009-01-21 Thread Peter Tyser
Hi Konstantin, > > Add support W90P710 ARM SoC from Nuvoton > > Add W90P1 board based on W90P710 > > > > Signed-off-by: Konstantin Vovk > > --- > > MAKEALL |1 + > > Makefile|3 + > > board/w90p1/Makefile

[U-Boot] [PATCH 1/3 v3] MIPS: Add VCT board series support (Part 1/3)

2009-01-21 Thread Stefan Roese
Signed-off-by: Stefan Roese --- v3: - Added USB EHCI support - Added performance enhanced OneNAND read support v2: - Fixed issues in u-boot.lds mentioned by Andrew Dyer board/micronas/vct/Makefile| 57 board/micronas/vct/bcu.h | 170 board/

[U-Boot] [PATCH] MIPS: Add flush_dcache_range() and invalidate_dcache_range()

2009-01-21 Thread Stefan Roese
This patch adds flush_/invalidate_dcache_range() to the MIPS architecture. Those functions are needed for the upcoming dcache support for the USB EHCI driver. I chose this API because those cache handling functions are already present in the PPC architecture. Signed-off-by: Stefan Roese --- cpu/

Re: [U-Boot] [PATCH] USB: Change "usb tree" cmd to print 480MBit upon highspeed connection

2009-01-21 Thread Stefan Roese
Hi Remy, I forgot to number those USB related patches. Here the list: USB-Change-usb-tree-cmd-to-print-480MBit-upon-hig.patch USB-Fix-speed-detection-on-EHCI-cntr-with-root-hub.patch USB-Add-config-option-to-call-ehci_hcd_init-again.patch USB-Add-dcache-support-to-the-EHCI-driver.patch USB-Add-EH

[U-Boot] [PATCH] net: smc911x.c: Add LAN9211 to chip_ids[] array

2009-01-21 Thread Stefan Roese
Signed-off-by: Stefan Roese --- drivers/net/smc911x.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c index 648c94c..268a630 100644 --- a/drivers/net/smc911x.c +++ b/drivers/net/smc911x.c @@ -381,6 +381,7 @@ void pkt_data_pus

[U-Boot] [PATCH] USB: Add dcache support to the EHCI driver

2009-01-21 Thread Stefan Roese
This patch adds routines to handle (flush/invalidate) the dcache for the QH and qTD structures and data buffers. This is needed on platforms using this EHCI support with dcache enabled (like the MIPS VCT board port). Signed-off-by: Stefan Roese --- drivers/usb/usb_ehci.h |5 ++ drivers/

[U-Boot] [PATCH] USB: Change "usb tree" cmd to print 480MBit upon highspeed connection

2009-01-21 Thread Stefan Roese
Signed-off-by: Stefan Roese --- common/cmd_usb.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/common/cmd_usb.c b/common/cmd_usb.c index 9e55c7c..773d1b5 100644 --- a/common/cmd_usb.c +++ b/common/cmd_usb.c @@ -310,6 +310,7 @@ void usb_show_tree_graph(struct usb_device

[U-Boot] [PATCH] USB: Add EHCI support for VCT EHCI controller

2009-01-21 Thread Stefan Roese
Signed-off-by: Stefan Roese --- drivers/usb/Makefile |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/usb/Makefile b/drivers/usb/Makefile index 37dcf24..b306a65 100644 --- a/drivers/usb/Makefile +++ b/drivers/usb/Makefile @@ -39,6 +39,7 @@ COBJS-$(CONFIG_USB_EHCI_P

[U-Boot] [PATCH] USB: Add config option to call ehci_hcd_init() again after EHCI reset

2009-01-21 Thread Stefan Roese
This patch adds the config option CONFIG_EHCI_HCD_INIT_AFTER_RESET to call ehci_hcd_init() again after ehci_reset() is executed. This is needed for the upcoming VCT EHCI support which needs to re-init the hcd part again after the EHCI CMD_RESET is executed. Signed-off-by: Stefan Roese --- driver

[U-Boot] [PATCH] USB: Fix speed detection on EHCI cntr with root hub transaction translators

2009-01-21 Thread Stefan Roese
This patch fixes an issue that the speed of USB devices was not detected correctly on some EHCI controllers. This will be used on the upcoming VCT EHCI support. Signed-off-by: Stefan Roese --- drivers/usb/usb_ehci_core.c | 17 - 1 files changed, 16 insertions(+), 1 deletions(-)

Re: [U-Boot] boot linux kernel from NAND

2009-01-21 Thread Matt Gessner
On Wed, Jan 21, 2009 at 4:02 AM, roundrobin wrote: > > Hi > > We have a custom board where we are using u-boot to > boot linux kernel from NOR flash. This is working alright. > > However, we are planning to replace the NOR flash with > NAND flash. There will be no NOR flash on the board. > So I ne

[U-Boot] Trouble booting custom MPC8265 board with u-boot 1-3.2

2009-01-21 Thread Jyotshna Cherukuri
Hi, I am trying to get custom MPC8265 board up and runnning with u-boot 1.3.2 and I am using Codewarrior USB TAP debugger to debug u-boot code using a custom initialization file. The board gives me a prompt when the debugger is on and when I turn off the debugger I don't see anything on the se

Re: [U-Boot] Kernel loading and memory layout

2009-01-21 Thread Jerry Van Baren
Vinay Venkataraghavan wrote: > Greetings, > > I am new to using uboot but have gone through the code to a certain > degree but still have some questions. > > 1. Where does uboot transfer control to the linux kernel. By this I > mean which file in the source code would I look for this. > > Would

Re: [U-Boot] Fw: TFTP fails when using network switch

2009-01-21 Thread Jerry Van Baren
Loren A. Linden Levy wrote: > Hi Jerry, > > Your gonna love this. I was setting the hardware MAC address to be > FF:FF:FF:FF:FF:FF. When i changed this everything magically started > working. I guess this MAC has some meaning like the device is a > router. Anyway, i learned a lot while trying to f

[U-Boot] boot linux kernel from NAND

2009-01-21 Thread roundrobin
Hi We have a custom board where we are using u-boot to boot linux kernel from NOR flash. This is working alright. However, we are planning to replace the NOR flash with NAND flash. There will be no NOR flash on the board. So I need to boot linux kernel from NAND. My question is what works do I