agreene
Posts: 39
Joined: Fri Sep 14, 2012 6:47 pm

Pidora 18 (Raspberry Pi Fedora Remix) Release

Wed May 22, 2013 4:40 pm

Pidora 18 (Raspberry Pi Fedora Remix) Release

We're excited to announce the release of Pidora 18 --
an optimized Fedora Remix for the Raspberry Pi.
It is based on a brand new build of Fedora for the ARMv6
architecture with greater speed and includes packages
from the Fedora 18 package set.

* * *

There are some interesting new features we'd like to highlight:
* Almost all of the Fedora 18 package set available via yum
(thousands of packages were built from the official Fedora
repository and made available online)
* Compiled specifically to take advantage of the hardware already
built into the Raspberry Pi
* Graphical firstboot configuration (with additional modules
specifically made for the Raspberry Pi)
* Compact initial image size (for fast downloads) and auto-resize
(for maximum storage afterwards)
* Auto swap creation available to allow for larger memory usage
* C, Python, & Perl programming languages available & included
in the SD card image
* Initial release of headless mode can be used with setups
lacking a monitor or display
* IP address information can be read over the speakers and
flashed with the LED light
* For graphical operation, Gedit text editor can be used with
plugins (python console, file manager, syntax highlighting)
to serve as a mini-graphical IDE
* For console operation, easy-to-use text editors are included
(nled, nano, vi) plus Midnight Commander for file management
* Includes libraries capable of supporting external hardware
such as motors and robotics (via GPIO, I2C, SPI)

* * *

For further documentation, downloads, faq's, read-me's,
how-to's, tutorials, or videos:
http://pidora.ca/

* * *

Pidora 18 is a Fedora Remix -- a combination of software packages
from the Fedora Project with other software.

The Fedora Project is a global community of contributors working
to advance open source software. For more information or to join
the Fedora Project, see http://fedoraproject.org

Pidora is a project of the Seneca Centre for Development of Open
Technology (CDOT). To connect with CDOT, please visit
http://cdot.senecacollege.ca

The Raspberry Pi is a small, inexpensive computer board designed
to provoke curiosity and experimentation in programming and
computer electronics. For more information, see the Raspberry
Pi Foundation website at http://raspberrypi.org

* * *


- - -
The CDOT team at Seneca College

P.S. thanks tedsluis for the early promotion we appreciate it.

User avatar
tedsluis
Posts: 107
Joined: Sun Mar 03, 2013 11:49 am
Location: The Netherlands

Re: Pidora 18 (Raspberry Pi Fedora Remix) Release

Wed May 22, 2013 7:20 pm

My first words are "super awesome"!

I downloaded the image from http://pidora.ca/pidora/releases/18/ima ... 18-r1c.zip, upzipped it, did the md5 checksum and copied it to my SD card:

Code: Select all

# wget http://pidora.ca/pidora/releases/18/images/pidora-18-r1c.zip
--2013-05-22 19:34:32--  http://pidora.ca/pidora/releases/18/images/pidora-18-r1c.zip
Resolving pidora.ca... 198.57.186.36
Connecting to pidora.ca|198.57.186.36|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 514584903 (491M) [application/zip]
Saving to: “pidora-18-r1c.zip”

100%[===========================================================================================================================================================>] 514,584,903 1.69M/s   in 5m 13s  

2013-05-22 19:39:45 (1.57 MB/s) - “pidora-18-r1c.zip” saved [514584903/514584903]

# unzip pidora-18-r1c.zip
Archive:  pidora-18-r1c.zip
  inflating: pidora-18-r1c.img       
 extracting: pidora-18-r1c.img.md5sum 

# md5sum -b pidora-18-r1c.img 
6bdbb39c210f0973747de7ac283c1c8a *pidora-18-r1c.img

# cat pidora-18-r1c.img.md5sum
6bdbb39c210f0973747de7ac283c1c8a  pidora-18-r1c.img

