User manual

cd linux-03.00.00.04/
cp arch/arm/configs/omap3_soc8200_defconfig .config
make menuconfig
The example that we use usb gadget to simulate usb mass storage device will be taken to introduce
the system customization:
1. Select Device drivers
Symbol: USB_FILE_STORAGE [=m]
Prompt: File-backed Storage Gadget
Defined at drivers/usb/gadget/Kconfig:713
Depends on: <choice> && BLOCK [=y]
Location:
-> Device Drivers
-> USB support (USB_SUPPORT [=y])
-> USB Gadget Support (USB_GADGET [=y])
-> USB Gadget Drivers (<choice> [=m])
2. Select the following Fig option (File-backed Storage Gadget).
3. Select the “exit” until display the following Fig.
Select the ”Yes”.
3.4.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
uImage; drivers/usb/gadget directory will generate a new module file g_file_storage.ko.