summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-07-09 23:27:13 +0000
committerwdenk <wdenk>2004-07-09 23:27:13 +0000
commit0ac6f8b7498d3608bd1de2280a014e9e23d7b1f2 (patch)
treede6ad6c1ee05c1ebcee774a2e8c772e7b2e57586 /doc
parent262381329b87511ed862cde139a3a1ff49e9d7eb (diff)
Patch by Jon Loeliger, 17 June 2004:
Completion of the 8540ADS/8560ADS updates: Fix some PCI and Rapid I/O memory maps, Initialize both TSEC 1 and 2, Initialize SDRAM Update MAINTAINER for 85xx boards and README.mpc85xxads
Diffstat (limited to 'doc')
-rw-r--r--doc/README.mpc85xxads106
1 files changed, 64 insertions, 42 deletions
diff --git a/doc/README.mpc85xxads b/doc/README.mpc85xxads
index c49b2a896b..1bbaa544bf 100644
--- a/doc/README.mpc85xxads
+++ b/doc/README.mpc85xxads
@@ -15,7 +15,7 @@ http://ftp.gnu.org/gnu/binutils.
shipped with your board. Then apply the following changes:
SW3[1-6]="all OFF" (boot from 32bit flash, no boot sequence is used)
SW10[2-6]="all OFF" (turn on CPM SCC for serial port,works for 8540/8560)
- SW11[2]='OFF for 8560, ON for 8540' (single switch to toggle 8540.8560 mode)
+ SW11[2]='OFF for 8560, ON for 8540' (toggle 8540.8560 mode)
SW11[7]='ON' (rev2), 'OFF' (rev1)
SW4[7-8]="OFF OFF" (enable serial ports,I'm using the top serial connector)
SW22[1-4]="OFF OFF ON OFF"
@@ -26,7 +26,8 @@ http://ftp.gnu.org/gnu/binutils.
have to change the system clock from the default 66Mhz to 33Mhz by
setting SW15[1]="OFF" and SW17[8]="OFF". After that you may also need
double your platform clock(SW6) because the system clock is now only
- half of its original value.
+ half of its original value. For example, if at 66MHz your system
+ clock showed SW6[0:1] = 01, then at 33MHz SW6[0:1] it should be 10.
1.3 SW6 is a very important switch, it decides your platform clock and CPU
clock based on the on-board system clock(default 66MHz). Check the
@@ -42,7 +43,7 @@ http://ftp.gnu.org/gnu/binutils.
0x0000_0000 0x7fff_ffff DDR 2G
0x8000_0000 0x9fff_ffff PCI MEM 512M
0xc000_0000 0xdfff_ffff Rapid IO 512M
- 0xe000_0000 0xe000_ffff CCSR 1M
+ 0xe000_0000 0xe00f_ffff CCSR 1M
0xe200_0000 0xe2ff_ffff PCI IO 16M
0xf000_0000 0xf7ff_ffff SDRAM 128M
0xf800_0000 0xf80f_ffff BCSR 1M
@@ -56,11 +57,12 @@ http://ftp.gnu.org/gnu/binutils.
arch/ppc/configs/mpc8540_ads_defconfig
arch/ppc/configs/mpc8560_ads_defconfig
-
3. DEFINITIONS AND COMPILATION
-3.1 Explanation on NEW definitions in include/configs/MPC8540ADS.h and include/
- configs/MPC8560ADS.h
+3.1 Explanation on NEW definitions in:
+ include/configs/MPC8540ADS.h
+ include/configs/MPC8560ADS.h
+
CONFIG_BOOKE BOOKE(e.g. Motorola MPC85xx, IBM 440, etc)
CONFIG_E500 BOOKE e500 family(Motorola)
CONFIG_MPC85xx MPC8540,MPC8560 and their derivatives
@@ -69,49 +71,63 @@ http://ftp.gnu.org/gnu/binutils.
CONFIG_MPC8540ADS MPC8540ADS board specific
CONFIG_MPC8560ADS MPC8560ADS board specific
CONFIG_TSEC_ENET Use on-chip 10/100/1000 ethernet for networking
- CONFIG_SPD_EEPROM Use SPD EEPROM for DDR auto configuration, you can also
- manual config the DDR after undef this definition.
+ CONFIG_SPD_EEPROM Use SPD EEPROM for DDR auto configuration, you can
+ also manual config the DDR after undef this
+ definition.
CONFIG_DDR_ECC only for ECC DDR module
- CONFIG_DDR_DLL DLL fix on some ADS boards needed for more stability.
- CONFIG_RAM_AS_FLASH after define this, you can load U-Boot into localbus
- SDRAM and treat localbus SDRAM as a flash. We use this
- memory based U-Boot before flash is working while Metrowerks
- and Windriver are still working on their flash/JTAG tools.
- if you can program the flash directly, undef this.
- Other than the above definitions, the rest in the config files are straightforward.
+ CONFIG_DDR_DLL DLL fix on some ADS boards needed for more
+ stability.
+ CONFIG_RAM_AS_FLASH after define this, you can load U-Boot into
+ localbus SDRAM and treat localbus SDRAM as a
+ flash. We use this memory based U-Boot
+ before flash is working while Metrowerks and
+ Windriver are still working on their
+ flash/JTAG tools. if you can program the
+ flash directly, undef this.
+
+Other than the above definitions, the rest in the config files are
+straightforward.
+
3.2 Compilation
- export CROSS_COMPILE=your-cross-compile-prefix(assuming you're using BASH shell)
- cd u-boot
- make distclean
- make MPC8560ADS_config (or make MPC8540ADS_config)
- make
+ Assuming you're using BASH shell:
+
+ export CROSS_COMPILE=your-cross-compile-prefix
+ cd u-boot
+ make distclean
+ make MPC8560ADS_config (or make MPC8540ADS_config)
+ make
4. Notes:
4.1 When connecting with kermit, the following commands must be present.in
- your .kermrc file. These are especially important when booting as
- MPC8560, as the serial console will not work without them:
-
-set speed 115200
-set carrier-watch off
-set handshake none
-set flow-control none
-robust
-
-4.2 Sometimes after U-Boot is up, the 'tftp' won't work well with TSEC ethernet. If that
- happens, you can try the following steps to make network work:
- MPC8560ADS>tftp 1000000 pImage
- (if it hangs, use Ctrl-C to quit)
- MPC8560ADS>nm fdf24524
- >0
- >1
- >. (to quit this memory operation)
- MPC8560ADS>tftp 1000000 pImage
-
-4.3 If you're one of the early developers using the Rev1 8540/8560 chips, please use U-Boot
- 1.0.0, as the newer silicon will only support Rev2 and future revisions of 8540/8560.
+ your .kermrc file. These are especially important when booting as
+ MPC8560, as the serial console will not work without them:
+
+ set speed 115200
+ set carrier-watch off
+ set handshake none
+ set flow-control none
+ robust
+
+
+4.2 Sometimes after U-Boot is up, the 'tftp' won't work well with TSEC
+ ethernet. If that happens, you can try the following steps to make
+ network work:
+
+ MPC8560ADS>tftp 1000000 pImage
+ (if it hangs, use Ctrl-C to quit)
+ MPC8560ADS>nm fdf24524
+ >0
+ >1
+ >. (to quit this memory operation)
+ MPC8560ADS>tftp 1000000 pImage
+
+4.3 If you're one of the early developers using the Rev1 8540/8560 chips,
+ please use U-Boot 1.0.0, as the newer silicon will only support Rev2
+ and future revisions of 8540/8560.
+
4.4 Reflash U-boot Image using U-boot
@@ -121,8 +137,14 @@ robust
=> cp.b 0 fff80000 80000
-5. Screen dump:
+4.5 Reflash U-Boot with a BDI-2000
+ BDI> erase 0xFFF80000 0x2000 0x40
+ BDI> prog 0xfff80000 u-boot.bin.8560ads
+ BDI> verify
+
+
+5. Screen dump:
5.1 MPC8540ADS board
U-Boot 1.0.0-pre (Oct 15 2003 - 13:40:33)