wifi移植android,嵌入式系统的构建和基于Android系统的WiFi移植

摘要:

随着科技的不断发展,嵌入式技术在社会的各个领域的应用越来越广泛,尤其是在消费类电子产品中,比如智能手机,平板电脑,甚至传统的电视机领域等等,嵌入式系统的应用几乎无处不在.那么如何根据自己的需求,构建一个嵌入式系统就成了一个迫切的问题.一般来说,嵌入式系统的整体性能远不及桌面电脑,所以嵌入式系统的开发是基于桌面电脑系统上进行开发的.而嵌入式系统设备的处理器架构体系和桌面系统的通常是不相同的,那么要想在桌面电脑系统上进行嵌入式系统的开发首先就要解决交叉编译的问题.嵌入式系统一般由三大部分组成,这三大组成部分分别是嵌入式系统加载程序Bootloader,嵌入式根文件系统和嵌入式系统内核. 本文重点分析了嵌入式交叉编译工具链的基本原理和构建方法,详细说明了交叉编译源码的基本方法和步骤,并且用三种方法从源码交叉编译构造了一个基本的嵌入式根文件系统.并且利用Qemu模拟器分别测试了bootloader,根文件系统和Linux内核,以及测试了整个嵌入式系统. Android系统是现在最为流行的手持设备的操作系统,本文分析了Android系统的根文件系统的基本组成,比较了Android的根文件系统和标准的Linux根文件系统的区别.基于构建嵌入式系统的基础上,从移植静态的busybox到Android系统中开始,一步一步分析了如何将基本的根文件系统移植到Android系统中,并用Android的模拟器进行了测试和验证,最后叙述了基于Android系统的WiFi移植和开发. As the consistent development of science and technology, embedded technology in all life areas is used more and more widely, especially in the consumer electronics products, such as smart phones, tablet PCs, and even the traditional field of television sets and so on. Then how to build an embedded system according to our needs has become a pressing issue. Generally speaking, compared to desktop computers, the performance of embedded systems hardware is not good, so the construction of embedded systems are developed based on a desktop computer system. However, there are differences between the cpu type of embedded system and desktop pc, so in order to build an embedded system based on desktop pc, the problem of building cross compile tools should be solved firstly. Once solving that problem, we should consider how to use the toolchains build an embedded system. Embedded systems are generally composed of three parts, these three components are embedded system loader Bootloader, embedded root file system and embedded system kernel. This paper focuses on the basic principles and construction method of the embedded cross compiler toolchains, The method of cross-compiling source code is analyzed in detail, and a basic embedded root file system from scratch with source code has been built. And the BootLoader, the root file system, Linux kernel, and the whole of embedded system are tested on Qemu emulator separately. Android system is now the most popular operating system for handheld devices, this paper analyzes the basic composition of Android's root file system and compares the difference between Android's root file system and the standard Linux's root file system. And based on building embedded systems, from the transplant static busybox into Android system, this article analyzes how the basic root file system is ported to Android system step by step, tests and validates it by using Android emulator. Finally how to port wifi to Android and development are described.

展开

你可能感兴趣的:(wifi移植android)