mobile version

Building a Linux distribution for the UNISIM ppcemu-system Simulator

The UNISIM ppcemu-system Simulator can easily run a minimalist Linux distribution for a PowerMac G4 PCI like machine. We propose you to build a mini Linux distribution based on Busybox and including the MiBench version 1 benchmark suite.

1. What you get after the build ?

You get a mini Linux Distribution adapted for the UNISIM ppcemu-system Simulator. The distribution is based on Busybox and the MiBench version 1 benchmark suite. At least two files are needed to boot Linux in the simulator:
  • A Linux kernel:
    vmlinux
  • An initial RAM disk image (a root file system):
    initrd.img
    initrd_automotive_basicmath_large.img
    initrd_automotive_basicmath_small.img
    initrd_automotive_bitcount_large.img
    initrd_automotive_bitcount_small.img
    initrd_automotive_qsort_large.img
    initrd_automotive_qsort_small.img
    initrd_automotive_susan_large.img
    initrd_automotive_susan_small.img
    initrd_consumer_jpeg_large.img
    initrd_consumer_jpeg_small.img
    initrd_consumer_lame_large.img
    initrd_consumer_lame_small.img
    initrd_consumer_mad_large.img
    initrd_consumer_mad_small.img
    initrd_consumer_tiff2bw_large.img
    initrd_consumer_tiff2bw_small.img
    initrd_consumer_tiff2rgba_large.img
    initrd_consumer_tiff2rgba_small.img
    initrd_consumer_tiffdither_large.img
    initrd_consumer_tiffdither_small.img
    initrd_consumer_tiffmedian_large.img
    initrd_consumer_tiffmedian_small.img
    initrd_consumer_typeset_large.img
    initrd_consumer_typeset_small.img
    initrd_network_dijkstra_large.img
    initrd_network_dijkstra_small.img
    initrd_network_patricia_large.img
    initrd_network_patricia_small.img
    initrd_office_rsynth_large.img
    initrd_office_rsynth_small.img
    initrd_office_sphinx.img
    initrd_office_stringsearch_large.img
    initrd_office_stringsearch_small.img
    initrd_security_blowfish_large.img
    initrd_security_blowfish_small.img
    initrd_security_pgp.img
    initrd_security_rijndael_large.img
    initrd_security_rijndael_small.img
    initrd_security_sha_large.img
    initrd_security_sha_small.img
    initrd_telecomm_adpcm_large.img
    initrd_telecomm_adpcm_small.img
    initrd_telecomm_crc32_large.img
    initrd_telecomm_crc32_small.img
    initrd_telecomm_fft_large.img
    initrd_telecomm_fft_small.img
    initrd_telecomm_gsm_large.img
    initrd_telecomm_gsm_small.img

2. Requirements

  • A GNU cross tool-chain: follow the instructions here
  • Binaries and data sets of the MiBench version 1 benchmark suite: download
  • make 3.81 (will not work with make 3.82)

3. Get the material

Download that tarball. It contains all the necessary material (scripts and source codes) to get a mini Linux distro for the UNISIM ppcemu-system Simulator.

4. Uncompress the tarball

$ tar zxvf unisim-ppcemu-system-linux-distro-source-v5.tar.gz

5. Build the Linux distribution

Run the building script:
$ cd unisim-ppcemu-system-linux-distro-source-v5
$ ./build.sh all ${HOME}/mibench-v1-bin-powerpc-7450-linux-gnu-v5 ${HOME}/crosstool-source-v4/powerpc-7450-linux-gnu

Adjust the arguments of the building script to your cross tool-chain and MiBench installations. Be patient...the process of building the Linux distribution is quite long.

Archive

What's new ?

The web site has been migrated to a new server. Please note that contact mails have changed too. More to come…stay tuned!

Virtual Platforms

Highlights

Acknowledgments

Digiteo
We would like to thank Digiteo that supported us in making the UNISIM virtual platforms available to the community.

Exhibition

HiPEAC
We presented a poster at the poster sessions of the HiPEAC'12 conference, January 23-25, 2012, Paris, France. The HiPEAC conference provides a forum for experts in computer architecture, programming models, compilers, and operating systems for embedded and general-purpose systems. The conference aims at the dissemination of advanced scientific knowledge and the promotion of international contacts among scientists from academia and industry.

On-going evaluation

OPEES
A UNISIM virtual platform of a Xilinx Virtex-5 FXT is being evaluated by project partners in the context of OPEES (Open Platform for the Engineering of Embedded Systems), a European project that aims to ensure long-term availability of critical / embedded systems engineering technologies to secure industry competitiveness and development.