From Fedora Project Wiki
mNo edit summary
 
(21 intermediate revisions by 6 users not shown)
Line 1: Line 1:
[[Category:Fedora ARM]][[Category:Fedora 18]][[Category:Fedora ARM Hardware]]
[[Category:Fedora ARMv7]][[Category:Fedora 18]]
[[File:fedora-trimslice.jpg|right|300px|thumb|A Trimslice proudly wearing a "Powered by Fedora" case badge.]]
[[File:fedora-trimslice.jpg|right|300px|thumb|A Trimslice proudly wearing a "Powered by Fedora" case badge.]]
=Trimslice=
=Trimslice=
Line 17: Line 17:


= Download the image =
= Download the image =
The first step is to download the Fedora 18 image. The prebuilt image includes everything you will need and can be written directly to SD Card, USB, or SATA drive.  
The first step is to download the Fedora 18 image. The prebuilt image includes everything you will need and can be written directly to SD Card, USB, or SATA drive and will require a minimum of 4GB. There are two images available for the Trimslice, a hardware floating point (armhfp) image, and a software floating point (arm) image. If you are unsure of which to choose, the armhfp image is recommended, and will be used in the examples below (adjust accordingly for 'arm'):
 
* [http://dl.fedoraproject.org/pub/fedora-secondary/releases/18/Images/arm/Fedora-18-trimslice-arm.img.xz Trimslice arm Image]
* [http://dl.fedoraproject.org/pub/fedora-secondary/releases/18/Images/armhfp/Fedora-18-trimslice-armhfp.img.xz Trimslice Image]
* [http://dl.fedoraproject.org/pub/fedora-secondary/releases/18/Images/armhfp/Fedora-18-trimslice-armhfp.img.xz Trimslice armhfp Image]


Download and verify the checksum:
Download and verify the checksum:
  wget http://dl.fedoraproject.org/pub/fedora-secondary/releases/test/18/Images/armhfp/Fedora-18-armhfp-Images-CHECKSUM
  wget http://dl.fedoraproject.org/pub/fedora-secondary/releases/18/Images/armhfp/Fedora-18-armhfp-Images-CHECKSUM
  sha256sum --check Fedora-18-armhfp-Images-CHECKSUM
  sha256sum --check Fedora-18-armhfp-Images-CHECKSUM


Line 45: Line 45:
* Launch Win 32 Disk Imager and select the extracted disk image and the device you would like to write the files to. Click "Write". Be very careful during this step - all data on the selected drive will be lost!
* Launch Win 32 Disk Imager and select the extracted disk image and the device you would like to write the files to. Click "Write". Be very careful during this step - all data on the selected drive will be lost!
=Using Fedora on the Trimslice=
=Using Fedora on the Trimslice=
Connect the newly created media to your Trimslice and power on. No further steps are required and your system should boot to a serial console log in prompt. If you do not have a serial cable to connect your Trimslice, you can watch your DHCP server for the newly connected device. After a few minutes you should be able to see the host "fedora-arm'. Use SSH to connect to the root account.
{{admon/warning|IMPORTANT | You must use firmware "[http://trimslice.com/download/firmware-updater/v2010.09-1.03/firmware-updater.img.zip v2010.09-1.03]" to boot the Fedora 18 Trimslice image.  <b>Failure to do so will result in a non-booting system.</b>}}
  ssh root@fedora-arm (or IP)
Connect the newly created media to your Trimslice and power on. No further steps are required and your system should boot to a serial console log in prompt. If you do not have a serial cable to connect your Trimslice, you can watch your DHCP server for the newly connected device. After a few minutes you should be able to see the host IP address. Use SSH to connect to the root account.
  ssh root@<ip-of-host>
The default root password is "fedora". This should be changed immediately.
The default root password is "fedora". This should be changed immediately.
=Updating to the 3.7.X Kernel=
{{admon/warning|IMPORTANT | When upgrading to the 3.7.X kernel, the Trimslice will require a new version of U-Boot and a Device Tree Binary (.dtb). Follow the below directions for use. <b>Failure to do so will result in a non-booting system.</b>}}


As of the 3.7.X kernel, the Trimslice will require the latest version of [http://www.trimslice.com/wiki/index.php/Trim-Slice_Firmware_Updater#v2012.04-1.01 U-Boot] that supports Device Tree and the use of a Device Tree Binary blob (.dtb). To successfully upgrade to the latest kernel:
=Updating to the 3.7+ Kernel=
{{admon/warning|IMPORTANT | When upgrading to the 3.7+ kernel, the Trimslice will require a new version of U-Boot and a Device Tree Binary (.dtb). Follow the below directions for use. <b>Failure to do so will result in a non-booting system.</b>}}
 
As of the 3.7+ kernel, the Trimslice will require the latest version of [http://www.trimslice.com/wiki/index.php/Trim-Slice_Firmware_Updater#v2012.04-1.02 U-Boot] that supports Device Tree and the use of a Device Tree Binary blob (.dtb). To successfully upgrade to the latest kernel:
  yum update kernel-tegra
  yum update kernel-tegra
The kernel package will also install a subdirectory in '/boot/dtb-<kernel-version>' that will include the Device Tree Binary blob for the Trimslice. In order to use this 'dtb' file, create a symbolic link as follows:
The kernel package will also install a subdirectory in '/boot/dtb-<kernel-version>' that will include the Device Tree Binary blob for the Trimslice. In order to use this 'dtb' file, create a symbolic link as follows:
  ln -s /boot/dtb-<kernel-version> /boot/dtbs
For example for 'kernel-tegra-3.7.5-202.fc18.armv7hl'
cd /boot
  ln -s /boot/dtb-3.7.5-202.fc18.armv7hl.tegra /boot/dtbs
rm dtbs  # remove the previous symlink if it exists
Shutdown your device, and follow the instructions on the Compulab website to update the firmware on the Trimslice. Once the firmware is installed, boot the Fedora 18 installation.  
  ln -sf dtb-<kernel version> dtbs
For example for 'kernel-tegra-3.9.0-0.rc8.git0.1.fc19.armv7hl':
cd /boot
rm dtbs # remove the previous symlink if it exists
  ln -sf dtb-3.9.0-0.rc8.git0.1.fc19.armv7hl.tegra dtbs
 
 
Shutdown your device, and follow the instructions on the Compulab website to update the firmware on the Trimslice. Once the firmware is installed, you will need to add a couple of environmental variables to allow your system to boot. Boot your Trimslice and hit any key to prevent the system from booting, enter the following:
setenv fdt_high 0x2C000000
setenv initrd_high 0x2C000000
saveenv
reset
This should now boot into Fedora 18.
   
   


Line 65: Line 79:
* Images were composed using tools in Fedora 17 due to continuing work on Fedora 18.
* Images were composed using tools in Fedora 17 due to continuing work on Fedora 18.
* When using this image the system will automatically reboot to repartition the root filesystem on first boot. This will expand the size of the root partition to use all available space on the device.  To prevent this, delete the '.rootfs-repartition' flag in '/' or pass a kernel command line argument of 'nofsresize'.
* When using this image the system will automatically reboot to repartition the root filesystem on first boot. This will expand the size of the root partition to use all available space on the device.  To prevent this, delete the '.rootfs-repartition' flag in '/' or pass a kernel command line argument of 'nofsresize'.
* When upgrading the to 3.7.X kernel on the Trimslice you will require a new version of U-Boot that supports Device Tree, and a Device Tree Binary (.dtb) file.
** Version v2012.04-1.01, which provides DTB support also has a bug reducing available memory to 512M (This has been reported to CompuLab should be fixed in a future release).
** CompuLab distributes their Trimslice U-Boot firmware updates at http://www.trimslice.com/wiki/index.php/Trim-Slice_Firmware_Updater


=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 10:59, 6 June 2017

A Trimslice proudly wearing a "Powered by Fedora" case badge.

Trimslice

The Trim Slice is a small, fanless, nettop computer in an all metal case, manufactured by CompuLab. It is based on the NVIDIA Tegra 2 processor. It features a variety of connectivity options. At this time there is no support in Fedora for a display on the Trim Slice, so it boots to a serial console.

Technical Specifications

  • 1 GHz NVIDA Tegra 2 (dual-core ARM Cortex A9)
  • 1 GB DDR2-667 RAM
  • HDMI 1.3 max resolution 1920 x 1080
  • Gigabit Ethernet (Realtek RTL8111DL)
  • 802.11 b/g/n WiFi

For more information on the Trimslice visit their website.

Running Fedora on a Trimslice

This page will give you detailed instructions for running Fedora 18 on your Trimslice. The image is prepared to boot from SD card by default, but can be easily modified to boot from the internal SATA connection (USB) by using the appropriate boot script (boot.scr.usb).

Download the image

The first step is to download the Fedora 18 image. The prebuilt image includes everything you will need and can be written directly to SD Card, USB, or SATA drive and will require a minimum of 4GB. There are two images available for the Trimslice, a hardware floating point (armhfp) image, and a software floating point (arm) image. If you are unsure of which to choose, the armhfp image is recommended, and will be used in the examples below (adjust accordingly for 'arm'):

Download and verify the checksum:

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

Writing the Image

Linux Users

You can write the image to media of your choosing but it does have to meet the minimum size requirement of 4GB. Connect the media to your computer and make note of the drive. To write the image to your media run the following command, changing the drive to the location of your media.

For the SD Image:
xzcat Fedora-18-trimslice-armhfp.img.xz > /dev/<location-of-your-SD-card>

Once completed run the below command to ensure the entire image is written to the device:

sync
For the SATA/USB Image:
xzcat Fedora-18-trimslice-armhfp.img.xz > /dev/<location-of-your-SATA/USB>

Then mount the 'boot' partition and copy the appropriate boot script to boot.scr:

 cp boot.scr.usb boot.scr

Once completed run the below command to ensure the entire image is written to the device:

sync

Windows Users

  • You will need to download Win32 Image Writer as well as a tool to extract the image such as 7-Zip.
  • Once downloaded and installed right click on the disk image and select "7-Zip->Extract files here"
  • Launch Win 32 Disk Imager and select the extracted disk image and the device you would like to write the files to. Click "Write". Be very careful during this step - all data on the selected drive will be lost!

Using Fedora on the Trimslice

IMPORTANT
You must use firmware "v2010.09-1.03" to boot the Fedora 18 Trimslice image. Failure to do so will result in a non-booting system.

Connect the newly created media to your Trimslice and power on. No further steps are required and your system should boot to a serial console log in prompt. If you do not have a serial cable to connect your Trimslice, you can watch your DHCP server for the newly connected device. After a few minutes you should be able to see the host IP address. Use SSH to connect to the root account.

ssh root@<ip-of-host>

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

Updating to the 3.7+ Kernel

IMPORTANT
When upgrading to the 3.7+ kernel, the Trimslice will require a new version of U-Boot and a Device Tree Binary (.dtb). Follow the below directions for use. Failure to do so will result in a non-booting system.

As of the 3.7+ kernel, the Trimslice will require the latest version of U-Boot that supports Device Tree and the use of a Device Tree Binary blob (.dtb). To successfully upgrade to the latest kernel:

yum update kernel-tegra

The kernel package will also install a subdirectory in '/boot/dtb-<kernel-version>' that will include the Device Tree Binary blob for the Trimslice. In order to use this 'dtb' file, create a symbolic link as follows:

cd /boot
rm dtbs  # remove the previous symlink if it exists
ln -sf dtb-<kernel version> dtbs

For example for 'kernel-tegra-3.9.0-0.rc8.git0.1.fc19.armv7hl':

cd /boot
rm dtbs # remove the previous symlink if it exists
ln -sf dtb-3.9.0-0.rc8.git0.1.fc19.armv7hl.tegra dtbs


Shutdown your device, and follow the instructions on the Compulab website to update the firmware on the Trimslice. Once the firmware is installed, you will need to add a couple of environmental variables to allow your system to boot. Boot your Trimslice and hit any key to prevent the system from booting, enter the following:

setenv fdt_high 0x2C000000
setenv initrd_high 0x2C000000
saveenv
reset

This should now boot into Fedora 18.


Release Notes

  • Images were composed using tools in Fedora 17 due to continuing work on Fedora 18.
  • When using this image the system will automatically reboot to repartition the root filesystem on first boot. This will expand the size of the root partition to use all available space on the device. To prevent this, delete the '.rootfs-repartition' flag in '/' or pass a kernel command line argument of 'nofsresize'.
  • When upgrading the to 3.7.X kernel on the Trimslice you will require a new version of U-Boot that supports Device Tree, and a Device Tree Binary (.dtb) file.

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