jwh1981
Posts: 11
Joined: Fri Jul 27, 2012 1:58 pm

Re: Fedora 21 REMIX for Raspbery Pi 2B

Tue Mar 03, 2015 7:30 pm

clivem wrote: This is something I have been thinking about... I left the disk layout the same as in the original Fedora 21-5 images for compatibility with my existing "compose" scripts. I also think it would be better to drop the swap (2nd) partition and have a swap file on the root partition, which could be easily deleted by those not wanting to use it, like the Pidora images.
Thank you very much!

danishka
Posts: 1
Joined: Wed Mar 04, 2015 6:09 pm

Re: Fedora 21 REMIX for Raspbery Pi 2B

Wed Mar 04, 2015 7:05 pm

Awesome!
Do you mind to share kickstart files you were using?

dread641
Posts: 7
Joined: Sat Mar 07, 2015 1:21 am

Re: Fedora 21 REMIX for Raspbery Pi 2B

Sat Mar 07, 2015 3:50 pm

I put this on a sd card and it makes my Pi not boot any os for at least a day.

clivem
Posts: 79
Joined: Sun Aug 03, 2014 11:18 am

Re: Fedora 21 REMIX for Raspbery Pi 2B

Sat Mar 07, 2015 4:05 pm

danishka wrote:Awesome!
Do you mind to share kickstart files you were using?
Sorry, didn't create these images using kickstart. The "official" 21-5 images were the starting point.

However, I have started composing Fedora 22 pre-alpha images via kickstart. Not ready to share that yet. However, I will when I'm ready to "publish" the re-worked kernel rpms for it.

clivem
Posts: 79
Joined: Sun Aug 03, 2014 11:18 am

Re: Fedora 21 REMIX for Raspbery Pi 2B

Sat Mar 07, 2015 4:11 pm

dread641 wrote:I put this on a sd card and it makes my Pi not boot any os for at least a day.
Hmmm. Not really sure how to respond to this. You think, that having put a sdcard containing one of these Fedora remix images into your Pi2B, it stops it booting anything else for at least a day?

deighty8
Posts: 4
Joined: Sat Mar 14, 2015 3:40 am

Re: Fedora 21 REMIX for Raspbery Pi 2B

Tue Mar 17, 2015 12:48 pm

