节点文献

基于Linux的互动一体式投影仪的BSP设计与实现

BSP Design and Implementation of Interactive Integrated Projector Based on Linux

【作者】 徐杰

【导师】 周鹏;

【作者基本信息】 武汉理工大学 , 信息与通信工程, 2016, 硕士

【摘要】 本课题重点在于对互动一体式投影仪系统的BSP进行设计与实现。为了不改变原有投影仪框架,减少投影仪的组成部件,减少成本,增加师生互动,设计和实现了一款拥有网口、USB口等多个外设接口,并且支持无线上网、WIFI P2P多屏互动、蓝牙等无线功能的互动一体式投影仪系统的BSP。主要是由于现阶段的教学投影仪,存在功能单一,需要配合电脑一起工作等问题。其次,普通投影仪无法实现互动教学,而本BSP能提供WIFI P2P进行多屏互动。其次,还可以提供蓝牙功能对投影仪进行无线HID操作、音乐播放、文件传输等。而BSP的设计是投影仪系统开发的前提,因此对互动一体式投影仪系统的BSP进行研究是有必要的。本文主要研究工作如下:(1)在不改变投影仪框架,减少开发成本的基础上,对BSP每个部分进行了需求分析。制定了互动投影仪Linux BSP的总体设计方案,采用U-Boot作为Bootloader,采用linux3.10版本内核作为系统内核,采用busybox制作文件系统。(2)为了增加Linux操作系统启动的可靠性,对U-boot进行了改进,实现了内核镜像和环境变量启动的可靠性保障,实现了U-Boot中环境变量的定制、网口功能、MFGtools下载功能,完成了内核板级初始化,完成了根文件系统的定制以及环境变量更新程序设计。(3)为了外设接口能够正常工作,制定了Linux中的USB驱动以及网口驱动的实现方案,实现了USBHUB\USB3.0\USB gadget以及网口功能,以及实现了存储设备的自动加载功能和WPS按键功能。(4)为了增加投影仪的互动性,采用了BlueZ5配合PulseAudio6.0的方式实现蓝牙协议栈,在此基础上实现了蓝牙的HID、A2DP、HSP、SPP功能。其次,为了解决多屏互动的功能,采用hostapd结合wpa_supplicant的方案实现W IFI功能,并且实现了WIFI的STA、AP、P2P、WPS的基本功能,为进行wifi display多屏互动提供基础。经过测试,本BSP能在开发平台上正常运行。U-Boot能够引导内核启动,内核中的驱动能够正常运行,文件系统能够顺利挂载以及应用程序能够达到设计要求,WIFI和蓝牙部分能够达到设计目标。

【Abstract】 This thesis focuses on the study of interactive-integrate-projector BSP.In order to reduce the components of the projector,decrease the cost without changing its original framework and increase the interaction between teachers and students,this thesis has designed and implemented a smart projector’s BSP what have a network port,USB port and other peripheral interfaces,support WIFI Direct,Bluetooth and other wireless-enabled.Teaching projector at this stage,mainly is the non-intelligent projectors,these projectors just have simple function and need to work together with the computer.As we know,the more components,the lowest reliability.Secondly,ordinary projectors can not realize interactive teaching,because students can not use the projector to exchange their view.This BSP can provide WIFI p2 p to realize WIFIDisplay which can project the intelligent devices of students,and can realize wireless HID,music playing with A2 DP,file transfer,etc.Therefore,study for interactive-integrate-projector system is necessary.The BSP as a prerequisite for the development of intelligent projector system,played a role as the cornerstone of the development in the projector,so the researchof projector’s BSP is very important.The work is as follows:(1)In order to reduce the components of the projector and decrease the cost without changing its original framework,BSP technology of Linux operating system has been studied.Analysis the projector needs of each part of the BSP.Then,design a Linux BSP to meet the requirements of smart projector.(2)The U-Boot,kernel and file system in the BSP are studied.According to the needs of the projector proposed,the U-Boot,kernel and file system are implemented.Then,according to the current embedded technology,this thesis defines the environment variables,implements the network interface functions,achieves the board-level initialization and designs reliability program of environment variable.It laid the foundation for the subsequent development work.(3)In order to assure peripheral interface work normally,the USB driver and network interface driver have been studied.In this BSP,USBHUB \ USB3.0 \ USB gadget and network are realized,and this thesis has achieved the automatic loading function of storage device and has realized the function of WPS button.(4)In the part of the implementation of teaching,this thesis has embedded Bluetooth and WIFI.Then,this thesis has present innovative ways to achieve Bluetooth protocol stack with PulseAudio6.0 and BlueZ5 and has achieved the Bluetooth HID,A2 DP,HSP,SPP.This thesis also has offered WIFI’s proposals and achieved the basic functions of WIFI STA,AP,P2 P,WPS.After testing,this BSP can run correctly on the development platform.The U-Boot can boot the kernel.The drivers can run properly.The file system can successfully be mounted and the applications can meet the design requirements.WIFI and Bluetooth parts can achieve design goals.

【关键词】 嵌入式LinuxBSP驱动无线
【Key words】 embeddedLinuxBSPdrivewireless
  • 【分类号】TH741.5;TP316.81
  • 【下载频次】52
节点文献中: