xref: /openbmc/u-boot/board/freescale/mpc837xerdb/README (revision 57dc53a72460e8e301fa1cc7951b41db8e731485)
1702e6014SWolfgang DenkFreescale MPC837xE-RDB Board
2702e6014SWolfgang Denk-----------------------------------------
3702e6014SWolfgang Denk
4702e6014SWolfgang Denk1.	Board Description
5702e6014SWolfgang Denk
6702e6014SWolfgang Denk	The MPC837xE-RDB are reference boards featuring the Freescale MPC8377E,
7702e6014SWolfgang Denk	MPC8378E, and the MPC8379E processors in a Mini-ITX form factor.
8702e6014SWolfgang Denk
9702e6014SWolfgang Denk	The MPC837xE-RDB's have the following common features:
10702e6014SWolfgang Denk
11702e6014SWolfgang Denk	A) 256-MBytes on-board DDR2 unbuffered SDRAM
12702e6014SWolfgang Denk	B) 8-Mbytes NOR Flash
13702e6014SWolfgang Denk	C) 32-MBytes NAND Flash
14702e6014SWolfgang Denk	D) 1 Secure Digital High Speed Card (SDHC) Interface
15702e6014SWolfgang Denk	E) 1 Gigabit Ethernet
16702e6014SWolfgang Denk	F) 5-port Ethernet switch (Vitesse 7385)
17702e6014SWolfgang Denk	G) 1 32-bit, 3.3 V, PCI slot
18702e6014SWolfgang Denk	H) 1 32-bit, 3.3 V, Mini-PCI slot
19702e6014SWolfgang Denk	I) 4-port USB 2.0 Hub
20702e6014SWolfgang Denk	J) 1-port OTG USB
21702e6014SWolfgang Denk	K) 2 serial ports (top main console)
22702e6014SWolfgang Denk	L) on board Oscillator: 66M
23702e6014SWolfgang Denk
24702e6014SWolfgang Denk	The MPC837xE-RDB's have the following differences:
25702e6014SWolfgang Denk
26702e6014SWolfgang Denk			    MPC8377E-RDB    MPC8378E-RDB    MPC8379E-RDB
27702e6014SWolfgang Denk	SATA controllers	2		0		4
28702e6014SWolfgang Denk	PCI-Express (mini)	2		2		0
29702e6014SWolfgang Denk	SGMII Ports		0		2		0
30702e6014SWolfgang Denk
31702e6014SWolfgang Denk
32702e6014SWolfgang Denk2.	Memory Map
33702e6014SWolfgang Denk
34702e6014SWolfgang Denk2.1.	The memory map should look pretty much like this:
35702e6014SWolfgang Denk
36702e6014SWolfgang Denk	Address Range			Device			Size		Port Size
37702e6014SWolfgang Denk								(Bytes)		(Bits)
38702e6014SWolfgang Denk	===========================	=================	=======		=========
39702e6014SWolfgang Denk	0x0000_0000	0x0fff_ffff	DDR			256M		64
40702e6014SWolfgang Denk	0x1000_0000	0x7fff_ffff	Empty			1.75G		-
41702e6014SWolfgang Denk	0x8000_0000	0x8fff_ffff	PCI MEM prefetch	256M		32
42702e6014SWolfgang Denk	0x9000_0000	0x9fff_ffff	PCI MEM non-prefetch	256M		32
43702e6014SWolfgang Denk	0xe030_0000	0xe03f_ffff	PCI I/O space		1M		32
44702e6014SWolfgang Denk	0xe000_0000	0xe00f_ffff	Int Mem Reg Space	1M		-
45702e6014SWolfgang Denk	0xe060_0000	0xe060_7fff	NAND Flash		32K		8
46702e6014SWolfgang Denk	0xfe00_0000	0xfe7f_ffff	NOR Flash on CS0	8M		16
47702e6014SWolfgang Denk
48702e6014SWolfgang Denk
49702e6014SWolfgang Denk3. Definitions
50702e6014SWolfgang Denk
51702e6014SWolfgang Denk3.1 Explanation of NEW definitions in:
52702e6014SWolfgang Denk
53702e6014SWolfgang Denk	include/configs/MPC837XERDB.h
54702e6014SWolfgang Denk
55702e6014SWolfgang Denk    CONFIG_MPC83xx	    MPC83xx family for both MPC8349 and MPC8360
56702e6014SWolfgang Denk    CONFIG_MPC837x	    MPC837x specific
57702e6014SWolfgang Denk    CONFIG_MPC837XERDB	    MPC837xE-RDB board specific
58702e6014SWolfgang Denk
59702e6014SWolfgang Denk
60702e6014SWolfgang Denk4. Compilation
61702e6014SWolfgang Denk
62702e6014SWolfgang Denk	Assuming you're using BASH shell:
63702e6014SWolfgang Denk
64702e6014SWolfgang Denk		export CROSS_COMPILE=your-cross-compile-prefix
65702e6014SWolfgang Denk		cd u-boot
66702e6014SWolfgang Denk		make distclean
67702e6014SWolfgang Denk		make MPC837XERDB_config
68702e6014SWolfgang Denk		make
69702e6014SWolfgang Denk
70702e6014SWolfgang Denk
71702e6014SWolfgang Denk5. Downloading and Flashing Images
72702e6014SWolfgang Denk
73702e6014SWolfgang Denk5.0 Download over serial line using Kermit:
74702e6014SWolfgang Denk
75702e6014SWolfgang Denk	loadb $loadaddr
76702e6014SWolfgang Denk	[Drop to kermit:
77702e6014SWolfgang Denk	    ^\c
78702e6014SWolfgang Denk	    send <u-boot-bin-image>
79702e6014SWolfgang Denk	    c
80702e6014SWolfgang Denk	]
81702e6014SWolfgang Denk
82702e6014SWolfgang Denk
83702e6014SWolfgang Denk	Or via tftp:
84702e6014SWolfgang Denk
85702e6014SWolfgang Denk	tftp $loadaddr u-boot.bin
86702e6014SWolfgang Denk
87*a187559eSBin Meng5.1 Reflash U-Boot Image using U-Boot
88702e6014SWolfgang Denk
89702e6014SWolfgang Denk	tftp $loadaddr u-boot.bin
90702e6014SWolfgang Denk	protect off fe000000 fe0fffff
91702e6014SWolfgang Denk	erase fe000000 fe0fffff
92702e6014SWolfgang Denk	cp.b $loadaddr fe000000 $filesize
93702e6014SWolfgang Denk
94702e6014SWolfgang Denk
95702e6014SWolfgang Denk6. Additional Notes:
96702e6014SWolfgang Denk	1) The console is connected to the top RS-232 connector and the
97702e6014SWolfgang Denk	   baudrate for MPC837XE-RDB is 115200bps.
98