# dd if=pidora-18-r1c.img  of=/dev/sdc
3494306+0 records in
3494306+0 records out
1789084672 bytes (1.8 GB) copied, 555.631 s, 3.2 MB/s
The first boot went very smooth! Just filled in the username, password, root password, time zone info, swap file options, display and GUI options and after an automatic reboot I logged in!

I installed some packages, played a bit with the GUI and did a reboot. This all went smooth and without any unwanted surprises.
I noticed that the bootloader files are up-to-date, so new raspberry hardware will no longer have boot problems. I am glad this issue is solved.
Of course this is a first impression. This build needs more testing, but my first impression of Pidora RC1 is very good!

For this I thank all the members of the CDOT team for their hard work. They added an impressive list of improvements in this build. Along with the new Pidora website and the documentation is a major step forward. Congratulations!

p.s. Andrew Greene published two instruction video's. They may come in handy:
Pidora GUI "Windows" install instructional video: http://www.youtube.com/watch?v=z_59NjrouO8
Pidora 18 Enabling Headless Mode (setting up Pidora without Display): http://www.youtube.com/watch?v=ALUAmw6Mz_o
Last edited by tedsluis on Thu May 23, 2013 5:11 am, edited 1 time in total.
--- If you cannot divide then you cannot multiply. ---

lysbleu
Posts: 3
Joined: Wed May 22, 2013 11:52 pm

Re: Pidora 18 (Raspberry Pi Fedora Remix) Release

Wed May 22, 2013 11:58 pm

It is really a great news ! Though I had many troubles to make it work, between corrupted partition and "inappropriate ioctl for device" leading me to a sh prompt. Moreover, the "headless" thing does not seem to have any effect.

pwinwood
Posts: 74
Joined: Mon Jul 02, 2012 2:21 am
Location: Oxford, England

Re: Pidora 18 (Raspberry Pi Fedora Remix) Release

Thu May 23, 2013 8:29 am

I tried this.
Frankly, for me, the level of testing is disappointing.
No 'known bugs' on the release note.
Bugs I found in the first ten minutes:
The following were not saved even though reconfigured during the installation process:
  • 1. Host name (edit /etc/hostname).
    2. Keyboard layout.
    3. Time zone.
No overclocking options - despite this being officially OK by the foundation.
No gpumem options - I attempted to change this in config.txt and it refused to boot - red flashing led loader error.
Sorry.

User avatar
tedsluis
Posts: 107
Joined: Sun Mar 03, 2013 11:49 am
Location: The Netherlands

Re: Pidora 18 (Raspberry Pi Fedora Remix) Release

Thu May 23, 2013 9:23 am

pwinwood wrote:No 'known bugs' on the release note.
You are right. No known bugs in the release notes, but there is a bug report site where you can view en report bugs.
pwinwood wrote:Bugs I found in the first ten minutes:
The following were not saved even though reconfigured during the installation process:
  • 1. Host name (edit /etc/hostname).
    2. Keyboard layout.
    3. Time zone.
I checked these points too. Indeed, the host name was not saved, but my time zone and keyboard layout are correct saved by the installation process:

Code: Select all

# date
Thu May 23 10:44:56 CEST 2013

# cat /etc/sysconfig/keyboard 
KEYTABLE="us-acentos"
MODEL="pc105"
LAYOUT="us"
VARIANT="intl"
I created a bug report ticket for the host name issue: http://trac.proximity.on.ca/projects/rpfr/ticket/315
pwinwood wrote:No overclocking options - despite this being officially OK by the foundation.
Did you expect to be able to configure the overclock options during the installation process? Have you tried to set overclock options in the config.txt file? http://elinux.org/RPi_config.txt#Overclocking
pwinwood wrote:No gpumem options - I attempted to change this in config.txt and it refused to boot - red flashing led loader error.
Sorry.
What gpu_mem parameter and value did you try?
http://elinux.org/RPi_config.txt#Memory
Last edited by tedsluis on Thu May 23, 2013 12:39 pm, edited 1 time in total.
--- If you cannot divide then you cannot multiply. ---

