LEGO Mindstorms EV3


Install Development Tools

    WARNING:          The commands shown are for reference only. Modify IPs and pathes to match your own environment
    --------

    SETUP:            PC running linux terminal
    ------            Active internet connection
                      Get and save following packages in personal folder "~"
                      "arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2"
                      "eclipse-cpp-helios-SR1-linux-gtk.tar.gz"

    CODESOURCERY:     Install CodeSourcery (gcc compiler for kernel and application)       
    -------------
    
cd ~
mkdir ~/CodeSourcery
tar -jxvf ~/arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 -C ~/CodeSourcery/
mv ~/CodeSourcery/arm-2009q1 ~/CodeSourcery/Sourcery_G++_Lite
cat ~/.bashrc | sed '$aexport PATH=~/CodeSourcery/Sourcery_G++_Lite/bin:$PATH' > ~/.bashrcnew
mv ~/.bashrc ~/.bashold
mv ~/.bashrcnew ~/.bashrc
source ~/.bashrc
    
    ECLIPSE:          Install Eclipse (Development environment)
    --------     
                 
cd ~
tar xvfz ~/eclipse-cpp-helios-SR1-linux-gtk.tar.gz -C ~/
    
    JAVA:             Install Java (Runtime for Eclipse)
    -----
    
cd ~
sudo apt-get install openjdk-6-jre

    MKIMAGE:          Install mkimage (used in the "build_kernel" script to compress kernel image)
    --------
    
sudo apt-get install u-boot-tools

    

    Next packages are not needed for compilation to target:
        
    DOXYGEN:          Install Doxygen (Documentation generator)
    --------
    
sudo apt-get install doxygen

    IMAGEMAGICK:      Install ImageMagick (Bitmap convertion)
    ------------
    
sudo apt-get install imagemagick libmagickcore-dev

    X11:              Install X11 (PC simulator graphic interface library)
    ----

sudo apt-get install libx11-xcb-dev
sudo apt-get install libxpm-dev
sudo apt-get install libx11-dev

LEGO® Robotics Firmware Documentation
Confidential Information © 2013 The LEGO Group