* [U-Boot-Users] [GIT PULL] Add support for the mpc832xemds board
@ 2006-12-14 22:54 Kim Phillips
2006-12-14 23:18 ` Joakim Tjernlund
0 siblings, 1 reply; 8+ messages in thread
From: Kim Phillips @ 2006-12-14 22:54 UTC (permalink / raw)
To: u-boot
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.
^ permalink raw reply [flat|nested] 8+ messages in thread* [U-Boot-Users] [GIT PULL] Add support for the mpc832xemds board
2006-12-14 22:54 [U-Boot-Users] [GIT PULL] Add support for the mpc832xemds board Kim Phillips
@ 2006-12-14 23:18 ` Joakim Tjernlund
2006-12-15 16:27 ` Joakim Tjernlund
0 siblings, 1 reply; 8+ messages in thread
From: Joakim Tjernlund @ 2006-12-14 23:18 UTC (permalink / raw)
To: u-boot
> -----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,
>
> 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] [GIT PULL] Add support for the mpc832xemds board
2006-12-14 23:18 ` Joakim Tjernlund
@ 2006-12-15 16:27 ` Joakim Tjernlund
2006-12-15 16:59 ` Timur Tabi
2006-12-15 19:11 ` Wolfgang Denk
0 siblings, 2 replies; 8+ messages in thread
From: Joakim Tjernlund @ 2006-12-15 16:27 UTC (permalink / raw)
To: u-boot
On Fri, 2006-12-15 at 00:18 +0100, Joakim Tjernlund wrote:
> > -----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,
> >
> > 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
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] [GIT PULL] Add support for the mpc832xemds board
2006-12-15 16:27 ` Joakim Tjernlund
@ 2006-12-15 16:59 ` Timur Tabi
2006-12-15 19:11 ` Wolfgang Denk
1 sibling, 0 replies; 8+ messages in thread
From: Timur Tabi @ 2006-12-15 16:59 UTC (permalink / raw)
To: u-boot
Joakim Tjernlund wrote:
> 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?
--
Timur Tabi
Linux Kernel Developer @ Freescale
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] [GIT PULL] Add support for the mpc832xemds board
2006-12-15 16:27 ` Joakim Tjernlund
2006-12-15 16:59 ` Timur Tabi
@ 2006-12-15 19:11 ` Wolfgang Denk
1 sibling, 0 replies; 8+ messages in thread
From: Wolfgang Denk @ 2006-12-15 19:11 UTC (permalink / raw)
To: u-boot
In message <1166200049.30422.92.camel@gentoo-jocke.transmode.se> 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
--
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."
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] [GIT PULL] Add support for the mpc832xemds board
@ 2006-12-15 17:13 Joakim Tjernlund
2006-12-15 17:31 ` Ben Warren
0 siblings, 1 reply; 8+ messages in thread
From: Joakim Tjernlund @ 2006-12-15 17:13 UTC (permalink / raw)
To: u-boot
> -----Original Message-----
> From: Timur Tabi [mailto:timur at freescale.com]
> Sent: 15 December 2006 17:59
> To: Joakim Tjernlund
> Cc: 'Kim Phillips'; u-boot-users at lists.sourceforge.net
> Subject: Re: [U-Boot-Users] [GIT PULL] Add support for the
> mpc832xemds board
>
> Joakim Tjernlund wrote:
>
> > 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?
That would be great, but I havn't seen/can't find one.
Jocke
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] [GIT PULL] Add support for the mpc832xemds board
2006-12-15 17:13 Joakim Tjernlund
@ 2006-12-15 17:31 ` Ben Warren
0 siblings, 0 replies; 8+ messages in thread
From: Ben Warren @ 2006-12-15 17:31 UTC (permalink / raw)
To: u-boot
On Fri, 2006-12-15 at 18:13 +0100, Joakim Tjernlund wrote:
> > -----Original Message-----
> > From: Timur Tabi [mailto:timur at freescale.com]
> > Sent: 15 December 2006 17:59
> > To: Joakim Tjernlund
> > Cc: 'Kim Phillips'; u-boot-users at lists.sourceforge.net
> > Subject: Re: [U-Boot-Users] [GIT PULL] Add support for the
> > mpc832xemds board
> >
> > Joakim Tjernlund wrote:
> >
> > > 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?
>
> That would be great, but I havn't seen/can't find one.
>
> Jocke
I'm pretty sure the generic phy was to allow the use of generic real
PHYs instead of having to add a new entry for each one. Since the PHY
page/register layout is IEEE-specified, this *should* work for any old
10/100 PHY out there. I think what Joakim is asking for (and I'm in the
same boat) is to have a 'fake' PHY so when we connect the TSEC to a
switch that doesn't implement MDIO, a happy response is returned during
driver initialization. Correct me if I'm wrong here...
regards,
Ben
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] [GIT PULL] Add support for the mpc832xemds board
@ 2006-12-15 17:43 Joakim Tjernlund
0 siblings, 0 replies; 8+ messages in thread
From: Joakim Tjernlund @ 2006-12-15 17:43 UTC (permalink / raw)
To: u-boot
>
> On Fri, 2006-12-15 at 18:13 +0100, Joakim Tjernlund wrote:
> > > -----Original Message-----
> > > From: Timur Tabi [mailto:timur at freescale.com]
> > > Sent: 15 December 2006 17:59
> > > To: Joakim Tjernlund
> > > Cc: 'Kim Phillips'; u-boot-users at lists.sourceforge.net
> > > Subject: Re: [U-Boot-Users] [GIT PULL] Add support for the
> > > mpc832xemds board
> > >
> > > Joakim Tjernlund wrote:
> > >
> > > > 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?
> >
> > That would be great, but I havn't seen/can't find one.
> >
> > Jocke
>
> I'm pretty sure the generic phy was to allow the use of generic real
> PHYs instead of having to add a new entry for each one. Since the PHY
> page/register layout is IEEE-specified, this *should* work for any old
> 10/100 PHY out there. I think what Joakim is asking for (and
> I'm in the
> same boat) is to have a 'fake' PHY so when we connect the TSEC to a
> switch that doesn't implement MDIO, a happy response is
> returned during
> driver initialization. Correct me if I'm wrong here...
You are right, this is what I need too.
Jocke
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-12-15 19:11 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-14 22:54 [U-Boot-Users] [GIT PULL] Add support for the mpc832xemds board Kim Phillips
2006-12-14 23:18 ` Joakim Tjernlund
2006-12-15 16:27 ` Joakim Tjernlund
2006-12-15 16:59 ` Timur Tabi
2006-12-15 19:11 ` Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2006-12-15 17:13 Joakim Tjernlund
2006-12-15 17:31 ` Ben Warren
2006-12-15 17:43 Joakim Tjernlund
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.