User avatar
tedsluis
Posts: 107
Joined: Sun Mar 03, 2013 11:49 am
Location: The Netherlands

Re: Pidora 18 (Raspberry Pi Fedora Remix) Release

Thu May 23, 2013 10:54 am

lysbleu wrote:Moreover, the "headless" thing does not seem to have any effect.
The same thing here. Or I do not quite understand how it should work.

I placed a file named 'headless' in /boot (on a fresh image). Then I booted my raspberry pi.
I listened, but I heard nothing from the speaker. I thought that the IP address information could be read over the speakers? And how should one be able to read the IP information by the LED's?
I found a brief instruction about it: http://zenit.senecac.on.ca/wiki/index.p ... _on_Pidora
I tried two different types of speakers and I waited 5 minutes.

I wonder if the "headless mode" was being triggered.
(To be sure I copied a fresh image to my SD card and tried it again. Same result....)

I logged in to my router to see what dhcp IP address was assigned to the raspberry. I was able to ssh login (username root / password raspberrypi). Then I was able to configure the timezone, keyboard layout, host name, hdmi settings, add a user, etc manualy.
But when I connected a display and rebooted the system I found out that the firstboot installation process was started?!

How exactly should I use the "headless mode"?
Beside the Youtube video http://youtu.be/ALUAmw6Mz_o and the http://zenit.senecac.on.ca/wiki/index.p ... _on_Pidora that explains where to put the headless file (and what to put inside), is there an instruction available that tells you what to do ones you logged in using headless mode?
Last edited by tedsluis on Thu May 23, 2013 12:51 pm, edited 3 times in total.
--- If you cannot divide then you cannot multiply. ---

pwinwood
Posts: 74
Joined: Mon Jul 02, 2012 2:21 am
Location: Oxford, England

Re: Pidora 18 (Raspberry Pi Fedora Remix) Release

Thu May 23, 2013 11:32 am

Did you expect to be able to configure the overclock options during the installation process?
Yes.
Have you tried to set overclock options in the config.txt file?
Of course, and it works, but the Foundations' official Debian image modulates the clock frequency depending on CPU use to run things cooler. This should have been provided (IMHO).
What gpu_mem parameter and value did you try?
gpu_mem=16 as I assumed that the default is gpu_mem=64 as documented.
Copied and pasted from my Debian image SDCard.

User avatar
tedsluis
Posts: 107
Joined: Sun Mar 03, 2013 11:49 am
Location: The Netherlands

Re: Pidora 18 (Raspberry Pi Fedora Remix) Release

Thu May 23, 2013 1:39 pm

pwinwood wrote:
tedsluis wrote:What gpu_mem parameter and value did you try?
gpu_mem=16 as I assumed that the default is gpu_mem=64 as documented.
Copied and pasted from my Debian image SDCard.
The settings works, but 16 is to low. I tested several values and it seems that gpu_mem=32 is the lowest value that can be applied.
Last edited by tedsluis on Thu May 23, 2013 2:50 pm, edited 1 time in total.
--- If you cannot divide then you cannot multiply. ---

User avatar
tedsluis
Posts: 107
Joined: Sun Mar 03, 2013 11:49 am
Location: The Netherlands

Re: Pidora 18 (Raspberry Pi Fedora Remix) Release

Thu May 23, 2013 2:10 pm

lysbleu wrote:Moreover, the "headless" thing does not seem to have any effect.
tedsluis wrote:I placed a file named 'headless' in /boot (on a fresh image). Then I booted my raspberry pi.
I listened, but I heard nothing from the speaker. I thought that the IP address information could be read over the speakers? And how should one be able to read the IP information by the LED's?
I found a brief instruction about it: http://zenit.senecac.on.ca/wiki/index.p ... _on_Pidora
I tried two different types of speakers and I waited 5 minutes.

I wonder if the "headless mode" was being triggered.
(To be sure I copied a fresh image to my SD card and tried it again. Same result....)
I found out what went wrong. The "/boot/headless" file must not be empty! It should be at least one byte in size. Otherwise, the raspberry does not go in "headless mode".

