<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>4783</bug_id>
          
          <creation_ts>2013-06-27 09:22:27 +0000</creation_ts>
          <short_desc>[adt-installer] ARM: target arch change from armv5te to armv7a-vfp-neon in environment setting script.</short_desc>
          <delta_ts>2013-09-24 05:55:33 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>ADT</product>
          <component>adt</component>
          <version>1.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.5 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Laurentiu Palcu">laurentiu.palcu</assigned_to>
          <cc>elizabeth.flanagan</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>ke.zou</cc>
    
    <cc>ning.zhang</cc>
    
    <cc>poky.adt.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>yi.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>34170</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2013-06-27 09:22:27 +0000</bug_when>
    <thetext>ADT_installer location: http://autobuilder.yoctoproject.org/pub/nightly/20130625-2/adt-installer-QA/

ADT repo: http://adtrepo-dev.yoctoproject.org/1.4+snapshot-8e9501ffa8726d69412d669580d787ffedb88d34-master/

git info: master/8e9501ffa8726d69412d669580d787ffedb88d34

Steps:
1. Download adt_installer.tar.bz2 from http://autobuilder.yoctoproject.org/pub/nightly/20130625-2/adt-installer-QA/
2. Setup the target architecture to arm and install the ADT.
3. After installation finish, I found the environment setting script is environment-setup-armv7a-vfp-neon-poky-linux-gnueabi. It should be environment-setup-armv5te-poky-linux-gnueabi. This file is from package meta-environment-arm_1.0-r8_x86_64-nativesdk.ipk in adt repo.

Here is the root cause:
Currently on autobuilder, besides nightly-arm (qemuarm), there is an extra layers nightly-fsl-arm (imx53qsb) also build meta-toolchain and the ipk packages will also be copied to adt repo. Although they have the same arch, the core cpu of target machine is different. Unfortunately, when generate the meta-environment-arm package, they have the same package name. So when copy the package to adt repo, the latest one will cover the previous one.

The adt_installer and its repo are only for yocto, so we shouldn&apos;t copy packages from other extra meta layers(e.g. nightly-fsl-arm or nightly-fsl-ppc) to the adt repo. Otherwise the adt repo will be contaminated.  

There is a similar issue for toolchain tarball. See bug 4618.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34590</commentid>
    <comment_count>1</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2013-07-16 08:16:19 +0000</bug_when>
    <thetext>For 20130710-1 build, besides arm, ppc target arch environment setting scripts also be changed in i686 host. It should be &quot;environment-setup-ppc603e-poky-linux&quot;, but now it is &quot;environment-setup-ppce500v2-poky-linux-gnuspe&quot;. It is because some packages from nightly-fsl-ppc covered the correct packages.

ADT repo: http://adtrepo-dev.yoctoproject.org/1.4+snapshot-a63229917a5708de2d161aba0d67168ce0da6365-master/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35739</commentid>
    <comment_count>2</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2013-08-19 10:06:22 +0000</bug_when>
    <thetext>Hi,

This issue still happens on recent builds. Do we have any solution ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35818</commentid>
    <comment_count>3</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2013-08-21 15:42:48 +0000</bug_when>
    <thetext>Hi Laurentiu,

Please fix this at the beginning of M5

Thanks,
Jessica</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36146</commentid>
    <comment_count>4</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2013-09-02 09:41:25 +0000</bug_when>
    <thetext>I&apos;ve got a fix for this already (http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lpalcu/b4783_target_arch_change) but it impacts ADT installer: YOCTOADT_TARGETS variable in adt-installer.conf would have to be set to &apos;armv5te&apos; (for qemuarm toolchain) or &apos;armv7a-vfp-neon&apos; (for beagleboard) instead of just &apos;arm&apos; as it is right now. This would be needed for all architectures.

The alternative is for the user to use the machine name: beagleboard or qemuarm. Even though this would be easier, from the user perspective, it&apos;s not ideal. The user might also have to choose from a lot of machine names.

The easiest way, from the user point of view, is to have just &apos;x86&apos;, &apos;arm&apos;, etc. Unfortunately, I&apos;m not sure we can achieve that any time soon, at least not in this release cycle. I&apos;ll continue my investigations though and see if I can come up with a better solution for the time being.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36147</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-09-02 09:54:29 +0000</bug_when>
    <thetext>I think we should merge the TUNE_PKGARCH patches and add comments to the configuration file showing the defaults for our standard machine set (qemu and meta-yocto-bsp machines). Would that approach work?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36148</commentid>
    <comment_count>6</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2013-09-02 10:01:53 +0000</bug_when>
    <thetext>That can be done, of course. I&apos;ll do the changes and make some tests locally.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36492</commentid>
    <comment_count>7</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2013-09-10 15:12:07 +0000</bug_when>
    <thetext>Patches sent on the oe-core ML.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36521</commentid>
    <comment_count>8</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2013-09-11 06:25:26 +0000</bug_when>
    <thetext>Patches merged:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=bd0fc8e8927fb5d5ec4fb080b3f0d7b1b19b4583
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=5d125f514fc2ecb00e1a8a1079d279db2d42895f
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=9d3d1a2da2a804c74ff11a618e69add0d64a555d
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=32090b6ea0bf7d49a6c8bfb271535c644fe612d6
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=5992830145c55f5103b4ba24f98eeeae13c604fc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37094</commentid>
    <comment_count>9</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2013-09-24 05:55:33 +0000</bug_when>
    <thetext>Verified with 1.5 M5 rc4.
poky master: 853bc53cd58a621918f0e5ce662dba263d1befb4</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>