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