vaughan
Posts: 18
Joined: Mon Oct 05, 2015 1:41 am
Location: Perth, Australia
Contact: Website

Fedora 23 Remix for Pi 2B

Mon Nov 09, 2015 11:29 pm

Hi Everyone

I have updated my 'Fedora Remixes' (FedBerry) for the RPi2 to Fedora 23. I'm not sure yet when we will be getting an official Fedora RPi2 spin but in the meantime these remixes should tide you over.

Download images here: http://fedberry.agrez.net
Yum repository here: https://vaughan.fedorapeople.org

As per my previous releases, I have only provided 'minimal' & 'xfce' remixes but I am tinkering around and might provide some other remixes in the future. I want to try to make a bare bones JEOS release at some stage as I still find the minimal release somewhat bloated for my needs.

All sources (SRPMs) and modifications I make are found in the yum repository. If you are concerned about security, then please look at all sources in the SRPMs provided and then rebuild them yourself. All (S)RPMs are signed and the public key is provided in the raspberrypi-repo rpm.

Please read README.pdf and INSTALL.pdf before you install and use these disk images. Again, a big thank you goes to the hard working Fedora developers who make this remix possible.

Regards
Vaughan

malcolmh
Posts: 25
Joined: Fri Jul 29, 2011 3:59 pm
Location: Hull, UK

Re: Fedora 23 Remix for Pi 2B

Thu Nov 12, 2015 6:53 pm

It worked straight out of the box! I am now running headless with VNC.

User avatar
pjb
Posts: 1
Joined: Mon Nov 16, 2015 8:41 pm
Location: Switzerland

Re: Fedora 23 Remix for Pi 2B

Mon Nov 16, 2015 9:03 pm

Excellent. I didn't manage to get spartacus06's image builder to work [0] but this worked the first time. Should the raspberry camera module also work with this image? raspivid seems to be unhappy and suggests I need to run raspi-config.

Thanks again.

[0] https://github.com/spartacus06/rpi2-fedora-image-builder

vaughan
Posts: 18
Joined: Mon Oct 05, 2015 1:41 am
Location: Perth, Australia
Contact: Website

Re: Fedora 23 Remix for Pi 2B

Wed Nov 18, 2015 12:55 am

pjb wrote:Excellent. I didn't manage to get spartacus06's image builder to work [0] but this worked the first time. Should the raspberry camera module also work with this image? raspivid seems to be unhappy and suggests I need to run raspi-config.
I don't include raspi-config in my repo and Fedora doesn't package it. Whilst I don't have a raspberry pi camera module to test with, apparently you need to edit /boot/config.txt and make sure the following lines are included:

Code: Select all

start_x=1  #essential (this enables the camera)
disable_camera_led=1  #optional (if you don't want the led to glow)
Also ensure that you have enough memory (128MB) allocated for the GPU (gpu_mem=128).
After you make the changes to /boot/config.txt, you will need to reboot.

Regards
Vaughan

vaughan
Posts: 18
Joined: Mon Oct 05, 2015 1:41 am
Location: Perth, Australia
Contact: Website

Re: Fedora 23 Remix for Pi 2B

Sun Dec 06, 2015 12:53 pm

Further to my previous comment, I have finally got around to shrinking down the 'minimal' release to a 'mini' release. Its not quite a JEOS release, but more like a 'bares bones' release which is a bit more optimised for the RPi2. I also wanted it to be headless 'out of the box', so root and user passwords are already set.

The main goals of the 'mini' release were:
1) A smaller footprint - its a 71.6 MB compressed (xz) image.

Code: Select all

[raspberry@thepi fedora-23-remix-rpi2-mini-1]$ du -h fedora-23-remix-rpi2-mini-1.raw.xz 
72M     fedora-23-remix-rpi2-mini-1.raw.xz
2) Faster boots times - after the initial boot, which has various initial set up services (eg. sshd-keygen & ldconfig services) it boots in around 4.2 - 4.5 secs. Boot time variation does occur, mainly due to the systemd-journal-flush.service, which seems to take longer to complete, the more you use the OS (you can disable this if you don't need / want your logs to persist across reboots).

Code: Select all

[root@thepi ~]# systemd-analyze 
Startup finished in 1.312s (kernel) + 2.904s (userspace) = 4.217s
3) Less writes to the SD card - Ext4 journaling is now disabled for the / (root) filesystem and /tmp on tmpfs is enabled (but limited to 100MB)

