Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

IGEPv2 Ubuntu Distro

343 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/distrosisee-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 should can use this other link].<br>
The first boot must be done using the [http://downloads.isee.biz/pub/distrosisee-releases/ubuntu/ubuntu-12.04.04-lts-armel-armhf/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 ==
Check the boot partition (verify that you've the boot partition mounted in the boot directory)
 <pre>$ mount  <span style="color: rgb(255, 0, 0);">/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)</spanpre>  
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 package ===
$ mount /dev/mmcblk0p1 /boot  === Install the kernel package === Go to /root/packages directory <pre>$ cd /root/packages
$ dpkg -i linux-image-2.6.37_0009.isee_armel.deb
 
Selecting previously unselected package linux-image-2.6.37.<br>(Reading database ... 14495 files and directories currently installed.)<br>Unpacking linux-image-2.6.37 (from linux-image-2.6.37_0009.isee_armel.deb) ...<br>Done.<br>Setting up linux-image-2.6.37 (0009.isee) ...<br>Running depmod.<br>update-initramfs: deferring update (hook will be called later)<br>Examining /etc/kernel/postinst.d.<br>run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 2.6.37 /boot/vmlinuz-2.6.37<br>run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.37 /boot/vmlinuz-2.6.37<br>update-initramfs: Generating /boot/initrd.img-2.6.37<br>Now install the wifi/bt firmware (you can install both Marvel and TI firmware or choice the appropiate firmware) :
$ dpkg -i igep-fw-wifi-marvell-8686_0.1_all.deb
$ dpkg -i dpkg -i igep-fw-wifi-ti-wl1271_0.1_all.deb</pre> Due the first partition uses FAT32 is not possible create symbolic links to the kernel image installed, after install the package go to /boot directory <pre>$ cd /boot
$ 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 vmlinuz-2.6.37 file as: <pre>$ cp vmlinuz-2.6.37 zImage
$ sync
</pre>
At last reboot the board for take the changes effect ...
At last reboot the board for take the changes effect ...== Useful Information ==
== What is included ...<br> = Users ===
This The package is based on Ubuntu 12.04.4 Core with some extra packagesinclude the igep user.<br>Username: igep<br> Password: igep
You can check === Configure the complete log reading the Changelog included into the root directory.Ethernet ===
dhcpd is already installed but not configured follow the next steps for setup the ethernet port:
a) Edit the 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: <brpreThe basic packages for IGEPv2 /&nbsp;IGEP COM Module $ apt-get update</ IGEP COM Proton be included inside the rootfs.<brpre>== FAQ ==
Using Is Video enabled in this package? <pre>Yes it is, connect your display to the HDMI connector and you should see the serial terminal console enter into the . </root directory and pre> Can I install any video splash package? <pre>Yes, you will find can install your prefered plymouth splash theme ... </pre> Is there any wifi tools installed? <pre>Yes, the packages directory if package iw is installed. After install the Ubuntu you want install can access to the packages execute this commandwifi interface using iw commands like:$ ifconfig wlan0 up $ iw wlan0 scan<br/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?
dpkg -i &lt;package name&gt;<br>Yes follow this other [[IGEPv2_Ubuntu_Distro_flash|howto that explain how to do that]] ...
The packages included are:<br>== Changelog ... ==
*Wifi &amp; BT firmware This package is based on Ubuntu 12.04.4 Core with some extra packages (Marvell or TI Wilink).<br>*Kernel package (include kernel + modules)You can read the complete log reading the Changelog included into the root directory.<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>