Start / FAQ / Compile the firmware / Build Firmware from Linux

How to set up the Linux tool chain

What is required to build the firmware yourself and what configuration settings are to be used.

Required Software Packets

In most cases the required tools are provided together with your software distribution.

For developers:

  • automake
  • autoconf

To build the firmware:

  • make
  • binutils
  • avr-gcc

To download the firmware to your controler:

  • avrdude

When using a JTAG ICE connected to USB:

 avrdude -p m1280 -c jtag2 -P usb hlog/hlog.hex

Debugging:

  • avarice
  • avr-gdb

The lists below will show the version numbers we used so far in brackets. There is a good chance that other versions are working as well.

Debian

  • automake (1:1.11.1-1)
  • autoconf (2.67-2)
  • make (3.81-8)
  • binutils-avr (2.20.1-1)
  • gcc-avr (1:4.3.5-1)
  • avrdude (2.10-3)
  • avarice (5.10-3)
  • gdb-avr (6.4.90.dfsg-3)

Gentoo

0. autotools are part of the distribution
1. Install Cross-Toolchain-Generator "crossdev":

 # emerge -av sys-devel/crossdev

2. Install Cross-Toolchain for AVR:

 # crossdev -S --target avr

3. Install avrdude:

 # emerge -av dev-embedded/avrdude