Puiterwijk (talk | contribs) mNo edit summary |
|||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
[[Category:Fedora | [[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 55: | Line 55: | ||
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: | 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 symbolic | 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 | cd /boot | ||
For example for 'kernel-tegra-3. | rm dtbs # remove the previous symlink if it exists | ||
ln -sf dtb-<kernel version> dtbs | |||
cd /boot | 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 | |||
Latest revision as of 10:59, 6 June 2017
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
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
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.
- 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
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