Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9877 Discussions

How do we test "Ability to use Edison as a mass storage device"?

GOWRI_S_Intel
Employee
1,855 Views

On the survey i see two questions "Ability to use Edison as a mass storage device" and "Ability to use internal/external storage" I'm not sure how this was to be tested?

Was it supposed to show up as a drive?

Is it only relevant if we add a microSD to the board, in which care its the board acting as the mass storage?

Apologies if I missed instructions on this.

1 Solution
Steven_X_Intel
Employee
673 Views

My bad - this is something we should have posted up earlier. This is what's up:

1. The Edison should show up as a ~800MB drive on your computer.

2. If you insert a microSD in the Edison, you should be able to mount the device. I won't have access to my Edison for a while, but it's just a quick UNIX mount operation of the microSD device in /dev/

Note: Will include commands when I get back to my Edison.

View solution in original post

18 Replies
Steven_X_Intel
Employee
674 Views

My bad - this is something we should have posted up earlier. This is what's up:

1. The Edison should show up as a ~800MB drive on your computer.

2. If you insert a microSD in the Edison, you should be able to mount the device. I won't have access to my Edison for a while, but it's just a quick UNIX mount operation of the microSD device in /dev/

Note: Will include commands when I get back to my Edison.

GOWRI_S_Intel
Employee
673 Views

thanks!

Could you also include windows and mac tips please.

Steven_X_Intel
Employee
673 Views

Sorry - # 2's just on the Edison. Everyone gets to work directly with Linux regardless on what they're working with.

# 1 should be plug and play for all platforms though.

Edit: Did I miss the point of your question? Not sure if you meant overall Windows/Mac tips or stuff just specific to this.

MICHAEL_P_Intel
Employee
673 Views

From my test case:

After SD card is detected in Edison, mount the SD card by providing following command :

Create a mount path :

root@edison~# : mkdir /mnt/mmc

root@edison~# : mount -t vfat /dev/mmcblk0p1 /mnt/mmc

mmcblk0 is mount SC card number and p1 is the partition number is the SD card number listed when "fdisk -l" is executed.

UnMount the SD card by providign following command :

sudo unmount /mnt/mmc

Remove the SD card from edison SD card slot and re-insert it again and follow Step 1 to mount the SD card.

GOWRI_S_Intel
Employee
673 Views
MICHAEL_P_Intel
Employee
673 Views

If you plug in Edison to your host machine and it doesn't show up as mass storage, there is a problem and I would like to know more.

GOWRI_S_Intel
Employee
673 Views

Just tried it. It shows up as 767MB of empty disk. i dont see any files.

Was just asking steven about this - will we be able to drag and drop files through this sometime?

MICHAEL_P_Intel
Employee
673 Views

The feature is supposed to be integrated at this point - drag/drop should function. Have you attempted it?

Steven_X_Intel
Employee
673 Views

That's good! It's supposed to be blank.

Steven_X_Intel
Employee
673 Views

Yeah, it's pretty easy to drag files onto the drive. Do you know how to access it from the Edison side?

MICHAEL_P_Intel
Employee
673 Views

I'm trying this right now just to verify I'm not giving bad info. Give us a few minutes to be sure something isn't wrong.

Ankit_G_Intel
Employee
673 Views

Thanks MPayne, this info is very helpful. Are you able to access the 800MB memory from Edison side?

JesusE_Intel
Moderator
673 Views

Hi MPayne,

Looking at your mounting instructions, if i'm not mistaken the mmcblk0 is the 4GB eMMC internal storage. Which when trying to mount it, it threw an error.

The SD card appears as mmcblk1 and i was able to mount it using the following commands.

mkdir /mnt/mmc

mount -t vfat /dev/mmcblk1p1 /mnt/mmc

As you suggested, just swapping out the mmcblk0p1 by mmcblk1p1

Regards,

Jesus

Steven_X_Intel
Employee
673 Views

What's the error and what's the size of the microSD card you placed in the Arduino Expansion Board?

JesusE_Intel
Moderator
673 Views

Hi stevenxi,

 

Using the commands MPayne suggested.

mkdir /mnt/mmc

mount -t vfat /dev/mmcblk0p1 /mnt/mmc

This was the output:

mount: wrong fs type, bad option, bad superblock on /dev/mmcblk0p1,

missing codepage or helper program, or other error

In some cases useful info is found in syslog - try

dmesg | tail or so.

Using the following commands i had no issues mounting the SD card. The SD card is a 4GB Sandisk formatted FAT32.

mkdir /mnt/mmc

mount -t vfat /dev/mmcblk1p1 /mnt/mmc

 

Regards,

Jesus

 

Steven_X_Intel
Employee
673 Views

Right - can't mount the 4GB block itself.

David_B_Intel
Employee
673 Views

Thanks so much, Mike!

Also really glad to hear you're buying up SD cards to test with the device!

RBulh
New Contributor I
673 Views

I'm trying to transfer files using the 800Mb partition of the Intel Edison. This post supposes to answer this question but at the end don't.

Looking my disks using fdisk -l it shows:

Device Start End Size Type

/dev/mmcblk0p1 2048 6143 2M Microsoft basic data

/dev/mmcblk0p2 6144 8191 1M Microsoft basic data

/dev/mmcblk0p3 8192 12287 2M Microsoft basic data

/dev/mmcblk0p4 12288 14335 1M Microsoft basic data

/dev/mmcblk0p5 14336 16383 1M Microsoft basic data

/dev/mmcblk0p6 16384 65535 24M Microsoft basic data

/dev/mmcblk0p7 65536 131071 32M Microsoft basic data

/dev/mmcblk0p8 131072 3276799 1.5G Microsoft basic data

/dev/mmcblk0p9 3276800 4849663 768M Microsoft basic data

/dev/mmcblk0p10 4849664 7634910 1.3G Microsoft basic data

So, I suppose the disk /dev/mmcblk0p9 is the one, right? but I can't mount this partition on Intel Edison side without unmount from my host (in my case windows)

I've found this article ( http://theworldofinteledison.blogspot.com.br/2015/03/transferring-files-to-and-from-edison.html The World of Intel Edison: How to transfer files to and from Edison ?) explainning how to to that, but when a call

  1. rmmod g_multi

I lost access to my Edison, is anyone tried this before?

Regards,

Rogerio

Reply