Re: [U-Boot-Users] Loading a kernel on MX31ADS using U-boot

2008-05-14 Thread Jens Gehrlein
Hi Guennadi, Guennadi Liakhovetski schrieb: ... Apart from that, verify that your console= > command line parameter is correct, your machine ID matches, and that you > don't have a jtag debugger like bdi2000 connected when you're trying to > boot. I have the same problem on our board: I don't

Re: [U-Boot-Users] Loading a kernel on MX31ADS using U-boot

2008-05-14 Thread Guennadi Liakhovetski
On Wed, 14 May 2008, Jens Gehrlein wrote: > Apart from that, verify that your console= > > command line parameter is correct, your machine ID matches, and that you > > don't have a jtag debugger like bdi2000 connected when you're trying to > > boot. > > I have the same problem on our board: I don

[U-Boot-Users] U-BOOT V2 MX27 boot problem

2008-05-14 Thread yanjun.luo
Hi, I check out the last U-BOOT V2 code from git yesterday, and start to debug with my new MX27 board, just like MX27ADS. I config the U-BOOT V2 with pcm038 configuration. I use ADSToolKit Standard V1.3 from freescale to program the bootloader. When I download redboot's binary file, it works. But

Re: [U-Boot-Users] build u-boot error: No rule to make target `.depend', needed by `_depend'.

2008-05-14 Thread ubootnovice
Hi, >In the last step, the `make' reported "No rule to make target >`.depend', needed by `_depend'. Stop". > Steven Woody wrote: > > > This will usually occur when the path for toolchain (for u-boot , I feel > it is uclibc ) used is not properly set in > PC environment variables.Doing this s

[U-Boot-Users] old code compiled with new gcc. error: lvalue required

