TsiChungLiew | 3467469 | 2007-08-16 13:20:50 -0500 | [diff] [blame] | 1 | Freescale Amadeus Plus M5253EVBE board |
| 2 | ====================================== |
| 3 | |
| 4 | Hayden Fraser(Hayden.Fraser@freescale.com) |
| 5 | Created 06/05/2007 |
| 6 | =========================================== |
| 7 | |
| 8 | |
| 9 | 1. SWITCH SETTINGS |
| 10 | ================== |
| 11 | 1.1 N/A |
| 12 | |
| 13 | |
| 14 | 2. MEMORY MAP UNDER U-BOOT AND LINUX KERNEL |
| 15 | =========================================== |
| 16 | 2.1. For the initial bringup, we adopted a consistent memory scheme between u-boot and |
| 17 | linux kernel, you can customize it based on your system requirements: |
| 18 | SDR: 0x00000000-0x00ffffff |
| 19 | SRAM0: 0x20010000-0x20017fff |
| 20 | SRAM1: 0x20000000-0x2000ffff |
Stefan Roese | fe9dae6 | 2007-08-18 14:33:02 +0200 | [diff] [blame] | 21 | MBAR1: 0x10000000-0x4fffffff |
TsiChungLiew | 3467469 | 2007-08-16 13:20:50 -0500 | [diff] [blame] | 22 | MBAR2: 0x80000000-0xCfffffff |
Stefan Roese | fe9dae6 | 2007-08-18 14:33:02 +0200 | [diff] [blame] | 23 | Flash: 0xffe00000-0xffffffff |
TsiChungLiew | 3467469 | 2007-08-16 13:20:50 -0500 | [diff] [blame] | 24 | |
| 25 | 3. DEFINITIONS AND COMPILATION |
| 26 | ============================== |
| 27 | 3.1 Explanation on NEW definitions in include/configs/M5253EVBE.h |
Stefan Roese | fe9dae6 | 2007-08-18 14:33:02 +0200 | [diff] [blame] | 28 | CONFIG_MCF52x2 Processor family |
TsiChungLiew | 3467469 | 2007-08-16 13:20:50 -0500 | [diff] [blame] | 29 | CONFIG_MCF5253 MCF5253 specific |
| 30 | CONFIG_M5253EVBE Amadeus Plus board specific |
| 31 | CFG_CLK Define Amadeus Plus CPU Clock |
| 32 | CFG_MBAR MBAR base address |
| 33 | CFG_MBAR2 MBAR2 base address |
| 34 | |
| 35 | 3.2 Compilation |
| 36 | export CROSS_COMPILE=/usr/local/freescale-coldfire-4.1-elf/bin/m68k-elf- |
| 37 | cd u-boot-1-2-x |
| 38 | make distclean |
| 39 | make M5253EVBE_config |
| 40 | make |
| 41 | |
| 42 | |
| 43 | 4. SCREEN DUMP |
| 44 | ============== |
| 45 | 4.1 U-Boot 1.2.0 (Jun 18 2007 - 18:20:00) |
| 46 | |
| 47 | CPU: Freescale Coldfire MCF5253 at 62 MHz |
| 48 | Board: Freescale MCF5253 EVBE |
| 49 | DRAM: 16 MB |
| 50 | FLASH: 2 MB |
| 51 | In: serial |
| 52 | Out: serial |
| 53 | Err: serial |
| 54 | => flinfo |
| 55 | |
| 56 | Bank # 1: CFI conformant FLASH (16 x 16) Size: 2 MB in 35 Sectors |
| 57 | AMD Standard command set, Manufacturer ID: 0x01, Device ID: 0x49 |
| 58 | Erase timeout: 16384 ms, write timeout: 1 ms |
| 59 | |
| 60 | Sector Start Addresses: |
| 61 | FFE00000 RO FFE04000 RO FFE06000 RO FFE08000 RO FFE10000 RO |
| 62 | FFE20000 FFE30000 FFE40000 FFE50000 FFE60000 |
| 63 | FFE70000 FFE80000 FFE90000 FFEA0000 FFEB0000 |
| 64 | FFEC0000 FFED0000 FFEE0000 FFEF0000 FFF00000 |
| 65 | FFF10000 FFF20000 FFF30000 FFF40000 FFF50000 |
| 66 | FFF60000 FFF70000 FFF80000 FFF90000 FFFA0000 |
| 67 | FFFB0000 FFFC0000 FFFD0000 FFFE0000 FFFF0000 |
| 68 | |
| 69 | => bdinfo |
| 70 | boot_params = 0x00F62F90 |
| 71 | memstart = 0x00000000 |
| 72 | memsize = 0x01000000 |
| 73 | flashstart = 0xFFE00000 |
| 74 | flashsize = 0x00200000 |
| 75 | flashoffset = 0x00000000 |
| 76 | baudrate = 19200 bps |
| 77 | |
| 78 | => printenv |
| 79 | bootdelay=5 |
| 80 | baudrate=19200 |
| 81 | stdin=serial |
| 82 | stdout=serial |
| 83 | stderr=serial |
| 84 | |
| 85 | Environment size: 134/8188 bytes |
| 86 | => saveenv |
| 87 | Saving Environment to Flash... |
| 88 | Un-Protected 1 sectors |
| 89 | Erasing Flash... |
| 90 | . done |
| 91 | Erased 1 sectors |
| 92 | Writing to Flash... done |
| 93 | Protected 1 sectors |
| 94 | => |
| 95 | |
| 96 | 5. COMPILER |
| 97 | ----------- |
| 98 | To create U-Boot the CodeSourcery's version of the GNU Toolchain for the ColdFire architecture |
| 99 | compiler set (freescale-coldfire-4.1-elf) from www.codesourcery.com was used. |
| 100 | You can download it from:http://www.codesourcery.com/gnu_toolchains/coldfire/download.html |
| 101 | |
| 102 | compiler that you used - for example, codesourcery_elf requires -MQ in rules.mk, old M68K 2.95.3 just -M |
| 103 | codesourcery_elf requires -MQ in rules.mk, old M68K 2.95.3 just -M |