Bug 8940

Summary: Allow Hob to run images on a custom simulator, other than qemu
Product: [Build System, Metadata & Runtime] Hob Reporter: Mirela Rabulea <mirela.rabulea>
Component: hobAssignee: Mirela Rabulea <mirela.rabulea>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: belen.barros.pena, bogdanx.a.voiculescu, cristiana.voicu, joshuagloe, mirela.rabulea, poky.bs.watcher, poky.watcher, ross.burton, valentin.popa
Version: 2.1   
Target Milestone: 2.2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Mirela Rabulea 2016-01-18 12:30:52 UTC
I have been told that Hob is deprecated and to be replaced by Toaster, still I have some changes already made on Hob, which I would like to push.

The current behavior of Hob is that there is a "Run Image" button which becomes visible only for qemu images.

My suggested change is:
- if an image is selected and it is , let the "Run image" button be named "Run qemu image"
- if an image is selected and it is not qemu-compatible, let the same button show up with the name "Run custom image", and besides that, an option shows-up to allow the selection of the custom script (by default it points out to runqemu script) to be used for launching this custom image
Comment 1 Belen Barros Pena 2016-01-22 10:42:06 UTC
Patch submitted to bitbake-devel

http://lists.openembedded.org/pipermail/bitbake-devel/2016-January/006934.html
Comment 2 Mirela Rabulea 2016-02-04 11:47:47 UTC
(In reply to comment #0)
> I have been told that Hob is deprecated and to be replaced by Toaster, still
> I have some changes already made on Hob, which I would like to push.
> 
> The current behavior of Hob is that there is a "Run Image" button which
> becomes visible only for qemu images.
> 
> My suggested change is:
> - if an image is selected and it is , let the "Run image" button be named
> "Run qemu image"
> - if an image is selected and it is not qemu-compatible, let the same button
> show up with the name "Run custom image", and besides that, an option
> shows-up to allow the selection of the custom script (by default it points
> out to runqemu script) to be used for launching this custom image


There are a few words missing here:
- if an image is selected and it is QEMU COMPATIBLE, let the "Run image" button be named "Run qemu image"
Comment 3 Ross Burton 2016-04-14 20:57:51 UTC
Fixed in bitbake cc4cfc2370297b8feb2dc39d4262e73adf06c09a.