Please read the RELEASE_NOTES.pdf for further important information about the mini release.

I'm not sure how useful this type of release might be for most people but its been a more suitable release for my requirements at present, so I thought I would upload it in the hope that someone else might also find a niche usage for it.

Best Regards
Vaughan

williamjmorenor
Posts: 2
Joined: Tue Nov 24, 2015 4:08 pm

Re: Fedora 23 Remix for Pi 2B

Wed Dec 09, 2015 4:59 pm

Do you build the image with this instructions: https://fedoraproject.org/wiki/Architec ... ng_Remixes?

I am thinking about to build from sources using koji, this can save me many local work and then gey the rpms create the repo and build the image.

I will be really happy when upstream kernel support the py.

vaughan
Posts: 18
Joined: Mon Oct 05, 2015 1:41 am
Location: Perth, Australia
Contact: Website

Re: Fedora 23 Remix for Pi 2B

Fri Dec 11, 2015 12:47 am

williamjmorenor wrote:Do you build the image with this instructions: https://fedoraproject.org/wiki/Architec ... ng_Remixes?
Yes, I create my remixes this way.
At the moment, work seems to be progressing well for upstream kernel support but I'm not sure when it will be mainlined.

Vaughan

williamjmorenor
Posts: 2
Joined: Tue Nov 24, 2015 4:08 pm

Re: Fedora 23 Remix for Pi 2B

Sun Dec 20, 2015 9:47 pm

Thanks

Does RPMFusion support this arch?

vaughan
Posts: 18
Joined: Mon Oct 05, 2015 1:41 am
Location: Perth, Australia
Contact: Website

Re: Fedora 23 Remix for Pi 2B

Sun Dec 20, 2015 11:27 pm

williamjmorenor wrote:Thanks

Does RPMFusion support this arch?
I personally haven't used rpmfusion on my RPi2 but after taking a quick look at their repo they do indeed seem to have armhfp builds.

Gor
Posts: 9
Joined: Tue Jan 12, 2016 4:44 pm

Re: Fedora 23 Remix for Pi 2B

Thu Jan 14, 2016 1:03 am

Thank you @vaughan !

I prefer rpm based linux and your release is awesome for me.

Can I help somehow?

I am linux sysadmin with different skills and have pi2 here.

Gor
Posts: 9
Joined: Tue Jan 12, 2016 4:44 pm

Re: Fedora 23 Remix for Pi 2B

Thu Jan 14, 2016 1:11 am

btw. I am getting error with mini:

(current) UNIX password:
passwd: Authentication token manipulation error
Connection to 192.168.0.24 closed.

vaughan
Posts: 18
Joined: Mon Oct 05, 2015 1:41 am
Location: Perth, Australia
Contact: Website

Re: Fedora 23 Remix for Pi 2B

Thu Jan 14, 2016 5:13 am

Hi Gor

Thanks for your offer of help, its always very handy to have some skilled sysadmins around! I'm just not sure exactly how you can help at this stage as I am still a bit disorganised when it comes to development. I am all for suggestions, ideas, bug reports & testing etc etc. I have started pushing all my package source code / modifications to github (https://github.com/agrez?tab=repositories) which will make it possible for people to contribute and file bugs/issues/requests etc etc. I have been away over the last few weeks, so things have been somewhat stagnant.

I have been slowly (in my spare time) working on a basic lxqt release but have hit one annoying issue that as yet, I have not resolved. If you (and others) are interested in helping test / debug it, I can push up an initial testing image.
Gor wrote:btw. I am getting error with mini:
(current) UNIX password:
passwd: Authentication token manipulation error
Connection to 192.168.0.24 closed.
Thus far, I have been unable to reproduce this error except when I use the incorrect password. Are you sure you typed in the correct password? The default password for user 'raspberry' is 'raspberry'. I also created and tested with a different user name and can't reproduce the issue.

This is what I get with a fresh install of the 'mini' image:

Code: Select all

[raspberry@thepi ~]$ passwd 
Changing password for user raspberry.
Changing password for raspberry.
(current) UNIX password: 
New password: 
Retype new password: 
passwd: all authentication tokens updated successfully.

