Skip to contentSkip to conversation

add support for sbc8349, MPC832XEMDS, MPC8349EA, MPC8360EA, and various bugfixes

GIT PULL Kim Phillips 3 participants 10 messages Mar 2, 2007 – Mar 8, 2007

lore
Share & tools
lore
#0 lore raw

Wolfgang,

please pull:

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

to get the following commits.

Thanks, Kim

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

Emilian Medve (1):
mpc83xx: Fix alternating tx error / tx buffer not ready bug in QE UEC

Jerry Van Baren (1):
mpc83xx: Put the version (and magic) after the HRCW.

Joakim Tjernlund (1):
mpc83xx: Fix empty i2c reads/writes in fsl_i2c.c

Kim Phillips (9):
mpc83xx: sort Makefile targets
mpc83xx: add MPC832XEMDS and sbc8349 to MAKEALL
mpc83xx: make 8360 default environment fdt be 8360 (not 8349)
mpc83xx: protect memcpy to bad address if a local-mac-address is missing from dt
mpc83xx: don't hang if watchdog configured on 8360, 832x
mpc83xx: Disable G1TXCLK, G2TXCLK h/w buffers
mpc83xx: add command line editing by default
mpc83xx: update [local-]mac-address properties on UEC based devices
mpc83xx: fix implicit declaration of function 'ft_get_prop' warnings

Kumar Gala (2):
mpc83xx: Replace CONFIG_MPC8349 and use CONFIG_MPC834X instead
mpc83xx: Fix config of Arbiter, System Priority, and Clock Mode

Paul Gortmaker (1):
mpc83xx: U-Boot support for Wind River SBC8349

Sam Song (1):
mpc83xx: Remove a redundant semicolon in mpc8349itx.c

Timur Tabi (3):
mpc83xx: Delete sdram_init() for MPC8349E-mITX
mpc83xx: Add support for the MPC8349E-mITX-GP
mpc83xx: write MAC address to mac-address and local-mac-address

Xie Xiaobo (3):
mpc83xx: Add the cpu and board specific code for MPC8349E rev3.1 MDS
mpc83xx: Add the cpu specific code for MPC8360E rev2.0 MDS
mpc83xx: Add DDR2 controller fixed/SPD Init for MPC83xx

 CREDITS                         |    4 +
 MAINTAINERS                     |    1 +
 MAKEALL                         |    3 +-
 Makefile                        |   47 +-
 board/mpc832xemds/Makefile      |   50 +
 board/mpc832xemds/config.mk     |   28 +
 board/mpc832xemds/mpc832xemds.c |  176 ++++
 board/mpc832xemds/pci.c         |  316 +++++++
 board/mpc832xemds/u-boot.lds    |  123 +++
 board/mpc8349emds/mpc8349emds.c |   17 +-
 board/mpc8349itx/config.mk      |    6 +-
 board/mpc8349itx/mpc8349itx.c   |  112 +--
 board/mpc8360emds/mpc8360emds.c |   24 +-
 board/mpc8360emds/pci.c         |    3 +
 board/sbc8349/Makefile          |   49 +
 board/sbc8349/config.mk         |   27 +
 board/sbc8349/pci.c             |  348 +++++++
 board/sbc8349/sbc8349.c         |  585 ++++++++++++
 board/sbc8349/u-boot.lds        |  125 +++
 board/tqm834x/tqm834x.c         |    4 +-
 cpu/mpc83xx/cpu.c               |   91 ++-
 cpu/mpc83xx/cpu_init.c          |   47 +-
 cpu/mpc83xx/qe_io.c             |    2 +-
 cpu/mpc83xx/spd_sdram.c         |  388 +++++++--
 cpu/mpc83xx/speed.c             |   61 +-
 cpu/mpc83xx/start.S             |   28 +-
 doc/README.mpc832xemds          |  129 +++
 doc/README.mpc8349itx           |  187 ++++
 doc/README.sbc8349              |   99 ++
 drivers/fsl_i2c.c               |   27 +-
 drivers/qe/qe.h                 |    2 +-
 drivers/qe/uec.c                |   27 +-
 drivers/tsec.c                  |   84 ++
 drivers/tsec.h                  |    5 +
 include/asm-ppc/e300.h          |    5 +
 include/asm-ppc/global_data.h   |    4 +-
 include/asm-ppc/immap_83xx.h    | 1958 ++++++---------------------------------
 include/asm-ppc/immap_qe.h      |    6 +
 include/configs/MPC832XEMDS.h   |  631 +++++++++++++
 include/configs/MPC8349EMDS.h   |   56 +-
 include/configs/MPC8349ITX.h    |  459 ++++------
 include/configs/MPC8360EMDS.h   |   43 +-
 include/configs/TQM834x.h       |   11 -
 include/configs/sbc8349.h       |  734 +++++++++++++++
 include/mpc83xx.h               | 1325 +++++++++++++++++++--------
 45 files changed, 5838 insertions(+), 2619 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 board/sbc8349/Makefile
 create mode 100644 board/sbc8349/config.mk
 create mode 100644 board/sbc8349/pci.c
 create mode 100644 board/sbc8349/sbc8349.c
 create mode 100644 board/sbc8349/u-boot.lds
 create mode 100644 doc/README.mpc832xemds
 create mode 100644 doc/README.mpc8349itx
 create mode 100644 doc/README.sbc8349
 create mode 100644 include/configs/MPC832XEMDS.h
 create mode 100644 include/configs/sbc8349.h
