Bug 8368 - [Eclipse]Add documentation how to configure a profile for External Hardware
Summary: [Eclipse]Add documentation how to configure a profile for External Hardware
Status: VERIFIED FIXED
Alias: None
Product: Development Manual
Classification: Documentation
Component: development (show other bugs)
Version: 2.0
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.0
Assignee: Scott Rifenbark
QA Contact: Valentin Hangan
URL:
Whiteboard: 14 Oct 2015: RESOLVED/FIXED
Depends on:
Blocks:
 
Reported: 2015-09-22 08:21 UTC by Valentin Hangan
Modified: 2015-10-26 12:26 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Done (doc changes complete)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Valentin Hangan 2015-09-22 08:21:00 UTC
We need to have in documentation more details about:
  - how to build toolchain for a specific target
Ex: You need to select a specific machine from /poky/build/conf/local.conf to target the build with. There  are a selection of emulated machines available which can boot and run in the QEMU emulator: MACHINE ?=  “qemux86” ;MACHINE ?=  “qemuarm ”;
If no other machine is selected the default machine would be qemux86 ;
 - how and where add compatible layers for your machine in 
Ex: $PATH/poky/build/conf/bblayers.conf 
 - more details about how to configure Preference Profile
Ex: Open Window->Preferences->Yocto Project ADT and set up :
      - Cross Compiler Options : “Build system derived toolchain” 
      - Toolchain Root Location: You must point to your “$PATH/poky/build”  	      
      - Sysroot Location : You must point to your
        “$PATH/poky/build/tmp/sysroots/x86_64-linux”
      - Target Options : “External HW”

I found all this problems on : 
http://community.phytec.com/forum/topic/Yocto-Projects-in-Eclipse.htm
Comment 1 Scott Rifenbark 2015-09-22 14:42:25 UTC
Setting Target to 2.0 and estimating 1.0 perfect days.

Scott
Comment 2 Scott Rifenbark 2015-09-22 17:37:25 UTC
Hi, 

All this information is currently in the YP manual set.  What I have done to address this bug is to add a few pointers and information items to the main area surrounding using the OpenEmbedded build system to build out a cross-toolchain.  

Specifically, see http://www.yoctoproject.org/docs/1.9/adt-manual/adt-manual.html#using-the-toolchain-from-within-the-build-tree for some changes.  Step 2 talks about making sure your local.conf file has the correct MACHINE variable for your target architecture.  I added a bit to tell about the default qemux86 value used if the user does nothing.  I also added a new step 3 to mention the bblayers.conf file as the place to make sure the build system is aware of all concerned layers.  The new step has a cross-reference to the YP Development Manual where we describe how to enable layers.

Regarding configuring the Preference Profile in Eclipse, that information is detailed in the YP Development Manual where we talk about using Eclipse (see http://www.yoctoproject.org/docs/1.9/dev-manual/dev-manual.html#configuring-the-cross-compiler-options).  There are specific steps to set up those preferences.  

Setting the state to IN PROGRESS REVIEW.

Thanks, 
Scott
Comment 3 Scott Rifenbark 2015-10-14 19:09:22 UTC
Hi, 

No further feedback.  Setting to RESOLVED/FIXED and doc flag to "Done."

Scott
Comment 4 Valentin Hangan 2015-10-26 12:26:49 UTC
Verified documentation on http://www.yoctoproject.org/docs/1.9/dev-manual/dev-manual.html#configuring-the-cross-compiler-options and it's fixed.