摘要:进入21世纪,嵌入式技术全面展开,目前已成为通信和消费类产品的共同发展方向。在通信领域,数字技术正在全面取代模拟技术,城市中的各种单位部门,以及人们的正常生活工作中都对视频监控系统平台的需求量增大,要求也提高,根据实际功能需求设计出这次的基于ARM+Linux视频监控系统。52037
为了实现视频监控的基本功能,选用了一种基于ARM+Linux嵌入式平台:软件环境中的交叉编译工具链用的是arm-none-linux-gnueabi,Bootloader选用的是u-boot-1.3.4,内核代码选用的是Linux-2.6.39来进行zImage的配置与移植;硬件采用了基于ARM926EJ核心的SAMSUNG S3C2416处理器开发平台,以及中芯微ZC3XX型的USB摄像头作为视频采集的终端,然后通过V4L2的API把采集到的视频保存到本地的SD卡。文件系统中会移植Web服务器boa:管理人员可以通过PC机登录到视频监控系统的页面,由CGI完成一些基本的操作;移植网络视频服务器mjpg-stream,在网页上可以看见实时的摄像头监控区域;移植数据库sqlite3,对采集到的视频和图像进行管理和保存。
毕业论文关键词:ARM9,Linux,SAMSUNGS3C2416,视频监控,嵌入式平台
Abstract:In the 21st century, embedded technology in full swing, At present has become the common development direction of the communication and consumer products. In the field of communications, digital technology is fully replace analog technology, cities in various units, and people’s normal life, work of video surveillance system platform in all of the demand increase, demand increases, according to the actual functional requirements to design it based on ARM+Linux video monitoring system.
In order to achieve the basic function of video monitoring, this paper chooses a kind of embedded platform based on ARM+Linux: cross compiler tool chain in software environments used arm-none-linux-gnueabi, Bootloader chooses u-boot-1.3.4, kernel code chooses linux-2.6.39 to make zImage configuration and migration; Adopted based on the SAMSUNG S2C2416 ARM926EJ core processor hardware development platform, and the core type micro ZC3XX USB camera as video acquisition terminal, then collected through the V4L2 API to the video store to the local SD. Will transplant the Web server file system with boa: managers can through the PC login to the page, video monitoring system by the CGI to complete some of the basic operation; Will transplant the MJPG-stream network video server, on a web page can see real-time surveillance camera area; Will transplant the Database sqlite3, video and image management of collected and saved.
Keywords: ARM9,Linux,SAMSUNG S3C2416,Video surveillance,Embedded platform
目录
1 前言 4
2 视频监控系统设计分析 4
2.1 系统体系架构概述 4
2.2 系统模块组成 4
3 SAMSUNG S3C2416 6
3.1 开发板的介绍 6
3.2 硬件资源的介绍 7
4 嵌入式Linux系统的移植 8
4.1开发环境的搭建 8
4.2文件系统的制作 10
4.3内核镜像和文件系统的烧写 11
5视频监控系统详细设计与实现 13
5.1 Web服务器boa的移植和CGI功能描述 13
5.2 网络视频服务器mjpg_stream的移植 15
5.3 数据库SQLite3的移植 16