Bug 8710 - Install to eMMC failed with Gummiboot and GRUB
Summary: Install to eMMC failed with Gummiboot and GRUB
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.0
Hardware: Other x86_64
: Medium+ major
Target Milestone: 2.1 M2
Assignee: Mei Yeen Ng
QA Contact: Mei Yeen Ng
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-11-23 11:32 UTC by Mei Yeen Ng
Modified: 2016-03-07 07:03 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
Error Log of eMMC failed to install (2.41 KB, text/plain)
2015-11-23 11:32 UTC, Mei Yeen Ng
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mei Yeen Ng 2015-11-23 11:32:10 UTC
Created attachment 2861 [details]
Error Log of eMMC failed to install

BUILD: 2.0: fc45deac89ef63ca1c44e763c38ced7dfd72cbe1
ENVIRONMENT: Intel Atom x86_64 platform
IMAGE: core-image-sato

STEPS TO REPRODUCE:
1. Boot up core-image-sato using USB Boot
2. At Gummiboot loader, choose Install option
3. Select install to /dev/mmcblk0

EXPECTED OUTCOME:
Install core-image-sato to eMMC successfully and boot up from eMMC. 

ACTUAL OUTCOME:
Failed to install to eMMC with error message as below: 
Formatting /dev/mmcblk01 to vfat...
mkfs.fat 3.0.28 (2015-05-16)
/dev/mmcblk01: No such file or directory
Comment 1 Mei Yeen Ng 2015-11-23 13:15:47 UTC
Root caused of the issue: Failed to assign partition prefix 'p' to /dev/mmcblk0 due to failed condition checking with the additional /dev/ in this Jethro version. 

Testing patch and working on getting patch upstream.
Comment 2 Mei Yeen Ng 2015-11-26 02:39:22 UTC
Installation to eMMC using GRUB also failed with the same error seen on Gummiboot. Patch will cover both GRUB and gummiboot.
Comment 4 Cristina Agurida 2016-02-16 14:39:37 UTC
Hello,

Tested on latest master: 36b43b233c841b3c09fc17e04686b4b758780963

I tested on an Lenovo S10-3 and it worked to install the image on an SD card. However, the kernel mapped the SD drive as /dev/sdc (it is an USB to SD internal converter). I don't have the hardware to test this.
Please give it a try yourself and let me know the outcome.

Thank you,
Cristina