Thread
:
[Solved] /dev/mmcblk* missing when in /sbin/preinit?
View Single Post
bozoid
2012-12-13 , 06:21
Posts: 95 | Thanked: 66 times | Joined on Mar 2012
#
8
Oh, one thing to note. One might want to identify the correct storage to do further stuff from this...
(ie: find the eMMC or the storage card).
As noted in other threads (rootfs on emmc), N900 swaps mmcblk0 and mmcblk1 at some point after preinit.
The solution I did was to use sfdisk -l, coupled with some greps, etc, to identify the partition (in a very flaky way, by looking at count of cylinders).
I noted that both eMMC & SD use the same kernel drivers... hence trying to identify them by hardware type proved a bit difficult.
Didn't try too hard to find other ways yet.
Options I can think of offhand to identify the storage are:
- lshal
- parameters of the device in /sys/block/mmcblk*
- probably some storage label tool.
kh
Quote & Reply
|
The Following 2 Users Say Thank You to bozoid For This Useful Post:
reinob
,
Sourav.dubey
bozoid
View Public Profile
Send a private message to bozoid
Find all posts by bozoid