Bug 3732

Summary: yocto-bsp is based around having only one kernel
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Blloyd <blloyd>
Component: meta-yoctoAssignee: Saul Wold <sgw>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: Low CC: bluelightning, bruce.ashfield, jessica.zhang, poky.bs.watcher, poky.watcher, pokylinux
Version: 1.4   
Target Milestone: Future   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Blloyd 2013-01-16 23:16:30 UTC
When creating bsps, it would be nice to be able to offer multiple kernels for use by other parties.  The current creation script creates only a single one, and then there is no way to easily run the script again to add a second kernel to the bsp.
The yocto-kernel program is based around the idea of only one kernel as well.  It would make it easier for BSP packagers to give more options to the BSP consumers if they could easily add multiple kernels and be easier for BSP consumers if tools to modify existing kernels supported multiple versions of the kernel.
Comment 1 Saul Wold 2017-10-23 23:57:51 UTC
This is actually a duplicate of 11363 which is actively being worked on.  We are also deprecating the yocto-bsp and yocto-kernel scripts.

*** This bug has been marked as a duplicate of bug 11363 ***
Comment 2 Robert Berger 2017-10-24 07:46:55 UTC
Oh no "deprecating the yocto-bsp and yocto-kernel scripts". They slowly start to work for me even on custom kernels. I think with some more advertisement more people would use them. Will there be something instead of them, or just write your own BSP from scratch each time?
Comment 3 Bruce Ashfield 2017-10-25 08:21:23 UTC
(In reply to comment #2)
> Oh no "deprecating the yocto-bsp and yocto-kernel scripts". They slowly
> start to work for me even on custom kernels. I think with some more
> advertisement more people would use them. Will there be something instead of
> them, or just write your own BSP from scratch each time?

I haven't heard of any replacement.

That being said, I'm always creating BSPs and haven't used the scripts .. they may have been a bit to ambitious in their feature set.

I'd definitely consider creating something smaller/simpler that could be used to create a layer with a BSP template (that left variables to be filled in for the kernel, kernel features, etc versus the questions + templates of the old scripts).