1702e6014SWolfgang DenkFreescale Amadeus Plus M5253EVBE board 2702e6014SWolfgang Denk====================================== 3702e6014SWolfgang Denk 4702e6014SWolfgang DenkHayden Fraser(Hayden.Fraser@freescale.com) 5702e6014SWolfgang DenkCreated 06/05/2007 6702e6014SWolfgang Denk=========================================== 7702e6014SWolfgang Denk 8702e6014SWolfgang Denk 9702e6014SWolfgang Denk1. SWITCH SETTINGS 10702e6014SWolfgang Denk================== 11702e6014SWolfgang Denk1.1 N/A 12702e6014SWolfgang Denk 13702e6014SWolfgang Denk 14702e6014SWolfgang Denk2. MEMORY MAP UNDER U-BOOT AND LINUX KERNEL 15702e6014SWolfgang Denk=========================================== 16*a187559eSBin Meng2.1. For the initial bringup, we adopted a consistent memory scheme between U-Boot and 17702e6014SWolfgang Denk linux kernel, you can customize it based on your system requirements: 18702e6014SWolfgang Denk SDR: 0x00000000-0x00ffffff 19702e6014SWolfgang Denk SRAM0: 0x20010000-0x20017fff 20702e6014SWolfgang Denk SRAM1: 0x20000000-0x2000ffff 21702e6014SWolfgang Denk MBAR1: 0x10000000-0x4fffffff 22702e6014SWolfgang Denk MBAR2: 0x80000000-0xCfffffff 23702e6014SWolfgang Denk Flash: 0xffe00000-0xffffffff 24702e6014SWolfgang Denk 25702e6014SWolfgang Denk3. DEFINITIONS AND COMPILATION 26702e6014SWolfgang Denk============================== 27702e6014SWolfgang Denk3.1 Explanation on NEW definitions in include/configs/M5253EVBE.h 28702e6014SWolfgang Denk CONFIG_MCF52x2 Processor family 29702e6014SWolfgang Denk CONFIG_MCF5253 MCF5253 specific 30702e6014SWolfgang Denk CONFIG_M5253EVBE Amadeus Plus board specific 31702e6014SWolfgang Denk CONFIG_SYS_CLK Define Amadeus Plus CPU Clock 32702e6014SWolfgang Denk CONFIG_SYS_MBAR MBAR base address 33702e6014SWolfgang Denk CONFIG_SYS_MBAR2 MBAR2 base address 34702e6014SWolfgang Denk 35702e6014SWolfgang Denk3.2 Compilation 36702e6014SWolfgang Denk export CROSS_COMPILE=/usr/local/freescale-coldfire-4.1-elf/bin/m68k-elf- 37702e6014SWolfgang Denk cd u-boot-1-2-x 38702e6014SWolfgang Denk make distclean 39702e6014SWolfgang Denk make M5253EVBE_config 40702e6014SWolfgang Denk make 41702e6014SWolfgang Denk 42702e6014SWolfgang Denk 43702e6014SWolfgang Denk4. SCREEN DUMP 44702e6014SWolfgang Denk============== 45702e6014SWolfgang Denk4.1 U-Boot 1.2.0 (Jun 18 2007 - 18:20:00) 46702e6014SWolfgang Denk 47702e6014SWolfgang DenkCPU: Freescale Coldfire MCF5253 at 62 MHz 48702e6014SWolfgang DenkBoard: Freescale MCF5253 EVBE 49702e6014SWolfgang DenkDRAM: 16 MB 50702e6014SWolfgang DenkFLASH: 2 MB 51702e6014SWolfgang DenkIn: serial 52702e6014SWolfgang DenkOut: serial 53702e6014SWolfgang DenkErr: serial 54702e6014SWolfgang Denk=> flinfo 55702e6014SWolfgang Denk 56702e6014SWolfgang DenkBank # 1: CFI conformant FLASH (16 x 16) Size: 2 MB in 35 Sectors 57702e6014SWolfgang Denk AMD Standard command set, Manufacturer ID: 0x01, Device ID: 0x49 58702e6014SWolfgang Denk Erase timeout: 16384 ms, write timeout: 1 ms 59702e6014SWolfgang Denk 60702e6014SWolfgang Denk Sector Start Addresses: 61702e6014SWolfgang Denk FFE00000 RO FFE04000 RO FFE06000 RO FFE08000 RO FFE10000 RO 62702e6014SWolfgang Denk FFE20000 FFE30000 FFE40000 FFE50000 FFE60000 63702e6014SWolfgang Denk FFE70000 FFE80000 FFE90000 FFEA0000 FFEB0000 64702e6014SWolfgang Denk FFEC0000 FFED0000 FFEE0000 FFEF0000 FFF00000 65702e6014SWolfgang Denk FFF10000 FFF20000 FFF30000 FFF40000 FFF50000 66702e6014SWolfgang Denk FFF60000 FFF70000 FFF80000 FFF90000 FFFA0000 67702e6014SWolfgang Denk FFFB0000 FFFC0000 FFFD0000 FFFE0000 FFFF0000 68702e6014SWolfgang Denk 69702e6014SWolfgang Denk=> bdinfo 70702e6014SWolfgang Denkboot_params = 0x00F62F90 71702e6014SWolfgang Denkmemstart = 0x00000000 72702e6014SWolfgang Denkmemsize = 0x01000000 73702e6014SWolfgang Denkflashstart = 0xFFE00000 74702e6014SWolfgang Denkflashsize = 0x00200000 75702e6014SWolfgang Denkflashoffset = 0x00000000 76702e6014SWolfgang Denkbaudrate = 19200 bps 77702e6014SWolfgang Denk 78702e6014SWolfgang Denk=> printenv 79702e6014SWolfgang Denkbootdelay=5 80702e6014SWolfgang Denkbaudrate=19200 81702e6014SWolfgang Denkstdin=serial 82702e6014SWolfgang Denkstdout=serial 83702e6014SWolfgang Denkstderr=serial 84702e6014SWolfgang Denk 85702e6014SWolfgang DenkEnvironment size: 134/8188 bytes 86702e6014SWolfgang Denk=> saveenv 87702e6014SWolfgang DenkSaving Environment to Flash... 88702e6014SWolfgang DenkUn-Protected 1 sectors 89702e6014SWolfgang DenkErasing Flash... 90702e6014SWolfgang Denk. done 91702e6014SWolfgang DenkErased 1 sectors 92702e6014SWolfgang DenkWriting to Flash... done 93702e6014SWolfgang DenkProtected 1 sectors 94702e6014SWolfgang Denk=> 95702e6014SWolfgang Denk 96702e6014SWolfgang Denk5. COMPILER 97702e6014SWolfgang Denk----------- 98702e6014SWolfgang DenkTo create U-Boot the CodeSourcery's version of the GNU Toolchain for the ColdFire architecture 99702e6014SWolfgang Denkcompiler set (freescale-coldfire-4.1-elf) from www.codesourcery.com was used. 100702e6014SWolfgang DenkYou can download it from:http://www.codesourcery.com/gnu_toolchains/coldfire/download.html 101702e6014SWolfgang Denk 102702e6014SWolfgang Denkcompiler that you used - for example, codesourcery_elf requires -MQ in rules.mk, old M68K 2.95.3 just -M 103702e6014SWolfgang Denkcodesourcery_elf requires -MQ in rules.mk, old M68K 2.95.3 just -M 104