README.mpc8313erdb 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. Freescale MPC8313ERDB Board
  2. -----------------------------------------
  3. 1. Board Switches and Jumpers
  4. S3 is used to set CFG_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. 0xe200_0000 0xe20f_ffff PCI IO 16M
  20. 0xe280_0000 0xe280_7fff NAND FLASH (CS1) 32K
  21. 0xf000_0000 0xf001_ffff VSC7385 (CS2) 128K
  22. 0xfa00_0000 0xfa00_7fff Board Status/ 32K
  23. LED Control (CS3)
  24. 0xfe00_0000 0xfe7f_ffff NOR FLASH (CS0) 8M
  25. 3. Definitions
  26. 3.1 Explanation of NEW definitions in:
  27. include/configs/MPC8313ERDB.h
  28. CONFIG_MPC83xx MPC83xx family
  29. CONFIG_MPC831x MPC831x specific
  30. CONFIG_MPC8313ERDB MPC8313ERDB board specific
  31. 4. Compilation
  32. Assuming you're using BASH (or similar) as your shell:
  33. export CROSS_COMPILE=your-cross-compiler-prefix-
  34. make distclean
  35. make MPC8313ERDB_33_config
  36. (or make MPC8313ERDB_66_config, depending on the speed of
  37. the oscillator on your board)
  38. make
  39. 5. Downloading and Flashing Images
  40. 5.1 Reflash U-boot Image using U-boot
  41. =>run tftpflash
  42. You may want to try
  43. =>tftpboot $loadaddr $uboot
  44. first, to make sure that the TFTP load will succeed before it
  45. goes ahead and wipes out your current firmware. And of course,
  46. have an alternate means of programming the flash available
  47. if the new u-boot doesn't boot.
  48. 5.2 Downloading and Booting Linux Kernel
  49. Ensure that all networking-related environment variables are set
  50. properly (including ipaddr, serverip, gatewayip (if needed),
  51. netmask, ethaddr, eth1addr, rootpath (if using NFS root),
  52. fdtfile, and bootfile).
  53. Then, do one of the following, depending on whether you
  54. want an NFS root or a ramdisk root:
  55. =>run nfsboot
  56. or
  57. =>run ramboot
  58. 6 Notes
  59. Booting from NAND flash is not yet supported.
  60. The console baudrate for MPC8313ERDB is 115200bps.