README.mpc83xxads 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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_TSEC_ENET Use on-chip 10/100/1000 ethernet
  36. 4. Compilation
  37. Assuming you're using BASH shell:
  38. export CROSS_COMPILE=your-cross-compile-prefix
  39. cd u-boot
  40. make distclean
  41. make MPC8349ADS_config
  42. make
  43. 5. Downloading and Flashing Images
  44. 5.0 Download over serial line using Kermit:
  45. loadb
  46. [Drop to kermit:
  47. ^\c
  48. send <u-boot-bin-image>
  49. c
  50. ]
  51. Or via tftp:
  52. tftp 10000 u-boot.bin
  53. 5.1 Reflash U-Boot Image using U-Boot
  54. tftp 10000 u-boot.bin
  55. protect off fe000000 fe09ffff
  56. erase fe000000 fe09ffff
  57. cp.b 10000 fe000000 xxxx
  58. or
  59. cp.b 10000 fe000000 a0000
  60. You might have to supply the correct byte count for 'xxxx' from
  61. the TFTP. Maybe a0000 will work too, that corresponds to the
  62. erased sectors.
  63. 6. Notes