#1 lore raw

Dear Kim,

Quoted 6 lines · in message <[email protected]> you wrote:

please pull:

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

to get the following commits.

Can you please try to push into your repo on our server? I know that you have to do this from your home machine, and that I promised to set up automatic syncronisation, but we need your help to test the basic mechanism first.

Best regards,

Wolfgang Denk

Signature · 8 lines
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office:  Kirchenstr. 5,       D-82194 Groebenzell,            Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
That's their goal, remember, a goal that's really contrary to that of
the programmer or administrator. We just want to get our  jobs  done.
$Bill  just  wants  to  become  $$Bill. These aren't even marginallly
congruent.
         -- Tom Christiansen in <[email protected]>
#2 lore raw
Quoted 6 lines · On Sat, 03 Mar 2007 01:17:28 +0100 Wolfgang Denk <[email protected]> wrote:

Dear Kim,

Quoted 3 lines · in message <[email protected]> you wrote:

please pull:

Quoted 9 lines
Quoted 3 lines

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

to get the following commits.

Can you please try to push into your repo on our server? I know that you have to do this from your home machine, and that I promised to set up automatic syncronisation, but we need your help to test the basic mechanism first.

I tried and failed - I sent you another email on the subject.

I will push to your server once the access issues are resolved.

Kim

#3 lore raw
Quoted 7 lines · On Fri, 2 Mar 2007 18:57:17 -0600 Kim Phillips <[email protected]>…
Quoted 4 lines · On Sat, 03 Mar 2007 01:17:28 +0100 Wolfgang Denk <[email protected]> wrote:

Dear Kim,

Quoted 1 line · in message <[email protected]> you wrote:
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines

please pull:

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

to get the following commits.

Can you please try to push into your repo on our server?

Wolfgang,

I was going to ask you to pull from the mpc83xx tree on your server (I updated it), however, I seem to be having trouble doing so myself:

$ git pull http://www.denx.de/git/u-boot-mpc83xx.git
Cannot get the repository state from http://www.denx.de/git/u-boot-mpc83xx.git
$ 

I'm wondering whether the path has changed, or whether a

chmod +x u-boot-83xx.git/hooks/post-update

is in order?

Kim

#4 lore raw
Quoted 7 lines · In message <[email protected]> you wrote:

I was going to ask you to pull from the mpc83xx tree on your server (I updated it), however, I seem to be having trouble doing so myself:

$ git pull http://www.denx.de/git/u-boot-mpc83xx.git
Cannot get the repository state from http://www.denx.de/git/u-boot-mpc83xx.git

I'm wondering whether the path has changed, or whether a

That's probably a problem on our side; we changed the gitweb format to show the custodian trees as "forks"; see
http://www.denx.de/cgi-bin/gitweb.cgi and click at the "+" in front of the u-boot.git entry...

This must have broken HTTP access; we'll try to fix this ASAP.

In the meantime, please use git protocol, i. e. try

$ git pull git://www.denx.de/git/u-boot-mpc83xx.git

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office:  Kirchenstr. 5,       D-82194 Groebenzell,            Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Don't try to outweird me, three-eyes. I get stranger things than you
free with my breakfast cereal."
           - Zaphod Beeblebrox in  "Hitchhiker's Guide to the Galaxy"
#5 lore raw
In reply to Kim Phillips
Quoted 6 lines · In message <[email protected]> you wrote:

