Home Wiki > openSUSE:Raspberry Pi
Sign up | Login

openSUSE:Raspberry Pi

tagline: From openSUSE

Please help to fill this page.

General information

General information can be obtained from several websites:

The Home of raspberrypi.org

 The most useful is the RPI FAQ page at  http://www.raspberrypi.org/faqs]

ARM Mailing list & IRC Chat

Feel free to join the openSUSE ARM mailing :

As well as the #openSUSE-arm IRC irc://irc.freenode.net/opensuse-arm channel for questions or help.

We are also actively looking for people to enable hardware we don't support yet. If you have an armv7 based device that doesn't work yet and are willing to spend some time to get it working with openSUSE, please contact us on the mailing list.

For more on developing the OpenSUSE ARM Distribution have a look at : http://en.opensuse.org/openSUSE:ARM%20distribution%20howto

openSUSE HCL Page and Factory Image

For additional information about openSUSE on the Pi, including how it install the openSUSE Factory Image, see the Hardware Compatibility List page: HCL:Raspberry_Pi

E-Linux Org PI HUB information

The E-Linux Org PI HUB http://elinux.org/RPi_Hub give you a lot of help in case of Setup, Hardware Compabilty , Use cases and more.

RPi Hardware & Basic Setup

see http://elinux.org/RPi_Hardware_Basic_Setup

Custom configuration: config.txt

You can easily modify the Raspberry Pi configuration using the config.txt file from the FAT32 BOOT partition.

All available options are described on Elinux Pages in detail described at :

- http://elinux.org/RPiconfig
- http://elinux.org/RPi_config.txt
- http://elinux.org/R-Pi_ConfigurationFile 
- http://elinux.org/RPi_Advanced_Setup


To setup an SD card read please http://elinux.org/RPi_Easy_SD_Card_Setup

before you can use the current JEOS Images (timestamp 30-03-2014) you must resize the dos part as descripted http://en.opensuse.org/openSUSE:Raspberry_Pi#resizing_jeos_nonbootable_Image_-_dos_boot_part_-_HOWTO

If you boot on your SD card, then SD/MMC works! ;)

USB hosts

Plug an USB stick and mount it:

 mount /dev/sda1 /mnt

And see what is on your stick:

 ls /mnt

Unmount it:

 umount /mnt

Serial Port / Linux Terminal

see http://elinux.org/RPi_Serial_Connection


see http://elinux.org/RPi_Guides#Installing_a_Web_Cam

RPi Verified Peripherals

aka Hardware Compatibly List

i.e mouse , IR , Keyboards , USB Hubs , Soundcards , GPS , and more.

see http://elinux.org/RPi_VerifiedPeripherals

RPi Low-level peripherals

see http://elinux.org/RPi_Low-level_peripherals

S-Video/Composite , Display & Monitor , HDMI , Video, 2D/3D hardware

HDMI , Video, 2D/3D hardware configuration

see http://elinux.org/RPi_VerifiedPeripherals#Display_adapters

Video : http://elinux.org/RPi_config.txt#Video

       and http://elinux.org/RPi_VideoCore_APIs

Wayland RPi configuration

see http://wayland.freedesktop.org/raspberrypi.html

Xorg Configuration

see http://elinux.org/RPi_Xorg_rpi_Driver

  1. This is how I got X11 working with icewm

zypper in --no-recommends icewm xinit xauth xterm \
   xf86-video-fbdev xorg-x11-driver-input

 echo export WINDOWMANAGER=icewm > /etc/profile.d/windowmanager.sh

 # X defaults to vesa without this override:
 cat >/etc/X11/xorg.conf.d/50-device.conf <<EOF

Section "Device"
   Identifier "Default Device"
   Driver "fbdev"

# reboot once 
# startx

LXDE Configuration

Configure X11 Display with LXDE on RPI OpenSuSE
If you expect an LDXE , just install it i.e :

see http://raspberrypi.stackexchange.com/questions/9311/how-to-install-lxde-on-raspbmc

  1. Configure X11 Display with LXDE on RPI OpenSuSE
 zypper install lxde-common lxde-common-branding-openSUSE patterns-openSUSE-lxde yast2-x11 


