IGEPv2 Ubuntu Distro

From IGEP - ISEE Wiki

Revision as of 16:23, 6 June 2014 by Manel Caro (talk | contribs)

Jump to: navigation, search

How to get the Ubuntu 12.04.4 LTS
The Ubuntu project is excited to be working with the ARM ecosystem to port Ubuntu for ARM-based devices. This work fits with our goals of making Ubuntu available as an open platform to as many people as possible.

Overview of How-To

This How-To is meant to be a starting point for people to learn install an Ubuntu image for OMAP3-based IGEP platforms as quickly and easily as possible.

This How-To covers IGEPv2, IGEP COM Module and IGEP COM Proton boards. if you are looking Ubuntu for IGEPv5 go to this other Howto.

Host Enviroment

We suggest use Ubuntu 12.04.4 LTS (32 bits) in your host, you can download it from our server using this link or directly from Ubuntu (Canonical) website. You can install it in a Virtual Machine enviroment using any Virtualization software or directly in your PC.

Material

  • IGEPv2, IGEP COM Module or IGEP COM Proton.
  • 1 MicroSD Card with 512 MiB minimum space.
  • Serial Cable and conversor for attach the serial debug console.
  • Ethernet cable (optional)
  • Hub (optional)
  • Keyboard and mouse (optional)
  • HDMI/DVI Monitor (optional)

Download the Ubuntu 12.04.4 LTS Distribution and tools

The Ubuntu 12.04.4 LTS distribution can be downloaded from here or if you want to use the hard float version you should use this other link.

The first boot must be done using this package, inside you've the bootloader, igep.ini and temporary kernel.

You can download this script for create the right partitions in the microsd card (Only is valid for microsd card, it cannot be used for prepare the raw Nand flash)

Prepare the Enviroment

Check if you've the packages bc and dosfstools

Install both packages as:

apt-get install bc dosfstools

Prepare the MicroSD card

Insert the microsd card in your host, after that you should see any similar to this output:

mcaro@mcaro-vm-u12:~$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
fd0      2:0    1     4K  0 disk
sda      8:0    0   100G  0 disk
├─sda1   8:1    0    98G  0 part /
├─sda2   8:2    0     1K  0 part
└─sda5   8:5    0     2G  0 part
sdb      8:16   1   3.8G  0 disk
├─sdb1   8:17   1  70.6M  0 part /media/boot
└─sdb2   8:18   1   3.7G  0 part /media/rootfs
sr0     11:0    1  1024M  0 rom  

here you can see the device sdb (it's the 4 GiB microsd card) be careful due in your host can be other device like sdc if you doubt check the dmesg output it should show you the device as:

[258974.855508] sd 33:0:0:0: [sdb] 7882752 512-byte logical blocks: (4.03 GB/3.75 GiB)
[258974.862052] sd 33:0:0:0: [sdb] No Caching mode page found
[258974.862057] sd 33:0:0:0: [sdb] Assuming drive cache: write through
[258974.869338] sd 33:0:0:0: [sdb] No Caching mode page found
[258974.869341] sd 33:0:0:0: [sdb] Assuming drive cache: write through
[258974.871258]  sdb: sdb1 sdb2
[258975.642423] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null)

Now you should execute the script