Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

IGEPv2 Ubuntu Distro

1,773 bytes added, 10:47, 25 June 2018
Download the Ubuntu 12.04.4 LTS Distribution and tools
= <span style="color: rgb(255, 0, 0);">WORK&nbsp;IN&nbsp;PROGRESS</span> =
 
How to get the Ubuntu 12.04.4 LTS <br> 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.
== Host Enviroment ==
We suggest use Ubuntu 12.04.4 LTS (32 bits) in your host, you can download it from our server using this [http://downloads.isee.biz/pub/igepv5_ce/devel/iso/ubuntu-12.04.4-desktop-i386.iso link]&nbsp;or directly from Ubuntu (Canonical) website. You can install it in a Virtual Machine enviroment environment using any Virtualization software or directly in your PC.
=== Material<br> ===
*HDMI/DVI Monitor (optional)
== Download the Ubuntu 12.04.4 LTS Distribution and tools<br> ==The Ubuntu 12.04.4 LTS (armel) distribution can be [http://downloads.isee.biz/pub/isee-releases/ubuntu/ubuntu-12.04.04-lts-armel-armhf/ubuntu-12.04.04-lts-isee-igep00x0-20140606-armel.tar.bz2 downloaded from here] or if you want to use the [http://downloads.isee.biz/pub/isee-releases/ubuntu/ubuntu-12.04.04-lts-armel-armhf/ubuntu-12.04.04-lts-isee-igep00x0-20140606-armhf.tar.bz2 hard float version you can use this].
The Ubuntu 12.04.4 LTS distribution can first boot must be done using the [http://downloads.isee.biz/pub/distrosisee-releases/ubuntu/ubuntu-12.04.04-lts-isee-igep00x0armel-20140606-armel.tar.bz2 downloaded from here] or if you want to use the hard float version you should use this other link.<br>  The first boot must be done using the [http://downloads.isee.biz/pub/distros/ubuntuarmhf/ubuntu-isee-igep00x0-first-boot-20140606.tar.bz2 first boot package], inside you've the bootloader, igep.ini and temporary kernel(its valid for armel and armhf).
You can download [http://downloads.isee.biz/pub/igepv5_ce/scripts/prepare-disk.sh 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 EnviromentEnvironment<br> ==
=== Check if you've the packages bc and dosfstools<br> ===
<pre>$ cd /media/boot
$ tar xvfj ubuntu-12.04.4-isee-igeo00x0igep00x0-first-boot.tar.bz2</pre> After incompress uncompress the content you should see inside the /media/boot these content:
<pre>$ zImage MLO igep.ini </pre>
The default configuration is set for boot IGEPv2 board if you wish boot the IGEP COM Module or IGEP COM Proton then you must edit the file igep.ini and set the variable:
Save the file
Now enter into the rootfs partiton partition (normally mounted on /media/rootfs) and uncompress the ubuntu 12.04.4 package on it as: <pre>$ sudo tar xvfj ubuntu-12.04.04-lts-isee-igep00x0-20140606-armel.tar.bz2 or if you use hard float:$ sudo tar xvfj ubuntu-12.04.04-lts-isee-igep00x0-20140606-armhf.tar.bz2 </pre>
After that sync and eject the microsd card.
[ 0.000000] Memory: 416544k/416544k available, 26848k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector &nbsp;: 0xffff0000 - 0xffff1000 ( 4 kB)[ 0.000000] fixmap &nbsp;: 0xfff00000 - 0xfffe0000 ( 896 kB)[ 0.000000] DMA &nbsp;: 0xffc00000 - 0xffe00000 ( 2 MB)[ 0.000000] vmalloc &nbsp;: 0xe0000000 - 0xf8000000 ( 384 MB)[ 0.000000] lowmem &nbsp;: 0xc0000000 - 0xdff00000 ( 511 MB)[ 0.000000] modules &nbsp;: 0xbf000000 - 0xc0000000 ( 16 MB)[ 0.000000] .init &nbsp;: 0xc0008000 - 0xc003e000 ( 216 kB)[ 0.000000] .text &nbsp;: 0xc003e000 - 0xc05d2260 (5713 kB)[ 0.000000] .data &nbsp;: 0xc05d4000 - 0xc0620400 ( 305 kB)
[ 0.000000] NR_IRQS:409
[ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/400/800 MHz
[ 0.000000] IGEP: Hardware Rev. C
[ 0.000000] IGEP: initializing NAND memory device
[ 0.000000] GPMC CS0: cs_on &nbsp;: 0 ticks, 0 ns (was 0 ticks) 0 ns[ 0.000000] GPMC CS0: cs_rd_off &nbsp;: 8 ticks, 40 ns (was 7 ticks) 40 ns[ 0.000000] GPMC CS0: cs_wr_off &nbsp;: 8 ticks, 40 ns (was 7 ticks) 40 ns[ 0.000000] GPMC CS0: adv_on &nbsp;: 2 ticks, 10 ns (was 1 ticks) 10 ns
[ 0.000000] GPMC CS0: adv_rd_off: 5 ticks, 25 ns (was 7 ticks) 25 ns
[ 0.000000] GPMC CS0: adv_wr_off: 8 ticks, 40 ns (was 7 ticks) 40 ns
[ 0.000000] GPMC CS0: oe_on &nbsp;: 2 ticks, 10 ns (was 0 ticks) 10 ns[ 0.000000] GPMC CS0: oe_off &nbsp;: 10 ticks, 50 ns (was 5 ticks) 50 ns[ 0.000000] GPMC CS0: we_on &nbsp;: 2 ticks, 10 ns (was 0 ticks) 10 ns[ 0.000000] GPMC CS0: we_off &nbsp;: 6 ticks, 30 ns (was 4 ticks) 30 ns[ 0.000000] GPMC CS0: rd_cycle &nbsp;: 9 ticks, 45 ns (was 7 ticks) 45 ns[ 0.000000] GPMC CS0: wr_cycle &nbsp;: 9 ticks, 45 ns (was 7 ticks) 45 ns[ 0.000000] GPMC CS0: access &nbsp;: 7 ticks, 35 ns (was 4 ticks) 35 ns
[ 0.000000] GPMC CS0: page_burst_access: 0 ticks, 0 ns (was 0 ticks) 0 ns
[ 0.000000] GPMC CS0: wr_data_mux_bus: 0 ticks, 0 ns (was 0 ticks) 0 ns
[ 0.000000] GPMC CS0: wr_access &nbsp;: 7 ticks, 35 ns (was 5 ticks) 35 ns
[ 0.000000] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.000000] OMAP DMA hardware revision 5.0
[ 1.327941] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron )
[&nbsp;&nbsp;&nbsp; 1.334899] Creating 3 MTD partitions on "omap2-nand.0":
[&nbsp;&nbsp;&nbsp; 1.340484] 0x000000000000-0x000000080000 &nbsp;: "X-Loader"[&nbsp;&nbsp;&nbsp; 1.347198] 0x000000080000-0x000000c80000 &nbsp;: "Boot"[&nbsp;&nbsp;&nbsp; 1.355316] 0x000000c80000-0x000020000000 &nbsp;: "File System"
[&nbsp;&nbsp;&nbsp; 1.444915] OneNAND driver initializing
[&nbsp;&nbsp;&nbsp; 1.450134] smsc911x: Driver version 2008-10-21.
[&nbsp;&nbsp;&nbsp; 3.103881] twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[&nbsp;&nbsp;&nbsp; 3.112396] omap_vout omap_vout: Buffer Size = 3686400
[&nbsp;&nbsp;&nbsp; 3.118682] omap_vout omap_vout: &nbsp;: registered and initialized video device 0
[&nbsp;&nbsp;&nbsp; 3.126068] omap_vout omap_vout: Buffer Size = 3686400
[&nbsp;&nbsp;&nbsp; 3.132324] omap_vout omap_vout: &nbsp;: registered and initialized video device 1
[&nbsp;&nbsp;&nbsp; 3.140197] Waiting for root device /dev/mmcblk0p2...
[&nbsp;&nbsp;&nbsp; 3.212158] mmc0: host does not support reading read-only switch. assuming write-enable.
igep00x0 login:
</pre> 
== After first boot ==
When the system boot (for a first time) you will see this error related to the kernel modules: <br> modprobe: FATAL: Could not load /lib/modules/2.6.37/modules.dep: No such file or directory<br>modprobe: FATAL: Could not load /lib/modules/2.6.37/modules.dep: No such file or directory<br>This is normal due we didn't install the kernel yet ...
login using the serial console:
<pre>username: root
password: letmein
</pre>=== Verify the boot partition ===
After Check the first boot partition (verify that you should install some packages included into 've the boot partition mounted in the boot directory) <pre>$ mount /rootdev/packages directory like wifimmcblk0p1 on /bt firmwareboot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1, shortname=mixed,errors=remount-ro) </pre> if the microsd card first partition is not mounted (not show the upper message) mount it manually as <pre>$ mount /dev/mmcblk0p1 /boot</pre> === Install the kernel and other packages ... package ===
The command for install these Go to /root/packages is the debiandirectory <pre>$ cd /root/ubuntu install tool dpkg: packages
$ dpkg -i &lt;package name&gt; linux-image-2.6.37_0009.isee_armel.deb
=== Notes about install the kernel ===$ dpkg -i igep-fw-wifi-marvell-8686_0.1_all.deb
The kernel 2$ dpkg -i igep-fw-wifi-ti-wl1271_0.61_all.37 deb</pre> Due the first partition uses FAT32 is provided in a debian/ubuntu package but some steps must be done before and not possible create symbolic links to the kernel image installed, after install the package: go to /boot directory <pre>$ cd /boot
Before Install $ ls -al </pre> -rwxr-xr-x&nbsp; 1 root root&nbsp;&nbsp; 60264 Jun&nbsp; 9&nbsp; 2014 MLO<br>-rwxr-xr-x&nbsp; 1 root root 1369661 Jun&nbsp; 5&nbsp; 2014 System.map-2.6.37<br>-rwxr-xr-x&nbsp; 1 root root&nbsp;&nbsp; 70924 Jun&nbsp; 5&nbsp; 2014 config-2.6.37<br>-rwxr-xr-x&nbsp; 1 root root&nbsp;&nbsp;&nbsp; 3018 Jun&nbsp; 9&nbsp; 2014 igep.ini<br>-rwxr-xr-x&nbsp; 1 root root 1453444 Jan&nbsp; 1 00:23 initrd.img-2.6.37<br>-rwxr-xr-x&nbsp; 1 root root 3149692 Jun&nbsp; 5&nbsp; 2014 vmlinuz-2.6.37<br>-rwxr-xr-x&nbsp; 1 root root 3149692 Jun&nbsp; 9&nbsp; 2014 zImage<br>Overwrite the zImage file using the packagevmlinuz-2.6.37 file as: <pre>$ cp vmlinuz-2.6.37 zImage
#Check $ sync</pre> At last reboot the boot partition (verify that you've board for take the boot partition mounted in the boot directory) $ mount changes effect ...
<span style="color: rgb(255, 0, 0);">/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmaskUseful Information =0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)</span>
if the microsd card first partition is not mounted (not show the upper message) mount it manually as === Users ===
$ mount /dev/mmcblk0p1 /bootThe package include the igep user.<br> Username: igep<br> Password: igep
== What is included ...<br> = Configure the Ethernet ===
This package dhcpd is based on Ubuntu 12.04.4 Core with some extra packages.<br>already installed but not configured follow the next steps for setup the ethernet port:
You can check a) Edit the complete log reading the Changelog included into the root directory.file (using nano) /etc/network/interfaces <br> b) At end add these lines: <pre>auto eth0 iface eth0 inet dhcp </pre> === Update package database ===
Is recommended update the database packages after install (you need the ethernet connection) execute the this command:
<pre>$ apt-get update</pre>
== FAQ ==
Is Video enabled in this package?
<pre>Yes it is, connect your display to the HDMI connector and you should see the terminal console. </pre>
Can I install any video splash package?
<pre>Yes, you can install your prefered plymouth splash theme ... </pre>
Is there any wifi tools installed?
<pre>Yes, the package iw is installed. After install the Ubuntu you can access to the wifi interface using iw commands like:
$ ifconfig wlan0 up
$ iw wlan0 scan
</pre>
Can I use a keyboard and mouse&nbsp;?
<pre>Yes but you need to use a USB 2.0 hub (normally the keyboard and mouses are 1.x) and IGEP Boards based on DM3730 processor only support devices USB 2.0
</pre>
Is possible install ubuntu into the NAND flash memory?
<br>Yes follow this other [[IGEPv2_Ubuntu_Distro_flash|howto that explain how to do that]] ...
The basic packages for IGEPv2 /&nbsp;IGEP COM Module / IGEP COM Proton be included inside the rootfs== Changelog .<br>.. ==
Using This package is based on Ubuntu 12.04.4 Core with some extra packages.<br> You can read the complete log reading the serial console enter Changelog included into the /root directory and you will find there the packages directory if you want install the packages execute this command:.<br>
dpkg -i &lt;package name&gt;<br> The packages included are:<br> *Wifi &amp; BT firmware packages (Marvell or TI Wilink)<br>*Kernel package (include kernel + modules)<br> This distribution is based on Ubuntu Core distribution addding some packages, you can check the complete change log reading the changelong included inside /root directory<br> The root password is: letmein<br> The distribution include a normal user also:<br> Username: igep<br>
Password[[Category: igep<br>Ubuntu]][[Category:Software distributions]]
<br>