Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

IGEPv2 Ubuntu Distro flash

213 bytes added, 10:50, 25 June 2018
Install the Rootfs (Using Ubi filesystem)
$ umount /mnt</pre>
== Install the Rootfs (Using Ubi filesystem) ==a) Format the partition with ubi
a) Format the partition with ubi <pre>$ ubiformat /dev/mtd2</pre> b) Attach the device  <pre>$ ubiattach -p /dev/mtd2</pre> c) Create the ubi volume  <pre>$ ubimkvol /dev/ubi0 -N rootfs -s 486MiB</pre> d) Download the [http://downloads.isee.biz/pub/distrosisee-releases/ubuntu/ubuntu-12.04.04-lts-armel-armhf/ubuntu-12.04.04-lts-isee-igep00x0-20140606-armel.ubi.img ubi ubuntu 12.04.4 LTS armel image] or [http://downloads.isee.biz/pub/distrosisee-releases/ubuntu/ubuntu-12.04.04-lts-armel-armhf/ubuntu-12.04.04-lts-isee-igep00x0-20140606-armhf.ubi.img ubi ubuntu 12.04.4 LTS armhf image] [http://downloads.isee.biz/pub/distros/ubuntu/ubuntu-12.04.04-lts-isee-igep00x0-20140606-armhf.ubi.img ] '''NOTE''': This image is generated using this command:
'''NOTE''': This image is generated using this command:
<pre>$ mkfs.ubifs -r ubuntu-12.04.04-lts-isee-igep00x0-armel/ -m 2048 -e 129024 -c 4044 -o ubuntu-12.04.04-lts-isee-igep00x0-20140606-armel.ubi.img
</pre> Where:
ubuntu-12.04.04-lts-isee-igep00x0-armel: Is the rootfs uncompressed directory<br>
ubuntu-12.04.04-lts-isee-igep00x0-20140606-armel.ubi.img&nbsp;: Is the ubi generated image<br>
e) Copy the ubi ubuntu image inside your board You can use ssh (the image has a openssh server installed) or you can install wget tool and download the image directly.  f) Install the ubi ubuntu image if you want to use the armel image do: <pre>$ ubiupdatevol /dev/ubi0_0 /root/ubuntu-12.04.04-lts-isee-igep00x0-20140606-armel.ubi.img</pre>or the hard float alternative <pre>$ ubiupdatevol /dev/ubi0_0 /root/ubuntu-12.04.04-lts-isee-igep00x0-20140606-armhf.ubi.img</pre>g) Mount the ubi partition and verify the content
f) Install the ubi ubuntu image if you want to use the armel image do:
<pre>$ ubiupdatevol /dev/ubi0_0 /root/ubuntu-12.04.04-lts-isee-igep00x0-20140606-armel.ubi.img</pre>
or the hard float alternative
<pre>$ ubiupdatevol /dev/ubi0_0 /root/ubuntu-12.04.04-lts-isee-igep00x0-20140606-armhf.ubi.img</pre>
g) Mount the ubi partition and verify the content
<pre>$ mount -t ubifs ubi0:rootfs /mnt/
$ls -al
h) Edit fstab for "boot" partition
After login edit the file: /mnt/etc/fstab and change this line:  
<pre>LABEL="boot" /boot vfat defaults 0 0
</pre> to  
<pre>/dev/mtdblock1 /boot jffs2 defaults 0 0
</pre>
Save the file.
i) Umount the ubi partition
 
<pre>$ umount /mnt</pre>
 
[[Category:Ubuntu]]
[[Category:Software distributions]]
== Boot from Flash (first time) ==