📄 readme.m5475evb
字号:
Freescale MCF5475EVB ColdFire Development Board================================================TsiChung Liew(Tsi-Chung.Liew@freescale.com)Created Jan 08, 2008===========================================Changed files:==============- board/freescale/m547xevb/m547xevb.c Dram setup, IDE pre init, and PCI init- board/freescale/m547xevb/mii.c MII init- board/freescale/m547xevb/Makefile Makefile- board/freescale/m547xevb/config.mk config make- board/freescale/m547xevb/u-boot.lds Linker description- cpu/mcf547x_8x/cpu.c cpu specific code- cpu/mcf547x_8x/cpu_init.c Flexbus ChipSelect, Mux pins setup, icache and RTC extra regs- cpu/mcf547x_8x/interrupts.c cpu specific interrupt support- cpu/mcf547x_8x/slicetimer.c Timer support- cpu/mcf547x_8x/speed.c system, pci, flexbus, and cpu clock- cpu/mcf547x_8x/Makefile Makefile- cpu/mcf547x_8x/config.mk config make- cpu/mcf547x_8x/start.S start up assembly code- doc/README.m5475evb This readme file- drivers/dma/MCD_dmaApi.c DMA API functions- drivers/dma/MCD_tasks.c DMA Tasks- drivers/dma/MCD_tasksInit.c DMA Tasks Init- drivers/net/fsl_mcdmafec.c ColdFire common DMA FEC driver- drivers/serial/mcfuart.c ColdFire common UART driver- include/MCD_dma.h DMA header file- include/MCD_progCheck.h DMA header file- include/MCD_tasksInit.h DMA header file- include/asm-m68k/bitops.h Bit operation function export- include/asm-m68k/byteorder.h Byte order functions- include/asm-m68k/errno.h Error Number definition- include/asm-m68k/fec.h FEC structure and definition- include/asm-m68k/fsl_i2c.h I2C structure and definition- include/asm-m68k/fsl_mcddmafec.h DMA FEC structure and definition- include/asm-m68k/global_data.h Global data structure- include/asm-m68k/immap.h ColdFire specific header file and driver macros- include/asm-m68k/immap_547x_8x.h mcf547x_8x specific header file- include/asm-m68k/io.h io functions- include/asm-m68k/m547x_8x.h mcf547x_8x specific header file- include/asm-m68k/posix_types.h Posix- include/asm-m68k/processor.h header file- include/asm-m68k/ptrace.h Exception structure- include/asm-m68k/rtc.h Realtime clock header file- include/asm-m68k/string.h String function export- include/asm-m68k/timer.h Timer structure and definition- include/asm-m68k/types.h Data types definition- include/asm-m68k/uart.h Uart structure and definition- include/asm-m68k/u-boot.h u-boot structure- include/configs/M5475EVB.h Board specific configuration file- lib_m68k/board.c board init function- lib_m68k/cache.c- lib_m68k/interrupts Coldfire common interrupt functions- lib_m68k/m68k_linux.c- lib_m68k/traps.c Exception init code1 MCF547x specific Options/Settings====================================1.1 pre-loader is no longer suppoer in thie coldfire family1.2 Configuration settings for M5475EVB Development BoardCONFIG_MCF547x_8x -- define for all MCF547x_8x CPUsCONFIG_M547x -- define for all Freescale MCF547x CPUsCONFIG_M5475 -- define for M5475EVB boardCONFIG_MCFUART -- define to use common CF Uart driverCFG_UART_PORT -- define UART port number, start with 0, 1 and 2CONFIG_BAUDRATE -- define UART baudrateCONFIG_FSLDMAFEC -- define to use common dma FEC driverCONFIG_NET_MULTI -- define to use multi FEC in u-bootCONFIG_MII -- enable to use MII driverCONFIG_CF_DOMII -- enable to use MII feature in cmd_mii.cCFG_DISCOVER_PHY -- enable PHY discoveryCFG_RX_ETH_BUFFER -- Set FEC Receive bufferCFG_FAULT_ECHO_LINK_DOWN--CFG_FEC0_PINMUX -- Set FEC0 Pin configurationCFG_FEC1_PINMUX -- Set FEC1 Pin configurationCFG_FEC0_MIIBASE -- Set FEC0 MII base registerCFG_FEC1_MIIBASE -- Set FEC0 MII base registerMCFFEC_TOUT_LOOP -- set FEC timeout loopCONFIG_HAS_ETH1 -- define to enable second FEC in u-bootCONFIG_CMD_USB -- enable USB commandsCONFIG_USB_OHCI_NEW -- enable USB OHCI driverCONFIG_USB_STORAGE -- enable USB Storage deviceCONFIG_DOS_PARTITION -- enable DOS read/writeCONFIG_SLTTMR -- define to use SLT timerCONFIG_FSL_I2C -- define to use FSL common I2C driverCONFIG_HARD_I2C -- define for I2C hardware supportCONFIG_SOFT_I2C -- define for I2C bit-bangedCFG_I2C_SPEED -- define for I2C speedCFG_I2C_SLAVE -- define for I2C slave addressCFG_I2C_OFFSET -- define for I2C base address offsetCFG_IMMR -- define for MBAR offsetCONFIG_PCI -- define for PCI supportCONFIG_PCI_PNP -- define for Plug n play supportCONFIG_SKIPPCI_HOSTBRIDGE -- SKIP PCI Host bridgeCFG_PCI_MEM_BUS -- PCI memory logical offsetCFG_PCI_MEM_PHYS -- PCI memory physical offsetCFG_PCI_MEM_SIZE -- PCI memory sizeCFG_PCI_IO_BUS -- PCI IO logical offsetCFG_PCI_IO_PHYS -- PCI IO physical offsetCFG_PCI_IO_SIZE -- PCI IO sizeCFG_PCI_CFG_BUS -- PCI Configuration logical offsetCFG_PCI_CFG_PHYS -- PCI Configuration physical offsetCFG_PCI_CFG_SIZE -- PCI Configuration sizeCFG_MBAR -- define MBAR offsetCONFIG_MONITOR_IS_IN_RAM -- Not supportCFG_INIT_RAM_ADDR -- defines the base address of the MCF547x internal SRAMCFG_CSn_BASE -- defines the Chip Select Base registerCFG_CSn_MASK -- defines the Chip Select Mask registerCFG_CSn_CTRL -- defines the Chip Select Control registerCFG_SDRAM_BASE -- defines the DRAM Base2. MEMORY MAP UNDER U-BOOT AND LINUX KERNEL===========================================2.1. System memory map: Flash: 0xFF800000-0xFFFFFFFF (8MB) DDR: 0x00000000-0x3FFFFFFF (1024MB) SRAM: 0xF2000000-0xF2000FFF (4KB) PCI: 0x70000000-0x8FFFFFFF (512MB) IP: 0xF0000000-0xFFFFFFFF (256MB)3. COMPILATION==============3.1 To create U-Boot the gcc-4.x compiler set (ColdFire ELF or uclinux version) from codesourcery.com was used. Download it from: http://www.codesourcery.com/gnu_toolchains/coldfire/download.html3.2 Compilation export CROSS_COMPILE=cross-compile-prefix cd u-boot-1.x.x make distclean make M5475AFE_config, or - boot 2MB, RAM 64MB make M5475BFE_config, or - boot 2MB, code 16MB, RAM 64MB make M5475CFE_config, or - boot 2MB, code 16MB, Video, USB, RAM 64MB make M5475DFE_config, or - boot 2MB, USB, RAM 64MB make M5475EFE_config, or - boot 2MB, Video, USB, RAM 64MB make M5475FFE_config, or - boot 2MB, code 32MB, Video, USB, RAM 128MB make M5475GFE_config, or - boot 2MB, RAM 64MB make5. SCREEN DUMP==============5.1U-Boot 1.3.1 (Jan 8 2008 - 12:47:44)CPU: Freescale MCF5475 CPU CLK 266 Mhz BUS CLK 133 MhzBoard: Freescale FireEngine 5475 EVBI2C: readyDRAM: 64 MBFLASH: 18 MBIn: serialOut: serialErr: serialNet: FEC0, FEC1-> pribootdelay=1baudrate=115200ethaddr=00:e0:0c:bc:e5:60eth1addr=00:e0:0c:bc:e5:61ipaddr=192.162.1.2serverip=192.162.1.1gatewayip=192.162.1.1netmask=255.255.255.0hostname=M547xEVBnetdev=eth0loadaddr=10000u-boot=u-boot.binload=tftp ${loadaddr) ${u-boot}upd=run load; run progprog=prot off bank 1;era ff800000 ff82ffff;cp.b ${loadaddr} ff800000 ${filesize};savestdin=serialstdout=serialstderr=serialethact=FEC0mem=65024kEnvironment size: 433/8188 bytes-> bdinmemstart = 0x00000000memsize = 0x04000000flashstart = 0xFF800000flashsize = 0x01200000flashoffset = 0x00000000sramstart = 0xF2000000sramsize = 0x00001000mbar = 0xF0000000busfreq = 133.333 MHzpcifreq = 0 MHzethaddr = 00:E0:0C:BC:E5:60eth1addr = 00:E0:0C:BC:E5:61ip_addr = 192.162.1.2baudrate = 115200 bps-> ?? - alias for 'help'autoscr - run script from memorybase - print or set address offsetbdinfo - print Board Info structureboot - boot default, i.e., run 'bootcmd'bootd - boot default, i.e., run 'bootcmd'bootelf - Boot from an ELF image in memorybootm - boot application image from memorybootp - boot image via network using BootP/TFTP protocolbootvx - Boot vxWorks from an ELF imagecmp - memory compareconinfo - print console devices and informationcp - memory copycrc32 - checksum calculationdcache - enable or disable data cacheecho - echo args to consoleerase - erase FLASH memoryflinfo - print FLASH memory informationgo - start application at address 'addr'help - print online helpicache - enable or disable instruction cacheicrc32 - checksum calculationiloop - infinite loop on address rangeimd - i2c memory displayiminfo - print header information for application imageimls - list all images found in flashimm - i2c memory modify (auto-incrementing)imw - memory write (fill)inm - memory modify (constant address)iprobe - probe to discover valid I2C chip addressesitest - return true/false on integer compareloadb - load binary file over serial line (kermit mode)loads - load S-Record file over serial lineloady - load binary file over serial line (ymodem mode)loop - infinite loop on address rangemd - memory displaymii - MII utility commandsmm - memory modify (auto-incrementing)mtest - simple RAM testmw - memory write (fill)nfs - boot image via network using NFS protocolnm - memory modify (constant address)pci - list and access PCI Configuration Spaceping - send ICMP ECHO_REQUEST to network hostprintenv- print environment variablesprotect - enable or disable FLASH write protectionrarpboot- boot image via network using RARP/TFTP protocolreset - Perform RESET of the CPUrun - run commands in an environment variablesaveenv - save environment variables to persistent storagesetenv - set environment variablessleep - delay execution for some timetftpboot- boot image via network using TFTP protocolusb - USB sub-systemusbboot - boot from USB deviceversion - print monitor version-> usb start(Re)start USB...USB: OHCI pci controller (1131, 1561) found @(0:17:0)OHCI regs address 0x80000000scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -