README.mpc8315erdb 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. Freescale MPC8315ERDB Board
  2. -----------------------------------------
  3. 1. Board Switches and Jumpers
  4. S3 is used to set CONFIG_SYS_RESET_SOURCE.
  5. To boot the image at 0xFE000000 in NOR flash, use these DIP
  6. switch settings for S3 S4:
  7. +------+ +------+
  8. | | | **** |
  9. | **** | | |
  10. +------+ ON +------+ ON
  11. 4321 4321
  12. (where the '*' indicates the position of the tab of the switch.)
  13. 2. Memory Map
  14. The memory map looks like this:
  15. 0x0000_0000 0x07ff_ffff DDR 128M
  16. 0x8000_0000 0x8fff_ffff PCI MEM 256M
  17. 0x9000_0000 0x9fff_ffff PCI_MMIO 256M
  18. 0xe000_0000 0xe00f_ffff IMMR 1M
  19. 0xe030_0000 0xe03f_ffff PCI IO 1M
  20. 0xe060_0000 0xe060_7fff NAND FLASH (CS1) 32K
  21. 0xfe00_0000 0xfe7f_ffff NOR FLASH (CS0) 8M
  22. 3. Definitions
  23. 3.1 Explanation of NEW definitions in:
  24. include/configs/MPC8315ERDB.h
  25. CONFIG_MPC83xx MPC83xx family
  26. CONFIG_MPC831x MPC831x specific
  27. CONFIG_MPC8315 MPC8315 specific
  28. CONFIG_MPC8315ERDB MPC8315ERDB board specific
  29. 4. Compilation
  30. Assuming you're using BASH (or similar) as your shell:
  31. export CROSS_COMPILE=your-cross-compiler-prefix-
  32. make distclean
  33. make MPC8315ERDB_config
  34. make all
  35. 5. Downloading and Flashing Images
  36. 5.1 Reflash U-boot Image using U-boot
  37. tftp 40000 u-boot.bin
  38. protect off all
  39. erase fe000000 fe1fffff
  40. cp.b 40000 fe000000 xxxx
  41. protect on all
  42. You have to supply the correct byte count with 'xxxx'
  43. from the TFTP result log.
  44. 5.2 Downloading and Booting Linux Kernel
  45. Ensure that all networking-related environment variables are set
  46. properly (including ipaddr, serverip, gatewayip (if needed),
  47. netmask, ethaddr, eth1addr, rootpath (if using NFS root),
  48. fdtfile, and bootfile).
  49. Then, do one of the following, depending on whether you
  50. want an NFS root or a ramdisk root:
  51. =>run nfsboot
  52. or
  53. =>run ramboot
  54. 6 Notes
  55. Booting from NAND flash is not yet supported.
  56. The console baudrate for MPC8315ERDB is 115200bps.