From Fedora Project Wiki
No edit summary
mNo edit summary
 
(36 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{autolang|base=yes}}
{{autolang|base=yes}}


[[Category:Fedora ARM]][[Category:Fedora 24]]
[[Category:Fedora ARMv7]][[Category:Fedora 24]]


{{draft}}
=Fedora 24 for ARM=
 
Today the Fedora Project is pleased to announce the general release of Fedora 24. Download it now from our Get Fedora site:
 
* https://arm.fedoraproject.org/


=Fedora 24 for ARM=
====Overview of Hardware Support Status====
* [[Architectures/ARM/F24/Installation/Hardware_Status|Hardware Support Status]]


The Fedora ARM team is pleased to announce that Fedora 24 for the ARM Architecture is now available for download from:
== Another Step in the Fedora Journey ==


* Spins      - http://download.fedoraproject.org/pub/fedora/linux/releases/24/Images/armhfp/
The Fedora Project has embarked on a great journey... redefining what an operating system should be for users and developers. Such innovation does not come overnight, and Fedora 24 is one big step on the road to the next generation of Linux distributions. But that does not mean that Fedora 24 is some "interim" release; there are great new features for Fedora users to deploy in their production environments right now! There are many features in this new release, highlighted here. For more detailed information on Fedora 24, please read the [https://docs.fedoraproject.org/release-notes Release Notes].
* Workstation - http://download.fedoraproject.org/pub/fedora/linux/releases/24/Workstation/armhfp/Images/
* Server      - http://download.fedoraproject.org/pub/fedora/linux/releases/24/Server/armhfp/Images/


Fedora 24 for ARM includes a number of images providing for a variety of desktop choices (including MATE, XFCE, LXDE, SOAS), as well as a minimal and Server image that does not include the desktop. Any of these images can be used with QEMU on an x86_64 desktop to emulate a fully functional ARM environment.
== Workstation ==


The image-based installation process involves downloading an image file (depending upon the desktop/non-desktop option desired), inserting removable media into a "host" system (e.g. an ARM or x86_64 PC class desktop, laptop, etc.) and performing a few simple commands to write this image onto the media. This media is then used by the ARM "target" system to boot the Fedora 24 environment.
The Fedora 24 Workstation release features GNOME 3.20, with many usability improvements such as easier input device and printer settings, a better search interface, shortcut windows for keyboard commands, and more convenient music controls. Flatpak (formerly xdg-app) is another building-block feature, with Software able to track installed Flatpaks and adding more features in the future as the technology develops. The Software app has also grown features to provide a full system upgrade directly from the desktop from one Fedora release to the next, and the ability to provide labeling as well as reviews of available software. Fedora 24 continues our work on the X replacement, Wayland, a next-generation graphics stack. Although this release will not default to Wayland, it includes many improvements and is available as an option for users to try out, and potentially will be the default stack in Fedora 25.


== What is the release? ==
== Server ==


The release contains all the exciting features of Fedora 24's editions in a form that anyone can help test. This testing, guided by the [[QA|Fedora QA team]], helps us target and identify bugs. When these bugs are fixed, we make a release available. A release is code-complete and bears a very strong resemblance to the third and final release. The final release of Fedora 24 is [[Releases/24/Schedule|expected]] in October.
Fedora 24 Server edition is more streamlined and introduces more modularity, which will become a major factor in future Fedora releases, even as unnecessary packages were removed and the installer has a smaller footprint. FreeIPA 4.3 is a major feature for Fedora 24 Server. FreeIPA is an integrated security information management solution. This new version of FreeIPA features simplified replica installation and improved replication technology management.


We need your help to make Fedora 24 the best release yet, so please take some time to download and try out the and make sure the things that are important to you are working. If you find a bug, [[How_to_file_a_bug_report|please report it]] – every bug you uncover is a chance to improve the experience for millions of Fedora users worldwide.
== Spins and Labs ==


Together, we can make Fedora rock-solid. We have a culture of coordinating new features and pushing fixes [[Staying_close_to_upstream_projects|upstream]] as much as feasible, and your feedback will help improve not only Fedora but Linux and free software on the whole.
Fedora Spins and Labs are alternative Fedora versions that offer additional desktop environments, or other custom collections of software, alongside the three editions that are the primary focus for the project. Our Spins make it easy for people to use other desktop environments. Everyone has different needs and Spins are a great way for us to meet them. The Fedora 24 spins release showcases KDE Plasma, Xfce, LXDE, Mate-Compiz, and Cinnamon, all on the same Fedora base. Fedora Labs offer collections of software for specific purposes: Games, Robotics, and so on. They are pre-selected sets of software ideal for events or audiences with specialized interests that need corresponding software. Fedora 24 comes with a new lab focused on Astronomy, which contains a set of tools for astronomers and astrophysicists.


== Fedora-Wide Changes ==
== Make Fedora Even Better ==


Fedora 24 includes a number of changes that will improve all of the editions. For example, Fedora 24 is making use of compiler flags to help improve security by "[[Changes/Harden_All_Packages|hardening]]" the binaries against memory corruption vulnerabilities, buffer overflows, and so on. This is a "behind the scenes" change that most users won't notice through normal use of a Fedora edition, but should help provide additional system security.  
If you want to take an active hand in making Fedora even better, there are many ways you can contribute. There are many roles that you can participate. Visit http://whatcanidoforfedora.org/ for more information! While this is a general release, there is always a chance you may encounter bugs or missing features. To report issues encountered during testing, contact the Fedora QA team via the mailing list or in <code>#fedora-qa</code> on Freenode IRC. As testing progresses, common issues are tracked on the Common F24 Bugs page.


Likewise, Fedora 24 has disabled SSL3 and RC4 by default due to known vulnerabilities in the protocols. This means all applications that use GNUTLS and OpenSSL libraries have had the SSL3 protocol and RC4 cipher disabled.  
* https://fedoraproject.org/wiki/Common_F24_bugs


Fedora 24 also includes support for [http://blog.unicode.org/2015/06/announcing-unicode-standard-version-80.html Unicode 8.0], which includes new emojis, and improvements in sorting Unicode text and processing non-ASCII URLs.  
For tips on reporting a bug effectively, read &quot;how to file a bug report.&quot;


====Overview of Hardware Support Status====
* https://fedoraproject.org/wiki/How_to_file_a_bug_report
* [http://fedoraproject.org/wiki/Architectures/ARM/F24/Installation/Hardware_Status Hardware Support Status]


=Download the Disk Image & Copy to Media=
=Download the Disk Image & Copy to Media=
Line 45: Line 47:
After writing the image and correct U-boot file(s), insert the media into the target platform and boot.
After writing the image and correct U-boot file(s), insert the media into the target platform and boot.


*http://download.fedoraproject.org/pub/fedora/linux/releases/24/Images/armhfp/
*http://download.fedoraproject.org/pub/fedora/linux/releases/24/Spins/armhfp/images/


== Scripted ==
== Fedora Arm Installer ==
{{admon/note|Note | The examples provided here are from a Fedora 20/21/22 host and may need to be adjusted depending on your host environment.}}
{{admon/note|Note | The examples provided here are from a Fedora 21/22/23 host and may need to be adjusted depending on your host environment.}}


Execute the following script as a user with sudo privileges. It will copy the
Execute the following script as a user with sudo privileges. It will copy the
Line 56: Line 58:
To add a board not listed, simply create a bash scriptlet with the commands
To add a board not listed, simply create a bash scriptlet with the commands
needed to copy U-Boot to media and add to the 'boards.d' directory.
needed to copy U-Boot to media and add to the 'boards.d' directory.
  dnf install fedora-arm-installer   #Fedora 22 and above
 
yum install fedora-arm-installer  #Older releases
  sudo dnf install fedora-arm-installer
 
<pre>
<pre>
Usage: fedora-arm-image-installer <options>
Usage: fedora-arm-image-installer <options>
Line 63: Line 66:
   --image=IMAGE    - xz compressed image file name
   --image=IMAGE    - xz compressed image file name
   --target=TARGET  - target board
   --target=TARGET  - target board
      [A10-OLinuXino-Lime|A20-OLinuXino-Lime|A20-OLinuXino-Lime2|A20-OLinuXino_MICRO|am335x_boneblack|Bananapi|Bananapro|cm_fx6|Cubieboard|Cubieboard2|Cubietruck|jetson-tk1|Linksprite_pcDuino|Linksprite_pcDuino3|Linksprite_pcDuino3_Nano|Mele_A1000|Mini-X|mx6cuboxi|none|novena|omap4_panda|omap5_uevm|riotboard|trimslice|wandboard]
      [A10-OLinuXino-Lime|A20-OLinuXino-Lime|A20-OLinuXino-Lime2|A20-OLinuXino_MICRO|am335x_boneblack|arndale|Bananapi|Bananapro|cm_fx6|Cubieboard|Cubieboard2|Cubietruck|jetson-tk1|Linksprite_pcDuino|Linksprite_pcDuino3|Linksprite_pcDuino3_Nano|Mele_A1000|Mele_A1000G_quad|Mini-X|mx6cuboxi|none|novena|omap4_panda|omap5_uevm|riotboard|trimslice|wandboard]
   --media=DEVICE  - media device file (/dev/[sdX|mmcblkX])
   --media=DEVICE  - media device file (/dev/[sdX|mmcblkX])
   --selinux=ON/OFF - Turn SELinux off/on as needed
   --selinux=ON/OFF - Turn SELinux off/on as needed
Line 70: Line 73:
   --version     - Display version and exit
   --version     - Display version and exit
   --resizefs     - Resize root filesystem to fill media device
   --resizefs     - Resize root filesystem to fill media device
  --addconsole    - Add system console to extlinux.conf


Example: fedora-arm-image-installer --image=Fedora-Rawhide.xz --target=panda --media=/dev/mmcblk0 --selinux=OFF
Example: fedora-arm-image-installer --image=Fedora-Rawhide.xz --target=Bananapi --media=/dev/mmcblk0 --selinux=OFF
 
</pre>
 
== Manual==
Choose a disk image.
http://download.fedoraproject.org/pub/fedora/linux/releases/24/Images/armhfp/
Write the image to your media
TYPE=  # options include KDE, LXDE, XFCE, SoaS, Mate and Minimal
MEDIA= #/dev/<location-of-your-media>
        # for example /dev/sdc, /dev/sdg, ...
        # read /var/log/messages to learn which device was assigned to your media
xzcat Fedora-$TYPE-armhfp-24-10-sda.raw.xz | sudo dd of=$MEDIA; sync
After writing the image, read the new partition table and mount the root partition
partprobe $MEDIA
PART=  #/dev/<location-of-your-media><partition-number>
        # this needs to be the root partition on the written media
        # for example /dev/sdc3, /dev/sdg3, /dev/mmcblk0p3, ...
mkdir /tmp/root; sudo mount $PART /tmp/root
Copy the appropriate U-Boot files for your target hardware listed below.


=Write U-Boot to Media=
Follow theses steps to write the appropriate U-Boot for your Hardware.
===For the Banana Pi / CubieBoard / CubieBoard2 / CubieTruck (Allwinner A20)===
Note - It is important to use the use format shown below for your target.
TARGET= # Bananapi , CubieBoard , Cubieboard2 , Cubietruck
        # Linksprite_pcDuino , Linksprite_pcDuino3 , Linksprite_pcDuino3_Nano
MEDIA= #/dev/<location-of-your-media>
        # for example /dev/sdc, /dev/sdg, ...
        # read /var/log/messages to learn which device was assigned to your media
sudo dd if=/tmp/root/usr/share/uboot/$TARGET/u-boot-sunxi-with-spl.bin of=$MEDIA bs=1024 seek=8 conv=fsync,notrunc
Media should now be ready to boot, insert into the device and boot.
===For the BeagleBone ( Black & White ) ===
{{admon/warning|IMPORTANT | You need to use the internal MMC to boot Fedora 24 as is. As a temporary work around, you can replace the initramfs included on the images with files found here - http://pwhalen.fedorapeople.org/Fedora/24/Beta/beaglebone/ to boot from mSD. The issue and temporary work around are described on the mailing list - http://lists.fedoraproject.org/pipermail/arm/2015-August/009814.html }}
MEDIA= #/dev/<location-of-your-media>
        # for example /dev/sdc, /dev/sdg, ...
        # read /var/log/messages to learn which device was assigned to your media
sudo dd if=/tmp/root/usr/share/uboot/am335x_boneblack/MLO of=$MEDIA count=1 seek=1 conv=notrunc bs=128k
sudo dd if=/tmp/root/usr/share/uboot/am335x_boneblack/u-boot.img of=$MEDIA count=2 seek=1 conv=notrunc bs=384k
Media should now be ready to boot on the BeagleBone. Insert into the device and boot. To boot the Fedora 24 version of U-Boot on MicroSD you will need to hold the "User Boot" button (located near the MicroSD slot) when the device is powered on.
==== Copying Fedora U-Boot to eMMC on the Beaglebone Black====
To Copy the Fedora U-Boot to the eMMC on the Beaglebone Black execute the following steps:
<pre>
# mount emmc boot partition
mkdir /tmp/emmc; mount /dev/mmcblk1p1 /tmp/emmc
# optionally back up original U-Boot
mkdir /tmp/emmc/orig-uboot; cp /tmp/emmc/{MLO,u-boot.img} /tmp/emmc/orig-uboot/
# copy Fedora U-Boot
cp /usr/share/uboot/am335x_boneblack/{MLO,u-boot.img} /tmp/emmc/
</pre>
</pre>
Once completed you will no longer need to press the "User Boot" button to select the Fedora U-Boot.
===For the CompuLab TrimSlice===
{{admon/warning|IMPORTANT | You must use the latest Device Tree enabled U-Boot to boot the Fedora 24 Trimslice image, which you can find [http://www.trimslice.com/wiki/index.php/Trim-Slice_Firmware_Updater#v2012.04-1.02 here]. And environmental variables described [http://www.trimslice.com/wiki/index.php/Trim-Slice_Firmware_Updater#U-Boot_environment_variable here]. <b>Failure to do so will result in a non-booting system. Trimslice currently does not boot from MMC due to a time out when reading the initramfs</b>}}
The Trimslice requires no additional steps, U-Boot is included on the device.
=== For the Wandboard (Freescale i.MX6) ===
Note - The Wandboard includes a Solo, Dual, and Quad core configuration.  Determine your hardware configuration and use the appropriate value. While the Wandboard Quad has been tes
ted and confirmed working, the Solo and Dual core models should also work as well. The Wandboard Solo uses the same dtb as the Dual(imx6dl-wandboard.dtb).
Copy the U-boot for the Wandboard hardware in use:
BOARD= # Choose 'solo', 'dl' or 'quad'
MEDIA= #/dev/<location-of-your-media>
        # for example /dev/sdc, /dev/sdg, ...
        # read /var/log/messages to learn which device was assigned to your media
sudo dd if=/tmp/root/usr/share/uboot/wandboard_$BOARD/u-boot.imx of=$MEDIA bs=1k seek=1 conv=fsync; sync
Remove the media and insert into the Wandboard and boot.
{{admon/warning|IMPORTANT |<b>MicroSD for booting is located under the heatsink</b>}}
=== For the Pandaboard ===
MEDIA= #/dev/<location-of-your-media>
        # for example /dev/sdc, /dev/sdg, ...
        # read /var/log/messages to learn which device was assigned to your media
sudo dd if=/tmp/root/usr/share/uboot/panda/MLO of=$MEDIA count=1 seek=1 conv=notrunc bs=128k
sudo dd if=/tmp/root/usr/share/uboot/panda/u-boot.img of=$MEDIA count=2 seek=1 conv=notrunc bs=384k
Media should now be ready to boot on the Pandaboard. Insert into the device and boot.
===For the Jetson TK1===
{{admon/warning|IMPORTANT | Requires a recent version of U-Boot}}
The Jetson TK1 requires no additional steps, U-Boot is included on the device.


=For Versatile Express Emulation with QEMU=
=For Versatile Express Emulation with QEMU=
Line 161: Line 84:
=== Using an Existing Disk Image ===
=== Using an Existing Disk Image ===
Choose a disk image.
Choose a disk image.
  http://download.fedoraproject.org/pub/fedora/linux/releases/24/Images/armhfp/
  http://download.fedoraproject.org/pub/fedora/linux/releases/24/Spins/armhfp/images/
Extract the image:
Extract the image:
<pre>
<pre>
TYPE= # Type of image used. (eg Minimal, KDE, Xfce, SoaS, MATE)
TYPE= # Type of image used. (eg Minimal, KDE, Xfce, SoaS, MATE)
unxz Fedora-$TYPE-armhfp-24-10-sda.raw.xz
unxz Fedora-$TYPE-armhfp-24-1.2-sda.raw.xz
</pre>
</pre>
Install 'libguestfs-tools' to use virt-builder:
Install 'libguestfs-tools' to use virt-builder:
Line 171: Line 94:
Extract the kernel and initramfs for use with booting.
Extract the kernel and initramfs for use with booting.
<pre>
<pre>
virt-builder --get-kernel Fedora-$TYPE-armhfp-24-10-sda.raw
virt-builder --get-kernel Fedora-$TYPE-armhfp-24-1.2-sda.raw
</pre>
</pre>
Move the files to the default libvirt image location:
Move the files to the default libvirt image location:
  sudo mv Fedora-$TYPE-armhfp-24-10-sda.raw vmlinuz-4.2.3-300.fc24.armv7hl initramfs-4.2.3-300.fc24.armv7hl.img /var/lib/libvirt/images/
  sudo mv Fedora-$TYPE-armhfp-24-1.2-sda.raw vmlinuz-4.5.5-300.fc24.armv7hl initramfs-4.5.5-300.fc24.armv7hl.img /var/lib/libvirt/images/


==== Using Virt-Manager (Graphical ) ====
==== Using Virt-Manager (Graphical ) ====
Line 190: Line 113:
<pre>
<pre>
sudo virt-install \
sudo virt-install \
     --name Fedora-$TYPE-armhfp-24_--ram 1024 --arch armv7l --import --os-variant fedora22 \
     --name Fedora-$TYPE-armhfp-24 --ram 1024 --arch armv7l --import --os-variant fedora22 \
     --disk /var/lib/libvirt/images/Fedora-$TYPE-armhfp-24-10-sda.raw \
     --disk /var/lib/libvirt/images/Fedora-$TYPE-armhfp-24-1.2-sda.raw \
     --boot kernel=/var/lib/libvirt/images/vmlinuz-4.2.3-300.fc24.armv7hl,initrd=/var/lib/libvirt/images/initramfs-4.2.3-300.fc24.armv7hl.img,kernel_args="console=ttyAMA0 rw root=LABEL=_/ rootwait"
     --boot kernel=/var/lib/libvirt/images/vmlinuz-4.5.5-300.fc24.armv7hl,initrd=/var/lib/libvirt/images/initramfs-4.5.5-300.fc24.armv7hl.img,kernel_args="console=ttyAMA0 rw root=LABEL=_/ rootwait"
</pre>
</pre>


Line 199: Line 122:


For example to increase the image size by 10GB you can issue:
For example to increase the image size by 10GB you can issue:
   qemu-img resize Fedora-$TYPE-armhfp-24-10-sda.raw +10G
   qemu-img resize Fedora-$TYPE-armhfp-24-1.2-sda.raw +10G


=== Interactive Network Installation ===
=== Interactive Network Installation ===
Line 207: Line 130:
     --name f24-armhfp --ram 2048 --arch armv7l --os-variant fedora22\
     --name f24-armhfp --ram 2048 --arch armv7l --os-variant fedora22\
     --disk /var/lib/libvirt/images/f24-armhfp.raw,bus=virtio,format=raw,size=8 \
     --disk /var/lib/libvirt/images/f24-armhfp.raw,bus=virtio,format=raw,size=8 \
     --location=http://dl.fedoraproject.org/pub/fedora/linux/releases/24/Server/armhfp/os/ \
     --location=http://dl.fedoraproject.org/pub/fedora/linux/releases/24/Everything/armhfp/os/ \
     --extra-args="console=ttyAMA0 rw"
     --extra-args="console=ttyAMA0 rw"
</pre>
</pre>
Complete a Text or VNC Installation choosing a software packge and partitioning scheme. The system will attempt to reboot but fail until the next step is completed.
Complete a Text or VNC Installation choosing a software packge and partitioning scheme. The system will attempt to reboot but fail until the next step is completed.
Line 229: Line 151:
To resize the root partition use 'gparted' on a Fedora host.
To resize the root partition use 'gparted' on a Fedora host.


= Upgrade using Fedup =
= Upgrade using DNF =
It is also possible to upgrade to Fedora 24 from an existing Fedora 22 installation (previous releases may also work but have not been tested).
It is also possible to upgrade to Fedora 24 from an existing Fedora 23 installation (NOTE: This is not well tested prior to, and may not work for all hardware. Tested on Calxeda Highbank. Previous releases may also work but have not been tested).
<pre>
<pre>
# fully update the system
# fully update the system
dnf update -y
sudo dnf update -y
# install the upgrade plugin
# install the upgrade plugin
dnf install dnf-plugin-system-upgrade
sudo dnf install dnf-plugin-system-upgrade
#upgrade
# upgrade
dnf system-upgrade download --releasever=24
sudo dnf system-upgrade download --releasever=24
</pre>
</pre>


Line 243: Line 165:


* Display is not currently working in vexpress emulation.  
* Display is not currently working in vexpress emulation.  
* On some hardware, initial setup runs on serial console (initial-setup-text) rather than graphical on Desktop enabled images. If no serial console is available, restarting the system may start the graphical version. Removing the symlink for initial-setup-text will ensure the correct version is run.  
* On some hardware, initial setup runs on serial console (initial-setup-text) rather than graphical on Desktop enabled images. If no serial console is available, restarting the system may start the graphical version. Removing the symlink for initial-setup-text will ensure the correct version is run.


For a list of all common bugs please visit - http://fedoraproject.org/wiki/Common_F24_bugs .
For a list of all common bugs please visit - http://fedoraproject.org/wiki/Common_F24_bugs .
Line 253: Line 175:
<pre>
<pre>
USER= # your user account
USER= # your user account
rm /run/media/$USER/__/etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
sudo rm /run/media/$USER/__/etc/systemd/system/graphical.target.wants/initial-setup-graphical.service #only needed for Desktop images
rm /run/media/$USER/__/etc/systemd/system/multi-user.target.wants/initial-setup-text.service
sudo rm /run/media/$USER/__/etc/systemd/system/multi-user.target.wants/initial-setup.service
mkdir /run/media/$USER/__/root/.ssh/
sudo mkdir /run/media/$USER/__/root/.ssh/
cat /home/$USER/.ssh/id_rsa.pub >> /run/media/$USER/__/root/.ssh/authorized_keys
cat /home/$USER/.ssh/id_rsa.pub | sudo tee -a /run/media/$USER/__/root/.ssh/authorized_keys
chmod -R u=rwX,o=,g= /run/media/$USER/__/root/.ssh/
sudo chmod -R u=rwX,o=,g= /run/media/$USER/__/root/.ssh/
</pre>
</pre>


Line 264: Line 186:
*  <b>QUESTION</b> : Why does 'yum update' fail?
*  <b>QUESTION</b> : Why does 'yum update' fail?
** <b>ANSWER</b>: The system time might be incorrect, please ensure it is correct.
** <b>ANSWER</b>: The system time might be incorrect, please ensure it is correct.
*  <b>QUESTION</b> : How do I enable hardware virtualization on the Jetson TK1?
** <b>ANSWER</b>: At a U-Boot prompt enter 'setenv bootm_boot_mode nonsec; saveenv'. Then boot using an LPAE kernel.
==== Copying Fedora U-Boot to eMMC on the Beaglebone Black====
To Copy the Fedora U-Boot to the eMMC on the Beaglebone Black execute the following steps:
<pre>
# mount emmc boot partition
mkdir /tmp/emmc; mount /dev/mmcblk1p1 /tmp/emmc
# optionally back up original U-Boot
mkdir /tmp/emmc/orig-uboot; cp /tmp/emmc/{MLO,u-boot.img} /tmp/emmc/orig-uboot/
# copy Fedora U-Boot
cp /usr/share/uboot/am335x_boneblack/{MLO,u-boot.img} /tmp/emmc/
</pre>
Once completed you will no longer need to press the "User Boot" button to select the Fedora U-Boot.

Latest revision as of 11:03, 6 June 2017

Fedora 24 for ARM

Today the Fedora Project is pleased to announce the general release of Fedora 24. Download it now from our Get Fedora site:

Overview of Hardware Support Status

Another Step in the Fedora Journey

The Fedora Project has embarked on a great journey... redefining what an operating system should be for users and developers. Such innovation does not come overnight, and Fedora 24 is one big step on the road to the next generation of Linux distributions. But that does not mean that Fedora 24 is some "interim" release; there are great new features for Fedora users to deploy in their production environments right now! There are many features in this new release, highlighted here. For more detailed information on Fedora 24, please read the Release Notes.

Workstation

The Fedora 24 Workstation release features GNOME 3.20, with many usability improvements such as easier input device and printer settings, a better search interface, shortcut windows for keyboard commands, and more convenient music controls. Flatpak (formerly xdg-app) is another building-block feature, with Software able to track installed Flatpaks and adding more features in the future as the technology develops. The Software app has also grown features to provide a full system upgrade directly from the desktop from one Fedora release to the next, and the ability to provide labeling as well as reviews of available software. Fedora 24 continues our work on the X replacement, Wayland, a next-generation graphics stack. Although this release will not default to Wayland, it includes many improvements and is available as an option for users to try out, and potentially will be the default stack in Fedora 25.

Server

Fedora 24 Server edition is more streamlined and introduces more modularity, which will become a major factor in future Fedora releases, even as unnecessary packages were removed and the installer has a smaller footprint. FreeIPA 4.3 is a major feature for Fedora 24 Server. FreeIPA is an integrated security information management solution. This new version of FreeIPA features simplified replica installation and improved replication technology management.

Spins and Labs

Fedora Spins and Labs are alternative Fedora versions that offer additional desktop environments, or other custom collections of software, alongside the three editions that are the primary focus for the project. Our Spins make it easy for people to use other desktop environments. Everyone has different needs and Spins are a great way for us to meet them. The Fedora 24 spins release showcases KDE Plasma, Xfce, LXDE, Mate-Compiz, and Cinnamon, all on the same Fedora base. Fedora Labs offer collections of software for specific purposes: Games, Robotics, and so on. They are pre-selected sets of software ideal for events or audiences with specialized interests that need corresponding software. Fedora 24 comes with a new lab focused on Astronomy, which contains a set of tools for astronomers and astrophysicists.

Make Fedora Even Better

If you want to take an active hand in making Fedora even better, there are many ways you can contribute. There are many roles that you can participate. Visit http://whatcanidoforfedora.org/ for more information! While this is a general release, there is always a chance you may encounter bugs or missing features. To report issues encountered during testing, contact the Fedora QA team via the mailing list or in #fedora-qa on Freenode IRC. As testing progresses, common issues are tracked on the Common F24 Bugs page.

For tips on reporting a bug effectively, read "how to file a bug report."

Download the Disk Image & Copy to Media

The image-based installation process involves downloading an image file (depending upon desktop/non-desktop option desired), inserting removable media into a "host" system (e.g. an ARM or x86_64 PC class desktop, laptop, etc.) and performing a few simple commands to write this image onto the media. This media is then used by the ARM "target" system to boot the Fedora 24 environment.

After writing the image and correct U-boot file(s), insert the media into the target platform and boot.

Fedora Arm Installer

Note
The examples provided here are from a Fedora 21/22/23 host and may need to be adjusted depending on your host environment.

Execute the following script as a user with sudo privileges. It will copy the selected disk image and write the appropriate U-Boot for the target hardware platform. Optionally you can also enable and disable SE Linux and remove the root password requirement (allowing log in without completing initial setup). To add a board not listed, simply create a bash scriptlet with the commands needed to copy U-Boot to media and add to the 'boards.d' directory.

sudo dnf install fedora-arm-installer
Usage: fedora-arm-image-installer <options>

   --image=IMAGE    - xz compressed image file name
   --target=TARGET  - target board
		      [A10-OLinuXino-Lime|A20-OLinuXino-Lime|A20-OLinuXino-Lime2|A20-OLinuXino_MICRO|am335x_boneblack|arndale|Bananapi|Bananapro|cm_fx6|Cubieboard|Cubieboard2|Cubietruck|jetson-tk1|Linksprite_pcDuino|Linksprite_pcDuino3|Linksprite_pcDuino3_Nano|Mele_A1000|Mele_A1000G_quad|Mini-X|mx6cuboxi|none|novena|omap4_panda|omap5_uevm|riotboard|trimslice|wandboard]
   --media=DEVICE   - media device file (/dev/[sdX|mmcblkX])
   --selinux=ON/OFF - Turn SELinux off/on as needed
   --norootpass     - Remove the root password
    -y		    - Assumes yes, will not wait for confirmation
   --version	    - Display version and exit
   --resizefs	    - Resize root filesystem to fill media device
   --addconsole     - Add system console to extlinux.conf

Example: fedora-arm-image-installer --image=Fedora-Rawhide.xz --target=Bananapi --media=/dev/mmcblk0 --selinux=OFF

For Versatile Express Emulation with QEMU

No ARM hardware? No problem! Even without hardware, it is possible to run the Fedora for ARM images using the QEMU emulator program. Any image can be used, and you can choose a scr ipt method or manual depending on your preference.

Using an Existing Disk Image

Choose a disk image.

http://download.fedoraproject.org/pub/fedora/linux/releases/24/Spins/armhfp/images/

Extract the image:

TYPE= # Type of image used. (eg Minimal, KDE, Xfce, SoaS, MATE)
unxz Fedora-$TYPE-armhfp-24-1.2-sda.raw.xz

Install 'libguestfs-tools' to use virt-builder:

sudo dnf install -y libguestfs-tools

Extract the kernel and initramfs for use with booting.

virt-builder --get-kernel Fedora-$TYPE-armhfp-24-1.2-sda.raw

Move the files to the default libvirt image location:

sudo mv Fedora-$TYPE-armhfp-24-1.2-sda.raw vmlinuz-4.5.5-300.fc24.armv7hl initramfs-4.5.5-300.fc24.armv7hl.img /var/lib/libvirt/images/

Using Virt-Manager (Graphical )

  • Start virt-manager, connect to 'QEMU', click the 'New VM' icon
  • On the first page, under 'Architecture Options' select 'arm'. The 'virt' machine type should be selected automatically
  • Select the 'Import install' option, go to the next page
  • Browse to the disk image, kernel, and initrd we moved in the previous step.
  • Set kernel args as: console=ttyAMA0 rw root=LABEL=_/ rootwait
  • Set the OS as Fedora 22.
  • Continue with the OS defaults, complete the install.

The guest should shortly start booting, and you should see text console output. After a bit of a wait, it should hit a text mode 'initial setup' where you can set a root password. To boot (you will need to determine the kernel version used in the disk image):

Using 'virt-install' (command line)

sudo virt-install \
    --name Fedora-$TYPE-armhfp-24 --ram 1024 --arch armv7l --import --os-variant fedora22 \
    --disk /var/lib/libvirt/images/Fedora-$TYPE-armhfp-24-1.2-sda.raw \
    --boot kernel=/var/lib/libvirt/images/vmlinuz-4.5.5-300.fc24.armv7hl,initrd=/var/lib/libvirt/images/initramfs-4.5.5-300.fc24.armv7hl.img,kernel_args="console=ttyAMA0 rw root=LABEL=_/ rootwait"

Expanding the Disk Image

You can easily expand the root partition of the disk image using qemu-img.

For example to increase the image size by 10GB you can issue:

 qemu-img resize Fedora-$TYPE-armhfp-24-1.2-sda.raw +10G

Interactive Network Installation

This example will create an 8Gb disk image in the libvirt images directory.

sudo virt-install \
    --name f24-armhfp --ram 2048 --arch armv7l --os-variant fedora22\
    --disk /var/lib/libvirt/images/f24-armhfp.raw,bus=virtio,format=raw,size=8 \
    --location=http://dl.fedoraproject.org/pub/fedora/linux/releases/24/Everything/armhfp/os/ \
    --extra-args="console=ttyAMA0 rw"

Complete a Text or VNC Installation choosing a software packge and partitioning scheme. The system will attempt to reboot but fail until the next step is completed.

Virt-Manager

  • Open Virt-Manager and select the image created above. Click on "Edit-> Virtual Machine Details -> View -> Details"
  • Under "Boot Options", add the kernel, initramfs
  • Use virt-cat to get the appropriate kernel args.
sudo virt-cat -a /var/lib/libvirt/images/f24-armhfp.raw /boot/extlinux/extlinux.conf

Booting for the First Time

Initial-setup

  • During the first boot the system will launch the 'initial-setup' utility. For graphical images this will occur on the display, for minimal images this will occur on the serial console. Failure to complete the initial-setup will prevent logging into the system. To log in to the root account without completing the initial-setup you will need to minimally edit '/etc/passwd' file and remove the 'x' from the line beginning with 'root' (this will allow you to log into the root account without entering a password).
    • NOTE - currently there is a timing issue with initial-setup, even though a display is connected, it may be run as text on the serial console. This is often resolved by rebooting the system.

Resize the Root Filesystem

To resize the root partition use 'gparted' on a Fedora host.

Upgrade using DNF

It is also possible to upgrade to Fedora 24 from an existing Fedora 23 installation (NOTE: This is not well tested prior to, and may not work for all hardware. Tested on Calxeda Highbank. Previous releases may also work but have not been tested).

# fully update the system
sudo dnf update -y
# install the upgrade plugin
sudo dnf install dnf-plugin-system-upgrade
# upgrade
sudo dnf system-upgrade download --releasever=24

Known Issues & Usage Tips

  • Display is not currently working in vexpress emulation.
  • On some hardware, initial setup runs on serial console (initial-setup-text) rather than graphical on Desktop enabled images. If no serial console is available, restarting the system may start the graphical version. Removing the symlink for initial-setup-text will ensure the correct version is run.

For a list of all common bugs please visit - http://fedoraproject.org/wiki/Common_F24_bugs .

FAQ

  • QUESTION : How do I use Fedora ARM when I have no serial cable or display?
    • ANSWER: Though not recommended it is possible to use Fedora ARM without a serial cable or display. When doing so you may want to limit updates to reduce the possibility of not being able to boot. (This example is from a Fedora 22 system, you may need to adjust the mounts used).
USER= # your user account
sudo rm /run/media/$USER/__/etc/systemd/system/graphical.target.wants/initial-setup-graphical.service  #only needed for Desktop images
sudo rm /run/media/$USER/__/etc/systemd/system/multi-user.target.wants/initial-setup.service
sudo mkdir /run/media/$USER/__/root/.ssh/
cat /home/$USER/.ssh/id_rsa.pub | sudo tee -a /run/media/$USER/__/root/.ssh/authorized_keys
sudo chmod -R u=rwX,o=,g= /run/media/$USER/__/root/.ssh/

Give the system a few minutes to boot, when it obtains an IP you should be able to ssh to the root account.

  • QUESTION : Why does 'yum update' fail?
    • ANSWER: The system time might be incorrect, please ensure it is correct.
  • QUESTION : How do I enable hardware virtualization on the Jetson TK1?
    • ANSWER: At a U-Boot prompt enter 'setenv bootm_boot_mode nonsec; saveenv'. Then boot using an LPAE kernel.


Copying Fedora U-Boot to eMMC on the Beaglebone Black

To Copy the Fedora U-Boot to the eMMC on the Beaglebone Black execute the following steps:

# mount emmc boot partition 
mkdir /tmp/emmc; mount /dev/mmcblk1p1 /tmp/emmc

# optionally back up original U-Boot
mkdir /tmp/emmc/orig-uboot; cp /tmp/emmc/{MLO,u-boot.img} /tmp/emmc/orig-uboot/

# copy Fedora U-Boot
cp /usr/share/uboot/am335x_boneblack/{MLO,u-boot.img} /tmp/emmc/

Once completed you will no longer need to press the "User Boot" button to select the Fedora U-Boot.