cmake ../bios/ -DPLATFORM=RASPBERRY_PI1
cmake ../bios/ -DPLATFORM=VERSATILE_PB
cmake ../bios/
rm -rf ./*; \ CC=arm-linux-gnueabihf-gcc cmake ../bios/ -DPLATFORM=RASPBERRY_PI1; \ make; \ arm-linux-gnueabihf-strip arm_bios.elf -o kernel.img; \ cp ../bios/.gdbinit .; \ cp ../prepare-img.sh .
rm -rf ./*; \ cmake ../bios/ \ -DCHECKING=1 \ -DCMAKE_C_COMPILER=arm-linux-gnueabihf-gcc -DPLATFORM=RASPBERRY_PI1; \ make; \ arm-linux-gnueabihf-strip arm_bios.elf -o kernel.img; \ cp ../bios/.gdbinit .; \ cp ../prepare-img.sh .
qemu-system-arm \ -cpu arm1176 -M versatilepb -m 256 -nographic -s -S -monitor stdio \ -kernel arm_bios.elf
git clone https://github.com/raspberrypi/tools.git