After this change I have heard both the IP address from the speaker and seen the flashing of the LED. It works. Useful feature!

p.s. I found a file that which probably is responsible whether the system comes in "headless mode" or not:

Code: Select all

cat /usr/bin/headon
#!/bin/bash
headless="/boot/headless"


echo "Headless Mode Enabled"
if [ -s "$headless" ]
then
        systemctl enable sshd.service
        systemctl start sshd.service
	systemctl stop firstboot-graphical.service
	systemctl disable firstboot-graphical.service 
else
       
       systemctl stop headless-mode.service
       systemctl disable headless-mode.service
fi


if [ -s "$headless" ]
then

ip_address=$(sed -n 's/IPADDR=//p' $headless)
ip_netmask=$(sed -n 's/NETMASK=//p' $headless)
ip_gateway=$(sed -n 's/GATEWAY=//p' $headless)
cat << EOF > /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
IPADDR=$ip_address
NETMASK=$ip_netmask
GATEWAY=$ip_gateway
BOOTPROTO=static
ONBOOT=yes
NM_CONTROLLED=yes
EOF

systemctl restart NetworkManager.service

else
cat << EOF > /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
NM_CONTROLLED=yes
EOF

fi

sleep 60
echo "reading ip address"
ip-read
sleep 10
echo "flashing ip address"
ip-flash
The statement "if [ -s "$headless" ]" does not test whether the "/boot/headless" exists, but it test if it exists and has size bigger than 0 (not empty)".

Although I do not know if this is a bug or that the documentation should be more clearly about the fact that the file should not be empty, I opened a bug report ticket for this issue: http://trac.proximity.on.ca/projects/rpfr/ticket/317
Last edited by tedsluis on Thu May 23, 2013 2:53 pm, edited 2 times in total.
--- If you cannot divide then you cannot multiply. ---

pjc123
Posts: 913
Joined: Thu Mar 29, 2012 3:37 pm
Contact: Website

Re: Pidora 18 (Raspberry Pi Fedora Remix) Release

Thu May 23, 2013 2:26 pm

I gave up on Fedora for the pi a long time ago. I haven't kept up with things......is it getting close to a usable operating system for the pi? Debian does everything I need, but I have a lot more experience with Red Hat, Fedora, Centos, etc. and would like to give it a try, but don't want to waste money on another SD card. I already see there are still issues.
My Raspberry Pi Project Page:
https://www.flaminghellmet.com/launch/

agreene
Posts: 39
Joined: Fri Sep 14, 2012 6:47 pm

Re: Pidora 18 (Raspberry Pi Fedora Remix) Release

Thu May 23, 2013 4:58 pm

lysbleu wrote:It is really a great news ! Though I had many troubles to make it work, between corrupted partition and "inappropriate ioctl for device" leading me to a sh prompt. Moreover, the "headless" thing does not seem to have any effect.
In response to headless-mode not working I just tested and confirmed that it does work although admittedly it might be a little bit confusing because once headless-mode is enable, the run level remains at 5. So it might seem like nothing happened. I will be posting an updated video soon demonstrating the full process, not just how to set the headless file. Thanks for feedback its appreciated.

User avatar
bucker
Posts: 100
Joined: Thu May 23, 2013 4:33 pm
Location: Uberlandia, Brazil

Re: Pidora 18 (Raspberry Pi Fedora Remix) Release

Thu May 23, 2013 5:07 pm

Anyone managed to boot Pidora 18 from Berryboot? Tried installing from USB but it hangs on boot.
Winning is for losers.

Pi Zero W (inside a Pikachu case ;) ) with DietPi running Sonarr,Couchpotato,Pi-hole,Pi-VPN
Pi B running Home Assistant
Pi 2B & HiFiBerry DAC+ running Volumio OS
Pi 3B (inside a genesis case 8-) ) running RetroPie
--

