1*4882a593SmuzhiyunFreescale MCF54455EVB ColdFire Development Board 2*4882a593Smuzhiyun================================================ 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunTsiChung Liew(Tsi-Chung.Liew@freescale.com) 5*4882a593SmuzhiyunCreated 4/08/07 6*4882a593Smuzhiyun=========================================== 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun 9*4882a593SmuzhiyunChanged files: 10*4882a593Smuzhiyun============== 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun- board/freescale/m54455evb/m54455evb.c Dram setup, IDE pre init, and PCI init 13*4882a593Smuzhiyun- board/freescale/m54455evb/flash.c Atmel and INTEL flash support 14*4882a593Smuzhiyun- board/freescale/m54455evb/Makefile Makefile 15*4882a593Smuzhiyun- board/freescale/m54455evb/config.mk config make 16*4882a593Smuzhiyun- board/freescale/m54455evb/u-boot.lds Linker description 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun- common/cmd_bdinfo.c Clock frequencies output 19*4882a593Smuzhiyun- common/cmd_mii.c mii support 20*4882a593Smuzhiyun 21*4882a593Smuzhiyun- arch/m68k/cpu/mcf5445x/cpu.c cpu specific code 22*4882a593Smuzhiyun- arch/m68k/cpu/mcf5445x/cpu_init.c Flexbus ChipSelect, Mux pins setup, icache and RTC extra regs 23*4882a593Smuzhiyun- arch/m68k/cpu/mcf5445x/interrupts.c cpu specific interrupt support 24*4882a593Smuzhiyun- arch/m68k/cpu/mcf5445x/speed.c system, pci, flexbus, and cpu clock 25*4882a593Smuzhiyun- arch/m68k/cpu/mcf5445x/Makefile Makefile 26*4882a593Smuzhiyun- arch/m68k/cpu/mcf5445x/config.mk config make 27*4882a593Smuzhiyun- arch/m68k/cpu/mcf5445x/start.S start up assembly code 28*4882a593Smuzhiyun 29*4882a593Smuzhiyun- doc/README.m54455evb This readme file 30*4882a593Smuzhiyun 31*4882a593Smuzhiyun- drivers/net/mcffec.c ColdFire common FEC driver 32*4882a593Smuzhiyun- drivers/serial/mcfuart.c ColdFire common UART driver 33*4882a593Smuzhiyun 34*4882a593Smuzhiyun- include/asm-m68k/bitops.h Bit operation function export 35*4882a593Smuzhiyun- include/asm-m68k/byteorder.h Byte order functions 36*4882a593Smuzhiyun- include/asm-m68k/fec.h FEC structure and definition 37*4882a593Smuzhiyun- include/asm-m68k/fsl_i2c.h I2C structure and definition 38*4882a593Smuzhiyun- include/asm-m68k/global_data.h Global data structure 39*4882a593Smuzhiyun- include/asm-m68k/immap.h ColdFire specific header file and driver macros 40*4882a593Smuzhiyun- include/asm-m68k/immap_5445x.h mcf5445x specific header file 41*4882a593Smuzhiyun- include/asm-m68k/io.h io functions 42*4882a593Smuzhiyun- include/asm-m68k/m5445x.h mcf5445x specific header file 43*4882a593Smuzhiyun- include/asm-m68k/posix_types.h Posix 44*4882a593Smuzhiyun- include/asm-m68k/processor.h header file 45*4882a593Smuzhiyun- include/asm-m68k/ptrace.h Exception structure 46*4882a593Smuzhiyun- include/asm-m68k/rtc.h Realtime clock header file 47*4882a593Smuzhiyun- include/asm-m68k/string.h String function export 48*4882a593Smuzhiyun- include/asm-m68k/timer.h Timer structure and definition 49*4882a593Smuzhiyun- include/asm-m68k/types.h Data types definition 50*4882a593Smuzhiyun- include/asm-m68k/uart.h Uart structure and definition 51*4882a593Smuzhiyun- include/asm-m68k/u-boot.h U-Boot structure 52*4882a593Smuzhiyun 53*4882a593Smuzhiyun- include/configs/M54455EVB.h Board specific configuration file 54*4882a593Smuzhiyun 55*4882a593Smuzhiyun- arch/m68k/lib/board.c board init function 56*4882a593Smuzhiyun- arch/m68k/lib/cache.c 57*4882a593Smuzhiyun- arch/m68k/lib/interrupts Coldfire common interrupt functions 58*4882a593Smuzhiyun- arch/m68k/lib/m68k_linux.c 59*4882a593Smuzhiyun- arch/m68k/lib/time.c Timer functions (Dma timer and PIT) 60*4882a593Smuzhiyun- arch/m68k/lib/traps.c Exception init code 61*4882a593Smuzhiyun 62*4882a593Smuzhiyun- rtc/mcfrtc.c Realtime clock Driver 63*4882a593Smuzhiyun 64*4882a593Smuzhiyun1 MCF5445x specific Options/Settings 65*4882a593Smuzhiyun==================================== 66*4882a593Smuzhiyun1.1 pre-loader is no longer suppoer in thie coldfire family 67*4882a593Smuzhiyun 68*4882a593Smuzhiyun1.2 Configuration settings for M54455EVB Development Board 69*4882a593SmuzhiyunCONFIG_MCF5445x -- define for all MCF5445x CPUs 70*4882a593SmuzhiyunCONFIG_M54455 -- define for all Freescale MCF54455 CPUs 71*4882a593SmuzhiyunCONFIG_M54455EVB -- define for M54455EVB board 72*4882a593Smuzhiyun 73*4882a593SmuzhiyunCONFIG_MCFUART -- define to use common CF Uart driver 74*4882a593SmuzhiyunCONFIG_SYS_UART_PORT -- define UART port number, start with 0, 1 and 2 75*4882a593SmuzhiyunCONFIG_BAUDRATE -- define UART baudrate 76*4882a593Smuzhiyun 77*4882a593SmuzhiyunCONFIG_MCFRTC -- define to use common CF RTC driver 78*4882a593SmuzhiyunCONFIG_SYS_MCFRTC_BASE -- provide base address for RTC in immap.h 79*4882a593SmuzhiyunCONFIG_SYS_RTC_OSCILLATOR -- define RTC clock frequency 80*4882a593SmuzhiyunRTC_DEBUG -- define to show RTC debug message 81*4882a593SmuzhiyunCONFIG_CMD_DATE -- enable to use date feature in U-Boot 82*4882a593Smuzhiyun 83*4882a593SmuzhiyunCONFIG_MCFFEC -- define to use common CF FEC driver 84*4882a593SmuzhiyunCONFIG_MII -- enable to use MII driver 85*4882a593SmuzhiyunCONFIG_CF_DOMII -- enable to use MII feature in cmd_mii.c 86*4882a593SmuzhiyunCONFIG_SYS_DISCOVER_PHY -- enable PHY discovery 87*4882a593SmuzhiyunCONFIG_SYS_RX_ETH_BUFFER -- Set FEC Receive buffer 88*4882a593SmuzhiyunCONFIG_SYS_FAULT_ECHO_LINK_DOWN-- 89*4882a593SmuzhiyunCONFIG_SYS_FEC0_PINMUX -- Set FEC0 Pin configuration 90*4882a593SmuzhiyunCONFIG_SYS_FEC1_PINMUX -- Set FEC1 Pin configuration 91*4882a593SmuzhiyunCONFIG_SYS_FEC0_MIIBASE -- Set FEC0 MII base register 92*4882a593SmuzhiyunCONFIG_SYS_FEC1_MIIBASE -- Set FEC0 MII base register 93*4882a593SmuzhiyunMCFFEC_TOUT_LOOP -- set FEC timeout loop 94*4882a593SmuzhiyunCONFIG_HAS_ETH1 -- define to enable second FEC in U-Boot 95*4882a593Smuzhiyun 96*4882a593SmuzhiyunCONFIG_ISO_PARTITION -- enable ISO read/write 97*4882a593SmuzhiyunCONFIG_DOS_PARTITION -- enable DOS read/write 98*4882a593SmuzhiyunCONFIG_IDE_RESET -- define ide_reset() 99*4882a593SmuzhiyunCONFIG_IDE_PREINIT -- define ide_preinit() 100*4882a593SmuzhiyunCONFIG_ATAPI -- define ATAPI support 101*4882a593SmuzhiyunCONFIG_LBA48 -- define LBA48 (larger than 120GB) support 102*4882a593SmuzhiyunCONFIG_SYS_IDE_MAXBUS -- define max channel 103*4882a593SmuzhiyunCONFIG_SYS_IDE_MAXDEVICE -- define max devices per channel 104*4882a593SmuzhiyunCONFIG_SYS_ATA_BASE_ADDR -- define ATA base address 105*4882a593SmuzhiyunCONFIG_SYS_ATA_IDE0_OFFSET -- define ATA IDE0 offset 106*4882a593SmuzhiyunCONFIG_SYS_ATA_DATA_OFFSET -- define ATA data IO 107*4882a593SmuzhiyunCONFIG_SYS_ATA_REG_OFFSET -- define for normal register accesses 108*4882a593SmuzhiyunCONFIG_SYS_ATA_ALT_OFFSET -- define for alternate registers 109*4882a593SmuzhiyunCONFIG_SYS_ATA_STRIDE -- define for Interval between registers 110*4882a593Smuzhiyun_IO_BASE -- define for IO base address 111*4882a593Smuzhiyun 112*4882a593SmuzhiyunCONFIG_MCFTMR -- define to use DMA timer 113*4882a593SmuzhiyunCONFIG_MCFPIT -- define to use PIT timer 114*4882a593Smuzhiyun 115*4882a593SmuzhiyunCONFIG_SYS_FSL_I2C -- define to use FSL common I2C driver 116*4882a593SmuzhiyunCONFIG_SYS_I2C_SOFT -- define for I2C bit-banged 117*4882a593SmuzhiyunCONFIG_SYS_I2C_SPEED -- define for I2C speed 118*4882a593SmuzhiyunCONFIG_SYS_I2C_SLAVE -- define for I2C slave address 119*4882a593SmuzhiyunCONFIG_SYS_I2C_OFFSET -- define for I2C base address offset 120*4882a593SmuzhiyunCONFIG_SYS_IMMR -- define for MBAR offset 121*4882a593Smuzhiyun 122*4882a593SmuzhiyunCONFIG_PCI -- define for PCI support 123*4882a593SmuzhiyunCONFIG_PCI_PNP -- define for Plug n play support 124*4882a593SmuzhiyunCONFIG_SYS_PCI_MEM_BUS -- PCI memory logical offset 125*4882a593SmuzhiyunCONFIG_SYS_PCI_MEM_PHYS -- PCI memory physical offset 126*4882a593SmuzhiyunCONFIG_SYS_PCI_MEM_SIZE -- PCI memory size 127*4882a593SmuzhiyunCONFIG_SYS_PCI_IO_BUS -- PCI IO logical offset 128*4882a593SmuzhiyunCONFIG_SYS_PCI_IO_PHYS -- PCI IO physical offset 129*4882a593SmuzhiyunCONFIG_SYS_PCI_IO_SIZE -- PCI IO size 130*4882a593SmuzhiyunCONFIG_SYS_PCI_CFG_BUS -- PCI Configuration logical offset 131*4882a593SmuzhiyunCONFIG_SYS_PCI_CFG_PHYS -- PCI Configuration physical offset 132*4882a593SmuzhiyunCONFIG_SYS_PCI_CFG_SIZE -- PCI Configuration size 133*4882a593Smuzhiyun 134*4882a593SmuzhiyunCONFIG_EXTRA_CLOCK -- Enable extra clock such as vco, flexbus, pci, etc 135*4882a593Smuzhiyun 136*4882a593SmuzhiyunCONFIG_SYS_MBAR -- define MBAR offset 137*4882a593Smuzhiyun 138*4882a593SmuzhiyunCONFIG_SYS_ATMEL_BOOT -- To determine the U-Boot is booted from Atmel or Intel 139*4882a593Smuzhiyun 140*4882a593SmuzhiyunCONFIG_MONITOR_IS_IN_RAM -- Not support 141*4882a593Smuzhiyun 142*4882a593SmuzhiyunCONFIG_SYS_INIT_RAM_ADDR -- defines the base address of the MCF54455 internal SRAM 143*4882a593Smuzhiyun 144*4882a593SmuzhiyunCONFIG_SYS_CSn_BASE -- defines the Chip Select Base register 145*4882a593SmuzhiyunCONFIG_SYS_CSn_MASK -- defines the Chip Select Mask register 146*4882a593SmuzhiyunCONFIG_SYS_CSn_CTRL -- defines the Chip Select Control register 147*4882a593Smuzhiyun 148*4882a593SmuzhiyunCONFIG_SYS_ATMEL_BASE -- defines the Atmel Flash base 149*4882a593SmuzhiyunCONFIG_SYS_INTEL_BASE -- defines the Intel Flash base 150*4882a593Smuzhiyun 151*4882a593SmuzhiyunCONFIG_SYS_SDRAM_BASE -- defines the DRAM Base 152*4882a593SmuzhiyunCONFIG_SYS_SDRAM_BASE1 -- defines the DRAM Base 1 153*4882a593Smuzhiyun 154*4882a593Smuzhiyun2. MEMORY MAP UNDER U-BOOT AND LINUX KERNEL 155*4882a593Smuzhiyun=========================================== 156*4882a593Smuzhiyun2.1. System memory map: 157*4882a593Smuzhiyun Flash: 0x00000000-0x3FFFFFFF (1024MB) 158*4882a593Smuzhiyun DDR: 0x40000000-0x7FFFFFFF (1024MB) 159*4882a593Smuzhiyun SRAM: 0x80000000-0x8FFFFFFF (256MB) 160*4882a593Smuzhiyun ATA: 0x90000000-0x9FFFFFFF (256MB) 161*4882a593Smuzhiyun PCI: 0xA0000000-0xBFFFFFFF (512MB) 162*4882a593Smuzhiyun FlexBus: 0xC0000000-0xDFFFFFFF (512MB) 163*4882a593Smuzhiyun IP: 0xF0000000-0xFFFFFFFF (256MB) 164*4882a593Smuzhiyun 165*4882a593Smuzhiyun2.2. For the initial bringup, we adopted a consistent memory scheme between U-Boot and 166*4882a593Smuzhiyun linux kernel, you can customize it based on your system requirements: 167*4882a593Smuzhiyun Atmel boot: 168*4882a593Smuzhiyun Flash0: 0x00000000-0x0007FFFF (512KB) 169*4882a593Smuzhiyun Flash1: 0x04000000-0x05FFFFFF (32MB) 170*4882a593Smuzhiyun Intel boot: 171*4882a593Smuzhiyun Flash0: 0x00000000-0x01FFFFFF (32MB) 172*4882a593Smuzhiyun Flash1: 0x04000000-0x0407FFFF (512KB) 173*4882a593Smuzhiyun 174*4882a593Smuzhiyun CPLD: 0x08000000-0x08FFFFFF (16MB) 175*4882a593Smuzhiyun FPGA: 0x09000000-0x09FFFFFF (16MB) 176*4882a593Smuzhiyun DDR: 0x40000000-0x4FFFFFFF (256MB) 177*4882a593Smuzhiyun SRAM: 0x80000000-0x80007FFF (32KB) 178*4882a593Smuzhiyun IP: 0xFC000000-0xFC0FFFFF (64KB) 179*4882a593Smuzhiyun 180*4882a593Smuzhiyun3. SWITCH SETTINGS 181*4882a593Smuzhiyun================== 182*4882a593Smuzhiyun3.1 SW1 Pin3: 0 - Boot from Atmel or 1 - INTEL 183*4882a593Smuzhiyun SW1 Pin4: 0 - ULPI chip not in reset state or 1 - ULPI chip in reset state 184*4882a593Smuzhiyun SW1 Pin5: 0 - Full ATA Bus enabled, FEC Phy1 powered down 185*4882a593Smuzhiyun 1 - Upper 8 bits ATA data bus disabled, FEC PHY1 active 186*4882a593Smuzhiyun SW1 Pin6: 0 - FEC Phy0 active or 1 - FEC Phy0 powered down 187*4882a593Smuzhiyun SW1 Pin3: 0 - Boot from Atmel or 1 - INTEL 188*4882a593Smuzhiyun 189*4882a593Smuzhiyun4. COMPILATION 190*4882a593Smuzhiyun============== 191*4882a593Smuzhiyun4.1 To create U-Boot the gcc-4.1-32 compiler set (ColdFire ELF version) 192*4882a593Smuzhiyunfrom codesourcery.com was used. Download it from: 193*4882a593Smuzhiyunhttp://www.codesourcery.com/gnu_toolchains/coldfire/download.html 194*4882a593Smuzhiyun 195*4882a593Smuzhiyun4.2 Compilation 196*4882a593Smuzhiyun export CROSS_COMPILE=cross-compile-prefix 197*4882a593Smuzhiyun cd u-boot-1.x.x 198*4882a593Smuzhiyun make distclean 199*4882a593Smuzhiyun make M54455EVB_config, or - default to atmel 33Mhz input clock 200*4882a593Smuzhiyun make M54455EVB_atmel_config, or - default to atmel 33Mhz input clock 201*4882a593Smuzhiyun make M54455EVB_a33_config, or - default to atmel 33Mhz input clock 202*4882a593Smuzhiyun make M54455EVB_a66_config, or - default to atmel 66Mhz input clock 203*4882a593Smuzhiyun make M54455EVB_intel_config, or - default to intel 33Mhz input clock 204*4882a593Smuzhiyun make M54455EVB_i33_config, or - default to intel 33Mhz input clock 205*4882a593Smuzhiyun make M54455EVB_i66_config, or - default to intel 66Mhz input clock 206*4882a593Smuzhiyun make 207*4882a593Smuzhiyun 208*4882a593Smuzhiyun5. SCREEN DUMP 209*4882a593Smuzhiyun============== 210*4882a593Smuzhiyun5.1 M54455EVB Development board 211*4882a593Smuzhiyun Boot from Atmel (NOTE: May not show exactly the same) 212*4882a593Smuzhiyun 213*4882a593SmuzhiyunU-Boot 1.2.0-g98c80b46-dirty (Jul 26 2007 - 12:44:08) 214*4882a593Smuzhiyun 215*4882a593SmuzhiyunCPU: Freescale MCF54455 (Mask:48 Version:1) 216*4882a593Smuzhiyun CPU CLK 266 Mhz BUS CLK 133 Mhz FLB CLK 66 Mhz 217*4882a593Smuzhiyun PCI CLK 33 Mhz INP CLK 33 Mhz VCO CLK 533 Mhz 218*4882a593SmuzhiyunBoard: Freescale M54455 EVB 219*4882a593SmuzhiyunI2C: ready 220*4882a593SmuzhiyunDRAM: 256 MB 221*4882a593SmuzhiyunFLASH: 16.5 MB 222*4882a593SmuzhiyunIn: serial 223*4882a593SmuzhiyunOut: serial 224*4882a593SmuzhiyunErr: serial 225*4882a593SmuzhiyunNet: FEC0, FEC1 226*4882a593SmuzhiyunIDE: Bus 0: not available 227*4882a593Smuzhiyun-> print 228*4882a593Smuzhiyunbootargs=root=/dev/ram rw 229*4882a593Smuzhiyunbootdelay=1 230*4882a593Smuzhiyunbaudrate=115200 231*4882a593Smuzhiyunethaddr=00:e0:0c:bc:e5:60 232*4882a593Smuzhiyuneth1addr=00:e0:0c:bc:e5:61 233*4882a593Smuzhiyunhostname=M54455EVB 234*4882a593Smuzhiyunnetdev=eth0 235*4882a593Smuzhiyuninpclk=33333333 236*4882a593Smuzhiyunloadaddr=40010000 237*4882a593Smuzhiyunload=tftp ${loadaddr) ${u-boot} 238*4882a593Smuzhiyunupd=run load; run prog 239*4882a593Smuzhiyunprog=prot off 0 2ffff;era 0 2ffff;cp.b ${loadaddr} 0 ${filesize};save 240*4882a593Smuzhiyunethact=FEC0 241*4882a593Smuzhiyunmtdids=nor0=M54455EVB-1 242*4882a593Smuzhiyunmtdparts=M54455EVB-1:16m(user) 243*4882a593Smuzhiyunu-boot=u-boot54455.bin 244*4882a593Smuzhiyunfilesize=292b4 245*4882a593Smuzhiyunfileaddr=40010000 246*4882a593Smuzhiyungatewayip=192.168.1.1 247*4882a593Smuzhiyunnetmask=255.255.255.0 248*4882a593Smuzhiyunipaddr=192.168.1.3 249*4882a593Smuzhiyunserverip=192.168.1.2 250*4882a593Smuzhiyunstdin=serial 251*4882a593Smuzhiyunstdout=serial 252*4882a593Smuzhiyunstderr=serial 253*4882a593Smuzhiyunmem=261632k 254*4882a593Smuzhiyun 255*4882a593SmuzhiyunEnvironment size: 563/8188 bytes 256*4882a593Smuzhiyun-> bdinfo 257*4882a593Smuzhiyunmemstart = 0x40000000 258*4882a593Smuzhiyunmemsize = 0x10000000 259*4882a593Smuzhiyunflashstart = 0x00000000 260*4882a593Smuzhiyunflashsize = 0x01080000 261*4882a593Smuzhiyunflashoffset = 0x00000000 262*4882a593Smuzhiyunsramstart = 0x80000000 263*4882a593Smuzhiyunsramsize = 0x00008000 264*4882a593Smuzhiyunmbar = 0xFC000000 265*4882a593Smuzhiyunbusfreq = 133.333 MHz 266*4882a593Smuzhiyunpcifreq = 33.333 MHz 267*4882a593Smuzhiyunflbfreq = 66.666 MHz 268*4882a593Smuzhiyuninpfreq = 33.333 MHz 269*4882a593Smuzhiyunvcofreq = 533.333 MHz 270*4882a593Smuzhiyunethaddr = 00:E0:0C:BC:E5:60 271*4882a593Smuzhiyuneth1addr = 00:E0:0C:BC:E5:61 272*4882a593Smuzhiyunip_addr = 192.168.1.3 273*4882a593Smuzhiyunbaudrate = 115200 bps 274*4882a593Smuzhiyun-> 275*4882a593Smuzhiyun-> help 276*4882a593Smuzhiyun? - alias for 'help' 277*4882a593Smuzhiyunbase - print or set address offset 278*4882a593Smuzhiyunbdinfo - print Board Info structure 279*4882a593Smuzhiyunboot - boot default, i.e., run 'bootcmd' 280*4882a593Smuzhiyunbootd - boot default, i.e., run 'bootcmd' 281*4882a593Smuzhiyunbootelf - Boot from an ELF image in memory 282*4882a593Smuzhiyunbootm - boot application image from memory 283*4882a593Smuzhiyunbootp - boot image via network using BootP/TFTP protocol 284*4882a593Smuzhiyunbootvx - Boot vxWorks from an ELF image 285*4882a593Smuzhiyuncmp - memory compare 286*4882a593Smuzhiyunconinfo - print console devices and information 287*4882a593Smuzhiyuncp - memory copy 288*4882a593Smuzhiyuncrc32 - checksum calculation 289*4882a593Smuzhiyundate - get/set/reset date & time 290*4882a593Smuzhiyundcache - enable or disable data cache 291*4882a593Smuzhiyundiskboot- boot from IDE device 292*4882a593Smuzhiyunecho - echo args to console 293*4882a593Smuzhiyunerase - erase FLASH memory 294*4882a593Smuzhiyunext2load- load binary file from a Ext2 filesystem 295*4882a593Smuzhiyunext2ls - list files in a directory (default /) 296*4882a593Smuzhiyunfatinfo - print information about filesystem 297*4882a593Smuzhiyunfatload - load binary file from a dos filesystem 298*4882a593Smuzhiyunfatls - list files in a directory (default /) 299*4882a593Smuzhiyunflinfo - print FLASH memory information 300*4882a593Smuzhiyunfsinfo - print information about filesystems 301*4882a593Smuzhiyunfsload - load binary file from a filesystem image 302*4882a593Smuzhiyungo - start application at address 'addr' 303*4882a593Smuzhiyunhelp - print online help 304*4882a593Smuzhiyuni2c - I2C sub-system 305*4882a593Smuzhiyunicache - enable or disable instruction cache 306*4882a593Smuzhiyunide - IDE sub-system 307*4882a593Smuzhiyuniminfo - print header information for application image 308*4882a593Smuzhiyunimls - list all images found in flash 309*4882a593Smuzhiyunitest - return true/false on integer compare 310*4882a593Smuzhiyunloadb - load binary file over serial line (kermit mode) 311*4882a593Smuzhiyunloads - load S-Record file over serial line 312*4882a593Smuzhiyunloady - load binary file over serial line (ymodem mode) 313*4882a593Smuzhiyunloop - infinite loop on address range 314*4882a593Smuzhiyunls - list files in a directory (default /) 315*4882a593Smuzhiyunmd - memory display 316*4882a593Smuzhiyunmii - MII utility commands 317*4882a593Smuzhiyunmm - memory modify (auto-incrementing) 318*4882a593Smuzhiyunmtest - simple RAM test 319*4882a593Smuzhiyunmw - memory write (fill) 320*4882a593Smuzhiyunnfs - boot image via network using NFS protocol 321*4882a593Smuzhiyunnm - memory modify (constant address) 322*4882a593Smuzhiyunpci - list and access PCI Configuration Space 323*4882a593Smuzhiyunping - send ICMP ECHO_REQUEST to network host 324*4882a593Smuzhiyunprintenv- print environment variables 325*4882a593Smuzhiyunprotect - enable or disable FLASH write protection 326*4882a593Smuzhiyunrarpboot- boot image via network using RARP/TFTP protocol 327*4882a593Smuzhiyunreset - Perform RESET of the CPU 328*4882a593Smuzhiyunrun - run commands in an environment variable 329*4882a593Smuzhiyunsaveenv - save environment variables to persistent storage 330*4882a593Smuzhiyunsetenv - set environment variables 331*4882a593Smuzhiyunsleep - delay execution for some time 332*4882a593Smuzhiyunsource - run script from memory 333*4882a593Smuzhiyuntftpboot- boot image via network using TFTP protocol 334*4882a593Smuzhiyunversion - print monitor version 335*4882a593Smuzhiyun->bootm 4000000 336*4882a593Smuzhiyun 337*4882a593Smuzhiyun## Booting image at 04000000 ... 338*4882a593Smuzhiyun Image Name: Linux Kernel Image 339*4882a593Smuzhiyun Created: 2007-08-14 15:13:00 UTC 340*4882a593Smuzhiyun Image Type: M68K Linux Kernel Image (uncompressed) 341*4882a593Smuzhiyun Data Size: 2301952 Bytes = 2.2 MB 342*4882a593Smuzhiyun Load Address: 40020000 343*4882a593Smuzhiyun Entry Point: 40020000 344*4882a593Smuzhiyun Verifying Checksum ... OK 345*4882a593SmuzhiyunOK 346*4882a593SmuzhiyunLinux version 2.6.20-gfe5136d6-dirty (mattw@kea) (gcc version 4.2.0 20070318 (pr 347*4882a593Smuzhiyunerelease) (Sourcery G++ Lite 4.2-20)) #108 Mon Aug 13 13:00:13 MDT 2007 348*4882a593Smuzhiyunstarting up linux startmem 0xc0254000, endmem 0xcfffffff, size 253MB 349*4882a593SmuzhiyunBuilt 1 zonelists. Total pages: 32624 350*4882a593SmuzhiyunKernel command line: root=/dev/mtdblock1 rw rootfstype=jffs2 ip=none mtdparts=ph 351*4882a593Smuzhiyunysmap-flash.0:5M(kernel)ro,-(jffs2) 352*4882a593SmuzhiyunPID hash table entries: 1024 (order: 10, 4096 bytes) 353*4882a593SmuzhiyunConsole: colour dummy device 80x25 354*4882a593SmuzhiyunDentry cache hash table entries: 32768 (order: 4, 131072 bytes) 355*4882a593SmuzhiyunInode-cache hash table entries: 16384 (order: 3, 65536 bytes) 356*4882a593SmuzhiyunMemory: 257496k/262136k available (1864k kernel code, 2440k data, 88k init) 357*4882a593SmuzhiyunMount-cache hash table entries: 1024 358*4882a593SmuzhiyunNET: Registered protocol family 16 359*4882a593SmuzhiyunSCSI subsystem initialized 360*4882a593SmuzhiyunNET: Registered protocol family 2 361*4882a593SmuzhiyunIP route cache hash table entries: 2048 (order: 0, 8192 bytes) 362*4882a593SmuzhiyunTCP established hash table entries: 8192 (order: 2, 32768 bytes) 363*4882a593SmuzhiyunTCP bind hash table entries: 4096 (order: 1, 16384 bytes) 364*4882a593SmuzhiyunTCP: Hash tables configured (established 8192 bind 4096) 365*4882a593SmuzhiyunTCP reno registered 366*4882a593SmuzhiyunJFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc. 367*4882a593Smuzhiyunio scheduler noop registered 368*4882a593Smuzhiyunio scheduler anticipatory registered 369*4882a593Smuzhiyunio scheduler deadline registered 370*4882a593Smuzhiyunio scheduler cfq registered (default) 371*4882a593SmuzhiyunColdFire internal UART serial driver version 1.00 372*4882a593SmuzhiyunttyS0 at 0xfc060000 (irq = 90) is a builtin ColdFire UART 373*4882a593SmuzhiyunttyS1 at 0xfc064000 (irq = 91) is a builtin ColdFire UART 374*4882a593SmuzhiyunttyS2 at 0xfc068000 (irq = 92) is a builtin ColdFire UART 375*4882a593SmuzhiyunRAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize 376*4882a593Smuzhiyunloop: loaded (max 8 devices) 377*4882a593SmuzhiyunFEC ENET Version 0.2 378*4882a593Smuzhiyunfec: PHY @ 0x0, ID 0x20005ca2 -- DP83849 379*4882a593Smuzhiyuneth0: ethernet 00:08:ee:00:e4:19 380*4882a593Smuzhiyunphysmap platform flash device: 01000000 at 04000000 381*4882a593Smuzhiyunphysmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank 382*4882a593Smuzhiyun Intel/Sharp Extended Query Table at 0x0031 383*4882a593SmuzhiyunUsing buffer write method 384*4882a593Smuzhiyuncfi_cmdset_0001: Erase suspend on write enabled 385*4882a593Smuzhiyun2 cmdlinepart partitions found on MTD device physmap-flash.0 386*4882a593SmuzhiyunCreating 2 MTD partitions on "physmap-flash.0": 387*4882a593Smuzhiyun0x00000000-0x00500000 : "kernel" 388*4882a593Smuzhiyunmtd: Giving out device 0 to kernel 389*4882a593Smuzhiyun0x00500000-0x01000000 : "jffs2" 390*4882a593Smuzhiyunmtd: Giving out device 1 to jffs2 391*4882a593Smuzhiyunmice: PS/2 mouse device common for all mice 392*4882a593Smuzhiyuni2c /dev entries driver 393*4882a593SmuzhiyunTCP cubic registered 394*4882a593SmuzhiyunNET: Registered protocol family 1 395*4882a593SmuzhiyunNET: Registered protocol family 17 396*4882a593SmuzhiyunNET: Registered protocol family 15 397*4882a593SmuzhiyunVFS: Mounted root (jffs2 filesystem). 398*4882a593SmuzhiyunSetting the hostname to freescale 399*4882a593SmuzhiyunMounting filesystems 400*4882a593Smuzhiyunmount: Mounting usbfs on /proc/bus/usb failed: No such file or directory 401*4882a593SmuzhiyunStarting syslogd and klogd 402*4882a593SmuzhiyunSetting up networking on loopback device: 403*4882a593SmuzhiyunSetting up networking on eth0: 404*4882a593Smuzhiyuneth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX. 405*4882a593SmuzhiyunAdding static route for default gateway to 172.27.255.254: 406*4882a593SmuzhiyunSetting nameserver to 172.27.0.1 in /etc/resolv.conf: 407*4882a593SmuzhiyunStarting inetd: 408*4882a593Smuzhiyun/ # 409