README 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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. - board/freescale/m53017evb/README his 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_MII -- enable to use MII driver
  67. CONFIG_CF_DOMII -- enable to use MII feature in cmd_mii.c
  68. CONFIG_SYS_DISCOVER_PHY -- enable PHY discovery
  69. CONFIG_SYS_RX_ETH_BUFFER -- Set FEC Receive buffer
  70. CONFIG_SYS_FAULT_ECHO_LINK_DOWN --
  71. CONFIG_SYS_FEC0_PINMUX -- Set FEC0 Pin configuration
  72. CONFIG_SYS_FEC0_MIIBASE -- Set FEC0 MII base register
  73. MCFFEC_TOUT_LOOP -- set FEC timeout loop
  74. CONFIG_MCFTMR -- define to use DMA timer
  75. CONFIG_SYS_I2C_FSL -- define to use FSL common I2C driver
  76. CONFIG_SYS_I2C_SOFT -- define for I2C bit-banged
  77. CONFIG_SYS_I2C_SPEED -- define for I2C speed
  78. CONFIG_SYS_I2C_SLAVE -- define for I2C slave address
  79. CONFIG_SYS_I2C_OFFSET -- define for I2C base address offset
  80. CONFIG_SYS_IMMR -- define for MBAR offset
  81. CONFIG_SYS_MBAR -- define MBAR offset
  82. CONFIG_MONITOR_IS_IN_RAM -- Not support
  83. CONFIG_SYS_INIT_RAM_ADDR -- defines the base address of the MCF5301x internal SRAM
  84. CONFIG_SYS_CSn_BASE -- defines the Chip Select Base register
  85. CONFIG_SYS_CSn_MASK -- defines the Chip Select Mask register
  86. CONFIG_SYS_CSn_CTRL -- defines the Chip Select Control register
  87. CONFIG_SYS_SDRAM_BASE -- defines the DRAM Base
  88. 2. MEMORY MAP UNDER U-BOOT AND LINUX KERNEL
  89. ===========================================
  90. 2.1. System memory map:
  91. Flash: 0x00000000-0x3FFFFFFF (1024MB)
  92. DDR: 0x40000000-0x7FFFFFFF (1024MB)
  93. SRAM: 0x80000000-0x8FFFFFFF (256MB)
  94. IP: 0xFC000000-0xFFFFFFFF (256MB)
  95. 2.2. For the initial bringup, we adopted a consistent memory scheme between U-Boot and
  96. linux kernel, you can customize it based on your system requirements:
  97. Flash0: 0x00000000-0x00FFFFFF (16MB)
  98. DDR: 0x40000000-0x4FFFFFFF (256MB)
  99. SRAM: 0x80000000-0x80007FFF (32KB)
  100. IP: 0xFC000000-0xFC0FFFFF (64KB)
  101. 3. COMPILATION
  102. ==============
  103. 3.1 To create U-Boot the gcc-4.x-xx compiler set (ColdFire ELF or
  104. uClinux version) from codesourcery.com was used. Download it from:
  105. http://www.codesourcery.com/gnu_toolchains/coldfire/download.html
  106. 3.2 Compilation
  107. export CROSS_COMPILE=cross-compile-prefix
  108. cd u-boot
  109. make distclean
  110. make M53017EVB_config
  111. make
  112. 4. SCREEN DUMP
  113. ==============
  114. 4.1 M53017EVB Development board
  115. (NOTE: May not show exactly the same)
  116. U-Boot 2008.10 (Oct 22 2007 - 11:07:57)
  117. CPU: Freescale MCF53015 (Mask:76 Version:0)
  118. CPU CLK 240 Mhz BUS CLK 80 Mhz
  119. Board: Freescale M53017EVB
  120. I2C: ready
  121. DRAM: 64 MB
  122. FLASH: 16 MB
  123. In: serial
  124. Out: serial
  125. Err: serial
  126. NAND: 16 MiB
  127. Net: FEC0, FEC1
  128. -> print
  129. bootdelay=1
  130. baudrate=115200
  131. ethaddr=00:e0:0c:bc:e5:60
  132. hostname=M53017EVB
  133. netdev=eth0
  134. loadaddr=40010000
  135. u-boot=u-boot.bin
  136. load=tftp ${loadaddr) ${u-boot}
  137. upd=run load; run prog
  138. prog=prot off 0 3ffff;era 0 3ffff;cp.b ${loadaddr} 0 ${filesize};save
  139. gatewayip=192.168.1.1
  140. netmask=255.255.255.0
  141. ipaddr=192.168.1.3
  142. serverip=192.168.1.2
  143. stdin=serial
  144. stdout=serial
  145. stderr=serial
  146. mem=65024k
  147. Environment size: 437/4092 bytes
  148. ->