From Fedora Project Wiki

(stuff it in this category for now)
Line 4: Line 4:
 
|description=This case tests whether a direct deployment of a Fedora image works on an ARM platform.
 
|description=This case tests whether a direct deployment of a Fedora image works on an ARM platform.
 
|setup=
 
|setup=
# Make any required changes to the test system's bootloader configuration.
+
# Insert or connect the media to write the Fedora ARM disk image.
 
|actions=
 
|actions=
# Download the image you wish to test. There are two variants of each image, VFAT and ext. If the platform you are testing supports ext images, use the ext image. If it does not, use the VFAT image. The [[Architectures/ARM/F{{FedoraVersionNumber|next}}/Installation|ARM install instruction page]] lists which variant to use for which platforms.
+
You can quite easily prepare the image on the SD card on Fedora or any Linux distribution, MacOS or Windows. The default settings will provide the user interface on a HDMI monitor with keyboard and mouse support
# Write it to a form of media bootable on the test system following any instructions given on the appropriate instruction page (e.g. [[Architectures/ARM/F{{FedoraVersionNumber|next}}/Installation]] for the currently-pending Fedora release). Usually, this means running a command like <code>xzcat -v <filename>.raw.xz > /dev/<location-of-your-media></code>. For some platforms there will be further steps, which are explained on the instruction page.
+
 
# Attach the written medium to the test system and boot it, ensuring the medium takes priority over other boot methods.
+
=== Manually ===
 +
<pre> xzcat Fedora-IMAGE-NAME.raw.xz | sudo dd status=progress bs=4M of=/dev/XXX # Location of your media (will be sdX or mmcblkX depending on hardware)</pre>
 +
=== Scripted ===
 +
To install using arm-image-installer:
 +
<pre>
 +
dnf install -y arm-image-installer
 +
</pre>
 +
To write the image out use the following:
 +
<pre>
 +
$ sudo arm-image-installer
 +
 
 +
Usage: arm-image-installer <options>
 +
 
 +
  --image=IMAGE    - xz compressed image file name
 +
  --target=TARGET  - target board
 +
  --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
 +
  --addkey=        - /path/to/ssh-public-key
 +
 
 +
Example: arm-image-installer --image=Fedora-Rawhide.xz --target=Bananapi --media=/dev/mmcblk0
 +
 
 +
For list of supported boards please check SUPPORTED-BOARDS file.
 +
</pre>
 +
Attach the written medium to the test system and boot it, ensuring the medium takes priority over other boot methods.
 
|results=
 
|results=
 
# The system boots to the initial-setup tool.
 
# The system boots to the initial-setup tool.

Revision as of 14:02, 13 March 2019

Note.png
Associated release criterion
This test case is associated with the Basic_Release_Criteria#initialization-requirements release criterion. If you are doing release validation testing, a failure of this test case may be a breach of that release criterion. If so, please file a bug and nominate it as blocking the appropriate milestone, using the blocker bug nomination page.


Description

This case tests whether a direct deployment of a Fedora image works on an ARM platform.

Setup

  1. Insert or connect the media to write the Fedora ARM disk image.

How to test

You can quite easily prepare the image on the SD card on Fedora or any Linux distribution, MacOS or Windows. The default settings will provide the user interface on a HDMI monitor with keyboard and mouse support

Manually

 xzcat Fedora-IMAGE-NAME.raw.xz | sudo dd status=progress bs=4M of=/dev/XXX # Location of your media (will be sdX or mmcblkX depending on hardware)

Scripted

To install using arm-image-installer:

dnf install -y arm-image-installer

To write the image out use the following:

$ sudo arm-image-installer

Usage: arm-image-installer <options>

   --image=IMAGE    - xz compressed image file name
   --target=TARGET  - target board
   --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
   --addkey=        - /path/to/ssh-public-key

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

For list of supported boards please check SUPPORTED-BOARDS file.

Attach the written medium to the test system and boot it, ensuring the medium takes priority over other boot methods.

Expected Results

  1. The system boots to the initial-setup tool.