Difference between revisions of "IGEPv2 Ubuntu Distro flash"

From IGEP - ISEE Wiki

Jump to: navigation, search
(WORKING PROGRESS)
(Write the Bootloader)
Line 35: Line 35:
 
We will erase all NAND partitions using these commands: $ flash_eraseall /dev/mdt0 $ flash_eraseall /dev/mtd1 $ flash_eraseall /dev/mtd2  
 
We will erase all NAND partitions using these commands: $ flash_eraseall /dev/mdt0 $ flash_eraseall /dev/mtd1 $ flash_eraseall /dev/mtd2  
  
== Write the Bootloader ==
+
== Install the Bootloader ==
 +
 
 +
Download the writeloader binary package from [http://downloads.isee.biz/pub/distros/ubuntu/isee-writeloader-bin-armel_0.01_armel.deb here] ARMEL version or from [http://downloads.isee.biz/pub/distros/ubuntu/isee-writeloader-bin-armhf_0.01_armhf.deb here] if you are using hard float version.
 +
 
 +
After download the appropiate package we're ready for install the bootloader in the internal flash
 +
 
 +
ARMEL version
 +
 
 +
<pre>$ writeloader-armel -i /boot/MLO -o /dev/mtd0</pre>
 +
 
 +
ARM Hard float version
 +
 
 +
<pre>$ writeloader-armhf -i /boot/MLO -o /dev/mtd0</pre>

Revision as of 13:49, 9 June 2014

WORKING PROGRESS

How to get the Ubuntu 12.04.4 LTS in the Nand Flash Memory
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 Nand Flash Install. if you are looking Ubuntu for IGEPv5 go to this other Howto.

Prerequisites

First you need follow theIGEPv2 Ubuntu Distribution howto and boot the IGEPv2 / IGEP COM Module / IGEP COM Proton using the Ubuntu distribution.

Where are the Nand Flash partitions?

We need to check where the Nand flash partitions are located we will use the command lsblk command for check it:

root@igep00x0:~# lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
mtdblock0    31:0    0   512K  0 disk
mtdblock1    31:1    0    12M  0 disk
mtdblock2    31:2    0 499.5M  0 disk
mmcblk0     179:0    0   3.8G  0 disk
|-mmcblk0p1 179:1    0  70.6M  0 part /boot
`-mmcblk0p2 179:2    0   3.7G  0 part /

Where:

mdtblock0: Bootloader partition
mtdblock1: Boot partition
mtdblock2: rootfs partition

Erase the partitions

We will erase all NAND partitions using these commands: $ flash_eraseall /dev/mdt0 $ flash_eraseall /dev/mtd1 $ flash_eraseall /dev/mtd2

Install the Bootloader

Download the writeloader binary package from here ARMEL version or from here if you are using hard float version.

After download the appropiate package we're ready for install the bootloader in the internal flash

ARMEL version

$ writeloader-armel -i /boot/MLO -o /dev/mtd0

ARM Hard float version

$ writeloader-armhf -i /boot/MLO -o /dev/mtd0