Need help with buildroot?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

128 Stars 43 Forks GNU General Public License v2.0 18.2K Commits 6 Opened issues


Buildroot Environment for multiple TV WebKit ports using EGL and GLESv2, supporting WebGL, Canvas, HTML5 Video as a texture and more. One of the target devices supported is the Raspberry PI 2.

Services available


Need anything else?

Contributors list


This buildroot fork will produce a very light-weight and trimmed down toolchain, rootfs and kernel for the multiple targets, including the Raspberry Pi 2. Mainly focused on enabling all HTML5 features WebKit in multiple ports.


You will need to install some packages on your host machine, for e.g. on Ubuntu 12.04:

sudo apt-get install build-essential git subversion cvs unzip whois ncurses-dev bc mercurial

For host machines with kernel 3.8 or higher (e.g. Ubuntu 13.04) you can use the experimental F2FS filesystem:

sudo apt-get install build-essential git subversion cvs unzip whois ncurses-dev bc mercurial f2fs-tools

When creating a VM please allocate a minimal of 30GB disk space.


git clone git://


git clone

followed by

cd buildroot

Select a browser distribution for Qt5WebKit (qtbrowser)

make rpi2_qt5webkit_defconfig

or for WebKit Wayland (wpe)

make rpi2_wpe_defconfig

If you want to add additional packages

make menuconfig

Start the build (NOTICE: Don't use the -j switch, it's set to auto-detect)


Deploying on a Raspberry PI 2

You will need to create two partitions on your sdcard and copy files to the appropriate partitons.

The first (boot) is a small W95 FAT32 (LBA) partition of about 100 MB in size.

Notice you will need to replace sdx in the following commands with the actual device node for your sdcard.

# run the following as root
mkfs.vfat -F 32 -n boot /dev/sdx1
mkdir -p /media/boot
mount /dev/sdx1 /media/boot

You will need to copy all the files in output/images/rpi-firmware and the kernel from output/images/zImage to your boot partition.

# run the following as root
cp output/images/rpi-firmware/* /media/boot
cp output/images/zImage /media/boot
umount /media/boot

The second (rootfs) can be as big in size as you prefer, but with a 200 MB minimum. It should be formatted as ext4.

# run the following as root
mkfs.ext4 -L rootfs /dev/sdx2
mkdir -p /media/rootfs
mount /dev/sdx2 /media/rootfs

You will need to extract output/images/rootfs.tar to the partition, as root.

# run the following as root
tar -xvpsf output/images/rootfs.tar -C /media/rootfs # replace with your mount directory
umount /media/rootfs


You can login to the system using ssh. The default password is set to root. It is configurable with make menuconfig.

ssh [email protected] # replace with your ip address

Forum for the Raspberry PI

Please goto


Would you like to join our team? Drop your details at [email protected] or fork this repository and send us your Pull Requests.

Proprietary Packages

For the proprietary packages, e.g. Gstreamer Codec Pack and PlayReady support, please contact us at [email protected]

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.