<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mediawiki.compulab.com/w/index.php?action=history&amp;feed=atom&amp;title=CM-FX6%3A_Linux%3A_Automatic_Installation</id>
	<title>CM-FX6: Linux: Automatic Installation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mediawiki.compulab.com/w/index.php?action=history&amp;feed=atom&amp;title=CM-FX6%3A_Linux%3A_Automatic_Installation"/>
	<link rel="alternate" type="text/html" href="https://mediawiki.compulab.com/w/index.php?title=CM-FX6:_Linux:_Automatic_Installation&amp;action=history"/>
	<updated>2026-09-02T06:52:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://mediawiki.compulab.com/w/index.php?title=CM-FX6:_Linux:_Automatic_Installation&amp;diff=3115&amp;oldid=prev</id>
		<title>Grinberg: /* Troubleshooting */</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.compulab.com/w/index.php?title=CM-FX6:_Linux:_Automatic_Installation&amp;diff=3115&amp;oldid=prev"/>
		<updated>2017-01-12T07:55:15Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Troubleshooting&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Introduction ==&lt;br /&gt;
This article provides an installation guide for Linux kernel and Debian root file system on the CompuLab CM-FX6 System-on-Module / Computer-on-Module SSD internal storage device.&lt;br /&gt;
&lt;br /&gt;
== Preparation steps ==&lt;br /&gt;
* Obtain a PC workstation with a serial communication port.&lt;br /&gt;
* Download the Linux package for CM-FX6 from [http://compulab.co.il/products/computer-on-modules/cm-fx6/#devres CompuLab website]. Unzip the package to a directory on your host workstation.&lt;br /&gt;
* All image files mentioned below can be found in the {{filename|images}} subdirectory.&lt;br /&gt;
* Connect the host PC to the SB-FX6 base-board (connector P8) via the serial cable supplied with the evaluation kit.&lt;br /&gt;
* Continue to the [[#Preparing installation media | Preparing installation media]] subsection.&lt;br /&gt;
&lt;br /&gt;
=== Preparing installation media ===&lt;br /&gt;
* Obtain an MMC/SD card. Any commercially available MMC/SD card of 1GB (or larger) may be used.&lt;br /&gt;
* Create a first partition on it. The partition can be formatted either ext2/3/4 or FAT file system.&lt;br /&gt;
* Copy all files found in the directory {{filename|images}} from the [http://compulab.co.il/products/computer-on-modules/cm-fx6/#devres Linux package for CM-FX6] to the first partition on the installation media (MMC/SD card).&lt;br /&gt;
* Continue to the [[#Automatic Installation Procedure | Automatic Installation Procedure]] section.&lt;br /&gt;
&lt;br /&gt;
== Automatic Installation Procedure ==&lt;br /&gt;
* Start terminal emulation software on your PC with the following serial port settings:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
{{:SB-SOM: serial port parameters table}}&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* Plug the installation media (MMC/SD card) to the SD socket (P6) on the SB-FX6&lt;br /&gt;
* Turn on the CM-FX6 evaluation system.&lt;br /&gt;
* The system will boot from the SD card and start the automatic installation procedure.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    Kernel release : Linux Linux 4.1.15-cm-fx6-8.0&lt;br /&gt;
&lt;br /&gt;
Press any key to cancel installation   5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The Automatic Installation Procedure can be terminated by pressing any key during the timeout. &lt;br /&gt;
* The installation script performs all required steps including installing Linux images onto the SSD storage device and setting up the boot environment.&lt;br /&gt;
{{Note| The Automatic Installation script cleans up the SSD device during the installation procedure. All data stored on the SSD device will be lost.}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
=== Mount Source /dev/mmcblk2p1 ===&lt;br /&gt;
* mount_source [  ]&lt;br /&gt;
===Installing OS===&lt;br /&gt;
* Updating partitions&lt;br /&gt;
* Formatting partitions&lt;br /&gt;
* mount_destination [  ]&lt;br /&gt;
* Copying kernel files&lt;br /&gt;
* Extracting user space rootfs.tar.bz2&lt;br /&gt;
 218MiB 0:02:49 [1.29MiB/s] [================================&amp;gt;] 100%            &lt;br /&gt;
* unmount_destination [  ]&lt;br /&gt;
===Updating OS===&lt;br /&gt;
* mount_destination [  ]&lt;br /&gt;
* Extracting user space kernel.update.tar.bz2&lt;br /&gt;
7.04MiB 0:00:04 [1.47MiB/s] [================================&amp;gt;] 100%            &lt;br /&gt;
* unmount_destination [  ]&lt;br /&gt;
=== Unmount Source /dev/mmcblk2p1 ===&lt;br /&gt;
* unmount_source [  ]&lt;br /&gt;
Please remove installation SD card ...&lt;br /&gt;
Press any key to cancel restart   0&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Please remember to remove the installation SD card.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
===== Automatic installation doesn't start =====&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
The U-Boot environment should be set to default:&lt;br /&gt;
* Power on the board.&lt;br /&gt;
* Press and hold Ctrl-C to get command prompt.&lt;br /&gt;
* Set default U-Boot environment and boot the board:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CM-FX6 # env default -a&lt;br /&gt;
CM-FX6 # run bootcmd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
===== The installer was not able to unmount the SSD and terminated with an error =====&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
* Clean up the SSD boot area and {{cmd|halt}} the board.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# dd if=/dev/zero of=/dev/sda bs=1M count=16&lt;br /&gt;
# halt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Power on the board.&lt;br /&gt;
* Press and hold Ctrl-C to get command prompt.&lt;br /&gt;
* Set default U-Boot environment and boot the board:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CM-FX6 # env default -a&lt;br /&gt;
CM-FX6 # run bootcmd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[CM-FX6: Linux: Getting started|CM-FX6: Linux: Manual Linux installation]]&lt;br /&gt;
* [[CM-FX6: Linux: Debian]]&lt;br /&gt;
* [[CM-FX6: Linux: Kernel]]&lt;br /&gt;
* [[Linux Development for ARM modules]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
[[Category:CM-FX6]]&lt;/div&gt;</summary>
		<author><name>Grinberg</name></author>
		
	</entry>
</feed>