Difference between revisions of "IGEPv5 Ubuntu Distro"
From IGEP - ISEE Wiki
Manel Caro (talk | contribs) |
Manel Caro (talk | contribs) |
||
Line 32: | Line 32: | ||
pbuilder is used for create your own ubuntu/debian based distribution. | pbuilder is used for create your own ubuntu/debian based distribution. | ||
− | Setup, the basic setup is create in your home base directory a new file called .pbuilderrc inside you should copy this content: | + | Setup, the basic setup is create in your home base directory a new file called .pbuilderrc inside you should copy this content: |
<pre>BINDMOUNTS="${BINDMOUNTS} /home/<your_user>/Projects" | <pre>BINDMOUNTS="${BINDMOUNTS} /home/<your_user>/Projects" | ||
EXTRAPACKAGES="${EXTRAPACKAGES} pbuilder devscripts gnupg patchutils vim-tiny openssh-client"</pre><div>And just remember create the directory Projects before start.</div><div>Now if you want to create a new rootfs, you can try to build with</div><pre>cd ~/Projects | EXTRAPACKAGES="${EXTRAPACKAGES} pbuilder devscripts gnupg patchutils vim-tiny openssh-client"</pre><div>And just remember create the directory Projects before start.</div><div>Now if you want to create a new rootfs, you can try to build with</div><pre>cd ~/Projects | ||
− | |||
pcreate -a armhf -d precise precise-armhf</pre><div>The first time the program will ask you about install some depedences</div><div><pre>Installing qemu-user-static for armhf-on-x86 support (natty or later) | pcreate -a armhf -d precise precise-armhf</pre><div>The first time the program will ask you about install some depedences</div><div><pre>Installing qemu-user-static for armhf-on-x86 support (natty or later) | ||
Reading package lists... Done | Reading package lists... Done | ||
+ | |||
Building dependency tree | Building dependency tree | ||
+ | |||
Reading state information... Done | Reading state information... Done | ||
+ | |||
The following extra packages will be installed: | The following extra packages will be installed: | ||
Line 54: | Line 56: | ||
0 upgraded, 2 newly installed, 0 to remove and 23 not upgraded. | 0 upgraded, 2 newly installed, 0 to remove and 23 not upgraded. | ||
+ | |||
Need to get 12.9 MB of archives. | Need to get 12.9 MB of archives. | ||
+ | |||
After this operation, 33.9 MB of additional disk space will be used. | After this operation, 33.9 MB of additional disk space will be used. | ||
− | Do you want to continue [Y/n]? </pre><div>You should say, Y (yes)</div><div></div><div></div></div> | + | |
+ | Do you want to continue [Y/n]? </pre><div>You should say, Y (yes)</div><div></div><div></div><div></div></div> | ||
= Install Ubuntu 12.04.4 LTS (HF) in the IGEPv5 = | = Install Ubuntu 12.04.4 LTS (HF) in the IGEPv5 = |
Revision as of 15:56, 9 March 2014
Ubuntu 12.04.4 LTS (Hard Float) is the default IGEPv5 base distribution (it's included in IGEPv5 Full and Lite). We will learn about install, use, generate packages, upgrade ...
Overview
What we learn in this chapter? Install, play and fun ...
Contents
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.
After install is recommended update the package list with:
sudo apt-get update
Install Development packages
Now is time to install some packages.
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.
sudo apt-get install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf libc6-dev-armhf-armel-cross libc6-armel-armhf-cross
Pbuilder
A pbuilder environment is a chrooted environment which can have a different distroseries or architecture than your host system.
sudo apt-get install pbuilder pbuilder-scripts
What can I do?
pbuilder is used for create your own ubuntu/debian based distribution.
Setup, the basic setup is create in your home base directory a new file called .pbuilderrc inside you should copy this content:
BINDMOUNTS="${BINDMOUNTS} /home/<your_user>/Projects" EXTRAPACKAGES="${EXTRAPACKAGES} pbuilder devscripts gnupg patchutils vim-tiny openssh-client"
cd ~/Projects pcreate -a armhf -d precise precise-armhf
Installing qemu-user-static for armhf-on-x86 support (natty or later)Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:binfmt-supportThe following NEW packages will be installed:
binfmt-support qemu-user-static0 upgraded, 2 newly installed, 0 to remove and 23 not upgraded.
Need to get 12.9 MB of archives.
After this operation, 33.9 MB of additional disk space will be used.Do you want to continue [Y/n]?
Install Ubuntu 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 8 GiB available.
This tutorial will show you install step by step and customize the distribution base.
Download Ubuntu 12.04.4 LTS (HF)
Ubuntu 12.04.4 LTS can be downloaded from our server in this location.