README.m53017evb 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. Freescale MCF53017EVB ColdFire Development Board
  2. ================================================
  3. TsiChung Liew(Tsi-Chung.Liew@freescale.com)
  4. Created 10/22/08
  5. ===========================================
  6. Changed files:
  7. ==============
  8. - board/freescale/m53017evb/m53017evb.c Dram setup
  9. - board/freescale/m53017evb/mii.c Mii access
  10. - board/freescale/m53017evb/Makefile Makefile
  11. - board/freescale/m53017evb/config.mk config make
  12. - board/freescale/m53017evb/u-boot.lds Linker description
  13. - arch/m68k/cpu/mcf532x/cpu.c cpu specific code
  14. - arch/m68k/cpu/mcf532x/cpu_init.c FBCS, Mux pins, icache and RTC extra regs
  15. - arch/m68k/cpu/mcf532x/interrupts.c cpu specific interrupt support
  16. - arch/m68k/cpu/mcf532x/speed.c system, flexbus, and cpu clock
  17. - arch/m68k/cpu/mcf532x/Makefile Makefile
  18. - arch/m68k/cpu/mcf532x/config.mk config make
  19. - arch/m68k/cpu/mcf532x/start.S start up assembly code
  20. - doc/README.m53017evb This readme file
  21. - drivers/net/mcffec.c ColdFire common FEC driver
  22. - drivers/net/mcfmii.c ColdFire common Mii driver
  23. - drivers/serial/mcfuart.c ColdFire common UART driver
  24. - drivers/rtc/mcfrtc.c Realtime clock Driver
  25. - include/asm-m68k/bitops.h Bit operation function export
  26. - include/asm-m68k/byteorder.h Byte order functions
  27. - include/asm-m68k/fec.h FEC structure and definition
  28. - include/asm-m68k/fsl_i2c.h I2C structure and definition
  29. - include/asm-m68k/global_data.h Global data structure
  30. - include/asm-m68k/immap.h ColdFire specific header file and driver macros
  31. - include/asm-m68k/immap_5301x.h mcf5301x specific header file
  32. - include/asm-m68k/io.h io functions
  33. - include/asm-m68k/m532x.h mcf5301x specific header file
  34. - include/asm-m68k/posix_types.h Posix
  35. - include/asm-m68k/processor.h header file
  36. - include/asm-m68k/ptrace.h Exception structure
  37. - include/asm-m68k/rtc.h Realtime clock header file
  38. - include/asm-m68k/string.h String function export
  39. - include/asm-m68k/timer.h Timer structure and definition
  40. - include/asm-m68k/types.h Data types definition
  41. - include/asm-m68k/uart.h Uart structure and definition
  42. - include/asm-m68k/u-boot.h u-boot structure
  43. - include/configs/M53017EVB.h Board specific configuration file
  44. - arch/m68k/lib/board.c board init function
  45. - arch/m68k/lib/cache.c
  46. - arch/m68k/lib/interrupts Coldfire common interrupt functions
  47. - arch/m68k/lib/m68k_linux.c
  48. - arch/m68k/lib/time.c Timer functions (Dma timer and PIT)
  49. - arch/m68k/lib/traps.c Exception init code
  50. 1 MCF5301x specific Options/Settings
  51. ====================================
  52. 1.1 pre-loader is no longer suppoer in thie coldfire family
  53. 1.2 Configuration settings for M53017EVB Development Board
  54. CONFIG_MCF5301x -- define for all MCF5301x CPUs
  55. CONFIG_M53015 -- define for MCF53015 CPUs
  56. CONFIG_M53017EVB -- define for M53017EVB board
  57. CONFIG_MCFUART -- define to use common CF Uart driver
  58. CONFIG_SYS_UART_PORT -- define UART port number, start with 0, 1 and 2
  59. CONFIG_BAUDRATE -- define UART baudrate
  60. CONFIG_MCFRTC -- define to use common CF RTC driver
  61. CONFIG_SYS_MCFRTC_BASE -- provide base address for RTC in immap.h
  62. CONFIG_SYS_RTC_OSCILLATOR -- define RTC clock frequency
  63. RTC_DEBUG -- define to show RTC debug message
  64. CONFIG_CMD_DATE -- enable to use date feature in u-boot
  65. CONFIG_MCFFEC -- define to use common CF FEC driver
  66. CONFIG_NET_MULTI -- define to use multi FEC in u-boot
  67. CONFIG_MII -- enable to use MII driver
  68. CONFIG_CF_DOMII -- enable to use MII feature in cmd_mii.c
  69. CONFIG_SYS_DISCOVER_PHY -- enable PHY discovery
  70. CONFIG_SYS_RX_ETH_BUFFER -- Set FEC Receive buffer
  71. CONFIG_SYS_FAULT_ECHO_LINK_DOWN --
  72. CONFIG_SYS_FEC0_PINMUX -- Set FEC0 Pin configuration
  73. CONFIG_SYS_FEC0_MIIBASE -- Set FEC0 MII base register
  74. MCFFEC_TOUT_LOOP -- set FEC timeout loop
  75. CONFIG_MCFTMR -- define to use DMA timer
  76. CONFIG_MCFPIT -- define to use PIT timer
  77. CONFIG_FSL_I2C -- define to use FSL common I2C driver
  78. CONFIG_HARD_I2C -- define for I2C hardware support
  79. CONFIG_SOFT_I2C -- define for I2C bit-banged
  80. CONFIG_SYS_I2C_SPEED -- define for I2C speed
  81. CONFIG_SYS_I2C_SLAVE -- define for I2C slave address
  82. CONFIG_SYS_I2C_OFFSET -- define for I2C base address offset
  83. CONFIG_SYS_IMMR -- define for MBAR offset
  84. CONFIG_SYS_MBAR -- define MBAR offset
  85. CONFIG_MONITOR_IS_IN_RAM -- Not support
  86. CONFIG_SYS_INIT_RAM_ADDR -- defines the base address of the MCF5301x internal SRAM
  87. CONFIG_SYS_CSn_BASE -- defines the Chip Select Base register
  88. CONFIG_SYS_CSn_MASK -- defines the Chip Select Mask register
  89. CONFIG_SYS_CSn_CTRL -- defines the Chip Select Control register
  90. CONFIG_SYS_SDRAM_BASE -- defines the DRAM Base
  91. 2. MEMORY MAP UNDER U-BOOT AND LINUX KERNEL
  92. ===========================================
  93. 2.1. System memory map:
  94. Flash: 0x00000000-0x3FFFFFFF (1024MB)
  95. DDR: 0x40000000-0x7FFFFFFF (1024MB)
  96. SRAM: 0x80000000-0x8FFFFFFF (256MB)
  97. IP: 0xFC000000-0xFFFFFFFF (256MB)
  98. 2.2. For the initial bringup, we adopted a consistent memory scheme between u-boot and
  99. linux kernel, you can customize it based on your system requirements:
  100. Flash0: 0x00000000-0x00FFFFFF (16MB)
  101. DDR: 0x40000000-0x4FFFFFFF (256MB)
  102. SRAM: 0x80000000-0x80007FFF (32KB)
  103. IP: 0xFC000000-0xFC0FFFFF (64KB)
  104. 3. COMPILATION
  105. ==============
  106. 3.1 To create U-Boot the gcc-4.x-xx compiler set (ColdFire ELF or
  107. uClinux version) from codesourcery.com was used. Download it from:
  108. http://www.codesourcery.com/gnu_toolchains/coldfire/download.html
  109. 3.2 Compilation
  110. export CROSS_COMPILE=cross-compile-prefix
  111. cd u-boot
  112. make distclean
  113. make M53017EVB_config
  114. make
  115. 4. SCREEN DUMP
  116. ==============
  117. 4.1 M53017EVB Development board
  118. (NOTE: May not show exactly the same)
  119. U-Boot 2008.10 (Oct 22 2007 - 11:07:57)
  120. CPU: Freescale MCF53015 (Mask:76 Version:0)
  121. CPU CLK 240 Mhz BUS CLK 80 Mhz
  122. Board: Freescale M53017EVB
  123. I2C: ready
  124. DRAM: 64 MB
  125. FLASH: 16 MB
  126. In: serial
  127. Out: serial
  128. Err: serial
  129. NAND: 16 MiB
  130. Net: FEC0, FEC1
  131. -> print
  132. bootdelay=1
  133. baudrate=115200
  134. ethaddr=00:e0:0c:bc:e5:60
  135. hostname=M53017EVB
  136. netdev=eth0
  137. loadaddr=40010000
  138. u-boot=u-boot.bin
  139. load=tftp ${loadaddr) ${u-boot}
  140. upd=run load; run prog
  141. prog=prot off 0 3ffff;era 0 3ffff;cp.b ${loadaddr} 0 ${filesize};save
  142. gatewayip=192.168.1.1
  143. netmask=255.255.255.0
  144. ipaddr=192.168.1.3
  145. serverip=192.168.1.2
  146. stdin=serial
  147. stdout=serial
  148. stderr=serial
  149. mem=65024k
  150. Environment size: 437/4092 bytes
  151. ->