<?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>7391</bug_id>
          
          <creation_ts>2015-03-04 07:44:12 +0000</creation_ts>
          <short_desc>yocto-bsp-tool: can not create qemu BSP</short_desc>
          <delta_ts>2015-03-24 13:07:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>kernel</component>
          <version>1.8</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</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.8 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Tom Zanussi">tom.zanussi</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>bruce.ashfield</cc>
    
    <cc>dvhart</cc>
    
    <cc>ke.zou</cc>
    
    <cc>ross.burton</cc>
    
    <cc>tom.zanussi</cc>
    
    <cc>zhangle.yang</cc>
          
          <qa_contact name="Yi Zhao">yi.zhao</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>49172</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2015-03-04 07:44:12 +0000</bug_when>
    <thetext>Git rev: master/5c1c8af083ca7b57cc339d16ce0513b27c5dac90

Steps:
Create a qemu bsp by following the wiki: https://wiki.yoctoproject.org/wiki/Transcript:_Using_the_Yocto_BSP_tools_to_create_a_qemu_BSP

I got the following errors:
######################
$ yocto-bsp create myqemuarm qemu
Checking basic git connectivity...
Done.

Which qemu architecture would you like to use? [default: i386]
	1) i386    (32-bit)
	2) x86_64  (64-bit)
	3) ARM     (32-bit)
	4) PowerPC (32-bit)
	5) MIPS    (32-bit)
	6) MIPS64  (64-bit)
3
Would you like to use the default (3.17) kernel? (y/n) [default: y] 
Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n] [default: y] 
Getting branches from remote repo None...
Traceback (most recent call last):
  File &quot;/buildarea/poky/scripts/yocto-bsp&quot;, line 150, in &lt;module&gt;
    ret = main()
  File &quot;/buildarea/poky/scripts/yocto-bsp&quot;, line 145, in main
    invoke_subcommand(args, parser, yocto_bsp_help_usage, subcommands)
  File &quot;/buildarea/poky/scripts/lib/bsp/help.py&quot;, line 73, in invoke_subcommand
    subcommands.get(args[0], subcommand_error)[0](args[1:], usage)
  File &quot;/buildarea/poky/scripts/yocto-bsp&quot;, line 89, in yocto_bsp_create_subcommand
    yocto_bsp_create(machine, karch, scripts_path, bsp_output_dir, options.codedump, options.properties_file)
  File &quot;/buildarea/poky/scripts/lib/bsp/engine.py&quot;, line 1617, in yocto_bsp_create
    yocto_common_create(machine, arch, scripts_path, bsp_output_dir, codedump, properties_file, properties)
SyntaxError: function specified for &apos;gen&apos; property returned nothing : input type:&quot;choicelist&quot; name:&quot;new_kbranch&quot; gen:&quot;bsp.kernel.all_branches&quot; branches_base:&quot;standard&quot; prio:&quot;20&quot; msg:&quot;Please choose a machine branch to base your new BSP branch on:&quot; default:&quot;standard/base&quot;
#####################

I also listed all kernels and tried each of them. here are the results:
######################
	1) linux-yocto-tiny_3.10  [fail]
	2) linux-yocto-tiny_3.4   [fail]
	3) linux-yocto_3.14       [success] 
	4) linux-yocto-tiny_3.17  [fail]
	5) linux-yocto-rt_3.14    [success]
	6) linux-yocto_3.10       [fail]
	7) linux-yocto-dev        [success]
	8) linux-yocto_3.17       [fail]
	9) linux-yocto-rt_3.10    [fail]
########################</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49176</commentid>
    <comment_count>1</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2015-03-04 13:24:07 +0000</bug_when>
    <thetext>This is just due to the per-release kernel upgrade, which yocto-bsp updating by necessity lags.  This happens every release and we don&apos;t normally file bugs for recurring per-release work like this.

But, I&apos;ll accept it since it&apos;s here and I&apos;ve already been working on it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49693</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-03-24 13:07:35 +0000</bug_when>
    <thetext>Fixed in poky 1490e016e962b6e776042ae86710134cc6db917a</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>