Bug 5615 - Add expect scripts for interacting with grub for automated hw testing
Summary: Add expect scripts for interacting with grub for automated hw testing
Status: CLOSED FIXED
Alias: None
Product: Runtime Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: 1.6
Hardware: All Multiple
: High enhancement
Target Milestone: 1.7 M1
Assignee: Cristian Iorga
QA Contact: Stoicescu Cornel
URL:
Whiteboard:
Depends on: 5614
Blocks: 6254
  Show dependency tree
 
Reported: 2013-11-29 18:32 UTC by Paul Eggleton
Modified: 2014-10-23 08:58 UTC (History)
2 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 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.