Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to get the Ubuntu distribution

413 bytes removed, 12:48, 9 June 2014
no edit summary
== How to get the Ubuntu distribution ==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. Some points to note:
== Overview of How-To ==This How-To The Ubuntu project is meant excited to be a starting point for people working with the ARM ecosystem to learn install an port Ubuntu image for OMAP3ARM-based IGEP platforms devices. This work fits with our goals of making Ubuntu available as an open platform to as quickly and easily many people as possible.Some points to note:
== 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.  Unless otherwise noted, this How-To works with the '''Ubuntu 10.04''' but most of the contents are valid also for other GNU/Linux distributions. We do not issue any guarantee that this will work on other distributions. == Requirements ==
== Requirements ==
*A SD card at least 2GB ( recommended 4GB )
== Feedback and Contributing ==
Creating articles in the wiki is a collaborative process, at any point, if you see a mistake you can contribute to this article.
Please, use the discussion tab for user comments. This is useful to separate page content and the discussion thereof and also, if you don't want to give normal users the right to edit the page but still want user contributed notes.
Editing permissions are restricted to registered users. [http://www.igep.es Register in the main IGEP site] and you will have single sign-on.
Consult the [http://www.mediawiki.org/wiki/Help:Contents User's Guide] for information on using the wiki software.
== References ==
Much of this How-To is extracted from different sources. If you would like to read some of the original articles or resources, please visit them and thank the authors:
*The Ubuntu website ( http://www.ubuntu.com )*Ubuntu on ARM ( http://www.ubuntu.com/products/whatisubuntu/arm )*The rootstock project ( https://launchpad.net/project-rootstock )
*ARM rootfs from scratch ( https://wiki.ubuntu.com/ARM/RootfsFromScratch )
== Ubuntu releases ==
== New Releases ==
IGEPv2, IGEP COM Module and IGEP COM Proton Ubuntu has moved all ARM port images to the new server: page is located [[IGEPv2_Ubuntu_Distro|here]]
IGEPv5 Ubuntu page is located [http://ports.ubuntu.com http://ports.ubuntu.com[IGEPv5 Ubuntu Distro|here]]
[TIP] If you want to install the ubuntu image you should install the ubuntu rootfs and here: use the ISEE kernel and bootloader.IMPORTANT] ISEE is not responsable about the Ubuntu releases you should read the information about Ubuntu deprecation releases in the Ubuntu webpage.
[http://cdimage.ubuntu.com/releases/ http://cdimage.ubuntu.com/releases/]<br>  IGEPv5 Ubuntu page is located [[IGEPv5_Ubuntu_Distro|here]] We recomend use this other [https://labs.isee.biz/index.php/How_to_boot_from_MicroSD_Card howto] for install your prefered ubuntu distribution.<br>  You can read useful information at Ubuntu website:&nbsp;  [https://wiki.ubuntu.com/ARM/Server/Install https://wiki.ubuntu.com/ARM/Server/Install]  [https://wiki.ubuntu.com/ARM/ https://wiki.ubuntu.com/ARM/]  [TIP] If you want to install the ubuntu image you should install the ubuntu rootfs and use the ISEE kernel and bootloader.  [IMPORTANT] ISEE is not responsable about the Ubuntu releases you should read the information about Ubuntu deprecation releases in the Ubuntu webpage. == Old Releases ==
=== Ubuntu 10.10 (Maverick Meerkat) ===
fakeroot debian/rules binary-omap
The resulting two .deb files will be located in ../
=== Ubuntu 9.04 (Jaunty Jackalope) ===
==== Make a bootable MMC card on Linux ====
Thanks to Graeme Gregory and Steve Sakoman, you can now use [http://www.sakoman.com/OMAP3/a-script-for-partitioningformatting-a-bootable-sdmicrosd-card.html a script to automate the tedious process of creating a bootable SD/microSD card.]
Take care if you do not have your system in English. You have to change the word "Disk" in the former script, line #10 with the translation in the language of your system.
Having followed this excellent tutorial it's time to mount your SD card boot partition (/media/boot). With your preferred editor create a boot-ini.source file like this.
# Set bootargs for ubuntu MMC boot
$ mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n 'Boot setup script' -d boot-ini.source boot.ini
If you are not using IGEP's virtual machine, you can download and install the Poky SDK from http://www.igep.es/index.php?option=com_content&amp;view=article&amp;id=99&amp;Itemid=112&amp;dir=/var/www/vhosts/igep.es/httpdocs/downloads/01-ISEE_Products/IGEPv2/SW_Releases/poky/purple-3.2/v3.2.1-0/sdk once logged in. This will provide the /usr/local/poky directory. If you use this option, the appropriate source command is <tt>source /usr/local/poky/eabi-glibc/environment-setup-arm-none-linux-gnueabi</tt>.
The result will be a boot.ini file which you will copy to SD card boot partition
$ cp boot.ini /media/boot
==== Get a copy of a ARM ubuntu root file system ====
In order to get a copy of a ARM ubuntu root file system, you will need to install qemu and a recent version of debootstrap and the qemu package. On some systems you may also need the qemu-kvm-extras package to run the ARM emulation.
$ sudo apt-get install qemu
$ sudo dpkg -i debootstrap_1.0.12_all.deb
Next, you will download a helper program to build the rootfs
$ wget http://launchpad.net/project-rootstock/trunk/0.1/+download/rootstock-0.1.3.tar.gz
$ cd rootstock-0.1.3
The following example will create a tarball of ubuntu-desktop based image for your target device:
$ sudo ./rootstock --fqdn ubuntu --login jdoe --password letmein --imagesize 3G --seed ubuntu-desktop --dist jaunty
Typical images (example settings):
To build a xubuntu-desktop image use the following options:
--imagesize 2G --seed xubuntu-desktop
For an ubuntu-desktop image (a similar size is needed if you want a kubuntu image):
--imagesize 3G --seed ubuntu-desktop
A typical remote development comandline environment if you run an armel board headless (note that you should edit /etc/network/interfaces and set up your network device on first login for this):
--imagesize 3G --seed build-essential,openssh-server
A very light desktop (lxde):
--seed lxde,gdm
This step can take a long time. For example, building ubuntu-desktop on a Celeron 1.6GHz laptop takes approximately 10 hours. When it is finished, a file named armel-rootfs-[date].tgz will be in your working directory.
Next, mount your SD card ext3 partition (/media/rootfs) and untar the rootfs
$ sudo tar xzf armel-rootfs-[date].tgz -C /media/rootfs
Finally, umount the SD card, insert the card in your board and power up.
--- That's all folks ---
= See also =
*[[How to get the Linaro distribution]]*[[How to get the Angstrom distribution]]*[[How to get the Android distribution]]*[[How to get the Meego distribution]]
*[[How to get the Poky Linux distribution]]
<br> [[Category:Software_distributions|Ubuntu]] <br>