<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=84.51.141.236</id>
	<title>Maemo Wiki Mirror - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=84.51.141.236"/>
	<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php/Special:Contributions/84.51.141.236"/>
	<updated>2026-04-21T21:59:31Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Mer/Build/Application_Building&amp;diff=23523</id>
		<title>Mer/Build/Application Building</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Mer/Build/Application_Building&amp;diff=23523"/>
		<updated>2009-10-11T23:57:23Z</updated>

		<summary type="html">&lt;p&gt;84.51.141.236: /* Local Builds */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page assumes you have [[../Install OBS|installed OBS]] and setup an account.&lt;br /&gt;
&lt;br /&gt;
The objective is to walk through creating a package on OBS that you can download to your Mer device using the package manager.&lt;br /&gt;
&lt;br /&gt;
We will use MerPad as an example&lt;br /&gt;
&lt;br /&gt;
You can follow either the CLI or www commands; if you mix them up you need to ensure you execute the commands in the right place.&lt;br /&gt;
&lt;br /&gt;
== To create a new package ==&lt;br /&gt;
&lt;br /&gt;
These osc commands are done in your own area - use your username after &amp;quot;home:&amp;quot; or make sure you are at your [https://build.opensuse.org/project/list_my &amp;quot;Home Project&amp;quot;] on OBS.&lt;br /&gt;
&lt;br /&gt;
Before you can create projects in your home project, you have to create it.&lt;br /&gt;
&lt;br /&gt;
We will use&lt;br /&gt;
* a name of &amp;quot;merpad&amp;quot; (lowercase); this is the &#039;&#039;package&#039;&#039; name&lt;br /&gt;
* a title of &amp;quot;MerPad Example&amp;quot;; this is the human readable title&lt;br /&gt;
* a description of: &amp;quot;A Mer version of Maemopad. Built on OBS by &amp;lt;yourname&amp;gt;&amp;quot;; this is seen upon installation&lt;br /&gt;
&lt;br /&gt;
If you use the CLI interface you can also enter a url.&lt;br /&gt;
&lt;br /&gt;
Obviously, if you have your own source and dsc then amend the details accordingly.&lt;br /&gt;
&lt;br /&gt;
==Configure your Home Project to Build against Mer==&lt;br /&gt;
When you upload some source the build-dependencies need to be resolved.  OBS does this by looking at a build target repository; if the dependency isn&#039;t there and that repository has its own build target repository then it looks there... and so on.&lt;br /&gt;
&lt;br /&gt;
So Maemo:Mer:Stable has a build target of Ubuntu_9.04.&lt;br /&gt;
&lt;br /&gt;
However, if you built against :Stable then you&#039;d miss any community libraries in :Extras. So we will setup your home to build against :Extras:Stable&lt;br /&gt;
&lt;br /&gt;
This means that build dependencies will be looked for in:&lt;br /&gt;
# Maemo:Mer:Extras:Stable&lt;br /&gt;
# Maemo:Mer:Stable&lt;br /&gt;
# Ubuntu_9.04&lt;br /&gt;
&lt;br /&gt;
Once this is done, any packages uploaded to this project will build.&lt;br /&gt;
&lt;br /&gt;
===Setting up Build Repositories : WWW===&lt;br /&gt;
* Click on &amp;quot;Home project&amp;quot; in the left navigation bar in the OBS website&lt;br /&gt;
* On the right click on &amp;quot;Add Repository&amp;quot;&lt;br /&gt;
* At the bottom, click on &amp;quot;Advanced&amp;quot;&lt;br /&gt;
* Use the name &amp;quot;MerExtrasStable_MerStable_Ubuntu_9.04&amp;quot; (this is important)&lt;br /&gt;
* In the (huge!) &amp;quot;Build Target Selection&amp;quot; scrollbox, select &amp;quot;Maemo:Mer:Extras:Stable/MerStable_Ubuntu_9.04&amp;quot;&lt;br /&gt;
* In the tickboxes, pick &amp;quot;i586&amp;quot; and &amp;quot;armv5el&amp;quot;&lt;br /&gt;
* Click &amp;quot;Save Changes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you want to build against Mer:Testing and Mer:Devel aswell then use the XML interface to ensure you get it right.&lt;br /&gt;
&lt;br /&gt;
===Setting up Build Repositories : CLI===&lt;br /&gt;
To change the build target repositories (part of the project metadata):&lt;br /&gt;
  osc meta prj home:lbt -e&lt;br /&gt;
&lt;br /&gt;
The XML should look like this (make sure you use your own &amp;quot;name=&amp;quot; value) paying special attention to the &amp;lt;code&amp;gt;&amp;lt;repository&amp;gt;&amp;lt;/code&amp;gt; tags:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;project name=&amp;quot;home:yourname&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;title&amp;gt;yourname&#039;s Home Project&amp;lt;/title&amp;gt;&lt;br /&gt;
  &amp;lt;description&amp;gt;Mer is cool&amp;lt;/description&amp;gt;&lt;br /&gt;
  &amp;lt;person userid=&amp;quot;yourname&amp;quot; role=&amp;quot;maintainer&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;person userid=&amp;quot;yourname&amp;quot; role=&amp;quot;bugowner&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;repository name=&amp;quot;MerExtrasStable_MerStable_Ubuntu_9.04&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;path project=&amp;quot;Maemo:Mer:Extras:Stable&amp;quot; repository=&amp;quot;MerStable_Ubuntu_9.04&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;arch&amp;gt;armv5el&amp;lt;/arch&amp;gt;&lt;br /&gt;
    &amp;lt;arch&amp;gt;i586&amp;lt;/arch&amp;gt;&lt;br /&gt;
  &amp;lt;/repository&amp;gt;&lt;br /&gt;
&amp;lt;/project&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a full set of [[/XML_Build_Targets|XML Build targets]] for Ubuntu; they aren&#039;t needed unless you&#039;re doing something clever.&lt;br /&gt;
&lt;br /&gt;
==Creating Package==&lt;br /&gt;
Each package has its own directory in the project and, by default, is built against any build targets for the project.&lt;br /&gt;
&lt;br /&gt;
===Creating Package : WWW===&lt;br /&gt;
* Click on &amp;quot;Home project&amp;quot; in the left navigation bar in the OBS website&lt;br /&gt;
* Click on &amp;quot;Add Package&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Note that the &#039;name&#039; is like a filename (openoffice) whereas &#039;title&#039; is written out. (Open Office)&lt;br /&gt;
&lt;br /&gt;
(In the XML the name is also fully qualified with a project and :s )&lt;br /&gt;
&lt;br /&gt;
Fill in the values in the boxes and save changes.&lt;br /&gt;
&lt;br /&gt;
===Creating Package : CLI===&lt;br /&gt;
Run&lt;br /&gt;
 osc meta pkg -e home:&amp;lt;username&amp;gt; &amp;lt;package&amp;gt;&lt;br /&gt;
This will tell the OBS server about the package. It pops up an editor where you can edit the name/description in XML format and then save. The XML appears like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;package name=&amp;quot;merpad&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;title&amp;gt;Title of New Package&amp;lt;/title&amp;gt;&lt;br /&gt;
  &amp;lt;description&amp;gt;&lt;br /&gt;
LONG DESCRIPTION &lt;br /&gt;
GOES &lt;br /&gt;
HERE&lt;br /&gt;
  &amp;lt;/description&amp;gt;&lt;br /&gt;
  &amp;lt;person role=&amp;quot;maintainer&amp;quot; userid=&amp;quot;lbt&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;person role=&amp;quot;bugowner&amp;quot; userid=&amp;quot;lbt&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;url&amp;gt;PUT_UPSTREAM_URL_HERE&amp;lt;/url&amp;gt;&lt;br /&gt;
&amp;lt;/package&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and fill it in:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;package name=&amp;quot;merpad&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;title&amp;gt;MerPad Example&amp;lt;/title&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;description&amp;gt;&lt;br /&gt;
A Mer version of Maemopad.&lt;br /&gt;
Built on OBS by David.&lt;br /&gt;
  &amp;lt;/description&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;person role=&amp;quot;maintainer&amp;quot; userid=&amp;quot;lbt&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;person role=&amp;quot;bugowner&amp;quot; userid=&amp;quot;lbt&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;url&amp;gt;PUT_UPSTREAM_URL_HERE&amp;lt;/url&amp;gt;&lt;br /&gt;
&amp;lt;/package&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Uploading Source==&lt;br /&gt;
===Uploading Source : WWW===&lt;br /&gt;
From your Home Project, you should see a &amp;quot;merpad&amp;quot; entry under Packages.&lt;br /&gt;
Select merpad to go to the Package page (you may already be there if you just created it).&lt;br /&gt;
&lt;br /&gt;
Now click [Add File] and upload the tar.gz and then do it again for the dsc files.&lt;br /&gt;
&lt;br /&gt;
Use these files:&lt;br /&gt;
  http://www.dgreaves.com/pub/merpad_1.0-1.dsc&lt;br /&gt;
  http://www.dgreaves.com/pub/merpad_1.0-1.tar.gz&lt;br /&gt;
&lt;br /&gt;
===Uploading Source : CLI===&lt;br /&gt;
&lt;br /&gt;
To get a local (empty) copy make sure you&#039;re at your obs root (eg &amp;lt;code&amp;gt;~/maemo/Mer/obs&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Then run&lt;br /&gt;
 osc co home:&amp;lt;username&amp;gt;/merpad&lt;br /&gt;
&lt;br /&gt;
(If you were already in &amp;lt;code&amp;gt;~/maemo/Mer/obs&amp;lt;/code&amp;gt; then &amp;lt;code&amp;gt;co merpad&amp;lt;/code&amp;gt; would work.. beware, nothing stops you checking out a project inside a project!)&lt;br /&gt;
&lt;br /&gt;
This makes a package directory so now you can:&lt;br /&gt;
 cd home:&amp;lt;username&amp;gt;/&amp;lt;package&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once there you can copy in the tarball and dsc file from your application... or in this tutorial we&#039;ll get them from the web.&lt;br /&gt;
 wget   http://www.dgreaves.com/pub/merpad_1.0-1.dsc&lt;br /&gt;
 wget   http://www.dgreaves.com/pub/merpad_1.0-1.tar.gz&lt;br /&gt;
&lt;br /&gt;
Then add them to version control&lt;br /&gt;
 osc addremove&lt;br /&gt;
&lt;br /&gt;
The addremove command is a shortcut... it removes any files from OBS that are no longer in the directory and then adds any that are there. Typically you just delete old tarballs and dsc files and run osc addremove. If you prefer osc has an explicit add command.&lt;br /&gt;
&lt;br /&gt;
Now they are ready to be uploaded or comitted:&lt;br /&gt;
 osc commit&lt;br /&gt;
&lt;br /&gt;
This will send the source and dsc to the builder and trigger a build.&lt;br /&gt;
&lt;br /&gt;
==Monitoring the Build==&lt;br /&gt;
&lt;br /&gt;
The OBS builder will now schedule and build the application.&lt;br /&gt;
&lt;br /&gt;
Please note that for security reasons the builder is running inside an emulator which is &#039;killed&#039; when it is finished; so there are alarming messages like &amp;lt;code&amp;gt;Kernel panic - not syncing: Attempted to kill init!&amp;lt;/code&amp;gt; and some &amp;lt;code&amp;gt;qemu: Unsupported syscall&amp;lt;/code&amp;gt; messages. These can safely be ignored and will be cleaned up one day.&lt;br /&gt;
&lt;br /&gt;
===Following the build log : WWW ===&lt;br /&gt;
In the package page under the build target is a [Build Log] entry.&lt;br /&gt;
This takes you to a page showing the build log. There are tickboxes to refresh automatically and to autoscroll.&lt;br /&gt;
&lt;br /&gt;
===Following the build log : CLI ===&lt;br /&gt;
To watch what is going on on the cli:&lt;br /&gt;
 osc buildlog MerExtrasStable_MerStable_Ubuntu_9.04 armv5el&lt;br /&gt;
&lt;br /&gt;
This does something like a &amp;quot;tail -f&amp;quot; of the builder.&lt;br /&gt;
&lt;br /&gt;
Tip: If you can&#039;t recall what the names of the targets are then:&lt;br /&gt;
  osc repos&lt;br /&gt;
will tell you.&lt;br /&gt;
&lt;br /&gt;
==Downloading the Binaries==&lt;br /&gt;
Once OBS has run you can download the binaries and install them by hand.&lt;br /&gt;
&lt;br /&gt;
===Getting the binaries : WWW===&lt;br /&gt;
&lt;br /&gt;
In the build status is a link to the .deb file. Notice this is an https link and you need to be logged-in.&lt;br /&gt;
&lt;br /&gt;
===Getting the binaries : CLI===&lt;br /&gt;
&lt;br /&gt;
Simply run:&lt;br /&gt;
  osc getbinaries MerExtrasStable_MerStable_Ubuntu_9.04 armv5el&lt;br /&gt;
in the package directory.&lt;br /&gt;
&lt;br /&gt;
==Using your repository==&lt;br /&gt;
&lt;br /&gt;
OBS takes a while (up to several hours if busy) to publish and update repositories; however once it is done the final (optional) step is to add an entry to your tablet to use the OBS repository for your project.&lt;br /&gt;
&lt;br /&gt;
Create a file called &amp;lt;code&amp;gt;/etc/apt/sources.list.d/MyOBS.list&amp;lt;/code&amp;gt; and add the following line (using your name):&lt;br /&gt;
  deb http://download.opensuse.org/repositories/home:/yourname/MerExtrasStable_MerStable_Ubuntu_9.04/ /&lt;br /&gt;
&lt;br /&gt;
Then running the application manager should show your MerPad.&lt;br /&gt;
&lt;br /&gt;
=Local Builds=&lt;br /&gt;
OBS lets you run a local build on your desktop.&lt;br /&gt;
&lt;br /&gt;
Simply checkout a package:&lt;br /&gt;
  osc co home:username/maemopad&lt;br /&gt;
&lt;br /&gt;
and run:&lt;br /&gt;
  cd home:username/maemopad&lt;br /&gt;
  osc build MerExtrasStable_MerStable_Ubuntu_9.04 armv5el merpad_1.0-1.dsc&lt;br /&gt;
&lt;br /&gt;
Then wait...&lt;br /&gt;
&lt;br /&gt;
This goes to the server to determine where to get the build-depends (remember the build-target stack) and then downloads them to a local cache. Eventually it installs a bootstrap set to a directory and then does a qemu chroot into it and builds the package.&lt;br /&gt;
&lt;br /&gt;
Once it is done you should get a line telling you where the deb is:&lt;br /&gt;
  /scratch3/maemo/Mer/obs/build-MerExtrasStable_MerStable_Ubuntu_9.04-armv5el-merpad/usr/src/packages/DEBS/merpad_1.0-1_armel.deb&lt;br /&gt;
&lt;br /&gt;
It will ask for a password at one stage.  You can use your local root password for this.   If you get an error complaining about a lack of /usr/lib/common_functions, then create a folder in your home folder, cd into it, and then follow the instructions [http://gitorious.org/mer/build HERE] .  they should ask you to run the command &lt;br /&gt;
&lt;br /&gt;
  git clone git://gitorious.org/mer/build.git &lt;br /&gt;
&lt;br /&gt;
in that folder.  This will use git to download a newer &#039;build&#039; tool for you.  See the pageafter it has finished, run &#039;&#039;make install&#039;&#039; to install the tool, and then go back and run the osc build step again.  It should continue from the password prompt step successfully this time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also do:&lt;br /&gt;
  sudo chroot /scratch3/maemo/Mer/obs/build-MerExtrasStable_MerStable_Ubuntu_9.04-armv5el-merpad/ su abuild&lt;br /&gt;
and once there, run arm commands inside the chroot.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Co-existing with Scratchbox ==&lt;br /&gt;
&lt;br /&gt;
If you use the OBS local build facility and the scratchbox-1 local builder then you need to know how to teach the two emulators how to co-exist.&lt;br /&gt;
&lt;br /&gt;
Both OBS and Scratchbox use [http://git.kernel.org/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/binfmt_misc.txt;hb=HEAD binfmt_misc] to cause the kernel to invoke (in our case) qemu when it comes across an armel binary.&lt;br /&gt;
&lt;br /&gt;
To disable qemu and enable sbox&lt;br /&gt;
  echo 0 &amp;gt; /proc/sys/fs/binfmt_misc/arm&lt;br /&gt;
  echo 0 &amp;gt; /proc/sys/fs/binfmt_misc/armeb&lt;br /&gt;
  echo 1 &amp;gt; /proc/sys/fs/binfmt_misc/sbox-arm&lt;br /&gt;
  echo 1 &amp;gt; /proc/sys/fs/binfmt_misc/sbox-armeb&lt;br /&gt;
&lt;br /&gt;
To disable sbox and enable arm&lt;br /&gt;
  echo 1 &amp;gt; /proc/sys/fs/binfmt_misc/arm&lt;br /&gt;
  echo 1 &amp;gt; /proc/sys/fs/binfmt_misc/armeb&lt;br /&gt;
  echo 0 &amp;gt; /proc/sys/fs/binfmt_misc/sbox-arm&lt;br /&gt;
  echo 0 &amp;gt; /proc/sys/fs/binfmt_misc/sbox-armeb&lt;br /&gt;
&lt;br /&gt;
Don&#039;t do this whilst a build is in progress!&lt;br /&gt;
&lt;br /&gt;
Note that you may need to run :&lt;br /&gt;
  qemu-binfmt-conf.sh&lt;br /&gt;
to register qemu to handle arm binaries&lt;br /&gt;
&lt;br /&gt;
A typical error signifying you have this issue is&lt;br /&gt;
  Exec format error&lt;br /&gt;
which means the kernel doesn&#039;t understand the binary format of the executable.&lt;br /&gt;
&lt;br /&gt;
[[Category:Mer]]&lt;/div&gt;</summary>
		<author><name>84.51.141.236</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Mer/Documentation/SmartQ_Installation_for_the_Windows_user&amp;diff=24061</id>
		<title>Mer/Documentation/SmartQ Installation for the Windows user</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Mer/Documentation/SmartQ_Installation_for_the_Windows_user&amp;diff=24061"/>
		<updated>2009-09-24T23:04:32Z</updated>

		<summary type="html">&lt;p&gt;84.51.141.236: /* Shopping List */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&lt;br /&gt;
This page is aimed at people who want to get set up with Mer, but don&#039;t necessarily want go around re-flashing firmware and lose the in-built Operating System on the SmartQ.  &lt;br /&gt;
&lt;br /&gt;
There are other how-tos on this site for the more experienced user, so this page is aimed at users who may know some stuff about Linux and/or windows, but have never done any embedded-linux stuff and/or really mucked about with memory block devices and so on.&lt;br /&gt;
&lt;br /&gt;
Disclaimer: This may not be the easiest way, but I&#039;ve used it a couple of times to get Mer set up and booting from the SD card.  It really helps to know a bit of linux, or at least know a little about DOS, disks and partitions.   Also, having a VMWare linux machine really helps to dig you out of a hole in case you muck up your SD card. :-)&lt;br /&gt;
&lt;br /&gt;
OK, that&#039;s the start over, time to get setting up....&lt;br /&gt;
&lt;br /&gt;
== What&#039;s going to happen? ==&lt;br /&gt;
&lt;br /&gt;
We&#039;re going to set up a &#039;virtual machine&#039;, which will allow us to do all this safely away from Windows.  The way the smartq boots is this:-&lt;br /&gt;
&lt;br /&gt;
* If a particular button is pressed, when the machine is switched on, then the SmartQ will choose to boot from the SD card.   It does so by looking at the end of the card (at a particular location) for a &#039;bootloader&#039;. this bootloader is a small program which hunts for a valid  Linux installation on the card, and then starts booting that.  So, we have to get this little chain of programs set up just right.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Shopping List =&lt;br /&gt;
&lt;br /&gt;
 * A SmartQ 5 / 7&lt;br /&gt;
 * 1 PC running Windows&lt;br /&gt;
 * A vague knowledge of Linux or DOS and file systems.&lt;br /&gt;
 ** at least 1 Gig RAM (prefer 2)&lt;br /&gt;
 ** at least 5 Gigs of free Disk Space (prefer much more)&lt;br /&gt;
 ** An SD card reader.&lt;br /&gt;
 ** An SD / SDHC Card with at least 6 gigs of space&lt;br /&gt;
 * About an hour to an hour and a half.&lt;br /&gt;
&lt;br /&gt;
= Getting Started =&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
Firstly, get the PC switched on. Ah, I see you&#039;ve already done that.  Good thinking.    Use &amp;quot;My Computer&amp;quot; to locate a drive with 5 or more gigs of space on it.  Keep a note of that drive.  If you can, create a folder on the root of that drive called something like &amp;quot;Virtual Machines&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== VMWare ==&lt;br /&gt;
&lt;br /&gt;
Right, step 2, download VMWare from [[http://www.vmware.com/download/player VMWare.com]]. It&#039;s free, but you need to put in some name / country information.  You&#039;ll have to reboot your PC a few times, but you should be used to that as a Windows owner ;-)&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
Now, download a ready-to-go Ubuntu &amp;quot;Virtual Appliance&amp;quot;.  This is a fancy word for a honking-big file which is a snapshot of a Linux PC.    Once VMWare is installed, there should be a link on the first window which says &#039;Download&#039; or &#039;Get&#039;.    &lt;br /&gt;
&lt;br /&gt;
*Click it, and search for an &amp;quot;Ubuntu 9.04 Desktop with VMWare Tools&amp;quot;.  You&#039;ll get a few hits.  One will be by &amp;quot;Chrysaor&amp;quot;.  That&#039;s what I use, and it&#039;s fine. &lt;br /&gt;
** Alternatively, and more easily, go to [[http://chrysaor.info/?page=ubuntu Chrysaor&#039;s Place]] and grab one from here directly.  Unzip it once it&#039;s downloaded.  Inside  the zip file will be an info.txt with the login credentials.  &lt;br /&gt;
&lt;br /&gt;
*Download it somewhere on your PC with lots of space, preferrably the location you found earlier, in a subfolder called ´Virtual Machines´ and not your desktop.  Once it&#039;s downloaded it&#039;ll create 5 to 10 more files in the same place, so it ´is´ best to stick it in a subdirectory.&lt;br /&gt;
*Once it&#039;s downloaded, go back to VMWare and click &#039;Open&#039;, then surf over to the &#039;vmx&#039; file you just downloaded, and sit back and enjoy the ubuntu loading screen.&lt;br /&gt;
&lt;br /&gt;
´´´ŃOTE´´´ We are NOT going to harm windows. VMWare contains the Linux in a safe harness and does not change or break windows in any way.&lt;br /&gt;
&lt;br /&gt;
*Once you&#039;re into Ubuntu, click on the &amp;quot;Devices v&amp;quot; button at the top, and look for your SD/SDHC card reader.  Mine says  &amp;quot;Alcor Micro Mass Storage Device&amp;quot;.  Select it, and click &amp;quot;Connect&amp;quot;.  Then do it again and select &amp;quot;Show icon in status bar&amp;quot;. This&#039;ll make it easier to see what&#039;s happening.&lt;br /&gt;
&lt;br /&gt;
= Using VMWare/Ubuntu to configure the SD card =&lt;br /&gt;
&lt;br /&gt;
== Installing Mer on the SD Card ==&lt;br /&gt;
&lt;br /&gt;
Click the Applications&amp;gt;Accessories&amp;gt;Terminal menu inside ubuntu and open up a command prompt.  Insert the SD card into your PC&#039;s SD reader, and check the little drive icon on the VMWare status bar.. it should flicker in time with the LED on your card reader... &lt;br /&gt;
&lt;br /&gt;
OK, so firstly, we need to get the stuff you&#039;re going to install on the SD card.&lt;br /&gt;
So, click the little Firefox logo at the top of the screen to get a browser.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; Before you download anything, it&#039;s important that we set the download folder.  By default it&#039;ll be your desktop, let&#039;s change it to your &#039;home&#039; folder... It&#039;ll be less typing.   &lt;br /&gt;
&lt;br /&gt;
* Click &#039;&#039;&#039;Edit&#039;&#039;&#039;, then &#039;&#039;&#039;Preferences&#039;&#039;&#039;, then the &#039;&#039;&#039;Browse&#039;&#039;&#039; button next to &#039;&#039;&#039;Save Files To&#039;&#039;&#039;.   &lt;br /&gt;
* In the dialog which appears you&#039;ll see three buttons at the top &#039;&amp;lt;&#039;,&#039;&amp;lt;your username&amp;gt;&#039; and &#039;Desktop&#039;.  &lt;br /&gt;
* Click the &#039;&#039;&#039;&amp;lt;&#039;&#039;&#039; button, and a button will appear with &#039;home&#039; in it.&lt;br /&gt;
* Click the &#039;&#039;&#039;Home&#039;&#039;&#039; button.  In the window you&#039;ll see your username now as a folder. &lt;br /&gt;
* Highlight the folder with &#039;&#039;&#039;your username&#039;&#039;&#039; (it may be just &#039;user&#039;, depending on which Ubuntu VM you grabbed).&lt;br /&gt;
* Click &#039;&#039;&#039;open&#039;&#039;&#039;.  When you return to the previous screen, the &#039;save files to&#039; option should now say something like &#039;&#039;/home/user&#039;&#039;.&lt;br /&gt;
* Click &#039;&#039;&#039;close&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
OK, now we know precisely where Moz will save your downloads, it&#039;s time to get those files.&lt;br /&gt;
&lt;br /&gt;
== Downloading everything ==&lt;br /&gt;
&lt;br /&gt;
* Go to [[http://wiki.maemo.org/Mer/Releases The releases page]] and grab the current stable release for your device. You want the ROOTFS version of the file, NOT the Firmware version.  This will go onto the SD card to make Mer.&lt;br /&gt;
&lt;br /&gt;
* Go to [[http://zenvoid.org/software/qi-smartq/ ZenVoid&#039;s Blog]] and grab the install-smartq-qi.sh and qi-smartq-20090612.bin files.  These will make the SD card bootable.&lt;br /&gt;
&lt;br /&gt;
* [Optional] If you&#039;re using 0.15testing5, you&#039;re also going to need the Marvell Wifi Drivers, so head to [[http://www.marvell.com/drivers/driverDisplay.do?driver=203 Marvell.com]] to get the driver.&lt;br /&gt;
&lt;br /&gt;
All of this should have downloaded to your &#039;home&#039; folder, or to your desktop.  So, at this point we need to go to a prompt and get Mer installed.&lt;br /&gt;
&lt;br /&gt;
So, click Applications&amp;gt;Accessories&amp;gt;Terminal.  This will dump you at a command prompt.  some useful commands are &#039;&#039;&#039;ls -l&#039;&#039;&#039; &#039;&#039;&#039;cd&#039;&#039;&#039; and &#039;&#039;&#039;sudo&#039;&#039;&#039;.  You&#039;ll be seeing a lot of these.&lt;br /&gt;
&lt;br /&gt;
== Setting up the SD Card ==&lt;br /&gt;
&lt;br /&gt;
So, firstly, the SD card will have been automounted, probably.  Linux assigns a &#039;device name&#039; to all its disks, and until you&#039;re familiar with the system, sometimes it takes a moment to locate a new drive...  A quick way to find out the device name (if the drive was auto-mounted), is to run &#039;&#039;&#039;df&#039;&#039;&#039;  to see the free space on all mounted disks.  One disk should be &#039;&#039;mounted&#039;&#039; under &#039;&#039;&#039;/media/disk&#039;&#039;&#039;.  Take a note of the disk&#039;s name, it should be /dev/sdb1 or /dev/sdc1.  the important part is the &amp;quot;sdb&amp;quot; or &amp;quot;sdc&amp;quot;.  From now on, I&#039;ll &#039;&#039;assume&#039;&#039; it&#039;s /dev/sdb1.  If you didn&#039;t see one, then you may need to ensure you&#039;ve added the right drive to VMWare in the steps above.  &lt;br /&gt;
&lt;br /&gt;
* type &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039; .  This will unmount the sd card ready for formatting&lt;br /&gt;
* type &#039;&#039;&#039;sudo fdisk /dev/sdb&#039;&#039;&#039;.  this will open the disk for partitioning.&lt;br /&gt;
* in fdisk, type &#039;&#039;&#039;p&#039;&#039;&#039; to print the partition list, there should be one &#039;sdb1&#039; of type &#039;FAT32&#039;.  This is the current card contents.  &lt;br /&gt;
* Press &#039;&#039;&#039;d&#039;&#039;&#039; and hit return.  This will delete the partiion. If you are asked for a partition number, enter &#039;1&#039;.  If there are more than one partition, repeat until running &#039;&#039;&#039;p&#039;&#039;&#039; shows no partitions left.&lt;br /&gt;
* Press &#039;&#039;&#039;n&#039;&#039;&#039; and hit return to create a new partition.   &lt;br /&gt;
** Press &#039;&#039;&#039;p&#039;&#039;&#039; and hit return to crate a primary partition&lt;br /&gt;
** Press &#039;&#039;&#039;1&#039;&#039;&#039; and hit return to create it as partition one.&lt;br /&gt;
** Press &#039;&#039;&#039;return&#039;&#039;&#039; to choose &#039;&#039;block 1&#039;&#039; to start the partition&lt;br /&gt;
** Do some mental maths and work out the end block by dividing the size of the disk by the total number of blocks. So if fdisk says your 16Gig card has &#039;1900&#039; blocks, then that&#039;s ~8Megs per block, so it&#039;s safe to end the partition at the last-block-but-one. (Remember we&#039;re leaving at least 1 Mb for the bootloader)   (If you want to add a swap partition, then choose a lower number, then repeat the partition-creation step, always remembering to leave at least 1Mb spare at the end of the card (high number).&lt;br /&gt;
* Press &#039;&#039;&#039;a&#039;&#039;&#039; and return to make a partition active, and choose partition 1.&lt;br /&gt;
** If you created a swap partition, press &#039;&#039;&#039;t&#039;&#039;&#039; and choose partition 2, and make it type &#039;&#039;82&#039;&#039;, Linux Swap.&lt;br /&gt;
** Press &#039;&#039;&#039;w&#039;&#039;&#039; and hit return to write the partition table (saving your work).&lt;br /&gt;
** Press &#039;&#039;&#039;q&#039;&#039;&#039; and hit return to exit.&lt;br /&gt;
&lt;br /&gt;
Right, that&#039;s the SD card partitioned up nicely.  Time to format the partition and put Mer on there.  It&#039;s likely that Ubuntu in it&#039;s ever-friendly way will attempt to re-mount the partition again.  So, run &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
** Type &#039;&#039;&#039;sudo mkfs.ext3 /dev/sdb1&#039;&#039;&#039;  to format the partition ready for Mer.  this will take a while, depending on the size / speed of your card.&lt;br /&gt;
&lt;br /&gt;
== Install the bootloader ==&lt;br /&gt;
OK, now it&#039;s time to install the Bootloader which will allow you to boot to Mer.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd&#039;&#039;&#039; and press return to &#039;&#039;go to your home folder&#039;&#039;  this is where you chose to download all your files to in Mozilla.&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; to list all your files.  If you can&#039;t see them, go into Mozilla and work out where your files ended up.  Repeat the steps above to ensure that files are downloaded to your &#039;&#039;&#039;/home/&amp;lt;user&amp;gt;&#039;&#039;&#039; folder (e.g. &#039;&#039;/home/nick&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;sudo chmod a+rx install-smartq-qi.sh&#039;&#039;&#039;  - This will make the installer script &#039;runnable&#039;.&lt;br /&gt;
* Type &#039;&#039;&#039;sudo ./install-smartq-qi.sh /dev/sdb qi-smartq-20090612.bin&#039;&#039;&#039;   - This will install the boot loader onto the SD card for you.&lt;br /&gt;
&lt;br /&gt;
== Install Mer ==&lt;br /&gt;
&lt;br /&gt;
Ok, now it&#039;s time to install mer on the SD card.   So we need to &#039;mount&#039; the card, and move some files about.  The easiest way to do this is unplug the sd card, and re-plug it, and let Ubuntu automount it.  If you&#039;d prefer to do it manually, here are some commands:-&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mkdir /media/disk&#039;&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mount /dev/sdb1 /media/disk&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s mounted, all you have to do is untar the rootfs... so assuming you have a SmartQ7, you downloaded the file &#039;&#039;mer-armel-smartq7-rootfs-v0.16testing5.tar.gz&#039;&#039;, or something similar, you should now type:-&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd&#039;&#039;&#039; (return) to &#039;&#039;go home&#039;&#039;, then &#039;&#039;&#039;ls -l&#039;&#039;&#039; (return) to list the files.&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mv *.tar.gz /media/disk&#039;&#039;&#039; . This will move the entire mer installation to the disk (so we can untar it easily).&lt;br /&gt;
* Type &#039;&#039;&#039;cd /media/disk&#039;&#039;&#039; and press return.  We will now be &#039;on&#039; the disk&lt;br /&gt;
* Type &#039;&#039;&#039;sudo tar xzvf *.gz&#039;&#039;&#039; and press return.  This will now untar the entire &#039;rootfs&#039; to the card.  (Install Mer).&lt;br /&gt;
&lt;br /&gt;
After a few moments, the scrolling text will finish.  We&#039;re almost there!!!&lt;br /&gt;
&lt;br /&gt;
== Getting the bootloader to &#039;see&#039; Mer ==&lt;br /&gt;
&lt;br /&gt;
We&#039;re almost home and dry.  Just a little housekeeping to do.  The bootloader is pretty smart, but it needs the &#039;kernel file&#039; to have a special name so that it can find it on boot.  &lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd /media/disk/boot&#039;&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; and note that there&#039;s a file called &#039;zImage&#039; somthing.  That&#039;s the kernel file.  I&#039;ll assume it&#039;s &#039;zImage-smartq-200932&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;sudo cp zImage-smartq-200932 linux-SMDK6410.bin&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Getting the wifi working ==&lt;br /&gt;
&lt;br /&gt;
The SmartQs need to have a set of drivers installed to make their wifi work.  It&#039;s a fairly painless operation. You should already have downloaded the file... &lt;br /&gt;
With the SD-card mounted in /media/disk, copy the driver file to the &#039;media&#039; directory &#039;&#039;&#039;on the SD card&#039;&#039;&#039;. (i.e. /media/disk/media).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd&#039;&#039;&#039; (and press return) to &#039;&#039;return home&#039;&#039; . Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; (and press return).  You should see the file in the listing now.&lt;br /&gt;
* Type &#039;&#039;&#039;cp SD-8686*.zip /media/disk/media&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I would give you these instructions by using the UI, but it requires &#039;&#039;root privileges&#039;&#039; to copy a lot of these files.. and it&#039;s easier to use &#039;&#039;sudo&#039;&#039; for that.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OK. The File should be in place.  You&#039;ll find installation instructions elsewhere on this site for unpacking the zip. However, when you first start Mer, the kind developers have created installation scripts so when Mer first starts, it&#039;ll find this zip file and unpack it for you.  &lt;br /&gt;
&lt;br /&gt;
Right, we&#039;re pretty much ready to get this baby up and running.&lt;br /&gt;
&lt;br /&gt;
= Booting Into Mer =&lt;br /&gt;
&lt;br /&gt;
== Bye bye PC, hello SmartQ ==&lt;br /&gt;
&lt;br /&gt;
Unmount the card (right-click on the icon on the desktop and select unmount, or type the following.  Ensure that you&#039;ve closed all open windows which show the card&#039;s contents (Ubuntu may open a file browser if you chose to automount the card).&lt;br /&gt;
* &#039;&#039;&#039;cd&#039;&#039;&#039; (return)&lt;br /&gt;
* &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Pull the card out of your PC, and insert it into the Q5 / Q7 (upside down!).   It will need to be pushed in quite far until it clicks home.  Then:-&lt;br /&gt;
&lt;br /&gt;
* Q5&lt;br /&gt;
** Hold down the &amp;quot;move&amp;quot;/fullscreen button, and switch on the device, either using the power button, or plugging in the power.  The LED should flash green, and perhaps red for a moment.&lt;br /&gt;
* Q7&lt;br /&gt;
** Hold down the right-hand-most button on the top of the device (looks like a little target), and press the left-hand-most button (the power), or plug in the power supply.   The LED should flash red, and perhaps green for a brief instant&lt;br /&gt;
&lt;br /&gt;
.. After a moment, the screen should go white.  You can let go of the button and enjoy Mer in all its glory.&lt;br /&gt;
&lt;br /&gt;
Currently, to switch off a Q5/7, you have to press the &#039;reset&#039; button on the bottom.  S&#039;why we formatted the disk with ext3, and not ext2 ;-)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: when you first start Mer, it&#039;s possible the on-screen keyboard may be &#039;missing&#039; a few keys. They&#039;re where they should be on a normal keyboard.  &#039;&#039;&#039;backspace&#039;&#039;&#039; is the gold key at top-right, &#039;&#039;&#039;return&#039;&#039;&#039; is the one below it, and &#039;&#039;&#039;shift&#039;&#039;&#039; is at the bottom.  Once you learn the layout, typing gets rather quick.&lt;br /&gt;
&lt;br /&gt;
HAVE FUN!!!!&lt;br /&gt;
&lt;br /&gt;
= Where to from here? =&lt;br /&gt;
&lt;br /&gt;
== Using VMWare ==&lt;br /&gt;
&lt;br /&gt;
Well, in the words of Ben Kenobi, youve taken your first step into a wiser world.  You have a nice fresh Linux install to play with.  &lt;br /&gt;
&lt;br /&gt;
VMWare is very fault tolerant, so when you want to put Linux away, just close the window.  When you want to resume, just open VMWare again, and Linux will auto-resume from where you left off.  &lt;br /&gt;
&lt;br /&gt;
It is very quick and quite safe.   If the Linux gets completely broken, just delete the virtual machine, re-download it, and start again, without having to muck about with installation CDs.&lt;br /&gt;
&lt;br /&gt;
== Recreating the card ==&lt;br /&gt;
&lt;br /&gt;
Well, now that you&#039;ve had a play with installing Mer, you should be able to set the card up for other installations, like WinCE, etc.  So, keep the VMWare console around. &lt;br /&gt;
&lt;br /&gt;
== Reading the card ==&lt;br /&gt;
&lt;br /&gt;
Don&#039;t unplug the card when the SmartQ is switched on, it&#039;ll cause you pain. However, if you want to install stuff onto the card from the PC, you&#039;ll need your VMWare (or ext2fs tools for windows), to mount the card and copy files on/off.&lt;br /&gt;
&lt;br /&gt;
== Downloading applications ==&lt;br /&gt;
&lt;br /&gt;
Mer is maturing all the time, and new Applications are being developed for it.  Check the app manager from time to time to see if there&#039;s new apps on the internet.&lt;br /&gt;
&lt;br /&gt;
== Developing for Mer ==&lt;br /&gt;
&lt;br /&gt;
The Mer team uses the &amp;quot;OBS&amp;quot; suite from OpenSuse, a remote-build-farm.  You get a username / &#039;garage ID&#039;, download the OBS toolkit inside your Ubuntu Virtual machine, and start coding.  the only difference is that you ask the OpenSuse build farm to build your app for you.  Once it&#039;s built you can install it on a simulated MID (called Scratchbox), or you can install it on the MID itself.&lt;br /&gt;
&lt;br /&gt;
= thanks =&lt;br /&gt;
&lt;br /&gt;
Thanks to lbt, zenvoid, meizirkki for helping me understand what&#039;s going on, and of course the whole Mer team for this awesome product, which may just save a good MID from oblivion :).  I hope this page proves useful, and allows more people to set up and play with Mer.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;nww02&#039;&#039;&lt;/div&gt;</summary>
		<author><name>84.51.141.236</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Mer/Documentation/SmartQ_Installation_for_the_Windows_user&amp;diff=24062</id>
		<title>Mer/Documentation/SmartQ Installation for the Windows user</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Mer/Documentation/SmartQ_Installation_for_the_Windows_user&amp;diff=24062"/>
		<updated>2009-09-24T22:54:53Z</updated>

		<summary type="html">&lt;p&gt;84.51.141.236: /* Bye bye PC, hello SmartQ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&lt;br /&gt;
This page is aimed at people who want to get set up with Mer, but don&#039;t necessarily want go around re-flashing firmware and lose the in-built Operating System on the SmartQ.  &lt;br /&gt;
&lt;br /&gt;
There are other how-tos on this site for the more experienced user, so this page is aimed at users who may know some stuff about Linux and/or windows, but have never done any embedded-linux stuff and/or really mucked about with memory block devices and so on.&lt;br /&gt;
&lt;br /&gt;
Disclaimer: This may not be the easiest way, but I&#039;ve used it a couple of times to get Mer set up and booting from the SD card.  It really helps to know a bit of linux, or at least know a little about DOS, disks and partitions.   Also, having a VMWare linux machine really helps to dig you out of a hole in case you muck up your SD card. :-)&lt;br /&gt;
&lt;br /&gt;
OK, that&#039;s the start over, time to get setting up....&lt;br /&gt;
&lt;br /&gt;
== What&#039;s going to happen? ==&lt;br /&gt;
&lt;br /&gt;
We&#039;re going to set up a &#039;virtual machine&#039;, which will allow us to do all this safely away from Windows.  The way the smartq boots is this:-&lt;br /&gt;
&lt;br /&gt;
* If a particular button is pressed, when the machine is switched on, then the SmartQ will choose to boot from the SD card.   It does so by looking at the end of the card (at a particular location) for a &#039;bootloader&#039;. this bootloader is a small program which hunts for a valid  Linux installation on the card, and then starts booting that.  So, we have to get this little chain of programs set up just right.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Shopping List =&lt;br /&gt;
&lt;br /&gt;
 * A SmartQ 5 / 7&lt;br /&gt;
 * 1 PC running Windows with &lt;br /&gt;
 * A vague knowledge of Linux or DOS and file systems.&lt;br /&gt;
 ** at least 1Gig RAM, &lt;br /&gt;
 ** 5 Gigs of Disk Space &lt;br /&gt;
 ** An SD card reader.&lt;br /&gt;
 ** An SD / SDHC Card with at least 6 gigs of RAM&lt;br /&gt;
 * About an hour to an hour and a half.&lt;br /&gt;
&lt;br /&gt;
= Getting Started =&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
Firstly, get the PC switched on. Ah, I see you&#039;ve already done that.  Good thinking.    Use &amp;quot;My Computer&amp;quot; to locate a drive with 5 or more gigs of space on it.  Keep a note of that drive.  If you can, create a folder on the root of that drive called something like &amp;quot;Virtual Machines&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== VMWare ==&lt;br /&gt;
&lt;br /&gt;
Right, step 2, download VMWare from [[http://www.vmware.com/download/player VMWare.com]]. It&#039;s free, but you need to put in some name / country information.  You&#039;ll have to reboot your PC a few times, but you should be used to that as a Windows owner ;-)&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
Now, download a ready-to-go Ubuntu &amp;quot;Virtual Appliance&amp;quot;.  This is a fancy word for a honking-big file which is a snapshot of a Linux PC.    Once VMWare is installed, there should be a link on the first window which says &#039;Download&#039; or &#039;Get&#039;.    &lt;br /&gt;
&lt;br /&gt;
*Click it, and search for an &amp;quot;Ubuntu 9.04 Desktop with VMWare Tools&amp;quot;.  You&#039;ll get a few hits.  One will be by &amp;quot;Chrysaor&amp;quot;.  That&#039;s what I use, and it&#039;s fine. &lt;br /&gt;
** Alternatively, and more easily, go to [[http://chrysaor.info/?page=ubuntu Chrysaor&#039;s Place]] and grab one from here directly.  Unzip it once it&#039;s downloaded.  Inside  the zip file will be an info.txt with the login credentials.  &lt;br /&gt;
&lt;br /&gt;
*Download it somewhere on your PC with lots of space, preferrably the location you found earlier, in a subfolder called ´Virtual Machines´ and not your desktop.  Once it&#039;s downloaded it&#039;ll create 5 to 10 more files in the same place, so it ´is´ best to stick it in a subdirectory.&lt;br /&gt;
*Once it&#039;s downloaded, go back to VMWare and click &#039;Open&#039;, then surf over to the &#039;vmx&#039; file you just downloaded, and sit back and enjoy the ubuntu loading screen.&lt;br /&gt;
&lt;br /&gt;
´´´ŃOTE´´´ We are NOT going to harm windows. VMWare contains the Linux in a safe harness and does not change or break windows in any way.&lt;br /&gt;
&lt;br /&gt;
*Once you&#039;re into Ubuntu, click on the &amp;quot;Devices v&amp;quot; button at the top, and look for your SD/SDHC card reader.  Mine says  &amp;quot;Alcor Micro Mass Storage Device&amp;quot;.  Select it, and click &amp;quot;Connect&amp;quot;.  Then do it again and select &amp;quot;Show icon in status bar&amp;quot;. This&#039;ll make it easier to see what&#039;s happening.&lt;br /&gt;
&lt;br /&gt;
= Using VMWare/Ubuntu to configure the SD card =&lt;br /&gt;
&lt;br /&gt;
== Installing Mer on the SD Card ==&lt;br /&gt;
&lt;br /&gt;
Click the Applications&amp;gt;Accessories&amp;gt;Terminal menu inside ubuntu and open up a command prompt.  Insert the SD card into your PC&#039;s SD reader, and check the little drive icon on the VMWare status bar.. it should flicker in time with the LED on your card reader... &lt;br /&gt;
&lt;br /&gt;
OK, so firstly, we need to get the stuff you&#039;re going to install on the SD card.&lt;br /&gt;
So, click the little Firefox logo at the top of the screen to get a browser.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; Before you download anything, it&#039;s important that we set the download folder.  By default it&#039;ll be your desktop, let&#039;s change it to your &#039;home&#039; folder... It&#039;ll be less typing.   &lt;br /&gt;
&lt;br /&gt;
* Click &#039;&#039;&#039;Edit&#039;&#039;&#039;, then &#039;&#039;&#039;Preferences&#039;&#039;&#039;, then the &#039;&#039;&#039;Browse&#039;&#039;&#039; button next to &#039;&#039;&#039;Save Files To&#039;&#039;&#039;.   &lt;br /&gt;
* In the dialog which appears you&#039;ll see three buttons at the top &#039;&amp;lt;&#039;,&#039;&amp;lt;your username&amp;gt;&#039; and &#039;Desktop&#039;.  &lt;br /&gt;
* Click the &#039;&#039;&#039;&amp;lt;&#039;&#039;&#039; button, and a button will appear with &#039;home&#039; in it.&lt;br /&gt;
* Click the &#039;&#039;&#039;Home&#039;&#039;&#039; button.  In the window you&#039;ll see your username now as a folder. &lt;br /&gt;
* Highlight the folder with &#039;&#039;&#039;your username&#039;&#039;&#039; (it may be just &#039;user&#039;, depending on which Ubuntu VM you grabbed).&lt;br /&gt;
* Click &#039;&#039;&#039;open&#039;&#039;&#039;.  When you return to the previous screen, the &#039;save files to&#039; option should now say something like &#039;&#039;/home/user&#039;&#039;.&lt;br /&gt;
* Click &#039;&#039;&#039;close&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
OK, now we know precisely where Moz will save your downloads, it&#039;s time to get those files.&lt;br /&gt;
&lt;br /&gt;
== Downloading everything ==&lt;br /&gt;
&lt;br /&gt;
* Go to [[http://wiki.maemo.org/Mer/Releases The releases page]] and grab the current stable release for your device. You want the ROOTFS version of the file, NOT the Firmware version.  This will go onto the SD card to make Mer.&lt;br /&gt;
&lt;br /&gt;
* Go to [[http://zenvoid.org/software/qi-smartq/ ZenVoid&#039;s Blog]] and grab the install-smartq-qi.sh and qi-smartq-20090612.bin files.  These will make the SD card bootable.&lt;br /&gt;
&lt;br /&gt;
* [Optional] If you&#039;re using 0.15testing5, you&#039;re also going to need the Marvell Wifi Drivers, so head to [[http://www.marvell.com/drivers/driverDisplay.do?driver=203 Marvell.com]] to get the driver.&lt;br /&gt;
&lt;br /&gt;
All of this should have downloaded to your &#039;home&#039; folder, or to your desktop.  So, at this point we need to go to a prompt and get Mer installed.&lt;br /&gt;
&lt;br /&gt;
So, click Applications&amp;gt;Accessories&amp;gt;Terminal.  This will dump you at a command prompt.  some useful commands are &#039;&#039;&#039;ls -l&#039;&#039;&#039; &#039;&#039;&#039;cd&#039;&#039;&#039; and &#039;&#039;&#039;sudo&#039;&#039;&#039;.  You&#039;ll be seeing a lot of these.&lt;br /&gt;
&lt;br /&gt;
== Setting up the SD Card ==&lt;br /&gt;
&lt;br /&gt;
So, firstly, the SD card will have been automounted, probably.  Linux assigns a &#039;device name&#039; to all its disks, and until you&#039;re familiar with the system, sometimes it takes a moment to locate a new drive...  A quick way to find out the device name (if the drive was auto-mounted), is to run &#039;&#039;&#039;df&#039;&#039;&#039;  to see the free space on all mounted disks.  One disk should be &#039;&#039;mounted&#039;&#039; under &#039;&#039;&#039;/media/disk&#039;&#039;&#039;.  Take a note of the disk&#039;s name, it should be /dev/sdb1 or /dev/sdc1.  the important part is the &amp;quot;sdb&amp;quot; or &amp;quot;sdc&amp;quot;.  From now on, I&#039;ll &#039;&#039;assume&#039;&#039; it&#039;s /dev/sdb1.  If you didn&#039;t see one, then you may need to ensure you&#039;ve added the right drive to VMWare in the steps above.  &lt;br /&gt;
&lt;br /&gt;
* type &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039; .  This will unmount the sd card ready for formatting&lt;br /&gt;
* type &#039;&#039;&#039;sudo fdisk /dev/sdb&#039;&#039;&#039;.  this will open the disk for partitioning.&lt;br /&gt;
* in fdisk, type &#039;&#039;&#039;p&#039;&#039;&#039; to print the partition list, there should be one &#039;sdb1&#039; of type &#039;FAT32&#039;.  This is the current card contents.  &lt;br /&gt;
* Press &#039;&#039;&#039;d&#039;&#039;&#039; and hit return.  This will delete the partiion. If you are asked for a partition number, enter &#039;1&#039;.  If there are more than one partition, repeat until running &#039;&#039;&#039;p&#039;&#039;&#039; shows no partitions left.&lt;br /&gt;
* Press &#039;&#039;&#039;n&#039;&#039;&#039; and hit return to create a new partition.   &lt;br /&gt;
** Press &#039;&#039;&#039;p&#039;&#039;&#039; and hit return to crate a primary partition&lt;br /&gt;
** Press &#039;&#039;&#039;1&#039;&#039;&#039; and hit return to create it as partition one.&lt;br /&gt;
** Press &#039;&#039;&#039;return&#039;&#039;&#039; to choose &#039;&#039;block 1&#039;&#039; to start the partition&lt;br /&gt;
** Do some mental maths and work out the end block by dividing the size of the disk by the total number of blocks. So if fdisk says your 16Gig card has &#039;1900&#039; blocks, then that&#039;s ~8Megs per block, so it&#039;s safe to end the partition at the last-block-but-one. (Remember we&#039;re leaving at least 1 Mb for the bootloader)   (If you want to add a swap partition, then choose a lower number, then repeat the partition-creation step, always remembering to leave at least 1Mb spare at the end of the card (high number).&lt;br /&gt;
* Press &#039;&#039;&#039;a&#039;&#039;&#039; and return to make a partition active, and choose partition 1.&lt;br /&gt;
** If you created a swap partition, press &#039;&#039;&#039;t&#039;&#039;&#039; and choose partition 2, and make it type &#039;&#039;82&#039;&#039;, Linux Swap.&lt;br /&gt;
** Press &#039;&#039;&#039;w&#039;&#039;&#039; and hit return to write the partition table (saving your work).&lt;br /&gt;
** Press &#039;&#039;&#039;q&#039;&#039;&#039; and hit return to exit.&lt;br /&gt;
&lt;br /&gt;
Right, that&#039;s the SD card partitioned up nicely.  Time to format the partition and put Mer on there.  It&#039;s likely that Ubuntu in it&#039;s ever-friendly way will attempt to re-mount the partition again.  So, run &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
** Type &#039;&#039;&#039;sudo mkfs.ext3 /dev/sdb1&#039;&#039;&#039;  to format the partition ready for Mer.  this will take a while, depending on the size / speed of your card.&lt;br /&gt;
&lt;br /&gt;
== Install the bootloader ==&lt;br /&gt;
OK, now it&#039;s time to install the Bootloader which will allow you to boot to Mer.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd&#039;&#039;&#039; and press return to &#039;&#039;go to your home folder&#039;&#039;  this is where you chose to download all your files to in Mozilla.&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; to list all your files.  If you can&#039;t see them, go into Mozilla and work out where your files ended up.  Repeat the steps above to ensure that files are downloaded to your &#039;&#039;&#039;/home/&amp;lt;user&amp;gt;&#039;&#039;&#039; folder (e.g. &#039;&#039;/home/nick&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;sudo chmod a+rx install-smartq-qi.sh&#039;&#039;&#039;  - This will make the installer script &#039;runnable&#039;.&lt;br /&gt;
* Type &#039;&#039;&#039;sudo ./install-smartq-qi.sh /dev/sdb qi-smartq-20090612.bin&#039;&#039;&#039;   - This will install the boot loader onto the SD card for you.&lt;br /&gt;
&lt;br /&gt;
== Install Mer ==&lt;br /&gt;
&lt;br /&gt;
Ok, now it&#039;s time to install mer on the SD card.   So we need to &#039;mount&#039; the card, and move some files about.  The easiest way to do this is unplug the sd card, and re-plug it, and let Ubuntu automount it.  If you&#039;d prefer to do it manually, here are some commands:-&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mkdir /media/disk&#039;&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mount /dev/sdb1 /media/disk&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s mounted, all you have to do is untar the rootfs... so assuming you have a SmartQ7, you downloaded the file &#039;&#039;mer-armel-smartq7-rootfs-v0.16testing5.tar.gz&#039;&#039;, or something similar, you should now type:-&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd&#039;&#039;&#039; (return) to &#039;&#039;go home&#039;&#039;, then &#039;&#039;&#039;ls -l&#039;&#039;&#039; (return) to list the files.&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mv *.tar.gz /media/disk&#039;&#039;&#039; . This will move the entire mer installation to the disk (so we can untar it easily).&lt;br /&gt;
* Type &#039;&#039;&#039;cd /media/disk&#039;&#039;&#039; and press return.  We will now be &#039;on&#039; the disk&lt;br /&gt;
* Type &#039;&#039;&#039;sudo tar xzvf *.gz&#039;&#039;&#039; and press return.  This will now untar the entire &#039;rootfs&#039; to the card.  (Install Mer).&lt;br /&gt;
&lt;br /&gt;
After a few moments, the scrolling text will finish.  We&#039;re almost there!!!&lt;br /&gt;
&lt;br /&gt;
== Getting the bootloader to &#039;see&#039; Mer ==&lt;br /&gt;
&lt;br /&gt;
We&#039;re almost home and dry.  Just a little housekeeping to do.  The bootloader is pretty smart, but it needs the &#039;kernel file&#039; to have a special name so that it can find it on boot.  &lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd /media/disk/boot&#039;&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; and note that there&#039;s a file called &#039;zImage&#039; somthing.  That&#039;s the kernel file.  I&#039;ll assume it&#039;s &#039;zImage-smartq-200932&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;sudo cp zImage-smartq-200932 linux-SMDK6410.bin&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Getting the wifi working ==&lt;br /&gt;
&lt;br /&gt;
The SmartQs need to have a set of drivers installed to make their wifi work.  It&#039;s a fairly painless operation. You should already have downloaded the file... &lt;br /&gt;
With the SD-card mounted in /media/disk, copy the driver file to the &#039;media&#039; directory &#039;&#039;&#039;on the SD card&#039;&#039;&#039;. (i.e. /media/disk/media).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd&#039;&#039;&#039; (and press return) to &#039;&#039;return home&#039;&#039; . Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; (and press return).  You should see the file in the listing now.&lt;br /&gt;
* Type &#039;&#039;&#039;cp SD-8686*.zip /media/disk/media&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I would give you these instructions by using the UI, but it requires &#039;&#039;root privileges&#039;&#039; to copy a lot of these files.. and it&#039;s easier to use &#039;&#039;sudo&#039;&#039; for that.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OK. The File should be in place.  You&#039;ll find installation instructions elsewhere on this site for unpacking the zip. However, when you first start Mer, the kind developers have created installation scripts so when Mer first starts, it&#039;ll find this zip file and unpack it for you.  &lt;br /&gt;
&lt;br /&gt;
Right, we&#039;re pretty much ready to get this baby up and running.&lt;br /&gt;
&lt;br /&gt;
= Booting Into Mer =&lt;br /&gt;
&lt;br /&gt;
== Bye bye PC, hello SmartQ ==&lt;br /&gt;
&lt;br /&gt;
Unmount the card (right-click on the icon on the desktop and select unmount, or type the following.  Ensure that you&#039;ve closed all open windows which show the card&#039;s contents (Ubuntu may open a file browser if you chose to automount the card).&lt;br /&gt;
* &#039;&#039;&#039;cd&#039;&#039;&#039; (return)&lt;br /&gt;
* &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Pull the card out of your PC, and insert it into the Q5 / Q7 (upside down!).   It will need to be pushed in quite far until it clicks home.  Then:-&lt;br /&gt;
&lt;br /&gt;
* Q5&lt;br /&gt;
** Hold down the &amp;quot;move&amp;quot;/fullscreen button, and switch on the device, either using the power button, or plugging in the power.  The LED should flash green, and perhaps red for a moment.&lt;br /&gt;
* Q7&lt;br /&gt;
** Hold down the right-hand-most button on the top of the device (looks like a little target), and press the left-hand-most button (the power), or plug in the power supply.   The LED should flash red, and perhaps green for a brief instant&lt;br /&gt;
&lt;br /&gt;
.. After a moment, the screen should go white.  You can let go of the button and enjoy Mer in all its glory.&lt;br /&gt;
&lt;br /&gt;
Currently, to switch off a Q5/7, you have to press the &#039;reset&#039; button on the bottom.  S&#039;why we formatted the disk with ext3, and not ext2 ;-)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: when you first start Mer, it&#039;s possible the on-screen keyboard may be &#039;missing&#039; a few keys. They&#039;re where they should be on a normal keyboard.  &#039;&#039;&#039;backspace&#039;&#039;&#039; is the gold key at top-right, &#039;&#039;&#039;return&#039;&#039;&#039; is the one below it, and &#039;&#039;&#039;shift&#039;&#039;&#039; is at the bottom.  Once you learn the layout, typing gets rather quick.&lt;br /&gt;
&lt;br /&gt;
HAVE FUN!!!!&lt;br /&gt;
&lt;br /&gt;
= Where to from here? =&lt;br /&gt;
&lt;br /&gt;
== Using VMWare ==&lt;br /&gt;
&lt;br /&gt;
Well, in the words of Ben Kenobi, youve taken your first step into a wiser world.  You have a nice fresh Linux install to play with.  &lt;br /&gt;
&lt;br /&gt;
VMWare is very fault tolerant, so when you want to put Linux away, just close the window.  When you want to resume, just open VMWare again, and Linux will auto-resume from where you left off.  &lt;br /&gt;
&lt;br /&gt;
It is very quick and quite safe.   If the Linux gets completely broken, just delete the virtual machine, re-download it, and start again, without having to muck about with installation CDs.&lt;br /&gt;
&lt;br /&gt;
== Recreating the card ==&lt;br /&gt;
&lt;br /&gt;
Well, now that you&#039;ve had a play with installing Mer, you should be able to set the card up for other installations, like WinCE, etc.  So, keep the VMWare console around. &lt;br /&gt;
&lt;br /&gt;
== Reading the card ==&lt;br /&gt;
&lt;br /&gt;
Don&#039;t unplug the card when the SmartQ is switched on, it&#039;ll cause you pain. However, if you want to install stuff onto the card from the PC, you&#039;ll need your VMWare (or ext2fs tools for windows), to mount the card and copy files on/off.&lt;br /&gt;
&lt;br /&gt;
== Downloading applications ==&lt;br /&gt;
&lt;br /&gt;
Mer is maturing all the time, and new Applications are being developed for it.  Check the app manager from time to time to see if there&#039;s new apps on the internet.&lt;br /&gt;
&lt;br /&gt;
== Developing for Mer ==&lt;br /&gt;
&lt;br /&gt;
The Mer team uses the &amp;quot;OBS&amp;quot; suite from OpenSuse, a remote-build-farm.  You get a username / &#039;garage ID&#039;, download the OBS toolkit inside your Ubuntu Virtual machine, and start coding.  the only difference is that you ask the OpenSuse build farm to build your app for you.  Once it&#039;s built you can install it on a simulated MID (called Scratchbox), or you can install it on the MID itself.&lt;br /&gt;
&lt;br /&gt;
= thanks =&lt;br /&gt;
&lt;br /&gt;
Thanks to lbt, zenvoid, meizirkki for helping me understand what&#039;s going on, and of course the whole Mer team for this awesome product, which may just save a good MID from oblivion :).  I hope this page proves useful, and allows more people to set up and play with Mer.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;nww02&#039;&#039;&lt;/div&gt;</summary>
		<author><name>84.51.141.236</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Mer/Documentation/SmartQ_Installation_for_the_Windows_user&amp;diff=24063</id>
		<title>Mer/Documentation/SmartQ Installation for the Windows user</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Mer/Documentation/SmartQ_Installation_for_the_Windows_user&amp;diff=24063"/>
		<updated>2009-09-24T22:52:03Z</updated>

		<summary type="html">&lt;p&gt;84.51.141.236: /* Bye bye PC, hello SmartQ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&lt;br /&gt;
This page is aimed at people who want to get set up with Mer, but don&#039;t necessarily want go around re-flashing firmware and lose the in-built Operating System on the SmartQ.  &lt;br /&gt;
&lt;br /&gt;
There are other how-tos on this site for the more experienced user, so this page is aimed at users who may know some stuff about Linux and/or windows, but have never done any embedded-linux stuff and/or really mucked about with memory block devices and so on.&lt;br /&gt;
&lt;br /&gt;
Disclaimer: This may not be the easiest way, but I&#039;ve used it a couple of times to get Mer set up and booting from the SD card.  It really helps to know a bit of linux, or at least know a little about DOS, disks and partitions.   Also, having a VMWare linux machine really helps to dig you out of a hole in case you muck up your SD card. :-)&lt;br /&gt;
&lt;br /&gt;
OK, that&#039;s the start over, time to get setting up....&lt;br /&gt;
&lt;br /&gt;
== What&#039;s going to happen? ==&lt;br /&gt;
&lt;br /&gt;
We&#039;re going to set up a &#039;virtual machine&#039;, which will allow us to do all this safely away from Windows.  The way the smartq boots is this:-&lt;br /&gt;
&lt;br /&gt;
* If a particular button is pressed, when the machine is switched on, then the SmartQ will choose to boot from the SD card.   It does so by looking at the end of the card (at a particular location) for a &#039;bootloader&#039;. this bootloader is a small program which hunts for a valid  Linux installation on the card, and then starts booting that.  So, we have to get this little chain of programs set up just right.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Shopping List =&lt;br /&gt;
&lt;br /&gt;
 * A SmartQ 5 / 7&lt;br /&gt;
 * 1 PC running Windows with &lt;br /&gt;
 * A vague knowledge of Linux or DOS and file systems.&lt;br /&gt;
 ** at least 1Gig RAM, &lt;br /&gt;
 ** 5 Gigs of Disk Space &lt;br /&gt;
 ** An SD card reader.&lt;br /&gt;
 ** An SD / SDHC Card with at least 6 gigs of RAM&lt;br /&gt;
 * About an hour to an hour and a half.&lt;br /&gt;
&lt;br /&gt;
= Getting Started =&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
Firstly, get the PC switched on. Ah, I see you&#039;ve already done that.  Good thinking.    Use &amp;quot;My Computer&amp;quot; to locate a drive with 5 or more gigs of space on it.  Keep a note of that drive.  If you can, create a folder on the root of that drive called something like &amp;quot;Virtual Machines&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== VMWare ==&lt;br /&gt;
&lt;br /&gt;
Right, step 2, download VMWare from [[http://www.vmware.com/download/player VMWare.com]]. It&#039;s free, but you need to put in some name / country information.  You&#039;ll have to reboot your PC a few times, but you should be used to that as a Windows owner ;-)&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
Now, download a ready-to-go Ubuntu &amp;quot;Virtual Appliance&amp;quot;.  This is a fancy word for a honking-big file which is a snapshot of a Linux PC.    Once VMWare is installed, there should be a link on the first window which says &#039;Download&#039; or &#039;Get&#039;.    &lt;br /&gt;
&lt;br /&gt;
*Click it, and search for an &amp;quot;Ubuntu 9.04 Desktop with VMWare Tools&amp;quot;.  You&#039;ll get a few hits.  One will be by &amp;quot;Chrysaor&amp;quot;.  That&#039;s what I use, and it&#039;s fine. &lt;br /&gt;
** Alternatively, and more easily, go to [[http://chrysaor.info/?page=ubuntu Chrysaor&#039;s Place]] and grab one from here directly.  Unzip it once it&#039;s downloaded.  Inside  the zip file will be an info.txt with the login credentials.  &lt;br /&gt;
&lt;br /&gt;
*Download it somewhere on your PC with lots of space, preferrably the location you found earlier, in a subfolder called ´Virtual Machines´ and not your desktop.  Once it&#039;s downloaded it&#039;ll create 5 to 10 more files in the same place, so it ´is´ best to stick it in a subdirectory.&lt;br /&gt;
*Once it&#039;s downloaded, go back to VMWare and click &#039;Open&#039;, then surf over to the &#039;vmx&#039; file you just downloaded, and sit back and enjoy the ubuntu loading screen.&lt;br /&gt;
&lt;br /&gt;
´´´ŃOTE´´´ We are NOT going to harm windows. VMWare contains the Linux in a safe harness and does not change or break windows in any way.&lt;br /&gt;
&lt;br /&gt;
*Once you&#039;re into Ubuntu, click on the &amp;quot;Devices v&amp;quot; button at the top, and look for your SD/SDHC card reader.  Mine says  &amp;quot;Alcor Micro Mass Storage Device&amp;quot;.  Select it, and click &amp;quot;Connect&amp;quot;.  Then do it again and select &amp;quot;Show icon in status bar&amp;quot;. This&#039;ll make it easier to see what&#039;s happening.&lt;br /&gt;
&lt;br /&gt;
= Using VMWare/Ubuntu to configure the SD card =&lt;br /&gt;
&lt;br /&gt;
== Installing Mer on the SD Card ==&lt;br /&gt;
&lt;br /&gt;
Click the Applications&amp;gt;Accessories&amp;gt;Terminal menu inside ubuntu and open up a command prompt.  Insert the SD card into your PC&#039;s SD reader, and check the little drive icon on the VMWare status bar.. it should flicker in time with the LED on your card reader... &lt;br /&gt;
&lt;br /&gt;
OK, so firstly, we need to get the stuff you&#039;re going to install on the SD card.&lt;br /&gt;
So, click the little Firefox logo at the top of the screen to get a browser.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; Before you download anything, it&#039;s important that we set the download folder.  By default it&#039;ll be your desktop, let&#039;s change it to your &#039;home&#039; folder... It&#039;ll be less typing.   &lt;br /&gt;
&lt;br /&gt;
* Click &#039;&#039;&#039;Edit&#039;&#039;&#039;, then &#039;&#039;&#039;Preferences&#039;&#039;&#039;, then the &#039;&#039;&#039;Browse&#039;&#039;&#039; button next to &#039;&#039;&#039;Save Files To&#039;&#039;&#039;.   &lt;br /&gt;
* In the dialog which appears you&#039;ll see three buttons at the top &#039;&amp;lt;&#039;,&#039;&amp;lt;your username&amp;gt;&#039; and &#039;Desktop&#039;.  &lt;br /&gt;
* Click the &#039;&#039;&#039;&amp;lt;&#039;&#039;&#039; button, and a button will appear with &#039;home&#039; in it.&lt;br /&gt;
* Click the &#039;&#039;&#039;Home&#039;&#039;&#039; button.  In the window you&#039;ll see your username now as a folder. &lt;br /&gt;
* Highlight the folder with &#039;&#039;&#039;your username&#039;&#039;&#039; (it may be just &#039;user&#039;, depending on which Ubuntu VM you grabbed).&lt;br /&gt;
* Click &#039;&#039;&#039;open&#039;&#039;&#039;.  When you return to the previous screen, the &#039;save files to&#039; option should now say something like &#039;&#039;/home/user&#039;&#039;.&lt;br /&gt;
* Click &#039;&#039;&#039;close&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
OK, now we know precisely where Moz will save your downloads, it&#039;s time to get those files.&lt;br /&gt;
&lt;br /&gt;
== Downloading everything ==&lt;br /&gt;
&lt;br /&gt;
* Go to [[http://wiki.maemo.org/Mer/Releases The releases page]] and grab the current stable release for your device. You want the ROOTFS version of the file, NOT the Firmware version.  This will go onto the SD card to make Mer.&lt;br /&gt;
&lt;br /&gt;
* Go to [[http://zenvoid.org/software/qi-smartq/ ZenVoid&#039;s Blog]] and grab the install-smartq-qi.sh and qi-smartq-20090612.bin files.  These will make the SD card bootable.&lt;br /&gt;
&lt;br /&gt;
* [Optional] If you&#039;re using 0.15testing5, you&#039;re also going to need the Marvell Wifi Drivers, so head to [[http://www.marvell.com/drivers/driverDisplay.do?driver=203 Marvell.com]] to get the driver.&lt;br /&gt;
&lt;br /&gt;
All of this should have downloaded to your &#039;home&#039; folder, or to your desktop.  So, at this point we need to go to a prompt and get Mer installed.&lt;br /&gt;
&lt;br /&gt;
So, click Applications&amp;gt;Accessories&amp;gt;Terminal.  This will dump you at a command prompt.  some useful commands are &#039;&#039;&#039;ls -l&#039;&#039;&#039; &#039;&#039;&#039;cd&#039;&#039;&#039; and &#039;&#039;&#039;sudo&#039;&#039;&#039;.  You&#039;ll be seeing a lot of these.&lt;br /&gt;
&lt;br /&gt;
== Setting up the SD Card ==&lt;br /&gt;
&lt;br /&gt;
So, firstly, the SD card will have been automounted, probably.  Linux assigns a &#039;device name&#039; to all its disks, and until you&#039;re familiar with the system, sometimes it takes a moment to locate a new drive...  A quick way to find out the device name (if the drive was auto-mounted), is to run &#039;&#039;&#039;df&#039;&#039;&#039;  to see the free space on all mounted disks.  One disk should be &#039;&#039;mounted&#039;&#039; under &#039;&#039;&#039;/media/disk&#039;&#039;&#039;.  Take a note of the disk&#039;s name, it should be /dev/sdb1 or /dev/sdc1.  the important part is the &amp;quot;sdb&amp;quot; or &amp;quot;sdc&amp;quot;.  From now on, I&#039;ll &#039;&#039;assume&#039;&#039; it&#039;s /dev/sdb1.  If you didn&#039;t see one, then you may need to ensure you&#039;ve added the right drive to VMWare in the steps above.  &lt;br /&gt;
&lt;br /&gt;
* type &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039; .  This will unmount the sd card ready for formatting&lt;br /&gt;
* type &#039;&#039;&#039;sudo fdisk /dev/sdb&#039;&#039;&#039;.  this will open the disk for partitioning.&lt;br /&gt;
* in fdisk, type &#039;&#039;&#039;p&#039;&#039;&#039; to print the partition list, there should be one &#039;sdb1&#039; of type &#039;FAT32&#039;.  This is the current card contents.  &lt;br /&gt;
* Press &#039;&#039;&#039;d&#039;&#039;&#039; and hit return.  This will delete the partiion. If you are asked for a partition number, enter &#039;1&#039;.  If there are more than one partition, repeat until running &#039;&#039;&#039;p&#039;&#039;&#039; shows no partitions left.&lt;br /&gt;
* Press &#039;&#039;&#039;n&#039;&#039;&#039; and hit return to create a new partition.   &lt;br /&gt;
** Press &#039;&#039;&#039;p&#039;&#039;&#039; and hit return to crate a primary partition&lt;br /&gt;
** Press &#039;&#039;&#039;1&#039;&#039;&#039; and hit return to create it as partition one.&lt;br /&gt;
** Press &#039;&#039;&#039;return&#039;&#039;&#039; to choose &#039;&#039;block 1&#039;&#039; to start the partition&lt;br /&gt;
** Do some mental maths and work out the end block by dividing the size of the disk by the total number of blocks. So if fdisk says your 16Gig card has &#039;1900&#039; blocks, then that&#039;s ~8Megs per block, so it&#039;s safe to end the partition at the last-block-but-one. (Remember we&#039;re leaving at least 1 Mb for the bootloader)   (If you want to add a swap partition, then choose a lower number, then repeat the partition-creation step, always remembering to leave at least 1Mb spare at the end of the card (high number).&lt;br /&gt;
* Press &#039;&#039;&#039;a&#039;&#039;&#039; and return to make a partition active, and choose partition 1.&lt;br /&gt;
** If you created a swap partition, press &#039;&#039;&#039;t&#039;&#039;&#039; and choose partition 2, and make it type &#039;&#039;82&#039;&#039;, Linux Swap.&lt;br /&gt;
** Press &#039;&#039;&#039;w&#039;&#039;&#039; and hit return to write the partition table (saving your work).&lt;br /&gt;
** Press &#039;&#039;&#039;q&#039;&#039;&#039; and hit return to exit.&lt;br /&gt;
&lt;br /&gt;
Right, that&#039;s the SD card partitioned up nicely.  Time to format the partition and put Mer on there.  It&#039;s likely that Ubuntu in it&#039;s ever-friendly way will attempt to re-mount the partition again.  So, run &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
** Type &#039;&#039;&#039;sudo mkfs.ext3 /dev/sdb1&#039;&#039;&#039;  to format the partition ready for Mer.  this will take a while, depending on the size / speed of your card.&lt;br /&gt;
&lt;br /&gt;
== Install the bootloader ==&lt;br /&gt;
OK, now it&#039;s time to install the Bootloader which will allow you to boot to Mer.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd&#039;&#039;&#039; and press return to &#039;&#039;go to your home folder&#039;&#039;  this is where you chose to download all your files to in Mozilla.&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; to list all your files.  If you can&#039;t see them, go into Mozilla and work out where your files ended up.  Repeat the steps above to ensure that files are downloaded to your &#039;&#039;&#039;/home/&amp;lt;user&amp;gt;&#039;&#039;&#039; folder (e.g. &#039;&#039;/home/nick&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;sudo chmod a+rx install-smartq-qi.sh&#039;&#039;&#039;  - This will make the installer script &#039;runnable&#039;.&lt;br /&gt;
* Type &#039;&#039;&#039;sudo ./install-smartq-qi.sh /dev/sdb qi-smartq-20090612.bin&#039;&#039;&#039;   - This will install the boot loader onto the SD card for you.&lt;br /&gt;
&lt;br /&gt;
== Install Mer ==&lt;br /&gt;
&lt;br /&gt;
Ok, now it&#039;s time to install mer on the SD card.   So we need to &#039;mount&#039; the card, and move some files about.  The easiest way to do this is unplug the sd card, and re-plug it, and let Ubuntu automount it.  If you&#039;d prefer to do it manually, here are some commands:-&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mkdir /media/disk&#039;&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mount /dev/sdb1 /media/disk&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s mounted, all you have to do is untar the rootfs... so assuming you have a SmartQ7, you downloaded the file &#039;&#039;mer-armel-smartq7-rootfs-v0.16testing5.tar.gz&#039;&#039;, or something similar, you should now type:-&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd&#039;&#039;&#039; (return) to &#039;&#039;go home&#039;&#039;, then &#039;&#039;&#039;ls -l&#039;&#039;&#039; (return) to list the files.&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mv *.tar.gz /media/disk&#039;&#039;&#039; . This will move the entire mer installation to the disk (so we can untar it easily).&lt;br /&gt;
* Type &#039;&#039;&#039;cd /media/disk&#039;&#039;&#039; and press return.  We will now be &#039;on&#039; the disk&lt;br /&gt;
* Type &#039;&#039;&#039;sudo tar xzvf *.gz&#039;&#039;&#039; and press return.  This will now untar the entire &#039;rootfs&#039; to the card.  (Install Mer).&lt;br /&gt;
&lt;br /&gt;
After a few moments, the scrolling text will finish.  We&#039;re almost there!!!&lt;br /&gt;
&lt;br /&gt;
== Getting the bootloader to &#039;see&#039; Mer ==&lt;br /&gt;
&lt;br /&gt;
We&#039;re almost home and dry.  Just a little housekeeping to do.  The bootloader is pretty smart, but it needs the &#039;kernel file&#039; to have a special name so that it can find it on boot.  &lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd /media/disk/boot&#039;&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; and note that there&#039;s a file called &#039;zImage&#039; somthing.  That&#039;s the kernel file.  I&#039;ll assume it&#039;s &#039;zImage-smartq-200932&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;sudo cp zImage-smartq-200932 linux-SMDK6410.bin&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Getting the wifi working ==&lt;br /&gt;
&lt;br /&gt;
The SmartQs need to have a set of drivers installed to make their wifi work.  It&#039;s a fairly painless operation. You should already have downloaded the file... &lt;br /&gt;
With the SD-card mounted in /media/disk, copy the driver file to the &#039;media&#039; directory &#039;&#039;&#039;on the SD card&#039;&#039;&#039;. (i.e. /media/disk/media).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd&#039;&#039;&#039; (and press return) to &#039;&#039;return home&#039;&#039; . Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; (and press return).  You should see the file in the listing now.&lt;br /&gt;
* Type &#039;&#039;&#039;cp SD-8686*.zip /media/disk/media&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I would give you these instructions by using the UI, but it requires &#039;&#039;root privileges&#039;&#039; to copy a lot of these files.. and it&#039;s easier to use &#039;&#039;sudo&#039;&#039; for that.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OK. The File should be in place.  You&#039;ll find installation instructions elsewhere on this site for unpacking the zip. However, when you first start Mer, the kind developers have created installation scripts so when Mer first starts, it&#039;ll find this zip file and unpack it for you.  &lt;br /&gt;
&lt;br /&gt;
Right, we&#039;re pretty much ready to get this baby up and running.&lt;br /&gt;
&lt;br /&gt;
= Booting Into Mer =&lt;br /&gt;
&lt;br /&gt;
== Bye bye PC, hello SmartQ ==&lt;br /&gt;
&lt;br /&gt;
Unmount the card (right-click on the icon on the desktop and select unmount, or type the following.  Ensure that you&#039;ve closed all open windows which show the card&#039;s contents (Ubuntu may open a file browser if you chose to automount the card).&lt;br /&gt;
* &#039;&#039;&#039;cd&#039;&#039;&#039; (return)&lt;br /&gt;
* &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Pull the card out of your PC, and insert it into the Q5 / Q7 (upside down!).   It will need to be pushed in quite far until it clicks home.  Then, hold down the right-hand-most button on the top of the device, and plug in the power supply.   The LED should flash red, and perhaps green for a brief instant.. After a moment, the screen should go white.  You can let go of the button and enjoy Mer in all its glory.&lt;br /&gt;
&lt;br /&gt;
Currently, to switch off a Q5/7, you have to press the &#039;reset&#039; button on the bottom.  S&#039;why we formatted the disk with ext3, and not ext2 ;-)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: when you first start Mer, it&#039;s possible the on-screen keyboard may be &#039;missing&#039; a few keys. They&#039;re where they should be on a normal keyboard.  &#039;&#039;&#039;backspace&#039;&#039;&#039; is the gold key at top-left, &#039;&#039;&#039;return&#039;&#039;&#039; is the one below it, and &#039;&#039;&#039;shift&#039;&#039;&#039; is at the bottom.  Once you learn the layout, typing gets rather quick.&lt;br /&gt;
&lt;br /&gt;
HAVE FUN!!!!&lt;br /&gt;
&lt;br /&gt;
= Where to from here? =&lt;br /&gt;
&lt;br /&gt;
== Using VMWare ==&lt;br /&gt;
&lt;br /&gt;
Well, in the words of Ben Kenobi, youve taken your first step into a wiser world.  You have a nice fresh Linux install to play with.  &lt;br /&gt;
&lt;br /&gt;
VMWare is very fault tolerant, so when you want to put Linux away, just close the window.  When you want to resume, just open VMWare again, and Linux will auto-resume from where you left off.  &lt;br /&gt;
&lt;br /&gt;
It is very quick and quite safe.   If the Linux gets completely broken, just delete the virtual machine, re-download it, and start again, without having to muck about with installation CDs.&lt;br /&gt;
&lt;br /&gt;
== Recreating the card ==&lt;br /&gt;
&lt;br /&gt;
Well, now that you&#039;ve had a play with installing Mer, you should be able to set the card up for other installations, like WinCE, etc.  So, keep the VMWare console around. &lt;br /&gt;
&lt;br /&gt;
== Reading the card ==&lt;br /&gt;
&lt;br /&gt;
Don&#039;t unplug the card when the SmartQ is switched on, it&#039;ll cause you pain. However, if you want to install stuff onto the card from the PC, you&#039;ll need your VMWare (or ext2fs tools for windows), to mount the card and copy files on/off.&lt;br /&gt;
&lt;br /&gt;
== Downloading applications ==&lt;br /&gt;
&lt;br /&gt;
Mer is maturing all the time, and new Applications are being developed for it.  Check the app manager from time to time to see if there&#039;s new apps on the internet.&lt;br /&gt;
&lt;br /&gt;
== Developing for Mer ==&lt;br /&gt;
&lt;br /&gt;
The Mer team uses the &amp;quot;OBS&amp;quot; suite from OpenSuse, a remote-build-farm.  You get a username / &#039;garage ID&#039;, download the OBS toolkit inside your Ubuntu Virtual machine, and start coding.  the only difference is that you ask the OpenSuse build farm to build your app for you.  Once it&#039;s built you can install it on a simulated MID (called Scratchbox), or you can install it on the MID itself.&lt;br /&gt;
&lt;br /&gt;
= thanks =&lt;br /&gt;
&lt;br /&gt;
Thanks to lbt, zenvoid, meizirkki for helping me understand what&#039;s going on, and of course the whole Mer team for this awesome product, which may just save a good MID from oblivion :).  I hope this page proves useful, and allows more people to set up and play with Mer.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;nww02&#039;&#039;&lt;/div&gt;</summary>
		<author><name>84.51.141.236</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Mer/Documentation/SmartQ_Installation_for_the_Windows_user&amp;diff=24064</id>
		<title>Mer/Documentation/SmartQ Installation for the Windows user</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Mer/Documentation/SmartQ_Installation_for_the_Windows_user&amp;diff=24064"/>
		<updated>2009-09-24T22:48:35Z</updated>

		<summary type="html">&lt;p&gt;84.51.141.236: /* Install Mer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&lt;br /&gt;
This page is aimed at people who want to get set up with Mer, but don&#039;t necessarily want go around re-flashing firmware and lose the in-built Operating System on the SmartQ.  &lt;br /&gt;
&lt;br /&gt;
There are other how-tos on this site for the more experienced user, so this page is aimed at users who may know some stuff about Linux and/or windows, but have never done any embedded-linux stuff and/or really mucked about with memory block devices and so on.&lt;br /&gt;
&lt;br /&gt;
Disclaimer: This may not be the easiest way, but I&#039;ve used it a couple of times to get Mer set up and booting from the SD card.  It really helps to know a bit of linux, or at least know a little about DOS, disks and partitions.   Also, having a VMWare linux machine really helps to dig you out of a hole in case you muck up your SD card. :-)&lt;br /&gt;
&lt;br /&gt;
OK, that&#039;s the start over, time to get setting up....&lt;br /&gt;
&lt;br /&gt;
== What&#039;s going to happen? ==&lt;br /&gt;
&lt;br /&gt;
We&#039;re going to set up a &#039;virtual machine&#039;, which will allow us to do all this safely away from Windows.  The way the smartq boots is this:-&lt;br /&gt;
&lt;br /&gt;
* If a particular button is pressed, when the machine is switched on, then the SmartQ will choose to boot from the SD card.   It does so by looking at the end of the card (at a particular location) for a &#039;bootloader&#039;. this bootloader is a small program which hunts for a valid  Linux installation on the card, and then starts booting that.  So, we have to get this little chain of programs set up just right.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Shopping List =&lt;br /&gt;
&lt;br /&gt;
 * A SmartQ 5 / 7&lt;br /&gt;
 * 1 PC running Windows with &lt;br /&gt;
 * A vague knowledge of Linux or DOS and file systems.&lt;br /&gt;
 ** at least 1Gig RAM, &lt;br /&gt;
 ** 5 Gigs of Disk Space &lt;br /&gt;
 ** An SD card reader.&lt;br /&gt;
 ** An SD / SDHC Card with at least 6 gigs of RAM&lt;br /&gt;
 * About an hour to an hour and a half.&lt;br /&gt;
&lt;br /&gt;
= Getting Started =&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
Firstly, get the PC switched on. Ah, I see you&#039;ve already done that.  Good thinking.    Use &amp;quot;My Computer&amp;quot; to locate a drive with 5 or more gigs of space on it.  Keep a note of that drive.  If you can, create a folder on the root of that drive called something like &amp;quot;Virtual Machines&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== VMWare ==&lt;br /&gt;
&lt;br /&gt;
Right, step 2, download VMWare from [[http://www.vmware.com/download/player VMWare.com]]. It&#039;s free, but you need to put in some name / country information.  You&#039;ll have to reboot your PC a few times, but you should be used to that as a Windows owner ;-)&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
Now, download a ready-to-go Ubuntu &amp;quot;Virtual Appliance&amp;quot;.  This is a fancy word for a honking-big file which is a snapshot of a Linux PC.    Once VMWare is installed, there should be a link on the first window which says &#039;Download&#039; or &#039;Get&#039;.    &lt;br /&gt;
&lt;br /&gt;
*Click it, and search for an &amp;quot;Ubuntu 9.04 Desktop with VMWare Tools&amp;quot;.  You&#039;ll get a few hits.  One will be by &amp;quot;Chrysaor&amp;quot;.  That&#039;s what I use, and it&#039;s fine. &lt;br /&gt;
** Alternatively, and more easily, go to [[http://chrysaor.info/?page=ubuntu Chrysaor&#039;s Place]] and grab one from here directly.  Unzip it once it&#039;s downloaded.  Inside  the zip file will be an info.txt with the login credentials.  &lt;br /&gt;
&lt;br /&gt;
*Download it somewhere on your PC with lots of space, preferrably the location you found earlier, in a subfolder called ´Virtual Machines´ and not your desktop.  Once it&#039;s downloaded it&#039;ll create 5 to 10 more files in the same place, so it ´is´ best to stick it in a subdirectory.&lt;br /&gt;
*Once it&#039;s downloaded, go back to VMWare and click &#039;Open&#039;, then surf over to the &#039;vmx&#039; file you just downloaded, and sit back and enjoy the ubuntu loading screen.&lt;br /&gt;
&lt;br /&gt;
´´´ŃOTE´´´ We are NOT going to harm windows. VMWare contains the Linux in a safe harness and does not change or break windows in any way.&lt;br /&gt;
&lt;br /&gt;
*Once you&#039;re into Ubuntu, click on the &amp;quot;Devices v&amp;quot; button at the top, and look for your SD/SDHC card reader.  Mine says  &amp;quot;Alcor Micro Mass Storage Device&amp;quot;.  Select it, and click &amp;quot;Connect&amp;quot;.  Then do it again and select &amp;quot;Show icon in status bar&amp;quot;. This&#039;ll make it easier to see what&#039;s happening.&lt;br /&gt;
&lt;br /&gt;
= Using VMWare/Ubuntu to configure the SD card =&lt;br /&gt;
&lt;br /&gt;
== Installing Mer on the SD Card ==&lt;br /&gt;
&lt;br /&gt;
Click the Applications&amp;gt;Accessories&amp;gt;Terminal menu inside ubuntu and open up a command prompt.  Insert the SD card into your PC&#039;s SD reader, and check the little drive icon on the VMWare status bar.. it should flicker in time with the LED on your card reader... &lt;br /&gt;
&lt;br /&gt;
OK, so firstly, we need to get the stuff you&#039;re going to install on the SD card.&lt;br /&gt;
So, click the little Firefox logo at the top of the screen to get a browser.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; Before you download anything, it&#039;s important that we set the download folder.  By default it&#039;ll be your desktop, let&#039;s change it to your &#039;home&#039; folder... It&#039;ll be less typing.   &lt;br /&gt;
&lt;br /&gt;
* Click &#039;&#039;&#039;Edit&#039;&#039;&#039;, then &#039;&#039;&#039;Preferences&#039;&#039;&#039;, then the &#039;&#039;&#039;Browse&#039;&#039;&#039; button next to &#039;&#039;&#039;Save Files To&#039;&#039;&#039;.   &lt;br /&gt;
* In the dialog which appears you&#039;ll see three buttons at the top &#039;&amp;lt;&#039;,&#039;&amp;lt;your username&amp;gt;&#039; and &#039;Desktop&#039;.  &lt;br /&gt;
* Click the &#039;&#039;&#039;&amp;lt;&#039;&#039;&#039; button, and a button will appear with &#039;home&#039; in it.&lt;br /&gt;
* Click the &#039;&#039;&#039;Home&#039;&#039;&#039; button.  In the window you&#039;ll see your username now as a folder. &lt;br /&gt;
* Highlight the folder with &#039;&#039;&#039;your username&#039;&#039;&#039; (it may be just &#039;user&#039;, depending on which Ubuntu VM you grabbed).&lt;br /&gt;
* Click &#039;&#039;&#039;open&#039;&#039;&#039;.  When you return to the previous screen, the &#039;save files to&#039; option should now say something like &#039;&#039;/home/user&#039;&#039;.&lt;br /&gt;
* Click &#039;&#039;&#039;close&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
OK, now we know precisely where Moz will save your downloads, it&#039;s time to get those files.&lt;br /&gt;
&lt;br /&gt;
== Downloading everything ==&lt;br /&gt;
&lt;br /&gt;
* Go to [[http://wiki.maemo.org/Mer/Releases The releases page]] and grab the current stable release for your device. You want the ROOTFS version of the file, NOT the Firmware version.  This will go onto the SD card to make Mer.&lt;br /&gt;
&lt;br /&gt;
* Go to [[http://zenvoid.org/software/qi-smartq/ ZenVoid&#039;s Blog]] and grab the install-smartq-qi.sh and qi-smartq-20090612.bin files.  These will make the SD card bootable.&lt;br /&gt;
&lt;br /&gt;
* [Optional] If you&#039;re using 0.15testing5, you&#039;re also going to need the Marvell Wifi Drivers, so head to [[http://www.marvell.com/drivers/driverDisplay.do?driver=203 Marvell.com]] to get the driver.&lt;br /&gt;
&lt;br /&gt;
All of this should have downloaded to your &#039;home&#039; folder, or to your desktop.  So, at this point we need to go to a prompt and get Mer installed.&lt;br /&gt;
&lt;br /&gt;
So, click Applications&amp;gt;Accessories&amp;gt;Terminal.  This will dump you at a command prompt.  some useful commands are &#039;&#039;&#039;ls -l&#039;&#039;&#039; &#039;&#039;&#039;cd&#039;&#039;&#039; and &#039;&#039;&#039;sudo&#039;&#039;&#039;.  You&#039;ll be seeing a lot of these.&lt;br /&gt;
&lt;br /&gt;
== Setting up the SD Card ==&lt;br /&gt;
&lt;br /&gt;
So, firstly, the SD card will have been automounted, probably.  Linux assigns a &#039;device name&#039; to all its disks, and until you&#039;re familiar with the system, sometimes it takes a moment to locate a new drive...  A quick way to find out the device name (if the drive was auto-mounted), is to run &#039;&#039;&#039;df&#039;&#039;&#039;  to see the free space on all mounted disks.  One disk should be &#039;&#039;mounted&#039;&#039; under &#039;&#039;&#039;/media/disk&#039;&#039;&#039;.  Take a note of the disk&#039;s name, it should be /dev/sdb1 or /dev/sdc1.  the important part is the &amp;quot;sdb&amp;quot; or &amp;quot;sdc&amp;quot;.  From now on, I&#039;ll &#039;&#039;assume&#039;&#039; it&#039;s /dev/sdb1.  If you didn&#039;t see one, then you may need to ensure you&#039;ve added the right drive to VMWare in the steps above.  &lt;br /&gt;
&lt;br /&gt;
* type &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039; .  This will unmount the sd card ready for formatting&lt;br /&gt;
* type &#039;&#039;&#039;sudo fdisk /dev/sdb&#039;&#039;&#039;.  this will open the disk for partitioning.&lt;br /&gt;
* in fdisk, type &#039;&#039;&#039;p&#039;&#039;&#039; to print the partition list, there should be one &#039;sdb1&#039; of type &#039;FAT32&#039;.  This is the current card contents.  &lt;br /&gt;
* Press &#039;&#039;&#039;d&#039;&#039;&#039; and hit return.  This will delete the partiion. If you are asked for a partition number, enter &#039;1&#039;.  If there are more than one partition, repeat until running &#039;&#039;&#039;p&#039;&#039;&#039; shows no partitions left.&lt;br /&gt;
* Press &#039;&#039;&#039;n&#039;&#039;&#039; and hit return to create a new partition.   &lt;br /&gt;
** Press &#039;&#039;&#039;p&#039;&#039;&#039; and hit return to crate a primary partition&lt;br /&gt;
** Press &#039;&#039;&#039;1&#039;&#039;&#039; and hit return to create it as partition one.&lt;br /&gt;
** Press &#039;&#039;&#039;return&#039;&#039;&#039; to choose &#039;&#039;block 1&#039;&#039; to start the partition&lt;br /&gt;
** Do some mental maths and work out the end block by dividing the size of the disk by the total number of blocks. So if fdisk says your 16Gig card has &#039;1900&#039; blocks, then that&#039;s ~8Megs per block, so it&#039;s safe to end the partition at the last-block-but-one. (Remember we&#039;re leaving at least 1 Mb for the bootloader)   (If you want to add a swap partition, then choose a lower number, then repeat the partition-creation step, always remembering to leave at least 1Mb spare at the end of the card (high number).&lt;br /&gt;
* Press &#039;&#039;&#039;a&#039;&#039;&#039; and return to make a partition active, and choose partition 1.&lt;br /&gt;
** If you created a swap partition, press &#039;&#039;&#039;t&#039;&#039;&#039; and choose partition 2, and make it type &#039;&#039;82&#039;&#039;, Linux Swap.&lt;br /&gt;
** Press &#039;&#039;&#039;w&#039;&#039;&#039; and hit return to write the partition table (saving your work).&lt;br /&gt;
** Press &#039;&#039;&#039;q&#039;&#039;&#039; and hit return to exit.&lt;br /&gt;
&lt;br /&gt;
Right, that&#039;s the SD card partitioned up nicely.  Time to format the partition and put Mer on there.  It&#039;s likely that Ubuntu in it&#039;s ever-friendly way will attempt to re-mount the partition again.  So, run &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
** Type &#039;&#039;&#039;sudo mkfs.ext3 /dev/sdb1&#039;&#039;&#039;  to format the partition ready for Mer.  this will take a while, depending on the size / speed of your card.&lt;br /&gt;
&lt;br /&gt;
== Install the bootloader ==&lt;br /&gt;
OK, now it&#039;s time to install the Bootloader which will allow you to boot to Mer.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd&#039;&#039;&#039; and press return to &#039;&#039;go to your home folder&#039;&#039;  this is where you chose to download all your files to in Mozilla.&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; to list all your files.  If you can&#039;t see them, go into Mozilla and work out where your files ended up.  Repeat the steps above to ensure that files are downloaded to your &#039;&#039;&#039;/home/&amp;lt;user&amp;gt;&#039;&#039;&#039; folder (e.g. &#039;&#039;/home/nick&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;sudo chmod a+rx install-smartq-qi.sh&#039;&#039;&#039;  - This will make the installer script &#039;runnable&#039;.&lt;br /&gt;
* Type &#039;&#039;&#039;sudo ./install-smartq-qi.sh /dev/sdb qi-smartq-20090612.bin&#039;&#039;&#039;   - This will install the boot loader onto the SD card for you.&lt;br /&gt;
&lt;br /&gt;
== Install Mer ==&lt;br /&gt;
&lt;br /&gt;
Ok, now it&#039;s time to install mer on the SD card.   So we need to &#039;mount&#039; the card, and move some files about.  The easiest way to do this is unplug the sd card, and re-plug it, and let Ubuntu automount it.  If you&#039;d prefer to do it manually, here are some commands:-&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mkdir /media/disk&#039;&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mount /dev/sdb1 /media/disk&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s mounted, all you have to do is untar the rootfs... so assuming you have a SmartQ7, you downloaded the file &#039;&#039;mer-armel-smartq7-rootfs-v0.16testing5.tar.gz&#039;&#039;, or something similar, you should now type:-&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd&#039;&#039;&#039; (return) to &#039;&#039;go home&#039;&#039;, then &#039;&#039;&#039;ls -l&#039;&#039;&#039; (return) to list the files.&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mv *.tar.gz /media/disk&#039;&#039;&#039; . This will move the entire mer installation to the disk (so we can untar it easily).&lt;br /&gt;
* Type &#039;&#039;&#039;cd /media/disk&#039;&#039;&#039; and press return.  We will now be &#039;on&#039; the disk&lt;br /&gt;
* Type &#039;&#039;&#039;sudo tar xzvf *.gz&#039;&#039;&#039; and press return.  This will now untar the entire &#039;rootfs&#039; to the card.  (Install Mer).&lt;br /&gt;
&lt;br /&gt;
After a few moments, the scrolling text will finish.  We&#039;re almost there!!!&lt;br /&gt;
&lt;br /&gt;
== Getting the bootloader to &#039;see&#039; Mer ==&lt;br /&gt;
&lt;br /&gt;
We&#039;re almost home and dry.  Just a little housekeeping to do.  The bootloader is pretty smart, but it needs the &#039;kernel file&#039; to have a special name so that it can find it on boot.  &lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd /media/disk/boot&#039;&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; and note that there&#039;s a file called &#039;zImage&#039; somthing.  That&#039;s the kernel file.  I&#039;ll assume it&#039;s &#039;zImage-smartq-200932&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;sudo cp zImage-smartq-200932 linux-SMDK6410.bin&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Getting the wifi working ==&lt;br /&gt;
&lt;br /&gt;
The SmartQs need to have a set of drivers installed to make their wifi work.  It&#039;s a fairly painless operation. You should already have downloaded the file... &lt;br /&gt;
With the SD-card mounted in /media/disk, copy the driver file to the &#039;media&#039; directory &#039;&#039;&#039;on the SD card&#039;&#039;&#039;. (i.e. /media/disk/media).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd&#039;&#039;&#039; (and press return) to &#039;&#039;return home&#039;&#039; . Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; (and press return).  You should see the file in the listing now.&lt;br /&gt;
* Type &#039;&#039;&#039;cp SD-8686*.zip /media/disk/media&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I would give you these instructions by using the UI, but it requires &#039;&#039;root privileges&#039;&#039; to copy a lot of these files.. and it&#039;s easier to use &#039;&#039;sudo&#039;&#039; for that.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OK. The File should be in place.  You&#039;ll find installation instructions elsewhere on this site for unpacking the zip. However, when you first start Mer, the kind developers have created installation scripts so when Mer first starts, it&#039;ll find this zip file and unpack it for you.  &lt;br /&gt;
&lt;br /&gt;
Right, we&#039;re pretty much ready to get this baby up and running.&lt;br /&gt;
&lt;br /&gt;
= Booting Into Mer =&lt;br /&gt;
&lt;br /&gt;
== Bye bye PC, hello SmartQ ==&lt;br /&gt;
&lt;br /&gt;
Unmount the card (right-click on the icon on the desktop and select unmount, or type the following.  Ensure that you&#039;ve closed all open windows which show the card&#039;s contents (Ubuntu may open a file browser if you chose to automount the card).&lt;br /&gt;
* &#039;&#039;&#039;cd&#039;&#039;&#039; (return)&lt;br /&gt;
* &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Pull the card out of your PC, and insert it into the Q5 / Q7 (upside down!).   It will need to be pushed in quite far until it clicks home.  Then, hold down the right-hand-most button on the top of the device, and plug in the power supply.   The LED should flash red, and perhaps green for a brief instant.. After a moment, the screen should go white.  You can let go of the button and enjoy Mer in all its glory.&lt;br /&gt;
&lt;br /&gt;
Currently, to switch off a Q5/7, you have to press the &#039;reset&#039; button on the bottom.  S&#039;why we formatted the disk with ext3, and not ext2 ;-)&lt;br /&gt;
&lt;br /&gt;
= Where to from here? =&lt;br /&gt;
&lt;br /&gt;
== Using VMWare ==&lt;br /&gt;
&lt;br /&gt;
Well, in the words of Ben Kenobi, youve taken your first step into a wiser world.  You have a nice fresh Linux install to play with.  &lt;br /&gt;
&lt;br /&gt;
VMWare is very fault tolerant, so when you want to put Linux away, just close the window.  When you want to resume, just open VMWare again, and Linux will auto-resume from where you left off.  &lt;br /&gt;
&lt;br /&gt;
It is very quick and quite safe.   If the Linux gets completely broken, just delete the virtual machine, re-download it, and start again, without having to muck about with installation CDs.&lt;br /&gt;
&lt;br /&gt;
== Recreating the card ==&lt;br /&gt;
&lt;br /&gt;
Well, now that you&#039;ve had a play with installing Mer, you should be able to set the card up for other installations, like WinCE, etc.  So, keep the VMWare console around. &lt;br /&gt;
&lt;br /&gt;
== Reading the card ==&lt;br /&gt;
&lt;br /&gt;
Don&#039;t unplug the card when the SmartQ is switched on, it&#039;ll cause you pain. However, if you want to install stuff onto the card from the PC, you&#039;ll need your VMWare (or ext2fs tools for windows), to mount the card and copy files on/off.&lt;br /&gt;
&lt;br /&gt;
== Downloading applications ==&lt;br /&gt;
&lt;br /&gt;
Mer is maturing all the time, and new Applications are being developed for it.  Check the app manager from time to time to see if there&#039;s new apps on the internet.&lt;br /&gt;
&lt;br /&gt;
== Developing for Mer ==&lt;br /&gt;
&lt;br /&gt;
The Mer team uses the &amp;quot;OBS&amp;quot; suite from OpenSuse, a remote-build-farm.  You get a username / &#039;garage ID&#039;, download the OBS toolkit inside your Ubuntu Virtual machine, and start coding.  the only difference is that you ask the OpenSuse build farm to build your app for you.  Once it&#039;s built you can install it on a simulated MID (called Scratchbox), or you can install it on the MID itself.&lt;br /&gt;
&lt;br /&gt;
= thanks =&lt;br /&gt;
&lt;br /&gt;
Thanks to lbt, zenvoid, meizirkki for helping me understand what&#039;s going on, and of course the whole Mer team for this awesome product, which may just save a good MID from oblivion :).  I hope this page proves useful, and allows more people to set up and play with Mer.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;nww02&#039;&#039;&lt;/div&gt;</summary>
		<author><name>84.51.141.236</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Mer/Documentation/SmartQ_Installation_for_the_Windows_user&amp;diff=24065</id>
		<title>Mer/Documentation/SmartQ Installation for the Windows user</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Mer/Documentation/SmartQ_Installation_for_the_Windows_user&amp;diff=24065"/>
		<updated>2009-09-24T22:47:55Z</updated>

		<summary type="html">&lt;p&gt;84.51.141.236: /* Install Mer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&lt;br /&gt;
This page is aimed at people who want to get set up with Mer, but don&#039;t necessarily want go around re-flashing firmware and lose the in-built Operating System on the SmartQ.  &lt;br /&gt;
&lt;br /&gt;
There are other how-tos on this site for the more experienced user, so this page is aimed at users who may know some stuff about Linux and/or windows, but have never done any embedded-linux stuff and/or really mucked about with memory block devices and so on.&lt;br /&gt;
&lt;br /&gt;
Disclaimer: This may not be the easiest way, but I&#039;ve used it a couple of times to get Mer set up and booting from the SD card.  It really helps to know a bit of linux, or at least know a little about DOS, disks and partitions.   Also, having a VMWare linux machine really helps to dig you out of a hole in case you muck up your SD card. :-)&lt;br /&gt;
&lt;br /&gt;
OK, that&#039;s the start over, time to get setting up....&lt;br /&gt;
&lt;br /&gt;
== What&#039;s going to happen? ==&lt;br /&gt;
&lt;br /&gt;
We&#039;re going to set up a &#039;virtual machine&#039;, which will allow us to do all this safely away from Windows.  The way the smartq boots is this:-&lt;br /&gt;
&lt;br /&gt;
* If a particular button is pressed, when the machine is switched on, then the SmartQ will choose to boot from the SD card.   It does so by looking at the end of the card (at a particular location) for a &#039;bootloader&#039;. this bootloader is a small program which hunts for a valid  Linux installation on the card, and then starts booting that.  So, we have to get this little chain of programs set up just right.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Shopping List =&lt;br /&gt;
&lt;br /&gt;
 * A SmartQ 5 / 7&lt;br /&gt;
 * 1 PC running Windows with &lt;br /&gt;
 * A vague knowledge of Linux or DOS and file systems.&lt;br /&gt;
 ** at least 1Gig RAM, &lt;br /&gt;
 ** 5 Gigs of Disk Space &lt;br /&gt;
 ** An SD card reader.&lt;br /&gt;
 ** An SD / SDHC Card with at least 6 gigs of RAM&lt;br /&gt;
 * About an hour to an hour and a half.&lt;br /&gt;
&lt;br /&gt;
= Getting Started =&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
Firstly, get the PC switched on. Ah, I see you&#039;ve already done that.  Good thinking.    Use &amp;quot;My Computer&amp;quot; to locate a drive with 5 or more gigs of space on it.  Keep a note of that drive.  If you can, create a folder on the root of that drive called something like &amp;quot;Virtual Machines&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== VMWare ==&lt;br /&gt;
&lt;br /&gt;
Right, step 2, download VMWare from [[http://www.vmware.com/download/player VMWare.com]]. It&#039;s free, but you need to put in some name / country information.  You&#039;ll have to reboot your PC a few times, but you should be used to that as a Windows owner ;-)&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
Now, download a ready-to-go Ubuntu &amp;quot;Virtual Appliance&amp;quot;.  This is a fancy word for a honking-big file which is a snapshot of a Linux PC.    Once VMWare is installed, there should be a link on the first window which says &#039;Download&#039; or &#039;Get&#039;.    &lt;br /&gt;
&lt;br /&gt;
*Click it, and search for an &amp;quot;Ubuntu 9.04 Desktop with VMWare Tools&amp;quot;.  You&#039;ll get a few hits.  One will be by &amp;quot;Chrysaor&amp;quot;.  That&#039;s what I use, and it&#039;s fine. &lt;br /&gt;
** Alternatively, and more easily, go to [[http://chrysaor.info/?page=ubuntu Chrysaor&#039;s Place]] and grab one from here directly.  Unzip it once it&#039;s downloaded.  Inside  the zip file will be an info.txt with the login credentials.  &lt;br /&gt;
&lt;br /&gt;
*Download it somewhere on your PC with lots of space, preferrably the location you found earlier, in a subfolder called ´Virtual Machines´ and not your desktop.  Once it&#039;s downloaded it&#039;ll create 5 to 10 more files in the same place, so it ´is´ best to stick it in a subdirectory.&lt;br /&gt;
*Once it&#039;s downloaded, go back to VMWare and click &#039;Open&#039;, then surf over to the &#039;vmx&#039; file you just downloaded, and sit back and enjoy the ubuntu loading screen.&lt;br /&gt;
&lt;br /&gt;
´´´ŃOTE´´´ We are NOT going to harm windows. VMWare contains the Linux in a safe harness and does not change or break windows in any way.&lt;br /&gt;
&lt;br /&gt;
*Once you&#039;re into Ubuntu, click on the &amp;quot;Devices v&amp;quot; button at the top, and look for your SD/SDHC card reader.  Mine says  &amp;quot;Alcor Micro Mass Storage Device&amp;quot;.  Select it, and click &amp;quot;Connect&amp;quot;.  Then do it again and select &amp;quot;Show icon in status bar&amp;quot;. This&#039;ll make it easier to see what&#039;s happening.&lt;br /&gt;
&lt;br /&gt;
= Using VMWare/Ubuntu to configure the SD card =&lt;br /&gt;
&lt;br /&gt;
== Installing Mer on the SD Card ==&lt;br /&gt;
&lt;br /&gt;
Click the Applications&amp;gt;Accessories&amp;gt;Terminal menu inside ubuntu and open up a command prompt.  Insert the SD card into your PC&#039;s SD reader, and check the little drive icon on the VMWare status bar.. it should flicker in time with the LED on your card reader... &lt;br /&gt;
&lt;br /&gt;
OK, so firstly, we need to get the stuff you&#039;re going to install on the SD card.&lt;br /&gt;
So, click the little Firefox logo at the top of the screen to get a browser.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; Before you download anything, it&#039;s important that we set the download folder.  By default it&#039;ll be your desktop, let&#039;s change it to your &#039;home&#039; folder... It&#039;ll be less typing.   &lt;br /&gt;
&lt;br /&gt;
* Click &#039;&#039;&#039;Edit&#039;&#039;&#039;, then &#039;&#039;&#039;Preferences&#039;&#039;&#039;, then the &#039;&#039;&#039;Browse&#039;&#039;&#039; button next to &#039;&#039;&#039;Save Files To&#039;&#039;&#039;.   &lt;br /&gt;
* In the dialog which appears you&#039;ll see three buttons at the top &#039;&amp;lt;&#039;,&#039;&amp;lt;your username&amp;gt;&#039; and &#039;Desktop&#039;.  &lt;br /&gt;
* Click the &#039;&#039;&#039;&amp;lt;&#039;&#039;&#039; button, and a button will appear with &#039;home&#039; in it.&lt;br /&gt;
* Click the &#039;&#039;&#039;Home&#039;&#039;&#039; button.  In the window you&#039;ll see your username now as a folder. &lt;br /&gt;
* Highlight the folder with &#039;&#039;&#039;your username&#039;&#039;&#039; (it may be just &#039;user&#039;, depending on which Ubuntu VM you grabbed).&lt;br /&gt;
* Click &#039;&#039;&#039;open&#039;&#039;&#039;.  When you return to the previous screen, the &#039;save files to&#039; option should now say something like &#039;&#039;/home/user&#039;&#039;.&lt;br /&gt;
* Click &#039;&#039;&#039;close&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
OK, now we know precisely where Moz will save your downloads, it&#039;s time to get those files.&lt;br /&gt;
&lt;br /&gt;
== Downloading everything ==&lt;br /&gt;
&lt;br /&gt;
* Go to [[http://wiki.maemo.org/Mer/Releases The releases page]] and grab the current stable release for your device. You want the ROOTFS version of the file, NOT the Firmware version.  This will go onto the SD card to make Mer.&lt;br /&gt;
&lt;br /&gt;
* Go to [[http://zenvoid.org/software/qi-smartq/ ZenVoid&#039;s Blog]] and grab the install-smartq-qi.sh and qi-smartq-20090612.bin files.  These will make the SD card bootable.&lt;br /&gt;
&lt;br /&gt;
* [Optional] If you&#039;re using 0.15testing5, you&#039;re also going to need the Marvell Wifi Drivers, so head to [[http://www.marvell.com/drivers/driverDisplay.do?driver=203 Marvell.com]] to get the driver.&lt;br /&gt;
&lt;br /&gt;
All of this should have downloaded to your &#039;home&#039; folder, or to your desktop.  So, at this point we need to go to a prompt and get Mer installed.&lt;br /&gt;
&lt;br /&gt;
So, click Applications&amp;gt;Accessories&amp;gt;Terminal.  This will dump you at a command prompt.  some useful commands are &#039;&#039;&#039;ls -l&#039;&#039;&#039; &#039;&#039;&#039;cd&#039;&#039;&#039; and &#039;&#039;&#039;sudo&#039;&#039;&#039;.  You&#039;ll be seeing a lot of these.&lt;br /&gt;
&lt;br /&gt;
== Setting up the SD Card ==&lt;br /&gt;
&lt;br /&gt;
So, firstly, the SD card will have been automounted, probably.  Linux assigns a &#039;device name&#039; to all its disks, and until you&#039;re familiar with the system, sometimes it takes a moment to locate a new drive...  A quick way to find out the device name (if the drive was auto-mounted), is to run &#039;&#039;&#039;df&#039;&#039;&#039;  to see the free space on all mounted disks.  One disk should be &#039;&#039;mounted&#039;&#039; under &#039;&#039;&#039;/media/disk&#039;&#039;&#039;.  Take a note of the disk&#039;s name, it should be /dev/sdb1 or /dev/sdc1.  the important part is the &amp;quot;sdb&amp;quot; or &amp;quot;sdc&amp;quot;.  From now on, I&#039;ll &#039;&#039;assume&#039;&#039; it&#039;s /dev/sdb1.  If you didn&#039;t see one, then you may need to ensure you&#039;ve added the right drive to VMWare in the steps above.  &lt;br /&gt;
&lt;br /&gt;
* type &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039; .  This will unmount the sd card ready for formatting&lt;br /&gt;
* type &#039;&#039;&#039;sudo fdisk /dev/sdb&#039;&#039;&#039;.  this will open the disk for partitioning.&lt;br /&gt;
* in fdisk, type &#039;&#039;&#039;p&#039;&#039;&#039; to print the partition list, there should be one &#039;sdb1&#039; of type &#039;FAT32&#039;.  This is the current card contents.  &lt;br /&gt;
* Press &#039;&#039;&#039;d&#039;&#039;&#039; and hit return.  This will delete the partiion. If you are asked for a partition number, enter &#039;1&#039;.  If there are more than one partition, repeat until running &#039;&#039;&#039;p&#039;&#039;&#039; shows no partitions left.&lt;br /&gt;
* Press &#039;&#039;&#039;n&#039;&#039;&#039; and hit return to create a new partition.   &lt;br /&gt;
** Press &#039;&#039;&#039;p&#039;&#039;&#039; and hit return to crate a primary partition&lt;br /&gt;
** Press &#039;&#039;&#039;1&#039;&#039;&#039; and hit return to create it as partition one.&lt;br /&gt;
** Press &#039;&#039;&#039;return&#039;&#039;&#039; to choose &#039;&#039;block 1&#039;&#039; to start the partition&lt;br /&gt;
** Do some mental maths and work out the end block by dividing the size of the disk by the total number of blocks. So if fdisk says your 16Gig card has &#039;1900&#039; blocks, then that&#039;s ~8Megs per block, so it&#039;s safe to end the partition at the last-block-but-one. (Remember we&#039;re leaving at least 1 Mb for the bootloader)   (If you want to add a swap partition, then choose a lower number, then repeat the partition-creation step, always remembering to leave at least 1Mb spare at the end of the card (high number).&lt;br /&gt;
* Press &#039;&#039;&#039;a&#039;&#039;&#039; and return to make a partition active, and choose partition 1.&lt;br /&gt;
** If you created a swap partition, press &#039;&#039;&#039;t&#039;&#039;&#039; and choose partition 2, and make it type &#039;&#039;82&#039;&#039;, Linux Swap.&lt;br /&gt;
** Press &#039;&#039;&#039;w&#039;&#039;&#039; and hit return to write the partition table (saving your work).&lt;br /&gt;
** Press &#039;&#039;&#039;q&#039;&#039;&#039; and hit return to exit.&lt;br /&gt;
&lt;br /&gt;
Right, that&#039;s the SD card partitioned up nicely.  Time to format the partition and put Mer on there.  It&#039;s likely that Ubuntu in it&#039;s ever-friendly way will attempt to re-mount the partition again.  So, run &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
** Type &#039;&#039;&#039;sudo mkfs.ext3 /dev/sdb1&#039;&#039;&#039;  to format the partition ready for Mer.  this will take a while, depending on the size / speed of your card.&lt;br /&gt;
&lt;br /&gt;
== Install the bootloader ==&lt;br /&gt;
OK, now it&#039;s time to install the Bootloader which will allow you to boot to Mer.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd&#039;&#039;&#039; and press return to &#039;&#039;go to your home folder&#039;&#039;  this is where you chose to download all your files to in Mozilla.&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; to list all your files.  If you can&#039;t see them, go into Mozilla and work out where your files ended up.  Repeat the steps above to ensure that files are downloaded to your &#039;&#039;&#039;/home/&amp;lt;user&amp;gt;&#039;&#039;&#039; folder (e.g. &#039;&#039;/home/nick&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;sudo chmod a+rx install-smartq-qi.sh&#039;&#039;&#039;  - This will make the installer script &#039;runnable&#039;.&lt;br /&gt;
* Type &#039;&#039;&#039;sudo ./install-smartq-qi.sh /dev/sdb qi-smartq-20090612.bin&#039;&#039;&#039;   - This will install the boot loader onto the SD card for you.&lt;br /&gt;
&lt;br /&gt;
== Install Mer ==&lt;br /&gt;
&lt;br /&gt;
Ok, now it&#039;s time to install mer on the SD card.   So we need to &#039;mount&#039; the card, and move some files about.  The easiest way to do this is unplug the sd card, and re-plug it, and let Ubuntu automount it.  If you&#039;d prefer to do it manually, here are some commands:-&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mkdir /media/disk&#039;&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mount /dev/sdb1 /media/disk&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s mounted, all you have to do is untar the rootfs... so assuming you have a SmartQ7, you downloaded the file &#039;&#039;mer-armel-smartq7-rootfs-v0.16testing5.tar.gz&#039;&#039;, or something similar, you should now type:-&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd&#039;&#039;&#039; (return) to &#039;&#039;go home&#039;&#039;, then &#039;&#039;&#039;ls -l&#039;&#039;&#039; (return) to list the files.&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mv *.tar.gz /media/disk&#039;&#039;&#039; . This will move the entire mer installation to the disk (so we can untar it easily).&lt;br /&gt;
* Type &#039;&#039;&#039;cd /media/disk&#039;&#039;&#039; and press return.  We will now be &#039;on&#039; the disk&lt;br /&gt;
* Type &#039;&#039;&#039;sudo untar xvf *.gz&#039;&#039;&#039; and press return.  This will now untar the entire &#039;rootfs&#039; to the card.  (Install Mer).&lt;br /&gt;
&lt;br /&gt;
After a few moments, the scrolling text will finish.  We&#039;re almost there!!!&lt;br /&gt;
&lt;br /&gt;
== Getting the bootloader to &#039;see&#039; Mer ==&lt;br /&gt;
&lt;br /&gt;
We&#039;re almost home and dry.  Just a little housekeeping to do.  The bootloader is pretty smart, but it needs the &#039;kernel file&#039; to have a special name so that it can find it on boot.  &lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd /media/disk/boot&#039;&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; and note that there&#039;s a file called &#039;zImage&#039; somthing.  That&#039;s the kernel file.  I&#039;ll assume it&#039;s &#039;zImage-smartq-200932&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;sudo cp zImage-smartq-200932 linux-SMDK6410.bin&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Getting the wifi working ==&lt;br /&gt;
&lt;br /&gt;
The SmartQs need to have a set of drivers installed to make their wifi work.  It&#039;s a fairly painless operation. You should already have downloaded the file... &lt;br /&gt;
With the SD-card mounted in /media/disk, copy the driver file to the &#039;media&#039; directory &#039;&#039;&#039;on the SD card&#039;&#039;&#039;. (i.e. /media/disk/media).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd&#039;&#039;&#039; (and press return) to &#039;&#039;return home&#039;&#039; . Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; (and press return).  You should see the file in the listing now.&lt;br /&gt;
* Type &#039;&#039;&#039;cp SD-8686*.zip /media/disk/media&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I would give you these instructions by using the UI, but it requires &#039;&#039;root privileges&#039;&#039; to copy a lot of these files.. and it&#039;s easier to use &#039;&#039;sudo&#039;&#039; for that.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OK. The File should be in place.  You&#039;ll find installation instructions elsewhere on this site for unpacking the zip. However, when you first start Mer, the kind developers have created installation scripts so when Mer first starts, it&#039;ll find this zip file and unpack it for you.  &lt;br /&gt;
&lt;br /&gt;
Right, we&#039;re pretty much ready to get this baby up and running.&lt;br /&gt;
&lt;br /&gt;
= Booting Into Mer =&lt;br /&gt;
&lt;br /&gt;
== Bye bye PC, hello SmartQ ==&lt;br /&gt;
&lt;br /&gt;
Unmount the card (right-click on the icon on the desktop and select unmount, or type the following.  Ensure that you&#039;ve closed all open windows which show the card&#039;s contents (Ubuntu may open a file browser if you chose to automount the card).&lt;br /&gt;
* &#039;&#039;&#039;cd&#039;&#039;&#039; (return)&lt;br /&gt;
* &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Pull the card out of your PC, and insert it into the Q5 / Q7 (upside down!).   It will need to be pushed in quite far until it clicks home.  Then, hold down the right-hand-most button on the top of the device, and plug in the power supply.   The LED should flash red, and perhaps green for a brief instant.. After a moment, the screen should go white.  You can let go of the button and enjoy Mer in all its glory.&lt;br /&gt;
&lt;br /&gt;
Currently, to switch off a Q5/7, you have to press the &#039;reset&#039; button on the bottom.  S&#039;why we formatted the disk with ext3, and not ext2 ;-)&lt;br /&gt;
&lt;br /&gt;
= Where to from here? =&lt;br /&gt;
&lt;br /&gt;
== Using VMWare ==&lt;br /&gt;
&lt;br /&gt;
Well, in the words of Ben Kenobi, youve taken your first step into a wiser world.  You have a nice fresh Linux install to play with.  &lt;br /&gt;
&lt;br /&gt;
VMWare is very fault tolerant, so when you want to put Linux away, just close the window.  When you want to resume, just open VMWare again, and Linux will auto-resume from where you left off.  &lt;br /&gt;
&lt;br /&gt;
It is very quick and quite safe.   If the Linux gets completely broken, just delete the virtual machine, re-download it, and start again, without having to muck about with installation CDs.&lt;br /&gt;
&lt;br /&gt;
== Recreating the card ==&lt;br /&gt;
&lt;br /&gt;
Well, now that you&#039;ve had a play with installing Mer, you should be able to set the card up for other installations, like WinCE, etc.  So, keep the VMWare console around. &lt;br /&gt;
&lt;br /&gt;
== Reading the card ==&lt;br /&gt;
&lt;br /&gt;
Don&#039;t unplug the card when the SmartQ is switched on, it&#039;ll cause you pain. However, if you want to install stuff onto the card from the PC, you&#039;ll need your VMWare (or ext2fs tools for windows), to mount the card and copy files on/off.&lt;br /&gt;
&lt;br /&gt;
== Downloading applications ==&lt;br /&gt;
&lt;br /&gt;
Mer is maturing all the time, and new Applications are being developed for it.  Check the app manager from time to time to see if there&#039;s new apps on the internet.&lt;br /&gt;
&lt;br /&gt;
== Developing for Mer ==&lt;br /&gt;
&lt;br /&gt;
The Mer team uses the &amp;quot;OBS&amp;quot; suite from OpenSuse, a remote-build-farm.  You get a username / &#039;garage ID&#039;, download the OBS toolkit inside your Ubuntu Virtual machine, and start coding.  the only difference is that you ask the OpenSuse build farm to build your app for you.  Once it&#039;s built you can install it on a simulated MID (called Scratchbox), or you can install it on the MID itself.&lt;br /&gt;
&lt;br /&gt;
= thanks =&lt;br /&gt;
&lt;br /&gt;
Thanks to lbt, zenvoid, meizirkki for helping me understand what&#039;s going on, and of course the whole Mer team for this awesome product, which may just save a good MID from oblivion :).  I hope this page proves useful, and allows more people to set up and play with Mer.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;nww02&#039;&#039;&lt;/div&gt;</summary>
		<author><name>84.51.141.236</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Mer/Documentation/SmartQ_Installation_for_the_Windows_user&amp;diff=24066</id>
		<title>Mer/Documentation/SmartQ Installation for the Windows user</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Mer/Documentation/SmartQ_Installation_for_the_Windows_user&amp;diff=24066"/>
		<updated>2009-09-24T22:46:53Z</updated>

		<summary type="html">&lt;p&gt;84.51.141.236: /* Install the bootloader */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&lt;br /&gt;
This page is aimed at people who want to get set up with Mer, but don&#039;t necessarily want go around re-flashing firmware and lose the in-built Operating System on the SmartQ.  &lt;br /&gt;
&lt;br /&gt;
There are other how-tos on this site for the more experienced user, so this page is aimed at users who may know some stuff about Linux and/or windows, but have never done any embedded-linux stuff and/or really mucked about with memory block devices and so on.&lt;br /&gt;
&lt;br /&gt;
Disclaimer: This may not be the easiest way, but I&#039;ve used it a couple of times to get Mer set up and booting from the SD card.  It really helps to know a bit of linux, or at least know a little about DOS, disks and partitions.   Also, having a VMWare linux machine really helps to dig you out of a hole in case you muck up your SD card. :-)&lt;br /&gt;
&lt;br /&gt;
OK, that&#039;s the start over, time to get setting up....&lt;br /&gt;
&lt;br /&gt;
== What&#039;s going to happen? ==&lt;br /&gt;
&lt;br /&gt;
We&#039;re going to set up a &#039;virtual machine&#039;, which will allow us to do all this safely away from Windows.  The way the smartq boots is this:-&lt;br /&gt;
&lt;br /&gt;
* If a particular button is pressed, when the machine is switched on, then the SmartQ will choose to boot from the SD card.   It does so by looking at the end of the card (at a particular location) for a &#039;bootloader&#039;. this bootloader is a small program which hunts for a valid  Linux installation on the card, and then starts booting that.  So, we have to get this little chain of programs set up just right.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Shopping List =&lt;br /&gt;
&lt;br /&gt;
 * A SmartQ 5 / 7&lt;br /&gt;
 * 1 PC running Windows with &lt;br /&gt;
 * A vague knowledge of Linux or DOS and file systems.&lt;br /&gt;
 ** at least 1Gig RAM, &lt;br /&gt;
 ** 5 Gigs of Disk Space &lt;br /&gt;
 ** An SD card reader.&lt;br /&gt;
 ** An SD / SDHC Card with at least 6 gigs of RAM&lt;br /&gt;
 * About an hour to an hour and a half.&lt;br /&gt;
&lt;br /&gt;
= Getting Started =&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
Firstly, get the PC switched on. Ah, I see you&#039;ve already done that.  Good thinking.    Use &amp;quot;My Computer&amp;quot; to locate a drive with 5 or more gigs of space on it.  Keep a note of that drive.  If you can, create a folder on the root of that drive called something like &amp;quot;Virtual Machines&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== VMWare ==&lt;br /&gt;
&lt;br /&gt;
Right, step 2, download VMWare from [[http://www.vmware.com/download/player VMWare.com]]. It&#039;s free, but you need to put in some name / country information.  You&#039;ll have to reboot your PC a few times, but you should be used to that as a Windows owner ;-)&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
Now, download a ready-to-go Ubuntu &amp;quot;Virtual Appliance&amp;quot;.  This is a fancy word for a honking-big file which is a snapshot of a Linux PC.    Once VMWare is installed, there should be a link on the first window which says &#039;Download&#039; or &#039;Get&#039;.    &lt;br /&gt;
&lt;br /&gt;
*Click it, and search for an &amp;quot;Ubuntu 9.04 Desktop with VMWare Tools&amp;quot;.  You&#039;ll get a few hits.  One will be by &amp;quot;Chrysaor&amp;quot;.  That&#039;s what I use, and it&#039;s fine. &lt;br /&gt;
** Alternatively, and more easily, go to [[http://chrysaor.info/?page=ubuntu Chrysaor&#039;s Place]] and grab one from here directly.  Unzip it once it&#039;s downloaded.  Inside  the zip file will be an info.txt with the login credentials.  &lt;br /&gt;
&lt;br /&gt;
*Download it somewhere on your PC with lots of space, preferrably the location you found earlier, in a subfolder called ´Virtual Machines´ and not your desktop.  Once it&#039;s downloaded it&#039;ll create 5 to 10 more files in the same place, so it ´is´ best to stick it in a subdirectory.&lt;br /&gt;
*Once it&#039;s downloaded, go back to VMWare and click &#039;Open&#039;, then surf over to the &#039;vmx&#039; file you just downloaded, and sit back and enjoy the ubuntu loading screen.&lt;br /&gt;
&lt;br /&gt;
´´´ŃOTE´´´ We are NOT going to harm windows. VMWare contains the Linux in a safe harness and does not change or break windows in any way.&lt;br /&gt;
&lt;br /&gt;
*Once you&#039;re into Ubuntu, click on the &amp;quot;Devices v&amp;quot; button at the top, and look for your SD/SDHC card reader.  Mine says  &amp;quot;Alcor Micro Mass Storage Device&amp;quot;.  Select it, and click &amp;quot;Connect&amp;quot;.  Then do it again and select &amp;quot;Show icon in status bar&amp;quot;. This&#039;ll make it easier to see what&#039;s happening.&lt;br /&gt;
&lt;br /&gt;
= Using VMWare/Ubuntu to configure the SD card =&lt;br /&gt;
&lt;br /&gt;
== Installing Mer on the SD Card ==&lt;br /&gt;
&lt;br /&gt;
Click the Applications&amp;gt;Accessories&amp;gt;Terminal menu inside ubuntu and open up a command prompt.  Insert the SD card into your PC&#039;s SD reader, and check the little drive icon on the VMWare status bar.. it should flicker in time with the LED on your card reader... &lt;br /&gt;
&lt;br /&gt;
OK, so firstly, we need to get the stuff you&#039;re going to install on the SD card.&lt;br /&gt;
So, click the little Firefox logo at the top of the screen to get a browser.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; Before you download anything, it&#039;s important that we set the download folder.  By default it&#039;ll be your desktop, let&#039;s change it to your &#039;home&#039; folder... It&#039;ll be less typing.   &lt;br /&gt;
&lt;br /&gt;
* Click &#039;&#039;&#039;Edit&#039;&#039;&#039;, then &#039;&#039;&#039;Preferences&#039;&#039;&#039;, then the &#039;&#039;&#039;Browse&#039;&#039;&#039; button next to &#039;&#039;&#039;Save Files To&#039;&#039;&#039;.   &lt;br /&gt;
* In the dialog which appears you&#039;ll see three buttons at the top &#039;&amp;lt;&#039;,&#039;&amp;lt;your username&amp;gt;&#039; and &#039;Desktop&#039;.  &lt;br /&gt;
* Click the &#039;&#039;&#039;&amp;lt;&#039;&#039;&#039; button, and a button will appear with &#039;home&#039; in it.&lt;br /&gt;
* Click the &#039;&#039;&#039;Home&#039;&#039;&#039; button.  In the window you&#039;ll see your username now as a folder. &lt;br /&gt;
* Highlight the folder with &#039;&#039;&#039;your username&#039;&#039;&#039; (it may be just &#039;user&#039;, depending on which Ubuntu VM you grabbed).&lt;br /&gt;
* Click &#039;&#039;&#039;open&#039;&#039;&#039;.  When you return to the previous screen, the &#039;save files to&#039; option should now say something like &#039;&#039;/home/user&#039;&#039;.&lt;br /&gt;
* Click &#039;&#039;&#039;close&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
OK, now we know precisely where Moz will save your downloads, it&#039;s time to get those files.&lt;br /&gt;
&lt;br /&gt;
== Downloading everything ==&lt;br /&gt;
&lt;br /&gt;
* Go to [[http://wiki.maemo.org/Mer/Releases The releases page]] and grab the current stable release for your device. You want the ROOTFS version of the file, NOT the Firmware version.  This will go onto the SD card to make Mer.&lt;br /&gt;
&lt;br /&gt;
* Go to [[http://zenvoid.org/software/qi-smartq/ ZenVoid&#039;s Blog]] and grab the install-smartq-qi.sh and qi-smartq-20090612.bin files.  These will make the SD card bootable.&lt;br /&gt;
&lt;br /&gt;
* [Optional] If you&#039;re using 0.15testing5, you&#039;re also going to need the Marvell Wifi Drivers, so head to [[http://www.marvell.com/drivers/driverDisplay.do?driver=203 Marvell.com]] to get the driver.&lt;br /&gt;
&lt;br /&gt;
All of this should have downloaded to your &#039;home&#039; folder, or to your desktop.  So, at this point we need to go to a prompt and get Mer installed.&lt;br /&gt;
&lt;br /&gt;
So, click Applications&amp;gt;Accessories&amp;gt;Terminal.  This will dump you at a command prompt.  some useful commands are &#039;&#039;&#039;ls -l&#039;&#039;&#039; &#039;&#039;&#039;cd&#039;&#039;&#039; and &#039;&#039;&#039;sudo&#039;&#039;&#039;.  You&#039;ll be seeing a lot of these.&lt;br /&gt;
&lt;br /&gt;
== Setting up the SD Card ==&lt;br /&gt;
&lt;br /&gt;
So, firstly, the SD card will have been automounted, probably.  Linux assigns a &#039;device name&#039; to all its disks, and until you&#039;re familiar with the system, sometimes it takes a moment to locate a new drive...  A quick way to find out the device name (if the drive was auto-mounted), is to run &#039;&#039;&#039;df&#039;&#039;&#039;  to see the free space on all mounted disks.  One disk should be &#039;&#039;mounted&#039;&#039; under &#039;&#039;&#039;/media/disk&#039;&#039;&#039;.  Take a note of the disk&#039;s name, it should be /dev/sdb1 or /dev/sdc1.  the important part is the &amp;quot;sdb&amp;quot; or &amp;quot;sdc&amp;quot;.  From now on, I&#039;ll &#039;&#039;assume&#039;&#039; it&#039;s /dev/sdb1.  If you didn&#039;t see one, then you may need to ensure you&#039;ve added the right drive to VMWare in the steps above.  &lt;br /&gt;
&lt;br /&gt;
* type &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039; .  This will unmount the sd card ready for formatting&lt;br /&gt;
* type &#039;&#039;&#039;sudo fdisk /dev/sdb&#039;&#039;&#039;.  this will open the disk for partitioning.&lt;br /&gt;
* in fdisk, type &#039;&#039;&#039;p&#039;&#039;&#039; to print the partition list, there should be one &#039;sdb1&#039; of type &#039;FAT32&#039;.  This is the current card contents.  &lt;br /&gt;
* Press &#039;&#039;&#039;d&#039;&#039;&#039; and hit return.  This will delete the partiion. If you are asked for a partition number, enter &#039;1&#039;.  If there are more than one partition, repeat until running &#039;&#039;&#039;p&#039;&#039;&#039; shows no partitions left.&lt;br /&gt;
* Press &#039;&#039;&#039;n&#039;&#039;&#039; and hit return to create a new partition.   &lt;br /&gt;
** Press &#039;&#039;&#039;p&#039;&#039;&#039; and hit return to crate a primary partition&lt;br /&gt;
** Press &#039;&#039;&#039;1&#039;&#039;&#039; and hit return to create it as partition one.&lt;br /&gt;
** Press &#039;&#039;&#039;return&#039;&#039;&#039; to choose &#039;&#039;block 1&#039;&#039; to start the partition&lt;br /&gt;
** Do some mental maths and work out the end block by dividing the size of the disk by the total number of blocks. So if fdisk says your 16Gig card has &#039;1900&#039; blocks, then that&#039;s ~8Megs per block, so it&#039;s safe to end the partition at the last-block-but-one. (Remember we&#039;re leaving at least 1 Mb for the bootloader)   (If you want to add a swap partition, then choose a lower number, then repeat the partition-creation step, always remembering to leave at least 1Mb spare at the end of the card (high number).&lt;br /&gt;
* Press &#039;&#039;&#039;a&#039;&#039;&#039; and return to make a partition active, and choose partition 1.&lt;br /&gt;
** If you created a swap partition, press &#039;&#039;&#039;t&#039;&#039;&#039; and choose partition 2, and make it type &#039;&#039;82&#039;&#039;, Linux Swap.&lt;br /&gt;
** Press &#039;&#039;&#039;w&#039;&#039;&#039; and hit return to write the partition table (saving your work).&lt;br /&gt;
** Press &#039;&#039;&#039;q&#039;&#039;&#039; and hit return to exit.&lt;br /&gt;
&lt;br /&gt;
Right, that&#039;s the SD card partitioned up nicely.  Time to format the partition and put Mer on there.  It&#039;s likely that Ubuntu in it&#039;s ever-friendly way will attempt to re-mount the partition again.  So, run &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
** Type &#039;&#039;&#039;sudo mkfs.ext3 /dev/sdb1&#039;&#039;&#039;  to format the partition ready for Mer.  this will take a while, depending on the size / speed of your card.&lt;br /&gt;
&lt;br /&gt;
== Install the bootloader ==&lt;br /&gt;
OK, now it&#039;s time to install the Bootloader which will allow you to boot to Mer.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd&#039;&#039;&#039; and press return to &#039;&#039;go to your home folder&#039;&#039;  this is where you chose to download all your files to in Mozilla.&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; to list all your files.  If you can&#039;t see them, go into Mozilla and work out where your files ended up.  Repeat the steps above to ensure that files are downloaded to your &#039;&#039;&#039;/home/&amp;lt;user&amp;gt;&#039;&#039;&#039; folder (e.g. &#039;&#039;/home/nick&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;sudo chmod a+rx install-smartq-qi.sh&#039;&#039;&#039;  - This will make the installer script &#039;runnable&#039;.&lt;br /&gt;
* Type &#039;&#039;&#039;sudo ./install-smartq-qi.sh /dev/sdb qi-smartq-20090612.bin&#039;&#039;&#039;   - This will install the boot loader onto the SD card for you.&lt;br /&gt;
&lt;br /&gt;
== Install Mer ==&lt;br /&gt;
&lt;br /&gt;
Ok, now it&#039;s time to install mer on the SD card.   So we need to &#039;mount&#039; the card, and move some files about.  The easiest way to do this is unplug the sd card, and re-plug it, and let Ubuntu automount it.  If you&#039;d prefer to do it manually, here are some commands:-&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mkdir /media/disk&#039;&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mount /dev/sdb1 /media/disk&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s mounted, all you have to do is untar the rootfs... so assuming you have a SmartQ7, you downloaded the file &#039;&#039;mer-armel-smartq7-rootfs-v0.16testing5.tar.gz&#039;&#039;, or something similar, you should now type:-&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; and press return and ensure you are in the same folder as the Mer file.  If not, type &#039;&#039;&#039;cd&#039;&#039;&#039; (return) &#039;&#039;&#039;ls -l&#039;&#039;&#039; (return), and if it&#039;s not there, type &#039;&#039;&#039;cd Desktop&#039;&#039;&#039; (return), &#039;&#039;&#039;ls -l&#039;&#039;&#039; (return). At some point, you should find it. If not, re-download it in Mozilla, and choose to save it to the desktop.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mv *.tar.gz /media/disk&#039;&#039;&#039; . this will move the entire mer installation to the disk (so we can untar it easily).&lt;br /&gt;
* Type &#039;&#039;&#039;cd /media/disk&#039;&#039;&#039; and press return.  We will now be &#039;on&#039; the disk&lt;br /&gt;
* Type &#039;&#039;&#039;sudo untar xvf *.gz&#039;&#039;&#039; and press return.  This will now untar the entire &#039;rootfs&#039; to the card.  (Install Mer).&lt;br /&gt;
&lt;br /&gt;
After a few moments, the scrolling text will finish.  We&#039;re almost there!!!&lt;br /&gt;
&lt;br /&gt;
== Getting the bootloader to &#039;see&#039; Mer ==&lt;br /&gt;
&lt;br /&gt;
We&#039;re almost home and dry.  Just a little housekeeping to do.  The bootloader is pretty smart, but it needs the &#039;kernel file&#039; to have a special name so that it can find it on boot.  &lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd /media/disk/boot&#039;&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; and note that there&#039;s a file called &#039;zImage&#039; somthing.  That&#039;s the kernel file.  I&#039;ll assume it&#039;s &#039;zImage-smartq-200932&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;sudo cp zImage-smartq-200932 linux-SMDK6410.bin&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Getting the wifi working ==&lt;br /&gt;
&lt;br /&gt;
The SmartQs need to have a set of drivers installed to make their wifi work.  It&#039;s a fairly painless operation. You should already have downloaded the file... &lt;br /&gt;
With the SD-card mounted in /media/disk, copy the driver file to the &#039;media&#039; directory &#039;&#039;&#039;on the SD card&#039;&#039;&#039;. (i.e. /media/disk/media).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd&#039;&#039;&#039; (and press return) to &#039;&#039;return home&#039;&#039; . Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; (and press return).  You should see the file in the listing now.&lt;br /&gt;
* Type &#039;&#039;&#039;cp SD-8686*.zip /media/disk/media&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I would give you these instructions by using the UI, but it requires &#039;&#039;root privileges&#039;&#039; to copy a lot of these files.. and it&#039;s easier to use &#039;&#039;sudo&#039;&#039; for that.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OK. The File should be in place.  You&#039;ll find installation instructions elsewhere on this site for unpacking the zip. However, when you first start Mer, the kind developers have created installation scripts so when Mer first starts, it&#039;ll find this zip file and unpack it for you.  &lt;br /&gt;
&lt;br /&gt;
Right, we&#039;re pretty much ready to get this baby up and running.&lt;br /&gt;
&lt;br /&gt;
= Booting Into Mer =&lt;br /&gt;
&lt;br /&gt;
== Bye bye PC, hello SmartQ ==&lt;br /&gt;
&lt;br /&gt;
Unmount the card (right-click on the icon on the desktop and select unmount, or type the following.  Ensure that you&#039;ve closed all open windows which show the card&#039;s contents (Ubuntu may open a file browser if you chose to automount the card).&lt;br /&gt;
* &#039;&#039;&#039;cd&#039;&#039;&#039; (return)&lt;br /&gt;
* &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Pull the card out of your PC, and insert it into the Q5 / Q7 (upside down!).   It will need to be pushed in quite far until it clicks home.  Then, hold down the right-hand-most button on the top of the device, and plug in the power supply.   The LED should flash red, and perhaps green for a brief instant.. After a moment, the screen should go white.  You can let go of the button and enjoy Mer in all its glory.&lt;br /&gt;
&lt;br /&gt;
Currently, to switch off a Q5/7, you have to press the &#039;reset&#039; button on the bottom.  S&#039;why we formatted the disk with ext3, and not ext2 ;-)&lt;br /&gt;
&lt;br /&gt;
= Where to from here? =&lt;br /&gt;
&lt;br /&gt;
== Using VMWare ==&lt;br /&gt;
&lt;br /&gt;
Well, in the words of Ben Kenobi, youve taken your first step into a wiser world.  You have a nice fresh Linux install to play with.  &lt;br /&gt;
&lt;br /&gt;
VMWare is very fault tolerant, so when you want to put Linux away, just close the window.  When you want to resume, just open VMWare again, and Linux will auto-resume from where you left off.  &lt;br /&gt;
&lt;br /&gt;
It is very quick and quite safe.   If the Linux gets completely broken, just delete the virtual machine, re-download it, and start again, without having to muck about with installation CDs.&lt;br /&gt;
&lt;br /&gt;
== Recreating the card ==&lt;br /&gt;
&lt;br /&gt;
Well, now that you&#039;ve had a play with installing Mer, you should be able to set the card up for other installations, like WinCE, etc.  So, keep the VMWare console around. &lt;br /&gt;
&lt;br /&gt;
== Reading the card ==&lt;br /&gt;
&lt;br /&gt;
Don&#039;t unplug the card when the SmartQ is switched on, it&#039;ll cause you pain. However, if you want to install stuff onto the card from the PC, you&#039;ll need your VMWare (or ext2fs tools for windows), to mount the card and copy files on/off.&lt;br /&gt;
&lt;br /&gt;
== Downloading applications ==&lt;br /&gt;
&lt;br /&gt;
Mer is maturing all the time, and new Applications are being developed for it.  Check the app manager from time to time to see if there&#039;s new apps on the internet.&lt;br /&gt;
&lt;br /&gt;
== Developing for Mer ==&lt;br /&gt;
&lt;br /&gt;
The Mer team uses the &amp;quot;OBS&amp;quot; suite from OpenSuse, a remote-build-farm.  You get a username / &#039;garage ID&#039;, download the OBS toolkit inside your Ubuntu Virtual machine, and start coding.  the only difference is that you ask the OpenSuse build farm to build your app for you.  Once it&#039;s built you can install it on a simulated MID (called Scratchbox), or you can install it on the MID itself.&lt;br /&gt;
&lt;br /&gt;
= thanks =&lt;br /&gt;
&lt;br /&gt;
Thanks to lbt, zenvoid, meizirkki for helping me understand what&#039;s going on, and of course the whole Mer team for this awesome product, which may just save a good MID from oblivion :).  I hope this page proves useful, and allows more people to set up and play with Mer.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;nww02&#039;&#039;&lt;/div&gt;</summary>
		<author><name>84.51.141.236</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Mer/Documentation/SmartQ_Installation_for_the_Windows_user&amp;diff=24067</id>
		<title>Mer/Documentation/SmartQ Installation for the Windows user</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Mer/Documentation/SmartQ_Installation_for_the_Windows_user&amp;diff=24067"/>
		<updated>2009-09-24T22:45:23Z</updated>

		<summary type="html">&lt;p&gt;84.51.141.236: /* Installing Mer on the SD Card */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&lt;br /&gt;
This page is aimed at people who want to get set up with Mer, but don&#039;t necessarily want go around re-flashing firmware and lose the in-built Operating System on the SmartQ.  &lt;br /&gt;
&lt;br /&gt;
There are other how-tos on this site for the more experienced user, so this page is aimed at users who may know some stuff about Linux and/or windows, but have never done any embedded-linux stuff and/or really mucked about with memory block devices and so on.&lt;br /&gt;
&lt;br /&gt;
Disclaimer: This may not be the easiest way, but I&#039;ve used it a couple of times to get Mer set up and booting from the SD card.  It really helps to know a bit of linux, or at least know a little about DOS, disks and partitions.   Also, having a VMWare linux machine really helps to dig you out of a hole in case you muck up your SD card. :-)&lt;br /&gt;
&lt;br /&gt;
OK, that&#039;s the start over, time to get setting up....&lt;br /&gt;
&lt;br /&gt;
== What&#039;s going to happen? ==&lt;br /&gt;
&lt;br /&gt;
We&#039;re going to set up a &#039;virtual machine&#039;, which will allow us to do all this safely away from Windows.  The way the smartq boots is this:-&lt;br /&gt;
&lt;br /&gt;
* If a particular button is pressed, when the machine is switched on, then the SmartQ will choose to boot from the SD card.   It does so by looking at the end of the card (at a particular location) for a &#039;bootloader&#039;. this bootloader is a small program which hunts for a valid  Linux installation on the card, and then starts booting that.  So, we have to get this little chain of programs set up just right.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Shopping List =&lt;br /&gt;
&lt;br /&gt;
 * A SmartQ 5 / 7&lt;br /&gt;
 * 1 PC running Windows with &lt;br /&gt;
 * A vague knowledge of Linux or DOS and file systems.&lt;br /&gt;
 ** at least 1Gig RAM, &lt;br /&gt;
 ** 5 Gigs of Disk Space &lt;br /&gt;
 ** An SD card reader.&lt;br /&gt;
 ** An SD / SDHC Card with at least 6 gigs of RAM&lt;br /&gt;
 * About an hour to an hour and a half.&lt;br /&gt;
&lt;br /&gt;
= Getting Started =&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
Firstly, get the PC switched on. Ah, I see you&#039;ve already done that.  Good thinking.    Use &amp;quot;My Computer&amp;quot; to locate a drive with 5 or more gigs of space on it.  Keep a note of that drive.  If you can, create a folder on the root of that drive called something like &amp;quot;Virtual Machines&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== VMWare ==&lt;br /&gt;
&lt;br /&gt;
Right, step 2, download VMWare from [[http://www.vmware.com/download/player VMWare.com]]. It&#039;s free, but you need to put in some name / country information.  You&#039;ll have to reboot your PC a few times, but you should be used to that as a Windows owner ;-)&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
Now, download a ready-to-go Ubuntu &amp;quot;Virtual Appliance&amp;quot;.  This is a fancy word for a honking-big file which is a snapshot of a Linux PC.    Once VMWare is installed, there should be a link on the first window which says &#039;Download&#039; or &#039;Get&#039;.    &lt;br /&gt;
&lt;br /&gt;
*Click it, and search for an &amp;quot;Ubuntu 9.04 Desktop with VMWare Tools&amp;quot;.  You&#039;ll get a few hits.  One will be by &amp;quot;Chrysaor&amp;quot;.  That&#039;s what I use, and it&#039;s fine. &lt;br /&gt;
** Alternatively, and more easily, go to [[http://chrysaor.info/?page=ubuntu Chrysaor&#039;s Place]] and grab one from here directly.  Unzip it once it&#039;s downloaded.  Inside  the zip file will be an info.txt with the login credentials.  &lt;br /&gt;
&lt;br /&gt;
*Download it somewhere on your PC with lots of space, preferrably the location you found earlier, in a subfolder called ´Virtual Machines´ and not your desktop.  Once it&#039;s downloaded it&#039;ll create 5 to 10 more files in the same place, so it ´is´ best to stick it in a subdirectory.&lt;br /&gt;
*Once it&#039;s downloaded, go back to VMWare and click &#039;Open&#039;, then surf over to the &#039;vmx&#039; file you just downloaded, and sit back and enjoy the ubuntu loading screen.&lt;br /&gt;
&lt;br /&gt;
´´´ŃOTE´´´ We are NOT going to harm windows. VMWare contains the Linux in a safe harness and does not change or break windows in any way.&lt;br /&gt;
&lt;br /&gt;
*Once you&#039;re into Ubuntu, click on the &amp;quot;Devices v&amp;quot; button at the top, and look for your SD/SDHC card reader.  Mine says  &amp;quot;Alcor Micro Mass Storage Device&amp;quot;.  Select it, and click &amp;quot;Connect&amp;quot;.  Then do it again and select &amp;quot;Show icon in status bar&amp;quot;. This&#039;ll make it easier to see what&#039;s happening.&lt;br /&gt;
&lt;br /&gt;
= Using VMWare/Ubuntu to configure the SD card =&lt;br /&gt;
&lt;br /&gt;
== Installing Mer on the SD Card ==&lt;br /&gt;
&lt;br /&gt;
Click the Applications&amp;gt;Accessories&amp;gt;Terminal menu inside ubuntu and open up a command prompt.  Insert the SD card into your PC&#039;s SD reader, and check the little drive icon on the VMWare status bar.. it should flicker in time with the LED on your card reader... &lt;br /&gt;
&lt;br /&gt;
OK, so firstly, we need to get the stuff you&#039;re going to install on the SD card.&lt;br /&gt;
So, click the little Firefox logo at the top of the screen to get a browser.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; Before you download anything, it&#039;s important that we set the download folder.  By default it&#039;ll be your desktop, let&#039;s change it to your &#039;home&#039; folder... It&#039;ll be less typing.   &lt;br /&gt;
&lt;br /&gt;
* Click &#039;&#039;&#039;Edit&#039;&#039;&#039;, then &#039;&#039;&#039;Preferences&#039;&#039;&#039;, then the &#039;&#039;&#039;Browse&#039;&#039;&#039; button next to &#039;&#039;&#039;Save Files To&#039;&#039;&#039;.   &lt;br /&gt;
* In the dialog which appears you&#039;ll see three buttons at the top &#039;&amp;lt;&#039;,&#039;&amp;lt;your username&amp;gt;&#039; and &#039;Desktop&#039;.  &lt;br /&gt;
* Click the &#039;&#039;&#039;&amp;lt;&#039;&#039;&#039; button, and a button will appear with &#039;home&#039; in it.&lt;br /&gt;
* Click the &#039;&#039;&#039;Home&#039;&#039;&#039; button.  In the window you&#039;ll see your username now as a folder. &lt;br /&gt;
* Highlight the folder with &#039;&#039;&#039;your username&#039;&#039;&#039; (it may be just &#039;user&#039;, depending on which Ubuntu VM you grabbed).&lt;br /&gt;
* Click &#039;&#039;&#039;open&#039;&#039;&#039;.  When you return to the previous screen, the &#039;save files to&#039; option should now say something like &#039;&#039;/home/user&#039;&#039;.&lt;br /&gt;
* Click &#039;&#039;&#039;close&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
OK, now we know precisely where Moz will save your downloads, it&#039;s time to get those files.&lt;br /&gt;
&lt;br /&gt;
== Downloading everything ==&lt;br /&gt;
&lt;br /&gt;
* Go to [[http://wiki.maemo.org/Mer/Releases The releases page]] and grab the current stable release for your device. You want the ROOTFS version of the file, NOT the Firmware version.  This will go onto the SD card to make Mer.&lt;br /&gt;
&lt;br /&gt;
* Go to [[http://zenvoid.org/software/qi-smartq/ ZenVoid&#039;s Blog]] and grab the install-smartq-qi.sh and qi-smartq-20090612.bin files.  These will make the SD card bootable.&lt;br /&gt;
&lt;br /&gt;
* [Optional] If you&#039;re using 0.15testing5, you&#039;re also going to need the Marvell Wifi Drivers, so head to [[http://www.marvell.com/drivers/driverDisplay.do?driver=203 Marvell.com]] to get the driver.&lt;br /&gt;
&lt;br /&gt;
All of this should have downloaded to your &#039;home&#039; folder, or to your desktop.  So, at this point we need to go to a prompt and get Mer installed.&lt;br /&gt;
&lt;br /&gt;
So, click Applications&amp;gt;Accessories&amp;gt;Terminal.  This will dump you at a command prompt.  some useful commands are &#039;&#039;&#039;ls -l&#039;&#039;&#039; &#039;&#039;&#039;cd&#039;&#039;&#039; and &#039;&#039;&#039;sudo&#039;&#039;&#039;.  You&#039;ll be seeing a lot of these.&lt;br /&gt;
&lt;br /&gt;
== Setting up the SD Card ==&lt;br /&gt;
&lt;br /&gt;
So, firstly, the SD card will have been automounted, probably.  Linux assigns a &#039;device name&#039; to all its disks, and until you&#039;re familiar with the system, sometimes it takes a moment to locate a new drive...  A quick way to find out the device name (if the drive was auto-mounted), is to run &#039;&#039;&#039;df&#039;&#039;&#039;  to see the free space on all mounted disks.  One disk should be &#039;&#039;mounted&#039;&#039; under &#039;&#039;&#039;/media/disk&#039;&#039;&#039;.  Take a note of the disk&#039;s name, it should be /dev/sdb1 or /dev/sdc1.  the important part is the &amp;quot;sdb&amp;quot; or &amp;quot;sdc&amp;quot;.  From now on, I&#039;ll &#039;&#039;assume&#039;&#039; it&#039;s /dev/sdb1.  If you didn&#039;t see one, then you may need to ensure you&#039;ve added the right drive to VMWare in the steps above.  &lt;br /&gt;
&lt;br /&gt;
* type &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039; .  This will unmount the sd card ready for formatting&lt;br /&gt;
* type &#039;&#039;&#039;sudo fdisk /dev/sdb&#039;&#039;&#039;.  this will open the disk for partitioning.&lt;br /&gt;
* in fdisk, type &#039;&#039;&#039;p&#039;&#039;&#039; to print the partition list, there should be one &#039;sdb1&#039; of type &#039;FAT32&#039;.  This is the current card contents.  &lt;br /&gt;
* Press &#039;&#039;&#039;d&#039;&#039;&#039; and hit return.  This will delete the partiion. If you are asked for a partition number, enter &#039;1&#039;.  If there are more than one partition, repeat until running &#039;&#039;&#039;p&#039;&#039;&#039; shows no partitions left.&lt;br /&gt;
* Press &#039;&#039;&#039;n&#039;&#039;&#039; and hit return to create a new partition.   &lt;br /&gt;
** Press &#039;&#039;&#039;p&#039;&#039;&#039; and hit return to crate a primary partition&lt;br /&gt;
** Press &#039;&#039;&#039;1&#039;&#039;&#039; and hit return to create it as partition one.&lt;br /&gt;
** Press &#039;&#039;&#039;return&#039;&#039;&#039; to choose &#039;&#039;block 1&#039;&#039; to start the partition&lt;br /&gt;
** Do some mental maths and work out the end block by dividing the size of the disk by the total number of blocks. So if fdisk says your 16Gig card has &#039;1900&#039; blocks, then that&#039;s ~8Megs per block, so it&#039;s safe to end the partition at the last-block-but-one. (Remember we&#039;re leaving at least 1 Mb for the bootloader)   (If you want to add a swap partition, then choose a lower number, then repeat the partition-creation step, always remembering to leave at least 1Mb spare at the end of the card (high number).&lt;br /&gt;
* Press &#039;&#039;&#039;a&#039;&#039;&#039; and return to make a partition active, and choose partition 1.&lt;br /&gt;
** If you created a swap partition, press &#039;&#039;&#039;t&#039;&#039;&#039; and choose partition 2, and make it type &#039;&#039;82&#039;&#039;, Linux Swap.&lt;br /&gt;
** Press &#039;&#039;&#039;w&#039;&#039;&#039; and hit return to write the partition table (saving your work).&lt;br /&gt;
** Press &#039;&#039;&#039;q&#039;&#039;&#039; and hit return to exit.&lt;br /&gt;
&lt;br /&gt;
Right, that&#039;s the SD card partitioned up nicely.  Time to format the partition and put Mer on there.  It&#039;s likely that Ubuntu in it&#039;s ever-friendly way will attempt to re-mount the partition again.  So, run &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
** Type &#039;&#039;&#039;sudo mkfs.ext3 /dev/sdb1&#039;&#039;&#039;  to format the partition ready for Mer.  this will take a while, depending on the size / speed of your card.&lt;br /&gt;
&lt;br /&gt;
== Install the bootloader ==&lt;br /&gt;
OK, now it&#039;s time to install the Bootloader which will allow you to boot to Mer.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd&#039;&#039;&#039; and press return to &#039;&#039;go to your home folder&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; to list all your files.  If you don&#039;t see your downloaded files, they&#039;ll be on your desktop, so type &#039;&#039;&#039;cd Desktop&#039;&#039;&#039; (capitalisation is important). Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; again to see your files.  If you still can&#039;t see them, go into Mozilla and work out where your files ended up.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;sudo chmod a+rx install-smartq-qi.sh&#039;&#039;&#039;  - This will make the installer script &#039;runnable&#039;.&lt;br /&gt;
* Type &#039;&#039;&#039;sudo ./install-smartq-qi.sh /dev/sdb qi-smartq-20090612.bin&#039;&#039;&#039;   - This will install the boot loader onto the SD card for you.  &lt;br /&gt;
&lt;br /&gt;
== Install Mer ==&lt;br /&gt;
&lt;br /&gt;
Ok, now it&#039;s time to install mer on the SD card.   So we need to &#039;mount&#039; the card, and move some files about.  The easiest way to do this is unplug the sd card, and re-plug it, and let Ubuntu automount it.  If you&#039;d prefer to do it manually, here are some commands:-&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mkdir /media/disk&#039;&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mount /dev/sdb1 /media/disk&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s mounted, all you have to do is untar the rootfs... so assuming you have a SmartQ7, you downloaded the file &#039;&#039;mer-armel-smartq7-rootfs-v0.16testing5.tar.gz&#039;&#039;, or something similar, you should now type:-&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; and press return and ensure you are in the same folder as the Mer file.  If not, type &#039;&#039;&#039;cd&#039;&#039;&#039; (return) &#039;&#039;&#039;ls -l&#039;&#039;&#039; (return), and if it&#039;s not there, type &#039;&#039;&#039;cd Desktop&#039;&#039;&#039; (return), &#039;&#039;&#039;ls -l&#039;&#039;&#039; (return). At some point, you should find it. If not, re-download it in Mozilla, and choose to save it to the desktop.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mv *.tar.gz /media/disk&#039;&#039;&#039; . this will move the entire mer installation to the disk (so we can untar it easily).&lt;br /&gt;
* Type &#039;&#039;&#039;cd /media/disk&#039;&#039;&#039; and press return.  We will now be &#039;on&#039; the disk&lt;br /&gt;
* Type &#039;&#039;&#039;sudo untar xvf *.gz&#039;&#039;&#039; and press return.  This will now untar the entire &#039;rootfs&#039; to the card.  (Install Mer).&lt;br /&gt;
&lt;br /&gt;
After a few moments, the scrolling text will finish.  We&#039;re almost there!!!&lt;br /&gt;
&lt;br /&gt;
== Getting the bootloader to &#039;see&#039; Mer ==&lt;br /&gt;
&lt;br /&gt;
We&#039;re almost home and dry.  Just a little housekeeping to do.  The bootloader is pretty smart, but it needs the &#039;kernel file&#039; to have a special name so that it can find it on boot.  &lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd /media/disk/boot&#039;&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; and note that there&#039;s a file called &#039;zImage&#039; somthing.  That&#039;s the kernel file.  I&#039;ll assume it&#039;s &#039;zImage-smartq-200932&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;sudo cp zImage-smartq-200932 linux-SMDK6410.bin&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Getting the wifi working ==&lt;br /&gt;
&lt;br /&gt;
The SmartQs need to have a set of drivers installed to make their wifi work.  It&#039;s a fairly painless operation. You should already have downloaded the file... &lt;br /&gt;
With the SD-card mounted in /media/disk, copy the driver file to the &#039;media&#039; directory &#039;&#039;&#039;on the SD card&#039;&#039;&#039;. (i.e. /media/disk/media).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd&#039;&#039;&#039; (and press return) to &#039;&#039;return home&#039;&#039; . Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; (and press return).  You should see the file in the listing now.&lt;br /&gt;
* Type &#039;&#039;&#039;cp SD-8686*.zip /media/disk/media&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I would give you these instructions by using the UI, but it requires &#039;&#039;root privileges&#039;&#039; to copy a lot of these files.. and it&#039;s easier to use &#039;&#039;sudo&#039;&#039; for that.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OK. The File should be in place.  You&#039;ll find installation instructions elsewhere on this site for unpacking the zip. However, when you first start Mer, the kind developers have created installation scripts so when Mer first starts, it&#039;ll find this zip file and unpack it for you.  &lt;br /&gt;
&lt;br /&gt;
Right, we&#039;re pretty much ready to get this baby up and running.&lt;br /&gt;
&lt;br /&gt;
= Booting Into Mer =&lt;br /&gt;
&lt;br /&gt;
== Bye bye PC, hello SmartQ ==&lt;br /&gt;
&lt;br /&gt;
Unmount the card (right-click on the icon on the desktop and select unmount, or type the following.  Ensure that you&#039;ve closed all open windows which show the card&#039;s contents (Ubuntu may open a file browser if you chose to automount the card).&lt;br /&gt;
* &#039;&#039;&#039;cd&#039;&#039;&#039; (return)&lt;br /&gt;
* &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Pull the card out of your PC, and insert it into the Q5 / Q7 (upside down!).   It will need to be pushed in quite far until it clicks home.  Then, hold down the right-hand-most button on the top of the device, and plug in the power supply.   The LED should flash red, and perhaps green for a brief instant.. After a moment, the screen should go white.  You can let go of the button and enjoy Mer in all its glory.&lt;br /&gt;
&lt;br /&gt;
Currently, to switch off a Q5/7, you have to press the &#039;reset&#039; button on the bottom.  S&#039;why we formatted the disk with ext3, and not ext2 ;-)&lt;br /&gt;
&lt;br /&gt;
= Where to from here? =&lt;br /&gt;
&lt;br /&gt;
== Using VMWare ==&lt;br /&gt;
&lt;br /&gt;
Well, in the words of Ben Kenobi, youve taken your first step into a wiser world.  You have a nice fresh Linux install to play with.  &lt;br /&gt;
&lt;br /&gt;
VMWare is very fault tolerant, so when you want to put Linux away, just close the window.  When you want to resume, just open VMWare again, and Linux will auto-resume from where you left off.  &lt;br /&gt;
&lt;br /&gt;
It is very quick and quite safe.   If the Linux gets completely broken, just delete the virtual machine, re-download it, and start again, without having to muck about with installation CDs.&lt;br /&gt;
&lt;br /&gt;
== Recreating the card ==&lt;br /&gt;
&lt;br /&gt;
Well, now that you&#039;ve had a play with installing Mer, you should be able to set the card up for other installations, like WinCE, etc.  So, keep the VMWare console around. &lt;br /&gt;
&lt;br /&gt;
== Reading the card ==&lt;br /&gt;
&lt;br /&gt;
Don&#039;t unplug the card when the SmartQ is switched on, it&#039;ll cause you pain. However, if you want to install stuff onto the card from the PC, you&#039;ll need your VMWare (or ext2fs tools for windows), to mount the card and copy files on/off.&lt;br /&gt;
&lt;br /&gt;
== Downloading applications ==&lt;br /&gt;
&lt;br /&gt;
Mer is maturing all the time, and new Applications are being developed for it.  Check the app manager from time to time to see if there&#039;s new apps on the internet.&lt;br /&gt;
&lt;br /&gt;
== Developing for Mer ==&lt;br /&gt;
&lt;br /&gt;
The Mer team uses the &amp;quot;OBS&amp;quot; suite from OpenSuse, a remote-build-farm.  You get a username / &#039;garage ID&#039;, download the OBS toolkit inside your Ubuntu Virtual machine, and start coding.  the only difference is that you ask the OpenSuse build farm to build your app for you.  Once it&#039;s built you can install it on a simulated MID (called Scratchbox), or you can install it on the MID itself.&lt;br /&gt;
&lt;br /&gt;
= thanks =&lt;br /&gt;
&lt;br /&gt;
Thanks to lbt, zenvoid, meizirkki for helping me understand what&#039;s going on, and of course the whole Mer team for this awesome product, which may just save a good MID from oblivion :).  I hope this page proves useful, and allows more people to set up and play with Mer.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;nww02&#039;&#039;&lt;/div&gt;</summary>
		<author><name>84.51.141.236</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Mer/Documentation/SmartQ_Installation_for_the_Windows_user&amp;diff=24068</id>
		<title>Mer/Documentation/SmartQ Installation for the Windows user</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Mer/Documentation/SmartQ_Installation_for_the_Windows_user&amp;diff=24068"/>
		<updated>2009-09-24T22:38:31Z</updated>

		<summary type="html">&lt;p&gt;84.51.141.236: /* Getting the wifi working */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&lt;br /&gt;
This page is aimed at people who want to get set up with Mer, but don&#039;t necessarily want go around re-flashing firmware and lose the in-built Operating System on the SmartQ.  &lt;br /&gt;
&lt;br /&gt;
There are other how-tos on this site for the more experienced user, so this page is aimed at users who may know some stuff about Linux and/or windows, but have never done any embedded-linux stuff and/or really mucked about with memory block devices and so on.&lt;br /&gt;
&lt;br /&gt;
Disclaimer: This may not be the easiest way, but I&#039;ve used it a couple of times to get Mer set up and booting from the SD card.  It really helps to know a bit of linux, or at least know a little about DOS, disks and partitions.   Also, having a VMWare linux machine really helps to dig you out of a hole in case you muck up your SD card. :-)&lt;br /&gt;
&lt;br /&gt;
OK, that&#039;s the start over, time to get setting up....&lt;br /&gt;
&lt;br /&gt;
== What&#039;s going to happen? ==&lt;br /&gt;
&lt;br /&gt;
We&#039;re going to set up a &#039;virtual machine&#039;, which will allow us to do all this safely away from Windows.  The way the smartq boots is this:-&lt;br /&gt;
&lt;br /&gt;
* If a particular button is pressed, when the machine is switched on, then the SmartQ will choose to boot from the SD card.   It does so by looking at the end of the card (at a particular location) for a &#039;bootloader&#039;. this bootloader is a small program which hunts for a valid  Linux installation on the card, and then starts booting that.  So, we have to get this little chain of programs set up just right.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Shopping List =&lt;br /&gt;
&lt;br /&gt;
 * A SmartQ 5 / 7&lt;br /&gt;
 * 1 PC running Windows with &lt;br /&gt;
 * A vague knowledge of Linux or DOS and file systems.&lt;br /&gt;
 ** at least 1Gig RAM, &lt;br /&gt;
 ** 5 Gigs of Disk Space &lt;br /&gt;
 ** An SD card reader.&lt;br /&gt;
 ** An SD / SDHC Card with at least 6 gigs of RAM&lt;br /&gt;
 * About an hour to an hour and a half.&lt;br /&gt;
&lt;br /&gt;
= Getting Started =&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
Firstly, get the PC switched on. Ah, I see you&#039;ve already done that.  Good thinking.    Use &amp;quot;My Computer&amp;quot; to locate a drive with 5 or more gigs of space on it.  Keep a note of that drive.  If you can, create a folder on the root of that drive called something like &amp;quot;Virtual Machines&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== VMWare ==&lt;br /&gt;
&lt;br /&gt;
Right, step 2, download VMWare from [[http://www.vmware.com/download/player VMWare.com]]. It&#039;s free, but you need to put in some name / country information.  You&#039;ll have to reboot your PC a few times, but you should be used to that as a Windows owner ;-)&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
Now, download a ready-to-go Ubuntu &amp;quot;Virtual Appliance&amp;quot;.  This is a fancy word for a honking-big file which is a snapshot of a Linux PC.    Once VMWare is installed, there should be a link on the first window which says &#039;Download&#039; or &#039;Get&#039;.    &lt;br /&gt;
&lt;br /&gt;
*Click it, and search for an &amp;quot;Ubuntu 9.04 Desktop with VMWare Tools&amp;quot;.  You&#039;ll get a few hits.  One will be by &amp;quot;Chrysaor&amp;quot;.  That&#039;s what I use, and it&#039;s fine. &lt;br /&gt;
** Alternatively, and more easily, go to [[http://chrysaor.info/?page=ubuntu Chrysaor&#039;s Place]] and grab one from here directly.  Unzip it once it&#039;s downloaded.  Inside  the zip file will be an info.txt with the login credentials.  &lt;br /&gt;
&lt;br /&gt;
*Download it somewhere on your PC with lots of space, preferrably the location you found earlier, in a subfolder called ´Virtual Machines´ and not your desktop.  Once it&#039;s downloaded it&#039;ll create 5 to 10 more files in the same place, so it ´is´ best to stick it in a subdirectory.&lt;br /&gt;
*Once it&#039;s downloaded, go back to VMWare and click &#039;Open&#039;, then surf over to the &#039;vmx&#039; file you just downloaded, and sit back and enjoy the ubuntu loading screen.&lt;br /&gt;
&lt;br /&gt;
´´´ŃOTE´´´ We are NOT going to harm windows. VMWare contains the Linux in a safe harness and does not change or break windows in any way.&lt;br /&gt;
&lt;br /&gt;
*Once you&#039;re into Ubuntu, click on the &amp;quot;Devices v&amp;quot; button at the top, and look for your SD/SDHC card reader.  Mine says  &amp;quot;Alcor Micro Mass Storage Device&amp;quot;.  Select it, and click &amp;quot;Connect&amp;quot;.  Then do it again and select &amp;quot;Show icon in status bar&amp;quot;. This&#039;ll make it easier to see what&#039;s happening.&lt;br /&gt;
&lt;br /&gt;
= Using VMWare/Ubuntu to configure the SD card =&lt;br /&gt;
&lt;br /&gt;
== Installing Mer on the SD Card ==&lt;br /&gt;
&lt;br /&gt;
Click the Applications&amp;gt;Accessories&amp;gt;Terminal menu inside ubuntu and open up a command prompt.  Insert the SD card into your PC&#039;s SD reader, and check the little drive icon on the VMWare status bar.. it should flicker in time with the LED on your card reader... &lt;br /&gt;
&lt;br /&gt;
OK, so firstly, we need to get the stuff you&#039;re going to install on the SD card.&lt;br /&gt;
So, click the little Firefox logo at the top of the screen to get a browser, and grab the following three things:&lt;br /&gt;
&lt;br /&gt;
== Downloading everything ==&lt;br /&gt;
&lt;br /&gt;
* Go to [[http://wiki.maemo.org/Mer/Releases The releases page]] and grab the current stable release for your device. You want the ROOTFS version of the file, NOT the Firmware version.  This will go onto the SD card to make Mer.&lt;br /&gt;
&lt;br /&gt;
* Go to [[http://zenvoid.org/software/qi-smartq/ ZenVoid&#039;s Blog]] and grab the install-smartq-qi.sh and qi-smartq-20090612.bin files.  These will make the SD card bootable.&lt;br /&gt;
&lt;br /&gt;
* [Optional] If you&#039;re using 0.15testing5, you&#039;re also going to need the Marvell Wifi Drivers, so head to [[http://www.marvell.com/drivers/driverDisplay.do?driver=203 Marvell.com]] to get the driver.&lt;br /&gt;
&lt;br /&gt;
All of this should have downloaded to your &#039;home&#039; folder, or to your desktop.  So, at this point we need to go to a prompt and get Mer installed.&lt;br /&gt;
&lt;br /&gt;
So, click Applications&amp;gt;Accessories&amp;gt;Terminal.  This will dump you at a command prompt.  some useful commands are &#039;&#039;&#039;ls -l&#039;&#039;&#039; &#039;&#039;&#039;cd&#039;&#039;&#039; and &#039;&#039;&#039;sudo&#039;&#039;&#039;.  You&#039;ll be seeing a lot of these.&lt;br /&gt;
&lt;br /&gt;
== Setting up the SD Card ==&lt;br /&gt;
&lt;br /&gt;
So, firstly, the SD card will have been automounted, probably.  Linux assigns a &#039;device name&#039; to all its disks, and until you&#039;re familiar with the system, sometimes it takes a moment to locate a new drive...  A quick way to find out the device name (if the drive was auto-mounted), is to run &#039;&#039;&#039;df&#039;&#039;&#039;  to see the free space on all mounted disks.  One disk should be &#039;&#039;mounted&#039;&#039; under &#039;&#039;&#039;/media/disk&#039;&#039;&#039;.  Take a note of the disk&#039;s name, it should be /dev/sdb1 or /dev/sdc1.  the important part is the &amp;quot;sdb&amp;quot; or &amp;quot;sdc&amp;quot;.  From now on, I&#039;ll &#039;&#039;assume&#039;&#039; it&#039;s /dev/sdb1.  If you didn&#039;t see one, then you may need to ensure you&#039;ve added the right drive to VMWare in the steps above.  &lt;br /&gt;
&lt;br /&gt;
* type &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039; .  This will unmount the sd card ready for formatting&lt;br /&gt;
* type &#039;&#039;&#039;sudo fdisk /dev/sdb&#039;&#039;&#039;.  this will open the disk for partitioning.&lt;br /&gt;
* in fdisk, type &#039;&#039;&#039;p&#039;&#039;&#039; to print the partition list, there should be one &#039;sdb1&#039; of type &#039;FAT32&#039;.  This is the current card contents.  &lt;br /&gt;
* Press &#039;&#039;&#039;d&#039;&#039;&#039; and hit return.  This will delete the partiion. If you are asked for a partition number, enter &#039;1&#039;.  If there are more than one partition, repeat until running &#039;&#039;&#039;p&#039;&#039;&#039; shows no partitions left.&lt;br /&gt;
* Press &#039;&#039;&#039;n&#039;&#039;&#039; and hit return to create a new partition.   &lt;br /&gt;
** Press &#039;&#039;&#039;p&#039;&#039;&#039; and hit return to crate a primary partition&lt;br /&gt;
** Press &#039;&#039;&#039;1&#039;&#039;&#039; and hit return to create it as partition one.&lt;br /&gt;
** Press &#039;&#039;&#039;return&#039;&#039;&#039; to choose &#039;&#039;block 1&#039;&#039; to start the partition&lt;br /&gt;
** Do some mental maths and work out the end block by dividing the size of the disk by the total number of blocks. So if fdisk says your 16Gig card has &#039;1900&#039; blocks, then that&#039;s ~8Megs per block, so it&#039;s safe to end the partition at the last-block-but-one. (Remember we&#039;re leaving at least 1 Mb for the bootloader)   (If you want to add a swap partition, then choose a lower number, then repeat the partition-creation step, always remembering to leave at least 1Mb spare at the end of the card (high number).&lt;br /&gt;
* Press &#039;&#039;&#039;a&#039;&#039;&#039; and return to make a partition active, and choose partition 1.&lt;br /&gt;
** If you created a swap partition, press &#039;&#039;&#039;t&#039;&#039;&#039; and choose partition 2, and make it type &#039;&#039;82&#039;&#039;, Linux Swap.&lt;br /&gt;
** Press &#039;&#039;&#039;w&#039;&#039;&#039; and hit return to write the partition table (saving your work).&lt;br /&gt;
** Press &#039;&#039;&#039;q&#039;&#039;&#039; and hit return to exit.&lt;br /&gt;
&lt;br /&gt;
Right, that&#039;s the SD card partitioned up nicely.  Time to format the partition and put Mer on there.  It&#039;s likely that Ubuntu in it&#039;s ever-friendly way will attempt to re-mount the partition again.  So, run &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
** Type &#039;&#039;&#039;sudo mkfs.ext3 /dev/sdb1&#039;&#039;&#039;  to format the partition ready for Mer.  this will take a while, depending on the size / speed of your card.&lt;br /&gt;
&lt;br /&gt;
== Install the bootloader ==&lt;br /&gt;
OK, now it&#039;s time to install the Bootloader which will allow you to boot to Mer.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd&#039;&#039;&#039; and press return to &#039;&#039;go to your home folder&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; to list all your files.  If you don&#039;t see your downloaded files, they&#039;ll be on your desktop, so type &#039;&#039;&#039;cd Desktop&#039;&#039;&#039; (capitalisation is important). Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; again to see your files.  If you still can&#039;t see them, go into Mozilla and work out where your files ended up.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;sudo chmod a+rx install-smartq-qi.sh&#039;&#039;&#039;  - This will make the installer script &#039;runnable&#039;.&lt;br /&gt;
* Type &#039;&#039;&#039;sudo ./install-smartq-qi.sh /dev/sdb qi-smartq-20090612.bin&#039;&#039;&#039;   - This will install the boot loader onto the SD card for you.  &lt;br /&gt;
&lt;br /&gt;
== Install Mer ==&lt;br /&gt;
&lt;br /&gt;
Ok, now it&#039;s time to install mer on the SD card.   So we need to &#039;mount&#039; the card, and move some files about.  The easiest way to do this is unplug the sd card, and re-plug it, and let Ubuntu automount it.  If you&#039;d prefer to do it manually, here are some commands:-&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mkdir /media/disk&#039;&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mount /dev/sdb1 /media/disk&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s mounted, all you have to do is untar the rootfs... so assuming you have a SmartQ7, you downloaded the file &#039;&#039;mer-armel-smartq7-rootfs-v0.16testing5.tar.gz&#039;&#039;, or something similar, you should now type:-&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; and press return and ensure you are in the same folder as the Mer file.  If not, type &#039;&#039;&#039;cd&#039;&#039;&#039; (return) &#039;&#039;&#039;ls -l&#039;&#039;&#039; (return), and if it&#039;s not there, type &#039;&#039;&#039;cd Desktop&#039;&#039;&#039; (return), &#039;&#039;&#039;ls -l&#039;&#039;&#039; (return). At some point, you should find it. If not, re-download it in Mozilla, and choose to save it to the desktop.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mv *.tar.gz /media/disk&#039;&#039;&#039; . this will move the entire mer installation to the disk (so we can untar it easily).&lt;br /&gt;
* Type &#039;&#039;&#039;cd /media/disk&#039;&#039;&#039; and press return.  We will now be &#039;on&#039; the disk&lt;br /&gt;
* Type &#039;&#039;&#039;sudo untar xvf *.gz&#039;&#039;&#039; and press return.  This will now untar the entire &#039;rootfs&#039; to the card.  (Install Mer).&lt;br /&gt;
&lt;br /&gt;
After a few moments, the scrolling text will finish.  We&#039;re almost there!!!&lt;br /&gt;
&lt;br /&gt;
== Getting the bootloader to &#039;see&#039; Mer ==&lt;br /&gt;
&lt;br /&gt;
We&#039;re almost home and dry.  Just a little housekeeping to do.  The bootloader is pretty smart, but it needs the &#039;kernel file&#039; to have a special name so that it can find it on boot.  &lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd /media/disk/boot&#039;&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; and note that there&#039;s a file called &#039;zImage&#039; somthing.  That&#039;s the kernel file.  I&#039;ll assume it&#039;s &#039;zImage-smartq-200932&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;sudo cp zImage-smartq-200932 linux-SMDK6410.bin&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Getting the wifi working ==&lt;br /&gt;
&lt;br /&gt;
The SmartQs need to have a set of drivers installed to make their wifi work.  It&#039;s a fairly painless operation. You should already have downloaded the file... &lt;br /&gt;
With the SD-card mounted in /media/disk, copy the driver file to the &#039;media&#039; directory &#039;&#039;&#039;on the SD card&#039;&#039;&#039;. (i.e. /media/disk/media).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd&#039;&#039;&#039; (and press return) to &#039;&#039;return home&#039;&#039; . Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; (and press return).  You should see the file in the listing now.&lt;br /&gt;
* Type &#039;&#039;&#039;cp SD-8686*.zip /media/disk/media&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I would give you these instructions by using the UI, but it requires &#039;&#039;root privileges&#039;&#039; to copy a lot of these files.. and it&#039;s easier to use &#039;&#039;sudo&#039;&#039; for that.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OK. The File should be in place.  You&#039;ll find installation instructions elsewhere on this site for unpacking the zip. However, when you first start Mer, the kind developers have created installation scripts so when Mer first starts, it&#039;ll find this zip file and unpack it for you.  &lt;br /&gt;
&lt;br /&gt;
Right, we&#039;re pretty much ready to get this baby up and running.&lt;br /&gt;
&lt;br /&gt;
= Booting Into Mer =&lt;br /&gt;
&lt;br /&gt;
== Bye bye PC, hello SmartQ ==&lt;br /&gt;
&lt;br /&gt;
Unmount the card (right-click on the icon on the desktop and select unmount, or type the following.  Ensure that you&#039;ve closed all open windows which show the card&#039;s contents (Ubuntu may open a file browser if you chose to automount the card).&lt;br /&gt;
* &#039;&#039;&#039;cd&#039;&#039;&#039; (return)&lt;br /&gt;
* &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Pull the card out of your PC, and insert it into the Q5 / Q7 (upside down!).   It will need to be pushed in quite far until it clicks home.  Then, hold down the right-hand-most button on the top of the device, and plug in the power supply.   The LED should flash red, and perhaps green for a brief instant.. After a moment, the screen should go white.  You can let go of the button and enjoy Mer in all its glory.&lt;br /&gt;
&lt;br /&gt;
Currently, to switch off a Q5/7, you have to press the &#039;reset&#039; button on the bottom.  S&#039;why we formatted the disk with ext3, and not ext2 ;-)&lt;br /&gt;
&lt;br /&gt;
= Where to from here? =&lt;br /&gt;
&lt;br /&gt;
== Using VMWare ==&lt;br /&gt;
&lt;br /&gt;
Well, in the words of Ben Kenobi, youve taken your first step into a wiser world.  You have a nice fresh Linux install to play with.  &lt;br /&gt;
&lt;br /&gt;
VMWare is very fault tolerant, so when you want to put Linux away, just close the window.  When you want to resume, just open VMWare again, and Linux will auto-resume from where you left off.  &lt;br /&gt;
&lt;br /&gt;
It is very quick and quite safe.   If the Linux gets completely broken, just delete the virtual machine, re-download it, and start again, without having to muck about with installation CDs.&lt;br /&gt;
&lt;br /&gt;
== Recreating the card ==&lt;br /&gt;
&lt;br /&gt;
Well, now that you&#039;ve had a play with installing Mer, you should be able to set the card up for other installations, like WinCE, etc.  So, keep the VMWare console around. &lt;br /&gt;
&lt;br /&gt;
== Reading the card ==&lt;br /&gt;
&lt;br /&gt;
Don&#039;t unplug the card when the SmartQ is switched on, it&#039;ll cause you pain. However, if you want to install stuff onto the card from the PC, you&#039;ll need your VMWare (or ext2fs tools for windows), to mount the card and copy files on/off.&lt;br /&gt;
&lt;br /&gt;
== Downloading applications ==&lt;br /&gt;
&lt;br /&gt;
Mer is maturing all the time, and new Applications are being developed for it.  Check the app manager from time to time to see if there&#039;s new apps on the internet.&lt;br /&gt;
&lt;br /&gt;
== Developing for Mer ==&lt;br /&gt;
&lt;br /&gt;
The Mer team uses the &amp;quot;OBS&amp;quot; suite from OpenSuse, a remote-build-farm.  You get a username / &#039;garage ID&#039;, download the OBS toolkit inside your Ubuntu Virtual machine, and start coding.  the only difference is that you ask the OpenSuse build farm to build your app for you.  Once it&#039;s built you can install it on a simulated MID (called Scratchbox), or you can install it on the MID itself.&lt;br /&gt;
&lt;br /&gt;
= thanks =&lt;br /&gt;
&lt;br /&gt;
Thanks to lbt, zenvoid, meizirkki for helping me understand what&#039;s going on, and of course the whole Mer team for this awesome product, which may just save a good MID from oblivion :).  I hope this page proves useful, and allows more people to set up and play with Mer.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;nww02&#039;&#039;&lt;/div&gt;</summary>
		<author><name>84.51.141.236</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Mer/Documentation&amp;diff=23626</id>
		<title>Mer/Documentation</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Mer/Documentation&amp;diff=23626"/>
		<updated>2009-09-24T19:05:39Z</updated>

		<summary type="html">&lt;p&gt;84.51.141.236: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Mer/Documentation/SDK|Software Development Kit]]&lt;br /&gt;
* [[Mer/Documentation/Getting_your_package_included|Getting your package included in repository]]&lt;br /&gt;
* [[Mer/Documentation/Making_x86_Mer_Bootable|Making x86 Mer bootable]]&lt;br /&gt;
* [[Mer/Documentation/Imager|Imager]]&lt;br /&gt;
* [[Mer/Documentation/Straightjacket_Packages|Straightjacket_Packages]]&lt;br /&gt;
* [[Mer/Documentation/Maemo_Compatible|Compatible closed source packages from Maemo]]&lt;br /&gt;
* [[Mer/Documentation/BME_Protocol]]&lt;br /&gt;
* [[Mer/Documentation/Bootmenu|Configuring own Boottargets]]&lt;br /&gt;
* [[Mer/Documentation/Installation|Installing Mer]]&lt;br /&gt;
* [[Mer/Documentation/AppCompat|Software Compatibility]]&lt;br /&gt;
* [[Mer/Documentation/Common_Packages|Common Packages]]&lt;br /&gt;
* [[Mer/Documentation/Creating_new_themes|Creating new themes for Mer]] (Unfinished)&lt;br /&gt;
* [[Mer/Documentation/USB_Networking]]&lt;br /&gt;
* [[Mer/Documentation/Sound]]&lt;br /&gt;
* [[Mer/Documentation/ARM CPU]]&lt;br /&gt;
* [[Mer/Documentation/Mer Package Patch Handling]]&lt;br /&gt;
* [[Mer/Documentation/N810_GPS|N810 GPS Instructions]]&lt;br /&gt;
* [[Mer/Documentation/Fluxbox|N810 Fluxbox how-to]]&lt;br /&gt;
* [[Mer/Documentation/Vala_control_panel|Control Panel applets in Vala]]&lt;br /&gt;
* [[Mer/Documentation/N8x0_Skype|Skype for Nokia n8x0]]&lt;br /&gt;
* [[Mer/Documentation/Hildon_Input_Method|Hildon Input Method]] - virtual keyboards etc&lt;br /&gt;
* [[Mer/Documentation/SmartQ_Installation_for_the_Windows_user|Installing Mer on an SD Card for SmartQ devices]] - for Windows users&lt;br /&gt;
[[Category:Mer|Documentation]]&lt;/div&gt;</summary>
		<author><name>84.51.141.236</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Mer/Documentation/SmartQ_Installation_for_the_Windows_user&amp;diff=24069</id>
		<title>Mer/Documentation/SmartQ Installation for the Windows user</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Mer/Documentation/SmartQ_Installation_for_the_Windows_user&amp;diff=24069"/>
		<updated>2009-09-24T19:01:49Z</updated>

		<summary type="html">&lt;p&gt;84.51.141.236: /* Using VMWare */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&lt;br /&gt;
This page is aimed at people who want to get set up with Mer, but don&#039;t necessarily want go around re-flashing firmware and lose the in-built Operating System on the SmartQ.  &lt;br /&gt;
&lt;br /&gt;
There are other how-tos on this site for the more experienced user, so this page is aimed at users who may know some stuff about Linux and/or windows, but have never done any embedded-linux stuff and/or really mucked about with memory block devices and so on.&lt;br /&gt;
&lt;br /&gt;
Disclaimer: This may not be the easiest way, but I&#039;ve used it a couple of times to get Mer set up and booting from the SD card.  It really helps to know a bit of linux, or at least know a little about DOS, disks and partitions.   Also, having a VMWare linux machine really helps to dig you out of a hole in case you muck up your SD card. :-)&lt;br /&gt;
&lt;br /&gt;
OK, that&#039;s the start over, time to get setting up....&lt;br /&gt;
&lt;br /&gt;
== What&#039;s going to happen? ==&lt;br /&gt;
&lt;br /&gt;
We&#039;re going to set up a &#039;virtual machine&#039;, which will allow us to do all this safely away from Windows.  The way the smartq boots is this:-&lt;br /&gt;
&lt;br /&gt;
* If a particular button is pressed, when the machine is switched on, then the SmartQ will choose to boot from the SD card.   It does so by looking at the end of the card (at a particular location) for a &#039;bootloader&#039;. this bootloader is a small program which hunts for a valid  Linux installation on the card, and then starts booting that.  So, we have to get this little chain of programs set up just right.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Shopping List =&lt;br /&gt;
&lt;br /&gt;
 * A SmartQ 5 / 7&lt;br /&gt;
 * 1 PC running Windows with &lt;br /&gt;
 * A vague knowledge of Linux or DOS and file systems.&lt;br /&gt;
 ** at least 1Gig RAM, &lt;br /&gt;
 ** 5 Gigs of Disk Space &lt;br /&gt;
 ** An SD card reader.&lt;br /&gt;
 ** An SD / SDHC Card with at least 6 gigs of RAM&lt;br /&gt;
 * About an hour to an hour and a half.&lt;br /&gt;
&lt;br /&gt;
= Getting Started =&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
Firstly, get the PC switched on. Ah, I see you&#039;ve already done that.  Good thinking.    Use &amp;quot;My Computer&amp;quot; to locate a drive with 5 or more gigs of space on it.  Keep a note of that drive.  If you can, create a folder on the root of that drive called something like &amp;quot;Virtual Machines&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== VMWare ==&lt;br /&gt;
&lt;br /&gt;
Right, step 2, download VMWare from [[http://www.vmware.com/download/player VMWare.com]]. It&#039;s free, but you need to put in some name / country information.  You&#039;ll have to reboot your PC a few times, but you should be used to that as a Windows owner ;-)&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
Now, download a ready-to-go Ubuntu &amp;quot;Virtual Appliance&amp;quot;.  This is a fancy word for a honking-big file which is a snapshot of a Linux PC.    Once VMWare is installed, there should be a link on the first window which says &#039;Download&#039; or &#039;Get&#039;.    &lt;br /&gt;
&lt;br /&gt;
*Click it, and search for an &amp;quot;Ubuntu 9.04 Desktop with VMWare Tools&amp;quot;.  You&#039;ll get a few hits.  One will be by &amp;quot;Chrysaor&amp;quot;.  That&#039;s what I use, and it&#039;s fine. &lt;br /&gt;
** Alternatively, and more easily, go to [[http://chrysaor.info/?page=ubuntu Chrysaor&#039;s Place]] and grab one from here directly.  Unzip it once it&#039;s downloaded.  Inside  the zip file will be an info.txt with the login credentials.  &lt;br /&gt;
&lt;br /&gt;
*Download it somewhere on your PC with lots of space, preferrably the location you found earlier, in a subfolder called ´Virtual Machines´ and not your desktop.  Once it&#039;s downloaded it&#039;ll create 5 to 10 more files in the same place, so it ´is´ best to stick it in a subdirectory.&lt;br /&gt;
*Once it&#039;s downloaded, go back to VMWare and click &#039;Open&#039;, then surf over to the &#039;vmx&#039; file you just downloaded, and sit back and enjoy the ubuntu loading screen.&lt;br /&gt;
&lt;br /&gt;
´´´ŃOTE´´´ We are NOT going to harm windows. VMWare contains the Linux in a safe harness and does not change or break windows in any way.&lt;br /&gt;
&lt;br /&gt;
*Once you&#039;re into Ubuntu, click on the &amp;quot;Devices v&amp;quot; button at the top, and look for your SD/SDHC card reader.  Mine says  &amp;quot;Alcor Micro Mass Storage Device&amp;quot;.  Select it, and click &amp;quot;Connect&amp;quot;.  Then do it again and select &amp;quot;Show icon in status bar&amp;quot;. This&#039;ll make it easier to see what&#039;s happening.&lt;br /&gt;
&lt;br /&gt;
= Using VMWare/Ubuntu to configure the SD card =&lt;br /&gt;
&lt;br /&gt;
== Installing Mer on the SD Card ==&lt;br /&gt;
&lt;br /&gt;
Click the Applications&amp;gt;Accessories&amp;gt;Terminal menu inside ubuntu and open up a command prompt.  Insert the SD card into your PC&#039;s SD reader, and check the little drive icon on the VMWare status bar.. it should flicker in time with the LED on your card reader... &lt;br /&gt;
&lt;br /&gt;
OK, so firstly, we need to get the stuff you&#039;re going to install on the SD card.&lt;br /&gt;
So, click the little Firefox logo at the top of the screen to get a browser, and grab the following three things:&lt;br /&gt;
&lt;br /&gt;
== Downloading everything ==&lt;br /&gt;
&lt;br /&gt;
* Go to [[http://wiki.maemo.org/Mer/Releases The releases page]] and grab the current stable release for your device. You want the ROOTFS version of the file, NOT the Firmware version.  This will go onto the SD card to make Mer.&lt;br /&gt;
&lt;br /&gt;
* Go to [[http://zenvoid.org/software/qi-smartq/ ZenVoid&#039;s Blog]] and grab the install-smartq-qi.sh and qi-smartq-20090612.bin files.  These will make the SD card bootable.&lt;br /&gt;
&lt;br /&gt;
* [Optional] If you&#039;re using 0.15testing5, you&#039;re also going to need the Marvell Wifi Drivers, so head to [[http://www.marvell.com/drivers/driverDisplay.do?driver=203 Marvell.com]] to get the driver.&lt;br /&gt;
&lt;br /&gt;
All of this should have downloaded to your &#039;home&#039; folder, or to your desktop.  So, at this point we need to go to a prompt and get Mer installed.&lt;br /&gt;
&lt;br /&gt;
So, click Applications&amp;gt;Accessories&amp;gt;Terminal.  This will dump you at a command prompt.  some useful commands are &#039;&#039;&#039;ls -l&#039;&#039;&#039; &#039;&#039;&#039;cd&#039;&#039;&#039; and &#039;&#039;&#039;sudo&#039;&#039;&#039;.  You&#039;ll be seeing a lot of these.&lt;br /&gt;
&lt;br /&gt;
== Setting up the SD Card ==&lt;br /&gt;
&lt;br /&gt;
So, firstly, the SD card will have been automounted, probably.  Linux assigns a &#039;device name&#039; to all its disks, and until you&#039;re familiar with the system, sometimes it takes a moment to locate a new drive...  A quick way to find out the device name (if the drive was auto-mounted), is to run &#039;&#039;&#039;df&#039;&#039;&#039;  to see the free space on all mounted disks.  One disk should be &#039;&#039;mounted&#039;&#039; under &#039;&#039;&#039;/media/disk&#039;&#039;&#039;.  Take a note of the disk&#039;s name, it should be /dev/sdb1 or /dev/sdc1.  the important part is the &amp;quot;sdb&amp;quot; or &amp;quot;sdc&amp;quot;.  From now on, I&#039;ll &#039;&#039;assume&#039;&#039; it&#039;s /dev/sdb1.  If you didn&#039;t see one, then you may need to ensure you&#039;ve added the right drive to VMWare in the steps above.  &lt;br /&gt;
&lt;br /&gt;
* type &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039; .  This will unmount the sd card ready for formatting&lt;br /&gt;
* type &#039;&#039;&#039;sudo fdisk /dev/sdb&#039;&#039;&#039;.  this will open the disk for partitioning.&lt;br /&gt;
* in fdisk, type &#039;&#039;&#039;p&#039;&#039;&#039; to print the partition list, there should be one &#039;sdb1&#039; of type &#039;FAT32&#039;.  This is the current card contents.  &lt;br /&gt;
* Press &#039;&#039;&#039;d&#039;&#039;&#039; and hit return.  This will delete the partiion. If you are asked for a partition number, enter &#039;1&#039;.  If there are more than one partition, repeat until running &#039;&#039;&#039;p&#039;&#039;&#039; shows no partitions left.&lt;br /&gt;
* Press &#039;&#039;&#039;n&#039;&#039;&#039; and hit return to create a new partition.   &lt;br /&gt;
** Press &#039;&#039;&#039;p&#039;&#039;&#039; and hit return to crate a primary partition&lt;br /&gt;
** Press &#039;&#039;&#039;1&#039;&#039;&#039; and hit return to create it as partition one.&lt;br /&gt;
** Press &#039;&#039;&#039;return&#039;&#039;&#039; to choose &#039;&#039;block 1&#039;&#039; to start the partition&lt;br /&gt;
** Do some mental maths and work out the end block by dividing the size of the disk by the total number of blocks. So if fdisk says your 16Gig card has &#039;1900&#039; blocks, then that&#039;s ~8Megs per block, so it&#039;s safe to end the partition at the last-block-but-one. (Remember we&#039;re leaving at least 1 Mb for the bootloader)   (If you want to add a swap partition, then choose a lower number, then repeat the partition-creation step, always remembering to leave at least 1Mb spare at the end of the card (high number).&lt;br /&gt;
* Press &#039;&#039;&#039;a&#039;&#039;&#039; and return to make a partition active, and choose partition 1.&lt;br /&gt;
** If you created a swap partition, press &#039;&#039;&#039;t&#039;&#039;&#039; and choose partition 2, and make it type &#039;&#039;82&#039;&#039;, Linux Swap.&lt;br /&gt;
** Press &#039;&#039;&#039;w&#039;&#039;&#039; and hit return to write the partition table (saving your work).&lt;br /&gt;
** Press &#039;&#039;&#039;q&#039;&#039;&#039; and hit return to exit.&lt;br /&gt;
&lt;br /&gt;
Right, that&#039;s the SD card partitioned up nicely.  Time to format the partition and put Mer on there.  It&#039;s likely that Ubuntu in it&#039;s ever-friendly way will attempt to re-mount the partition again.  So, run &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
** Type &#039;&#039;&#039;sudo mkfs.ext3 /dev/sdb1&#039;&#039;&#039;  to format the partition ready for Mer.  this will take a while, depending on the size / speed of your card.&lt;br /&gt;
&lt;br /&gt;
== Install the bootloader ==&lt;br /&gt;
OK, now it&#039;s time to install the Bootloader which will allow you to boot to Mer.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd&#039;&#039;&#039; and press return to &#039;&#039;go to your home folder&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; to list all your files.  If you don&#039;t see your downloaded files, they&#039;ll be on your desktop, so type &#039;&#039;&#039;cd Desktop&#039;&#039;&#039; (capitalisation is important). Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; again to see your files.  If you still can&#039;t see them, go into Mozilla and work out where your files ended up.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;sudo chmod a+rx install-smartq-qi.sh&#039;&#039;&#039;  - This will make the installer script &#039;runnable&#039;.&lt;br /&gt;
* Type &#039;&#039;&#039;sudo ./install-smartq-qi.sh /dev/sdb qi-smartq-20090612.bin&#039;&#039;&#039;   - This will install the boot loader onto the SD card for you.  &lt;br /&gt;
&lt;br /&gt;
== Install Mer ==&lt;br /&gt;
&lt;br /&gt;
Ok, now it&#039;s time to install mer on the SD card.   So we need to &#039;mount&#039; the card, and move some files about.  The easiest way to do this is unplug the sd card, and re-plug it, and let Ubuntu automount it.  If you&#039;d prefer to do it manually, here are some commands:-&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mkdir /media/disk&#039;&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mount /dev/sdb1 /media/disk&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s mounted, all you have to do is untar the rootfs... so assuming you have a SmartQ7, you downloaded the file &#039;&#039;mer-armel-smartq7-rootfs-v0.16testing5.tar.gz&#039;&#039;, or something similar, you should now type:-&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; and press return and ensure you are in the same folder as the Mer file.  If not, type &#039;&#039;&#039;cd&#039;&#039;&#039; (return) &#039;&#039;&#039;ls -l&#039;&#039;&#039; (return), and if it&#039;s not there, type &#039;&#039;&#039;cd Desktop&#039;&#039;&#039; (return), &#039;&#039;&#039;ls -l&#039;&#039;&#039; (return). At some point, you should find it. If not, re-download it in Mozilla, and choose to save it to the desktop.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mv *.tar.gz /media/disk&#039;&#039;&#039; . this will move the entire mer installation to the disk (so we can untar it easily).&lt;br /&gt;
* Type &#039;&#039;&#039;cd /media/disk&#039;&#039;&#039; and press return.  We will now be &#039;on&#039; the disk&lt;br /&gt;
* Type &#039;&#039;&#039;sudo untar xvf *.gz&#039;&#039;&#039; and press return.  This will now untar the entire &#039;rootfs&#039; to the card.  (Install Mer).&lt;br /&gt;
&lt;br /&gt;
After a few moments, the scrolling text will finish.  We&#039;re almost there!!!&lt;br /&gt;
&lt;br /&gt;
== Getting the bootloader to &#039;see&#039; Mer ==&lt;br /&gt;
&lt;br /&gt;
We&#039;re almost home and dry.  Just a little housekeeping to do.  The bootloader is pretty smart, but it needs the &#039;kernel file&#039; to have a special name so that it can find it on boot.  &lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd /media/disk/boot&#039;&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; and note that there&#039;s a file called &#039;zImage&#039; somthing.  That&#039;s the kernel file.  I&#039;ll assume it&#039;s &#039;zImage-smartq-200932&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;sudo cp zImage-smartq-200932 linux-SMDK6410.bin&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Getting the wifi working ==&lt;br /&gt;
&lt;br /&gt;
* I am still trying to get this working myself... will complete when I know how.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Booting Into Mer =&lt;br /&gt;
&lt;br /&gt;
== Bye bye PC, hello SmartQ ==&lt;br /&gt;
&lt;br /&gt;
Unmount the card (right-click on the icon on the desktop and select unmount, or type the following.  Ensure that you&#039;ve closed all open windows which show the card&#039;s contents (Ubuntu may open a file browser if you chose to automount the card).&lt;br /&gt;
* &#039;&#039;&#039;cd&#039;&#039;&#039; (return)&lt;br /&gt;
* &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Pull the card out of your PC, and insert it into the Q5 / Q7 (upside down!).   It will need to be pushed in quite far until it clicks home.  Then, hold down the right-hand-most button on the top of the device, and plug in the power supply.   The LED should flash red, and perhaps green for a brief instant.. After a moment, the screen should go white.  You can let go of the button and enjoy Mer in all its glory.&lt;br /&gt;
&lt;br /&gt;
Currently, to switch off a Q5/7, you have to press the &#039;reset&#039; button on the bottom.  S&#039;why we formatted the disk with ext3, and not ext2 ;-)&lt;br /&gt;
&lt;br /&gt;
= Where to from here? =&lt;br /&gt;
&lt;br /&gt;
== Using VMWare ==&lt;br /&gt;
&lt;br /&gt;
Well, in the words of Ben Kenobi, youve taken your first step into a wiser world.  You have a nice fresh Linux install to play with.  &lt;br /&gt;
&lt;br /&gt;
VMWare is very fault tolerant, so when you want to put Linux away, just close the window.  When you want to resume, just open VMWare again, and Linux will auto-resume from where you left off.  &lt;br /&gt;
&lt;br /&gt;
It is very quick and quite safe.   If the Linux gets completely broken, just delete the virtual machine, re-download it, and start again, without having to muck about with installation CDs.&lt;br /&gt;
&lt;br /&gt;
== Recreating the card ==&lt;br /&gt;
&lt;br /&gt;
Well, now that you&#039;ve had a play with installing Mer, you should be able to set the card up for other installations, like WinCE, etc.  So, keep the VMWare console around. &lt;br /&gt;
&lt;br /&gt;
== Reading the card ==&lt;br /&gt;
&lt;br /&gt;
Don&#039;t unplug the card when the SmartQ is switched on, it&#039;ll cause you pain. However, if you want to install stuff onto the card from the PC, you&#039;ll need your VMWare (or ext2fs tools for windows), to mount the card and copy files on/off.&lt;br /&gt;
&lt;br /&gt;
== Downloading applications ==&lt;br /&gt;
&lt;br /&gt;
Mer is maturing all the time, and new Applications are being developed for it.  Check the app manager from time to time to see if there&#039;s new apps on the internet.&lt;br /&gt;
&lt;br /&gt;
== Developing for Mer ==&lt;br /&gt;
&lt;br /&gt;
The Mer team uses the &amp;quot;OBS&amp;quot; suite from OpenSuse, a remote-build-farm.  You get a username / &#039;garage ID&#039;, download the OBS toolkit inside your Ubuntu Virtual machine, and start coding.  the only difference is that you ask the OpenSuse build farm to build your app for you.  Once it&#039;s built you can install it on a simulated MID (called Scratchbox), or you can install it on the MID itself.&lt;br /&gt;
&lt;br /&gt;
= thanks =&lt;br /&gt;
&lt;br /&gt;
Thanks to lbt, zenvoid, meizirkki for helping me understand what&#039;s going on, and of course the whole Mer team for this awesome product, which may just save a good MID from oblivion :).  I hope this page proves useful, and allows more people to set up and play with Mer.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;nww02&#039;&#039;&lt;/div&gt;</summary>
		<author><name>84.51.141.236</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Mer/Documentation/SmartQ_Installation_for_the_Windows_user&amp;diff=24070</id>
		<title>Mer/Documentation/SmartQ Installation for the Windows user</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Mer/Documentation/SmartQ_Installation_for_the_Windows_user&amp;diff=24070"/>
		<updated>2009-09-24T19:01:05Z</updated>

		<summary type="html">&lt;p&gt;84.51.141.236: /* Where to from here? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&lt;br /&gt;
This page is aimed at people who want to get set up with Mer, but don&#039;t necessarily want go around re-flashing firmware and lose the in-built Operating System on the SmartQ.  &lt;br /&gt;
&lt;br /&gt;
There are other how-tos on this site for the more experienced user, so this page is aimed at users who may know some stuff about Linux and/or windows, but have never done any embedded-linux stuff and/or really mucked about with memory block devices and so on.&lt;br /&gt;
&lt;br /&gt;
Disclaimer: This may not be the easiest way, but I&#039;ve used it a couple of times to get Mer set up and booting from the SD card.  It really helps to know a bit of linux, or at least know a little about DOS, disks and partitions.   Also, having a VMWare linux machine really helps to dig you out of a hole in case you muck up your SD card. :-)&lt;br /&gt;
&lt;br /&gt;
OK, that&#039;s the start over, time to get setting up....&lt;br /&gt;
&lt;br /&gt;
== What&#039;s going to happen? ==&lt;br /&gt;
&lt;br /&gt;
We&#039;re going to set up a &#039;virtual machine&#039;, which will allow us to do all this safely away from Windows.  The way the smartq boots is this:-&lt;br /&gt;
&lt;br /&gt;
* If a particular button is pressed, when the machine is switched on, then the SmartQ will choose to boot from the SD card.   It does so by looking at the end of the card (at a particular location) for a &#039;bootloader&#039;. this bootloader is a small program which hunts for a valid  Linux installation on the card, and then starts booting that.  So, we have to get this little chain of programs set up just right.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Shopping List =&lt;br /&gt;
&lt;br /&gt;
 * A SmartQ 5 / 7&lt;br /&gt;
 * 1 PC running Windows with &lt;br /&gt;
 * A vague knowledge of Linux or DOS and file systems.&lt;br /&gt;
 ** at least 1Gig RAM, &lt;br /&gt;
 ** 5 Gigs of Disk Space &lt;br /&gt;
 ** An SD card reader.&lt;br /&gt;
 ** An SD / SDHC Card with at least 6 gigs of RAM&lt;br /&gt;
 * About an hour to an hour and a half.&lt;br /&gt;
&lt;br /&gt;
= Getting Started =&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
Firstly, get the PC switched on. Ah, I see you&#039;ve already done that.  Good thinking.    Use &amp;quot;My Computer&amp;quot; to locate a drive with 5 or more gigs of space on it.  Keep a note of that drive.  If you can, create a folder on the root of that drive called something like &amp;quot;Virtual Machines&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== VMWare ==&lt;br /&gt;
&lt;br /&gt;
Right, step 2, download VMWare from [[http://www.vmware.com/download/player VMWare.com]]. It&#039;s free, but you need to put in some name / country information.  You&#039;ll have to reboot your PC a few times, but you should be used to that as a Windows owner ;-)&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
Now, download a ready-to-go Ubuntu &amp;quot;Virtual Appliance&amp;quot;.  This is a fancy word for a honking-big file which is a snapshot of a Linux PC.    Once VMWare is installed, there should be a link on the first window which says &#039;Download&#039; or &#039;Get&#039;.    &lt;br /&gt;
&lt;br /&gt;
*Click it, and search for an &amp;quot;Ubuntu 9.04 Desktop with VMWare Tools&amp;quot;.  You&#039;ll get a few hits.  One will be by &amp;quot;Chrysaor&amp;quot;.  That&#039;s what I use, and it&#039;s fine. &lt;br /&gt;
** Alternatively, and more easily, go to [[http://chrysaor.info/?page=ubuntu Chrysaor&#039;s Place]] and grab one from here directly.  Unzip it once it&#039;s downloaded.  Inside  the zip file will be an info.txt with the login credentials.  &lt;br /&gt;
&lt;br /&gt;
*Download it somewhere on your PC with lots of space, preferrably the location you found earlier, in a subfolder called ´Virtual Machines´ and not your desktop.  Once it&#039;s downloaded it&#039;ll create 5 to 10 more files in the same place, so it ´is´ best to stick it in a subdirectory.&lt;br /&gt;
*Once it&#039;s downloaded, go back to VMWare and click &#039;Open&#039;, then surf over to the &#039;vmx&#039; file you just downloaded, and sit back and enjoy the ubuntu loading screen.&lt;br /&gt;
&lt;br /&gt;
´´´ŃOTE´´´ We are NOT going to harm windows. VMWare contains the Linux in a safe harness and does not change or break windows in any way.&lt;br /&gt;
&lt;br /&gt;
*Once you&#039;re into Ubuntu, click on the &amp;quot;Devices v&amp;quot; button at the top, and look for your SD/SDHC card reader.  Mine says  &amp;quot;Alcor Micro Mass Storage Device&amp;quot;.  Select it, and click &amp;quot;Connect&amp;quot;.  Then do it again and select &amp;quot;Show icon in status bar&amp;quot;. This&#039;ll make it easier to see what&#039;s happening.&lt;br /&gt;
&lt;br /&gt;
= Using VMWare/Ubuntu to configure the SD card =&lt;br /&gt;
&lt;br /&gt;
== Installing Mer on the SD Card ==&lt;br /&gt;
&lt;br /&gt;
Click the Applications&amp;gt;Accessories&amp;gt;Terminal menu inside ubuntu and open up a command prompt.  Insert the SD card into your PC&#039;s SD reader, and check the little drive icon on the VMWare status bar.. it should flicker in time with the LED on your card reader... &lt;br /&gt;
&lt;br /&gt;
OK, so firstly, we need to get the stuff you&#039;re going to install on the SD card.&lt;br /&gt;
So, click the little Firefox logo at the top of the screen to get a browser, and grab the following three things:&lt;br /&gt;
&lt;br /&gt;
== Downloading everything ==&lt;br /&gt;
&lt;br /&gt;
* Go to [[http://wiki.maemo.org/Mer/Releases The releases page]] and grab the current stable release for your device. You want the ROOTFS version of the file, NOT the Firmware version.  This will go onto the SD card to make Mer.&lt;br /&gt;
&lt;br /&gt;
* Go to [[http://zenvoid.org/software/qi-smartq/ ZenVoid&#039;s Blog]] and grab the install-smartq-qi.sh and qi-smartq-20090612.bin files.  These will make the SD card bootable.&lt;br /&gt;
&lt;br /&gt;
* [Optional] If you&#039;re using 0.15testing5, you&#039;re also going to need the Marvell Wifi Drivers, so head to [[http://www.marvell.com/drivers/driverDisplay.do?driver=203 Marvell.com]] to get the driver.&lt;br /&gt;
&lt;br /&gt;
All of this should have downloaded to your &#039;home&#039; folder, or to your desktop.  So, at this point we need to go to a prompt and get Mer installed.&lt;br /&gt;
&lt;br /&gt;
So, click Applications&amp;gt;Accessories&amp;gt;Terminal.  This will dump you at a command prompt.  some useful commands are &#039;&#039;&#039;ls -l&#039;&#039;&#039; &#039;&#039;&#039;cd&#039;&#039;&#039; and &#039;&#039;&#039;sudo&#039;&#039;&#039;.  You&#039;ll be seeing a lot of these.&lt;br /&gt;
&lt;br /&gt;
== Setting up the SD Card ==&lt;br /&gt;
&lt;br /&gt;
So, firstly, the SD card will have been automounted, probably.  Linux assigns a &#039;device name&#039; to all its disks, and until you&#039;re familiar with the system, sometimes it takes a moment to locate a new drive...  A quick way to find out the device name (if the drive was auto-mounted), is to run &#039;&#039;&#039;df&#039;&#039;&#039;  to see the free space on all mounted disks.  One disk should be &#039;&#039;mounted&#039;&#039; under &#039;&#039;&#039;/media/disk&#039;&#039;&#039;.  Take a note of the disk&#039;s name, it should be /dev/sdb1 or /dev/sdc1.  the important part is the &amp;quot;sdb&amp;quot; or &amp;quot;sdc&amp;quot;.  From now on, I&#039;ll &#039;&#039;assume&#039;&#039; it&#039;s /dev/sdb1.  If you didn&#039;t see one, then you may need to ensure you&#039;ve added the right drive to VMWare in the steps above.  &lt;br /&gt;
&lt;br /&gt;
* type &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039; .  This will unmount the sd card ready for formatting&lt;br /&gt;
* type &#039;&#039;&#039;sudo fdisk /dev/sdb&#039;&#039;&#039;.  this will open the disk for partitioning.&lt;br /&gt;
* in fdisk, type &#039;&#039;&#039;p&#039;&#039;&#039; to print the partition list, there should be one &#039;sdb1&#039; of type &#039;FAT32&#039;.  This is the current card contents.  &lt;br /&gt;
* Press &#039;&#039;&#039;d&#039;&#039;&#039; and hit return.  This will delete the partiion. If you are asked for a partition number, enter &#039;1&#039;.  If there are more than one partition, repeat until running &#039;&#039;&#039;p&#039;&#039;&#039; shows no partitions left.&lt;br /&gt;
* Press &#039;&#039;&#039;n&#039;&#039;&#039; and hit return to create a new partition.   &lt;br /&gt;
** Press &#039;&#039;&#039;p&#039;&#039;&#039; and hit return to crate a primary partition&lt;br /&gt;
** Press &#039;&#039;&#039;1&#039;&#039;&#039; and hit return to create it as partition one.&lt;br /&gt;
** Press &#039;&#039;&#039;return&#039;&#039;&#039; to choose &#039;&#039;block 1&#039;&#039; to start the partition&lt;br /&gt;
** Do some mental maths and work out the end block by dividing the size of the disk by the total number of blocks. So if fdisk says your 16Gig card has &#039;1900&#039; blocks, then that&#039;s ~8Megs per block, so it&#039;s safe to end the partition at the last-block-but-one. (Remember we&#039;re leaving at least 1 Mb for the bootloader)   (If you want to add a swap partition, then choose a lower number, then repeat the partition-creation step, always remembering to leave at least 1Mb spare at the end of the card (high number).&lt;br /&gt;
* Press &#039;&#039;&#039;a&#039;&#039;&#039; and return to make a partition active, and choose partition 1.&lt;br /&gt;
** If you created a swap partition, press &#039;&#039;&#039;t&#039;&#039;&#039; and choose partition 2, and make it type &#039;&#039;82&#039;&#039;, Linux Swap.&lt;br /&gt;
** Press &#039;&#039;&#039;w&#039;&#039;&#039; and hit return to write the partition table (saving your work).&lt;br /&gt;
** Press &#039;&#039;&#039;q&#039;&#039;&#039; and hit return to exit.&lt;br /&gt;
&lt;br /&gt;
Right, that&#039;s the SD card partitioned up nicely.  Time to format the partition and put Mer on there.  It&#039;s likely that Ubuntu in it&#039;s ever-friendly way will attempt to re-mount the partition again.  So, run &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
** Type &#039;&#039;&#039;sudo mkfs.ext3 /dev/sdb1&#039;&#039;&#039;  to format the partition ready for Mer.  this will take a while, depending on the size / speed of your card.&lt;br /&gt;
&lt;br /&gt;
== Install the bootloader ==&lt;br /&gt;
OK, now it&#039;s time to install the Bootloader which will allow you to boot to Mer.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd&#039;&#039;&#039; and press return to &#039;&#039;go to your home folder&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; to list all your files.  If you don&#039;t see your downloaded files, they&#039;ll be on your desktop, so type &#039;&#039;&#039;cd Desktop&#039;&#039;&#039; (capitalisation is important). Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; again to see your files.  If you still can&#039;t see them, go into Mozilla and work out where your files ended up.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;sudo chmod a+rx install-smartq-qi.sh&#039;&#039;&#039;  - This will make the installer script &#039;runnable&#039;.&lt;br /&gt;
* Type &#039;&#039;&#039;sudo ./install-smartq-qi.sh /dev/sdb qi-smartq-20090612.bin&#039;&#039;&#039;   - This will install the boot loader onto the SD card for you.  &lt;br /&gt;
&lt;br /&gt;
== Install Mer ==&lt;br /&gt;
&lt;br /&gt;
Ok, now it&#039;s time to install mer on the SD card.   So we need to &#039;mount&#039; the card, and move some files about.  The easiest way to do this is unplug the sd card, and re-plug it, and let Ubuntu automount it.  If you&#039;d prefer to do it manually, here are some commands:-&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mkdir /media/disk&#039;&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mount /dev/sdb1 /media/disk&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s mounted, all you have to do is untar the rootfs... so assuming you have a SmartQ7, you downloaded the file &#039;&#039;mer-armel-smartq7-rootfs-v0.16testing5.tar.gz&#039;&#039;, or something similar, you should now type:-&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; and press return and ensure you are in the same folder as the Mer file.  If not, type &#039;&#039;&#039;cd&#039;&#039;&#039; (return) &#039;&#039;&#039;ls -l&#039;&#039;&#039; (return), and if it&#039;s not there, type &#039;&#039;&#039;cd Desktop&#039;&#039;&#039; (return), &#039;&#039;&#039;ls -l&#039;&#039;&#039; (return). At some point, you should find it. If not, re-download it in Mozilla, and choose to save it to the desktop.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mv *.tar.gz /media/disk&#039;&#039;&#039; . this will move the entire mer installation to the disk (so we can untar it easily).&lt;br /&gt;
* Type &#039;&#039;&#039;cd /media/disk&#039;&#039;&#039; and press return.  We will now be &#039;on&#039; the disk&lt;br /&gt;
* Type &#039;&#039;&#039;sudo untar xvf *.gz&#039;&#039;&#039; and press return.  This will now untar the entire &#039;rootfs&#039; to the card.  (Install Mer).&lt;br /&gt;
&lt;br /&gt;
After a few moments, the scrolling text will finish.  We&#039;re almost there!!!&lt;br /&gt;
&lt;br /&gt;
== Getting the bootloader to &#039;see&#039; Mer ==&lt;br /&gt;
&lt;br /&gt;
We&#039;re almost home and dry.  Just a little housekeeping to do.  The bootloader is pretty smart, but it needs the &#039;kernel file&#039; to have a special name so that it can find it on boot.  &lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd /media/disk/boot&#039;&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; and note that there&#039;s a file called &#039;zImage&#039; somthing.  That&#039;s the kernel file.  I&#039;ll assume it&#039;s &#039;zImage-smartq-200932&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;sudo cp zImage-smartq-200932 linux-SMDK6410.bin&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Getting the wifi working ==&lt;br /&gt;
&lt;br /&gt;
* I am still trying to get this working myself... will complete when I know how.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Booting Into Mer =&lt;br /&gt;
&lt;br /&gt;
== Bye bye PC, hello SmartQ ==&lt;br /&gt;
&lt;br /&gt;
Unmount the card (right-click on the icon on the desktop and select unmount, or type the following.  Ensure that you&#039;ve closed all open windows which show the card&#039;s contents (Ubuntu may open a file browser if you chose to automount the card).&lt;br /&gt;
* &#039;&#039;&#039;cd&#039;&#039;&#039; (return)&lt;br /&gt;
* &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Pull the card out of your PC, and insert it into the Q5 / Q7 (upside down!).   It will need to be pushed in quite far until it clicks home.  Then, hold down the right-hand-most button on the top of the device, and plug in the power supply.   The LED should flash red, and perhaps green for a brief instant.. After a moment, the screen should go white.  You can let go of the button and enjoy Mer in all its glory.&lt;br /&gt;
&lt;br /&gt;
Currently, to switch off a Q5/7, you have to press the &#039;reset&#039; button on the bottom.  S&#039;why we formatted the disk with ext3, and not ext2 ;-)&lt;br /&gt;
&lt;br /&gt;
= Where to from here? =&lt;br /&gt;
&lt;br /&gt;
== Using VMWare ==&lt;br /&gt;
&lt;br /&gt;
Well, in the words of Ben Kenobi, youve taken your first step into a wiser world.  You have a nice fresh Linux install to play with.  VMWare is very fault tolerant, so when you want to put Linux away, just close the window.  When you want to resume, just open VMWare again, and Linux will auto-resume from where you left off.  It is very quick and quite safe.   If the Linux gets completely broken, just delete the virtual machine, re-download it, and start again, without having to much about with installation CDs.     &lt;br /&gt;
&lt;br /&gt;
== Recreating the card ==&lt;br /&gt;
&lt;br /&gt;
Well, now that you&#039;ve had a play with installing Mer, you should be able to set the card up for other installations, like WinCE, etc.  So, keep the VMWare console around. &lt;br /&gt;
&lt;br /&gt;
== Reading the card ==&lt;br /&gt;
&lt;br /&gt;
Don&#039;t unplug the card when the SmartQ is switched on, it&#039;ll cause you pain. However, if you want to install stuff onto the card from the PC, you&#039;ll need your VMWare (or ext2fs tools for windows), to mount the card and copy files on/off.&lt;br /&gt;
&lt;br /&gt;
== Downloading applications ==&lt;br /&gt;
&lt;br /&gt;
Mer is maturing all the time, and new Applications are being developed for it.  Check the app manager from time to time to see if there&#039;s new apps on the internet.&lt;br /&gt;
&lt;br /&gt;
== Developing for Mer ==&lt;br /&gt;
&lt;br /&gt;
The Mer team uses the &amp;quot;OBS&amp;quot; suite from OpenSuse, a remote-build-farm.  You get a username / &#039;garage ID&#039;, download the OBS toolkit inside your Ubuntu Virtual machine, and start coding.  the only difference is that you ask the OpenSuse build farm to build your app for you.  Once it&#039;s built you can install it on a simulated MID (called Scratchbox), or you can install it on the MID itself.&lt;br /&gt;
&lt;br /&gt;
= thanks =&lt;br /&gt;
&lt;br /&gt;
Thanks to lbt, zenvoid, meizirkki for helping me understand what&#039;s going on, and of course the whole Mer team for this awesome product, which may just save a good MID from oblivion :).  I hope this page proves useful, and allows more people to set up and play with Mer.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;nww02&#039;&#039;&lt;/div&gt;</summary>
		<author><name>84.51.141.236</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Mer/Documentation/SmartQ_Installation_for_the_Windows_user&amp;diff=24071</id>
		<title>Mer/Documentation/SmartQ Installation for the Windows user</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Mer/Documentation/SmartQ_Installation_for_the_Windows_user&amp;diff=24071"/>
		<updated>2009-09-24T18:53:47Z</updated>

		<summary type="html">&lt;p&gt;84.51.141.236: /* Ubuntu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&lt;br /&gt;
This page is aimed at people who want to get set up with Mer, but don&#039;t necessarily want go around re-flashing firmware and lose the in-built Operating System on the SmartQ.  &lt;br /&gt;
&lt;br /&gt;
There are other how-tos on this site for the more experienced user, so this page is aimed at users who may know some stuff about Linux and/or windows, but have never done any embedded-linux stuff and/or really mucked about with memory block devices and so on.&lt;br /&gt;
&lt;br /&gt;
Disclaimer: This may not be the easiest way, but I&#039;ve used it a couple of times to get Mer set up and booting from the SD card.  It really helps to know a bit of linux, or at least know a little about DOS, disks and partitions.   Also, having a VMWare linux machine really helps to dig you out of a hole in case you muck up your SD card. :-)&lt;br /&gt;
&lt;br /&gt;
OK, that&#039;s the start over, time to get setting up....&lt;br /&gt;
&lt;br /&gt;
== What&#039;s going to happen? ==&lt;br /&gt;
&lt;br /&gt;
We&#039;re going to set up a &#039;virtual machine&#039;, which will allow us to do all this safely away from Windows.  The way the smartq boots is this:-&lt;br /&gt;
&lt;br /&gt;
* If a particular button is pressed, when the machine is switched on, then the SmartQ will choose to boot from the SD card.   It does so by looking at the end of the card (at a particular location) for a &#039;bootloader&#039;. this bootloader is a small program which hunts for a valid  Linux installation on the card, and then starts booting that.  So, we have to get this little chain of programs set up just right.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Shopping List =&lt;br /&gt;
&lt;br /&gt;
 * A SmartQ 5 / 7&lt;br /&gt;
 * 1 PC running Windows with &lt;br /&gt;
 * A vague knowledge of Linux or DOS and file systems.&lt;br /&gt;
 ** at least 1Gig RAM, &lt;br /&gt;
 ** 5 Gigs of Disk Space &lt;br /&gt;
 ** An SD card reader.&lt;br /&gt;
 ** An SD / SDHC Card with at least 6 gigs of RAM&lt;br /&gt;
 * About an hour to an hour and a half.&lt;br /&gt;
&lt;br /&gt;
= Getting Started =&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
Firstly, get the PC switched on. Ah, I see you&#039;ve already done that.  Good thinking.    Use &amp;quot;My Computer&amp;quot; to locate a drive with 5 or more gigs of space on it.  Keep a note of that drive.  If you can, create a folder on the root of that drive called something like &amp;quot;Virtual Machines&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== VMWare ==&lt;br /&gt;
&lt;br /&gt;
Right, step 2, download VMWare from [[http://www.vmware.com/download/player VMWare.com]]. It&#039;s free, but you need to put in some name / country information.  You&#039;ll have to reboot your PC a few times, but you should be used to that as a Windows owner ;-)&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
Now, download a ready-to-go Ubuntu &amp;quot;Virtual Appliance&amp;quot;.  This is a fancy word for a honking-big file which is a snapshot of a Linux PC.    Once VMWare is installed, there should be a link on the first window which says &#039;Download&#039; or &#039;Get&#039;.    &lt;br /&gt;
&lt;br /&gt;
*Click it, and search for an &amp;quot;Ubuntu 9.04 Desktop with VMWare Tools&amp;quot;.  You&#039;ll get a few hits.  One will be by &amp;quot;Chrysaor&amp;quot;.  That&#039;s what I use, and it&#039;s fine. &lt;br /&gt;
** Alternatively, and more easily, go to [[http://chrysaor.info/?page=ubuntu Chrysaor&#039;s Place]] and grab one from here directly.  Unzip it once it&#039;s downloaded.  Inside  the zip file will be an info.txt with the login credentials.  &lt;br /&gt;
&lt;br /&gt;
*Download it somewhere on your PC with lots of space, preferrably the location you found earlier, in a subfolder called ´Virtual Machines´ and not your desktop.  Once it&#039;s downloaded it&#039;ll create 5 to 10 more files in the same place, so it ´is´ best to stick it in a subdirectory.&lt;br /&gt;
*Once it&#039;s downloaded, go back to VMWare and click &#039;Open&#039;, then surf over to the &#039;vmx&#039; file you just downloaded, and sit back and enjoy the ubuntu loading screen.&lt;br /&gt;
&lt;br /&gt;
´´´ŃOTE´´´ We are NOT going to harm windows. VMWare contains the Linux in a safe harness and does not change or break windows in any way.&lt;br /&gt;
&lt;br /&gt;
*Once you&#039;re into Ubuntu, click on the &amp;quot;Devices v&amp;quot; button at the top, and look for your SD/SDHC card reader.  Mine says  &amp;quot;Alcor Micro Mass Storage Device&amp;quot;.  Select it, and click &amp;quot;Connect&amp;quot;.  Then do it again and select &amp;quot;Show icon in status bar&amp;quot;. This&#039;ll make it easier to see what&#039;s happening.&lt;br /&gt;
&lt;br /&gt;
= Using VMWare/Ubuntu to configure the SD card =&lt;br /&gt;
&lt;br /&gt;
== Installing Mer on the SD Card ==&lt;br /&gt;
&lt;br /&gt;
Click the Applications&amp;gt;Accessories&amp;gt;Terminal menu inside ubuntu and open up a command prompt.  Insert the SD card into your PC&#039;s SD reader, and check the little drive icon on the VMWare status bar.. it should flicker in time with the LED on your card reader... &lt;br /&gt;
&lt;br /&gt;
OK, so firstly, we need to get the stuff you&#039;re going to install on the SD card.&lt;br /&gt;
So, click the little Firefox logo at the top of the screen to get a browser, and grab the following three things:&lt;br /&gt;
&lt;br /&gt;
== Downloading everything ==&lt;br /&gt;
&lt;br /&gt;
* Go to [[http://wiki.maemo.org/Mer/Releases The releases page]] and grab the current stable release for your device. You want the ROOTFS version of the file, NOT the Firmware version.  This will go onto the SD card to make Mer.&lt;br /&gt;
&lt;br /&gt;
* Go to [[http://zenvoid.org/software/qi-smartq/ ZenVoid&#039;s Blog]] and grab the install-smartq-qi.sh and qi-smartq-20090612.bin files.  These will make the SD card bootable.&lt;br /&gt;
&lt;br /&gt;
* [Optional] If you&#039;re using 0.15testing5, you&#039;re also going to need the Marvell Wifi Drivers, so head to [[http://www.marvell.com/drivers/driverDisplay.do?driver=203 Marvell.com]] to get the driver.&lt;br /&gt;
&lt;br /&gt;
All of this should have downloaded to your &#039;home&#039; folder, or to your desktop.  So, at this point we need to go to a prompt and get Mer installed.&lt;br /&gt;
&lt;br /&gt;
So, click Applications&amp;gt;Accessories&amp;gt;Terminal.  This will dump you at a command prompt.  some useful commands are &#039;&#039;&#039;ls -l&#039;&#039;&#039; &#039;&#039;&#039;cd&#039;&#039;&#039; and &#039;&#039;&#039;sudo&#039;&#039;&#039;.  You&#039;ll be seeing a lot of these.&lt;br /&gt;
&lt;br /&gt;
== Setting up the SD Card ==&lt;br /&gt;
&lt;br /&gt;
So, firstly, the SD card will have been automounted, probably.  Linux assigns a &#039;device name&#039; to all its disks, and until you&#039;re familiar with the system, sometimes it takes a moment to locate a new drive...  A quick way to find out the device name (if the drive was auto-mounted), is to run &#039;&#039;&#039;df&#039;&#039;&#039;  to see the free space on all mounted disks.  One disk should be &#039;&#039;mounted&#039;&#039; under &#039;&#039;&#039;/media/disk&#039;&#039;&#039;.  Take a note of the disk&#039;s name, it should be /dev/sdb1 or /dev/sdc1.  the important part is the &amp;quot;sdb&amp;quot; or &amp;quot;sdc&amp;quot;.  From now on, I&#039;ll &#039;&#039;assume&#039;&#039; it&#039;s /dev/sdb1.  If you didn&#039;t see one, then you may need to ensure you&#039;ve added the right drive to VMWare in the steps above.  &lt;br /&gt;
&lt;br /&gt;
* type &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039; .  This will unmount the sd card ready for formatting&lt;br /&gt;
* type &#039;&#039;&#039;sudo fdisk /dev/sdb&#039;&#039;&#039;.  this will open the disk for partitioning.&lt;br /&gt;
* in fdisk, type &#039;&#039;&#039;p&#039;&#039;&#039; to print the partition list, there should be one &#039;sdb1&#039; of type &#039;FAT32&#039;.  This is the current card contents.  &lt;br /&gt;
* Press &#039;&#039;&#039;d&#039;&#039;&#039; and hit return.  This will delete the partiion. If you are asked for a partition number, enter &#039;1&#039;.  If there are more than one partition, repeat until running &#039;&#039;&#039;p&#039;&#039;&#039; shows no partitions left.&lt;br /&gt;
* Press &#039;&#039;&#039;n&#039;&#039;&#039; and hit return to create a new partition.   &lt;br /&gt;
** Press &#039;&#039;&#039;p&#039;&#039;&#039; and hit return to crate a primary partition&lt;br /&gt;
** Press &#039;&#039;&#039;1&#039;&#039;&#039; and hit return to create it as partition one.&lt;br /&gt;
** Press &#039;&#039;&#039;return&#039;&#039;&#039; to choose &#039;&#039;block 1&#039;&#039; to start the partition&lt;br /&gt;
** Do some mental maths and work out the end block by dividing the size of the disk by the total number of blocks. So if fdisk says your 16Gig card has &#039;1900&#039; blocks, then that&#039;s ~8Megs per block, so it&#039;s safe to end the partition at the last-block-but-one. (Remember we&#039;re leaving at least 1 Mb for the bootloader)   (If you want to add a swap partition, then choose a lower number, then repeat the partition-creation step, always remembering to leave at least 1Mb spare at the end of the card (high number).&lt;br /&gt;
* Press &#039;&#039;&#039;a&#039;&#039;&#039; and return to make a partition active, and choose partition 1.&lt;br /&gt;
** If you created a swap partition, press &#039;&#039;&#039;t&#039;&#039;&#039; and choose partition 2, and make it type &#039;&#039;82&#039;&#039;, Linux Swap.&lt;br /&gt;
** Press &#039;&#039;&#039;w&#039;&#039;&#039; and hit return to write the partition table (saving your work).&lt;br /&gt;
** Press &#039;&#039;&#039;q&#039;&#039;&#039; and hit return to exit.&lt;br /&gt;
&lt;br /&gt;
Right, that&#039;s the SD card partitioned up nicely.  Time to format the partition and put Mer on there.  It&#039;s likely that Ubuntu in it&#039;s ever-friendly way will attempt to re-mount the partition again.  So, run &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
** Type &#039;&#039;&#039;sudo mkfs.ext3 /dev/sdb1&#039;&#039;&#039;  to format the partition ready for Mer.  this will take a while, depending on the size / speed of your card.&lt;br /&gt;
&lt;br /&gt;
== Install the bootloader ==&lt;br /&gt;
OK, now it&#039;s time to install the Bootloader which will allow you to boot to Mer.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd&#039;&#039;&#039; and press return to &#039;&#039;go to your home folder&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; to list all your files.  If you don&#039;t see your downloaded files, they&#039;ll be on your desktop, so type &#039;&#039;&#039;cd Desktop&#039;&#039;&#039; (capitalisation is important). Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; again to see your files.  If you still can&#039;t see them, go into Mozilla and work out where your files ended up.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;sudo chmod a+rx install-smartq-qi.sh&#039;&#039;&#039;  - This will make the installer script &#039;runnable&#039;.&lt;br /&gt;
* Type &#039;&#039;&#039;sudo ./install-smartq-qi.sh /dev/sdb qi-smartq-20090612.bin&#039;&#039;&#039;   - This will install the boot loader onto the SD card for you.  &lt;br /&gt;
&lt;br /&gt;
== Install Mer ==&lt;br /&gt;
&lt;br /&gt;
Ok, now it&#039;s time to install mer on the SD card.   So we need to &#039;mount&#039; the card, and move some files about.  The easiest way to do this is unplug the sd card, and re-plug it, and let Ubuntu automount it.  If you&#039;d prefer to do it manually, here are some commands:-&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mkdir /media/disk&#039;&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mount /dev/sdb1 /media/disk&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s mounted, all you have to do is untar the rootfs... so assuming you have a SmartQ7, you downloaded the file &#039;&#039;mer-armel-smartq7-rootfs-v0.16testing5.tar.gz&#039;&#039;, or something similar, you should now type:-&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; and press return and ensure you are in the same folder as the Mer file.  If not, type &#039;&#039;&#039;cd&#039;&#039;&#039; (return) &#039;&#039;&#039;ls -l&#039;&#039;&#039; (return), and if it&#039;s not there, type &#039;&#039;&#039;cd Desktop&#039;&#039;&#039; (return), &#039;&#039;&#039;ls -l&#039;&#039;&#039; (return). At some point, you should find it. If not, re-download it in Mozilla, and choose to save it to the desktop.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mv *.tar.gz /media/disk&#039;&#039;&#039; . this will move the entire mer installation to the disk (so we can untar it easily).&lt;br /&gt;
* Type &#039;&#039;&#039;cd /media/disk&#039;&#039;&#039; and press return.  We will now be &#039;on&#039; the disk&lt;br /&gt;
* Type &#039;&#039;&#039;sudo untar xvf *.gz&#039;&#039;&#039; and press return.  This will now untar the entire &#039;rootfs&#039; to the card.  (Install Mer).&lt;br /&gt;
&lt;br /&gt;
After a few moments, the scrolling text will finish.  We&#039;re almost there!!!&lt;br /&gt;
&lt;br /&gt;
== Getting the bootloader to &#039;see&#039; Mer ==&lt;br /&gt;
&lt;br /&gt;
We&#039;re almost home and dry.  Just a little housekeeping to do.  The bootloader is pretty smart, but it needs the &#039;kernel file&#039; to have a special name so that it can find it on boot.  &lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd /media/disk/boot&#039;&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; and note that there&#039;s a file called &#039;zImage&#039; somthing.  That&#039;s the kernel file.  I&#039;ll assume it&#039;s &#039;zImage-smartq-200932&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;sudo cp zImage-smartq-200932 linux-SMDK6410.bin&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Getting the wifi working ==&lt;br /&gt;
&lt;br /&gt;
* I am still trying to get this working myself... will complete when I know how.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Booting Into Mer =&lt;br /&gt;
&lt;br /&gt;
== Bye bye PC, hello SmartQ ==&lt;br /&gt;
&lt;br /&gt;
Unmount the card (right-click on the icon on the desktop and select unmount, or type the following.  Ensure that you&#039;ve closed all open windows which show the card&#039;s contents (Ubuntu may open a file browser if you chose to automount the card).&lt;br /&gt;
* &#039;&#039;&#039;cd&#039;&#039;&#039; (return)&lt;br /&gt;
* &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Pull the card out of your PC, and insert it into the Q5 / Q7 (upside down!).   It will need to be pushed in quite far until it clicks home.  Then, hold down the right-hand-most button on the top of the device, and plug in the power supply.   The LED should flash red, and perhaps green for a brief instant.. After a moment, the screen should go white.  You can let go of the button and enjoy Mer in all its glory.&lt;br /&gt;
&lt;br /&gt;
Currently, to switch off a Q5/7, you have to press the &#039;reset&#039; button on the bottom.  S&#039;why we formatted the disk with ext3, and not ext2 ;-)&lt;br /&gt;
&lt;br /&gt;
= Where to from here? =&lt;br /&gt;
&lt;br /&gt;
== Recreating the card ==&lt;br /&gt;
&lt;br /&gt;
Well, now that you&#039;ve had a play with installing Mer, you should be able to set the card up for other installations, like WinCE, etc.  So, keep the VMWare console around. &lt;br /&gt;
&lt;br /&gt;
== Reading the card ==&lt;br /&gt;
&lt;br /&gt;
Don&#039;t unplug the card when the SmartQ is switched on, it&#039;ll cause you pain. However, if you want to install stuff onto the card from the PC, you&#039;ll need your VMWare (or ext2fs tools for windows), to mount the card and copy files on/off.&lt;br /&gt;
&lt;br /&gt;
== Downloading applications ==&lt;br /&gt;
&lt;br /&gt;
Mer is maturing all the time, and new Applications are being developed for it.  Check the app manager from time to time to see if there&#039;s new apps on the internet.&lt;br /&gt;
&lt;br /&gt;
== Developing for Mer ==&lt;br /&gt;
&lt;br /&gt;
The Mer team uses the &amp;quot;OBS&amp;quot; suite from OpenSuse, a remote-build-farm.  You get a username / &#039;garage ID&#039;, download the OBS toolkit inside your Ubuntu Virtual machine, and start coding.  the only difference is that you ask the OpenSuse build farm to build your app for you.  Once it&#039;s built you can install it on a simulated MID (called Scratchbox), or you can install it on the MID itself.  &lt;br /&gt;
&lt;br /&gt;
= thanks =&lt;br /&gt;
&lt;br /&gt;
Thanks to lbt, zenvoid, meizirkki for helping me understand what&#039;s going on, and of course the whole Mer team for this awesome product, which may just save a good MID from oblivion :).  I hope this page proves useful, and allows more people to set up and play with Mer.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;nww02&#039;&#039;&lt;/div&gt;</summary>
		<author><name>84.51.141.236</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Mer/Documentation/SmartQ_Installation_for_the_Windows_user&amp;diff=24072</id>
		<title>Mer/Documentation/SmartQ Installation for the Windows user</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Mer/Documentation/SmartQ_Installation_for_the_Windows_user&amp;diff=24072"/>
		<updated>2009-09-24T18:41:40Z</updated>

		<summary type="html">&lt;p&gt;84.51.141.236: /* Downloading everything */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&lt;br /&gt;
This page is aimed at people who want to get set up with Mer, but don&#039;t necessarily want go around re-flashing firmware and lose the in-built Operating System on the SmartQ.  &lt;br /&gt;
&lt;br /&gt;
There are other how-tos on this site for the more experienced user, so this page is aimed at users who may know some stuff about Linux and/or windows, but have never done any embedded-linux stuff and/or really mucked about with memory block devices and so on.&lt;br /&gt;
&lt;br /&gt;
Disclaimer: This may not be the easiest way, but I&#039;ve used it a couple of times to get Mer set up and booting from the SD card.  It really helps to know a bit of linux, or at least know a little about DOS, disks and partitions.   Also, having a VMWare linux machine really helps to dig you out of a hole in case you muck up your SD card. :-)&lt;br /&gt;
&lt;br /&gt;
OK, that&#039;s the start over, time to get setting up....&lt;br /&gt;
&lt;br /&gt;
== What&#039;s going to happen? ==&lt;br /&gt;
&lt;br /&gt;
We&#039;re going to set up a &#039;virtual machine&#039;, which will allow us to do all this safely away from Windows.  The way the smartq boots is this:-&lt;br /&gt;
&lt;br /&gt;
* If a particular button is pressed, when the machine is switched on, then the SmartQ will choose to boot from the SD card.   It does so by looking at the end of the card (at a particular location) for a &#039;bootloader&#039;. this bootloader is a small program which hunts for a valid  Linux installation on the card, and then starts booting that.  So, we have to get this little chain of programs set up just right.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Shopping List =&lt;br /&gt;
&lt;br /&gt;
 * A SmartQ 5 / 7&lt;br /&gt;
 * 1 PC running Windows with &lt;br /&gt;
 * A vague knowledge of Linux or DOS and file systems.&lt;br /&gt;
 ** at least 1Gig RAM, &lt;br /&gt;
 ** 5 Gigs of Disk Space &lt;br /&gt;
 ** An SD card reader.&lt;br /&gt;
 ** An SD / SDHC Card with at least 6 gigs of RAM&lt;br /&gt;
 * About an hour to an hour and a half.&lt;br /&gt;
&lt;br /&gt;
= Getting Started =&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
Firstly, get the PC switched on. Ah, I see you&#039;ve already done that.  Good thinking.    Use &amp;quot;My Computer&amp;quot; to locate a drive with 5 or more gigs of space on it.  Keep a note of that drive.  If you can, create a folder on the root of that drive called something like &amp;quot;Virtual Machines&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== VMWare ==&lt;br /&gt;
&lt;br /&gt;
Right, step 2, download VMWare from [[http://www.vmware.com/download/player VMWare.com]]. It&#039;s free, but you need to put in some name / country information.  You&#039;ll have to reboot your PC a few times, but you should be used to that as a Windows owner ;-)&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
Now, download a ready-to-go Ubuntu &amp;quot;Virtual Appliance&amp;quot;.  This is a fancy word for a honking-big file which is a snapshot of a Linux PC.    Once VMWare is installed, there should be a link on the first window which says &#039;Download&#039; or &#039;Get&#039;.    &lt;br /&gt;
&lt;br /&gt;
*Click it, and search for an &amp;quot;Ubuntu 9.04 Desktop with VMWare Tools&amp;quot;.  You&#039;ll get a few hits.  One will be by &amp;quot;Chrysaor&amp;quot;.  That&#039;s what I use, and it&#039;s fine. &lt;br /&gt;
** Alternatively, and more easily, go to [[http://chrysaor.info/?page=ubuntu Chrysaor&#039;s Place]] and grab one from here directly.  Unzip it once it&#039;s downloaded.  Inside  the zip file will be an info.txt with the login credentials.  &lt;br /&gt;
&lt;br /&gt;
*Download it somewhere on your PC with lots of space, preferrably not your desktop.  Once it&#039;s downloaded it&#039;ll create 5 to 10 more files in the same place, so best to stick it in a subdirectory.&lt;br /&gt;
*Once it&#039;s downloaded, go back to VMWare and click &#039;Open&#039;, then surf over to the &#039;vmx&#039; file you just downloaded, and sit back and enjoy the ubuntu loading screen.&lt;br /&gt;
&lt;br /&gt;
*Once you&#039;re into Ubuntu, click on the &amp;quot;Devices v&amp;quot; button at the top, and look for your SD/SDHC card reader.  Mine says  &amp;quot;Alcor Micro Mass Storage Device&amp;quot;.  Select it, and click &amp;quot;Connect&amp;quot;.  Then do it again and select &amp;quot;Show icon in status bar&amp;quot;. This&#039;ll make it easier to see what&#039;s happening.&lt;br /&gt;
&lt;br /&gt;
= Using VMWare/Ubuntu to configure the SD card =&lt;br /&gt;
&lt;br /&gt;
== Installing Mer on the SD Card ==&lt;br /&gt;
&lt;br /&gt;
Click the Applications&amp;gt;Accessories&amp;gt;Terminal menu inside ubuntu and open up a command prompt.  Insert the SD card into your PC&#039;s SD reader, and check the little drive icon on the VMWare status bar.. it should flicker in time with the LED on your card reader... &lt;br /&gt;
&lt;br /&gt;
OK, so firstly, we need to get the stuff you&#039;re going to install on the SD card.&lt;br /&gt;
So, click the little Firefox logo at the top of the screen to get a browser, and grab the following three things:&lt;br /&gt;
&lt;br /&gt;
== Downloading everything ==&lt;br /&gt;
&lt;br /&gt;
* Go to [[http://wiki.maemo.org/Mer/Releases The releases page]] and grab the current stable release for your device. You want the ROOTFS version of the file, NOT the Firmware version.  This will go onto the SD card to make Mer.&lt;br /&gt;
&lt;br /&gt;
* Go to [[http://zenvoid.org/software/qi-smartq/ ZenVoid&#039;s Blog]] and grab the install-smartq-qi.sh and qi-smartq-20090612.bin files.  These will make the SD card bootable.&lt;br /&gt;
&lt;br /&gt;
* [Optional] If you&#039;re using 0.15testing5, you&#039;re also going to need the Marvell Wifi Drivers, so head to [[http://www.marvell.com/drivers/driverDisplay.do?driver=203 Marvell.com]] to get the driver.&lt;br /&gt;
&lt;br /&gt;
All of this should have downloaded to your &#039;home&#039; folder, or to your desktop.  So, at this point we need to go to a prompt and get Mer installed.&lt;br /&gt;
&lt;br /&gt;
So, click Applications&amp;gt;Accessories&amp;gt;Terminal.  This will dump you at a command prompt.  some useful commands are &#039;&#039;&#039;ls -l&#039;&#039;&#039; &#039;&#039;&#039;cd&#039;&#039;&#039; and &#039;&#039;&#039;sudo&#039;&#039;&#039;.  You&#039;ll be seeing a lot of these.&lt;br /&gt;
&lt;br /&gt;
== Setting up the SD Card ==&lt;br /&gt;
&lt;br /&gt;
So, firstly, the SD card will have been automounted, probably.  Linux assigns a &#039;device name&#039; to all its disks, and until you&#039;re familiar with the system, sometimes it takes a moment to locate a new drive...  A quick way to find out the device name (if the drive was auto-mounted), is to run &#039;&#039;&#039;df&#039;&#039;&#039;  to see the free space on all mounted disks.  One disk should be &#039;&#039;mounted&#039;&#039; under &#039;&#039;&#039;/media/disk&#039;&#039;&#039;.  Take a note of the disk&#039;s name, it should be /dev/sdb1 or /dev/sdc1.  the important part is the &amp;quot;sdb&amp;quot; or &amp;quot;sdc&amp;quot;.  From now on, I&#039;ll &#039;&#039;assume&#039;&#039; it&#039;s /dev/sdb1.  If you didn&#039;t see one, then you may need to ensure you&#039;ve added the right drive to VMWare in the steps above.  &lt;br /&gt;
&lt;br /&gt;
* type &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039; .  This will unmount the sd card ready for formatting&lt;br /&gt;
* type &#039;&#039;&#039;sudo fdisk /dev/sdb&#039;&#039;&#039;.  this will open the disk for partitioning.&lt;br /&gt;
* in fdisk, type &#039;&#039;&#039;p&#039;&#039;&#039; to print the partition list, there should be one &#039;sdb1&#039; of type &#039;FAT32&#039;.  This is the current card contents.  &lt;br /&gt;
* Press &#039;&#039;&#039;d&#039;&#039;&#039; and hit return.  This will delete the partiion. If you are asked for a partition number, enter &#039;1&#039;.  If there are more than one partition, repeat until running &#039;&#039;&#039;p&#039;&#039;&#039; shows no partitions left.&lt;br /&gt;
* Press &#039;&#039;&#039;n&#039;&#039;&#039; and hit return to create a new partition.   &lt;br /&gt;
** Press &#039;&#039;&#039;p&#039;&#039;&#039; and hit return to crate a primary partition&lt;br /&gt;
** Press &#039;&#039;&#039;1&#039;&#039;&#039; and hit return to create it as partition one.&lt;br /&gt;
** Press &#039;&#039;&#039;return&#039;&#039;&#039; to choose &#039;&#039;block 1&#039;&#039; to start the partition&lt;br /&gt;
** Do some mental maths and work out the end block by dividing the size of the disk by the total number of blocks. So if fdisk says your 16Gig card has &#039;1900&#039; blocks, then that&#039;s ~8Megs per block, so it&#039;s safe to end the partition at the last-block-but-one. (Remember we&#039;re leaving at least 1 Mb for the bootloader)   (If you want to add a swap partition, then choose a lower number, then repeat the partition-creation step, always remembering to leave at least 1Mb spare at the end of the card (high number).&lt;br /&gt;
* Press &#039;&#039;&#039;a&#039;&#039;&#039; and return to make a partition active, and choose partition 1.&lt;br /&gt;
** If you created a swap partition, press &#039;&#039;&#039;t&#039;&#039;&#039; and choose partition 2, and make it type &#039;&#039;82&#039;&#039;, Linux Swap.&lt;br /&gt;
** Press &#039;&#039;&#039;w&#039;&#039;&#039; and hit return to write the partition table (saving your work).&lt;br /&gt;
** Press &#039;&#039;&#039;q&#039;&#039;&#039; and hit return to exit.&lt;br /&gt;
&lt;br /&gt;
Right, that&#039;s the SD card partitioned up nicely.  Time to format the partition and put Mer on there.  It&#039;s likely that Ubuntu in it&#039;s ever-friendly way will attempt to re-mount the partition again.  So, run &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
** Type &#039;&#039;&#039;sudo mkfs.ext3 /dev/sdb1&#039;&#039;&#039;  to format the partition ready for Mer.  this will take a while, depending on the size / speed of your card.&lt;br /&gt;
&lt;br /&gt;
== Install the bootloader ==&lt;br /&gt;
OK, now it&#039;s time to install the Bootloader which will allow you to boot to Mer.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd&#039;&#039;&#039; and press return to &#039;&#039;go to your home folder&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; to list all your files.  If you don&#039;t see your downloaded files, they&#039;ll be on your desktop, so type &#039;&#039;&#039;cd Desktop&#039;&#039;&#039; (capitalisation is important). Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; again to see your files.  If you still can&#039;t see them, go into Mozilla and work out where your files ended up.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;sudo chmod a+rx install-smartq-qi.sh&#039;&#039;&#039;  - This will make the installer script &#039;runnable&#039;.&lt;br /&gt;
* Type &#039;&#039;&#039;sudo ./install-smartq-qi.sh /dev/sdb qi-smartq-20090612.bin&#039;&#039;&#039;   - This will install the boot loader onto the SD card for you.  &lt;br /&gt;
&lt;br /&gt;
== Install Mer ==&lt;br /&gt;
&lt;br /&gt;
Ok, now it&#039;s time to install mer on the SD card.   So we need to &#039;mount&#039; the card, and move some files about.  The easiest way to do this is unplug the sd card, and re-plug it, and let Ubuntu automount it.  If you&#039;d prefer to do it manually, here are some commands:-&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mkdir /media/disk&#039;&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mount /dev/sdb1 /media/disk&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s mounted, all you have to do is untar the rootfs... so assuming you have a SmartQ7, you downloaded the file &#039;&#039;mer-armel-smartq7-rootfs-v0.16testing5.tar.gz&#039;&#039;, or something similar, you should now type:-&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; and press return and ensure you are in the same folder as the Mer file.  If not, type &#039;&#039;&#039;cd&#039;&#039;&#039; (return) &#039;&#039;&#039;ls -l&#039;&#039;&#039; (return), and if it&#039;s not there, type &#039;&#039;&#039;cd Desktop&#039;&#039;&#039; (return), &#039;&#039;&#039;ls -l&#039;&#039;&#039; (return). At some point, you should find it. If not, re-download it in Mozilla, and choose to save it to the desktop.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mv *.tar.gz /media/disk&#039;&#039;&#039; . this will move the entire mer installation to the disk (so we can untar it easily).&lt;br /&gt;
* Type &#039;&#039;&#039;cd /media/disk&#039;&#039;&#039; and press return.  We will now be &#039;on&#039; the disk&lt;br /&gt;
* Type &#039;&#039;&#039;sudo untar xvf *.gz&#039;&#039;&#039; and press return.  This will now untar the entire &#039;rootfs&#039; to the card.  (Install Mer).&lt;br /&gt;
&lt;br /&gt;
After a few moments, the scrolling text will finish.  We&#039;re almost there!!!&lt;br /&gt;
&lt;br /&gt;
== Getting the bootloader to &#039;see&#039; Mer ==&lt;br /&gt;
&lt;br /&gt;
We&#039;re almost home and dry.  Just a little housekeeping to do.  The bootloader is pretty smart, but it needs the &#039;kernel file&#039; to have a special name so that it can find it on boot.  &lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd /media/disk/boot&#039;&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; and note that there&#039;s a file called &#039;zImage&#039; somthing.  That&#039;s the kernel file.  I&#039;ll assume it&#039;s &#039;zImage-smartq-200932&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;sudo cp zImage-smartq-200932 linux-SMDK6410.bin&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Getting the wifi working ==&lt;br /&gt;
&lt;br /&gt;
* I am still trying to get this working myself... will complete when I know how.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Booting Into Mer =&lt;br /&gt;
&lt;br /&gt;
== Bye bye PC, hello SmartQ ==&lt;br /&gt;
&lt;br /&gt;
Unmount the card (right-click on the icon on the desktop and select unmount, or type the following.  Ensure that you&#039;ve closed all open windows which show the card&#039;s contents (Ubuntu may open a file browser if you chose to automount the card).&lt;br /&gt;
* &#039;&#039;&#039;cd&#039;&#039;&#039; (return)&lt;br /&gt;
* &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Pull the card out of your PC, and insert it into the Q5 / Q7 (upside down!).   It will need to be pushed in quite far until it clicks home.  Then, hold down the right-hand-most button on the top of the device, and plug in the power supply.   The LED should flash red, and perhaps green for a brief instant.. After a moment, the screen should go white.  You can let go of the button and enjoy Mer in all its glory.&lt;br /&gt;
&lt;br /&gt;
Currently, to switch off a Q5/7, you have to press the &#039;reset&#039; button on the bottom.  S&#039;why we formatted the disk with ext3, and not ext2 ;-)&lt;br /&gt;
&lt;br /&gt;
= Where to from here? =&lt;br /&gt;
&lt;br /&gt;
== Recreating the card ==&lt;br /&gt;
&lt;br /&gt;
Well, now that you&#039;ve had a play with installing Mer, you should be able to set the card up for other installations, like WinCE, etc.  So, keep the VMWare console around. &lt;br /&gt;
&lt;br /&gt;
== Reading the card ==&lt;br /&gt;
&lt;br /&gt;
Don&#039;t unplug the card when the SmartQ is switched on, it&#039;ll cause you pain. However, if you want to install stuff onto the card from the PC, you&#039;ll need your VMWare (or ext2fs tools for windows), to mount the card and copy files on/off.&lt;br /&gt;
&lt;br /&gt;
== Downloading applications ==&lt;br /&gt;
&lt;br /&gt;
Mer is maturing all the time, and new Applications are being developed for it.  Check the app manager from time to time to see if there&#039;s new apps on the internet.&lt;br /&gt;
&lt;br /&gt;
== Developing for Mer ==&lt;br /&gt;
&lt;br /&gt;
The Mer team uses the &amp;quot;OBS&amp;quot; suite from OpenSuse, a remote-build-farm.  You get a username / &#039;garage ID&#039;, download the OBS toolkit inside your Ubuntu Virtual machine, and start coding.  the only difference is that you ask the OpenSuse build farm to build your app for you.  Once it&#039;s built you can install it on a simulated MID (called Scratchbox), or you can install it on the MID itself.  &lt;br /&gt;
&lt;br /&gt;
= thanks =&lt;br /&gt;
&lt;br /&gt;
Thanks to lbt, zenvoid, meizirkki for helping me understand what&#039;s going on, and of course the whole Mer team for this awesome product, which may just save a good MID from oblivion :).  I hope this page proves useful, and allows more people to set up and play with Mer.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;nww02&#039;&#039;&lt;/div&gt;</summary>
		<author><name>84.51.141.236</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Mer/Documentation/SmartQ_Installation_for_the_Windows_user&amp;diff=24073</id>
		<title>Mer/Documentation/SmartQ Installation for the Windows user</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Mer/Documentation/SmartQ_Installation_for_the_Windows_user&amp;diff=24073"/>
		<updated>2009-09-24T18:38:18Z</updated>

		<summary type="html">&lt;p&gt;84.51.141.236: A very simple step-by-step installation guide for SmartQ devices, to get Mer to boot from the SD Card.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&lt;br /&gt;
This page is aimed at people who want to get set up with Mer, but don&#039;t necessarily want go around re-flashing firmware and lose the in-built Operating System on the SmartQ.  &lt;br /&gt;
&lt;br /&gt;
There are other how-tos on this site for the more experienced user, so this page is aimed at users who may know some stuff about Linux and/or windows, but have never done any embedded-linux stuff and/or really mucked about with memory block devices and so on.&lt;br /&gt;
&lt;br /&gt;
Disclaimer: This may not be the easiest way, but I&#039;ve used it a couple of times to get Mer set up and booting from the SD card.  It really helps to know a bit of linux, or at least know a little about DOS, disks and partitions.   Also, having a VMWare linux machine really helps to dig you out of a hole in case you muck up your SD card. :-)&lt;br /&gt;
&lt;br /&gt;
OK, that&#039;s the start over, time to get setting up....&lt;br /&gt;
&lt;br /&gt;
== What&#039;s going to happen? ==&lt;br /&gt;
&lt;br /&gt;
We&#039;re going to set up a &#039;virtual machine&#039;, which will allow us to do all this safely away from Windows.  The way the smartq boots is this:-&lt;br /&gt;
&lt;br /&gt;
* If a particular button is pressed, when the machine is switched on, then the SmartQ will choose to boot from the SD card.   It does so by looking at the end of the card (at a particular location) for a &#039;bootloader&#039;. this bootloader is a small program which hunts for a valid  Linux installation on the card, and then starts booting that.  So, we have to get this little chain of programs set up just right.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Shopping List =&lt;br /&gt;
&lt;br /&gt;
 * A SmartQ 5 / 7&lt;br /&gt;
 * 1 PC running Windows with &lt;br /&gt;
 * A vague knowledge of Linux or DOS and file systems.&lt;br /&gt;
 ** at least 1Gig RAM, &lt;br /&gt;
 ** 5 Gigs of Disk Space &lt;br /&gt;
 ** An SD card reader.&lt;br /&gt;
 ** An SD / SDHC Card with at least 6 gigs of RAM&lt;br /&gt;
 * About an hour to an hour and a half.&lt;br /&gt;
&lt;br /&gt;
= Getting Started =&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
Firstly, get the PC switched on. Ah, I see you&#039;ve already done that.  Good thinking.    Use &amp;quot;My Computer&amp;quot; to locate a drive with 5 or more gigs of space on it.  Keep a note of that drive.  If you can, create a folder on the root of that drive called something like &amp;quot;Virtual Machines&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== VMWare ==&lt;br /&gt;
&lt;br /&gt;
Right, step 2, download VMWare from [[http://www.vmware.com/download/player VMWare.com]]. It&#039;s free, but you need to put in some name / country information.  You&#039;ll have to reboot your PC a few times, but you should be used to that as a Windows owner ;-)&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
Now, download a ready-to-go Ubuntu &amp;quot;Virtual Appliance&amp;quot;.  This is a fancy word for a honking-big file which is a snapshot of a Linux PC.    Once VMWare is installed, there should be a link on the first window which says &#039;Download&#039; or &#039;Get&#039;.    &lt;br /&gt;
&lt;br /&gt;
*Click it, and search for an &amp;quot;Ubuntu 9.04 Desktop with VMWare Tools&amp;quot;.  You&#039;ll get a few hits.  One will be by &amp;quot;Chrysaor&amp;quot;.  That&#039;s what I use, and it&#039;s fine. &lt;br /&gt;
** Alternatively, and more easily, go to [[http://chrysaor.info/?page=ubuntu Chrysaor&#039;s Place]] and grab one from here directly.  Unzip it once it&#039;s downloaded.  Inside  the zip file will be an info.txt with the login credentials.  &lt;br /&gt;
&lt;br /&gt;
*Download it somewhere on your PC with lots of space, preferrably not your desktop.  Once it&#039;s downloaded it&#039;ll create 5 to 10 more files in the same place, so best to stick it in a subdirectory.&lt;br /&gt;
*Once it&#039;s downloaded, go back to VMWare and click &#039;Open&#039;, then surf over to the &#039;vmx&#039; file you just downloaded, and sit back and enjoy the ubuntu loading screen.&lt;br /&gt;
&lt;br /&gt;
*Once you&#039;re into Ubuntu, click on the &amp;quot;Devices v&amp;quot; button at the top, and look for your SD/SDHC card reader.  Mine says  &amp;quot;Alcor Micro Mass Storage Device&amp;quot;.  Select it, and click &amp;quot;Connect&amp;quot;.  Then do it again and select &amp;quot;Show icon in status bar&amp;quot;. This&#039;ll make it easier to see what&#039;s happening.&lt;br /&gt;
&lt;br /&gt;
= Using VMWare/Ubuntu to configure the SD card =&lt;br /&gt;
&lt;br /&gt;
== Installing Mer on the SD Card ==&lt;br /&gt;
&lt;br /&gt;
Click the Applications&amp;gt;Accessories&amp;gt;Terminal menu inside ubuntu and open up a command prompt.  Insert the SD card into your PC&#039;s SD reader, and check the little drive icon on the VMWare status bar.. it should flicker in time with the LED on your card reader... &lt;br /&gt;
&lt;br /&gt;
OK, so firstly, we need to get the stuff you&#039;re going to install on the SD card.&lt;br /&gt;
So, click the little Firefox logo at the top of the screen to get a browser, and grab the following three things:&lt;br /&gt;
&lt;br /&gt;
== Downloading everything ==&lt;br /&gt;
&lt;br /&gt;
* Go to [[http://wiki.maemo.org/Mer/Releases|The releases page]] and grab the current stable release for your device. You want the ROOTFS version of the file, NOT the Firmware version.  This will go onto the SD card to make Mer.&lt;br /&gt;
&lt;br /&gt;
* Go to [[http://zenvoid.org/software/qi-smartq/|ZenVoid&#039;s Blog]] and grab the install-smartq-qi.sh and qi-smartq-20090612.bin files.  These will make the SD card bootable.&lt;br /&gt;
&lt;br /&gt;
* [Optional] If you&#039;re using 0.15testing5, you&#039;re also going to need the Marvell Wifi Drivers, so head to [[http://www.marvell.com/drivers/driverDisplay.do?driver=203|Marvell.com]] to get the driver.&lt;br /&gt;
&lt;br /&gt;
All of this should have downloaded to your &#039;home&#039; folder, or to your desktop.  So, at this point we need to go to a prompt and get Mer installed.&lt;br /&gt;
&lt;br /&gt;
So, click Applications&amp;gt;Accessories&amp;gt;Terminal.  This will dump you at a command prompt.  some useful commands are &#039;&#039;&#039;ls -l&#039;&#039;&#039; &#039;&#039;&#039;cd&#039;&#039;&#039; and &#039;&#039;&#039;sudo&#039;&#039;&#039;.  You&#039;ll be seeing a lot of these.&lt;br /&gt;
&lt;br /&gt;
== Setting up the SD Card ==&lt;br /&gt;
&lt;br /&gt;
So, firstly, the SD card will have been automounted, probably.  Linux assigns a &#039;device name&#039; to all its disks, and until you&#039;re familiar with the system, sometimes it takes a moment to locate a new drive...  A quick way to find out the device name (if the drive was auto-mounted), is to run &#039;&#039;&#039;df&#039;&#039;&#039;  to see the free space on all mounted disks.  One disk should be &#039;&#039;mounted&#039;&#039; under &#039;&#039;&#039;/media/disk&#039;&#039;&#039;.  Take a note of the disk&#039;s name, it should be /dev/sdb1 or /dev/sdc1.  the important part is the &amp;quot;sdb&amp;quot; or &amp;quot;sdc&amp;quot;.  From now on, I&#039;ll &#039;&#039;assume&#039;&#039; it&#039;s /dev/sdb1.  If you didn&#039;t see one, then you may need to ensure you&#039;ve added the right drive to VMWare in the steps above.  &lt;br /&gt;
&lt;br /&gt;
* type &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039; .  This will unmount the sd card ready for formatting&lt;br /&gt;
* type &#039;&#039;&#039;sudo fdisk /dev/sdb&#039;&#039;&#039;.  this will open the disk for partitioning.&lt;br /&gt;
* in fdisk, type &#039;&#039;&#039;p&#039;&#039;&#039; to print the partition list, there should be one &#039;sdb1&#039; of type &#039;FAT32&#039;.  This is the current card contents.  &lt;br /&gt;
* Press &#039;&#039;&#039;d&#039;&#039;&#039; and hit return.  This will delete the partiion. If you are asked for a partition number, enter &#039;1&#039;.  If there are more than one partition, repeat until running &#039;&#039;&#039;p&#039;&#039;&#039; shows no partitions left.&lt;br /&gt;
* Press &#039;&#039;&#039;n&#039;&#039;&#039; and hit return to create a new partition.   &lt;br /&gt;
** Press &#039;&#039;&#039;p&#039;&#039;&#039; and hit return to crate a primary partition&lt;br /&gt;
** Press &#039;&#039;&#039;1&#039;&#039;&#039; and hit return to create it as partition one.&lt;br /&gt;
** Press &#039;&#039;&#039;return&#039;&#039;&#039; to choose &#039;&#039;block 1&#039;&#039; to start the partition&lt;br /&gt;
** Do some mental maths and work out the end block by dividing the size of the disk by the total number of blocks. So if fdisk says your 16Gig card has &#039;1900&#039; blocks, then that&#039;s ~8Megs per block, so it&#039;s safe to end the partition at the last-block-but-one. (Remember we&#039;re leaving at least 1 Mb for the bootloader)   (If you want to add a swap partition, then choose a lower number, then repeat the partition-creation step, always remembering to leave at least 1Mb spare at the end of the card (high number).&lt;br /&gt;
* Press &#039;&#039;&#039;a&#039;&#039;&#039; and return to make a partition active, and choose partition 1.&lt;br /&gt;
** If you created a swap partition, press &#039;&#039;&#039;t&#039;&#039;&#039; and choose partition 2, and make it type &#039;&#039;82&#039;&#039;, Linux Swap.&lt;br /&gt;
** Press &#039;&#039;&#039;w&#039;&#039;&#039; and hit return to write the partition table (saving your work).&lt;br /&gt;
** Press &#039;&#039;&#039;q&#039;&#039;&#039; and hit return to exit.&lt;br /&gt;
&lt;br /&gt;
Right, that&#039;s the SD card partitioned up nicely.  Time to format the partition and put Mer on there.  It&#039;s likely that Ubuntu in it&#039;s ever-friendly way will attempt to re-mount the partition again.  So, run &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
** Type &#039;&#039;&#039;sudo mkfs.ext3 /dev/sdb1&#039;&#039;&#039;  to format the partition ready for Mer.  this will take a while, depending on the size / speed of your card.&lt;br /&gt;
&lt;br /&gt;
== Install the bootloader ==&lt;br /&gt;
OK, now it&#039;s time to install the Bootloader which will allow you to boot to Mer.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd&#039;&#039;&#039; and press return to &#039;&#039;go to your home folder&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; to list all your files.  If you don&#039;t see your downloaded files, they&#039;ll be on your desktop, so type &#039;&#039;&#039;cd Desktop&#039;&#039;&#039; (capitalisation is important). Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; again to see your files.  If you still can&#039;t see them, go into Mozilla and work out where your files ended up.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;sudo chmod a+rx install-smartq-qi.sh&#039;&#039;&#039;  - This will make the installer script &#039;runnable&#039;.&lt;br /&gt;
* Type &#039;&#039;&#039;sudo ./install-smartq-qi.sh /dev/sdb qi-smartq-20090612.bin&#039;&#039;&#039;   - This will install the boot loader onto the SD card for you.  &lt;br /&gt;
&lt;br /&gt;
== Install Mer ==&lt;br /&gt;
&lt;br /&gt;
Ok, now it&#039;s time to install mer on the SD card.   So we need to &#039;mount&#039; the card, and move some files about.  The easiest way to do this is unplug the sd card, and re-plug it, and let Ubuntu automount it.  If you&#039;d prefer to do it manually, here are some commands:-&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mkdir /media/disk&#039;&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mount /dev/sdb1 /media/disk&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s mounted, all you have to do is untar the rootfs... so assuming you have a SmartQ7, you downloaded the file &#039;&#039;mer-armel-smartq7-rootfs-v0.16testing5.tar.gz&#039;&#039;, or something similar, you should now type:-&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; and press return and ensure you are in the same folder as the Mer file.  If not, type &#039;&#039;&#039;cd&#039;&#039;&#039; (return) &#039;&#039;&#039;ls -l&#039;&#039;&#039; (return), and if it&#039;s not there, type &#039;&#039;&#039;cd Desktop&#039;&#039;&#039; (return), &#039;&#039;&#039;ls -l&#039;&#039;&#039; (return). At some point, you should find it. If not, re-download it in Mozilla, and choose to save it to the desktop.&lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;sudo mv *.tar.gz /media/disk&#039;&#039;&#039; . this will move the entire mer installation to the disk (so we can untar it easily).&lt;br /&gt;
* Type &#039;&#039;&#039;cd /media/disk&#039;&#039;&#039; and press return.  We will now be &#039;on&#039; the disk&lt;br /&gt;
* Type &#039;&#039;&#039;sudo untar xvf *.gz&#039;&#039;&#039; and press return.  This will now untar the entire &#039;rootfs&#039; to the card.  (Install Mer).&lt;br /&gt;
&lt;br /&gt;
After a few moments, the scrolling text will finish.  We&#039;re almost there!!!&lt;br /&gt;
&lt;br /&gt;
== Getting the bootloader to &#039;see&#039; Mer ==&lt;br /&gt;
&lt;br /&gt;
We&#039;re almost home and dry.  Just a little housekeeping to do.  The bootloader is pretty smart, but it needs the &#039;kernel file&#039; to have a special name so that it can find it on boot.  &lt;br /&gt;
&lt;br /&gt;
* Type &#039;&#039;&#039;cd /media/disk/boot&#039;&#039;&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;ls -l&#039;&#039;&#039; and note that there&#039;s a file called &#039;zImage&#039; somthing.  That&#039;s the kernel file.  I&#039;ll assume it&#039;s &#039;zImage-smartq-200932&#039;&lt;br /&gt;
* Type &#039;&#039;&#039;sudo cp zImage-smartq-200932 linux-SMDK6410.bin&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Getting the wifi working ==&lt;br /&gt;
&lt;br /&gt;
* I am still trying to get this working myself... will complete when I know how.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Booting Into Mer =&lt;br /&gt;
&lt;br /&gt;
== Bye bye PC, hello SmartQ ==&lt;br /&gt;
&lt;br /&gt;
Unmount the card (right-click on the icon on the desktop and select unmount, or type the following.  Ensure that you&#039;ve closed all open windows which show the card&#039;s contents (Ubuntu may open a file browser if you chose to automount the card).&lt;br /&gt;
* &#039;&#039;&#039;cd&#039;&#039;&#039; (return)&lt;br /&gt;
* &#039;&#039;&#039;sudo umount /dev/sdb1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Pull the card out of your PC, and insert it into the Q5 / Q7 (upside down!).   It will need to be pushed in quite far until it clicks home.  Then, hold down the right-hand-most button on the top of the device, and plug in the power supply.   The LED should flash red, and perhaps green for a brief instant.. After a moment, the screen should go white.  You can let go of the button and enjoy Mer in all its glory.&lt;br /&gt;
&lt;br /&gt;
Currently, to switch off a Q5/7, you have to press the &#039;reset&#039; button on the bottom.  S&#039;why we formatted the disk with ext3, and not ext2 ;-)&lt;br /&gt;
&lt;br /&gt;
= Where to from here? =&lt;br /&gt;
&lt;br /&gt;
== Recreating the card ==&lt;br /&gt;
&lt;br /&gt;
Well, now that you&#039;ve had a play with installing Mer, you should be able to set the card up for other installations, like WinCE, etc.  So, keep the VMWare console around. &lt;br /&gt;
&lt;br /&gt;
== Reading the card ==&lt;br /&gt;
&lt;br /&gt;
Don&#039;t unplug the card when the SmartQ is switched on, it&#039;ll cause you pain. However, if you want to install stuff onto the card from the PC, you&#039;ll need your VMWare (or ext2fs tools for windows), to mount the card and copy files on/off.&lt;br /&gt;
&lt;br /&gt;
== Downloading applications ==&lt;br /&gt;
&lt;br /&gt;
Mer is maturing all the time, and new Applications are being developed for it.  Check the app manager from time to time to see if there&#039;s new apps on the internet.&lt;br /&gt;
&lt;br /&gt;
== Developing for Mer ==&lt;br /&gt;
&lt;br /&gt;
The Mer team uses the &amp;quot;OBS&amp;quot; suite from OpenSuse, a remote-build-farm.  You get a username / &#039;garage ID&#039;, download the OBS toolkit inside your Ubuntu Virtual machine, and start coding.  the only difference is that you ask the OpenSuse build farm to build your app for you.  Once it&#039;s built you can install it on a simulated MID (called Scratchbox), or you can install it on the MID itself.  &lt;br /&gt;
&lt;br /&gt;
= thanks =&lt;br /&gt;
&lt;br /&gt;
Thanks to lbt, zenvoid, meizirkki for helping me understand what&#039;s going on, and of course the whole Mer team for this awesome product, which may just save a good MID from oblivion :).  I hope this page proves useful, and allows more people to set up and play with Mer.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;nww02&#039;&#039;&lt;/div&gt;</summary>
		<author><name>84.51.141.236</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Mer/Documentation/Installation&amp;diff=23919</id>
		<title>Mer/Documentation/Installation</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Mer/Documentation/Installation&amp;diff=23919"/>
		<updated>2009-09-24T16:46:17Z</updated>

		<summary type="html">&lt;p&gt;84.51.141.236: /* Booting from SD card */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article sums up the different ways to install Mer on different types of computers (VMWare, chroot, on device, etc.). Please feel free to add/edit. The original information is taken from [[Mer/Releases/0.9]].&lt;br /&gt;
&lt;br /&gt;
Replace &amp;quot;&amp;lt;your version&amp;gt;&amp;quot; with the version you are going to install, e.g. &amp;quot;0.9&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Installation in VirtualBox  ==&lt;br /&gt;
&lt;br /&gt;
# Unzip zip file&lt;br /&gt;
# Open VirtualBox, create new machine (click New):&lt;br /&gt;
#* Name: Mer &#039;&#039;&amp;lt;your version&amp;gt;&#039;&#039;&lt;br /&gt;
#* OS type: Linux&lt;br /&gt;
#* Version: Ubuntu&lt;br /&gt;
#* RAM: 128MB (at least)&lt;br /&gt;
#* Disk: click &amp;quot;existing&amp;quot;, find the mer-x86-generic-image-v&#039;&#039;&amp;lt;your version&amp;gt;&#039;&#039;.vmdk file, select, select&lt;br /&gt;
#* Next&lt;br /&gt;
# Finish&lt;br /&gt;
# Start the newly created virtual machine&lt;br /&gt;
# Installing all the needed packages for installing VirtualBox additions:&lt;br /&gt;
#* I had to install the following packages by:&lt;br /&gt;
#* sudo apt-get install build-essential linux-headers-*kernel-version*-generic&lt;br /&gt;
#*(replace *kernel-version* with the currently installed kernel-version on the virtual machine)&lt;br /&gt;
#*(you can simply find out which kernel-version you have, by executing &amp;quot;uname -r&amp;quot; in Mer&#039;s XTerminal)&lt;br /&gt;
# Installing the additions:&lt;br /&gt;
#*First of all you have to mount the CD-Image with the additions emulated as a cdrom-device into the virtual machine running mer.&lt;br /&gt;
#* Mount the VboxAdditions.iso by: Devices -&amp;gt; mount CD-ROM image -&amp;gt; select VboxGuestAdditions.iso&lt;br /&gt;
#* Create a new folder with root rights by:&lt;br /&gt;
#*sudo mkdir /media/cdrom&lt;br /&gt;
#* and mount the virtual device&#039;s filesystem to the new mountpoint by:&lt;br /&gt;
#*sudo mount /dev/scd0 /media/cdrom&lt;br /&gt;
#* If no errors are appearing you can install the additions by:&lt;br /&gt;
#*sudo /media/cdrom/VBoxLinuxAdditions-x86.run&lt;br /&gt;
# Rebooting the virtual machine:&lt;br /&gt;
#* Now, when the installation of the additions has finished, you can reboot the vm simply by:&lt;br /&gt;
#*sudo init 6&lt;br /&gt;
# Finished&lt;br /&gt;
&lt;br /&gt;
== Installation (chroot) ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir mer-&amp;lt;your version&amp;gt;&lt;br /&gt;
cd mer-&amp;lt;your version&amp;gt; &amp;amp;&amp;amp; sudo tar xzf mer-x86-generic-image-v&amp;lt;your version&amp;gt;.tar.gz&lt;br /&gt;
sudo mkdir -p tmp/.X11-unix home/$USER/.osso&lt;br /&gt;
sudo mv usr/bin/maemo-invoker usr/bin/maemo-invoker.real&lt;br /&gt;
echo -e &#039;#!/bin/sh\nPROG=&amp;quot;$1&amp;quot;\nshift\nexec &amp;quot;$PROG&amp;quot; &amp;quot;$@&amp;quot;&#039; | sudo tee usr/bin/maemo-invoker&lt;br /&gt;
sudo chmod 755 usr/bin/maemo-invoker&lt;br /&gt;
echo &#039;nameserver &amp;lt;mynameresolver&amp;gt;&#039; | sudo tee -a etc/resolv.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Start-up (from within &amp;lt;code&amp;gt;mer-&#039;&#039;&amp;lt;your version&amp;gt;&#039;&#039;&amp;lt;/code&amp;gt; directory) ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -extension Composite 2&amp;gt;/dev/null 1&amp;gt;&amp;amp;2 &amp;amp;&lt;br /&gt;
sudo mount --bind /tmp/.X11-unix tmp/.X11-unix&lt;br /&gt;
sudo mount --bind /dev/pts dev/pts&lt;br /&gt;
sudo mount -t proc proc proc&lt;br /&gt;
sudo mount -t sysfs sysfs sys&lt;br /&gt;
sudo chroot .&lt;br /&gt;
export DISPLAY=:2.0&lt;br /&gt;
/etc/init.d/dbus start&lt;br /&gt;
start-hildon&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== x86 Install ==&lt;br /&gt;
&lt;br /&gt;
See [[Mer/Documentation/Making_x86_Mer_Bootable|Making x86 Mer Bootable]]&lt;br /&gt;
&lt;br /&gt;
== N8x0 Install ==&lt;br /&gt;
&lt;br /&gt;
=== The Installer ===&lt;br /&gt;
&lt;br /&gt;
The developers of Mer implemented an installer, which leads through all the steps of installation. In order to use the installer you need to open:&lt;br /&gt;
[http://trac.tspre.org/merinstaller.install .install file] with your device, which will prompt you to install the file (about 2.5MB) and add the Extras, Extras-devel and tspre.org repositories if they were not added already.&lt;br /&gt;
&lt;br /&gt;
After the download and the installation go to Settings -&amp;gt; Application Manager -&amp;gt; Utilities -&amp;gt; Browse Installable Applications -&amp;gt; Other and system and you will find a program &amp;quot;Install Bootmenu&amp;quot; and &amp;quot;Merinstaller&amp;quot;. If you did not install those by pressing &amp;quot;OK&amp;quot; before, do it now.&lt;br /&gt;
&lt;br /&gt;
The Simple Install will create a bootmenu entry for you. However, for more advanced installations - eg if you already have multiple booting OSes - you might want to read about its [[Mer/Documentation/Bootmenu|configuration]] - you may need to make a .item if you have a clone-to-SD copy of Maemo or Deblet. You can also find out how to change the default boot menu item and other bootmenu tricks.&lt;br /&gt;
&lt;br /&gt;
Assuming you created all the .item files you wanted, go ahead, and start the bootmenu installer from Utilities -&amp;gt; Install Bootmenu. Its advised to close all other applications and network connections, but the installer will tell you all relevant information.&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;Are you sure to continue?&amp;quot; - yes&lt;br /&gt;
* &amp;quot;Create backup of current initfs&amp;quot; - yes/no&lt;br /&gt;
* &amp;quot;Remove unneeded extra (and factory testing) stuff?&amp;quot; - yes&lt;br /&gt;
* &amp;quot;install telnet server for network recovery?&amp;quot; - yes/no&lt;br /&gt;
* &amp;quot;install dropbear ssh server for advanced network recovery?&amp;quot; - yes/no&lt;br /&gt;
* &amp;quot;/etc/bootmenu.conf found, do you want to add it to initfs?&amp;quot; - yes&lt;br /&gt;
* &amp;quot;Ready for flashing this image?&amp;quot; - yes/no&lt;br /&gt;
&lt;br /&gt;
After a successfull flash, the device will reboot and you should see the bootmenu, where you can select the partition you want to boot. Choose the operating system where you just installed the installer for Mer and boot it.&lt;br /&gt;
&lt;br /&gt;
Now start the Merinstaller via Utilities -&amp;gt; Install Mer. Follow the instructions. When prompted for the URL= you can point it to any rootfs image you want. Check at [[Mer/Releases]] or ask at #mer.&lt;br /&gt;
&lt;br /&gt;
Once the installer puts the extracted rootfs to your device you can reboot and chose the partition where you put Mer. Please contribute by filing bugs on [https://bugs.maemo.org/ bugs.maemo.org]&lt;br /&gt;
&lt;br /&gt;
=== Flashable Image ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Very experimental, because it doesn&#039;t use the Maemo initfs; only install if you want to help test it.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Grab a kernel and rootfs image of Mer and flash them directly to the device by:&amp;lt;BR&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
   ./flasher-3.0-static -k mer-armel-n8x0-kernel-v&amp;lt;your version&amp;gt;.zImage -r mer-armel-n8x0-image-v&amp;lt;your version&amp;gt;.jffs2 -f -R&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You might want a MMC card swap partition.&lt;br /&gt;
&lt;br /&gt;
== 770 Install ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(these instructions need testing)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You will need at least a 1gb MMC, and these instructions are based on OS2008HE kernel. 48mhz kernel is highly recommended&lt;br /&gt;
&lt;br /&gt;
Partition MMC to:&lt;br /&gt;
&lt;br /&gt;
*p1: Large ext3 partition first&lt;br /&gt;
*p2: 256 MB swap partition second&lt;br /&gt;
&lt;br /&gt;
Grab http://packages.tspre.org/pool/user/b/bootmenu/bootmenu_1.5-2_armel.deb and install it. &lt;br /&gt;
&lt;br /&gt;
* Open the main menu and tap Utilities -&amp;gt; Install Bootmenu to start the bootmenu install process.&lt;br /&gt;
** If nothing happens, install xterm&lt;br /&gt;
** If window appears and then goes away, gainroot is not installed&lt;br /&gt;
*** Alternative method with dropbear client / server installed, start xterm, run dbclient root@0, password &#039;rootme&#039;, run /usr/sbin/install_bootmenu&lt;br /&gt;
* First, say yes to removing &amp;quot;unneeded extra (and factory testing) stuff&amp;quot;&lt;br /&gt;
* say yes to including bootmenu.conf (important). Reboot when done flashing.&lt;br /&gt;
* This is a special boot menu where boot menu items are made in /etc/bootmenu.d/*.item and refresh_bootmenu.d will flash this to initfs. &#039;&#039;&#039;If you are cloning or booting other OS&#039;es, you&#039;ll need to make such .item files&#039;&#039;&#039;. See [[Mer/Documentation/Bootmenu]]&lt;br /&gt;
&lt;br /&gt;
Grab e2fsprogs and install it - grab gnutar as well&lt;br /&gt;
&lt;br /&gt;
*From x-terminal, root: insmod /mnt/initfs/lib/modules/current/mbcache.ko&lt;br /&gt;
*insmod /mnt/initfs/lib/modules/current/jbd.ko&lt;br /&gt;
*insmod /mnt/initfs/lib/modules/current/ext3.ko&lt;br /&gt;
*mkfs.ext3 /dev/mmcblk0p1&lt;br /&gt;
*mkswap /dev/mmcblk0p2 &lt;br /&gt;
*swapon /dev/mmcblk0p2&lt;br /&gt;
*mkdir -p /mnt/mer&lt;br /&gt;
*mkdir -p /etc/bootmenu.d&lt;br /&gt;
*mount -t ext3 /dev/mmcblk0p1 /mnt/mer&lt;br /&gt;
*cd /mnt/mer; wget &amp;lt;nowiki&amp;gt;http://stskeeps.subnetmask.net/mer/&amp;lt;your version&amp;gt;/mer-armel-770-image-v&amp;lt;your version&amp;gt;.tar.gz&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*tar pzxvf mer-armel-770-image-v&amp;lt;your version&amp;gt;.tar.gz&lt;br /&gt;
*rm mer-armel-770-image-v&amp;lt;your version&amp;gt;.tar.gz&lt;br /&gt;
*umount /mnt/mer&lt;br /&gt;
*Make /etc/bootmenu.d/mer.item with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ITEM_NAME=&amp;quot;Mer&amp;quot;&lt;br /&gt;
ITEM_ID=&amp;quot;mer&amp;quot;&lt;br /&gt;
ITEM_DEVICE=&amp;quot;mmcblk0p1&amp;quot;&lt;br /&gt;
ITEM_MODULES=&amp;quot;mbcache jbd ext3&amp;quot;&lt;br /&gt;
ITEM_FSTYPE=&amp;quot;ext3&amp;quot;&lt;br /&gt;
ITEM_FSOPTIONS=&amp;quot;noatime,ro&amp;quot;&lt;br /&gt;
ITEM_LINUXRC=&amp;quot;linuxrc&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*refresh_bootmenu.d (say yes to reflashing, no to backup of initfs. reboot)&lt;br /&gt;
*Hold down Menu key when prompted while booting and select Mer in the boot menu.&lt;br /&gt;
&lt;br /&gt;
== BeagleBoard port ==&lt;br /&gt;
&lt;br /&gt;
* Make sure you are running a RECENT uBoot, and you have USB input devices like keyboard or mouse, if you don&#039;t own a touchscreen..&lt;br /&gt;
* Make a SD card, partitioned with 50mb FAT as first partition, extract boot fs on this, and the rest Linux partition, format this as ext3, and extract rootfs on this.&lt;br /&gt;
* In uBoot, use the following commands (you may have to adjust video= parameter to match your display screen:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note: The format of the video bootargs parameter has changed for the new 2.6.28 kernel in 0.9. You&#039;ll likely have to update the bootargs line.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv bootcmd &#039;mmcinit; fatload mmc 0:1 0x80300000 uImage; bootm 0x80300000&#039;&lt;br /&gt;
setenv bootargs &#039;console=ttyS2,115200n8 console=tty0 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait omapfb.video_mode=1024x768MR16@60&#039;&lt;br /&gt;
saveenv&lt;br /&gt;
boot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The tablet should output kernel output on serial and on video, and on HDMI out it will eventually start X and show the First Boot Wizard. Good luck.&lt;br /&gt;
&lt;br /&gt;
== Pocket Loox 720 port (experimental) ==&lt;br /&gt;
&lt;br /&gt;
* Set up a SD card with a logical partition, and inside this logical partition, make a 50mb or so FAT partition (p5), and put the zImage file on this filesystem, name it zImage. After the logical partition, make a ext3 partition (p2), and untar rootfs on it.&lt;br /&gt;
* Grab [http://www.handhelds.org/moin/moin.cgi/HaRET HaRET] and put it on the FAT partition, HaRET.exe.&lt;br /&gt;
* Make a file, startup.txt, with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set kernel &amp;quot;zImage&amp;quot;&lt;br /&gt;
set mtype &amp;quot;617&amp;quot;&lt;br /&gt;
set RAMADDR &amp;quot;0xa8000000&amp;quot;&lt;br /&gt;
set cmdline &amp;quot;mem=128M rootdelay=1 root=b302 rw console=tty0&amp;quot;&lt;br /&gt;
boot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Unmount all filesystems, insert SD card into Pocket Loox, boot by running HaReT.exe. If HaRET stops with &amp;quot;Jumping to kernel...&amp;quot; then grab [http://dl.free.fr/dZ75nlNFA/loox_boot.tgz HaRET] from www.postnuklear.de/linuxloox.&lt;br /&gt;
* Experimental release, if you want to play with this - come hang out on #mer on irc.freenode.net and we&#039;ll try to guide you along. It is a 640x480 screen so our theme won&#039;t fit.&lt;br /&gt;
&lt;br /&gt;
* For using ssh between loox and desktop box :&lt;br /&gt;
- You need to grab an ssh enabled [http://www.daimi.au.dk/~cvm/loox.tar.gz rootfs].&lt;br /&gt;
&lt;br /&gt;
- extract it on your sd card (ext3 partition)&lt;br /&gt;
&lt;br /&gt;
- connect the Loox with the sync cable to your desktop box. And power on loox.&lt;br /&gt;
&lt;br /&gt;
- on your desktop box check for USB network interface (usualy usb0) with : ifconfig&lt;br /&gt;
&lt;br /&gt;
- configure the USB network interface : sudo ifconfig usb0 192.168.2.1&lt;br /&gt;
&lt;br /&gt;
- ssh to loox : ssh root@192.168.2.2&lt;br /&gt;
&lt;br /&gt;
- root password is &#039;rootme&#039;&lt;br /&gt;
&lt;br /&gt;
* If touchscreen is not calibrated MER v0.11:&lt;br /&gt;
- download [http://ports.ubuntu.com/pool/main/t/tslib/libts-bin_1.0-4ubuntu2_armel.deb tslib-bin] to your desktop box.&lt;br /&gt;
&lt;br /&gt;
- scp the deb file to loox : scp libts-bin_1.0-4ubuntu2_armel.deb root@192.168.2.2:/root&lt;br /&gt;
&lt;br /&gt;
- on loox : dpkg -i libts-bin*.deb&lt;br /&gt;
&lt;br /&gt;
- run ts_calibrate (all in one line) :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
TSLIB_CONFFILE=/etc/ts.conf TSLIB_TSDEVICE=/dev/input/event0 TSLIB_FBDEVICE=/dev/fb0 TSLIB_CONSOLEDEVICE=none TSLIB_CALIBFILE=/etc/pointercal ts_calibrate&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
- you can test your touchscreen with ts_test&lt;br /&gt;
&lt;br /&gt;
* If touchscreen is not working under Xorg MER v0.11 :&lt;br /&gt;
remove xorg synaptics driver&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get remove xserver-xorg-input-synaptics&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Internet on Loox&lt;br /&gt;
- Configure MASQUERADE on you desktop&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
iptables -A FORWARD -s 192.168.2.0/24 -j ACCEPT&lt;br /&gt;
iptables -A FORWARD -d 192.168.2.0/24 -j ACCEPT&lt;br /&gt;
iptables -t nat -A POSTROUTING -o eth0 -s 192.168.2.0/24 -j MASQUERADE&lt;br /&gt;
echo 1 &amp;gt;/proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== SmartQ ==&lt;br /&gt;
Dual booting doesn&#039;t seem to work at the moment.&lt;br /&gt;
&lt;br /&gt;
You&#039;ll need an SD card with a FAT32 as the first partition and more than 140MB free.&lt;br /&gt;
&lt;br /&gt;
Download the correct firmware image and rootfs image from the Released Images table.  Copy both of them to the root of the FAT32 partition on the SD card.&lt;br /&gt;
&lt;br /&gt;
Rename the firmware image to either &#039;SmartQ5&#039; or &#039;SmartQ7&#039; according to your device.&lt;br /&gt;
&lt;br /&gt;
You may also want to download some additional software to our SD card for after Mer is installed.&amp;lt;br&amp;gt;&lt;br /&gt;
To use Wifi, you&#039;ll need the Marvell Wifi Firmware blobs&lt;br /&gt;
* Browse [http://www.marvell.com/drivers/driverDisplay.do?driverId=203 here to agree the download license] and get a zip file&lt;br /&gt;
* Extract the downloaded zip file, then extract SD-8686-FEDORA26FC6-SYSKT-GPL-9.70.3.p24-26409.P45.tar within it. Extract the FwImage folder to your PC.&lt;br /&gt;
* Inside there are two files, helper_sd.bin and sd8686.bin. Rename helper_sd.bin to sd8686_helper.bin and copy to your SD card&lt;br /&gt;
&lt;br /&gt;
The commands to extract and copy it might look like this:&lt;br /&gt;
 cd /tmp&lt;br /&gt;
 unzip SD-8686-LINUX26-SYSKT-9.70.3.p24-26409.P45-GPL.zip&lt;br /&gt;
 tar xf SD-8686-FEDORA26FC6-SYSKT-GPL-9.70.3.p24-26409.P45.tar&lt;br /&gt;
 cp FwImage/helper_sd.bin /path_to_SD_CARD/sd8686_helper.bin&lt;br /&gt;
 cp FwImage/sd8686.bin /path_to_SD_CARD/sd8686.bin&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Wifi WPA2 fix&lt;br /&gt;
* Download the [http://www.daimi.au.dk/~cvm/kernel-smartq5-modules_2.6.24.7-smartq5-050509_all.deb SmartQ5] or [http://download.opensuse.org/repositories/Maemo://Mer:/Devel:/HW:/SmartQ:/Devel/MerDevel_Ubuntu_9.04/all/kernel-smartq7-modules_2.6.24.7-smartq7-20090729_all.deb SmartQ7] WPA2-fixed driver to your SD card.&lt;br /&gt;
&lt;br /&gt;
Now unmount the SD card and eject it.&lt;br /&gt;
&lt;br /&gt;
Power off the SmartQ totally (wait for the LED to go out) and insert the SD card.&lt;br /&gt;
&lt;br /&gt;
===SmartQ5===&lt;br /&gt;
Press and hold the + button and insert the charger.&lt;br /&gt;
The device will begin to boot; the LED will be green/yellow.&lt;br /&gt;
A series of chinese characters will appear ending with &#039;...&#039; if all is going well.  Once you see them, you can release the + button.  Next there will be&lt;br /&gt;
a progress bar.  Once it completes, the device will automatically reboot.&lt;br /&gt;
&lt;br /&gt;
===SmartQ7===&lt;br /&gt;
Press and hold the &#039;menu&#039; key (bottom key on front) and insert the charger.&lt;br /&gt;
The device will begin to boot; the LED will be a different colour - green/yellow. You can release the menu key. Some chinese symbols appear and then a progress bar ticks (slowly) up to 100%.  Once it completes, the device will automatically reboot.&lt;br /&gt;
&lt;br /&gt;
===both===&lt;br /&gt;
After this a calibration screen will appear and shortly after you are in Mer.&lt;br /&gt;
&lt;br /&gt;
If you have connected it to a computer via USB, it will be accessible over USB networking on IP 192.168.2.15 ([http://wiki.maemo.org/USB_networking#Host_USB_Network_Configuration see instructions here]) with a SSH server, login root, password rootme &lt;br /&gt;
&lt;br /&gt;
It will not show a splash screen, but it will after darkness then make the screen white, and eventually, show the Mer background and first boot wizard.&lt;br /&gt;
&lt;br /&gt;
=== To mount your SD card ===&lt;br /&gt;
In Mer on SmartQ, open X-Terminal and type (tab-completion is your friend):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$  sudo mount -t vfat /dev/mmcblk1p1 /media&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When prompted for a password, enter the one you set when you first started.&lt;br /&gt;
Note that the above device name has one lower-case L character and then two number one characters (these can look quite similar in some fonts).&lt;br /&gt;
&lt;br /&gt;
=== To get wireless networking (including WPA2) to work===&lt;br /&gt;
&lt;br /&gt;
In order to get wireless networking to work, you are going to have to install the Marvell firmware you copied onto your SD card, and to get WPA2 working, you&#039;ll also need to install the .deb.  The first step is to mount your SD card (see the section just above this, if you haven&#039;t already mounted it).&lt;br /&gt;
&lt;br /&gt;
So, in Mer on SmartQ, open X-Terminal and type (tab-completion is your friend):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo cp /media/sd8686.bin /lib/firmware/&lt;br /&gt;
(if prompted, the password is the one you set when you first started)&lt;br /&gt;
$ sudo cp /media/sd8686_helper.bin /lib/firmware/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And then either, for the SmartQ5 [Note: The following step may not be necessary as the 0.16-5 firmware automatically installs the most current file from the SD card during bootup. The confirmation message is &amp;quot;wifi firmware installation successful&amp;quot;. Verified on Q5.]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo dpkg -i /media/kernel-smartq5-modules_2.6.24.7-smartq5-*_all.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or for the SmartQ7 [Note: The following step may not be necessary as the 0.16-5 firmware automatically installs the most current file from the SD card during bootup. The confirmation message is &amp;quot;wifi firmware installation successful&amp;quot;. Verified on Q7.]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo dpkg -i /media/kernel-smartq7-modules_2.6.24.7-smartq7-*_all.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now that you&#039;ve enabled networking, you should close the gaping security hole which is part of the default configuration by changing the root password from its default, which is &amp;quot;rootme&amp;quot;.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo passwd&lt;br /&gt;
Password:   (enter your user password)&lt;br /&gt;
Enter new UNIX password:   (enter any hard to guess password you want)&lt;br /&gt;
Retype new UNIX password:   (same one again)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next you should reboot.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo /sbin/reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once it reboots, you should be able to see wireless networks on the menu and select them.&lt;br /&gt;
&lt;br /&gt;
=== Booting from SD card ===&lt;br /&gt;
(this was taken from [http://alone-in-the-light.zenvoid.org/2009/06/boot-smartq-5-from-sd-card.html zenvoid&#039;s blog])&lt;br /&gt;
&lt;br /&gt;
In order to boot from the SD card, it is simply a matter of creating a partition on the SD card large enough to hold the mer distribution, but leaving enough unpartitioned space at the end of the card for the bootloader to sit.&lt;br /&gt;
&lt;br /&gt;
* Download install-smartq-qi.sh, qi-smartq-20090612.bin from http://zenvoid.org/software/qi-smartq&lt;br /&gt;
&lt;br /&gt;
* Create at least one ext2/ext3 Partition your SD card (and optionally a swap partition), but always &#039;&#039;&#039;remember to reserve 1 MiB of free, unpartitioned space at the end of the SD card&#039;&#039;&#039;. To be precise, at least the last 2048 blocks (512 bytes each) must be reserved.&lt;br /&gt;
* Untar (tar --numeric-owner -zxvf) the rootfs for your device onto the partition you created on your SD card (make sure it isn&#039;t mounted with any no* options, e.g. nodev, noexec, ..)&lt;br /&gt;
* Rename or copy the kernel file (/boot/zImage&amp;lt;something&amp;gt;)  to /boot/linux-SMDK6410.bin&lt;br /&gt;
* Run&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./install-smartq-qi.sh /dev/SD_CARD_DEVICE qi-smartq-20090612.bin&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To boot from the SD card, keep the &amp;quot;move&amp;quot;/fullscreen button (Q5) or right-hand-most button on the top which looks like a target symbol (Q7) pressed and then press the &amp;quot;power&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
Q5 Boot stages:&lt;br /&gt;
* Red LED: First stage - bootloader is loading itself into memory.&lt;br /&gt;
* Yellow LED: Second stage - bootloader running, trying to locate and loading a kernel image.&lt;br /&gt;
* Green LED: Linux kernel loaded and running.&lt;br /&gt;
* Blinking yellow LED: A critical error while reading from the SD card.&lt;br /&gt;
* Blinking green LED: No kernel found.&lt;br /&gt;
&lt;br /&gt;
Q7 Boot:&lt;br /&gt;
&lt;br /&gt;
Keep in mind that the LEDs colours are reversed on the Q7, i.e. a green LED on the Q5 is a red one on the Q7 (the list above is for the Q5)&lt;br /&gt;
&lt;br /&gt;
There is no battery check at the moment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Alternate SD booting method using the OF bootloader ====&lt;br /&gt;
(as desribed on the Smartqmid forum: &lt;br /&gt;
http://www.smartqmid.com/phpBB3/viewtopic.php?f=2&amp;amp;t=150)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;works only with OF installed on the device&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
in short:&lt;br /&gt;
*the first partition must be fat32 and the other primary partitions must be ext3&lt;br /&gt;
*on the first (fat) partition must be a folder named boot, that contains a menu.lst file and the kernel image (zimage)&lt;br /&gt;
*the menu.lst should be formated like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
title sdcard # name of the entry&lt;br /&gt;
kernel /boot/zimage # kernel image location&lt;br /&gt;
param root=/dev/mmcblk1p2 rootwait # location of the root fs, this is&lt;br /&gt;
                                   # the second primary partition on SD &lt;br /&gt;
                                   # the internal memory is mmcblk0,&lt;br /&gt;
                                   # first internal partition = mmcblk0p1&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With all this in place, the device shows a simple boot menu when turned on wit the SD card inside, you can select the entry with +,- buttons on the left and booting is triggered with middle button on the upper left.&lt;br /&gt;
&lt;br /&gt;
Theoretically you can multiboot up to 5 different systems (internal + on the fat partition + three ext3 partitions, &#039;&#039;&#039;not tested&#039;&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
[[Category:Mer]]&lt;/div&gt;</summary>
		<author><name>84.51.141.236</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Mer/Documentation/Installation&amp;diff=23920</id>
		<title>Mer/Documentation/Installation</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Mer/Documentation/Installation&amp;diff=23920"/>
		<updated>2009-09-24T16:40:58Z</updated>

		<summary type="html">&lt;p&gt;84.51.141.236: /* Booting from SD card */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article sums up the different ways to install Mer on different types of computers (VMWare, chroot, on device, etc.). Please feel free to add/edit. The original information is taken from [[Mer/Releases/0.9]].&lt;br /&gt;
&lt;br /&gt;
Replace &amp;quot;&amp;lt;your version&amp;gt;&amp;quot; with the version you are going to install, e.g. &amp;quot;0.9&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Installation in VirtualBox  ==&lt;br /&gt;
&lt;br /&gt;
# Unzip zip file&lt;br /&gt;
# Open VirtualBox, create new machine (click New):&lt;br /&gt;
#* Name: Mer &#039;&#039;&amp;lt;your version&amp;gt;&#039;&#039;&lt;br /&gt;
#* OS type: Linux&lt;br /&gt;
#* Version: Ubuntu&lt;br /&gt;
#* RAM: 128MB (at least)&lt;br /&gt;
#* Disk: click &amp;quot;existing&amp;quot;, find the mer-x86-generic-image-v&#039;&#039;&amp;lt;your version&amp;gt;&#039;&#039;.vmdk file, select, select&lt;br /&gt;
#* Next&lt;br /&gt;
# Finish&lt;br /&gt;
# Start the newly created virtual machine&lt;br /&gt;
# Installing all the needed packages for installing VirtualBox additions:&lt;br /&gt;
#* I had to install the following packages by:&lt;br /&gt;
#* sudo apt-get install build-essential linux-headers-*kernel-version*-generic&lt;br /&gt;
#*(replace *kernel-version* with the currently installed kernel-version on the virtual machine)&lt;br /&gt;
#*(you can simply find out which kernel-version you have, by executing &amp;quot;uname -r&amp;quot; in Mer&#039;s XTerminal)&lt;br /&gt;
# Installing the additions:&lt;br /&gt;
#*First of all you have to mount the CD-Image with the additions emulated as a cdrom-device into the virtual machine running mer.&lt;br /&gt;
#* Mount the VboxAdditions.iso by: Devices -&amp;gt; mount CD-ROM image -&amp;gt; select VboxGuestAdditions.iso&lt;br /&gt;
#* Create a new folder with root rights by:&lt;br /&gt;
#*sudo mkdir /media/cdrom&lt;br /&gt;
#* and mount the virtual device&#039;s filesystem to the new mountpoint by:&lt;br /&gt;
#*sudo mount /dev/scd0 /media/cdrom&lt;br /&gt;
#* If no errors are appearing you can install the additions by:&lt;br /&gt;
#*sudo /media/cdrom/VBoxLinuxAdditions-x86.run&lt;br /&gt;
# Rebooting the virtual machine:&lt;br /&gt;
#* Now, when the installation of the additions has finished, you can reboot the vm simply by:&lt;br /&gt;
#*sudo init 6&lt;br /&gt;
# Finished&lt;br /&gt;
&lt;br /&gt;
== Installation (chroot) ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir mer-&amp;lt;your version&amp;gt;&lt;br /&gt;
cd mer-&amp;lt;your version&amp;gt; &amp;amp;&amp;amp; sudo tar xzf mer-x86-generic-image-v&amp;lt;your version&amp;gt;.tar.gz&lt;br /&gt;
sudo mkdir -p tmp/.X11-unix home/$USER/.osso&lt;br /&gt;
sudo mv usr/bin/maemo-invoker usr/bin/maemo-invoker.real&lt;br /&gt;
echo -e &#039;#!/bin/sh\nPROG=&amp;quot;$1&amp;quot;\nshift\nexec &amp;quot;$PROG&amp;quot; &amp;quot;$@&amp;quot;&#039; | sudo tee usr/bin/maemo-invoker&lt;br /&gt;
sudo chmod 755 usr/bin/maemo-invoker&lt;br /&gt;
echo &#039;nameserver &amp;lt;mynameresolver&amp;gt;&#039; | sudo tee -a etc/resolv.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Start-up (from within &amp;lt;code&amp;gt;mer-&#039;&#039;&amp;lt;your version&amp;gt;&#039;&#039;&amp;lt;/code&amp;gt; directory) ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -extension Composite 2&amp;gt;/dev/null 1&amp;gt;&amp;amp;2 &amp;amp;&lt;br /&gt;
sudo mount --bind /tmp/.X11-unix tmp/.X11-unix&lt;br /&gt;
sudo mount --bind /dev/pts dev/pts&lt;br /&gt;
sudo mount -t proc proc proc&lt;br /&gt;
sudo mount -t sysfs sysfs sys&lt;br /&gt;
sudo chroot .&lt;br /&gt;
export DISPLAY=:2.0&lt;br /&gt;
/etc/init.d/dbus start&lt;br /&gt;
start-hildon&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== x86 Install ==&lt;br /&gt;
&lt;br /&gt;
See [[Mer/Documentation/Making_x86_Mer_Bootable|Making x86 Mer Bootable]]&lt;br /&gt;
&lt;br /&gt;
== N8x0 Install ==&lt;br /&gt;
&lt;br /&gt;
=== The Installer ===&lt;br /&gt;
&lt;br /&gt;
The developers of Mer implemented an installer, which leads through all the steps of installation. In order to use the installer you need to open:&lt;br /&gt;
[http://trac.tspre.org/merinstaller.install .install file] with your device, which will prompt you to install the file (about 2.5MB) and add the Extras, Extras-devel and tspre.org repositories if they were not added already.&lt;br /&gt;
&lt;br /&gt;
After the download and the installation go to Settings -&amp;gt; Application Manager -&amp;gt; Utilities -&amp;gt; Browse Installable Applications -&amp;gt; Other and system and you will find a program &amp;quot;Install Bootmenu&amp;quot; and &amp;quot;Merinstaller&amp;quot;. If you did not install those by pressing &amp;quot;OK&amp;quot; before, do it now.&lt;br /&gt;
&lt;br /&gt;
The Simple Install will create a bootmenu entry for you. However, for more advanced installations - eg if you already have multiple booting OSes - you might want to read about its [[Mer/Documentation/Bootmenu|configuration]] - you may need to make a .item if you have a clone-to-SD copy of Maemo or Deblet. You can also find out how to change the default boot menu item and other bootmenu tricks.&lt;br /&gt;
&lt;br /&gt;
Assuming you created all the .item files you wanted, go ahead, and start the bootmenu installer from Utilities -&amp;gt; Install Bootmenu. Its advised to close all other applications and network connections, but the installer will tell you all relevant information.&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;Are you sure to continue?&amp;quot; - yes&lt;br /&gt;
* &amp;quot;Create backup of current initfs&amp;quot; - yes/no&lt;br /&gt;
* &amp;quot;Remove unneeded extra (and factory testing) stuff?&amp;quot; - yes&lt;br /&gt;
* &amp;quot;install telnet server for network recovery?&amp;quot; - yes/no&lt;br /&gt;
* &amp;quot;install dropbear ssh server for advanced network recovery?&amp;quot; - yes/no&lt;br /&gt;
* &amp;quot;/etc/bootmenu.conf found, do you want to add it to initfs?&amp;quot; - yes&lt;br /&gt;
* &amp;quot;Ready for flashing this image?&amp;quot; - yes/no&lt;br /&gt;
&lt;br /&gt;
After a successfull flash, the device will reboot and you should see the bootmenu, where you can select the partition you want to boot. Choose the operating system where you just installed the installer for Mer and boot it.&lt;br /&gt;
&lt;br /&gt;
Now start the Merinstaller via Utilities -&amp;gt; Install Mer. Follow the instructions. When prompted for the URL= you can point it to any rootfs image you want. Check at [[Mer/Releases]] or ask at #mer.&lt;br /&gt;
&lt;br /&gt;
Once the installer puts the extracted rootfs to your device you can reboot and chose the partition where you put Mer. Please contribute by filing bugs on [https://bugs.maemo.org/ bugs.maemo.org]&lt;br /&gt;
&lt;br /&gt;
=== Flashable Image ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Very experimental, because it doesn&#039;t use the Maemo initfs; only install if you want to help test it.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Grab a kernel and rootfs image of Mer and flash them directly to the device by:&amp;lt;BR&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
   ./flasher-3.0-static -k mer-armel-n8x0-kernel-v&amp;lt;your version&amp;gt;.zImage -r mer-armel-n8x0-image-v&amp;lt;your version&amp;gt;.jffs2 -f -R&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You might want a MMC card swap partition.&lt;br /&gt;
&lt;br /&gt;
== 770 Install ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(these instructions need testing)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You will need at least a 1gb MMC, and these instructions are based on OS2008HE kernel. 48mhz kernel is highly recommended&lt;br /&gt;
&lt;br /&gt;
Partition MMC to:&lt;br /&gt;
&lt;br /&gt;
*p1: Large ext3 partition first&lt;br /&gt;
*p2: 256 MB swap partition second&lt;br /&gt;
&lt;br /&gt;
Grab http://packages.tspre.org/pool/user/b/bootmenu/bootmenu_1.5-2_armel.deb and install it. &lt;br /&gt;
&lt;br /&gt;
* Open the main menu and tap Utilities -&amp;gt; Install Bootmenu to start the bootmenu install process.&lt;br /&gt;
** If nothing happens, install xterm&lt;br /&gt;
** If window appears and then goes away, gainroot is not installed&lt;br /&gt;
*** Alternative method with dropbear client / server installed, start xterm, run dbclient root@0, password &#039;rootme&#039;, run /usr/sbin/install_bootmenu&lt;br /&gt;
* First, say yes to removing &amp;quot;unneeded extra (and factory testing) stuff&amp;quot;&lt;br /&gt;
* say yes to including bootmenu.conf (important). Reboot when done flashing.&lt;br /&gt;
* This is a special boot menu where boot menu items are made in /etc/bootmenu.d/*.item and refresh_bootmenu.d will flash this to initfs. &#039;&#039;&#039;If you are cloning or booting other OS&#039;es, you&#039;ll need to make such .item files&#039;&#039;&#039;. See [[Mer/Documentation/Bootmenu]]&lt;br /&gt;
&lt;br /&gt;
Grab e2fsprogs and install it - grab gnutar as well&lt;br /&gt;
&lt;br /&gt;
*From x-terminal, root: insmod /mnt/initfs/lib/modules/current/mbcache.ko&lt;br /&gt;
*insmod /mnt/initfs/lib/modules/current/jbd.ko&lt;br /&gt;
*insmod /mnt/initfs/lib/modules/current/ext3.ko&lt;br /&gt;
*mkfs.ext3 /dev/mmcblk0p1&lt;br /&gt;
*mkswap /dev/mmcblk0p2 &lt;br /&gt;
*swapon /dev/mmcblk0p2&lt;br /&gt;
*mkdir -p /mnt/mer&lt;br /&gt;
*mkdir -p /etc/bootmenu.d&lt;br /&gt;
*mount -t ext3 /dev/mmcblk0p1 /mnt/mer&lt;br /&gt;
*cd /mnt/mer; wget &amp;lt;nowiki&amp;gt;http://stskeeps.subnetmask.net/mer/&amp;lt;your version&amp;gt;/mer-armel-770-image-v&amp;lt;your version&amp;gt;.tar.gz&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*tar pzxvf mer-armel-770-image-v&amp;lt;your version&amp;gt;.tar.gz&lt;br /&gt;
*rm mer-armel-770-image-v&amp;lt;your version&amp;gt;.tar.gz&lt;br /&gt;
*umount /mnt/mer&lt;br /&gt;
*Make /etc/bootmenu.d/mer.item with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ITEM_NAME=&amp;quot;Mer&amp;quot;&lt;br /&gt;
ITEM_ID=&amp;quot;mer&amp;quot;&lt;br /&gt;
ITEM_DEVICE=&amp;quot;mmcblk0p1&amp;quot;&lt;br /&gt;
ITEM_MODULES=&amp;quot;mbcache jbd ext3&amp;quot;&lt;br /&gt;
ITEM_FSTYPE=&amp;quot;ext3&amp;quot;&lt;br /&gt;
ITEM_FSOPTIONS=&amp;quot;noatime,ro&amp;quot;&lt;br /&gt;
ITEM_LINUXRC=&amp;quot;linuxrc&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*refresh_bootmenu.d (say yes to reflashing, no to backup of initfs. reboot)&lt;br /&gt;
*Hold down Menu key when prompted while booting and select Mer in the boot menu.&lt;br /&gt;
&lt;br /&gt;
== BeagleBoard port ==&lt;br /&gt;
&lt;br /&gt;
* Make sure you are running a RECENT uBoot, and you have USB input devices like keyboard or mouse, if you don&#039;t own a touchscreen..&lt;br /&gt;
* Make a SD card, partitioned with 50mb FAT as first partition, extract boot fs on this, and the rest Linux partition, format this as ext3, and extract rootfs on this.&lt;br /&gt;
* In uBoot, use the following commands (you may have to adjust video= parameter to match your display screen:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note: The format of the video bootargs parameter has changed for the new 2.6.28 kernel in 0.9. You&#039;ll likely have to update the bootargs line.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv bootcmd &#039;mmcinit; fatload mmc 0:1 0x80300000 uImage; bootm 0x80300000&#039;&lt;br /&gt;
setenv bootargs &#039;console=ttyS2,115200n8 console=tty0 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait omapfb.video_mode=1024x768MR16@60&#039;&lt;br /&gt;
saveenv&lt;br /&gt;
boot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The tablet should output kernel output on serial and on video, and on HDMI out it will eventually start X and show the First Boot Wizard. Good luck.&lt;br /&gt;
&lt;br /&gt;
== Pocket Loox 720 port (experimental) ==&lt;br /&gt;
&lt;br /&gt;
* Set up a SD card with a logical partition, and inside this logical partition, make a 50mb or so FAT partition (p5), and put the zImage file on this filesystem, name it zImage. After the logical partition, make a ext3 partition (p2), and untar rootfs on it.&lt;br /&gt;
* Grab [http://www.handhelds.org/moin/moin.cgi/HaRET HaRET] and put it on the FAT partition, HaRET.exe.&lt;br /&gt;
* Make a file, startup.txt, with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set kernel &amp;quot;zImage&amp;quot;&lt;br /&gt;
set mtype &amp;quot;617&amp;quot;&lt;br /&gt;
set RAMADDR &amp;quot;0xa8000000&amp;quot;&lt;br /&gt;
set cmdline &amp;quot;mem=128M rootdelay=1 root=b302 rw console=tty0&amp;quot;&lt;br /&gt;
boot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Unmount all filesystems, insert SD card into Pocket Loox, boot by running HaReT.exe. If HaRET stops with &amp;quot;Jumping to kernel...&amp;quot; then grab [http://dl.free.fr/dZ75nlNFA/loox_boot.tgz HaRET] from www.postnuklear.de/linuxloox.&lt;br /&gt;
* Experimental release, if you want to play with this - come hang out on #mer on irc.freenode.net and we&#039;ll try to guide you along. It is a 640x480 screen so our theme won&#039;t fit.&lt;br /&gt;
&lt;br /&gt;
* For using ssh between loox and desktop box :&lt;br /&gt;
- You need to grab an ssh enabled [http://www.daimi.au.dk/~cvm/loox.tar.gz rootfs].&lt;br /&gt;
&lt;br /&gt;
- extract it on your sd card (ext3 partition)&lt;br /&gt;
&lt;br /&gt;
- connect the Loox with the sync cable to your desktop box. And power on loox.&lt;br /&gt;
&lt;br /&gt;
- on your desktop box check for USB network interface (usualy usb0) with : ifconfig&lt;br /&gt;
&lt;br /&gt;
- configure the USB network interface : sudo ifconfig usb0 192.168.2.1&lt;br /&gt;
&lt;br /&gt;
- ssh to loox : ssh root@192.168.2.2&lt;br /&gt;
&lt;br /&gt;
- root password is &#039;rootme&#039;&lt;br /&gt;
&lt;br /&gt;
* If touchscreen is not calibrated MER v0.11:&lt;br /&gt;
- download [http://ports.ubuntu.com/pool/main/t/tslib/libts-bin_1.0-4ubuntu2_armel.deb tslib-bin] to your desktop box.&lt;br /&gt;
&lt;br /&gt;
- scp the deb file to loox : scp libts-bin_1.0-4ubuntu2_armel.deb root@192.168.2.2:/root&lt;br /&gt;
&lt;br /&gt;
- on loox : dpkg -i libts-bin*.deb&lt;br /&gt;
&lt;br /&gt;
- run ts_calibrate (all in one line) :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
TSLIB_CONFFILE=/etc/ts.conf TSLIB_TSDEVICE=/dev/input/event0 TSLIB_FBDEVICE=/dev/fb0 TSLIB_CONSOLEDEVICE=none TSLIB_CALIBFILE=/etc/pointercal ts_calibrate&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
- you can test your touchscreen with ts_test&lt;br /&gt;
&lt;br /&gt;
* If touchscreen is not working under Xorg MER v0.11 :&lt;br /&gt;
remove xorg synaptics driver&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get remove xserver-xorg-input-synaptics&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Internet on Loox&lt;br /&gt;
- Configure MASQUERADE on you desktop&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
iptables -A FORWARD -s 192.168.2.0/24 -j ACCEPT&lt;br /&gt;
iptables -A FORWARD -d 192.168.2.0/24 -j ACCEPT&lt;br /&gt;
iptables -t nat -A POSTROUTING -o eth0 -s 192.168.2.0/24 -j MASQUERADE&lt;br /&gt;
echo 1 &amp;gt;/proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== SmartQ ==&lt;br /&gt;
Dual booting doesn&#039;t seem to work at the moment.&lt;br /&gt;
&lt;br /&gt;
You&#039;ll need an SD card with a FAT32 as the first partition and more than 140MB free.&lt;br /&gt;
&lt;br /&gt;
Download the correct firmware image and rootfs image from the Released Images table.  Copy both of them to the root of the FAT32 partition on the SD card.&lt;br /&gt;
&lt;br /&gt;
Rename the firmware image to either &#039;SmartQ5&#039; or &#039;SmartQ7&#039; according to your device.&lt;br /&gt;
&lt;br /&gt;
You may also want to download some additional software to our SD card for after Mer is installed.&amp;lt;br&amp;gt;&lt;br /&gt;
To use Wifi, you&#039;ll need the Marvell Wifi Firmware blobs&lt;br /&gt;
* Browse [http://www.marvell.com/drivers/driverDisplay.do?driverId=203 here to agree the download license] and get a zip file&lt;br /&gt;
* Extract the downloaded zip file, then extract SD-8686-FEDORA26FC6-SYSKT-GPL-9.70.3.p24-26409.P45.tar within it. Extract the FwImage folder to your PC.&lt;br /&gt;
* Inside there are two files, helper_sd.bin and sd8686.bin. Rename helper_sd.bin to sd8686_helper.bin and copy to your SD card&lt;br /&gt;
&lt;br /&gt;
The commands to extract and copy it might look like this:&lt;br /&gt;
 cd /tmp&lt;br /&gt;
 unzip SD-8686-LINUX26-SYSKT-9.70.3.p24-26409.P45-GPL.zip&lt;br /&gt;
 tar xf SD-8686-FEDORA26FC6-SYSKT-GPL-9.70.3.p24-26409.P45.tar&lt;br /&gt;
 cp FwImage/helper_sd.bin /path_to_SD_CARD/sd8686_helper.bin&lt;br /&gt;
 cp FwImage/sd8686.bin /path_to_SD_CARD/sd8686.bin&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Wifi WPA2 fix&lt;br /&gt;
* Download the [http://www.daimi.au.dk/~cvm/kernel-smartq5-modules_2.6.24.7-smartq5-050509_all.deb SmartQ5] or [http://download.opensuse.org/repositories/Maemo://Mer:/Devel:/HW:/SmartQ:/Devel/MerDevel_Ubuntu_9.04/all/kernel-smartq7-modules_2.6.24.7-smartq7-20090729_all.deb SmartQ7] WPA2-fixed driver to your SD card.&lt;br /&gt;
&lt;br /&gt;
Now unmount the SD card and eject it.&lt;br /&gt;
&lt;br /&gt;
Power off the SmartQ totally (wait for the LED to go out) and insert the SD card.&lt;br /&gt;
&lt;br /&gt;
===SmartQ5===&lt;br /&gt;
Press and hold the + button and insert the charger.&lt;br /&gt;
The device will begin to boot; the LED will be green/yellow.&lt;br /&gt;
A series of chinese characters will appear ending with &#039;...&#039; if all is going well.  Once you see them, you can release the + button.  Next there will be&lt;br /&gt;
a progress bar.  Once it completes, the device will automatically reboot.&lt;br /&gt;
&lt;br /&gt;
===SmartQ7===&lt;br /&gt;
Press and hold the &#039;menu&#039; key (bottom key on front) and insert the charger.&lt;br /&gt;
The device will begin to boot; the LED will be a different colour - green/yellow. You can release the menu key. Some chinese symbols appear and then a progress bar ticks (slowly) up to 100%.  Once it completes, the device will automatically reboot.&lt;br /&gt;
&lt;br /&gt;
===both===&lt;br /&gt;
After this a calibration screen will appear and shortly after you are in Mer.&lt;br /&gt;
&lt;br /&gt;
If you have connected it to a computer via USB, it will be accessible over USB networking on IP 192.168.2.15 ([http://wiki.maemo.org/USB_networking#Host_USB_Network_Configuration see instructions here]) with a SSH server, login root, password rootme &lt;br /&gt;
&lt;br /&gt;
It will not show a splash screen, but it will after darkness then make the screen white, and eventually, show the Mer background and first boot wizard.&lt;br /&gt;
&lt;br /&gt;
=== To mount your SD card ===&lt;br /&gt;
In Mer on SmartQ, open X-Terminal and type (tab-completion is your friend):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$  sudo mount -t vfat /dev/mmcblk1p1 /media&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When prompted for a password, enter the one you set when you first started.&lt;br /&gt;
Note that the above device name has one lower-case L character and then two number one characters (these can look quite similar in some fonts).&lt;br /&gt;
&lt;br /&gt;
=== To get wireless networking (including WPA2) to work===&lt;br /&gt;
&lt;br /&gt;
In order to get wireless networking to work, you are going to have to install the Marvell firmware you copied onto your SD card, and to get WPA2 working, you&#039;ll also need to install the .deb.  The first step is to mount your SD card (see the section just above this, if you haven&#039;t already mounted it).&lt;br /&gt;
&lt;br /&gt;
So, in Mer on SmartQ, open X-Terminal and type (tab-completion is your friend):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo cp /media/sd8686.bin /lib/firmware/&lt;br /&gt;
(if prompted, the password is the one you set when you first started)&lt;br /&gt;
$ sudo cp /media/sd8686_helper.bin /lib/firmware/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And then either, for the SmartQ5 [Note: The following step may not be necessary as the 0.16-5 firmware automatically installs the most current file from the SD card during bootup. The confirmation message is &amp;quot;wifi firmware installation successful&amp;quot;. Verified on Q5.]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo dpkg -i /media/kernel-smartq5-modules_2.6.24.7-smartq5-*_all.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or for the SmartQ7 [Note: The following step may not be necessary as the 0.16-5 firmware automatically installs the most current file from the SD card during bootup. The confirmation message is &amp;quot;wifi firmware installation successful&amp;quot;. Verified on Q7.]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo dpkg -i /media/kernel-smartq7-modules_2.6.24.7-smartq7-*_all.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now that you&#039;ve enabled networking, you should close the gaping security hole which is part of the default configuration by changing the root password from its default, which is &amp;quot;rootme&amp;quot;.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo passwd&lt;br /&gt;
Password:   (enter your user password)&lt;br /&gt;
Enter new UNIX password:   (enter any hard to guess password you want)&lt;br /&gt;
Retype new UNIX password:   (same one again)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next you should reboot.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo /sbin/reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once it reboots, you should be able to see wireless networks on the menu and select them.&lt;br /&gt;
&lt;br /&gt;
=== Booting from SD card ===&lt;br /&gt;
(this was taken from [http://alone-in-the-light.zenvoid.org/2009/06/boot-smartq-5-from-sd-card.html zenvoid&#039;s blog])&lt;br /&gt;
&lt;br /&gt;
In order to boot from the SD card, it is simply a matter of creating a partition on the SD card large enough to hold the mer distribution, but leaving enough unpartitioned space at the end of the card for the bootloader to sit.&lt;br /&gt;
&lt;br /&gt;
* Download install-smartq-qi.sh, qi-smartq-20090612.bin from http://zenvoid.org/software/qi-smartq&lt;br /&gt;
&lt;br /&gt;
* Partition your SD card so that it has at least one ext2/ext3 partition (and optionally a swap partition), but always &#039;&#039;&#039;remember to reserve 1 MiB of free, unpartitioned space at the end of the SD card&#039;&#039;&#039;. To be precise, at least the latest 2048 blocks (512 bytes each) must be reserved.&lt;br /&gt;
* Untar (tar --numeric-owner -zxvf) your rootfs on your SD card (make sure it isn&#039;t mounted with any no* options, e.g. nodev, noexec, ..)&lt;br /&gt;
* Copy the kernel to /boot/linux-SMDK6410.bin&lt;br /&gt;
* Run&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./install-smartq-qi.sh /dev/SD_CARD_DEVICE qi-smartq-20090612.bin&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To boot from the SD card, keep the &amp;quot;move&amp;quot;/fullscreen button (Q5) or right-hand-most button on the top (Q7) pressed and then press the &amp;quot;power&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
Q5 Boot stages:&lt;br /&gt;
* Red LED: First stage - bootloader is loading itself into memory.&lt;br /&gt;
* Yellow LED: Second stage - bootloader running, trying to locate and loading a kernel image.&lt;br /&gt;
* Green LED: Linux kernel loaded and running.&lt;br /&gt;
* Blinking yellow LED: A critical error while reading from the SD card.&lt;br /&gt;
* Blinking green LED: No kernel found.&lt;br /&gt;
&lt;br /&gt;
Q7 Boot:&lt;br /&gt;
&lt;br /&gt;
Keep in mind that the LEDs colours are reversed on the Q7, i.e. a green LED on the Q5 is a red one on the Q7 (the list above is for the Q5)&lt;br /&gt;
&lt;br /&gt;
There is no battery check at the moment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Alternate SD booting method using the OF bootloader ====&lt;br /&gt;
(as desribed on the Smartqmid forum: &lt;br /&gt;
http://www.smartqmid.com/phpBB3/viewtopic.php?f=2&amp;amp;t=150)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;works only with OF installed on the device&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
in short:&lt;br /&gt;
*the first partition must be fat32 and the other primary partitions must be ext3&lt;br /&gt;
*on the first (fat) partition must be a folder named boot, that contains a menu.lst file and the kernel image (zimage)&lt;br /&gt;
*the menu.lst should be formated like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
title sdcard # name of the entry&lt;br /&gt;
kernel /boot/zimage # kernel image location&lt;br /&gt;
param root=/dev/mmcblk1p2 rootwait # location of the root fs, this is&lt;br /&gt;
                                   # the second primary partition on SD &lt;br /&gt;
                                   # the internal memory is mmcblk0,&lt;br /&gt;
                                   # first internal partition = mmcblk0p1&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With all this in place, the device shows a simple boot menu when turned on wit the SD card inside, you can select the entry with +,- buttons on the left and booting is triggered with middle button on the upper left.&lt;br /&gt;
&lt;br /&gt;
Theoretically you can multiboot up to 5 different systems (internal + on the fat partition + three ext3 partitions, &#039;&#039;&#039;not tested&#039;&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
[[Category:Mer]]&lt;/div&gt;</summary>
		<author><name>84.51.141.236</name></author>
	</entry>
</feed>