Skip to content
Nicholas edited this page Aug 14, 2014 · 5 revisions

Change your directory ( cd ) into your rpi-emulator-buildroot folder. Run git pull to get the latest version. You can optionally run make menuconfig to make any changes to the install. Run make and wait. It will not take as long because if you use a lot of the same packages you selected before they should be already downloaded and just need to be compiled again. After make is completed...

In the rpi-emulator-buildroot folder there should be a output folder containing:

output/images/
+-- rootfs.tar
+-- rpi-firmware
   |   +-- bootcode.bin
   |   +-- config.txt
   |   +-- fixup_cd.dat
   |   +-- fixup.dat
   |   +-- start_cd.elf
   |   +-- start.elf
+-- zImage

You will need to copy the all files in the rpi-firmware folder and the zImage to your boot partition.

# run the following as root
mount /dev/sdx1 /mnt/boot # x being a different letter probably!
cp output/images/rpi-firmware/* /mnt/boot
cp output/zImage /mnt/boot
umount /mnt/boot

Finally the root filesystem needs to be untarred to the main partition.

# run the following as root
mount /dev/sdx2 /mnt/rootfs# x being a different letter probably!
tar -xf output/images/rootfs.tar -C /mnt/rootfs
umount /mnt/rootfs
Clone this wiki locally