Version 4 (modified by Alani, on 06/11/07 at 17:33:04) (diff)

improved documentation on how to compile rtems for this bsp


This is an evaluation Board from Analog Devices for the Blackfin 533 CPU. Information can be found here :

The source for RTEMS for the Blackfin CPU is currently only available via CVS checkout. This BSP has a Console Driver for a the built-in UART which supports polling or interrupted mode. It does also have a driver for core clock and timer. The BSP runs in supervisor mode.

The BSP executes on real hardware as well as on the skyeye simulator.


Thanks to Ralphs continous improvements on the RTEMS Toolchain packages you can download automatically generated RPMS of the toolchain from

If you do use a debian based distribution you might add a line like : <blockquote> deb unstable main </blockquote> to your apt.sources

If you want to build your toolchain by yourself : donwload binutils 2.17, gcc 4.2 and newlib 1.15, apply Ralfs patches from RTEMS CVS (inside the contrib directory) and compile the for the bfin-rtems target.

Compiling RTEMS for Blackfin

So far the source for RTEMS for Blackfin is only available in CVS trunk. See RTEMS CVS Repository? on instructions how to checkout from CVS. To compile RTEMS do :

run the bootstrap script in the RTEMS source directory.

run the configure from a directory outside of RTEMS source

../rtems-cvs/configure --target=bfin-rtems --enable-posix --disable-networking --enable-cxx 
    --enable-rtemsbsp=eZKit533 --prefix=/usr/local/rtems


sudo make install

you can find hello world in /usr/local/rtems/bfin-rtems/eZKit533/lib/rtems-4.8/tests/

Skyeye Simulator

The Skyeye Simulator supports Timer and UART. The used skyeye configuration file is :


The current versions 1.2.2 as well as subversion need a small hack to get the rtems timer running. In the file arch/bfin/mach/bf533_io.c change the line

#define BF533_HZ 50

to a value like 70000

Hardware Debugging

During devolping of this BSP the Icebear JTAG adaptor has proved to be very helpful.


  • loading from flash via bfin bootloader (beeing finished by Alain Schäfer)
  • Proper support for Data and Instruction Cache
  • Filesystem support for the on-board flash
  • GDB Stub for debugging via Serial Port

Test Reports

CVS head -- (25 October 2006) Alain Schäfer reports sucessful execution of Hello, Ticker, Paranoia and other tests on the Hardware as well as on Skyeye