README.mpc8323erdb 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. Freescale MPC8323ERDB Board
  2. -----------------------------------------
  3. 1. Memory Map
  4. The memory map looks like this:
  5. 0x0000_0000 0x03ff_ffff DDR 64M
  6. 0x8000_0000 0x8fff_ffff PCI MEM 256M
  7. 0x9000_0000 0x9fff_ffff PCI_MMIO 256M
  8. 0xe000_0000 0xe00f_ffff IMMR 1M
  9. 0xd000_0000 0xd3ff_ffff PCI IO 64M
  10. 0xfe00_0000 0xfeff_ffff NOR FLASH (CS0) 16M
  11. 2. Compilation
  12. Assuming you're using BASH (or similar) as your shell:
  13. export CROSS_COMPILE=your-cross-compiler-prefix-
  14. make distclean
  15. make MPC8323ERDB_config
  16. make
  17. 3. Downloading and Flashing Images
  18. 3.1 Reflash U-boot Image using U-boot
  19. N.b, have an alternate means of programming
  20. the flash available if the new u-boot doesn't boot.
  21. First try a:
  22. tftpboot $loadaddr $uboot
  23. to make sure that the TFTP load will succeed before
  24. an erase goes ahead and wipes out your current firmware.
  25. Then do a:
  26. run tftpflash
  27. which is a shorter version of the manual sequence:
  28. tftp $loadaddr u-boot.bin
  29. protect off fe000000 +$filesize
  30. erase fe000000 +$filesize
  31. cp.b $loadaddr fe000000 $filesize
  32. To keep your old u-boot's environment variables, do a:
  33. saveenv
  34. prior to resetting the board.
  35. 3.2 Downloading and Booting Linux Kernel
  36. Ensure that all networking-related environment variables are set
  37. properly (including ipaddr, serverip, gatewayip (if needed),
  38. netmask, ethaddr, eth1addr, rootpath (if using NFS root),
  39. fdtfile, and bootfile).
  40. Then, do one of the following, depending on whether you
  41. want an NFS root or a ramdisk root:
  42. run nfsboot
  43. or
  44. run ramboot
  45. 4 Notes
  46. The console baudrate for MPC8323ERDB is 115200bps.