user007 wrote:You may use Berryboot - Boot menu/OS installer for ARM devices (http://sourceforge.net/projects/berryboot/).
The Berryboot web site is http://www.berryterminal.com/doku.php/berryboot
It is needed to download 32.8MB zip file and to copy the unzipped files to a FAT or FAT32 formatted microSD card.
Then you may start RPI2 and add to the Berryboot main menu the existing image of Fedora ARM 21 OS with MATE desktop. It is downloaded and installed at full Internet speed. Then you may add to the Berryboot main menu other RPI2 OS as well.
Fedora 21 MATE is running very well, the MATE desktop is nice and fast, Firefox v.33.1 is already pre-installed (Raspbian OS has only old Firefox version Iceweasel). Only audio hardware should be added.
The previous version included in Berryboot was Fedora 18 with xfce desktop - it was running very well too on RPI2.
Hi... I was installed the Fedora 21 with Berryboot that's success. But i have problem when try to play music not have sound. Is I have wrong to install and how to play music . Sorry i new in raspberry. I'm used PI2.
Thankyou.

clivem
Posts: 79
Joined: Sun Aug 03, 2014 11:18 am

Re: Fedora 21 REMIX for Raspbery Pi 2B

Tue Mar 17, 2015 1:37 pm

deighty8 wrote: Hi... I was installed the Fedora 21 with Berryboot that's success. But i have problem when try to play music not have sound. Is I have wrong to install and how to play music . Sorry i new in raspberry. I'm used PI2.
Sorry, but you will have to get support from Berryboot. This thread is about the standalone F21 remix images. I have no idea if Berryboot is using one of these images or something they have created.

harmageddon
Posts: 1
Joined: Wed Mar 18, 2015 10:03 am

Re: Fedora 21 REMIX for Raspbery Pi 2B

Wed Mar 18, 2015 10:05 am

What 's the easiest way you can install the kernel-devel package ? Thank you for help.

clivem
Posts: 79
Joined: Sun Aug 03, 2014 11:18 am

Re: Fedora 21 REMIX for Raspbery Pi 2B

Wed Mar 18, 2015 11:48 am

harmageddon wrote:What 's the easiest way you can install the kernel-devel package ? Thank you for help.
root user or sudo...

Code: Select all

yum install raspberrypi-kernel-devel

sciurius
Posts: 26
Joined: Sun Sep 23, 2012 7:34 pm

Full speed ahead?

Thu Mar 19, 2015 12:40 pm

Installs and runs flawlessly, except for one thing: I cannot get the CPUs to run at maximum speed. It seems that the CPUs are locked to 600MHz. Switching to performance governor doesn't help.

How can I get the full speed?

clivem
Posts: 79
Joined: Sun Aug 03, 2014 11:18 am

Re: Full speed ahead?

Thu Mar 19, 2015 12:53 pm

sciurius wrote:Installs and runs flawlessly, except for one thing: I cannot get the CPUs to run at maximum speed. It seems that the CPUs are locked to 600MHz. Switching to performance governor doesn't help.

How can I get the full speed?
By default, image uses the ondemand governor, so will spend most of it's time at 600MHz. When load increases should ramp up to 900MHz. (Well, it does for me, anyway.)

"cpupower frequency-info" will show you % time spent at 600MHz and at the higher frequency. (1GHz in my case, I'm overclocking from 900MHz to 1 GHz via /boot/config.txt.)

Code: Select all

# cpupower frequency-info
analyzing CPU 0:
  driver: BCM2835 CPUFreq
  CPUs which run at the same hardware frequency: 0 1 2 3
  CPUs which need to have their frequency coordinated by software: 0 1 2 3
  maximum transition latency: 355 us.
  hardware limits: 600 MHz - 1000 MHz
  available frequency steps: 600 MHz, 1000 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 600 MHz and 1000 MHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 600 MHz (asserted by call to hardware).
  cpufreq stats: 600 MHz:99.86%, 1000 MHz:0.14%  (436)
If you want to use performance governor by default, edit /etc/rc.d/rc.local. Uncomment the line which enables that and comment the "echo ondemand...." line, and it will be applied on the next boot.

EDIT: Just re-read your post. You are saying performance governor doesn't work. Hmmmm. Works for me.

Code: Select all

# echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
# cpupower frequency-info
analyzing CPU 0:
  driver: BCM2835 CPUFreq
  CPUs which run at the same hardware frequency: 0 1 2 3
  CPUs which need to have their frequency coordinated by software: 0 1 2 3
  maximum transition latency: 355 us.
  hardware limits: 600 MHz - 1000 MHz
  available frequency steps: 600 MHz, 1000 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 600 MHz and 1000 MHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 1000 MHz (asserted by call to hardware).
  cpufreq stats: 600 MHz:99.85%, 1000 MHz:0.15%  (443)

sciurius
Posts: 26
Joined: Sun Sep 23, 2012 7:34 pm

Re: Fedora 21 REMIX for Raspbery Pi 2B

Thu Mar 19, 2015 1:49 pm

Thanks for your replies. Yes, I tried all that and more.
However, when I run the (arguably stupid) pystones benchmark, I get:

Code: Select all

Pystone(1.1) time for 50000 passes = 7.88133
This machine benchmarks at 6344.11 pystones/second
with Raspbian I get:

Code: Select all

Pystone(1.1) time for 50000 passes = 5.48
This machine benchmarks at 9124.09 pystones/second
The difference roughly corresponds to 600MHz versus 900MHz, giving the impression that the RPi2 doesn't run at full speed as does Raspbian.

Raspbian info:

Code: Select all

analyzing CPU 0:
  driver: BCM2835 CPUFreq
  CPUs which run at the same hardware frequency: 0 1 2 3
  CPUs which need to have their frequency coordinated by software: 0 1 2 3
  maximum transition latency: 355 us.
  hardware limits: 600 MHz - 900 MHz
  available frequency steps: 600 MHz, 900 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 600 MHz and 900 MHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 600 MHz (asserted by call to hardware).
  cpufreq stats: 600 MHz:55.78%, 900 MHz:44.22%  (5)
...same for CPUs 1, 2 and 3
Still puzzled...

clivem
Posts: 79
Joined: Sun Aug 03, 2014 11:18 am

Re: Fedora 21 REMIX for Raspbery Pi 2B

Thu Mar 19, 2015 11:14 pm

sciurius wrote: Still puzzled...
Me too.... I'm using ondemand governor....

Code: Select all

$ pystone.py 
Pystone(1.1) time for 50000 passes = 4.69682
This machine benchmarks at 10645.5 pystones/second

sciurius
Posts: 26
Joined: Sun Sep 23, 2012 7:34 pm

Re: Fedora 21 REMIX for Raspbery Pi 2B

Fri Mar 20, 2015 8:22 am

What exactly did you do to enable the overclocking?

clivem
Posts: 79
Joined: Sun Aug 03, 2014 11:18 am

Re: Fedora 21 REMIX for Raspbery Pi 2B

Fri Mar 20, 2015 8:38 am

/boot/config.txt

Code: Select all

arm_freq=1000
core_freq=500
sdram_freq=500
over_voltage=2

sciurius
Posts: 26
Joined: Sun Sep 23, 2012 7:34 pm

Re: Fedora 21 REMIX for Raspbery Pi 2B

Fri Mar 20, 2015 8:55 am

Code: Select all

[[email protected] ~]# cpupower frequency-info
analyzing CPU 0:
  driver: BCM2835 CPUFreq
  CPUs which run at the same hardware frequency: 0 1 2 3
  CPUs which need to have their frequency coordinated by software: 0 1 2 3
  maximum transition latency: 355 us.
  hardware limits: 600 MHz - 1000 MHz
  available frequency steps: 600 MHz, 1000 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 600 MHz and 1000 MHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 600 MHz (asserted by call to hardware).
  cpufreq stats: 600 MHz:69.63%, 1000 MHz:30.37%  (6)

Code: Select all

[[email protected] ~]# python /tmp/pystone.py 
Pystone(1.1) time for 50000 passes = 7.98825
This machine benchmarks at 6259.19 pystones/second
So no improvement, this stil corresponds to 600MHz clock speed.

clivem
Posts: 79
Joined: Sun Aug 03, 2014 11:18 am

Re: Fedora 21 REMIX for Raspbery Pi 2B

Fri Mar 20, 2015 9:25 am

sciurius wrote:So no improvement, this stil corresponds to 600MHz clock speed.
Hmmm. Have you updated the image? Are you still running the original kernel it shipped with? "uname -r"

"sudo yum update raspberrypi\*", will update the Pi specific kernel/firmware if you haven't already.

sciurius
Posts: 26
Joined: Sun Sep 23, 2012 7:34 pm

Re: Fedora 21 REMIX for Raspbery Pi 2B

Fri Mar 20, 2015 9:44 am

I'm running the unmodified F21 remix from the first post of this thread on RPi2. I'd expect anyone else running the same install on the same hardware to get the same results. And yes, I did update the kernel:

Code: Select all

Linux fidora-minimal-remix 3.18.9-504.20150311git5e3fb83.sc20.armv7hl.bcm2709 #1 SMP PREEMPT Wed Mar 18 11:10:41 GMT 2015 armv7l armv7l armv7l GNU/Linux
Most frustrating: I get the same performance drop with F20 (and F18) on several RPi-B512's and a BananaPi.

clivem
Posts: 79
Joined: Sun Aug 03, 2014 11:18 am

Re: Fedora 21 REMIX for Raspbery Pi 2B

Fri Mar 20, 2015 9:53 am

Wandboard Quad F21

Code: Select all

$ uname -a
Linux wandboard 4.0.0-0.rc4.git0.1.1.fc21.armv7hl #1 SMP Tue Mar 17 14:54:01 GMT 2015 armv7l armv7l armv7l GNU/Linux

$ sudo cpupower frequency-info
analyzing CPU 0:
  driver: imx6q-cpufreq
  CPUs which run at the same hardware frequency: 0 1 2 3
  CPUs which need to have their frequency coordinated by software: 0 1 2 3
  maximum transition latency: 109 us.
  hardware limits: 396 MHz - 996 MHz
  available frequency steps: 396 MHz, 792 MHz, 996 MHz
  available cpufreq governors: conservative, userspace, powersave, ondemand, performance
  current policy: frequency should be within 396 MHz and 996 MHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 996 MHz (asserted by call to hardware).
  cpufreq stats: 396 MHz:97.28%, 792 MHz:0.14%, 996 MHz:2.58%  (5249)

$ pystone.py 
Pystone(1.1) time for 50000 passes = 3.82299
This machine benchmarks at 13078.8 pystones/second
BananaPi F21 (but using SUNXI 3.4.103 kernel)

Code: Select all

$ uname -a
Linux bpi 3.4.103 #1 SMP PREEMPT Thu Dec 18 13:07:12 CST 2014 armv7l armv7l armv7l
GNU/Linux

$ sudo cpupower frequency-info
analyzing CPU 0:
  driver: sunxi
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 0 1
  maximum transition latency: 2.00 ms.
  hardware limits: 60.0 MHz - 1.01 GHz
  available cpufreq governors: interactive, ondemand, fantasy, performance
  current policy: frequency should be within 408 MHz and 1.01 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 408 MHz (asserted by call to hardware).
  cpufreq stats: 408 MHz:98.50%, 480 MHz:0.11%, 528 MHz:0.06%, 600 MHz:0.06%, 648 MHz:0.02%, 672 MHz:0.01%, 696 MHz:0.01%, 720 MHz:0.05%, 744 MHz:0.01%, 768 MHz:0.01%, 816 MHz:0.02%, 864 MHz:0.02%, 912 MHz:0.03%, 960 MHz:0.02%, 1.01 GHz:1.07%  (7141)

$ pystone.py 
Pystone(1.1) time for 50000 passes = 4.91443
This machine benchmarks at 10174.1 pystones/second
Pi B (using Pidora F20 plus my packaged kernel build - same as Pi2B, but built for bcm2708 rather than bcm2709)

arm_freq=900
core_freq=250
sdram_freq=450
over_voltage=2

Code: Select all

$ uname -a
Linux akkordionB1 3.18.9-503.20150311git5e3fb83.sc20.armv6hl.bcm2708 #1 PREEMPT Thu Mar 12 12:16:17 GMT 2015 armv6l armv6l armv6l GNU/Linux

$ sudo cpupower frequency-info
analyzing CPU 0:
  driver: BCM2835 CPUFreq
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 355 us.
  hardware limits: 700 MHz - 900 MHz
  available frequency steps: 700 MHz, 900 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 700 MHz and 900 MHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 900 MHz (asserted by call to hardware).
  cpufreq stats: 700 MHz:69.98%, 900 MHz:30.02%  (1209)

$ pystone.py 
Pystone(1.1) time for 50000 passes = 16.4977
This machine benchmarks at 3030.73 pystones/second
Pi2B F21 remix image

arm_freq=1000
core_freq=500
sdram_freq=500
over_voltage=2

Code: Select all

$ uname -a
Linux akkordion2B3 3.18.9-504.20150311git5e3fb83.sc20.armv7hl.bcm2709 #1 SMP PREEMPT Wed Mar 18 11:10:41 GMT 2015 armv7l armv7l armv7l GNU/Linux

$ sudo cpupower frequency-info
analyzing CPU 0:
  driver: BCM2835 CPUFreq
  CPUs which run at the same hardware frequency: 0 1 2 3
  CPUs which need to have their frequency coordinated by software: 0 1 2 3
  maximum transition latency: 355 us.
  hardware limits: 600 MHz - 1000 MHz
  available frequency steps: 600 MHz, 1000 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 600 MHz and 1000 MHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 600 MHz (asserted by call to hardware).
  cpufreq stats: 600 MHz:99.67%, 1000 MHz:0.33%  (510)

$ pystone.py 
Pystone(1.1) time for 50000 passes = 4.76926
This machine benchmarks at 10483.8 pystones/second

sciurius
Posts: 26
Joined: Sun Sep 23, 2012 7:34 pm

Re: Fedora 21 REMIX for Raspbery Pi 2B

Fri Mar 20, 2015 10:06 am

Code: Select all

RPi + Pidora: Pystone(1.1) time for 50000 passes = 19.5
This machine benchmarks at 2564.1 pystones/second

Code: Select all

BananPI + Fedora20: Pystone(1.1) time for 50000 passes = 12.6929
This machine benchmarks at 3939.22 pystones/second

clivem
Posts: 79
Joined: Sun Aug 03, 2014 11:18 am

Re: Fedora 21 REMIX for Raspbery Pi 2B

Fri Mar 20, 2015 10:10 am

I still have a Cubietruck running F20 with SUNXI 3.4.103 kernel. (Same A20 SoC as BananaPi).

Code: Select all

$ uname -a
Linux cubietruck 3.4.103.sun7i+ #1 SMP Thu Jan 15 22:41:58 GMT 2015 armv7l armv7l armv7l GNU/Linux

$ sudo cpupower frequency-info
analyzing CPU 0:
  driver: sunxi
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 0 1
  maximum transition latency: 2.00 ms.
  hardware limits: 60.0 MHz - 1.01 GHz
  available cpufreq governors: conservative, userspace, powersave, ondemand, performance
  current policy: frequency should be within 408 MHz and 1.01 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 1.01 GHz (asserted by call to hardware).
  cpufreq stats: 408 MHz:66.98%, 480 MHz:5.74%, 528 MHz:0.00%, 600 MHz:0.00%, 648 MHz:0.00%, 672 MHz:0.00%, 696 MHz:3.26%, 720 MHz:0.00%, 744 MHz:0.00%, 768 MHz:0.00%, 816 MHz:0.00%, 864 MHz:0.00%, 912 MHz:0.00%, 960 MHz:0.00%, 1.01 GHz:24.03% (12)

$ pystone.py 
Pystone(1.1) time for 50000 passes = 4.95563
This machine benchmarks at 10089.5 pystones/second

clivem
Posts: 79
Joined: Sun Aug 03, 2014 11:18 am

Re: Fedora 21 REMIX for Raspbery Pi 2B

Fri Mar 20, 2015 10:15 am

Can you upload your pystone.py script to somewhere I can get at it? I wonder whether there are differences..... I can't think of anything else that might explain what is going on.....

sciurius
Posts: 26
Joined: Sun Sep 23, 2012 7:34 pm

Re: Fedora 21 REMIX for Raspbery Pi 2B

Fri Mar 20, 2015 10:35 am

I got it from http://svn.python.org/projects/python/t ... pystone.py .

However, I do not expect this a possible cause, since I use exactly this pystone script on all configurations.

clivem
Posts: 79
Joined: Sun Aug 03, 2014 11:18 am

Re: Fedora 21 REMIX for Raspbery Pi 2B

Fri Mar 20, 2015 10:38 am

sciurius wrote:I got it from http://svn.python.org/projects/python/t ... pystone.py .

However, I do not expect this a possible cause, since I use exactly this pystone script on all configurations.
Well, in the absence of an explanation that makes any sense....

sciurius
Posts: 26
Joined: Sun Sep 23, 2012 7:34 pm

Re: Fedora 21 REMIX for Raspbery Pi 2B

Fri Mar 20, 2015 10:58 am

And the explanation is ... (drumroll) ...

Return to “Pidora / Fedora”