88
edits
Changes
no edit summary
== Install Development packages ==
Now is time to install some packagesif you want to build your own distribution.
=== GCC, G++, libc Cross Compiler ===
You can install the cross compiler if you want to build u-boot, linux kernel or applications using your host PC and compile for IGEPv5 as target.
<pre>sudo apt-get install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf libc6-dev-armhf-armel-cross libc6-armel-armhf-cross
</pre> === Build Ubuntu packages === if you're idea is build ubuntu packages then you need install other packages<pre>sudo apt-get install build-essential devscripts dh-make quilt autogen autoconf dh-autoreconf dh-buildinfo dh-make pkg-config</pre>
if you're idea is build ubuntu packages then you need install other packages
<pre>sudo apt-get install build-essential devscripts dh-make quilt autogen autoconf dh-autoreconf dh-buildinfo dh-make pkg-config
</pre>
=== Pbuilder ===
armv7l</pre>
Now you've in a chroot armhf emulation your rootfs ...
= Install Ubuntu Core 12.04.4 LTS (HF) in the IGEPv5 =
Ubuntu 12.04.4 LTS can be installed in MicroSD Card, the internal eMMC Flash or in a SSD Flash card, the minimum suggested capacity will be is 8 GiB available.
This tutorial will show you install step by step and customize the distribution base.<br>
=== Download Ubuntu 12.04.4 LTS (HF) ===
Ubuntu 12.04.4 LTS can be downloaded from our server at this [http://downloads.isee.biz/pub/igepv5_ce/arm-ubuntu/images/ubuntu-12.04.4-LTS-hf location]this is a unmodified ubuntu 12.04.4 image without any package. This distribution is based on [https://wiki.ubuntu.com/Core Ubuntu Core]<br> Ubuntu 12.04.4 LTS (with ISEE modifications) can be downloaded from our server at this [http://downloads.isee.biz/pub/igepv5_ce/releases/ location] all support is based on this distribution.<br> '''The changelog is located inside the /root directory<br> '''User '''root '''password''': letmein<br> '''User '''igep '''password''': igep'''
=== Initial Setup ===
for m in `echo 'sys dev proc'`; do sudo mount /$m ./$m -o bind; done
sudo LC_ALL=C chroot . </pre>
<span style="color: rgb(255, 0, 0);">Note: remember remove the qemu-arm-static file after all. <br/span> Note: remember unmount (outside chroot) the sys proc and dev with:for m in `echo 'sys dev proc'`; do sudo umount ./$m; done</span>
Now if you execute the command ls -al you should see a similar directory listing like this:
and install the package (ex: nano editor)
<pre>apt-get install nano</pre>
Now we can edit the files and tunning the setup
=== Tunning your rootfs ===
<pre>root:*:16104:0:99999:7:::</pre>
if you want eliminate the need of a password you must remove the * as
<pre>root::16104:0:99999:7:::</pre>==== Add password for root user<divbr> ==== Enter as root user and set the password with: <brpre> $ passwd</divpre>
==== Network configuration files for 'DHCP' client ====
{
http {
}
}
== Packages ==
Prerequisites: you must install these two packages before execute the script:<br>
<pre>sudo apt-get install bc dosfstools
</pre>
This script will create in your disk (mmcmicrosd, eMMC, SSD disk) two new partitions, first one named boot and the second one named rootfs.<br>
Check your microsd carddisk:<br>
Insert the microsd card disk in your PC or IGEPv5 and after that execute lsblk as:<br> mmcblock is for microsd card or eMMC sda is for your ssd disk
<pre>lsblk
sdb 8:16 1 3.8G 0 disk
├─sdb1 8:17 1 70.6M 0 part /media/boot
`-mmcblk0p2 179:2 0 7.2G 0 part
</pre>
In this case p1 (boot) and p2 (rootfs).
== Install your image in a MicroSD Card ==
First you need prepare your disk, check previous point. Ubuntu 12.04.4 LTS (with ISEE modifications) can be downloaded from our server at this [http://downloads.isee.biz/pub/igepv5_ce/releases/ location] all support is based on this distribution.<br> '''The changelog is located inside the /root directory<br> '''User '''root '''password''': letmein<br> '''User '''igep '''password''': igep''' Mount your microsd in your host PC or IGEPv5 after mount the disk it should show you two partitions, the first one boot when we will copy the MLO and u-boot.img and the second one where we uncompress the downloaded file. === Mount the microsd card partitions == Install your image in a SATA SSD Disk = Use the command mount if automount is not enabled as <pre>mount /dev/mmcblk0p1 /mnt/p1 mount /dev/mmcblk0p2 /mnt/p2</pre> Copy MLO and u-boot.img (both files can be downloaded reside inside the package u-boot-xxxxxxx-omap5-isee.tar.bz2) inside /mnt/p1 <pre>cp MLO u-boot.img /mnt/p1</pre> go to /mnt/p2 Now uncompress the rootfs (downloaded file) <span style="color: rgb(255, 0, 0);">as root</span> <pre>cd /mnt/p2 sudo tar xvfj ubuntu-core-12.04.4-isee-XXXXXXXXXXX-armhf.tar.bz2 (where xxxxxxx is the release name)</pre> Sync disk <pre>$ sync</pre> Unmount the disks <pre>umount /mnt/p1 umount /mnt/p2</pre> And finally eject the disk. If automount is enabled the partitions will be accessed on: /media/<your user>/boot and
use both directories for copy the files in this case you don't need create the directories, you directly can copy and uncompress the file there.
== Install your image in a SATA SSD Disk ==
First you need prepare your disk, check previous point.
Ubuntu 12.04.4 LTS (with ISEE modifications) can be downloaded from our server at this [http://downloads.isee.biz/pub/igepv5_ce/releases/ location] all support is based on this distribution.<br> '''The changelog is located inside the /root directory<br> '''User '''root '''password''': letmein<br> '''User '''igep '''password''': igep'''
Mount your SSD disk in your IGEPv5 after mount the disk it should show you two partitions, the first one boot when we will copy the MLO and u-boot.img and the second one where we uncompress the downloaded file.
=== Mount the SSD disk partitions ===
Use the command mount:
<pre>mount /dev/sda1 /mnt/p1
mount /dev/sda2 /mnt/p2
</pre>
Copy MLO and u-boot.img (both files can be downloaded reside inside the package u-boot-xxxxxxx-omap5-isee.tar.bz2) inside /mnt/p1
<pre>cp MLO u-boot.img /mnt/p1
</pre>
go to /mnt/p2
Now uncompress the rootfs (downloaded file) <span style="color: rgb(255, 0, 0);">as root</span>
<pre>cd /mnt/p2
sudo tar xvfj ubuntu-core-12.04.4-isee-XXXXXXXXXXX-armhf.tar.bz2 (where xxxxxxx is the release name)
</pre>
Sync disk
<pre>$ sync
</pre>
Unmount the disks
<pre>umount /mnt/p1
umount /mnt/p2
</pre>
Reboot the board (remember set the board dips in the right boot setup, dip 8 ON)
== Install your image in the eMMC flash ==
http://www.omappedia.com/wiki/OMAP_Ubuntu_Core#Chroot.27ing_into_the_Ubuntu_Core_Filesystem
https://wiki.ubuntu.com/Core
https://wiki.ubuntu.com/Core/InstallationExample
http://cdimagewww.ubuntumattfischer.com/ubuntu-coreblog/?p=514
https://githubwiki.ubuntu.com/DavidBercovitz/ubuntu-corePbuilderHowto