README.mpc83xxads 2.2 KB

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