Chapter I.
ChapterAndroidThe compilation and porting of the system, in which the main content of the migration involves downloadingAndroid Linuxkernel, installing the cross-tool chain, portingAndroid LinuxKernel SupportEZ6410Platform, installationAndroid SDK, GetAndroidroot file system, set up system environment, completeAndroidstart normally. Install the Cross tool chain inldd6410-read-onlychanges under directoryVim.cross_compilethe contents are:/usr/local/arm/arm-none-linux-gnueabi/bin/arm-none-linux-guneabi-. During the migration, the hardware differences were found as follows: Network card, keyboard, LCD, touch screen,USBclock System. EZ6410the experimental platform has8a button, i.e.K1~k8. Linuxsystem provides aInputsubsystems, keys, touch screen, keyboard, mouse and other inputs can be usedInputthe interface functions are device-driven, so the key and touch-screen device drivers can be used asInputdevice-driven implementation. Then there is the touch screen drive,USBdriver modification, installationAndroid SDKFirst, create aSD card Image, startEZ6410virtual machines. ExtractAndroidRoot file system: Connect the virtual machine andBusyBoxinto the simulator target file system, put/system,/data,,/sbindirectory and root directory.Init,init.rcand so on all putSDcardof theImageOn the host computer with theLoopWayMount SDcardof theImage, and put the files in theEZ6410under the root file system. In the originalLinuxof theNFSCreate a new directory under the file system directoryRootfs_test,and putAndroid.tarUnzip torootfs_testdirectory, inNFSService Catalog/source/rootfs_androidadd a file underandroid.sh.Finally, the system environment is configured. In this chapter, I probably knowAndroidthe main content involved. http://www.cnblogs.com/fei127/
1th compilation and porting examples of Android systems: