Ubuntu OMAP trunk

From OMAPpedia

Jump to: navigation, search

The "omap-trunk" Launchpad PPA contains TI packages upgrades based on the Ubuntu official releases for OMAP4.

These upgrades are based on recent development snapshots from TI public development trees. Even if these upgrades are tested, they are still based on development branches, and may be less stable than the official Ubuntu deliveries. You shall consider this when upgrading with this PPA content and accept potential regressions.

[edit] Ubuntu Maverick (10.10) TI upgrade for Pandaboard

Some of the new features covered by this upgrade include:

[edit] Upgrade procedure

The below procedure has been tested and proved to work. Some other upgrade paths may also be valid but have not been tested.

  1. Install the standard Maverick image for OMAP4
    Follow the instructions on this page to install and boot Ubuntu Maverick for OMAP4 on your Pandaboard SD card: https://wiki.ubuntu.com/ARM/OMAPMaverickInstall
    All the following steps have to be executed from a terminal on your Pandaboard.
  2. Update the PPAs
    1. Add the "omap-trunk" PPA
      sudo add-apt-repository ppa:tiomap-dev/omap-trunk
    2. Enable universe and multiverse PPAs
      Edit /etc/apt/sources.list and uncomment the following 2 lines:
      deb http://ports.ubuntu.com/ubuntu-ports maverick universe
      deb http://ports.ubuntu.com/ubuntu-ports maverick multiverse
    3. Update the packages list
      sudo apt-get update
  3. Install the TI kernel packages:
    sudo apt-get install linux-headers-2.6.35-980 linux-headers-2.6.35-980-omap4 linux-image-2.6.35-980-omap4
  4. Update the bootloaders
    sudo mkfs.vfat -F 32 -n "boot" /dev/mmcblk0p1
    sudo mount /dev/mmcblk0p1 /mnt
    cd /mnt
    wget http://omappedia.org/images/7/7d/MLO-maverick-ti-upgrade.gz -O /tmp/MLO.gz && sudo bash -c "zcat /tmp/MLO.gz > /mnt/MLO"
    wget http://omappedia.org/images/8/8a/U-boot-maverick-ti-upgrade.gz -O /tmp/u-boot.bin.gz && sudo bash -c "zcat /tmp/u-boot.bin.gz > /mnt/u-boot.bin"
    sudo touch /mnt/boot.scr
    sudo flash-kernel
    cd; sudo umount /mnt
  5. Re-boot
    sudo reboot
  6. Install the TI packages
    sudo apt-get install ubuntu-omap4-extras
    Note that some packages require license acknowledgement. You will be prompted to accept.
  7. Re-boot
    sudo reboot

[edit] Notes

DVFS is activated by default (Ubuntu will set-up the "ondemand" governor after boot-up). This will lead to falling-back to reduced frequencies depending on system load. This may not be what you want. You can force maximum speed and performances by forcing the "performance" governor. This can be achieved using the following command-line:

sudo bash -c "sudo echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"

Personal tools