<?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>6518</bug_id>
          
          <creation_ts>2014-07-09 09:14:32 +0000</creation_ts>
          <short_desc>yocto-bsp create creates faulty SRC_URI</short_desc>
          <delta_ts>2015-02-07 17:09:24 +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>BSPs</product>
          <component>bsps-configuration</component>
          <version>1.6.1</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 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Berger">pokylinux</reporter>
          <assigned_to name="Tom Zanussi">tom.zanussi</assigned_to>
          <cc>bruce.ashfield</cc>
    
    <cc>yp.bsp.watcher</cc>
    
    <cc>yp.watcher</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>44393</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2014-07-09 09:14:32 +0000</bug_when>
    <thetext>:~/yocto-autobuilder/yocto-slave/custom-daisy-socrates-ml-minimal/build/meta-altera&gt; yocto-bsp create meta-bbb-ml arm -o ../meta-bbb-ml
Checking basic git connectivity...
Done.

Would you like to use the default (3.14) kernel? (y/n) [default: y] n
Please choose the kernel to use in this BSP: [default: linux-yocto_3.14]
        1) linux-yocto-dev
        2) linux-yocto_3.14
        3) linux-yocto-tiny_3.14
        4) linux-yocto_3.10
        5) linux-yocto-rt_3.10
        6) linux-yocto-tiny_3.10
        7) custom
7
Is the custom kernel you&apos;d like to use in a remote git repo? (y/n) [default: y]
Please enter the full URI to the remote git repo (the default corresponds to linux-stable v3.13.9) [default: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git] git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Do you need to use a specific (non-master) branch? (y/n) [default: n] y
Please enter the branch you want to use (the default branch corresponds to the linux-stable &apos;linux-3.13.y&apos; branch): [default: linux-3.13.y] linux-3.15.y
Please enter the SRCREV (commit id) you&apos;d like to use (use &apos;${AUTOREV}&apos; to track the current HEAD): [default: ${AUTOREV}] 89b2a066a5c4a14e9bee3e16054c06a8400415e6
Please enter the Linux version of the kernel you&apos;ve specified: [default: 3.13.9] 3.15.4
Please enter a Linux version extension if you want (it will show up at the end of the kernel name shown by uname): [default: -custom]
It&apos;s recommended (but not required) that custom kernels be built using a defconfig.  Please enter the full path to the defconfig for your kernel (NOTE: if you don&apos;t specify a defconfig the kernel probably won&apos;t build or boot): [default: ]
Which machine tuning would you like to use? [default: tune_cortexa8]
        1) arm1136jf-s tuning optimizations
        2) arm920t tuning optimizations
        3) arm926ejs tuning optimizations
        4) arm9tdmi tuning optimizations
        5) cortexa5 tuning optimizations
        6) cortexa7 tuning optimizations
        7) cortexa8 tuning optimizations
        8) cortexa9 tuning optimizations
        9) cortexa15 tuning optimizations
        10) cortexm1 tuning optimizations
        11) cortexm3 tuning optimizations
        12) cortexr4 tuning optimizations
        13) ep9312 tuning optimizations
        14) iwmmxt tuning optimizations
        15) strongarm1100 tuning optimizations
        16) xscale tuning optimizations
7
Please specify a value for UBOOT_MACHINE: [default: omap3_beagle_config] am335x_evm_config
Please specify a value for UBOOT_ENTRYPOINT: [default: 0x80008000] 0x80008000
Please specify a value for UBOOT_LOADADDRESS: [default: 0x80008000] 0x80008000
Do you need support for X? (y/n) [default: y] n
Does your BSP have a touchscreen? (y/n) [default: n] n
Does your BSP have a keyboard? (y/n) [default: y] n

New arm BSP created in meta-bbb-ml

daisy is not able to fetch the kernel with the generated SRC_URI:

SRC_URI = &quot;git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;protocol=git;bareclone=1&quot;

this works:

SRC_URI = &quot;git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;protocol=git;bareclone=1;branch=${KBRANCH}&quot;

BTW it would also be nice to able to add flattened device trees here</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44399</commentid>
    <comment_count>1</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2014-07-09 13:26:16 +0000</bug_when>
    <thetext>I sent this to Tom, since I&apos;m not sure if this is a configuration/operation that is already supported.
Adding the branch to keep the fetcher happy is simple enough, but again, I&apos;ll leave that up to Tom.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47228</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2014-11-27 09:06:44 +0000</bug_when>
    <thetext>I would say bug 6810 depends on this one and not the other way around, since we don&apos;t need X working to fix the URL.

So I would suggest to replace Depends on: 6810 with Blocks: 6810</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47242</commentid>
    <comment_count>3</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2014-11-27 20:07:22 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; I would say bug 6810 depends on this one and not the other way around, since
&gt; we don&apos;t need X working to fix the URL.
&gt; 
&gt; So I would suggest to replace Depends on: 6810 with Blocks: 6810

I made this a dependency since it builds on top of the yocto-bsp updates I posted, and those can&apos;t get pulled in until 6810 is fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48324</commentid>
    <comment_count>4</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2015-01-27 13:42:39 +0000</bug_when>
    <thetext>Patchsets submitted to poky ml for review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48624</commentid>
    <comment_count>5</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2015-02-07 17:09:24 +0000</bug_when>
    <thetext>Merged:

daisy: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=daisy&amp;id=367b862d596718a7edc3e99eb57a5be82775705d

dizzy: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=dizzy&amp;id=53b33d85de334a96e4f6f7edc2ad72d103627e3b

master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=02a1e01c00f1fca678c4596cd80ec747ffc1dd6b</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>