Giter Site home page Giter Site logo

ruisebastiao / buildroot-webkit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from metrological/buildroot

1.0 2.0 0.0 39.55 MB

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.

Home Page: metrological.com

License: GNU General Public License v2.0

Makefile 66.17% Arc 0.01% Shell 5.32% Batchfile 0.01% C 17.26% CMake 0.17% Groff 0.01% C++ 2.18% Perl 0.62% Lex 0.28% Yacc 0.64% Python 7.32%

buildroot-webkit's Introduction

Buildroot

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.

Dependencies

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.

Building

git clone git://github.com/metrological/buildroot.git

or

git clone https://github.com/metrological/buildroot.git

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)

make

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
sync
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
sync
umount /media/rootfs

Login

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 http://www.raspberrypi.org/phpBB3/viewtopic.php?f=38&t=43087

Contribute

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]

buildroot-webkit's People

Contributors

jacmet avatar gustavoz avatar tpetazzoni avatar erikbandersen avatar culssw avatar aldot avatar albertd avatar vapier avatar yann-morin-1998 avatar arnout avatar pauliuszaleckas avatar spdawson avatar patrickdepinguin avatar tsed avatar zdobersek avatar sjhill71 avatar philn avatar pwielders avatar yegorich avatar axellin avatar fperrad avatar lucaceresoli avatar djdeath avatar nkukard avatar mripard avatar danomimanchego123 avatar correa avatar spenser309 avatar allannielsen avatar baruchsiach avatar

Stargazers

faaker avatar

Watchers

James Cloos avatar Rui Sebastiao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.