see http://carreno.me/articles/how-to-install-doom-on-the-raspberry-pi

XBMC configuration

see http://elinux.org/RPi_XBMC

Install Java

see http://elinux.org/RPi_Java_JDK_Installation

RPI openSuSE use Cases

RPI oss 13.1 as Linux Desktop

.. to be written

RPI oss 13.1 as Samba AD

.. to be written

RPi oss 13.1 as Cluster

.. to be written

RPi oss 13.1 as NAS with native ZFS

 I like ZFS as it been the Most Impressive Storange technology on Linux.
 Thus i use that for My ( SMB/SMB2/CIFS/FTP/HTTP/FSP/SCP/SFTP/NFS ) Archive NAS Server.
OpenSuSE work allready on Native ZFS on Linux see OpenSuSEProject page at:

Native ZFS on Linux Build Steps to do

 ZFS on LinuX require currently some manualy solvable Software dependencys.
To Build and run ZFS , this require that the kernel source and the running kernel are the same.
/boot/kernel.img /boot/System.map* /boot/symvers* must FIT to what are at
/usr/src/linux and as well uname -a ( the running kernel )
To selfcompile kernel follow http://en.opensuse.org/HCL:Raspberry_Pi#OpenSuse_self_kernel_compile
Dracut install
 ZFS reqire dracut installed:
zypper in dracut dracut-caps dracut-network dracut-tools

dkms install

ZFS reqire dmks installed:
As the depend "dmks" pkg not build currently build on RPI and it been "noarch" :
open https://build.opensuse.org/package/binaries/home:Bumblebee-Project:Bumblebee/dkms?repository=openSUSE_13.1
wget the dkms-
rpm -i dkms-
rpmbuild -ba /usr/src/packages/dkms.spec
rpm --force --nodeps -i /usr/src/packages/RPMS/noarch/dkms-

Get and Install Source RPM

Download OpenSuSE zfs / spl SRPMS   from packges lists at  13.1_ports :

-rw-r--r-- 1 root root 185404 Dec 26 17:00 spl-0.6.2+git.1386356623-16.1.src.rpm
-rw-r--r-- 1 root root 186936 Dec 26 17:00 spl-dkms-0.6.2+git.1386356623-17.1.src.rpm
-rw-r--r-- 1 root root 186352 Dec 26 17:00 spl-kmod-0.6.2+git.1386356623-17.1.src.rpm
-rw-r--r-- 1 root root 1297331 Dec 26 17:00 zfs-0.6.2+git.1387576353-21.1.src.rpm
-rw-r--r-- 1 root root 19221 Dec 26 17:00 zfs-auto-snapshot-1.0.8_rev20130625-1.1.src.rpm
-rw-r--r-- 1 root root 1293400 Dec 26 17:00 zfs-dkms-0.6.2+git.1387576353-22.1.src.rpm
-rw-r--r-- 1 root root 1292924 Dec 26 17:00 zfs-kmod-0.6.2+git.1387576353-22.1.src.rpm

Then install them:
 rpm -i spl-0.6.2+git.1386356623-16.1.src.rpm 
rpm -i zfs-0.6.2+git.1387576353-21.1.src.rpm
rpm -i spl-dkms-0.6.2+git.1386356623-17.1.src.rpm
rpm -i spl-kmod-0.6.2+git.1386356623-17.1.src.rpm
rpm -i zfs-dkms-0.6.2+git.1387576353-22.1.src.rpm
rpm -i zfs-kmod-0.6.2+git.1387576353-22.1.src.rpm

Build SPL and install it

cd /usr/src/packages/SPECS
rpmbuild -ba spl.spec
rpm --force -U /usr/src/packages/RPMS/armv6hl/spl-0.6.2+git.1386356623-16.1.armv6hl.rpm

Build ZFS and install it

