https://www.mediawiki.compulab.com/w/index.php?title=CM-iAM:_Linux:_Getting_started&feed=atom&action=history
CM-iAM: Linux: Getting started - Revision history
2024-03-29T15:12:10Z
Revision history for this page on the wiki
MediaWiki 1.31.0
https://www.mediawiki.compulab.com/w/index.php?title=CM-iAM:_Linux:_Getting_started&diff=987&oldid=prev
Denis: /* NAND image download */
2010-06-23T16:27:37Z
<p><span dir="auto"><span class="autocomment">NAND image download</span></span></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 16:27, 23 June 2010</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l75" >Line 75:</td>
<td colspan="2" class="diff-lineno">Line 75:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== NAND image download ==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== NAND image download ==</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">{{Note|EtherLink will use first detected Ethernet port. In case you have both Eth1 and Eth2 use Eth1 (P4 connector).}}</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Set up initial EtherLink configuration:</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Set up initial EtherLink configuration:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Power-On the CM-iAM.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Power-On the CM-iAM.</div></td></tr>
</table>
Denis
https://www.mediawiki.compulab.com/w/index.php?title=CM-iAM:_Linux:_Getting_started&diff=978&oldid=prev
Mike: 1 revision(s)
2010-05-13T12:39:26Z
<p>1 revision(s)</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">Revision as of 12:39, 13 May 2010</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>
Mike
https://www.mediawiki.compulab.com/w/index.php?title=CM-iAM:_Linux:_Getting_started&diff=977&oldid=prev
Denis: /* TFTP server */
2010-05-06T15:36:20Z
<p><span dir="auto"><span class="autocomment">TFTP server</span></span></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 15:36, 6 May 2010</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Overview  ==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Overview  ==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Linux for the CM-iAM/SB-iAM is based on Ubuntu 9.10. [http://www.compulab.co.il/iam/download<del class="diffchange diffchange-inline">/freeze</del>/iam-linux<del class="diffchange diffchange-inline">-freeze</del>.zip The Linux package for CM-iAM] includes a ready-to-run NAND flash image and kernel sources.</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Linux for the CM-iAM/SB-iAM is based on Ubuntu 9.10. [http://www.compulab.co.il/iam/download/iam-linux.zip The Linux package for CM-iAM] includes a ready-to-run NAND flash image and kernel sources.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>In its initial state, the local NAND disk is empty. Use the EtherLink utility to download the NAND flash image from the TFTP server to the CM-iAM.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>In its initial state, the local NAND disk is empty. Use the EtherLink utility to download the NAND flash image from the TFTP server to the CM-iAM.</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l11" >Line 11:</td>
<td colspan="2" class="diff-lineno">Line 11:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Recommended TFTP servers:</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Recommended TFTP servers:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* “tftpd32 by Ph.Jounin” TFTP server for a Windows-based host (http://tftpd32.jounin.net/).</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* “tftpd32 by Ph.Jounin” TFTP server for a Windows-based host (http://tftpd32.jounin.net/).</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* A tftpd package for your distribution on a Linux-based host. For example<del class="diffchange diffchange-inline">, tftp</del>-hpa on <del class="diffchange diffchange-inline">Ububntu</del>.</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* A tftpd package for your distribution on a Linux-based host. For example <ins class="diffchange diffchange-inline">tftpd</ins>-hpa on <ins class="diffchange diffchange-inline">Ubuntu</ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>The following describes an example configuration on a Ubuntu <ins class="diffchange diffchange-inline">9.10 </ins>host machine:</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>The following describes an example configuration on a Ubuntu<del class="diffchange diffchange-inline">/Debian </del>host machine:</div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Install required packages:</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Install required packages:</div></td></tr>
</table>
Denis
https://www.mediawiki.compulab.com/w/index.php?title=CM-iAM:_Linux:_Getting_started&diff=971&oldid=prev
Denis: /* Overview */
2010-05-05T13:36:29Z
<p><span dir="auto"><span class="autocomment">Overview</span></span></p>
<a href="https://www.mediawiki.compulab.com/w/index.php?title=CM-iAM:_Linux:_Getting_started&diff=971&oldid=615">Show changes</a>
Denis
https://www.mediawiki.compulab.com/w/index.php?title=CM-iAM:_Linux:_Getting_started&diff=615&oldid=prev
Mike: Getting started with Linux on CM-iAM moved to CM-iAM: Linux: Getting started
2009-12-23T08:03:01Z
<p><a href="/w/index.php?title=Getting_started_with_Linux_on_CM-iAM" class="mw-redirect" title="Getting started with Linux on CM-iAM">Getting started with Linux on CM-iAM</a> moved to <a href="/w/index.php?title=CM-iAM:_Linux:_Getting_started" title="CM-iAM: Linux: Getting started">CM-iAM: Linux: Getting started</a></p>
<p><b>New page</b></p><div>== Overview ==<br />
<br />
Linux for the CM-iAM/SB-iAM is based on Ubuntu 9.04. [http://www.compulab.co.il/iam/download/release/iam-linux-release.zip The Linux package for CM-iAM] includes a ready-to-run NAND flash image, Linux kernel configuration and source code, dedicated repository with graphic drivers, media player and kernel related packages.<br />
<br />
== Package contents ==<br />
The CompuLab Linux package for CM-iAM contains the following components:<br />
<br />
=== run-time disk images ===<br />
* {{filename|sb-iam.ubuntu-9.04.NAND.img.bz2}} - archived image of local NAND disk. Contains fully configured Ubuntu 9.04<br />
<br />
=== kernel ===<br />
* '''2.6.28''' kernel sources and configuration file customized by Compulab.<br />
* The kernel is also present as a package in ''debian repository''.<br />
<br />
=== debian repository ===<br />
* To be consistent with Ubuntu/Debian packaging standards, we created a simple local repository that resides in {{filename|/opt/compulab/}} in the run-time image.<br />
* This repository contains binaries and sources for all the custom packages provided by CompuLab, such as kernel, graphic drivers, libraries, etc. Please read more about working with a repository in [http://www.debian.org/doc/manuals/repository-howto/repository-howto Debian Repository HOWTO]<br />
<br />
=== scripts ===<br />
Miscellaneous useful scripts<br />
* {{filename|image_mount.sh}} - utility to mount run-time image partitions on a host workstation<br />
* {{filename|image_creator.sh}} - utility to create installation and recovery image for bootable USB flash drive. Run this script from {{filename|scripts}} directory in the package, {{filename|sb-iam.ubuntu-9.04.USB.img}} will be created in the {{filename|images}} directory.<br />
<br />
== Boot from external device ==<br />
It`s possible to boot not only from the local NAND disk, but also from an external storage device such as a USB flash disk, SATA disk or MMC/SD/SDIO card. At it`s initial state, the local NAND disk is empty and booting from an external device is the only option. Below booting from disk-on-key is described.<br />
* Obtain any Linux workstation and download [http://www.compulab.co.il/iam/download/release/iam-linux-release.zip Linux kernel package for CM-iAM] to it.<br />
* Unzip ''iam-linux-release.zip'' to some place on your Linux workstation.<br />
* Open '''Applications->Accessories->Terminal'''<br />
* Get root permitions using the {{cmd|su}} command.<br />
* Run {{cmd|image_creator.sh}} script from {{filename|scripts}} directory in the package, {{filename|sb-iam.ubuntu-9.04.USB.img}} will be created in the {{filename|images}} directory.<br />
<pre><br />
# cd /path/to/downloaded/iam-linux-release/scripts/<br />
# ls<br />
image_creator.sh image_mount.sh<br />
# ./image_creator.sh<br />
(some output here)<br />
../images/sb-iam.ubuntu-9.04.USB.img is ready.<br />
# ls ../images/<br />
sb-iam.ubuntu-9.04.USB.img sb-iam.ubuntu-9.04.NAND.img.bz2<br />
</pre><br />
{{Note|Currently created {{filename|sb-iam.ubuntu-9.04.USB.img}} is nearly identical to {{filename|sb-iam.ubuntu-9.04.NAND.img}}. The images differ only in device numbering in {{filename|/boot/grub/menu.lst}} and {{filename|/etc/fstab}}. Also {{filename|sb-iam.ubuntu-9.04.USB.img}} contains archived {{filename|sb-iam.ubuntu-9.04.NAND.img}} in {{filename|/home/user/Desktop/}} }}<br />
<br />
* Prepare an external storage device, 4GB or more capacity will be enough.<br />
* Connect the USB flash drive to the Linux workstation. We assume here it's recognized as {{filename|/dev/sdb}}.<br />
* Extract the USB image directly to the connected USB flash drive using the following command:<br />
<pre><br />
# dd if=../images/sb-iam.ubuntu-9.04.USB.img of=/dev/sdb bs=2M<br />
</pre><br />
* Insert formatted USB flash drive into an empty USB slot on the SB-iAM baseboard, ensuring that no other external storage device is connected.<br />
* Power on the SB-iAM. In BIOS, choose your USB flash drive as the first boot device and reboot.<br />
* Welcome to Ubuntu 9.04 for SB-iAM, username: '''user''', password: '''111111'''<br />
{{Note|Bootable USB image {{filename|sb-iam.ubuntu-9.04.USB.img}} contains a filesystem with 1.2GB empty space. If your storage device is bigger than 4GB - you can easily reformat it with the {{cmd|fdisk}} and {{cmd|resize2fs}} utilities to get more empty space.}}<br />
<br />
== Boot from local NAND disk ==<br />
* Boot from external device as described above.<br />
* {{filename|sb-iam.ubuntu-9.04.NAND.img.bz2}} image file will appear on the desktop.<br />
* Open '''Applications->Accessories->Terminal'''<br />
* Get root permitions using the {{cmd|su}} command, root password is "111111".<br />
* Extract the image file directly to the local NAND disk using the following command:<br />
<pre><br />
root@sb-iam:/home/user# bzip2 -dc /home/user/Desktop/sb-iam.ubuntu-9.04.NAND.img.bz2 | dd of=/dev/sda bs=2M<br />
</pre><br />
* Reboot, choose in BIOS, local NAND disk as first boot device, save changes.<br />
* Welcome to Ubuntu 9.04 for SB-iAM, username: '''user''', password: '''111111'''<br />
<br />
== See also ==<br />
<br />
* [[Linux Kernel for CM-iAM]]<br />
* [[Ubuntu Linux for CM-iAM]]<br />
<br />
[[Category:Linux|Getting started]]<br />
[[Category:CM-IAM|Linux: Getting started]]</div>
Mike