USB usages?(Ben)

Stefan Schmidt stefan at
Thu Jun 9 12:50:20 EDT 2011


On Thu, 2011-06-09 at 12:55, Werner Almesberger wrote:
> Wolfgang Spraul wrote:
> > The ability to switch the Ben to USB disk mode is a very reachable
> > goal,
> You mean access to the Ben's built-in NAND ? How does this work ?

Using the usb storage gadget driver from the linux kernel will give
you the functionality to emulate a usb storgae device to the host.

There are some pitfalls thought.

1) It needs to be a single partition. Maybe the expanded this since my
last look at it to offer more then one partition.

2) You should not access the same partition from the running device
during the time mounted on the host or it can give interesting
results. :)

Thats one of the reasons why devices offering this mode turn off all
other functions during this time.

3) The partitions must hold and filesystem that the host actually
understands. Speak fat32 or such if you want to connect it everywhere.
Thats quite a limitation if you want the same partition shared for
rootfs and usb storage emulation.

Having a second partition helps out here.

Stefan Schmidt

More information about the discussion mailing list