Skip to contentSkip to conversation

Add support for the mpc832xemds board

GIT PULL Kim Phillips 4 participants 5 messages Dec 14, 2006 – Dec 15, 2006

lore
Share & tools
lore
#0 lore raw

Wolfgang,

Please pull the following changes that add MPC832xEMDS board support:

Dave Liu (4):
Fix the UEC driver bug of QE
streamline the 83xx immr head file
Add support for the MPC832XEMDS board
Add the MPC832XEMDS board readme

They are found in the git repository at:

http://opensource.freescale.com/pub/scm/u-boot-83xx.git mpc83xx

 Makefile                        |   24 +
 board/mpc832xemds/Makefile      |   50 +
 board/mpc832xemds/config.mk     |   28 +
 board/mpc832xemds/mpc832xemds.c |  176 ++++
 board/mpc832xemds/pci.c         |  313 +++++++
 board/mpc832xemds/u-boot.lds    |  123 +++
 board/tqm834x/tqm834x.c         |    4 +-
 cpu/mpc83xx/cpu.c               |   16 +
 cpu/mpc83xx/cpu_init.c          |   13 +-
 cpu/mpc83xx/qe_io.c             |    2 +-
 cpu/mpc83xx/speed.c             |   53 +-
 doc/README.mpc832xemds          |  124 +++
 drivers/qe/qe.h                 |    2 +-
 drivers/qe/uec.c                |   25 +-
 include/asm-ppc/e300.h          |    5 +
 include/asm-ppc/immap_83xx.h    | 1958 ++++++---------------------------------
 include/asm-ppc/immap_qe.h      |    6 +
 include/configs/MPC832XEMDS.h   |  629 +++++++++++++
 include/mpc83xx.h               | 1280 ++++++++++++++++++--------
 19 files changed, 2735 insertions(+), 2096 deletions(-)
 create mode 100644 board/mpc832xemds/Makefile
 create mode 100644 board/mpc832xemds/config.mk
 create mode 100644 board/mpc832xemds/mpc832xemds.c
 create mode 100644 board/mpc832xemds/pci.c
 create mode 100644 board/mpc832xemds/u-boot.lds
 create mode 100644 doc/README.mpc832xemds
 create mode 100644 include/configs/MPC832XEMDS.h

Thanks, Kim

p.s. please consider somehow raising the 40KB post limit so that we may post patches such as these to the list for easier review by all.

p.p.s. please advise whether the u-boot patches mailing list is working for you or not, and whether patches should continue to be submitted there.

#1 lore raw
Quoted 12 lines

-----Original Message-----
From: u-boot-users-bounces at lists.sourceforge.net [mailto:u-boot-users-bounces at lists.sourceforge.net] On Behalf Of Kim Phillips
Sent: den 14 december 2006 23:54
To: u-boot-users at lists.sourceforge.net
Cc: Wolfgang Denk
Subject: [U-Boot-Users] [GIT PULL] Add support for the mpc832xemds board

Wolfgang,

Quoted 7 lines

Please pull the following changes that add MPC832xEMDS board support:

Dave Liu (4):
Fix the UEC driver bug of QE
streamline the 83xx immr head file
Add support for the MPC832XEMDS board
Add the MPC832XEMDS board readme

Great, please pull soon

Jocke

#2 lore raw
Quoted 20 lines · Joakim Tjernlund
Quoted 12 lines

-----Original Message-----
From: u-boot-users-bounces at lists.sourceforge.net [mailto:u-boot-users-bounces at lists.sourceforge.net] On Behalf Of Kim Phillips
Sent: den 14 december 2006 23:54
To: u-boot-users at lists.sourceforge.net
Cc: Wolfgang Denk
Subject: [U-Boot-Users] [GIT PULL] Add support for the mpc832xemds board

Wolfgang,

Quoted 7 lines

Please pull the following changes that add MPC832xEMDS board support:

Dave Liu (4):
Fix the UEC driver bug of QE
streamline the 83xx immr head file
Add support for the MPC832XEMDS board
Add the MPC832XEMDS board readme

Quoted 3 lines

Great, please pull soon

Jocke

Hi agin

Did a quick port to my custom board and I am impressed. I didn't have to change anything outside my own board port files, great work.

a few snags though:

I can't boot my of kernel, it just hangs after Uncompressing Kernel Image ... OK Any changes w.r.t OF I need to adjust? I use a compiled in dts.

Also, I get this when u-boot start:
Net: read wrong value : mii_id 3,mii_reg 2, base e0102320
read wrong value : mii_id 3,mii_reg 3, base e0102320
UEC: PHY is Generic MII (ffffffff)
read wrong value : mii_id 3,mii_reg 1, base e0102320 read wrong value : mii_id 3,mii_reg 1, base e0102320 read wrong value : mii_id 3,mii_reg 5, base e0102320 FSL UEC0: Full Duplex
FSL UEC0: Speed 100BT
FSL UEC0: Link is up
read wrong value : mii_id 4,mii_reg 2, base e0103320 read wrong value : mii_id 4,mii_reg 3, base e0103320
UEC: PHY is Generic MII (ffffffff)
read wrong value : mii_id 4,mii_reg 1, base e0103320 read wrong value : mii_id 4,mii_reg 1, base e0103320 read wrong value : mii_id 4,mii_reg 5, base e0103320 FSL UEC1: Full Duplex
FSL UEC1: Speed 100BT
FSL UEC1: Link is up
FSL UEC0, FSL UEC1

1) I don't think eth should start until you actually USE it.
2) The above sequnce takes about 10 seconds to complete.
3) Since I don't have a real PHY(MII to MII) I get these annoying printouts (read wrong value ...). Can't you loose them somehow? Some sort of pretend PHY that always returns OK?

4) I still need the "version info in text segment" in start.S

Jocke

#3 lore raw
Quoted 3 lines · Joakim Tjernlund

3) Since I don't have a real PHY(MII to MII) I get these annoying printouts (read wrong value ...). Can't you loose them somehow? Some sort of pretend PHY that always returns OK?

Wasn't there a "generic PHY" patch posted some time ago that might fix this?

Signature · 2 lines
Timur Tabi
Linux Kernel Developer @ Freescale
#4 lore raw
In reply to Joakim Tjernlund
Quoted 2 lines · In message <[email protected]> you wrote:

1) I don't think eth should start until you actually USE it.

Indeed. It's a requirement that Ethernet must NOT be initialized if U-Boot does not use it (and then only the port(s) that are actually used by U-Boot).

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Who is the oldest inhabitant of this village?"
"We haven't got one; we had one, but he died three weeks ago."