blob: 34f05f3fdc7239a572f56a0d22cbec0bfa358af2 [file] [log] [blame]
TsiChung Liewe7e4fc82008-10-22 11:38:21 +00001Freescale MCF53017EVB ColdFire Development Board
2================================================
3
4TsiChung Liew(Tsi-Chung.Liew@freescale.com)
5Created 10/22/08
6===========================================
7
8
9Changed files:
10==============
11
12- board/freescale/m53017evb/m53017evb.c Dram setup
13- board/freescale/m53017evb/mii.c Mii access
14- board/freescale/m53017evb/Makefile Makefile
15- board/freescale/m53017evb/config.mk config make
16- board/freescale/m53017evb/u-boot.lds Linker description
17
Peter Tyser45dbaf22010-04-12 22:28:12 -050018- arch/m68k/cpu/mcf532x/cpu.c cpu specific code
19- arch/m68k/cpu/mcf532x/cpu_init.c FBCS, Mux pins, icache and RTC extra regs
20- arch/m68k/cpu/mcf532x/interrupts.c cpu specific interrupt support
21- arch/m68k/cpu/mcf532x/speed.c system, flexbus, and cpu clock
22- arch/m68k/cpu/mcf532x/Makefile Makefile
23- arch/m68k/cpu/mcf532x/config.mk config make
24- arch/m68k/cpu/mcf532x/start.S start up assembly code
TsiChung Liewe7e4fc82008-10-22 11:38:21 +000025
Patrick Delaunay03a4c422020-02-28 15:18:14 +010026- board/freescale/m53017evb/README his readme file
TsiChung Liewe7e4fc82008-10-22 11:38:21 +000027
28- drivers/net/mcffec.c ColdFire common FEC driver
29- drivers/net/mcfmii.c ColdFire common Mii driver
30- drivers/serial/mcfuart.c ColdFire common UART driver
31- drivers/rtc/mcfrtc.c Realtime clock Driver
32
33- include/asm-m68k/bitops.h Bit operation function export
34- include/asm-m68k/byteorder.h Byte order functions
35- include/asm-m68k/fec.h FEC structure and definition
36- include/asm-m68k/fsl_i2c.h I2C structure and definition
37- include/asm-m68k/global_data.h Global data structure
38- include/asm-m68k/immap.h ColdFire specific header file and driver macros
39- include/asm-m68k/immap_5301x.h mcf5301x specific header file
40- include/asm-m68k/io.h io functions
41- include/asm-m68k/m532x.h mcf5301x specific header file
42- include/asm-m68k/posix_types.h Posix
43- include/asm-m68k/processor.h header file
44- include/asm-m68k/ptrace.h Exception structure
45- include/asm-m68k/rtc.h Realtime clock header file
46- include/asm-m68k/string.h String function export
47- include/asm-m68k/timer.h Timer structure and definition
48- include/asm-m68k/types.h Data types definition
49- include/asm-m68k/uart.h Uart structure and definition
Bin Meng75574052016-02-05 19:30:11 -080050- include/asm-m68k/u-boot.h U-Boot structure
TsiChung Liewe7e4fc82008-10-22 11:38:21 +000051
52- include/configs/M53017EVB.h Board specific configuration file
53
Peter Tysercede5d82010-04-12 22:28:04 -050054- arch/m68k/lib/board.c board init function
55- arch/m68k/lib/cache.c
56- arch/m68k/lib/interrupts Coldfire common interrupt functions
57- arch/m68k/lib/m68k_linux.c
58- arch/m68k/lib/time.c Timer functions (Dma timer and PIT)
59- arch/m68k/lib/traps.c Exception init code
TsiChung Liewe7e4fc82008-10-22 11:38:21 +000060
611 MCF5301x specific Options/Settings
62====================================
631.1 pre-loader is no longer suppoer in thie coldfire family
64
651.2 Configuration settings for M53017EVB Development Board
66CONFIG_MCF5301x -- define for all MCF5301x CPUs
67CONFIG_M53015 -- define for MCF53015 CPUs
68CONFIG_M53017EVB -- define for M53017EVB board
69
70CONFIG_MCFUART -- define to use common CF Uart driver
Tom Rini6a5dccc2022-11-16 13:10:41 -050071CFG_SYS_UART_PORT -- define UART port number, start with 0, 1 and 2
TsiChung Liewe7e4fc82008-10-22 11:38:21 +000072CONFIG_BAUDRATE -- define UART baudrate
73
74CONFIG_MCFRTC -- define to use common CF RTC driver
75CONFIG_SYS_MCFRTC_BASE -- provide base address for RTC in immap.h
76CONFIG_SYS_RTC_OSCILLATOR -- define RTC clock frequency
77RTC_DEBUG -- define to show RTC debug message
Bin Meng75574052016-02-05 19:30:11 -080078CONFIG_CMD_DATE -- enable to use date feature in U-Boot
TsiChung Liewe7e4fc82008-10-22 11:38:21 +000079
80CONFIG_MCFFEC -- define to use common CF FEC driver
TsiChung Liewe7e4fc82008-10-22 11:38:21 +000081CONFIG_MII -- enable to use MII driver
82CONFIG_CF_DOMII -- enable to use MII feature in cmd_mii.c
83CONFIG_SYS_DISCOVER_PHY -- enable PHY discovery
84CONFIG_SYS_RX_ETH_BUFFER -- Set FEC Receive buffer
85CONFIG_SYS_FAULT_ECHO_LINK_DOWN --
86CONFIG_SYS_FEC0_PINMUX -- Set FEC0 Pin configuration
87CONFIG_SYS_FEC0_MIIBASE -- Set FEC0 MII base register
88MCFFEC_TOUT_LOOP -- set FEC timeout loop
89
Marek Vasut38908f52023-03-23 01:20:39 +010090CONFIG_MCFTMR -- define to use DMA timer
TsiChung Liewe7e4fc82008-10-22 11:38:21 +000091
Heiko Schocherf2850742012-10-24 13:48:22 +020092CONFIG_SYS_I2C_FSL -- define to use FSL common I2C driver
Heiko Schocher479a4cf2013-01-29 08:53:15 +010093CONFIG_SYS_I2C_SOFT -- define for I2C bit-banged
TsiChung Liewe7e4fc82008-10-22 11:38:21 +000094CONFIG_SYS_I2C_SPEED -- define for I2C speed
95CONFIG_SYS_I2C_SLAVE -- define for I2C slave address
96CONFIG_SYS_I2C_OFFSET -- define for I2C base address offset
97CONFIG_SYS_IMMR -- define for MBAR offset
98
Tom Rini6a5dccc2022-11-16 13:10:41 -050099CFG_SYS_MBAR -- define MBAR offset
TsiChung Liewe7e4fc82008-10-22 11:38:21 +0000100
Wolfgang Denk62fb2b42021-09-27 17:42:39 +0200101CONFIG_MONITOR_IS_IN_RAM -- Not support
TsiChung Liewe7e4fc82008-10-22 11:38:21 +0000102
Tom Rini6a5dccc2022-11-16 13:10:41 -0500103CFG_SYS_INIT_RAM_ADDR -- defines the base address of the MCF5301x internal SRAM
TsiChung Liewe7e4fc82008-10-22 11:38:21 +0000104
105CONFIG_SYS_CSn_BASE -- defines the Chip Select Base register
106CONFIG_SYS_CSn_MASK -- defines the Chip Select Mask register
107CONFIG_SYS_CSn_CTRL -- defines the Chip Select Control register
108
Tom Rinibb4dd962022-11-16 13:10:37 -0500109CFG_SYS_SDRAM_BASE -- defines the DRAM Base
TsiChung Liewe7e4fc82008-10-22 11:38:21 +0000110
1112. MEMORY MAP UNDER U-BOOT AND LINUX KERNEL
112===========================================
1132.1. System memory map:
114 Flash: 0x00000000-0x3FFFFFFF (1024MB)
115 DDR: 0x40000000-0x7FFFFFFF (1024MB)
116 SRAM: 0x80000000-0x8FFFFFFF (256MB)
117 IP: 0xFC000000-0xFFFFFFFF (256MB)
118
Bin Meng75574052016-02-05 19:30:11 -08001192.2. For the initial bringup, we adopted a consistent memory scheme between U-Boot and
TsiChung Liewe7e4fc82008-10-22 11:38:21 +0000120 linux kernel, you can customize it based on your system requirements:
121 Flash0: 0x00000000-0x00FFFFFF (16MB)
122 DDR: 0x40000000-0x4FFFFFFF (256MB)
123 SRAM: 0x80000000-0x80007FFF (32KB)
124 IP: 0xFC000000-0xFC0FFFFF (64KB)
125
1263. COMPILATION
127==============
1283.1 To create U-Boot the gcc-4.x-xx compiler set (ColdFire ELF or
129uClinux version) from codesourcery.com was used. Download it from:
130http://www.codesourcery.com/gnu_toolchains/coldfire/download.html
131
1323.2 Compilation
133 export CROSS_COMPILE=cross-compile-prefix
134 cd u-boot
135 make distclean
136 make M53017EVB_config
137 make
138
1394. SCREEN DUMP
140==============
1414.1 M53017EVB Development board
142 (NOTE: May not show exactly the same)
143
144U-Boot 2008.10 (Oct 22 2007 - 11:07:57)
145
146CPU: Freescale MCF53015 (Mask:76 Version:0)
147 CPU CLK 240 Mhz BUS CLK 80 Mhz
148Board: Freescale M53017EVB
149I2C: ready
150DRAM: 64 MB
151FLASH: 16 MB
152In: serial
153Out: serial
154Err: serial
155NAND: 16 MiB
156Net: FEC0, FEC1
157-> print
158bootdelay=1
159baudrate=115200
160ethaddr=00:e0:0c:bc:e5:60
161hostname=M53017EVB
162netdev=eth0
163loadaddr=40010000
164u-boot=u-boot.bin
165load=tftp ${loadaddr) ${u-boot}
166upd=run load; run prog
167prog=prot off 0 3ffff;era 0 3ffff;cp.b ${loadaddr} 0 ${filesize};save
168gatewayip=192.168.1.1
169netmask=255.255.255.0
170ipaddr=192.168.1.3
171serverip=192.168.1.2
172stdin=serial
173stdout=serial
174stderr=serial
175mem=65024k
176
177Environment size: 437/4092 bytes
178->