Closed
Bug 828063
Opened 12 years ago
Closed 12 years ago
B2G emulator doesn't sem to have a properly formatted SDCard
Categories
(Firefox OS Graveyard :: GonkIntegration, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dhylands, Assigned: dhylands)
Details
(Keywords: dev-doc-needed)
Attachments
(2 files, 1 obsolete file)
|
15.82 KB,
text/x-log
|
Details | |
|
1.44 KB,
patch
|
mwu
:
review+
|
Details | Diff | Splinter Review |
I built an emulator image with Marionette support enabled (so I could run xpcshell tests).
I noticed that when I did run-emulator.sh that the sdcard volume doesn't get mounted properly.
STR:
- ./run-emulator.sh
Epected:
- sdcard will transition to the Mounted State.
Observed:
- AutoMounter tries to mount sdcard 3 times, and it fails each time.
This will make it hard to test some of the updater changes that we're trying to get running.
Also, I observed:
00:18:39.924 43/84 AutoMounter E Unable to open file '/sys/devices/virtual/usb_composite/usb_mass_storage/enable' for reading
00:18:39.924 43/84 AutoMounter E Unable to open file '/sys/devices/virtual/switch/usb_configuration/state' for reading
These errors are expeced as the emulator has no USB support.
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → dhylands
| Assignee | ||
Updated•12 years ago
|
Component: General → Builds
| Assignee | ||
Comment 1•12 years ago
|
||
You can use a more persistent sdcard image and/or size by overriding the SDCARD_IMG or SDCARD_SIZE environment variables before running run-emulator.sh
Attachment #712679 -
Flags: review?(mwu)
| Assignee | ||
Comment 2•12 years ago
|
||
Realized I was using a linux specific path to get to mksdcard. Updated to use the calculated tool path instead.
Attachment #712694 -
Flags: review?(mwu)
| Assignee | ||
Updated•12 years ago
|
Attachment #712679 -
Attachment is obsolete: true
Attachment #712679 -
Flags: review?(mwu)
Comment 3•12 years ago
|
||
Comment on attachment 712694 [details] [diff] [review]
Create an empty sdcard when running the emulator. v2
Looks good!
(I was making a comment about TOOLS_PATH as you posted a new patch..)
Attachment #712694 -
Flags: review?(mwu) → review+
| Assignee | ||
Comment 4•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 5•12 years ago
|
||
Added dev-doc-needed since the ability to provide a the SDCARD image location and size can be overridden (and should be documented whereever it is that we talk about the emulator).
The first way is to override in the environment:
export SDCARD_SIZE=1024M
export SDCARD_IMG=${HOME}/mysdcard.img
./run-emulator.sh
or on the command line to run-emulator.sh
SDCARD_SIZE=1024M SDCARD_IMG=${HOME}/mysdcard.img ./run-emulator.sh
Keywords: dev-doc-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•