Giter Site home page Giter Site logo

nezticle / buildroot-rpi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from valentincupif/buildroot-rpi

3.0 2.0 0.0 31.33 MB

Raspberry Pi Qt5 WebKit + Gstreamer Distribution based on Buildroot

Home Page: www.metrological.com

License: GNU General Public License v2.0

Arc 0.04% Shell 11.39% CSS 0.12% Perl 1.87% C 60.75% C++ 6.41% Python 19.41%

buildroot-rpi's Introduction

Buildroot for Raspberry Pi

This buildroot fork will produce a very light-weight and trimmed down toolchain, rootfs and kernel for the Raspberry Pi. It also includes Qt5 WebKit and Gstreamer libraries / plugins.

A reference browser implementation "mlbrowser" is installed by default.

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

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 f2fs-tools

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

Building

git clone git://github.com/albertd/buildroot-rpi.git
cd buildroot-rpi
make rpi_defconfig
make menuconfig      # if you want to add packages
make                 # build (NOTICE: Don't use the **-j** switch, it's set to auto-detect)

Deploying

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

Alternatively, you can use the F2FS filesystem (http://en.wikipedia.org/wiki/F2FS). In this case your host machine requires kernel version 3.8 or higher.

# run the following as root
mkfs.f2fs -l rootfs /dev/sdx2
mkdir -p /media/rootfs
mount -t f2fs /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
sed -i /media/rootfs/etc/fstab -e "s/ext4/f2fs/" # only if F2FS is used
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

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 DASH plugin, please contact us at [email protected]

buildroot-rpi's People

Contributors

albertd avatar aldot avatar allannielsen avatar arnout avatar baruchsiach avatar cmchao avatar correa avatar culssw avatar danomimanchego123 avatar djdeath avatar erikbandersen avatar fperrad avatar gtalis avatar gustavoz avatar jacmet avatar lucaceresoli avatar martinbanky avatar mripard avatar mrothnet avatar nkukard avatar patrickdepinguin avatar pauliuszaleckas avatar sjhill71 avatar spdawson avatar tpetazzoni avatar tsed avatar vapier avatar willnewton avatar yann-morin-1998 avatar yegorich avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  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.