blob: dbb15171e60fd4eab144ff787d1818bdfda9d4d6 [file] [log] [blame]
Dave Liuf8900ce2007-09-18 12:38:53 +08001Freescale MPC837xEMDS Board
2-----------------------------------------
31. Board Switches and Jumpers
Wolfgang Denk53677ef2008-05-20 16:00:29 +020041.0 There are four Dual-In-Line Packages(DIP) Switches on MPC837xEMDS board
Dave Liuf8900ce2007-09-18 12:38:53 +08005 For some reason, the HW designers describe the switch settings
6 in terms of 0 and 1, and then map that to physical switches where
7 the label "On" refers to logic 0 and "Off" is logic 1.
8
9 Switch bits are numbered 1 through, like, 4 6 8 or 10, but the
10 bits may contribute to signals that are numbered based at 0,
11 and some of those signals may be high-bit-number-0 too. Heed
12 well the names and labels and do not get confused.
13
14 "Off" == 1
15 "On" == 0
16
Thomas Weberc46bf092012-03-24 22:44:01 +000017 SW4[8] is the bit labeled 8 on Switch 4.
Dave Liuf8900ce2007-09-18 12:38:53 +080018 SW2[1:6] refers to bits labeled 1 through 6 in order on switch 2.
19 SW2[1:8]= 0000_0001 refers to bits labeled 1 through 7 is set as "On"
20 and bits labeled 8 is set as "Off".
21
221.1 For the MPC837xEMDS Processor Board
23
24 First, make sure the board default setting is consistent with the
25 document shipped with your board. Then apply the following setting:
26 SW3[1-8]= 0011_0000 (BOOTSEQ, ROMLOC setting)
27 SW4[1-8]= 0000_0110 (core PLL setting)
28 SW5[1-8]= 1001_1000 (system PLL, boot up from low end of flash)
29 SW6[1-8]= 0000_1000 (HRCW is read from NOR FLASH)
30 SW7[1-8]= 0110_1101 (TSEC1/2 interface setting - RGMII)
31 J3 2-3, TSEC1 LVDD1 with 2.5V
32 J6 2-3, TSEC2 LVDD2 with 2.5V
33 J9 2-3, CLKIN from osc on board
34 J10 removed, CS0 connect to NOR flash; when mounted, CS0 connect to NAND
35 J11 removed, Hardware Reset Configuration Word load from FLASH(NOR or NAND)
36 mounted, HRCW load from BCSR.
37
38 on board Oscillator: 66M
39
402. Memory Map
41
422.1. The memory map should look pretty much like this:
43
44 0x0000_0000 0x7fff_ffff DDR 2G
45 0x8000_0000 0x8fff_ffff PCI MEM prefetch 256M
46 0x9000_0000 0x9fff_ffff PCI MEM non-prefetch 256M
47 0xc000_0000 0xdfff_ffff Empty 512M
48 0xe000_0000 0xe00f_ffff Int Mem Reg Space 1M
49 0xe010_0000 0xe02f_ffff Empty 2M
50 0xe030_0000 0xe03f_ffff PCI IO 1M
51 0xe040_0000 0xe05f_ffff Empty 2M
Dave Liube5a7192008-04-15 13:12:23 +080052 0xe060_0000 0xe060_7fff NAND Flash 32K
Dave Liuf8900ce2007-09-18 12:38:53 +080053 0xf400_0000 0xf7ff_ffff Empty 64M
54 0xf800_0000 0xf800_7fff BCSR on CS1 32K
55 0xfe00_0000 0xffff_ffff NOR Flash on CS0 32M
56
573. Definitions
58
593.1 Explanation of NEW definitions in:
60
61 include/configs/MPC837XEMDS.h
62
Peter Tyser0f898602009-05-22 17:23:24 -050063 CONFIG_MPC83xx MPC83xx family for both MPC837x and MPC8360
Peter Tyser2c7920a2009-05-22 17:23:25 -050064 CONFIG_MPC837x MPC837x specific
Dave Liuf8900ce2007-09-18 12:38:53 +080065 CONFIG_MPC837XEMDS MPC837XEMDS board specific
66
674. Compilation
68
69 Assuming you're using BASH shell:
70
71 export CROSS_COMPILE=your-cross-compile-prefix
72 cd u-boot
73 make distclean
74 make MPC837XEMDS_config
75 make
76
775. Downloading and Flashing Images
78
795.0 Download over serial line using Kermit:
80
81 loadb
82 [Drop to kermit:
83 ^\c
84 send <u-boot-bin-image>
85 c
86 ]
87
88
89 Or via tftp:
90
91 tftp 40000 u-boot.bin
92
Bin Menga1875592016-02-05 19:30:11 -0800935.1 Reflash U-Boot Image using U-Boot
Dave Liuf8900ce2007-09-18 12:38:53 +080094
95 tftp 40000 u-boot.bin
96 protect off fe000000 fe1fffff
97 erase fe000000 fe1fffff
98
99 cp.b 40000 fe000000 xxxx
100
101You have to supply the correct byte count with 'xxxx' from the TFTP result log.
102
1036. Notes
104 1) The console baudrate for MPC837XEMDS is 115200bps.