Hello,

Here's a quick reconstruction of how I got current openSUSE Factory
running on a Raspberry Pi Model B. Unlike Bernhard's image this should
be future-proof (armv6) but is targeting experienced Linux users;
beginners should better wait to download an official 13.1 image.

1.) Build an ARMv6 JeOS rootfs

$ osc co openSUSE:Factory:ARM JeOS.armv6
$ cd openSUSE:Factory:ARM/JeOS.armv6
$ osc build --alternative-project=openSUSE:Factory:ARM images armv6l

Grab from the buildroot
usr/src/packages/KIWI/openSUSE-Factory-ARM-JeOS-rootfs.armv7l-1.12.1.tbz
(version will vary; for some reason it's misnamed armv7l).

Note that the reason I am doing this is that Factory is not publishing
images ATM. And for the same reason the image will contain packages that
have not yet been published, later visible as "(System Package)" in
`zypper se -i -s` on the RPi.

2.) Partition an SD card

Using gnome-disks, parted, fdisk or any other tool of your liking,
format the SD card using MBR partitioning scheme with at least one FAT
partition and one Linux (e.g., ext4) partition. You may need to tweak
the partition type of the FAT partition from "Linux" to "W95 FAT16" or
the like.

3.) Prepare boot partition

Mount the FAT partition.

Download the following packages from
http://download.opensuse.org/repositories/devel:/ARM:/Factory:/Contrib:/RaspberryPi/standard/armv6hl/
* raspberrypi-firmware
* u-boot-rpib
* kernel-raspberrypi

Extract the ./boot/ files from raspberrypi-firmware .rpm to the root of
the FAT partition.

Extract u-boot.bin from u-boot-rpib .rpm as loader.bin to the root of
the FAT partition.

Extract the ./boot/ files from kernel-raspberrypi .rpm to the root of
the FAT partition and copy Image-* file as kernel.img.

config.txt or cmdline.txt files were not strictly necessary in my case.
Cf. Bernhard's image or Google for examples.

4.) Prepare root partition

Mount the ext4 partition.

Extract the rootfs using
# tar xvjf path/to/openSUSE-Factory-ARM-JeOS-rootfs.armv7l-1.12.1.tbz

(I did # rpm2cpio path/to/raspberrypi-gfx-*.rpm | cpio -idvm on top, but
better install it later via zypper when needed).

5.) Have a lot of fun

Sync, unmount, insert the SD card, etc.

Connecting micro USB for power, you should see on HDMI output a colored
rectangle, followed by kernel output with a Raspberry Pi logo.
If you see a black screen only, check the partitioning.
If you see the colored screen only, check the files in FAT partition.

If you get an illegal instruction terminating YaST firstboot, see
Guillaume's libopenssl/openssl workaround. To rerun firstboot
afterwards, touch /var/lib/YaST/reconfig_system followed by reboot.
The fix has been accepted into Base:System and there is no link diff to
openSUSE:Factory, so hopefully by the time you build your JeOS this will
no longer be an issue.

Hint: Having connected the Raspberry Pi to a TV with no wired network
available, I found it handy to use the shared IPv4 setting in GNOME
network preferences on my notebook to have the Raspberry Pi connect to
Wifi/Internet via cable to the notebook - for NTP among other things.

HTH,
Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to