配置M6Y2C:友达屏幕、USB触摸与RTC驱动指南

需积分: 15 1 下载量 37 浏览量 更新于2024-07-17 收藏 1.11MB DOCX 举报
"这篇应用笔记主要讲解如何配置M6Y2C工控板支持友达10.4寸屏幕、USB触摸、24位LVDS色显以及RTC芯片,并取消开机进度条。提供了EPC-6G2C-L开发环境的详细说明,包括所需软件资源和硬件清单。" 在EPC-6G2C-L工控板上配置M6Y2C以支持友达10.4寸屏幕、USB触摸和RTC芯片是一项关键任务,这对于构建高效的嵌入式系统至关重要。本文档提供了一套详细的步骤来指导开发者完成这一过程。 首先,文章强调了开发环境的建立,推荐使用Ubuntu 14.04(64位)操作系统,并配备了gcc-linaro-arm-linux-gnueabihf-4.9-2014.09系列交叉编译工具链。硬件方面,你需要一个EPC-6G2C-L工控板,以及对应的核心板光盘资料,其中包含了内核源码包和其他必要的软件资源。 内核源码包`linux-src-bsp-4.1.15.tar.gz`被用于后续的配置工作。开发者需要将其解压到Ubuntu系统的home目录下,并根据提供的命令进入解压后的目录。在配置内核之前,建议熟悉《M6G2C&A6G2C系列核心板软件开发指南》中的开发环境构建章节。 配置过程中,选择合适的配置文件是关键。在这个例子中,选择了`epc_m6g2c_defconfig`作为配置文件。接下来,需要对设备树进行修改,因为24位RGB显示、屏幕时序、USB触摸和RTC驱动都需要在设备树层面进行设置。M6Y2C工控板默认支持PCF8563RTC芯片,但可能需要根据实际情况调整设备树中的相关参数。 USB触摸驱动的配置在内核层面进行,这涉及到内核的编译和配置,确保USB触摸功能能够正确识别和运行。RTC驱动同样需要在内核配置中启用,并可能需要在设备树中添加相应的节点,以便系统能够正确与RTC芯片通信。 取消开机进度条的配置可能涉及修改内核启动选项或设备树,这通常是为了优化启动速度,使系统更快地达到可用状态。然而,具体操作取决于内核版本和使用的设备树。 最后,文档提供了M6Y2C配套的设备树文件`imx6y2c-512m-emmc.dts`的修改方法,或者可以直接使用提供的源码替换。这一步是实现上述配置的关键,因为它定义了硬件的具体连接和设置。 这篇应用笔记为开发者提供了全面的指导,涵盖了从设置开发环境到配置硬件特性的所有步骤,对于那些希望在M6Y2C平台上构建定制化嵌入式系统的人来说,是非常宝贵的参考资料。
2018-12-22 上传
目录 第一篇 Linux 基础 ··············································································1 第 1 章 Linux 操作系统简介 ·································································2 1.1 Linux 内核·····················································································2 1.1.1 简介·······················································································2 1.1.2 特点·······················································································3 1.1.3 内核版本号 ·············································································5 1.1.4 组成部分·················································································6 1.2 Linux 发行版··················································································9 1.3 嵌入式 Linux················································································12 1.3.1 嵌入式 Linux 的特点································································12 1.3.2 嵌入式 Linux 的产品形态··························································12 第 2 章 安装 Linux 操作系统 ·······························································14 2.1 获得 Linux 环境的三种方式·····························································14 2.2 发行版选择和 ISO 下载 ··································································15 2.3 VMware Player 软件·······································································16 2.3.1 下载和安装 ···········································································16 2.3.2 设置虚拟化支持 ·····································································18 2.4 使用现成的虚拟机 ········································································19 2.5 创建和配置虚拟机 ········································································23 2.5.1 创建虚拟机 ···········································································23 2.5.2 虚拟机设置 ···········································································26 2.6 安装 Ubuntu·················································································28 2.6.1 实体机安装前准备 ··································································28 2.6.2 虚拟机安装前准备 ··································································30 2.6.3 正式安装 Ubuntu·····································································32 2.7 初识 Ubuntu·················································································36 2.7.1 Ubuntu 桌面···········································································36 2.7.2 输入法··················································································37 2.7.3 系统设置···············································································37