Status of the Ubuntu port to the AC100/Dynabook Tegra based netbook

Ubuntu on AC100 is currently an official demonstration of the Ubuntu ARM port and works fairly well. This page collects information necessary to get a working Ubuntu 12.04 port on the AC100.


Installing Ubuntu 12.04 or Lubuntu 12.10 on the AC100

Installation requirements

Installation equipment

Files to download

For the installation, you will need to download these things:

12.04 (Precise Installer)

There are two AC100 related files in the 12.04 release directory:

Get them both and make sure that the md5sum corresponds after the download.

12.10 (Quantal Installer)

With the 12.10 release the AC100 image switched to Lubuntu as the default desktop. The 12.10 release is also the first release where the Tegra binary driver works out of the box and is properly included in the multiverse component of Ubuntu (see below for installation instructions).

There are two AC100 related files in the 12.10 release directory:

nvflash

The bootimage needs to be flashed via a mini-USB cable and using the nvflash tool.
This image when booted will set up the internal storage using a tarball provided on a USB stick or SD card.

The link contains instructions on how to easily install nvflash to your current debian-based linux-distro.

Installation

The installation is done in two phases:

Flashing the bootimage

Upgrades

Installing the preinstalled rootfs

Notes on installation

A Note About Fragmentation

The effort the bring hardware support has always been fragmented. We are thankful for phh who did the initial bringup of a working linux kernel on the ac100 and made Linux4Tegra work on the older root filesystems ogra who built all Ubuntu root filesystems and the official oneiric and precise images, marvin24 who has put effort in porting the Chrome OS kernel to the AC100, and the many others who were involved.

The downside of this fragmentation is that documentation is fragmented too. The goal of this wiki is to provide good quality information for the latest and most promising effort.

Wiki maintainers: don't reference the old "wetpaint" wiki. It is virtually unmaintained and will cause confusion. Information about the inner workings of the device and drivers must go here: http://ac100.grandou.net/

More information

Some bits of useful information about your Ubuntu system on a Toshiba AC100 can be found in the ac100 questions&answers at Launchpad.

Hardware

The AC100 netbook

The AC100 is an nVidia Tegra2 based device which has Android 2.1 as factory default. It has dual ARM Cortex-A9 cores at 1 GHz and nVidia GPU technology on its System On Chip (SoC). Some models come with 3G modems and the eMMC flash storage comes in various sizes.

Strengths

Weaknesses

Features known to work on Ubuntu: webcam, touchpad, 3G modem, WiFi, OpenGL ES (proprietary), indicator LEDs, card reader, audio, suspend/resume, HDMI out (with the proprietary nvidia drivers, no audio yet)

Incomplete support: video acceleration.

For details and a list of models, see http://ac100.grandou.net/models

Boot loader

The current first stage bootloader is Android Fastboot which uses the kernel and initramfs images found on partition 6 of the device. The partition can be written via the mini-USB port from another computer using the closed source nvflash utility from nvidia or opensource putusb, or updated from an already running system. The boot partition can be handled using the abootimg tool.

The ac100 PPA has a kernel that reads the (nvidia-proprietary format) main partition table, so kernel upgrades are possible. The flash-kernel package in the PPA takes care of this (note that all packages from the PPA are integrated since the oneiric images linked above, in oneiric the PPA will only be used for post-release updates of single packages).

U-Boot

The default boot loader is inflexible, and there is interest in adding U-Boot as a second stage boot loader. There are Tegra based U-Boot using devices but there's no working AC100 image yet that can handle the eMMC or the screen to be actually useful for a wider audience.

Kernel development

As of early September 2011 a 2.6.38-chromeos kernel fork is used in Ubuntu and included in the Oneiric archives. It supports suspend/resume and sound from the headphones is working, speakers do not yet. Sound are almost done in 3.1.x/3.8/mainline.

Work is done to upstream AC100 support patches in 3.x kernels so we can use mainline eventually.

The kernel tree the Ubuntu package is based on is at https://gitorious.org/~marvin24/ac100/marvin24s-kernel

Tips and tricks for Ubuntu 12.10

Graphics

To install the nvidia-tegra binary GLES driver in 12.10 open the Menu and go to "Preferences"->"Software Sources"

Software Sources

Select the most right Tab and click the Radio button for the Tegra2 binary driver.

Driver Selection

Note: If the radio box goes back to selecting the nouveau driver after attempting to apply changes, ensure that your package cache does not have a "hash sum mismatch" when running apt-get update. To fix this, see instructions in "notes on installation". Additionally, ensure that you have enabled the multiverse repositories (under the "Ubuntu Software" tab).

After the changes were applied, reboot and enjoy the GLES support and working HDMI out.

Tip: install the glmark2-es2 and mesa-utils-extra packages, they ship the glmark2 test as well as the es2_info and es2gears binaries for GLES.

Known issues and tips for Ubuntu 12.04 beta1

This section will in time replace the one above.

Graphics

The nvidia-tegra package is not yet available for armhf. For now, just stay with the default open source driver.

Contact

Only put here links that are still relevant for present and future development and do not lead to unnecessary work and confusion. In particular, try to avoid the wetpaint wiki.

CategoryHardware

ARM/TEGRA/AC100 (last edited 2021-07-13 10:07:57 by ogra)