2008-05-14 Thread 甜瓜
Howdy, I want to compile ppcboot 1.1.6 by ELDK 4.1. Well, ppcboot is very ancient code, but for some reason, I have to compile it. There are many exact same compile-time errors reported: error: lvalue required as increment/decrement operand. xsum += *((ushort *)ptr)++; *((ulong *)addr_s

[U-Boot-Users] [PATCH] environment: cleanup prototype declarations of env functions.

2008-05-14 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk <[EMAIL PROTECTED]> --- api/api.c |3 +-- common/cmd_nvedit.c | 13 - common/env_eeprom.c |4 common/env_nvram.c|3 --- common/ft_build.c |3 --- include/environment.h | 10 ++ 6 files changed, 11 ins

[U-Boot-Users] [PATCH] ppc4xx: Add 405EX(r) revision C PVR definitions and detection code

2008-05-14 Thread Stefan Roese
Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> --- board/amcc/kilauea/kilauea.c | 19 --- cpu/ppc4xx/cpu.c | 20 include/asm-ppc/processor.h | 12 3 files changed, 40 insertions(+), 11 deletions(-) diff --git a/board/amcc/kilau

[U-Boot-Users] [PATCH] linkstation_HGLAN: Fix out of tree building.

2008-05-14 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk <[EMAIL PROTECTED]> --- board/linkstation/Makefile | 15 +-- 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/board/linkstation/Makefile b/board/linkstation/Makefile index 57c84de..8d92d8a 100644 --- a/board/linkstation/Makefile +++ b/board/

[U-Boot-Users] [PATCH] ppc4xx: Individual handling of ddr2_fixed.c for canyonlands_nand build

2008-05-14 Thread Stefan Roese
Canyonlands has a file ddr2_fixed.c which needs special treatment when building in separate directory. It has to be linked to build directory otherwise it is not seen. Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> --- nand_spl/board/amcc/canyonlands/Makefile |8 +++- 1 files changed, 7

Re: [U-Boot-Users] old code compiled with new gcc. error: lvalue required

2008-05-14 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > I want to compile ppcboot 1.1.6 by ELDK 4.1. Well, ppcboot is very That's similar to asking the Wright Bothers to fly an A380. In short: it will not work. > There are about 20 errors. Is there any walkaround? eg, compile options to > gcc that ca

Re: [U-Boot-Users] i.MX31: question about CFG_HZ and CKIL

2008-05-14 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > If CFG_HZ should be set to 1000 than cpu/arm1136/mx31/interrupt.c should > be fixed, i.e. the prescaler had to be adjusted from 1 to approx. 33. Do > you agree or did I understand this timer stuff completely wrong? Yes. It makes little sense to hav

[U-Boot-Users] [PATCH] QUAD100HD: Allow the environment to be put into flash.

2008-05-14 Thread Gary Jennejohn
After moving TEXT_BASE the value for CFG_ENV_ADDR was incorrect. Also use a redundant environment. Signed-off-by: Gary Jennejohn <[EMAIL PROTECTED]> --- include/configs/quad100hd.h | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/include/configs/quad100hd.h b

[U-Boot-Users] [PATCH] ppc4xx: Fix bogus Canyonlands config.mk

2008-05-14 Thread Stefan Roese
This patch fixes the canyonlands config.mk file to enable correct out-of-tree builds. Thanks to Wolfgang Denk for spotting this. Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> --- board/amcc/canyonlands/config.mk | 10 +- 1 files changed, 1 insertions(+), 9 deletions(-) diff --git a/b

[U-Boot-Users] [ppc4xx] Please pull git://www.denx.de/git/u-boot-ppc4xx.git

2008-05-14 Thread Stefan Roese
The following changes since commit 65dcfa79204f4750b905a173a5365e0b2eb6c2f6: Wolfgang Denk (1): Revert "pci: Add CONFIG_PCI_SKIP_HOST_BRIDGE config option" are available in the git repository at: git://www.denx.de/git/u-boot-ppc4xx.git master Stefan Roese (3): ppc4xx: Add 405EX

[U-Boot-Users] [PATCH] Fix config files for out-of-tree building

2008-05-14 Thread Wolfgang Denk
Several board/<...>/config.mk files include dynamically built (by the Makefile) config files but used the wrong file name of $(TOPDIR)/board/$(BOARDDIR)/config.tmp instead if the correct $(OBJTREE)/board/$(BOARDDIR)/config.tmp The bug is nasty because the build result is correct fo

Re: [U-Boot-Users] [ppc4xx] Please pull git://www.denx.de/git/u-boot-ppc4xx.git

2008-05-14 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > The following changes since commit 65dcfa79204f4750b905a173a5365e0b2eb6c2f6: > Wolfgang Denk (1): > Revert "pci: Add CONFIG_PCI_SKIP_HOST_BRIDGE config option" > > are available in the git repository at: > > git://www.denx.de/git/u-boot-ppc4

Re: [U-Boot-Users] build u-boot error: No rule to make target `.depend', needed by `_depend'.

2008-05-14 Thread Steven Woody
On Wed, May 14, 2008 at 11:03 AM, Steven Woody <[EMAIL PROTECTED]> wrote: > Hi, > > I 'cd' in eldk-4.1-arm installation directory arm/src/u-boot-1.2.0 and run: > > make distclean > make sbc2410x_config > make all > > In the last step, the `make' reported "No rule to make target > `.d

[U-Boot-Users] PXA270 board startup: printf does not work

2008-05-14 Thread JP
Starting up a new board with a PXA270, the console output from printf calls in board.c contains garbage, whereas puts works fine. It appears the vsprintf call in printf works correctly, but printf's local char buffer has a few alternate correct characters at its very beginning followed by junk. Ev

Re: [U-Boot-Users] PXA270 board startup: printf does not work

2008-05-14 Thread Jerry Van Baren
JP wrote: > Starting up a new board with a PXA270, the console output from > printf calls in board.c contains garbage, whereas puts works fine. > It appears the vsprintf call in printf works correctly, but printf's > local char buffer has a few alternate correct characters at its > very beginning f

[U-Boot-Users] Intel 82551IT ethernet controller phy loopback in monitor level ??

2008-05-14 Thread mahendra varman
Hi all In U-boot my ethernet controller PMC card with 82551It is working perfectly.. My customer needs to test the controller in monitor level also.. I have initialized 82551It and i can able to access phy thru mac.. Did anybody tried loopback(phy loopback) in monitor level for 82551It ? Than

Re: [U-Boot-Users] PXA270 board startup: printf does not work

2008-05-14 Thread JP
Jerry Van Baren wrote: > > Your talk about having a corrupted local char buffer confused me. If it > were not for that detail, I would have been positive that you have a > problem with handling your UART's Tx busy flag. > > Your symptoms are typical of not waiting for the UART to complete > t

Re: [U-Boot-Users] build u-boot error: No rule to make target `.depend', needed by `_depend'.

2008-05-14 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > > I 'cd' in eldk-4.1-arm installation directory arm/src/u-boot-1.2.0 and run: You are aware that U-Boot 1.2.0 is pretty old, aren't you? Is there any pressing reason not to use current code instead? > > In the last step, the `make' reported "No rul

[U-Boot-Users] [PATCH] Support for Aztek Networks cta5000s - Resubmittal

2008-05-14 Thread Jim Black
This patch to u-boot-1.3.3 adds support for the Aztek Networks, Inc. cta5000s. The board hosts a Freescale mpc8250, 64MB of SDRAM and 2 MB of flash. The cta5000s hardware uses the Analog and Micro Rattler 8250 as a reference. The software uses components from the TQM8260 and the pq2ads boards. S

[U-Boot-Users] [PATCH 1/2] Added support for Aztek Networks cta5000s.

2008-05-14 Thread Jim Black
--- CREDITS | 12 MAINTAINERS |8 MAKEALL |1 + Makefile|3 +++ 4 files changed, 24 insertions(+), 0 deletions(-) diff --git a/CREDITS b/CREDITS index e84ef38..24da4b0 100644 --- a/CREDITS +++ b/CREDITS @@ -61,6 +61,10 @@ N: Jon Benediktsson E: [EM

Re: [U-Boot-Users] [PATCH] NAND read/write.jffs2 fix

2008-05-14 Thread Kim Phillips
On Tue, 13 May 2008 15:41:06 -0500 Scott Wood <[EMAIL PROTECTED]> wrote: > > > > > static int nand_dump(nand_info_t *nand, ulong off, int only_oob) > > { > > @@ -73,9 +74,9 @@ static int nand_dump(nand_info_t *nand, ulong off, int > > only_oob) > > while (i--) { > > if (!only

Re: [U-Boot-Users] build u-boot error: No rule to make target `.depend', needed by `_depend'.

2008-05-14 Thread Steven Woody
Dear Denk, 1.2.0 is come frome eldk-4.1 iso file. Downloading independent u-boot seems require `git' tool which I get problem with because my office network gets many limits. Is there a http way to download u-boot? For 1.2.0 building, I made error because I don't set $CROSS_COMPILE, it's my fau

Re: [U-Boot-Users] build u-boot error: No rule to make target `.depend', needed by `_depend'.

2008-05-14 Thread Kim Phillips
On Thu, 15 May 2008 01:49:50 +0800 "Steven Woody" <[EMAIL PROTECTED]> wrote: > Dear Denk, > > 1.2.0 is come frome eldk-4.1 iso file. Downloading independent u-boot > seems require `git' tool which I get problem with because my office > network gets many limits. Is there a http way to download u

[U-Boot-Users] [PATCH] MPC512x: Change traps.c to not reference non-addressable memory

2008-05-14 Thread becky . bruce
From: Becky Bruce <[EMAIL PROTECTED]> Currently, END_OF_RAM is used by the trap code to determine if we should attempt to access the stack pointer or not. However, on systems with a lot of RAM, only a subset of the RAM is guaranteed to be mapped in and accessible. Change END_OF_RAM to use get_eff

[U-Boot-Users] [PATCH] MPC86xx: Change traps.c to not reference non-addressable memory

2008-05-14 Thread becky . bruce
From: Becky Bruce <[EMAIL PROTECTED]> Currently, END_OF_RAM is used by the trap code to determine if we should attempt to access the stack pointer or not. However, on systems with a lot of RAM, only a subset of the RAM is guaranteed to be mapped in and accessible. Change END_OF_RAM to use get_eff

[U-Boot-Users] [PATCH] MPC85xx: Change traps.c to not reference non-addressable memory

2008-05-14 Thread becky . bruce
From: Becky Bruce <[EMAIL PROTECTED]> Currently, END_OF_RAM is used by the trap code to determine if we should attempt to access the stack pointer or not. However, on systems with a lot of RAM, only a subset of the RAM is guaranteed to be mapped in and accessible. Change END_OF_RAM to use get_eff

Re: [U-Boot-Users] [PATCH 1/2] Added support for Aztek Networks cta5000s.

2008-05-14 Thread Stefan Roese
On Wednesday 14 May 2008, Jim Black wrote: > --- > CREDITS | 12 > MAINTAINERS |8 > MAKEALL |1 + > Makefile|3 +++ > 4 files changed, 24 insertions(+), 0 deletions(-) > +++ b/MAINTAINERS > @@ -50,6 +50,10 @@ Jerry Van Baren <[EMAIL PROTECTED]> >

[U-Boot-Users] [PATCH 2/2] Added support for Aztek Networks cta5000s telecom board.

2008-05-14 Thread Jim Black
--- board/cta5000s/Makefile| 50 +++ board/cta5000s/config.mk | 30 ++ board/cta5000s/cta5000s.c | 575 +++ include/configs/cta5000s.h | 723 4 files changed, 1378 insertions(+), 0 deletions(-) create mode 1

Re: [U-Boot-Users] build u-boot error: No rule to make target `.depend', needed by `_depend'.

2008-05-14 Thread Wolfgang Denk
Steven, A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? And you not only top-post, you also full-quote. You are ignoring Netiquette more or less completely, are y

Re: [U-Boot-Users] [PATCH 2/2] Added support for Aztek Networks cta5000s telecom board.

2008-05-14 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > --- > board/cta5000s/Makefile| 50 +++ > board/cta5000s/config.mk | 30 ++ > board/cta5000s/cta5000s.c | 575 +++ > include/configs/cta5000s.h | 723 > > 4 files c

Re: [U-Boot-Users] [PATCH] MPC85xx: Change traps.c to not reference non-addressable memory

2008-05-14 Thread Kim Phillips
On Wed, 14 May 2008 13:10:04 -0500 [EMAIL PROTECTED] wrote: > From: Becky Bruce <[EMAIL PROTECTED]> > > Currently, END_OF_RAM is used by the trap code to determine if > we should attempt to access the stack pointer or not. However, > on systems with a lot of RAM, only a subset of the RAM is > gua

Re: [U-Boot-Users] [PATCH] MPC85xx: Change traps.c to not reference non-addressable memory

2008-05-14 Thread Becky Bruce
On May 14, 2008, at 1:57 PM, Kim Phillips wrote: > On Wed, 14 May 2008 13:10:04 -0500 > [EMAIL PROTECTED] wrote: > >> From: Becky Bruce <[EMAIL PROTECTED]> >> >> Currently, END_OF_RAM is used by the trap code to determine if >> we should attempt to access the stack pointer or not. However, >> on s

Re: [U-Boot-Users] Loading a kernel on MX31ADS using U-boot

2008-05-14 Thread Fabio Estevam
Hi Jens, Have you tried to pass the "jtag=on" option into the kernel command line? Regards, Fabio Estevam --- On Wed, 5/14/08, Jens Gehrlein <[EMAIL PROTECTED]> wrote: > From: Jens Gehrlein <[EMAIL PROTECTED]> > Subject: Re: [U-Boot-Users] Loading a kernel on MX31ADS using U-boot > To: "Guenna

[U-Boot-Users] A simple howto boot sequoia (ARCH=powerpc) using flattened device tree (FDT)

2008-05-14 Thread Niklaus Giger
Hi It took me a evening to put everything together. Therefore I send this mail hoping it may help somebody else. Hopefully some of the content will find its way into the DULG/FAQ, may as point 14.3.30. "Booting using flattened device tree (FDT)" First one needs a recent U-boot with FDT support c

Re: [U-Boot-Users] [PATCH] MPC85xx: Change traps.c to not reference non-addressable memory

2008-05-14 Thread Kim Phillips
On Wed, 14 May 2008 15:31:43 -0500 Becky Bruce <[EMAIL PROTECTED]> wrote: > > On May 14, 2008, at 1:57 PM, Kim Phillips wrote: > > On Wed, 14 May 2008 13:10:04 -0500 > > [EMAIL PROTECTED] wrote: > > > >> From: Becky Bruce <[EMAIL PROTECTED]> > >> > >> Currently, END_OF_RAM is used by the trap cod

Re: [U-Boot-Users] [PATCH] MPC85xx: Change traps.c to not reference non-addressable memory

2008-05-14 Thread Becky Bruce
On May 14, 2008, at 3:54 PM, Kim Phillips wrote: > On Wed, 14 May 2008 15:31:43 -0500 > Becky Bruce <[EMAIL PROTECTED]> wrote: > >> >> On May 14, 2008, at 1:57 PM, Kim Phillips wrote: >>> On Wed, 14 May 2008 13:10:04 -0500 >>> [EMAIL PROTECTED] wrote: >>> From: Becky Bruce <[EMAIL PROTECTED]>

Re: [U-Boot-Users] U-Boot-Users Digest, Vol 24, Issue 99

2008-05-14 Thread ramon rebersak
Problem with ibm ppc 405 processor. Pretty confused thing that this is hard to patch to work with ibm ppc 405!!! On Wed, May 14, 2008 at 10:54 PM, < [EMAIL PROTECTED]> wrote: > Send U-Boot-Users mailing list submissions to >u-boot-users@lists.sourceforge.net > > To subscribe or unsubscrib

Re: [U-Boot-Users] U-Boot-Users Digest, Vol 24, Issue 99

2008-05-14 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > Problem with ibm ppc 405 processor. Really? Unbelievable. Working like a charm here. > Pretty confused thing that this is hard to patch to work with ibm ppc 405!!! You've been away for some time? It's a couple of years since IBM used to make those ch

[U-Boot-Users] [PATCH] TQM8272: fix out-of-tree building

2008-05-14 Thread Wolfgang Denk
...and add to MAKEALL script Signed-off-by: Wolfgang Denk <[EMAIL PROTECTED]> --- MAKEALL|1 + board/tqm8272/Makefile | 23 +++ 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/MAKEALL b/MAKEALL index 791eabc..37b4334 100755 --- a/MAKEALL +

Re: [U-Boot-Users] build u-boot error: No rule to make target `.depend', needed by `_depend'.

2008-05-14 Thread Steven Woody
On Thu, May 15, 2008 at 2:49 AM, Wolfgang Denk <[EMAIL PROTECTED]> wrote: > Steven, > > > A: Because it messes up the order in which people normally read text. > > Q: Why is it such a bad thing? > > A: Top-posting. > > Q: What is the most annoying thing on usenet and in e-mail? > > > And you not on

[U-Boot-Users] How to let u-boot support non-standard board (AX88796B NIC)

2008-05-14 Thread Steven Woody
Dear experts, With your help, I'v now successfully compiled u-boot-1.3.3-rc3 and got the `u-boot' boot loader image file. My compiling command line is `./MAKEALL sbc2410x' since the MPU in my board is a samsung s3c2410A. But I think the board is not a standard sbc2410x or smdk2410, because it's NI

[U-Boot-Users] Build failure - multiple definition of `env_get_char'

2008-05-14 Thread Mike Montour
As of: a8409f4f1ac84c36273c1a1e341189662521bcfb is first bad commit commit a8409f4f1ac84c36273c1a1e341189662521bcfb Author: Wolfgang Denk <[EMAIL PROTECTED]> Date: Wed May 14 12:22:49 2008 +0200 environment: cleanup prototype declarations of env functions. I am unable to build u-

[U-Boot-Users] U-Boot help request for OHCI driver with CPU cache on

2008-05-14 Thread Ryan CHEN
Hi all, I am porting U-Boot to a MIPS64 platform, that uses USB host controller NEC uPD720101 on PCI bus. I didn't modify anything related with USB driver, I just enabled OHCI in the configuration. When CPU cache is disabled, USB is perfect working. When CPU cache is enabled, every driver works

Re: [U-Boot-Users] [PATCH] QUAD100HD: Allow the environment to be put into flash.

2008-05-14 Thread Stefan Roese
On Wednesday 14 May 2008, Gary Jennejohn wrote: > After moving TEXT_BASE the value for CFG_ENV_ADDR was incorrect. Also > use a redundant environment. > > Signed-off-by: Gary Jennejohn <[EMAIL PROTECTED]> Applied to quad100hd branch. Thanks. Best regards, Stefan

Re: [U-Boot-Users] Loading a kernel on MX31ADS using U-boot

2008-05-14 Thread Jens Gehrlein
Hi Fabio, Fabio Estevam schrieb: > Hi Jens, > > Have you tried to pass the "jtag=on" option into the kernel command line? Yippee! This works. Thank you very much for this hint! Where is this parameter documented? I didn't found anything in linux/Documentation or with google. ... >> Apart from