User manual

Page | 41
Note:
Before the compilation of an Android file system, the Android kernel source
code linux-2.6.32-sbc8140 needs to be compiled first, or errors might occur
during the process.
3.3.3 Customizing the System
There are many configurations available for users to add or remove drivers
and features in the Linux core so as to meet requirements. The following
example shows the process of making a custom system.
1. Entering Configuration Menu;
By default, the configuration file is saved under
/linux-2.6.32-sbc8140/arch/arm/configs/omap3_SBC8140_defconfig/;
please execute the following instructions to enter the system configuration
menu;
cd linux-2.6.32-sbc8140
cp arch/arm/configs/omap3_sbc8140_defconfig .config
make menuconfig
Notice:
If errors occur when executing make menuconfig, one possible cause is that the
ncurses library is missing in the Ubuntu system. Type sudo apt-get install
ncurses-dev into the terminal to install the library.
2. Customizing Configurations;
Change configurations according to actual requirements, for example
select Device Drivers > USB support > USB Gadget Support > USB Gadget
Drivers and check File-backed Storage Gadget as shown below, and
then exit and save changes.