xref: /openbmc/u-boot/doc/README.mpc83xxads (revision 9ee16897)
1Freescale MPC83xx ADS Boards
2-----------------------------------------
3
40. Toolchain / Building
5
6    $ PATH=$PATH:/usr/powerpc/bin
7    $ CROSS_COMPILE=powerpc-linux-
8    $ export PATH CROSS_COMPILE
9
10    $ powerpc-linux-gcc -v
11    Reading specs from /usr/powerpc/lib/gcc/powerpc-linux/3.4.3/specs
12    Configured with: ../configure --prefix=/usr/powerpc
13    --exec-prefix=/usr/powerpc --target=powerpc-linux --enable-shared
14    --disable-nls --disable-multilib --enable-languages=c,c++,ada,f77,objc
15    Thread model: posix
16    gcc version 3.4.3 (Debian)
17
18    $ powerpc-linux-as -v
19    GNU assembler version 2.15 (powerpc-linux) using BFD version 2.15
20
21
22    $ make MPC8349ADS_config
23    Configuring for MPC8349ADS board...
24
25    $ make
26
27
281. Board Switches and Jumpers
29
30
312. Memory Map
32
332.1. The memory map should look pretty much like this:
34
35     0x0000_0000     0x7fff_ffff     DDR		     2G
36     0x8000_0000     0x9fff_ffff     PCI MEM		     512M
37     0xc000_0000     0xdfff_ffff     Rapid IO		     512M
38     0xe000_0000     0xe00f_ffff     CCSR		     1M
39     0xe200_0000     0xe2ff_ffff     PCI IO		     16M
40     0xf000_0000     0xf7ff_ffff     SDRAM		     128M
41     0xf800_0000     0xf80f_ffff     BCSR		     1M
42     0xfe00_0000     0xffff_ffff     FLASH (boot bank)	     16M
43
44
453. Definitions
46
473.1 Explanation of NEW definitions in:
48
49	include/configs/MPC8349ADS.h
50
51    CONFIG_MPC83xx	    MPC83xx family
52    CONFIG_MPC8349	    MPC8349 specific
53    CONFIG_MPC8349ADS	    MPC8349ADS board specific
54    CONFIG_TSEC_ENET	    Use on-chip 10/100/1000 ethernet
55
56
574. Compilation
58
59    Assuming you're using BASH shell:
60
61	export CROSS_COMPILE=your-cross-compile-prefix
62	cd u-boot
63	make distclean
64	make MPC8349ADS_config
65	make
66
675. Downloading and Flashing Images
68
695.0 Download over serial line using Kermit:
70
71	loadb
72	[Drop to kermit:
73	    ^\c
74	    send <u-boot-bin-image>
75	    c
76	]
77
78
79    Or via tftp:
80
81	tftp 10000 u-boot.bin
82
835.1 Reflash U-boot Image using U-boot
84
85    tftp 10000 u-boot.bin
86    protect off fe000000 fe09ffff
87    erase fe000000 fe09ffff
88
89    cp.b 10000 fe000000 xxxx
90or
91    cp.b 10000 fe000000 a0000
92
93You might have to supply the correct byte count for 'xxxx' from
94the TFTP.  Maybe a0000 will work too, that corresponds to the
95erased sectors.
96
97
986. Notes
99