I was going to ask you to pull from the mpc83xx tree on your server (I updated it), however, I seem to be having trouble doing so myself:

$ git pull http://www.denx.de/git/u-boot-mpc83xx.git
Cannot get the repository state from http://www.denx.de/git/u-boot-mpc83xx.git
$ 

Should be working now. Please try again.

Thanks for the hint!

Best regards,

Wolfgang Denk

Signature · 8 lines
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office:  Kirchenstr. 5,       D-82194 Groebenzell,            Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The universe contains any amount of horrible ways  to  be  woken  up,
such as the noise of the mob breaking down the front door, the scream
of fire engines, or the realization that today is the Monday which on
Friday night was a comfortably long way off.
                                 - Terry Pratchett, _Moving Pictures_
#6 lore raw
Quoted 10 lines · On Thu, 08 Mar 2007 22:30:27 +0100 Wolfgang Denk <[email protected]> wrote:
Quoted 6 lines · In message <[email protected]> you wrote:

I was going to ask you to pull from the mpc83xx tree on your server (I updated it), however, I seem to be having trouble doing so myself:

$ git pull http://www.denx.de/git/u-boot-mpc83xx.git
Cannot get the repository state from http://www.denx.de/git/u-boot-mpc83xx.git
$ 

Should be working now. Please try again.

perfect.

Please pull

http://www.denx.de/git/u-boot-mpc83xx.git master

to receive the updates.

Thanks,

Kim

p.s. the thanks for the hint go to jdl.

#7 lore raw
Quoted 4 lines · In message <[email protected]> you wrote:

Please pull
http://www.denx.de/git/u-boot-mpc83xx.git master
to receive the updates.

Done, merged.

I tested it on a TQM8349 board nd confirm that it seems to be working fine.

Two requests:

U-Boot has become very noisy with these changes. I get:

U-Boot 1.2.0-geb92f613 (Mar 8 2007 - 22:53:28) MPC83XX

Clock configuration:
Coherent System Bus: 266 MHz
Core: 533 MHz
Local Bus Controller: 266 MHz
Local Bus: 33 MHz
DDR: 266 MHz
SEC: 88 MHz
I2C1: 88 MHz
I2C2: 266 MHz
TSEC1: 88 MHz
TSEC2: 88 MHz
USB MPH: 88 MHz
USB DR: 88 MHz
CPU: MPC8349E, Rev: 11 at 533.328 MHz
Board: TQM834x
PCI1: 32 bit, 0 MHz
I2C: ready
...

Sometimes it is interesting to see all the clock frequencies, but for normal operation I would prefer to see less output. Before we had this:

Clock configuration:
Coherent System Bus: 266 MHz
Core: 533 MHz
Local Bus: 33 MHz

I think this enough (or already too many lines) for standard use. Maybe you can omit the additional information and provide a new (83xx specific?) command "clocks" or so, which prints the full information if anybody really wants to see it?

More nitpicking: maybe we can align the "CPU:" and "Board:" lines, i. e. make it look like this:

	...
	CPU:   MPC8349E, Rev: 11 at 533.328 MHz
	Board: TQM834x
	...

Thanks in advance.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office:  Kirchenstr. 5,       D-82194 Groebenzell,            Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
When choosing between two evils, I always like to take the  one  I've
never tried before.                     -- Mae West, "Klondike Annie"
#8 lore raw
Quoted 7 lines · On Thu, 08 Mar 2007 23:04:43 +0100 Wolfgang Denk <[email protected]> wrote:
Quoted 4 lines · In message <[email protected]> you wrote:

Please pull
http://www.denx.de/git/u-boot-mpc83xx.git master
to receive the updates.

Done, merged.

thank you.

Quoted 5 lines

I tested it on a TQM8349 board nd confirm that it seems to be working fine.

Two requests:

they are valid requests, especially since Freescale seems to keep on adding devices, as are Stefan Roese's freescale board-common directory request, Dan Malek's comments on the reduction of CONFIG_MPC83XX_TSEC1 and friends to CONFIG_TSEC1, and the folding of the ft_ setup code in the cpu/mpc8* directories, general file replication elimination, etc. All of these are things that will be addressed in due course.

Kim

#9 lore raw
In reply to Wolfgang Denk
Quoted 2 lines · Wolfgang Denk

... command "clocks" or so, which prints the full information if anybody really wants to see it?

or an environment "info" variable? Could be
used to print out more verbose information on
various topics if set?

	-- Dan