Skip to content

Commit

Permalink
Added files for Raspi A/B(+).
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Bouda committed May 28, 2015
1 parent e4d0b7f commit f7a40cb
Show file tree
Hide file tree
Showing 9 changed files with 95 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

[![Join the chat at https://gitter.im/pbouda/brummbeere](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/pbouda/brummbeere?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

Die Brummbeere is an ownCloud audio player written for the Qt framework. The
application was written for embedded systems in mind, so it features a very
Die Brummbeere is an ownCloud audio player written based on the Qt framework.
The application was written for embedded systems in mind, so it features a very
simplistic user interface suitable for low resolutions and optimized for low
energy consumption. It still runs on Linux and Mac. Windows is currently not
supported due to a lack of audio streaming support from password protected
Expand Down
17 changes: 13 additions & 4 deletions doc/raspi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ Raspberry, of course. It is a general guide how to boot a minimal system with
the latest Qt library, including support for touchscreens, OpenGL and
multimedia.

At the moment, this guide is for the Raspberry Pi 2 only, additional
explanations for Raspberry B(+) and A will follow soon. You need to run Linux
to compile your own embedded Linux with `buildroot <http://buildroot.net>`_.
At the moment, this guide is for the Raspberry Pi 2 and Raspberry A/B(+). You
need to run Linux to compile your own embedded Linux with `buildroot
<http://buildroot.net>`_.

As an example for a touchscreen we will use the Tontec 3,5" TFT. It comes with
a nice case that you can see on the picture above. The TFT is `available on
Expand Down Expand Up @@ -128,7 +128,16 @@ the ``buildroot`` folder and load the configuration:
.. code-block:: sh
$ cd buildroot
$ make defconfig BR2_DEFCONFIG=../buildroot-config/brummbeereconfig.buildroot
$ make defconfig BR2_DEFCONFIG=../buildroot-config/brummbeereconfig-raspi2.buildroot
If you want to build Die Brummbeere for Raspberry A/B(+) then choose the "raspi"
configuration file during this step:

.. code-block:: sh
$ cd buildroot
$ make defconfig BR2_DEFCONFIG=../buildroot-config/brummbeereconfig-raspi.buildroot
Adding NTP daemon
.................
Expand Down
68 changes: 68 additions & 0 deletions raspi/buildroot-config/brummbeereconfig-raspi.buildroot
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
BR2_arm=y
BR2_arm1176jzf_s=y
BR2_DEFCONFIG="/home/pbouda/Projects/git-github/brummbeere/raspi/buildroot-raspi/configs/raspberrypi_defconfig"
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="3.19"
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19=y
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_GENERATE_LOCALE="de_DE.UTF-8"
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_TARGET_GENERIC_ROOT_PASSWD="raspi"
BR2_TARGET_GENERIC_GETTY_PORT="tty0"
BR2_ROOTFS_POST_BUILD_SCRIPT="../scripts/postbuild-raspi.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="../scripts/installrootfs.sh"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux.git"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="bb6b4b6b331680bed807605685572d727638bb51"
BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi"
BR2_LINUX_KERNEL_ZIMAGE=y
BR2_PACKAGE_ALSA_UTILS=y
BR2_PACKAGE_ALSA_UTILS_APLAY=y
BR2_PACKAGE_GSTREAMER=y
BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ALSA=y
BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_OGG=y
BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_THEORA=y
BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VORBIS=y
BR2_PACKAGE_GST_PLUGINS_GOOD=y
BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AUTODETECT=y
# BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AVI is not set
BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ID3DEMUX=y
BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_WAVENC=y
BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_FLAC=y
BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC=y
BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SPEEX=y
BR2_PACKAGE_GST_PLUGINS_BAD=y
BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_ID3TAG=y
BR2_PACKAGE_GST_PLUGINS_UGLY=y
BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_LAME=y
BR2_PACKAGE_GST_PLUGINS_UGLY_PLUGIN_MAD=y
BR2_PACKAGE_BITSTREAM_VERA=y
BR2_PACKAGE_DEJAVU=y
BR2_PACKAGE_INCONSOLATA=y
BR2_PACKAGE_LIBERATION=y
BR2_PACKAGE_QT5=y
BR2_PACKAGE_QT5BASE_LICENSE_APPROVED=y
BR2_PACKAGE_QT5BASE_OPENGL_LIB=y
BR2_PACKAGE_QT5BASE_EGLFS=y
BR2_PACKAGE_QT5BASE_DEFAULT_QPA="eglfs"
BR2_PACKAGE_QT5BASE_JPEG=y
BR2_PACKAGE_QT5BASE_PNG=y
BR2_PACKAGE_QT5BASE_ICU=y
BR2_PACKAGE_QT5BASE_TSLIB=y
BR2_PACKAGE_QT5CONNECTIVITY=y
BR2_PACKAGE_QT5GRAPHICALEFFECTS=y
BR2_PACKAGE_QT5IMAGEFORMATS=y
BR2_PACKAGE_QT5MULTIMEDIA=y
BR2_PACKAGE_QT5QUICKCONTROLS=y
BR2_PACKAGE_QT5WEBSOCKETS=y
BR2_PACKAGE_RPI_FIRMWARE=y
BR2_PACKAGE_RPI_USERLAND=y
BR2_PACKAGE_CA_CERTIFICATES=y
BR2_PACKAGE_GNUTLS=y
BR2_PACKAGE_OPENSSL=y
BR2_PACKAGE_LIBDRM=y
BR2_PACKAGE_TIFF=y
BR2_PACKAGE_GLIB_NETWORKING=y
BR2_PACKAGE_DROPBEAR=y
4 changes: 2 additions & 2 deletions raspi/scripts/common/postbuild.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/bash

echo "Netzwerk starten..."
echo "Start network..."
install -m 755 ../userland/target/S41udhcpc $1/etc/init.d/
install -m 755 ../userland/target/S52ntp $1/etc/init.d/
install -m 755 ../userland/target/S90fbcp $1/etc/init.d/
install -m 755 ../userland/target/S99brummbeere $1/etc/init.d/

echo "Apps kopieren..."
echo "Copy config..."
mkdir -p $1/root/.config/Brummbeere/
install ../userland/target/Brummbeere.conf $1/root/.config/Brummbeere/

9 changes: 9 additions & 0 deletions raspi/scripts/postbuild-raspi.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

../scripts/common/postbuild.sh $1

echo "Install apps..."
install -m 755 ../userland/target/raspi/brummbeere $1/usr/bin/
install -m 755 ../userland/target/raspi/fbcp $1/usr/bin/


1 change: 1 addition & 0 deletions raspi/scripts/postbuild-raspi2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

../scripts/common/postbuild.sh $1

echo "Install apps..."
install -m 755 ../userland/target/raspi2/brummbeere $1/usr/bin/
install -m 755 ../userland/target/raspi2/fbcp $1/usr/bin/

Expand Down
Binary file added raspi/userland/target/raspi/brummbeere
Binary file not shown.
Binary file added raspi/userland/target/raspi/fbcp
Binary file not shown.

0 comments on commit f7a40cb

Please sign in to comment.