PC via miniUSB port USB interface S3C6410 development board, reading the content on the SD card, make U disk Development Board to be used is the same as the phone connected to the computer! Specific steps are as follows:
This article reprint please indicate the source:
http://blog.sina.com.cn/s/blog_a189aca10102v5vm.html
Linux3.0.1 into the kernel directory play make menuconfig kernel configuration steps are as follows:
1) Select the USB support in the device drivers
2) into the USB support select USB Gadget Support
3)在USB Gadget Support中选择S3C HS/OTG USB Device Controller、USB Gadget Drivers、File-backed Storage Gadget
Then save and exit execution command to compile the kernel: make zImage (remember to use the newly generated kernel image)
Performing the command generation module: make modules
OK at compile drivers / usb / gadget / directory module will generate two g_file_storage.ko
Instructions are executed in the development board
insmod g_file_storage.ko file=/dev/sdcard stall=0 removable=1
You can see the U disk into WINDOWS, do not drive if you are prompted to complete the installation, etc., please look at hot-swappable USB interface
Role of each of the above modules, the search can not understand, not one written out herein, specific steps described above, two attached above link: