Download User Manual - DevKit8000
Transcript
DevKit8000 user manual 4. The configuration of USB Gadget Support can be changed as showed in the following 6.3.2 Compilation Save the configuration and execute the following command to recompile the kernel: make make uImage After the above steps are finished, arch/arm/boot directory will generate a new kernel image zImage; drivers/usb/gadget directory will generate a new module file g_file_storage.ko. 6.3.3 Test Update kernel image file zlmage in SD card, copy file g_file_storage.ko to the SD card and reboot the system. Execute the following commands to stimulate the sd card into usb mass storage device for PC’s visit: root@DevKit8000:~# cd /media/mmcblk0p1/ root@DevKit8000:/media/mmcblk0p1# insmod g_file_storage.ko file=/dev/mmcblk0p1 stall=0 removable=1 g_file_storage gadget: File-backed Storage Gadget, version: 7 August 2007 g_file_storage gadget: Number of LUNs=1 g_file_storage gadget-lun0: ro=0, file: /dev/mmcblk0p1 musb_hdrc musb_hdrc: MUSB HDRC host driver musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected DevKit8000 User manual Timll Technology Inc.. Version 1.0 - 5/19/2009 37 of 71