Installing the Eclipse Yocto Plug-in
- To install the Eclipse Yocto Plug-in, follow these special steps.
- The steps are WIP and are not final.
- Once they are final they will be replaced with the actual steps:
+ WRITER'S NOTE: The steps in here are temporary.
+ I need to replace them when the real procedure is available from Jessica Zhang.
+
+
+
+ To install the Eclipse Yocto Plug-in, follow these steps:
Open a shell and create a Git repository with:
$ git clone git://git.yoctoproject.org/yocto-eclipse yocto-eclipse
-
+
+ For this example, I created ~/yocto-eclipse.In Eclipse, select "Import" from the "File" menu.Expand the "General" box and pick "existing projects into workspace".
@@ -164,9 +168,8 @@
$ cd ~/eclipse
$ ./eclipse -vmargs -XX:PermSize=256M
- What is shown is the default projects in the left pane.
- I should be able to right-click on one of these and run as an Eclipse application to
- bring up the Eclipse instance again with the Eclipse Yocto Plug-in working.
+ The left navigation pane shows the default projects.
+ Right-click on one of these projects and run it as an Eclipse application.
This brings up a second instance of Eclipse IDE that has the Yocto Plug-in.
@@ -186,7 +189,7 @@
To start, you need to do the following from within the Eclipse IDE:
Choose Windows -> Preferences to display
- the Preferences Dialog
+ the Preferences Dialog
Click Yocto ADT
@@ -349,21 +352,24 @@
Configuring the Cross-Toolchains
- The previous section, "Configuring
+ The earlier section, "Configuring
the Eclipse Yocto Plug-in", sets up the default project
configurations.
- You can change these settings for a given project by following these steps:
+ You can override these settings for a given project by following these steps:
- Select Window -> Preferences:
- This selection brings up the Preferences Dialog.
- If the Yocto ADT Preferences are not automatically displayed, you can navigate to
- that dialog by selection Yocto ADT in the left-hand
- panel.
- Yocto ADT Settings are inherited from the default project configuration.
- The information in this dialog is identical to that chosen earlier
- for the Cross Compiler Options and Target Options as described in the
- "Configuring the Eclipse
- Yocto Plug-in" section.
+ Select Project -> Change Yocto Project Settings:
+ This selection brings up the Project Yocto Settings Dialog
+ and allows you to make changes specific to an individual project.
+
+ By default, the Cross Compiler Options and Target Options for a project
+ are inherited from settings you provide using the Preferences
+ Dialog as described earlier
+ in the "Configuring the Eclipse
+ Yocto Plug-in" section.
+ The Project Yocto Settings
+ Dialog allows you to override those default settings
+ for a given project.
+ Make your configurations for the project and click "OK".Select Project -> Reconfigure Project:
This selection reconfigures the project by running
autogen.sh in the workspace for your project.
@@ -387,29 +393,23 @@
Starting QEMU in User Space NFS Mode
-
- WRITER'S NOTE: I might need to make sure the target sysroot is pointing to qemux86-sato
- at this point.
- I am not sure it really inherits it from the Eclipse IDE settings.
-
-
To start the QEMU emulator from within Eclipse, follow these steps:
- Expose the Run -> External Tools -> External Tools
- Configurations... menu.
+ Expose the Run -> External Tools menu.
Your image should appear as a selectable menu item.
Select your image in the navigation pane to launch the
emulator in a new window.
- Enter your host root password in the shell window at the prompt.
+ If needed, enter your host root password in the shell window at the prompt.
This sets up a Tap 0 connection needed for running in user-space
NFS mode.Wait for QEMU to launch.
- Once QEMU launches you need to determine the IP Address
- for the user-space NFS.
- You can do that by going to a terminal in the QEMU and entering the
- ifconfig command.
+ Once QEMU launches, you can begin operating within that
+ environment.
+ For example, you could determine the IP Address
+ for the user-space NFS by using the ifconfig command.
+
@@ -440,8 +440,8 @@
Click Next.Clear out the host name field and enter the IP Address
determined earlier.
- Click Finish to close the new connections
- Dialog.
+ Click Finish to close the
+ New Connections Dialog.Use the drop-down menu now in the Connection field and pick
the IP Address you entered.Click Debug to bring up a login screen