User avatar
tedsluis
Posts: 107
Joined: Sun Mar 03, 2013 11:49 am
Location: The Netherlands

Re: Pidora 18 (Raspberry Pi Fedora Remix) Release

Thu May 23, 2013 6:33 pm

agreene wrote:In response to headless-mode not working I just tested and confirmed that it does work although admittedly it might be a little bit confusing because once headless-mode is enable, the run level remains at 5. So it might seem like nothing happened. I will be posting an updated video soon demonstrating the full process, not just how to set the headless file. Thanks for feedback its appreciated.
I had noticed that it only works when the "/boot/headless" file is not empty.
In my initial tests it did not work. No sound. No flashing LED. The firstboot process just started. Reason: My "headless" file was 0 bytes.
With a blank line in the file and it works. But it took me a while before I realized that...

I wrote earlier that I do not know if it's a bug or that the documentation should mention that the file should not be empty.

It's no problem that the run level stays at 5. That's easy to change.
--- If you cannot divide then you cannot multiply. ---

agreene
Posts: 39
Joined: Fri Sep 14, 2012 6:47 pm

Re: Pidora 18 (Raspberry Pi Fedora Remix) Release

Thu May 23, 2013 7:53 pm

tedsluis wrote:
agreene wrote:In response to headless-mode not working I just tested and confirmed that it does work although admittedly it might be a little bit confusing because once headless-mode is enable, the run level remains at 5. So it might seem like nothing happened. I will be posting an updated video soon demonstrating the full process, not just how to set the headless file. Thanks for feedback its appreciated.
I had noticed that it only works when the "/boot/headless" file is not empty.
In my initial tests it did not work. No sound. No flashing LED. The firstboot process just started. Reason: My "headless" file was 0 bytes.
With a blank line in the file and it works. But it took me a while before I realized that...

I wrote earlier that I do not know if it's a bug or that the documentation should mention that the file should not be empty.

It's no problem that the run level stays at 5. That's easy to change.
tedsluis I made a silly change to the script just before the release I forgot to check whether the file was blank then request an ip address through dhcp. Also everyone should not that headless mode is experimental I am making updates to the package that will fix the dhcp issue also if your using a windows machine the headless file will have a .txt extension that the script won't recognize.

lysbleu
Posts: 3
Joined: Wed May 22, 2013 11:52 pm

Re: Pidora 18 (Raspberry Pi Fedora Remix) Release

Thu May 23, 2013 8:34 pm

I also had trouble uninstalling firstboot and lightdm, a line in the script results in "no job control" error.

Actually, what would be great is to propose a minimal / command-line version of Pidora, I don't think (but I might be wrong) that it would be a lot of work (it should be easier to remove things than to add, no?). But it is just a suggestion of course ;) .

User avatar
tedsluis
Posts: 107
Joined: Sun Mar 03, 2013 11:49 am
Location: The Netherlands

Re: Pidora 18 (Raspberry Pi Fedora Remix) Release

Thu May 23, 2013 8:46 pm

agreene wrote:tedsluis I made a silly change to the script just before the release I forgot to check whether the file was blank then request an ip address through dhcp. Also everyone should not that headless mode is experimental I am making updates to the package that will fix the dhcp issue also if your using a windows machine the headless file will have a .txt extension that the script won't recognize.
No problem. It could also happen to me.
I have added a suggestion for improvement to the ticket: http://trac.proximity.on.ca/projects/rpfr/ticket/317
--- If you cannot divide then you cannot multiply. ---

User avatar
tedsluis
Posts: 107
Joined: Sun Mar 03, 2013 11:49 am
Location: The Netherlands

Re: Pidora 18 (Raspberry Pi Fedora Remix) Release

Thu May 23, 2013 9:05 pm

lysbleu wrote:I also had trouble uninstalling firstboot and lightdm, a line in the script results in "no job control" error.
firstboot can be disabled by:
# systemctl stop firstboot-graphical.service
# systemctl disable firstboot-graphical.service

(located in /usr/lib/systemd/system/)

