Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Changes between Version 2 and Version 3 of GSoC/GettingStarted


Ignore:
Timestamp:
01/21/09 02:38:00 (15 years ago)
Author:
JoelSherrill
Comment:

Add graphics and structure

Legend:

Unmodified
Added
Removed
Modified
  • GSoC/GettingStarted

    v2 v3  
    22
    33
    4 Page Status: First draft.  Needs review and links added.
     4
     5[[TOC(GSoC/GettingStarted, depth=2)]]
     6
    57
    68GSoC 2008 was the first time the RTEMS Project participated in the Google Summer of Code.  After talking to mentors from other projects, we noticed that we all suffered from a "getting started" issue.  You are more likely to have a successful project for any organization in GSoC if you are able to build their code, run their examples and make minor modifications.  The quicker you cross this hurdle, the sooner you will be doing "real" work.
    79
    8 You will be best served by using a GNU/Linux distribution for which we provide RPMs.  The core RTEMS developers use Fedora.  As of December 2008, Fedora 9 is the preferred choice although we will all upgrade to 10 when the time is right.  We will ALWAYS be on a version that is supported by the distribution.
     10You will be best served by using a GNU/Linux distribution for which we provide RPMs.  The core RTEMS developers use Fedora.  As of January 20 2008, most core RTEMS developers have moved to Fedora 10.  We will ALWAYS be on a version that is supported by the distribution.
     11= Configure a Development Computer =
     12
     13
     14This step involves the following steps.
    915
    1016 *  Install or update GNU/Linux distribution as needed.
    11   *  As you will be compiling code, it is recommended to have a reasonably fast machine.
     17
    1218 *  Install RTEMS Tools (LINK)
     19
     20As you will be compiling code, it is recommended to have a reasonably fast machine.
     21= Configure and Build RTEMS =
     22
     23
    1324 *  Check out RTEMS from CVS (LINK)
    1425 *  Bootstrap RTEMS (LINK)
     
    1728  *  If your project requires a BSP to support TCP/IP of something else not supported by SPARC/sis, then still first try a simple environment like SPARC/sis and then move on to the one that will support your project.  Discuss your project requirements on the RTEMS mailing list and let the community help point you in the right direction.
    1829 *  Build RTEMS for the SPARC/sis BSP
    19  *  Run hello world example in source tree.
     30 *  Run hello world example in source tree. 
    2031 *  Install RTEMS.
    2132 *  Build hello world included in the class-examples CVS module.
    22  *  Run hello world example in the class-examples CVS module.
    23  *  Modify the hello world example in the class-examples CVS module to include your name.  Something like "Hello Fred!".
    24  *  Prove to us that you did this.
    25   *  Send a "cvs diff" of your changes
    26   *  Take a "snapshot" of your modified hello world and send us the png. On GNU/Linux, you should be able to press the "Prnt Scrn" button or use the "xwd" command.
     33 *  Run hello world example in the class-examples CVS module.
     34
     35The sparc-rtems4.10-gdb session with the unmodified hello world will look something like the following:
     36
     37[[Image(SPARC-SIS-HelloWorld.png)]]
     38
     39Note that this image is careful not to show you how to configure or build the executable being run. 
     40= Prove You Can Work On RTEMS =
     41
     42
     43Modify the hello world example in the class-examples CVS module to include your name.  Something like "Hello Fred!". Then send us enough to prove to us that you did this.  We want to know you can work with RTEMS.
     44
     45 *  Send a "cvs diff" of your changes.  This will look something like this:
     46
     47{{{
     48Index: init.c==  =============================================================
     49
     50RCS file: /usr1/CVS/rtems/testsuites/samples/hello/init.c,v
     51retrieving revision 1.15
     52diff -u -r1.15 init.c
     53--- init.c      11 Jan 2008 22:50:10 -0000      1.15
     54+++ init.c      20 Jan 2009 21:13:09 -0000
     55@@ -29,8 +29,9 @@
     56   rtems_task_argument ignored
     57 )
     58 {
     59-  printf( "\n\n*** HELLO WORLD TEST ***\n" );
     60-  printf( "Hello World\n" );
     61-  printf( "*** END OF HELLO WORLD TEST ***\n" );
     62+  printf( "\n\n*** GSOC HELLO WORLD TEST ***\n" );
     63+  printf( "This is Joel's Hello World\n" );
     64+  printf( "Welcome to RTEMS and Google Summer of Code 2009\n" );
     65+  printf( "*** END OF GSOC HELLO WORLD TEST ***\n" );
     66   exit( 0 );
     67 }
     68}}}
     69
     70 *  Take a "snapshot" of your modified hello world and send us the png. On GNU/Linux, you should be able to press the "Prnt Scrn" button or use the "xwd" command.  This is a snapshot that [wiki:User:JoelSherrill  Joel Sherrill] took after running the hello world program with the above changes.
     71
     72[[Image(SPARC-SIS-HelloWorld-Modded.png)]]
    2773
    2874If your project requires more of a test environment than SPARC/sis provides, then repeat the hello world steps on the BSP we help you select.  If your project involves developing a new BSP, then you may want to run on a BSP from the same target architecture on a simulator.  Again we will help you select the BSP.