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 | =========================================== |
Bin Meng | 7557405 | 2016-02-05 19:30:11 -0800 | [diff] [blame] | 16 | 2.1. For the initial bringup, we adopted a consistent memory scheme between U-Boot and |
TsiChungLiew | 3467469 | 2007-08-16 13:20:50 -0500 | [diff] [blame] | 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 |
Jean-Christophe PLAGNIOL-VILLARD | 0383694 | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 30 | CONFIG_SYS_CLK Define Amadeus Plus CPU Clock |
| 31 | CONFIG_SYS_MBAR MBAR base address |
| 32 | CONFIG_SYS_MBAR2 MBAR2 base address |
TsiChungLiew | 3467469 | 2007-08-16 13:20:50 -0500 | [diff] [blame] | 33 | |
| 34 | 3.2 Compilation |
| 35 | export CROSS_COMPILE=/usr/local/freescale-coldfire-4.1-elf/bin/m68k-elf- |
| 36 | cd u-boot-1-2-x |
| 37 | make distclean |
| 38 | make M5253EVBE_config |
| 39 | make |
| 40 | |
| 41 | |
| 42 | 4. SCREEN DUMP |
| 43 | ============== |
| 44 | 4.1 U-Boot 1.2.0 (Jun 18 2007 - 18:20:00) |
| 45 | |
| 46 | CPU: Freescale Coldfire MCF5253 at 62 MHz |
| 47 | Board: Freescale MCF5253 EVBE |
| 48 | DRAM: 16 MB |
| 49 | FLASH: 2 MB |
| 50 | In: serial |
| 51 | Out: serial |
| 52 | Err: serial |
| 53 | => flinfo |
| 54 | |
| 55 | Bank # 1: CFI conformant FLASH (16 x 16) Size: 2 MB in 35 Sectors |
| 56 | AMD Standard command set, Manufacturer ID: 0x01, Device ID: 0x49 |
| 57 | Erase timeout: 16384 ms, write timeout: 1 ms |
| 58 | |
| 59 | Sector Start Addresses: |
| 60 | FFE00000 RO FFE04000 RO FFE06000 RO FFE08000 RO FFE10000 RO |
| 61 | FFE20000 FFE30000 FFE40000 FFE50000 FFE60000 |
| 62 | FFE70000 FFE80000 FFE90000 FFEA0000 FFEB0000 |
| 63 | FFEC0000 FFED0000 FFEE0000 FFEF0000 FFF00000 |
| 64 | FFF10000 FFF20000 FFF30000 FFF40000 FFF50000 |
| 65 | FFF60000 FFF70000 FFF80000 FFF90000 FFFA0000 |
| 66 | FFFB0000 FFFC0000 FFFD0000 FFFE0000 FFFF0000 |
| 67 | |
| 68 | => bdinfo |
| 69 | boot_params = 0x00F62F90 |
| 70 | memstart = 0x00000000 |
| 71 | memsize = 0x01000000 |
| 72 | flashstart = 0xFFE00000 |
| 73 | flashsize = 0x00200000 |
| 74 | flashoffset = 0x00000000 |
| 75 | baudrate = 19200 bps |
| 76 | |
| 77 | => printenv |
| 78 | bootdelay=5 |
| 79 | baudrate=19200 |
| 80 | stdin=serial |
| 81 | stdout=serial |
| 82 | stderr=serial |
| 83 | |
| 84 | Environment size: 134/8188 bytes |
| 85 | => saveenv |
| 86 | Saving Environment to Flash... |
| 87 | Un-Protected 1 sectors |
| 88 | Erasing Flash... |
| 89 | . done |
| 90 | Erased 1 sectors |
| 91 | Writing to Flash... done |
| 92 | Protected 1 sectors |
| 93 | => |
| 94 | |
| 95 | 5. COMPILER |
| 96 | ----------- |
| 97 | To create U-Boot the CodeSourcery's version of the GNU Toolchain for the ColdFire architecture |
| 98 | compiler set (freescale-coldfire-4.1-elf) from www.codesourcery.com was used. |
| 99 | You can download it from:http://www.codesourcery.com/gnu_toolchains/coldfire/download.html |
| 100 | |
| 101 | compiler that you used - for example, codesourcery_elf requires -MQ in rules.mk, old M68K 2.95.3 just -M |
| 102 | codesourcery_elf requires -MQ in rules.mk, old M68K 2.95.3 just -M |