Gor
Posts: 9
Joined: Tue Jan 12, 2016 4:44 pm

Re: Fedora 23 Remix for Pi 2B

Thu Jan 14, 2016 1:27 pm

Oh man!

You are right! I was typing new password instead current.

Having a newborn is hard for brain sometimes:))))))

It is awesome that you put spec files on github.

Will check it out!

About organisation. How about to add package building each time when we commit to repe on github?

Do you use gitter.im?
Let's have a channel for project?

Gor
Posts: 9
Joined: Tue Jan 12, 2016 4:44 pm

Re: Fedora 23 Remix for Pi 2B

Thu Jan 14, 2016 2:25 pm

Is pidora project basically dead right now?

Also you can find me on Skype, login "whice-"

vaughan
Posts: 18
Joined: Mon Oct 05, 2015 1:41 am
Location: Perth, Australia
Contact: Website

Re: Fedora 23 Remix for Pi 2B

Sat Jan 16, 2016 3:55 am

Gor wrote: Having a newborn is hard for brain sometimes:))))))
Yep, been there done that, I know exactly how your feel! Congratulations BTW!
Gor wrote: About organisation. How about to add package building each time when we commit to repe on github?
Sounds like a good idea, but I'm not sure how to implement this (yet). I have written some hacky build scripts which enable me to build rpms from my local git repos.
Gor wrote: Do you use gitter.im?
Let's have a channel for project?
Nope, I have never heard of gitter.im. I have never really got into IM software / apps much, I seem to prefer IRC, I think I'm a bit old school :-) I have already created a freenode IRC #fedberry channel, not that I'm on it much.

Regards
Vaughan

vaughan
Posts: 18
Joined: Mon Oct 05, 2015 1:41 am
Location: Perth, Australia
Contact: Website

Re: Fedora 23 Remix for Pi 2B

Sun Mar 13, 2016 1:03 am

Hi Everyone

As many people have been asking me about RPi 3 support, I thought I would post a bit of an update.

For those who have been using the 'testing' repository, you would have already noted we've had support for the RPi 3 for some time. In addition, the FedBerry 23 test release images have support for the RPi3 'out of the box'.

You can download test releases here: http://download.fedberry.org/releases/23/images/

Oh yes, we now have a website (thanks to Gor) who has also joined me on the project.

Website: http://fedberry.org
Github Project: https://github.com/fedberry

One, last word on the RPi 3, it runs HOT. Buy some heat sinks! ;)

Regards
Vaughan

Echevresm
Posts: 6
Joined: Tue Apr 05, 2016 12:37 pm

Re: Fedora 23 Remix for Pi 2B

Tue Apr 05, 2016 2:00 pm

First, congratulations for this release. I tested it on my Pi2. Here are some comments about this test.

Setting up : didn't work with a Patuoxun hdmi-to-vga converter, started in text mode and when finished, no user was created, but worked fine in graphic mode with a direct hdmi link. Once the setup was achieved, using the hdmi-to-vga converter was possible by adding hdmi_force_hotplug=1, disable_overscan=1, config_hdmi_boost=4 in the config.txt file. Then the Pi2 boots first in low definition (640 x480), but if I reboot, then it's OK in HD. I got the same behavior with Raspbian Jessie. Finally, I added hdmi_group=2 and hdmi_mode=39 in config.txt and then the Pi2 boots directly en 1366 x 768.

Passwords : Fedora 23 needs very complicated pwds for the user and for root. It contrasts with Raspbian where you may sudo without giving any pwd. Is it possible to use a more simple pwd for the user ? Another difficulty : I have a french keyboard and at logging time its layout isn't recognized.

Audio capabilities : I got the sound from my TV with a hdmi direct link and hdmi_drive=2 in the config.txt file, and thru the jack plug with hdmi_drive=1, hdmi_group=2 (no sound without this last instruction). I added the rpmfusion repositories and could listen to mp3, ogg and flac files only with VLC or Audacity. But no sound with media players using gstreamer (pragha, parole,...) even after installing gstreamer plugins bad and ugly. Firefox using the VLC plugin could play Youtube videos, but Midori crashed.

Kind regards,
Michel.

