Bug 6518 - yocto-bsp create creates faulty SRC_URI
Summary: yocto-bsp create creates faulty SRC_URI
Status: RESOLVED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-configuration (show other bugs)
Version: 1.6.1
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.8 M3
Assignee: Tom Zanussi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-07-09 09:14 UTC by Robert Berger
Modified: 2015-02-07 17:09 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Berger 2014-07-09 09:14:32 UTC
:~/yocto-autobuilder/yocto-slave/custom-daisy-socrates-ml-minimal/build/meta-altera> 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'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 'linux-3.13.y' branch): [default: linux-3.13.y] linux-3.15.y
Please enter the SRCREV (commit id) you'd like to use (use '${AUTOREV}' to track the current HEAD): [default: ${AUTOREV}] 89b2a066a5c4a14e9bee3e16054c06a8400415e6
Please enter the Linux version of the kernel you'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'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't specify a defconfig the kernel probably won'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 = "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;protocol=git;bareclone=1"

this works:

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

BTW it would also be nice to able to add flattened device trees here
Comment 1 Bruce Ashfield 2014-07-09 13:26:16 UTC
I sent this to Tom, since I'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'll leave that up to Tom.
Comment 2 Robert Berger 2014-11-27 09:06:44 UTC
I would say bug 6810 depends on this one and not the other way around, since we don't need X working to fix the URL.

So I would suggest to replace Depends on: 6810 with Blocks: 6810
Comment 3 Tom Zanussi 2014-11-27 20:07:22 UTC
(In reply to comment #2)
> I would say bug 6810 depends on this one and not the other way around, since
> we don't need X working to fix the URL.
> 
> 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't get pulled in until 6810 is fixed.
Comment 4 Tom Zanussi 2015-01-27 13:42:39 UTC
Patchsets submitted to poky ml for review.