Bug 2385 - live image install doesn't work with mmcblk devices
Summary: live image install doesn't work with mmcblk devices
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.2
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.2.1
Assignee: Darren Hart
QA Contact:
URL:
Whiteboard: Patch sent to oe-core (May 1, 2012)
Depends on:
Blocks:
 
Reported: 2012-05-01 23:52 UTC by Darren Hart
Modified: 2012-05-16 21:46 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darren Hart 2012-05-01 23:52:01 UTC
The installer only searches for hd[ab] sd[ab]. Some newer BSPs have mmcblk devices that should be used as the install target. These devices also have a partition prefix (mmcblk0p1 instead of mmcblk01). I have modified install.sh that works. I'll polish this up and post it.

As BSPs like the FRI2 and the sys940x have mmc devices and will have a 1.2 release, we should push this to 1.2.1. The changes are perfectly contained and easily verified.
Comment 1 Darren Hart 2012-05-16 21:46:21 UTC
Master commit:

commit 203231f1f850c8227514bfc63b948f1c60abdc3b
Author: Darren Hart <dvhart@linux.intel.com>
Date:   Tue May 1 21:14:18 2012 -0700

    initrdscripts: Update install.sh to work with mmc devices

denzil-next commit:
commit bc32d44617e37555d7ee961cb18a024ee2ed8a71
Author: Darren Hart <dvhart@linux.intel.com>
Date:   Tue May 1 17:21:59 2012 -0700

    initrdscripts: Update install.sh to work with mmc devices
Comment 2 Darren Hart 2012-05-16 21:46:46 UTC
.