TODO

Installing Linux on your AC100

:!: Before doing anything else, please, help yourself, help people who would like to help you: Make Backups !
How to backup and restore your AC100

Which Linux or rather which kernel should I use ?

There is number of options available, but generally Ubuntu Oneiric Ocelot is what you are looking for.

GET UBUNTU 11.10 NOW!

Ubuntu is definitely the easiest way to get Linux onto a AC100. However - if you are a Linux-User with more experience - or - if you want to learn more about how Linux works - then Gentoo might be an interesting alternative. All software is compiled during installation (interesting for all NON-X86 architectures) and therefore the assortment of software is bigger and your are not dependent on the choice the distribution made for you. Another advantage of Gentoo is shurely the possibility to get the smallest Linux running (light-weight) which fits exactly to your demands. But WARNING: This stuff is not for Linux-Newbies!

Preparation - Common steps

  • install nvflash or putusb (warning: with putusb you're on your own, it's not fully tested and you might have problems restoring your backups)
  • backup your AC100. Did I already say it ?
  • you might want to repartion your internal MMC

How to install:

Ubuntu (Natty)

Please note that natty is not supported, nor should be used.

  • First install nvflash and make a backup.
  • Start AC100 into developer mode (CTRL + ESC + POWER).
  • nvflash -r –download 6 boot-installer-2.6.37-1-ac100.img
  • Download ubuntu-natty-netbook-2.6.37-1-ac100-rootfs.tgz to a usb stick and put it into the AC100.
  • Restart the AC100 normal.
  • Installation to mmcblk0p7? ⇒ yes [it is the biggest partition 14, the storage-partition of android]
  • After a automatical reboot some error message ocurrs (plymouth…). But it doesn't matter.
  • Now go through the normal installation process.
  • If the mouse pointer freezes please unplug the usb stick and plug in a usb mouse.
  • If all finished, please upgrade with the following: sudo apt-get update && sudo apt-get install linux-ac100

Ubuntu Oneiric

Same as the above but use the rootfs from here: http://cdimage.ubuntu.com/releases/oneiric/release/

Install instructions can be found here: https://wiki.ubuntu.com/ARM/TEGRA/AC100

Note on suspend: It works out of box if you're running Android 2.1 bootloader, otherwise you'll need either revert to 2.1 or tweak /boot/bootimg.cfg:

  1. remove lp0_vec option from cmdparam line in /boot/bootimg.cfg
  2. <ctrl-C> whole line with resulting cmdline
  3. execute sudo abootimg -u /dev/mmcblk0p2 -c ”<ctrl-V>”

Examples:1)

bootimg.cfg
bootsize = 0x800000
pagesize = 0x800
kerneladdr = 0x10008000
ramdiskaddr = 0x11000000
secondaddr = 0x10f00000
tagsaddr = 0x10000100
name = Ubuntu Boot Img
cmdline = mem=448M@0M tegrapart=recovery:300:a00:800,boot:d00:1000:800,mbr:1d00:200:800 root=UUID=3aee423d-d428-4e01-9804-0aa1948099e8 quiet splash
aboot-update.sh
sudo abootimg -u /dev/mmcblk0p2 -c "cmdline = mem=448M@0M  tegrapart=recovery:300:a00:800,boot:d00:1000:800,mbr:1d00:200:800 root=UUID=3aee423d-d428-4e01-9804-0aa1948099e8 quiet splash"

linux-ac100 package is provided in Oneiric repositories, not need to add ppa. Atomatic kernel update is supported.

Continue installing properitary video driver (see L4T drivers linked here), flash support and further apps

With Beta 2 release and kernel 2.6.38-1000-ac100 as provided in the Oneiric repository since 2011/09/24 all the features of previous versions are supported (suspend, headphone sound, lid events) and we recommend an Oneiric install instead of Natty.

Anyway, it is adviseable to use some lightweight desktop environment. I can recommend LXDE on the Ubuntu basis. It is much faster regarding boot time, tool launch, file manager, etc and uses less RAM/eMMC in contrast to Ubuntu Unity/Gnome. — Peter Ibach 2011/10/02 15:58

See ubuntu_deubuntuization on how to cleanup your installation.

More installation HOWTOs

  • phh (ubuntu with kernel version 2.6.32, working suspend and headphones audio)
  • ubuntu (offical ubuntu page with install instructions for kernel version 2.6.38 and later. Automatic kernel updates through Oneiric repositories or PPA 2) for Natty. Status 2011/10/01, Ubuntu Oneiric Ocelot Beta 2 with kernel 2.6.38-1000-ac100: suspend works with Android 2.1 bootloader, audio working over headphones
  • ArchLinux - Status 2011/10/01: latest zram support. More in this thread.
  • RedSleeve Enterprise Linux (RSEL) soon-to-be-released RHEL6 port by Gordan Bobic.

SOSBoot

1) these are examples from ac100-116 machine, yours may differ in values
2) ppa:ac100/ppa
Print/export