README.mpc83xxads 2.2 KB

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