Skip to contentSkip to conversation

U-Boot-Users Digest, Vol 24, Issue 99

U-Boot-Users ramon rebersak 2 participants 2 messages May 14, 2008 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): mailman.256288.1210798472.5026.u-boot-users@lists.sourceforge.net

#1 lore raw

Problem with ibm ppc 405 processor.
Pretty confused thing that this is hard to patch to work with ibm ppc 405!!!

Quoted 430 lines · On Wed, May 14, 2008 at 10:54 PM, < [email protected]>…

Send U-Boot-Users mailing list submissions to
u-boot-users at lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/u-boot-users
or, via email, send a message with subject or body 'help' to
u-boot-users-request at lists.sourceforge.net

You can reach the person managing the list at
u-boot-users-owner at lists.sourceforge.net

When replying, please edit your Subject line so it is more specific than "Re: Contents of U-Boot-Users digest..."

Today's Topics:

1. Re: build u-boot error: No rule to make target `.depend',
needed by `_depend'. (Wolfgang Denk)
2. Re: [PATCH 2/2] Added support for Aztek Networks cta5000s telecom board. (Wolfgang Denk)
3. Re: [PATCH] MPC85xx: Change traps.c to not reference non-addressable memory (Kim Phillips)
4. Re: [PATCH] MPC85xx: Change traps.c to not reference non-addressable memory (Becky Bruce)
5. Re: Loading a kernel on MX31ADS using U-boot (Fabio Estevam)
6. A simple howto boot sequoia (ARCH=powerpc) using flattened device tree (FDT) (Niklaus Giger)

----------------------------------------------------------------------

Message: 1
Date: Wed, 14 May 2008 20:49:26 +0200
From: Wolfgang Denk <[email protected]>
Subject: Re: [U-Boot-Users] build u-boot error: No rule to make target

       `.depend', needed by `_depend'.

To: "Steven Woody" <[email protected]>
Cc: u-boot-users at lists.sourceforge.net
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

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 you aware of this?

I think you should read http://www.netmeister.org/news/learn2quote.html
really carefully.

In message <[email protected]>

Quoted 4 lines · you

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?

If you bothered to read the documentation or tyhe U-Boot web pages you should have seen the links to the FTP site, and you should have read about the snapshot feature of git.

Please see http://www.denx.de/wiki/UBoot/SourceCode

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de I have a theory that it's impossible to prove anything, but I can't prove it.

------------------------------

