advertisement
Embest Technology Co., Ltd 31
After above operations are executed, a ubi.img file will be generated under the current directory.
3.4.2.5 Android system compilation
1) Execute the following instructions to start compilation of Android system;
cd rowboat-android-
gingerbread
-am335xevm
make TARGET_
PRODUCT
=am335xevm clean
make TARGET_
PRODUCT
=am335xevm OMAPES=4.x
2) Modify Rules.make under hardware/ti/sgx/ ;
Vi hardware/ti/sgx/Rules.make
Replace
“KERNEL_INSTALL_DIR=$(HOME)/work/Linux-3.1.0-android” with
“KERNEL_INSTALL_DIR=/home/user_name/work/Linux-3.1.0-android”
/home/user_name is the directory where usernames are saved, in other words, it’s the value of $(HOME). To view the value, please enter whoami in the terminal window of Linux system.
3) Please enter the following instructions to start making ubi file system;
source ./build_ubi.sh
ubi.img can be found under temp/.
Note:
Before the compilation of Android file system, the Androind kernel source code
Linux-3.1.0-android needs to compile first, or errors might occur during the process.
3.4.3 System Customization
As Linux kernel has many kernel configuration options, users can add or remove drivers and some kernel features in the default configuration to meet specific requirement. The common process of system customization will be described with examples below.
Copyright © 2012 Embest Technology SBC8600B User Manual
Embest Technology Co., Ltd 32
3.4.3.1 Modification of kernel configuration
A default configuration file is provided in the factory kernel source codes:
Linux-3.2.0-psp04.06.00.08.sdk/arch/arm/configs/sbc8600_defconfig
Users can carry out system customization based on it:
cd Linux-3.2.0-psp04.06.00.08.sdk
cp arch/arm/configs/sbc8600_defconfig .
config
make menuconfig
Note:
If an error occurs when command 'make menuconfig' is executed, you might need to install 'ncurse' in the Ubuntu system; 'ncurse' is a character graphic library required to generate configuration menu; please enter the following instruction to install the library:
sudo apt-get install ncurses-dev
Select the configuration below: The system customization will be described below by taking an example of usb mass storage device emulated with usb gadget:
-> Device Drivers
-> USB support
-> USB Gadget Support
-> USB Gadget Drivers
Copyright © 2012 Embest Technology SBC8600B User Manual
Embest Technology Co., Ltd 33
Figure 3-2
Type <M> for “File-backed Storage Gadget”, and select Save when you exit, and compile the kernel again.
3.4.3.2 Compilation
Save configuration, execute the following commands to recompile kernel:
make uImage
make modules
After above operations are finished, a new kernel image uImage will be generated under the directory arch/arm/boot, and a module file g_file_storage.ko can be found under the directory drivers/usb/gadget.
Copyright © 2012 Embest Technology SBC8600B User Manual
advertisement
Related manuals
advertisement
Table of contents
- 6 CHAPTER 1 PRODUCT OVERVIEW
- 6 1.2.1 Mini8600B
- 8 1.2.2 Extension Board
- 11 CHAPTER 2 HARDWARE SYSTEM
- 11 2.1.1 Instroduction to CPU
- 11 2.1.2 CPU Features
- 13 2.2.1 NAND Flash H27U4G8F2DTR-BC
- 13 2.2.2 DDR H5TQ2G83CFR-H9C
- 13 2.2.3 Ethernet AR
- 14 2.2.4 MAX
- 15 2.3.1 Mini8600B
- 21 2.3.2 Extension Board
- 30 CHAPTER 3 LINUX OPERATING SYSTEM
- 32 3.4.1 Establishment of development environment
- 34 3.4.2 System Compilation
- 36 3.4.3 System Customization
- 39 3.5.1 NAND
- 40 3.5.2 SD/MMC
- 41 3.5.3 LCDC
- 42 3.5.4 Audio in/out
- 43 3.6.1 GPIO_keys Driver
- 48 3.6.2 GPIO_leds Driver
- 51 3.7.1 Update of TF Card System Image
- 55 3.7.2 Update of NAND Flash
- 58 3.8.1 Selecting Display Mode
- 60 3.8.2 Testing
- 75 3.8.3 Demo
- 78 3.9 The Development of Applications
- 81 CHAPTER 4 WINDOWS EMBEDDED COMPACT 7 OPERATING SYSTEM
- 83 4.4.1 Installation of IDE (Integrated Development Environment)
- 83 4.4.2 Extract BSP and project files to IDE
- 84 4.4.3 Sysgen & BSP Compilation
- 84 4.4.4 Introduction of Drivers
- 86 4.5.1 Update of TF Card
- 91 4.5.2 Update of NAND Flash Image
- 92 4.6.1 How to use openGL ES demo
- 93 4.7.1 Application Interfaces and Examples
- 93 4.7.2 GPIO Application Interfaces and Examples
- 96 APPENDIX
- 125 TECHNICAL SUPPORT AND WARRANTY