Bug 5615

Summary: Add expect scripts for interacting with grub for automated hw testing
Product: [QA/Testing] Runtime Testing Reporter: Paul Eggleton <bluelightning>
Component: generalAssignee: Cristian Iorga <cristian.iorga>
Status: CLOSED FIXED QA Contact: Stoicescu Cornel <corneliux.stoicescu>
Severity: enhancement    
Priority: High CC: alexandru.c.georgescu, sgw
Version: 1.6   
Target Milestone: 1.7 M1   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Bug Depends on: 5614    
Bug Blocks: 6254    

Description Paul Eggleton 2013-11-29 18:32:16 UTC
Write some expect scripts to interact with the bootloaders for each of the reference machines we support (note, this list may change for 1.6 - see bug 2444). These scripts should boot into the "master" image already deployed onto the device in one partition, then upon reboot boot into the second partition containing the newly deployed test image.
Comment 1 Paul Eggleton 2013-11-29 18:34:18 UTC
Note that ideally this needs to be capable of connecting to the device using a direct serial connection and via conmux.
Comment 2 Cristian Iorga 2014-04-08 14:23:12 UTC
Investigation started.
Comment 3 Cristian Iorga 2014-04-08 14:24:24 UTC
Test platform: Intel SugarBay.
Comment 4 Cristian Iorga 2014-04-08 14:25:10 UTC
For this feature, the chosen bootloader is Grub 2.00.
Comment 5 Cristian Iorga 2014-04-10 09:33:16 UTC
An initial version of this feature has been implemented.
Comment 6 Stoicescu Cornel 2014-06-17 14:00:29 UTC
Any progress with this?
Comment 7 Cristian Iorga 2014-06-20 15:41:20 UTC
Patches sent in for review.
Comment 9 Stoicescu Cornel 2014-06-24 08:40:38 UTC
Verified with poky master:d7b3683834f9095d7c1144fda18b2a34b85cf339
Comment 10 Cristian Iorga 2014-10-23 08:58:13 UTC
Feature functional and integrated.