From Fedora Project Wiki
 
(9 intermediate revisions by the same user not shown)
Line 12: Line 12:
This page will give you detailed instructions for running Fedora 18 Alpha through QEMU. The tarball includes all that is needed to boot your system including the root filesystem image and the pre-extracted kernel and initramfs. Also, included for your convenience are two scripts to boot using a serial connection or the XFCE desktop.
This page will give you detailed instructions for running Fedora 18 Alpha through QEMU. The tarball includes all that is needed to boot your system including the root filesystem image and the pre-extracted kernel and initramfs. Also, included for your convenience are two scripts to boot using a serial connection or the XFCE desktop.


= Download the image =
=== Download the image ===
The first step is to download the Fedora 17 image and optional kernel package for the image you wish to boot. (Note: The image also includes the kernel, but for ease of use the kernel is also provided in a separate package)
The first step is to download the Fedora 18 Alpha image:
*[http://dl.fedoraproject.org/pub/fedora-secondary/releases/test/18-Alpha/Images/armhfp/Fedora-18-Alpha-armhfp-vexpress-xfce.img.xz Vexpress Tarball]
Download and verify the checksum:
wget http://dl.fedoraproject.org/pub/fedora-secondary/releases/test/18-Alpha/Images/armhfp/Fedora-18-Alpha-armhfp-Images-CHECKSUM
sha256sum --check Fedora-18-Alpha-armhfp-Images-CHECKSUM


* [http://download.fedoraproject.org/pub/fedora-secondary/releases/17/Images/armhfp/Fedora-17-armhfp-vexpress-mmcblk0.img.xz HFP Serial Console Image]
===Preparing the Image===
**Optional Kernel package: [http://download.fedoraproject.org/pub/fedora-secondary/releases/17/Images/armhfp/Fedora-17-armhfp-vexpress-mmcblk0-kernel.tar.xz Kernel]
====Linux Users====
* [http://download.fedoraproject.org/pub/fedora-secondary/releases/17/Images/arm/Fedora-17-arm-vexpress-mmcblk0.img.xz  SFP Serial Console Image ]
Before extracting the vexpress image you will need to rename it as follows:
** Optional Kernel package: [http://download.fedoraproject.org/pub/fedora-secondary/releases/17/Images/arm/Fedora-17-arm-vexpress-mmcblk0-kernel.tar.xz Kernel]
  mv Fedora-18-Alpha-armhfp-vexpress-xfce.img.xz Fedora-18-Alpha-armhfp-vexpress-xfce.tar.xz
* [http://download.fedoraproject.org/pub/fedora-secondary/releases/17/Images/armhfp/Fedora-17-armhfp-vexpress-xfce-mmcblk0.img.xz HFP XFCE Desktop Image]
Now your ready to extract the tarball using the graphical user interface or the following commandline option:
** Optional Kernel package: [http://download.fedoraproject.org/pub/fedora-secondary/releases/17/Images/armhfp/Fedora-17-armhfp-vexpress-xfce-mmcblk0-kernel.tar.xz Kernel]
  tar xvJf Fedora-18-Alpha-armhfp-vexpress-xfce.tar.xz
* [http://download.fedoraproject.org/pub/fedora-secondary/releases/17/Images/arm/Fedora-17-arm-vexpress-xfce-mmcblk0.img.xz SFP XFCE Desktop Image]
====Windows Users====
** Optional Kernel package: [http://download.fedoraproject.org/pub/fedora-secondary/releases/17/Images/arm/Fedora-17-arm-vexpress-xfce-mmcblk0-kernel.tar.xz Kernel]
 
=Preparing the Image=
===Linux Users===
Extract the downloaded Versatile Express image and kernel using the your graphical user interface or the following commandline option(note in this example we are using the HFP Image):
 
For the Serial Image:
  unxz Fedora-17-armhfp-vexpress-mmcblk0.img.xz
unxz Fedora-17-armhfp-vexpress-mmcblk0-kernel.tar.xz
 
For the XFCE Desktop:
  unxz Fedora-17-armhfp-vexpress-xfce-mmcblk0.img.xz
unxz Fedora-17-armhfp-vexpress-xfce-mmcblk0-kernel.tar.xz
 
===Windows Users===
QEMU is also available on Windows but is not yet covered in this guide. For more information on running QEMU on Windows please visit their [http://wiki.qemu.org/Main_Page website].
QEMU is also available on Windows but is not yet covered in this guide. For more information on running QEMU on Windows please visit their [http://wiki.qemu.org/Main_Page website].


Line 43: Line 32:
  yum install qemu-system-arm
  yum install qemu-system-arm
Once installed, change to the boot directory of the extracted kernel package:
Once installed, change to the boot directory of the extracted kernel package:
  cd armhfp-vexpress-mmcblk0/boot
  cd F18-vexpress-xfce-20121025/boot/
From there execute the provided script. Depending on which option you selected for your download:
From there execute the provided script. Choose from the following boot scripts


For serial console:
For serial console:
  bash boot-vexpress vmlinuz-3.4.2-3.fc17.armv7hl initramfs-3.4.2-3.fc17.armv7hl.img /<path>/<to-image>/Fedora-17-armhfp-vexpress-mmcblk0.img
  ./boot-vexpress vmlinuz-3.6.3-3.fc18.armv7hl initramfs-3.6.3-3.fc18.armv7hl.img ../F18-vexpress-xfce-20121025.img
For XFCE Desktop:
For XFCE Desktop:
  bash boot-vexpress+x vmlinuz-3.4.2-3.fc17.armv7hl initramfs-3.4.2-3.fc17.armv7hl.img /<path>/<to-image>/Fedora-17-armhfp-vexpress-xfce-mmcblk0.img
  ./boot-vexpress+x vmlinuz-3.6.3-3.fc18.armv7hl initramfs-3.6.3-3.fc18.armv7hl.img ../F18-vexpress-xfce-20121025.img
The default root password is "fedora". This should be changed immediately.
==Release Notes==
 
* This test image includes the updates-testing repository enabled by default.
 
* Images were composed using tools in Fedora 17 due to continuing work on Fedora 18.


==Known Issues==
* The image will automatically be relabeled for SE Linux, this may take some time and will reboot when finished.
* Yum requires the system time be correct for HTTPS to function.  If yum updates are not working check your clock.
* Versatile Express images require the kernel parameter 'physmap.enabled=0' be passed to boot correctly.  This is included in the boot-vexpress and boot-vexpress+x scripts.
* The tar.xz rootfs archives do not preserve SELinux information or file capabilities.  If you use these to create your own filesystem image it is recommended that you switch SELinux to use warnings instead of enforcing for first boot, then relabel and reinstall packages that rely upon filesystem capabilities such as glibc-common and ping.
* [[Common_F17_bugs|Known release issues]]


=Additional Support=
=Additional Support=
There are Fedora ARM users all around the globe - if you need assistance, would like to provide feedback or contribute to Fedora ARM please visit us on the IRC - we can be found in #fedora-arm on Freenode. You can also contact us on the mailing list - arm@lists.fedoraproject.org
There are Fedora ARM users all around the globe - if you need assistance, would like to provide feedback or contribute to Fedora ARM please visit us on the IRC - we can be found in #fedora-arm on Freenode. You can also contact us on the mailing list - arm@lists.fedoraproject.org

Latest revision as of 23:34, 1 November 2012

Versatile Express

The Versatile Express family of development platforms provides users with a modular board design for use testing different ARM SOC design implementations. QEMU provides the ability to emulate ARM Versatile Express for Cortex-A9 on your desktop computer for easy experimentation!

Technical Specifications

  • ARM Versatile Express for Cortex-A9
  • 1GB RAM
  • 10/100Mbit/s Ethernet

For more information on Versatile Express or QEMU visit their websites.

Running Fedora through QEMU

This page will give you detailed instructions for running Fedora 18 Alpha through QEMU. The tarball includes all that is needed to boot your system including the root filesystem image and the pre-extracted kernel and initramfs. Also, included for your convenience are two scripts to boot using a serial connection or the XFCE desktop.

Download the image

The first step is to download the Fedora 18 Alpha image:

Download and verify the checksum:

wget http://dl.fedoraproject.org/pub/fedora-secondary/releases/test/18-Alpha/Images/armhfp/Fedora-18-Alpha-armhfp-Images-CHECKSUM
sha256sum --check Fedora-18-Alpha-armhfp-Images-CHECKSUM

Preparing the Image

Linux Users

Before extracting the vexpress image you will need to rename it as follows:

mv Fedora-18-Alpha-armhfp-vexpress-xfce.img.xz Fedora-18-Alpha-armhfp-vexpress-xfce.tar.xz

Now your ready to extract the tarball using the graphical user interface or the following commandline option:

tar xvJf Fedora-18-Alpha-armhfp-vexpress-xfce.tar.xz

Windows Users

QEMU is also available on Windows but is not yet covered in this guide. For more information on running QEMU on Windows please visit their website.

Using Fedora through QEMU

First you will need to install the ARM QEMU package (this example is using Fedora)

yum install qemu-system-arm

Once installed, change to the boot directory of the extracted kernel package:

cd F18-vexpress-xfce-20121025/boot/

From there execute the provided script. Choose from the following boot scripts

For serial console:

./boot-vexpress vmlinuz-3.6.3-3.fc18.armv7hl initramfs-3.6.3-3.fc18.armv7hl.img ../F18-vexpress-xfce-20121025.img

For XFCE Desktop:

./boot-vexpress+x vmlinuz-3.6.3-3.fc18.armv7hl initramfs-3.6.3-3.fc18.armv7hl.img ../F18-vexpress-xfce-20121025.img

The default root password is "fedora". This should be changed immediately.

Release Notes

  • This test image includes the updates-testing repository enabled by default.
  • Images were composed using tools in Fedora 17 due to continuing work on Fedora 18.
  • The image will automatically be relabeled for SE Linux, this may take some time and will reboot when finished.

Additional Support

There are Fedora ARM users all around the globe - if you need assistance, would like to provide feedback or contribute to Fedora ARM please visit us on the IRC - we can be found in #fedora-arm on Freenode. You can also contact us on the mailing list - arm@lists.fedoraproject.org