Difference between revisions of "DaVinci USBHost 1.0"

From eLinux.org
Jump to: navigation, search
 
(Added to category DaVinci)
 
(4 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
cd into your kernel lsp directory.
 
cd into your kernel lsp directory.
  
Run make menuconfig.
+
Run  
 +
make menuconfig.
  
 
Select drivers -> SCSI.
 
Select drivers -> SCSI.
  
Enable scsi and enable search multiple LUI option.
+
Enable scsi disk support and enable Probs multiple LUN option.
  
 
Select drivers -> USB.
 
Select drivers -> USB.
  
Enable USB Host Mode.
+
Enable Host-side USB.
 +
 
 +
Enable USB device filesystem.
  
 
Enable USB Mass Storage Device option.
 
Enable USB Mass Storage Device option.
Line 17: Line 20:
 
Get the kernel onto your board in the usual way.
 
Get the kernel onto your board in the usual way.
  
mkdir /usbdrive
+
Make sure the jumper by the USB port is in the right location for HOST mode (check manual).
 +
 
 +
mkdir /usbdrive
  
 
insert your USB card reader
 
insert your USB card reader
Line 23: Line 28:
 
mount your card using:
 
mount your card using:
  
mount /dev/sdXX /usbdrive -o sync
+
mount /dev/sdXX /usbdrive -o sync
  
 
where XX = a1, a2, a3, b1 etc..
 
where XX = a1, a2, a3, b1 etc..
  
 
Enjoy!
 
Enjoy!
 +
 +
[[Category:Development Boards]]
 +
[[Category:DaVinci]]

Latest revision as of 04:55, 13 April 2011

USB Host Guide 1.0

cd into your kernel lsp directory.

Run

make menuconfig.

Select drivers -> SCSI.

Enable scsi disk support and enable Probs multiple LUN option.

Select drivers -> USB.

Enable Host-side USB.

Enable USB device filesystem.

Enable USB Mass Storage Device option.

Get the kernel onto your board in the usual way.

Make sure the jumper by the USB port is in the right location for HOST mode (check manual).

mkdir /usbdrive

insert your USB card reader

mount your card using:

mount /dev/sdXX /usbdrive -o sync

where XX = a1, a2, a3, b1 etc..

Enjoy!