Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

DSDP/TML/How to configure TmL demo

< DSDP‎ | TML
Revision as of 16:59, 26 November 2008 by Escodro.yahoo.com (Talk | contribs) (Running Tml Demo)

Pre-requirements

  • Eclipse Europa 3.3


Getting the TmL Code

Getting VNC Viewer Component

  1. Go to vnc viewer download page
  2. Get the file tml-vnc-anonymous.psf (link)
  3. Import this file into Eclipse workspace. Please see cvs setup page for more details.

Getting Device Framework

  1. Go to device download page
  2. Get the file tml-device-anonymous.psf (link)
  3. Import this file into Eclipse workspace. Please see cvs setup page for more details.


Tips for Proxy Connections

  • Sometimes the procedure above could not work if you are using a internet proxy based connection.
  • If this is your case, open psf files and change all references "pserver:dev.eclipse.org:" by "pserver:proxy.eclipse.org:80".

Configuring the example org.eclipse.tml.device.qemuarm

  1. Go to QEmu ARM download page
  2. Get the file qemu-0.9.0-arm.zip (link).
  3. Unzip this file into a temporary folder (Example: C:\Temp\)
  4. After unzip it, open the folder qemu-0.9.0-arm
  5. Copy all files from this folder (including subfolders keymaps and License) to qemu folder on org.eclipse.tml.device.qemuarm plugin in your workspace. Overwrite any file in case you are prompted for confirmation. Note: In the case you obtained TML from the SDK zip file, the plugin org.eclipse.tml.device.qemuarm will be in the form of a JAR file instead of a folder. In this case you can extract the JAR file to a folder named org.eclipse.tml.device.qemuarm inside the Eclipse plugins folder, perform the copy described above and, finally, remove the JAR file (otherwise this plugin would look duplicated to Eclipse).
  6. Change files arm_root.img and integratorcp.zImage to read only.

Configuring the example org.eclipse.tml.device.qemureact

  1. Go to QEmu ReactOS download page.
  2. Get the file Preloaded with QEmu (sourceforge link). Please don´t use save link as, it won´t work, just click it.
  3. Unzip this file into a temporary folder (Example: C:\Temp\).
  4. After unzip, open the folder ReactOS-0.3.3-QEMU.
  5. Copy all files from this folder (including subfolders keymaps and License) to qemu folder on org.eclipse.tml.device.qemureact plugin in your workspace. Overwrite any file in case you are prompted for confirmation. Note: In the case you obtained TML from the SDK zip file, the plugin org.eclipse.tml.device.qemureact will be in the form of a JAR file instead of a folder. In this case you can extract the JAR file to a folder named org.eclipse.tml.device.qemureact inside the Eclipse plugins folder, perform the copy described above and, finally, remove the JAR file (otherwise this plugin would look duplicated to Eclipse).
  6. Change the file ReactOS.vmdk to read only.

Running Tml Demo

  1. After examples already configured rebuild all TmL projects (or use clean if your build automatically is checked)
  2. Select any TmL plugin and run it as Eclipse Application.
  3. Open the TmL Perspective so as to create emulator instances. As an example, the foloowing steps guide you in creating and starting a QEmuReact instance.
  4. Create a new QEmuReact instance. Do this by selecting File menu > New > Other..., then choose QemuReact Device Instance Wizard inside Emulators folder and click Next.
  5. Type a name for the instance and click Next.
  6. Enter localhost for the Host, :0.0 for the Display and 5900 for the Port. Click Finish and the new instance is created.
  7. Select the instance just created on Instance Management view and click Start Instance.
  8. After the instance starting process completes, select the the instance again on Instance Management view and click Connect VNC so as to start viewing the Emulator screen. The VNC Viewer view shows up displaying the QemuReact desktop. The desktop should look like this: Vnc-view.png

Comments and questions

  • Please send us your comments, suggestions or questions. It is very important to help us to improved our framework.

Trademarks and Copyright

  • QEmu is a trademark of Fabrice Bellard.
  • ARM is a registered trademark of ARM Limited.
  • ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.

Back to the top