Changes between Version 2 and Version 3 of TBR/BSP/Gen5200


Ignore:
Timestamp:
Jun 21, 2007, 12:19:14 AM (12 years ago)
Author:
JoelSherrill
Comment:

Added info on EP5200C, IceCube?, and 5200 Lite

Legend:

Unmodified
Added
Removed
Modified
  • TBR/BSP/Gen5200

    v2 v3  
    33
    44This BSP supports boards based on the Freescale MPC5200 microcontroller. The following boards are known to work with this BSP:
     5=  Freescape 5200 Lite  =
     6
     7This was the evaluation board from Freescale.  It is also known as the Ice Cube.  Its design appears to have been used largely unchanged by multiple board vendors.  There is a lot of information on the WWW for this board.  The information on this page was based upon using an EP5200C clone of this board and is untested on the real 5200 Lite but should apply.
     8
     9 *  How to flash U-Boot -  http://emsys.denayer.wenk.be/emcam/Linux_on_MPC5200_(UK).pdf
     10
     11Once you link an RTEMS application based on the gen5200 BSP, you have a file in ELF format.  The following sequence converts it to an U-Boot image format:
     12
     13{{{
     14powerpc-rtems4.8-objcopy -R -S -O binary hello.exe hello.bin
     15cat hello.bin | gzip -9 >hello.gz
     16/opt/embedded/tools/usr/bin/mkimage \
     17  -A ppc -O rtems -T kernel -a 0x40000 -e 0x40000 -n "RTEMS" \
     18  -d hello.gz hello.img
     19}}}
     20
     21The above takes the ELF image which is linked to load at 0x40000 and converts it to a binary file, zips it, and then converts it to an U-Boot image.  This image can be loaded at executed with the following U-Boot command sequence:
     22
     23{{{
     24tftp 1000000 hello.img
     25bootm
     26}}}
     27
     28This places the image hello.img at 0x1000000 in RAM.  The bootm command unzips it to its executable location starting at 0x40000 and transfers executable control to its entry point.
     29
     30WARNING: Be careful that the executable's location and where the image is place in RAM do not overlap for the duration of the unzip process.
     31
     32The details of setting up the network configuration and automatic boot options are in the U-Boot manual.
     33=  Embedded Planet EP5200C  =
     34
     35
     36This is a clone of the Freescale 5200 Lite evaluation board.  It ships with Motorola's dBug as the ROM monitor.     It is easy to flash U-Boot onto this board. 
     37
     38Be warned that dBug defaults to 9600 baud and U-Boot to 115200 baud.  Embedded Planet ships a pre-compiled RAM based GNU/Linux kernel which uses a 9600 baud console.  So be careful when switching back and forth to test.
     39
     40The BSP for this board is a bit different from the others in that it is built WITHOUT vectors.  Since this BSP variant only runs via U-Boot, we assume that loading the vectors section trashes U-Boot somehow and the download does not complete.
    541=  BRS5L  =
    642
    7 This is a project specific module
     43This is a project specific module.
    844
    945=  PM520_CR825  =
     
    2864 *  RTC
    2965 *  2 CAN interfaces
    30 =  Embedded Planets EP5200C  =
    3166
    32 
    33 Ships with Motorola dBug.  This can easily be replaced with U-Boot once you realize this is the same as the Freescale Lite5200 a.k.a. IceCube.
    34 
    35 {{{
    36 more here
    37 }}}
    3867=  Test Reports  =
    3968
     69CVS Head 2007-06-20: [wiki:TBR/User/JoelSherrill JoelSherrill] reports that he has run most tests successfully on an EP5200C.  Some tmtests exit with an Exception 3 but still report reasonable times.
     70
    40714.7-branch-2006-11-18: Thomas Doerfler has reported, that the PM520_ZE30 seems to work out of the box with this snapshot on a PM520_ZE30. Tests executed: ticker.