3

I need to be able to access the two eMMC "boot" partitions on an SD Card from my Ubuntu 14.04 system with USB-SD Card adapter. The SD card is actually an embedded eMMC device plugged-in to an SD Card adapter board, but it looks just like an SD Card.

The kernel documentation says the boot partitions are accessible as /dev/mmcblkXboot0 and /dev/mmcblkXboot1. When I plug in the SD card to my system, it mounts as /dev/sdc and I can see the "user" partition on the card, but not the boot partitions, which I know exist because I can seem them in another system.

The boot partitions do not contain any mountable filesystem, but they contain raw data used by firmware on another system. I just want to be able use dd to read/write the boot partitions.

I'm pretty sure I did this a couple years ago using a laptop with a built-in SD card reader and running a different version of Linux (not sure if it was Ubuntu).

Can anyone help with how to do this on Ubuntu 14.04?

lsblk output:

bwelch@bwelch-linux:~$ lsblk
NAME    MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda       8:0    0 149.1G  0 disk 
├─sda1    8:1    0 141.1G  0 part /
├─sda2    8:2    0     1K  0 part 
└─sda5    8:5    0   7.9G  0 part [SWAP]
sdc       8:32   1 229.3M  0 disk 
├─sdc1    8:33   1   128K  0 part 
├─sdc2    8:34   1     9M  0 part 
├─sdc3    8:35   1    72M  0 part /media/bwelch/disk3
├─sdc4    8:36   1     5M  0 part 
├─sdc5    8:37   1    19M  0 part /media/bwelch/disk1
├─sdc6    8:38   1   128K  0 part 
├─sdc7    8:39   1   128K  0 part 
├─sdc8    8:40   1   128K  0 part 
├─sdc9    8:41   1     9M  0 part 
├─sdc10   8:42   1    72M  0 part /media/bwelch/disk2
├─sdc11   8:43   1     5M  0 part 
├─sdc12   8:44   1    19M  0 part /media/bwelch/disk
├─sdc13   8:45   1   128K  0 part 
├─sdc14   8:46   1   128K  0 part 
├─sdc15   8:47   1   7.5M  0 part /media/bwelch/697838c1-c1d3-49f0-adf4-ad22d143291a
└─sdc16 259:0    1   7.5M  0 part /media/bwelch/ef831e0f-002f-4d68-8b28-1a81eb86f68e
sr0      11:0    1  1024M  0 rom  
bwelch@bwelch-linux:~$
Brian Welch
  • 31
  • 1
  • 3

1 Answers1

0

I got confirmation that this behavior is, in fact, a property of the card reader. The USB card reader exposes only a USB mass storage device, so the software doesn't even know there's an SD/eMMC card. The card reader would have to expose the boot partitions as separate devices, but it doesn't, which is normal.

I need to find way to attach a native SD/eMMC interface to my host PC. When I did this a couple years ago, I used an older laptop with an integrated SD card reader and I presume it had a native SD interface. The only add-in native readers I can find now use the now-discontinued Ricoh R5U230 chipset, but I'm not sure if Linux drivers are available for it.

Brian Welch
  • 31
  • 1
  • 3