xref: /openbmc/u-boot/doc/README.mpc83xxads (revision 6787c1ec)
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_TSEC_ENET	    Use on-chip 10/100/1000 ethernet
54
55
564. Compilation
57
58    Assuming you're using BASH shell:
59
60	export CROSS_COMPILE=your-cross-compile-prefix
61	cd u-boot
62	make distclean
63	make MPC8349ADS_config
64	make
65
665. Downloading and Flashing Images
67
685.0 Download over serial line using Kermit:
69
70	loadb
71	[Drop to kermit:
72	    ^\c
73	    send <u-boot-bin-image>
74	    c
75	]
76
77
78    Or via tftp:
79
80	tftp 10000 u-boot.bin
81
825.1 Reflash U-Boot Image using U-Boot
83
84    tftp 10000 u-boot.bin
85    protect off fe000000 fe09ffff
86    erase fe000000 fe09ffff
87
88    cp.b 10000 fe000000 xxxx
89or
90    cp.b 10000 fe000000 a0000
91
92You might have to supply the correct byte count for 'xxxx' from
93the TFTP.  Maybe a0000 will work too, that corresponds to the
94erased sectors.
95
96
976. Notes
98