And in /etc/systemd/system you can find display-manager.service -> /usr/lib/systemd/system/lightdm.service
# systemctl stop display-manager.service
# systemctl disable display-manager.service
(located in /etc/systemd/system)

Does this help you?
--- If you cannot divide then you cannot multiply. ---

lysbleu
Posts: 3
Joined: Wed May 22, 2013 11:52 pm

Re: Pidora 18 (Raspberry Pi Fedora Remix) Release

Thu May 23, 2013 9:14 pm

tedsluis wrote:
lysbleu wrote:I also had trouble uninstalling firstboot and lightdm, a line in the script results in "no job control" error.
firstboot can be disabled by:
# systemctl stop firstboot-graphical.service
# systemctl disable firstboot-graphical.service

(located in /usr/lib/systemd/system/)

And in /etc/systemd/system you can find display-manager.service -> /usr/lib/systemd/system/lightdm.service
# systemctl stop display-manager.service
# systemctl disable display-manager.service

Does this help you?
I was able to deactivate them, but not to uninstall them (to save some Mb). It's no big deal actually, I was just saying it because it is strange (and looks like a minor bug to me, I think there is a '%' symbol somewhere causing the 'fg : no job control').

User avatar
ouafnico
Posts: 67
Joined: Wed Jan 23, 2013 7:35 am

Re: Pidora 18 (Raspberry Pi Fedora Remix) Release

Fri May 24, 2013 9:09 am

Does Pidora contains all needed for the raspberry webcam ?

agreene
Posts: 39
Joined: Fri Sep 14, 2012 6:47 pm

Re: Pidora 18 (Raspberry Pi Fedora Remix) Release

Fri May 24, 2013 3:49 pm

ouafnico wrote:Does Pidora contains all needed for the raspberry webcam ?
Pidora does contain all the firmware need for the webcam but we have not tested it yet because we don't have the hardware yet.

peterst
Posts: 16
Joined: Sun Apr 28, 2013 6:59 pm

Re: Pidora 18 (Raspberry Pi Fedora Remix) Release

Sat May 25, 2013 10:14 am

is xbmc available in pidora?

User avatar
tedsluis
Posts: 107
Joined: Sun Mar 03, 2013 11:49 am
Location: The Netherlands

Re: Pidora 18 (Raspberry Pi Fedora Remix) Release

Mon May 27, 2013 9:21 am

From now on it is most likely that Pidora will be downloaded more frequently: Pidora RC1 is now available at http://www.raspberrypi.org/downloads!

Although the http://www.pidora.ca still says "RaspberryPi.org Downloads (Coming soon)"
--- If you cannot divide then you cannot multiply. ---

cclauss
Posts: 3
Joined: Mon Mar 04, 2013 12:09 pm

Re: Pidora 18 (Raspberry Pi Fedora Remix) Release

Mon May 27, 2013 9:08 pm

In Pidora, is there a headless mode way to expand the rootfs to take up the entire SD card without doing remote Xwindows into the Pi?

'Parted' runs on the command line but I don't know how to expand the rootfs with it.

User avatar
tedsluis
Posts: 107
Joined: Sun Mar 03, 2013 11:49 am
Location: The Netherlands

Re: Pidora 18 (Raspberry Pi Fedora Remix) Release

Tue May 28, 2013 5:23 am

cclauss wrote:In Pidora, is there a headless mode way to expand the rootfs to take up the entire SD card without doing remote Xwindows into the Pi?

'Parted' runs on the command line but I don't know how to expand the rootfs with it.
If have opened a new topic to answer this question:http://www.raspberrypi.org/phpBB3/viewt ... 51&t=45265
--- If you cannot divide then you cannot multiply. ---

SirClayton
Posts: 10
Joined: Sun Feb 03, 2013 5:55 pm

Re: Pidora 18 (Raspberry Pi Fedora Remix) Release

Tue May 28, 2013 10:59 am

I can't install Totem, any idea why?
Pi and Google...

Return to “Pidora / Fedora”