[ARCHIVE][June 26, 2013] Building a Linux distribution for the UNISIM ppcemu-system Simulator
This is a deprecated content.
|
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_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_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 Linux host machine with the sudo rights
- 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-v2.tar.gz
5. Build the Linux distribution
Run the building script:$ cd
unisim-ppcemu-system-linux-distro-source-v2
$ ./build.sh all ${HOME}/mibench-v1-bin-powerpc-7450-linux-gnu-v2 ${HOME}/crosstool-source-v2/powerpc-7450-linux-gnu
$ ./build.sh all ${HOME}/mibench-v1-bin-powerpc-7450-linux-gnu-v2 ${HOME}/crosstool-source-v2/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.