The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)


Community Workspace/RaspberryPi

From Mer Wiki
< Community Workspace
Revision as of 06:48, 23 September 2012 by Kulve (Talk | contribs)

Jump to: navigation, search

Contents

Mer on Raspberry Pi

This page details the steps required to bring up a development environment which can be used to create a basic Mer image.

The hardware adatation is maintained in the project CE:Adaptation:RaspberryPi

Supported

  • Boot
  • Wired networking

Not supported

  • GFX
  • Video
  • Accelerated X.Org
  • Accelerated Qt
  • Audio
  • GStreamer
  • Qt 5.0
  • Qt 4.8

Install Mer SDK

Using the instructions at http://wiki.merproject.org/wiki/Platform_SDK#Mer_platform_SDK install Mer SDK on your host Linux system. The SDK has been designed to not rely on the host system so you can use your favourite distro.

Get an account on the community OBS server, ping lbt on #mer freenode IRC channel.

edit .oscrc to set server to api.pub.meego.com and set user and password

To test the installation follow the instructions for building the SDK image.

Building a Mer Core Image

Here we use the SDK to build an image which can be written to an sdcard which will include bootloader, kernel and a base filesystem which boots X and starts qmlviewer.

Get kickstart file

curl -k -O  https://github.com/snowcap-electronics/kickstarts/raw/master/rpi/mer-rpi.ks

To work around a mic issue zypper in the following package to the SDK

sudo zypper in syslinux-extlinux

Use the mic tool to create the image using the kickstart file

sudo mic create raw mer-rpi.ks -o . --pkgmgr=yum --arch=armv6l

Once the image has been produced write to your sdcard (you may need to use sudo below if groups are not properly set):

dd of=/dev/sdX if=mer-rpi-mmcblk0p.raw bs=4M

Place in RaspberryPi and boot.

TODO

  • Add: Host SDK Development using gcc
  • Add: QtCreator Instructions

Maintainers

For questions, suggestions and contributions you can ping the following persons in #mer @ Freenode

  • cristi
  • kulve
  • vgrade
  • zuh

Updating packages

bootloader-rpi

git clone https://github.com/raspberrypi/firmware.git
rm firmware/boot/kernel*
tar zcf firmware-boot-<git sha>.tgz firmware/boot

gfx-rpi

git clone https://github.com/raspberrypi/firmware.git
tar zcf firmware-opt-<git sha>.tgz firmware/hardfp/opt/vc/ firmware/opt/vc/

gst-omx-rpi

git clone it://anongit.freedesktop.org/gstreamer/gst-omx
cd gst-omx
git checkout -b raspberry remotes/origin/raspberry
./autogen.sh && make dist
mv gst-omx-0.10.0.1.tar.gz gst-omx-raspberry-0.10.0.1-<git sha>.tar.gz

gst-plugins-bad-free, gst-plugins-base, gstreamer

  • Branched from Mer Core
  • gst-plugins-base upgraded to 0.10.36 (gstreamer was already 0.10.36)
  • Added --with-audioresample-format=float for ARMv6 in gst-plugins-base.spec

kernel-adaptation-rpi

mkimage-rpi

git clone https://github.com/raspberrypi/tools.git
tar zcf tools-mkimage-<git sha>.tar.gz tools/mkimage
Personal tools