Message: 2
Date: Wed, 14 May 2008 20:54:34 +0200
From: Wolfgang Denk <[email protected]>
Subject: Re: [U-Boot-Users] [PATCH 2/2] Added support for Aztek
Networks cta5000s telecom board.
To: Jim Black <[email protected]>
Cc: u-boot-users at lists.sourceforge.net, Jim Black
<[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

In message <[email protected]> you

Quoted 5 lines · wrote:
---
 board/cta5000s/Makefile    |   50 +++
 board/cta5000s/config.mk   |   30 ++
 board/cta5000s/cta5000s.c  |  575 +++++++++++++++++++++++++++++++++++
 include/configs/cta5000s.h |  723

++++++++++++++++++++++++++++++++++++++++++++

Quoted 5 lines
 4 files changed, 1378 insertions(+), 0 deletions(-)
 create mode 100644 board/cta5000s/Makefile
 create mode 100644 board/cta5000s/config.mk
 create mode 100644 board/cta5000s/cta5000s.c
 create mode 100644 include/configs/cta5000s.h

There is trailing white space in some of the files.

Please use TABs for indentation instead of spaces (Not only at the beginning of the lines).

Quoted 4 lines

+/* See include/configs/cta5000s.h for CFG_* settings
+ * All values in the following tables taken from
+ * chapter 6 of the cta Programmer's Guide
+ */

...

Quoted 2 lines

+/* Compact Flash Control Registers
+ */

...

Quoted 2 lines

+/* Compact Flash IO memory
+ */

These comments, and many others, are not in the requested format for multiline comments.

And I dare to ask if this:

Quoted 2 lines

+/* FPGA memory
+ */

really requires a multiline comment?

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The more we disagree, the more chance there is that at least one of us is right.

------------------------------

Message: 3
Date: Wed, 14 May 2008 13:57:32 -0500
From: Kim Phillips <[email protected]>
Subject: Re: [U-Boot-Users] [PATCH] MPC85xx: Change traps.c to not
reference non-addressable memory
To: becky.bruce at freescale.com
Cc: u-boot-users at lists.sourceforge.net
Message-ID: <[email protected]>
Content-Type: text/plain; charset=US-ASCII

Quoted 11 lines · On Wed, 14 May 2008 13:10:04 -0500 becky.bruce at freescale.com 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 guaranteed to be mapped in and accessible. Change END_OF_RAM to use get_effective_memsize() instead of using the raw ram size out of the bd.

---

what, no love for 4xx, 83xx, and 74xx_7xx?

can also be made a single patch for WD to apply directly.

Kim

------------------------------

Message: 4
Date: Wed, 14 May 2008 15:31:43 -0500
From: Becky Bruce <[email protected]>
Subject: Re: [U-Boot-Users] [PATCH] MPC85xx: Change traps.c to not
reference non-addressable memory
To: Kim Phillips <[email protected]>
Cc: u-boot-users at lists.sourceforge.net
Message-ID: <[email protected]>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Quoted 12 lines · Kim Phillips
Quoted 9 lines · On Wed, 14 May 2008 13:10:04 -0500 becky.bruce at freescale.com 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 guaranteed to be mapped in and accessible. Change END_OF_RAM to use get_effective_memsize() instead of using the raw ram size out of the bd.

Quoted 4 lines
Quoted 2 lines

---

what, no love for 4xx, 83xx, and 74xx_7xx?

The other platforms currently set a hard limit that should still be valid - I just changed the ones that were reading memsize directly out of the bd.

Quoted 3 lines

can also be made a single patch for WD to apply directly.

Sure, I just split it up in case there was some reason we shouldn't do it for one of them.

-B

------------------------------

Message: 5
Date: Wed, 14 May 2008 13:53:28 -0700 (PDT)
From: Fabio Estevam <[email protected]>
Subject: Re: [U-Boot-Users] Loading a kernel on MX31ADS using U-boot
To: Guennadi Liakhovetski <[email protected]>, Jens Gehrlein

       <[email protected]>

Cc: u-boot-users at lists.sourceforge.net
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Hi Jens,

Have you tried to pass the "jtag=on" option into the kernel command line?

Regards,

Fabio Estevam

Quoted 28 lines · Jens Gehrlein

From: Jens Gehrlein <[email protected]>
Subject: Re: [U-Boot-Users] Loading a kernel on MX31ADS using U-boot
To: "Guennadi Liakhovetski" <[email protected]>
Cc: u-boot-users at lists.sourceforge.net
Date: Wednesday, May 14, 2008, 4:08 AM
Hi Guennadi,

Guennadi Liakhovetski schrieb:

...

Apart from that, verify that your console=

Quoted 1 line

command line parameter is correct, your machine ID

matches, and that you

Quoted 1 line

don't have a jtag debugger like bdi2000 connected

when you're trying to

Quoted 1 line

boot.

I have the same problem on our board: I don't see the console outputs if
the BDI2000 cable is connected to the target, although the BDI is in
mode "reset run". Do have an idea why?

Best Regards,
Jens

Quoted 8 lines

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

------------------------------

Message: 6
Date: Wed, 14 May 2008 22:54:16 +0200
From: Niklaus Giger <[email protected]>
Subject: [U-Boot-Users] A simple howto boot sequoia (ARCH=powerpc)
using flattened device tree (FDT)
To: u-boot-users at lists.sourceforge.net
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

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 compiled into, e.g 1.3.2-rc3-g772003e4-dirty (Apr 11 2008 - 15:56:0 for the sequoia board.

Secone one needs a recent Linux kernel made using "ARCH=powerpc", e.g. from 2.6.25-00002-ga9bf9f0 from git://www.denx.de/git/linux-2.6-denx.git.

Third one needs a recent dtc (Device Tree Compiler). The following commands

$ git clone http://www.jdl.com/software/dtc.git
$ cd dtc && make && sudo cp dtc /usr/local/bin
should do the job.

Now you are ready to compile the device tree blob. I used the commands given in
http://www.denx.de/wiki/view/DULG/LinuxFDTBlob
dtc -b 0 -V 17 -R 4 -S 0x3000 -I dts -O dtb -f arch/powerpc/boot/dts/sequoia.dts \

Quoted 1 line

/tftpboot/sequoia/sequoia.dtb

Now power up your sequoia board and execute the following commands to start a
Linux kernel on a NFS root device. The following commands did the job for me:

Quoted 9 lines

Hit any key to stop autoboot: 0
=> tftp 200000 /tftpboot/sequoia/uImage
Waiting for PHY auto negotiation to complete.. done ENET Speed is 100 Mbps - FULL duplex connection (EMAC0) Using ppc_4xx_eth0 device
TFTP from server 172.25.1.3; our IP address is 172.25.1.88 Filename '/tftpboot/sequoia/uImage'.
Load address: 0x200000
Loading:

#################################################################

Quoted 16 lines
         ######################

done
Bytes transferred = 1277067 (137c8b hex)
=> tftp 1000000 /tftpboot/sequoia/sequoia.dtb
ENET Speed is 100 Mbps - FULL duplex connection (EMAC0) Using ppc_4xx_eth0 device
TFTP from server 172.25.1.3; our IP address is 172.25.1.88 Filename '/tftpboot/sequoia/sequoia.dtb'.
Load address: 0x1000000
Loading: #
done
Bytes transferred = 12288 (3000 hex)
=> run nfsargs addip addtty
=> printenv bootargs
bootargs=root=/dev/nfs rw nfsroot=172.25.1.3:/opt/eldk/ppc_4xxFP ip=172.25.1.88:172.25.1.3:::sequoia:eth0:off panic=1

console=ttyS0,115200

Quoted 3 lines

=> fdt addr 1000000
=> fdt chosen
=> fdt list

<...>

Quoted 1 line

=> fdt print

<...>

Quoted 5 lines

=> bootm 200000 - 1000000
## Booting image at 00200000 ...

   Image Name:   Linux-2.6.25-00002-ga9bf9f0
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1277003 Bytes =  1.2 MB
Quoted 7 lines

Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Booting using the fdt at 0x1000000
Loading Device Tree to 007fc000, end 007fefff ... OK
Using Sequoia machine description

<...>

Thats it. Now you should boot into your shiny new Linux kernel. Attached is a gzipped output of my startup (for the curious).

Once my kernel started I used the following commands to update my u-boot environment:

Quoted 1 line

setenv ftd_get 'tftp 200000 ${bootfile};tftp 1000000

sequoia/sequoia.dtb;fdt addr 1000000;'

Quoted 1 line

setenv net_nfs 'run ftd_get nfsargs addip addtty; fdt chosen;bootm 200000

- 1000000'

Quoted 1 line

saveenv

Best regards

Niklaus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sequoia.log.gz
Type: application/x-gzip
Size: 5179 bytes
Desc: not available

------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

------------------------------

_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

End of U-Boot-Users Digest, Vol 24, Issue 99
********************************************

Signature · 4 lines
.: Cablelinux.info :.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080515/d81a6cb2/attachment.htm 
#2 lore raw
Quoted 2 lines · In message <[email protected]> you…

Problem with ibm ppc 405 processor.

Really? Unbelievable. Working like a charm here.

Quoted 1 line

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 chips...

Quoted 10 lines
Quoted 10 lines

Send U-Boot-Users mailing list submissions to
u-boot-users at lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/u-boot-users
or, via email, send a message with subject or body 'help' to
u-boot-users-request at lists.sourceforge.net

You can reach the person managing the list at
u-boot-users-owner at lists.sourceforge.net

I see.

Quoted 2 lines
Quoted 2 lines

When replying, please edit your Subject line so it is more specific than "Re: Contents of U-Boot-Users digest..."

Can you read???

If so, why don't you do?

Quoted 1 line
Quoted 1 line

Today's Topics:

I recommend you to read this, now:

http://www.catb.org/%7eesr/faqs/smart-questions.html
http://www.netmeister.org/news/learn2quote.html

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I'm what passes for a Unix guru in my office. This is  a  frightening
concept. - Lee Ann Goldstein, in <[email protected]>