# Uncompress the example cd /tmp tar xvzf xenotest.tgz # Prepare Stuff... tar xvzf mkfs-4.tgz #NOTICE: You _NEED_ version -4! tar xvjf binaries-xeno.tar.bz2 tar xvjf kern-headers-xeno.tar.bz2 # Now, uncompress the cross-compiler and properly set your PATH! wget http://disi.unitn.it/~abeni/RTOS/Cross/cross-arm.tgz #NOTICE: This is the new version! export PATH=$PATH:/tmp/cross-arm/tools/bin export LD_LIBRARY_PATH=/tmp/cross-arm/tools/lib #NOTE: If you uncompressed it somewhere else than in /tmp, change the trailing "/tmp" in the "export ..." stuff cd initramfs-scripts ./mkfs.sh cd .. # Copy xenomai modules in place cp -r Xeno/lib/modules rootfs/lib # To compile Kernel Space: cd RTTest make -C /tmp/l-head M=/tmp/RTTest ARCH=arm CROSS_COMPILE=arm-unknown-linux-gnu- cp posix-test.ko /tmp/rootfs cd .. # Rebuild the image cd /tmp/rootfs find . | cpio -o -H newc | gzip > ../newfs.img cd .. # Test with Qemu Qemu/bin/qemu-system-arm -vnc :0 -kernel Xeno/zImage -initrd newfs.img