zfyseu
Posts: 29
Joined: Fri Jun 10, 2016 12:31 pm

Re: Fedora 23 Remix for Pi 2B

Sun Jun 12, 2016 10:33 am

Hello everyone!
I boot the fedberry into the SD card, and put SD card into the Pi 2B, however there is no response of the display.
How to solve the problem?
And when insert the SD card booted, I use the command following:
ls -l /dev/sd* /dev/mmcblk*
it returns:
ls: cannot access /dev/mmcblk*: No such file or directory
brw-rw----. 1 root disk 8, 0 Jun 12 01:08 /dev/sda
brw-rw----. 1 root disk 8, 1 Jun 12 01:08 /dev/sda1
brw-rw----. 1 root disk 8, 2 Jun 12 01:08 /dev/sda2
brw-rw----. 1 root disk 8, 5 Jun 12 01:08 /dev/sda5
brw-rw----. 1 root disk 8, 16 Jun 12 03:21 /dev/sdb

sdb is the SD card, but it has no partion, I don't know why? and I can't find the folder "boot"
How to solve the problem?

Thank you!

zfyseu
Posts: 29
Joined: Fri Jun 10, 2016 12:31 pm

Re: Fedora 23 Remix for Pi 2B

Mon Jun 13, 2016 6:58 am

I have solve the problem by editing the config.txt as following:

disable_overscan=1
hdmi_force_hotplug=1
hdmi_group=2
hdmi_mode=16
config_hdmi_boost=4
hdmi_ignore_edid=0xa5000080

Thank you anyway!

zfyseu
Posts: 29
Joined: Fri Jun 10, 2016 12:31 pm

Re: Fedora 23 Remix for Pi 2B

Wed Jun 22, 2016 10:14 am

Hello vaughan!
I have installed fedora 23 remix on RPi 2B.
However when I run the following command:
dnf install kernel-devel-$(uname -r)
it returns with the error:
No package kernel-devel-4.2.5-400.50acac3.bcm2709.fc23.armv7hl available.
Error: Unable to find a match.

Do you know how to solve it?
Thank you!

vaughan
Posts: 18
Joined: Mon Oct 05, 2015 1:41 am
Location: Perth, Australia
Contact: Website

Re: Fedora 23 Remix for Pi 2B

Wed Jun 22, 2016 10:44 am

zfyseu wrote:Hello vaughan!
I have installed fedora 23 remix on RPi 2B.
However when I run the following command:
dnf install kernel-devel-$(uname -r)
it returns with the error:
No package kernel-devel-4.2.5-400.50acac3.bcm2709.fc23.armv7hl available.
Error: Unable to find a match.

Do you know how to solve it?
Thank you!
Hi zfyseu

This kernel-devel release is no longer in the repo as its been superseded by a newer release.

You should update your system first then install the latest kernel-devel package.

Code: Select all

dnf update
Then reboot into your new shiny kernel and

Code: Select all

dnf install kernel-devel
The latest release in our 'stable' repo is kernel-4.4.12-400.d715518 or kernel-4.4.13-400.789e0e5 in our 'testing' repo (which will soon be pushed into stable).

Regards
Vaughan

zfyseu
Posts: 29
Joined: Fri Jun 10, 2016 12:31 pm

Re: Fedora 23 Remix for Pi 2B

Thu Jun 23, 2016 3:19 am

Hello, vaughan!

I want to build some code on my RPi 2B.
And the linux-devel version has to match my kernel verison.
And my kernel version is 4.2.5-400.50acac3.bcm2709.fc23.armv7hl

However I can't get the same version of linux-devel.
How should I do?
Thank you!

zfyseu
Posts: 29
Joined: Fri Jun 10, 2016 12:31 pm

Re: Fedora 23 Remix for Pi 2B

Thu Jun 23, 2016 6:24 am

Hi,vauthan!
I have solved the problem.
after do "dnf update", I need to restart the system and the output of "uname -r" will change.
Thank you!

cjan
Posts: 486
Joined: Sun May 06, 2012 12:00 am

Re: Fedora 23 Remix for Pi 2B

Thu Jun 23, 2016 7:13 am

why dnf so slow? compare to pacman or apt, does it normal?

Return to “Pidora / Fedora”

Who is online

Users browsing this forum: No registered users and 3 guests