xref: /rk3399_rockchip-uboot/board/freescale/mpc837xerdb/README (revision 702e6014f15b307f144fa03ecaf83a8446c6802a)
1*702e6014SWolfgang DenkFreescale MPC837xE-RDB Board
2*702e6014SWolfgang Denk-----------------------------------------
3*702e6014SWolfgang Denk
4*702e6014SWolfgang Denk1.	Board Description
5*702e6014SWolfgang Denk
6*702e6014SWolfgang Denk	The MPC837xE-RDB are reference boards featuring the Freescale MPC8377E,
7*702e6014SWolfgang Denk	MPC8378E, and the MPC8379E processors in a Mini-ITX form factor.
8*702e6014SWolfgang Denk
9*702e6014SWolfgang Denk	The MPC837xE-RDB's have the following common features:
10*702e6014SWolfgang Denk
11*702e6014SWolfgang Denk	A) 256-MBytes on-board DDR2 unbuffered SDRAM
12*702e6014SWolfgang Denk	B) 8-Mbytes NOR Flash
13*702e6014SWolfgang Denk	C) 32-MBytes NAND Flash
14*702e6014SWolfgang Denk	D) 1 Secure Digital High Speed Card (SDHC) Interface
15*702e6014SWolfgang Denk	E) 1 Gigabit Ethernet
16*702e6014SWolfgang Denk	F) 5-port Ethernet switch (Vitesse 7385)
17*702e6014SWolfgang Denk	G) 1 32-bit, 3.3 V, PCI slot
18*702e6014SWolfgang Denk	H) 1 32-bit, 3.3 V, Mini-PCI slot
19*702e6014SWolfgang Denk	I) 4-port USB 2.0 Hub
20*702e6014SWolfgang Denk	J) 1-port OTG USB
21*702e6014SWolfgang Denk	K) 2 serial ports (top main console)
22*702e6014SWolfgang Denk	L) on board Oscillator: 66M
23*702e6014SWolfgang Denk
24*702e6014SWolfgang Denk	The MPC837xE-RDB's have the following differences:
25*702e6014SWolfgang Denk
26*702e6014SWolfgang Denk			    MPC8377E-RDB    MPC8378E-RDB    MPC8379E-RDB
27*702e6014SWolfgang Denk	SATA controllers	2		0		4
28*702e6014SWolfgang Denk	PCI-Express (mini)	2		2		0
29*702e6014SWolfgang Denk	SGMII Ports		0		2		0
30*702e6014SWolfgang Denk
31*702e6014SWolfgang Denk
32*702e6014SWolfgang Denk2.	Memory Map
33*702e6014SWolfgang Denk
34*702e6014SWolfgang Denk2.1.	The memory map should look pretty much like this:
35*702e6014SWolfgang Denk
36*702e6014SWolfgang Denk	Address Range			Device			Size		Port Size
37*702e6014SWolfgang Denk								(Bytes)		(Bits)
38*702e6014SWolfgang Denk	===========================	=================	=======		=========
39*702e6014SWolfgang Denk	0x0000_0000	0x0fff_ffff	DDR			256M		64
40*702e6014SWolfgang Denk	0x1000_0000	0x7fff_ffff	Empty			1.75G		-
41*702e6014SWolfgang Denk	0x8000_0000	0x8fff_ffff	PCI MEM prefetch	256M		32
42*702e6014SWolfgang Denk	0x9000_0000	0x9fff_ffff	PCI MEM non-prefetch	256M		32
43*702e6014SWolfgang Denk	0xe030_0000	0xe03f_ffff	PCI I/O space		1M		32
44*702e6014SWolfgang Denk	0xe000_0000	0xe00f_ffff	Int Mem Reg Space	1M		-
45*702e6014SWolfgang Denk	0xe060_0000	0xe060_7fff	NAND Flash		32K		8
46*702e6014SWolfgang Denk	0xfe00_0000	0xfe7f_ffff	NOR Flash on CS0	8M		16
47*702e6014SWolfgang Denk
48*702e6014SWolfgang Denk
49*702e6014SWolfgang Denk3. Definitions
50*702e6014SWolfgang Denk
51*702e6014SWolfgang Denk3.1 Explanation of NEW definitions in:
52*702e6014SWolfgang Denk
53*702e6014SWolfgang Denk	include/configs/MPC837XERDB.h
54*702e6014SWolfgang Denk
55*702e6014SWolfgang Denk    CONFIG_MPC83xx	    MPC83xx family for both MPC8349 and MPC8360
56*702e6014SWolfgang Denk    CONFIG_MPC837x	    MPC837x specific
57*702e6014SWolfgang Denk    CONFIG_MPC837XERDB	    MPC837xE-RDB board specific
58*702e6014SWolfgang Denk
59*702e6014SWolfgang Denk
60*702e6014SWolfgang Denk4. Compilation
61*702e6014SWolfgang Denk
62*702e6014SWolfgang Denk	Assuming you're using BASH shell:
63*702e6014SWolfgang Denk
64*702e6014SWolfgang Denk		export CROSS_COMPILE=your-cross-compile-prefix
65*702e6014SWolfgang Denk		cd u-boot
66*702e6014SWolfgang Denk		make distclean
67*702e6014SWolfgang Denk		make MPC837XERDB_config
68*702e6014SWolfgang Denk		make
69*702e6014SWolfgang Denk
70*702e6014SWolfgang Denk
71*702e6014SWolfgang Denk5. Downloading and Flashing Images
72*702e6014SWolfgang Denk
73*702e6014SWolfgang Denk5.0 Download over serial line using Kermit:
74*702e6014SWolfgang Denk
75*702e6014SWolfgang Denk	loadb $loadaddr
76*702e6014SWolfgang Denk	[Drop to kermit:
77*702e6014SWolfgang Denk	    ^\c
78*702e6014SWolfgang Denk	    send <u-boot-bin-image>
79*702e6014SWolfgang Denk	    c
80*702e6014SWolfgang Denk	]
81*702e6014SWolfgang Denk
82*702e6014SWolfgang Denk
83*702e6014SWolfgang Denk	Or via tftp:
84*702e6014SWolfgang Denk
85*702e6014SWolfgang Denk	tftp $loadaddr u-boot.bin
86*702e6014SWolfgang Denk
87*702e6014SWolfgang Denk5.1 Reflash U-boot Image using U-boot
88*702e6014SWolfgang Denk
89*702e6014SWolfgang Denk	tftp $loadaddr u-boot.bin
90*702e6014SWolfgang Denk	protect off fe000000 fe0fffff
91*702e6014SWolfgang Denk	erase fe000000 fe0fffff
92*702e6014SWolfgang Denk	cp.b $loadaddr fe000000 $filesize
93*702e6014SWolfgang Denk
94*702e6014SWolfgang Denk
95*702e6014SWolfgang Denk6. Additional Notes:
96*702e6014SWolfgang Denk	1) The console is connected to the top RS-232 connector and the
97*702e6014SWolfgang Denk	   baudrate for MPC837XE-RDB is 115200bps.
98