PS4 - Setup Commands

Execute these commands in Ubuntu to setup the tools you need for developing and running IronKernel:

# install arm cross-compilation toolchain
sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded
sudo apt-get update
sudo apt-get -y install gcc-arm-none-eabi

# install qemu
sudo apt-get -y install qemu qemu-system

# install tmux for debugging screen
sudo apt-get -y install tmux

# install llvm-3.4 from the official repository
wget -O -|sudo apt-key add -
sudo cp /etc/apt/sources.list /etc/apt/sources.list.orig
echo -e "\n# 3.4\ndeb llvm-toolchain-precise-3.4 main\ndeb-src llvm-toolchain-precise-3.4 main\n# Common\ndeb precise main\n" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get -y install llvm-3.4
sudo ln -s /usr/bin/llc-3.4 /usr/bin/llc

Prebuilt Image

Alternatively, you can use this VirtualBox image: This includes all the tools you need for ps4, but may take a few hours to download. (Note that standard unzip may not be able to unzip this file. On Mac OS X, Keka works.)