blob: d4561034b88140eb8c1a2faa86445cd929a7a389 [file] [log] [blame]
Eran Libertyf046ccd2005-07-28 10:08:46 -05001Freescale MPC83xx ADS Boards
2-----------------------------------------
3
40. Toolchain / Building
5
Wolfgang Denkf901a832005-08-06 01:42:58 +02006 $ PATH=$PATH:/usr/powerpc/bin
7 $ CROSS_COMPILE=powerpc-linux-
8 $ export PATH CROSS_COMPILE
Eran Libertyf046ccd2005-07-28 10:08:46 -05009
Wolfgang Denkf901a832005-08-06 01:42:58 +020010 $ powerpc-linux-gcc -v
Eran Libertyf046ccd2005-07-28 10:08:46 -050011 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
Wolfgang Denkf901a832005-08-06 01:42:58 +020018 $ powerpc-linux-as -v
Eran Libertyf046ccd2005-07-28 10:08:46 -050019 GNU assembler version 2.15 (powerpc-linux) using BFD version 2.15
20
21
Wolfgang Denkf901a832005-08-06 01:42:58 +020022 $ make MPC8349ADS_config
Eran Libertyf046ccd2005-07-28 10:08:46 -050023 Configuring for MPC8349ADS board...
24
Wolfgang Denkf901a832005-08-06 01:42:58 +020025 $ make
Eran Libertyf046ccd2005-07-28 10:08:46 -050026
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
Wolfgang Denkf901a832005-08-06 01:42:58 +020081 tftp 10000 u-boot.bin
Eran Libertyf046ccd2005-07-28 10:08:46 -050082
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