Mot-clé - tegra20

Fil des billets - Fil des commentaires

samedi, octobre 6 2018

A Fedora 28 Remix for Tegra using i3

This is dedicated to older Tegra such as Tegra20, Tegra30 and Tegra114. It can work on Tegra K1, but at this time, using Fedora 29 is a better choice. Specially as Fedora 29 on Tegra K1 and later have support for GPU acceleration with nouveau.

The image integrates the grate-driver that provides a reverse-engineer mesa driver (FLOSS, but not yet upstream). This only advertises OpenGL 1.4 yet, but it can at least run glxgears fine. This is not the case with the softpipe driver on Tegra20.

There is also a HW video decode driver using [libvdpau_tegra|https://github.com/grate-driver/libvdpau-tegra#usage-example|en].

Please use mpv or vlc from [RPM Fusion|https://rpmfusion.org|en|RPM Fusion] for video acceleration.

This spin was only tested on Toshiba AC100 and Trimslice.

* Download [Tegra Fedora 28 Respin via torrent|http://dl.kwizart.net/pub/tegra/28/Fedora-remix-tegra-i3-28-20180918.n.0-sda.raw.xz.torrent|en]

* Install the disk image on a sdcard

> SDCARD=/dev/sdc (to be adapted)

> xzcat Fedora-remix-tegra-i3-28-20180918.n.0-sda.raw.xz | sudo dd of=${SDCARD} bs=4M

You need a recent u-boot version with Extlinux support. I recommends 2018.09 release or later

To update the bootloader on tegra20 devices please see
https://github.com/NVIDIA/tegra-uboot-flasher-scripts

Remind that paz00 still lacks keyboard support for the bootloader upstream. To have keyboard support you can to get:
https://github.com/ac100-ru/u-boot-ac100-exp/tree/nvec-dev-mainline-master-2017-07-15
There is a pre-built u-boot binary based on this tree in the same directory.

If you want to install the packaged grate-driver from an official Fedora 28 image:
> curl https://repos.fedorapeople.org/repos/kwizart/ac100/fedora-ac100.repo -o /etc/yum.repos.d/fedora-ac100.repo
This will replace mesa libdrm, but you can keep the fedora kernel

Interested in having an official i3 spin in Fedora?
For Tegra, it will depends on the upstreaming of the grate-driver, but I've submitted a PR to have a generic i3 spin. As some arm or aarch64 based devices that can output display, but may not be able to have enough accelerated desktop capabilities (Unless using a proprietary or downstream driver that won't be in Fedora). See if you want to help:
https://pagure.io/fedora-kickstarts/pull-request/428