rpm --force   /usr/src/packages/RPMS/armv6hl/zfs-0.6.2+git.1387576353-21.1.armv6hl.rpm \
 /usr/src/packages/RPMS/armv6hl/libnvpair1-0.6.2+git.1387576353-21.1.armv6hl.rpm \
 /usr/src/packages/RPMS/armv6hl/libuutil1-0.6.2+git.1387576353-21.1.armv6hl.rpm \
 /usr/src/packages/RPMS/armv6hl/libzfs2-0.6.2+git.1387576353-21.1.armv6hl.rpm \ 
 /usr/src/packages/RPMS/armv6hl/libzpool2-0.6.2+git.1387576353-21.1.armv6hl.rpm \ 
 /usr/src/packages/RPMS/armv6hl/zfs-devel-0.6.2+git.1387576353-21.1.armv6hl.rpm \
 /usr/src/packages/RPMS/armv6hl/zfs-test-0.6.2+git.1387576353-21.1.armv6hl.rpm \

Build ZFS & SPL dkms and install it

The last steps to get the kernel ( dkms ) modules :
  1. rpm -i /usr/src/packages/RPMS/noarch/spl-dkms-0.6.2+git.1386356623-0.noarch.rpm
  2. rpm -i /usr/src/packages/RPMS/noarch/zfs-dkms-0.6.2+git.1387576353-0.noarch.rpm
  3. lsmod | egrep '(spl|splat|zfs|zcommon|znvpair|zavl)'; date; uname -a

zfs 1183304 0
zcommon 43661 1 zfs
znvpair 80913 2 zfs,zcommon
zavl 5961 1 zfs
zunicode 322708 1 zfs
splat 163965 0
spl 162223 6 zfs,zcommon,znvpair,zavl,zunicode,splat
Thu Dec 26 21:13:08 UTC 2013
Linux ad2 3.11.10-1-raspberrypi #2 PREEMPT Mon Dec 23 13:45:05 UTC 2013 armv6l armv6l armv6l GNU/Linux

 If all Steps succeed you have an Running RPI with ZFS.

Fireing up NAS services

After that setup samba(SMB/SMB2) , lighthttpd ( HTTP ), vsftpd ( FTP/SFTP) , kernel-nfs(NFS/NFSv4) and more as you wisch to have.

Troubleshooting RPi

OSS zypper update fails

In case you get issues updating from older Opensuse 13.1 , timestamp 17.3.2014 with

zypper up -> failed
zypper dist-upgrade -> failed

Just type:

 zypper ref

before update/upgrade.

manualy Update Zypper repos

For those that used b.wiedemans handmade RPI images and jeos bevor 17.3.2014:

The zypper repos have ben changed.
- backup tar cpfz /root/zypper-repro.old.tar.gz /etc/zypp/repos.d
- rm /etc/zypp/repos.d/*
- cd /etc/zypp/repos.d

Then use i.e vi openSUSE-13.1-repo-oss.repo to create the new repro files.

zypper up will ask once per repro to accept the new repro keys answer with "allways" aka "a".

bastard:/etc/zypp/repos.d # cat openSUSE-13.1-repo-oss.repo

bastard:/etc/zypp/repos.d # cat 13.1-Contrib-RPi.repo

bastard:/etc/zypp/repos.d # cat Src-Non-OSS.repo
nagios1:/etc/zypp/repos.d #

ZFS Issues,ZFS Community , BUGZIlla , Github

I case of ZFS on Linux BUGS - please log an Issue at relevant https://github.com/zfsonlinux module.
I case of rpmbuild errors - please log an Issue an opensuse bugzilla.
If you in the mood .. assit the ZoL Community with your skills..

resizing jeos nonbootable Image - dos boot parted usage HOWTO

This bug have been solved on openSUSE 13.1 images with build number 37.1 and later.

Toubleshooting using chroot

This is only required when you get some Troubles i.e kernel panics while try regular Installs.


- have Running RPI Arm Linux on an Emulator or rasperry PI i.e with debian.

- have an SD card reader on USB - sdcard with OpenSuse image

Task : mount i.e your sdcard at sdb df | grep sdb /dev/sdb2 15492400 1502852 13207076 11% / /dev/sdb1 76186 24313 51873 32% /boot

   mount /dev/sdb2 /mnt
   mount /dev/sdb1 /mnt/boot
   chroot /mnt bash
   mount -t proc proc proc/
   mount -t sysfs sys sys/
   mount -o bind /dev dev/

Update from Chroot :

   rpmdb --rebuilddb
   zypper update

RPI Issues

see http://elinux.org/R-Pi_Troubleshooting