User Tools

Site Tools

vmware.png nfs.png tftp.png subversion.png eclipse.png logo.png tutorial.png

Installation of the ELDK Toolchain

This manual is related to following versions:

  • Ubuntu 10.04 i386 (VMware virtual Maschine)
  • ELDK 4.2 (2008-04-01)

ELDK source

The ftp download server for the iso image of the ELDK CD is: ftp://ftp.denx.de/pub/eldk/4.2/ppc-linux-x86/iso/ppc-2008-04-01.iso

Installing ELDK

Before running the installation you have to create a direcotry for the installation. After that you can run the install skript.

tq@ubuntu:/media/ppc-2008-04-01$ sudo mkdir /opt/eldk
tq@ubuntu:/media/ppc-2008-04-01$ sudo chown tq:tq /opt/eldk
tq@ubuntu:/media/ppc-2008-04-01$ ./install -d /opt/eldk ppc_85xxDP

After a successful run of the install skript you need to make the ELDK rootfs able to boot. Run the two skripts with sudo enabled.

tq@ubuntu:/media/ppc-2008-04-01$ sudo ./ELDK_MAKEDEV -d /opt/eldk/
tq@ubuntu:/media/ppc-2008-04-01$ sudo ./ELDK_FIXOWNER -d /opt/eldk/

Configuring the ELDK Cross Compiler

The configuration of the environment variables $PATH and $CROSS_COMPILE should be written in the file /opt/eldk/setup_eldk.

tq@ubuntu:/opt/eldk$ echo 'PATH=$PATH:/opt/eldk/usr/bin:/opt/eldk/bin
export CROSS_COMPILE="ppc_85xxDP-"
export ARCH=powerpc' > setup_eldk & chmod u+x setup_eldk

To use the ELDK toolchain for cross compiling you can simply source the created configuration file.

tq@ubuntu:~$ source /opt/eldk/setup_eldk

If you are using just this version of ELDK with only one architecture you can write the settings permanent in the file ~/.bashrc. Open your favourite texteditor and and append the following line.

source /opt/eldk/setup_eldk

Alternatively you can do it with a small command:

tq@ubuntu:~$ echo 'source /opt/eldk/setup_eldk' >> ~/.bashrc

en/tqmp2020/installation_eldk_toolchain.txt · Last modified: 2011/11/28 10:33 by twaldecker


TQ-Systems GmbH provides the Board Support Packages (BSP) free of charge. The software included in the shipment has been configured individually for the starter kits. The software is only intended to evaluate the module. The use of the Board Support Packages (BSP) is only allowed within the scope of functionality described by TQ-Systems GmbH. TQ-Systems GmbH does not accept any liability for all further changes of the Board Support Package and for any damage resulting from its use.

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki