<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.mediawiki.compulab.com/w/index.php?action=history&amp;feed=atom&amp;title=CM-A510%3A_Linux%3A_Ubuntu</id>
	<title>CM-A510: Linux: Ubuntu - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.mediawiki.compulab.com/w/index.php?action=history&amp;feed=atom&amp;title=CM-A510%3A_Linux%3A_Ubuntu"/>
	<link rel="alternate" type="text/html" href="https://www.mediawiki.compulab.com/w/index.php?title=CM-A510:_Linux:_Ubuntu&amp;action=history"/>
	<updated>2026-05-03T06:51:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://www.mediawiki.compulab.com/w/index.php?title=CM-A510:_Linux:_Ubuntu&amp;diff=1078&amp;oldid=prev</id>
		<title>Mike: /* Required system changes */</title>
		<link rel="alternate" type="text/html" href="https://www.mediawiki.compulab.com/w/index.php?title=CM-A510:_Linux:_Ubuntu&amp;diff=1078&amp;oldid=prev"/>
		<updated>2011-01-27T06:31:11Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Required system changes&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;== Prepare installation media ==&lt;br /&gt;
* Create bootable LiveUSB using [http://cdimage.ubuntu.com/ports/releases/lucid/release/ubuntu-10.04-server-armel+dove.img Marvell Dove server install image]. Please refer to [http://help.ubuntu.com/community/Installation/FromImgFiles Installation From Img Files] for description of Ubuntu Live USB images.&lt;br /&gt;
* Replace {{filename|cdrom/uImage}} file on LiveUSB with [http://compulab.co.il/workspace/sw/ubuntu/lucid/files/uImage uImage] file provided by Compulab.&lt;br /&gt;
* Ensure {{filename|uImage}} file integrity, compare its md5sum with [http://compulab.co.il/workspace/sw/ubuntu/lucid/files/uImage.md5 uImage.md5]&lt;br /&gt;
&lt;br /&gt;
== Installation of generic Ubuntu 10.04 Server==&lt;br /&gt;
* Connect the host PC to the CM-A510 via the serial cable supplied with the CM-A510 evaluation kit.&lt;br /&gt;
* Start terminal emulation software on your PC using the COM port to which the serial cable is connected. Set baud rate to 115200 bps, 8 bit per frame, 1 stop bit, no parity, no flow control.&lt;br /&gt;
* Connect LAN0 Ethernet port on CM-A510  (connector P11 on SB-A510) to your local Ethernet.&lt;br /&gt;
* Connect LiveUSB to L11 USB port on CM-A510 (connector P11 on SB-A510).&lt;br /&gt;
* Connect storage media to the SATA port (connector P18 on SB-A510).&lt;br /&gt;
* Turn on the CM-A510. The U-Boot boot-loader will start and you will get a command prompt. &lt;br /&gt;
*: {{Note|If the boot settings of your CM-A510 are different than default, you may need to press and hold ^C while turning on the CM-A510, in order to get command prompt.}}&lt;br /&gt;
* Start the U-Boot USB subsystem, check that your LiveUSB has valid filesystem and boot.&lt;br /&gt;
 usb start&lt;br /&gt;
 fatls usb 0&lt;br /&gt;
 fatload usb 0:1 0x00200000 /cdrom/uImage&lt;br /&gt;
 fatload usb 0:1 0x01100000 /cdrom/uInitrd&lt;br /&gt;
 setenv bootargs pm_disable console=ttyS0,115200 file=/cdrom/preseed/ubuntu-server.seed cdrom-detect/try-usb=true&lt;br /&gt;
 bootm 0x00200000 0x01100000''&lt;br /&gt;
&lt;br /&gt;
* The resulting output should be similar to the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CM-A510&amp;gt;&amp;gt; usb start&lt;br /&gt;
(Re)start USB...&lt;br /&gt;
USB:   Register 10011 NbrPorts 1&lt;br /&gt;
USB EHCI 1.00&lt;br /&gt;
scanning bus for devices... 2 USB Device(s) found&lt;br /&gt;
Waiting for storage device(s) to settle before scanning...&lt;br /&gt;
       scanning bus for storage devices... 1 Storage Device(s) found&lt;br /&gt;
CM-A510&amp;gt;&amp;gt; fatls usb 0&lt;br /&gt;
            dists/&lt;br /&gt;
            pics/&lt;br /&gt;
            .disk/&lt;br /&gt;
            install/&lt;br /&gt;
            preseed/&lt;br /&gt;
            pool/&lt;br /&gt;
            cdrom/&lt;br /&gt;
     1115   cdromupgrade &lt;br /&gt;
   122326   md5sum.txt &lt;br /&gt;
     1461   boot.scr &lt;br /&gt;
      240   readme.diskdefines &lt;br /&gt;
&lt;br /&gt;
4 file(s), 7 dir(s)&lt;br /&gt;
&lt;br /&gt;
CM-A510&amp;gt;&amp;gt; fatload usb 0:1 0x00200000 /cdrom/uImage&lt;br /&gt;
reading /cdrom/uImage&lt;br /&gt;
............................................................................................................................................................................................................................................................................................&lt;br /&gt;
&lt;br /&gt;
2919244 bytes read&lt;br /&gt;
CM-A510&amp;gt;&amp;gt; fatload usb 0:1 0x01100000 /cdrom/uInitrd&lt;br /&gt;
reading /cdrom/uInitrd&lt;br /&gt;
.......................................................................................................................................................................................................................................................................................................................................................................................&lt;br /&gt;
&lt;br /&gt;
3846585 bytes read&lt;br /&gt;
CM-A510&amp;gt;&amp;gt; setenv bootargs pm_disable console=ttyS0,115200 file=/cdrom/preseed/ubuntu-server.seed cdrom-detect/try-usb=true&lt;br /&gt;
CM-A510&amp;gt;&amp;gt; bootm 0x00200000 0x01100000&lt;br /&gt;
## Booting kernel from Legacy Image at 00200000 ...&lt;br /&gt;
   Image Name:   Linux-2.6.32.21+drm33.7-00068-g2&lt;br /&gt;
   Created:      2011-01-18   7:57:46 UTC&lt;br /&gt;
   Image Type:   ARM Linux Kernel Image (uncompressed)&lt;br /&gt;
   Data Size:    2919180 Bytes =  2.8 MB&lt;br /&gt;
   Load Address: 00008000&lt;br /&gt;
   Entry Point:  00008000&lt;br /&gt;
   Verifying Checksum ... OK&lt;br /&gt;
## Loading init Ramdisk from Legacy Image at 01100000 ...&lt;br /&gt;
   Image Name:   Ubuntu Initrd&lt;br /&gt;
   Created:      2010-04-28  12:45:39 UTC&lt;br /&gt;
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)&lt;br /&gt;
   Data Size:    3846521 Bytes =  3.7 MB&lt;br /&gt;
   Load Address: 00000000&lt;br /&gt;
   Entry Point:  00000000&lt;br /&gt;
   Verifying Checksum ... OK&lt;br /&gt;
   Loading Kernel Image ... OK&lt;br /&gt;
OK&lt;br /&gt;
&lt;br /&gt;
Starting kernel ...&lt;br /&gt;
&lt;br /&gt;
[    0.000000] Linux version 2.6.32.21+drm33.7-00068-g25da183 (kostya@kostya-linux) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202) ) #7 Tue Jan 18 09:57:39 IST 2011 ()&lt;br /&gt;
[    0.000000] CPU: Marvell PJ4 v7 Processor-wmmx [560f5815] revision 5 (ARMv7), cr=10c53c7f&lt;br /&gt;
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache&lt;br /&gt;
[    0.000000] Machine: Compulab CM-A510 Board&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Continue standard Ubuntu Server installation - choose timezone, partitions, username, password etc.&lt;br /&gt;
** Choose language, country, territory or area and keyboard layout&lt;br /&gt;
** Say ''&amp;quot;Yes&amp;quot;'' when asked &amp;quot;Continue the install without loading kernel modules?&amp;quot;&lt;br /&gt;
** Choose primary network interface, timezone and hostname&lt;br /&gt;
** Choose manual partitioning method.&lt;br /&gt;
** Make separate partition for {{filename|/boot}} with ext2 or ext3 filesystem. It is essential because U-Boot is able to read  {{filename|uImage}}  file only from the root directory of a partition.&lt;br /&gt;
** Make separate partitions for {{filename|/}} and swap.&lt;br /&gt;
** For example use the following scheme:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SCSI1 (0,0,0) (sda) - 160.0 GB ATA Hitachi HTS54321&lt;br /&gt;
&amp;gt;     #1  primary  100.0 MB    F  ext2          /boot&lt;br /&gt;
&amp;gt;     #2  primary  158.9 GB    F  ext4          /&lt;br /&gt;
&amp;gt;     #3  primary    1.0 GB    F  swap          swap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: {{Note|If your partitioning scheme is different, you may need to edit U-Boot boot parameters accordingly.}}&lt;br /&gt;
* Write changes to disk and continue installing the system.&lt;br /&gt;
** Say ''&amp;quot;Yes&amp;quot;'' when asked &amp;quot;Continue without installing a kernel?&amp;quot;&lt;br /&gt;
** Choose username, password and wait until installation will be finished.&lt;br /&gt;
** Reboot the CM-A510, leave LiveUSB plugged in the USB port.&lt;br /&gt;
** The U-Boot boot-loader will start and you will get a command prompt.&lt;br /&gt;
* After the reboot&lt;br /&gt;
 usb start&lt;br /&gt;
 fatload usb 0:1 0x00200000 /cdrom/uImage&lt;br /&gt;
 setenv bootargs 'root=/dev/sda2 pm_disable console=ttyS0,115200'&lt;br /&gt;
 bootm 0x00200000&lt;br /&gt;
* The resulting output should be similar to the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CM-A510&amp;gt;&amp;gt; usb start&lt;br /&gt;
(Re)start USB...&lt;br /&gt;
USB:   Register 10011 NbrPorts 1&lt;br /&gt;
USB EHCI 1.00&lt;br /&gt;
scanning bus for devices... 2 USB Device(s) found&lt;br /&gt;
Waiting for storage device(s) to settle before scanning...&lt;br /&gt;
       scanning bus for storage devices... 1 Storage Device(s) found&lt;br /&gt;
CM-A510&amp;gt;&amp;gt; fatload usb 0:1 0x00200000 /cdrom/uImage&lt;br /&gt;
reading /cdrom/uImage&lt;br /&gt;
............................................................................................................................................................................................................................................................................................&lt;br /&gt;
&lt;br /&gt;
2919244 bytes read&lt;br /&gt;
CM-A510&amp;gt;&amp;gt; setenv bootargs 'root=/dev/sda2 pm_disable console=ttyS0,115200'&lt;br /&gt;
CM-A510&amp;gt;&amp;gt; bootm 0x00200000&lt;br /&gt;
## Booting kernel from Legacy Image at 00200000 ...&lt;br /&gt;
   Image Name:   Linux-2.6.32.21+drm33.7-00068-g2&lt;br /&gt;
   Created:      2011-01-18   7:57:46 UTC&lt;br /&gt;
   Image Type:   ARM Linux Kernel Image (uncompressed)&lt;br /&gt;
   Data Size:    2919180 Bytes =  2.8 MB&lt;br /&gt;
   Load Address: 00008000&lt;br /&gt;
   Entry Point:  00008000&lt;br /&gt;
   Verifying Checksum ... OK&lt;br /&gt;
   Loading Kernel Image ... OK&lt;br /&gt;
OK&lt;br /&gt;
&lt;br /&gt;
Starting kernel ...&lt;br /&gt;
&lt;br /&gt;
[    0.000000] Linux version 2.6.32.21+drm33.7-00068-g25da183 (kostya@kostya-linux) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202) ) #7 Tue Jan 18 09:57:39 IST 2011 ()&lt;br /&gt;
[    0.000000] CPU: Marvell PJ4 v7 Processor-wmmx [560f5815] revision 5 (ARMv7), cr=10c53c7f&lt;br /&gt;
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache&lt;br /&gt;
[    0.000000] Machine: Compulab CM-A510 Board&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Boot and login using previously selected username and password.&lt;br /&gt;
&lt;br /&gt;
==Required system changes==&lt;br /&gt;
* Add the following lines to {{filename|/etc/apt/sources.list}}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
## Repository for CM-A510 users provided by Compulab&lt;br /&gt;
deb https://compulab.co.il/workspace/sw/ubuntu/lucid binary/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Refresh update manager&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update &amp;amp;&amp;amp; sudo apt-get upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* For convenience we created single metapackage that provides GUI environment, kernel, graphic drivers and media player libraries for HD playback.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install ubuntu-lucid-a510-desktop&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Remove custom headers that are not fully compatible with CM-A510.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get purge linux-headers-2.6.31-608-imx51 linux-headers-2.6.32-209 linux-headers-2.6.32-209-dove linux-headers-dove linux-headers-imx51 &amp;amp;&amp;amp; sudo apt-get autoremove&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Ubuntu 10.04 Desktop is now installed, power-off the CM-A510 and unplug LiveUSB.&lt;br /&gt;
* Turn on the CM-A510. The U-Boot boot-loader will start and you will get a command prompt.&lt;br /&gt;
* Update default boot configuration for the installed system:&lt;br /&gt;
 setenv bootargs 'root=/dev/sda2 pm_disable console=ttyS0,115200'&lt;br /&gt;
 setenv bootcmd 'ide reset; ext2load ide 0:1 0x200000 /uImage; bootm 0x200000'&lt;br /&gt;
 saveenv&lt;br /&gt;
* Boot and wait for login screen to appear.&lt;br /&gt;
* Welcome to Ubuntu 10.04 Desktop.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[CM-A510: Linux: Getting started]]&lt;br /&gt;
* [[CM-A510: Linux: Kernel]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux|Ubuntu]]&lt;br /&gt;
[[Category:CM-A510|Linux: Ubuntu]]&lt;/div&gt;</summary>
		<author><name>Mike</name></author>
		
	</entry>
</feed>