blob: 372fdd9ce85f9e713450bbdf1381212b8669e19a [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
Eran Libertyf046ccd2005-07-28 10:08:46 -050053 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
Wolfgang Denkf901a832005-08-06 01:42:58 +020080 tftp 10000 u-boot.bin
Eran Libertyf046ccd2005-07-28 10:08:46 -050081
Bin Menga1875592016-02-05 19:30:11 -0800825.1 Reflash U-Boot Image using U-Boot
Eran Libertyf046ccd2005-07-28 10:08:46 -050083
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