1. 产品简介 ·······················································································6
1.1 硬件参数······················································································· 6
1.2 拨码开关与指示灯说明 ···································································· 8
1.3 软件特性设备管理 ·········································································· 8
2. 产品快速使用说明 ···········································································9
2.1 启动选择······················································································· 9
2.2 串串口登录······················································································· 9
2.2.1 串口硬件连接 ·········································································· 9
2.2.2 使用串口终端登录 ··································································· 10
2.3 关机和重启 ·················································································· 12
2.4 查看系统信息 ··············································································· 12
2.4.1 查看内核版本 ········································································· 12
2.4.2 查看内存使用情况 ··································································· 12
2.4.3 查看磁盘使用情况 ··································································· 13
2.4.4 查看磁盘分区信息 ··································································· 13
2.4.5 查看 CPU 信息 ········································································ 13
2.5 网络设置······················································································ 14
2.5.1 获取网络信息 ········································································· 14
2.5.2 设置 IP 与子网掩码 ·································································· 14
2.5.3 设置默认网关 ········································································· 15
2.5.4 关闭/启动网卡 ········································································· 15
2.5.5 设置 DNS ··············································································· 16
2.5.6 开机自动设置网络参数 ····························································· 16
2.5.7 注意事项 ··············································································· 17
2.6 网络登录······················································································ 17
2.7 USB 鼠标与 USB 键盘使用 ······························································ 18
2.8 TF 卡使用 ···················································································· 19
2.9 U 盘使用 ······················································································ 19
2.10 与 PC 互传文件 ············································································· 20
2.11 LED 测试 ····················································································· 22
2.12 蜂鸣器测试 ·················································································· 23
2.13 CAN 测试 ···················································································· 23
2.14 串口测试······················································································ 23
2.15 液晶背光设置 ··············································································· 28
2.16 音频播放测试 ··············································································· 28
2.17 WIFI 测试 ···················································································· 28
2.18 时钟设置······················································································ 30
2.19 4G 网络测试 ················································································· 30
3. Linux 应用程序开发 ········································································ 32
3.1 安装 Linux 操作系统 ······································································· 32
3.1.1 VMware 软件 ·········································································· 32
3.1.2 创建和配置虚拟机 ··································································· 37
3.1.3 安装 Ubuntu ············································································ 47
3.1.4 安装 VMware Tool ···································································· 55
3.1.5 虚拟机和主机之间传输文件 ······················································· 56
3.1.6 Ubuntu 操作简介 ······································································ 60
3.2 嵌入式 Linux 开发简介 ···································································· 64
3.3 安装交叉编译器 ············································································ 65
3.3.1 安装编译内核的交叉编译器 ······················································· 65
3.3.2 安装编译应用程序的交叉编译器 ················································· 65
3.3.3 设置 PATH 环境变量 ································································· 72
3.4 Hello,World! ··············································································· 72
3.4.1 编写 HelloWorld 源程序 ····························································· 73
3.4.2 编译 helloworld 程序 ································································· 73
3.4.3 下载程序 ··············································································· 73
3.4.4 运行程序 ··············································································· 73
3.5 QT 编程 ······················································································· 74
3.5.1 QT 介绍 ················································································· 74
3.5.2 QT 开发环境搭建 ····································································· 74
3.5.3 Tslib—触摸屏校准 ··································································· 80
3.5.4 Hello,World! ········································································· 80
3.6 示例程序介绍 ··············································································· 86
3.6.1 Hello World ············································································· 86
3.6.2 LED 示例 ··············································································· 86
3.6.3 蜂鸣器示例 ············································································ 86
3.6.4 串口编程示例 ········································································· 87
3.6.5 CAN 编程示例 ········································································ 87
3.6.6 网络编程示例 ········································································· 87
3.6.7 数据库编程示例 ······································································ 89
4. Web 控制系统 ··············································································· 90
4.1 嵌入式 Web 开发简介······································································ 90
4.1.1 嵌入式 Web 服务器 ·································································· 90
4.1.2 CGI ······················································································ 90
4.2 Boa 服务器 ··················································································· 90
4.2.1 Boa 服务器简介 ······································································· 90
4.2.2 编译 Boa 服务器 ······································································ 91
4.2.3 Boa 服务器配置 ······································································· 91
4.3 Web 开发环境搭建 ········································································· 92
4.4 Web 开发实例 ··············································································· 92
4.4.1 静态网页 ··············································································· 92
4.4.2 使用 CGI 程序的动态网页 ·························································· 93
5. U-Boot ························································································· 95
5.1 U-Boot 简介 ·················································································· 95
5.1.1 Bootloader 简介 ······································································· 95
5.1.2 U-Boot 介绍 ············································································ 95
5 5.1.3 U-Boot 工作原理 ······································································ 95
5.2 U-Boot 基本命令 ············································································ 96
5.2.1 查看命令列表 ········································································· 96
5.2.2 环境变量 ··············································································· 99
5.2.3 网络命令 ············································································· 100
5.2.4 Nand Flash 命令 ····································································· 101
5.2.5 启动命令 ············································································· 102
5.2.6 组合命令 ············································································· 102
5.2.7 重启命令 ············································································· 103
5.3 U-Boot 工具 ················································································ 103
6. Linux 内核 ·················································································· 104
6.1 内核简介···················································································· 104
6.1.1 概述···················································································· 104
6.1.2 Linux 内核源码······································································ 104
6.1.3 Linux 内核配置系统 ······························································· 105
6.2 编译内核···················································································· 108
7. 文件系统 ···················································································· 110
7.1 文件系统介绍 ············································································· 110
7.1.1 根文件系统目录结构 ······························································ 110
7.1.2 根文件系统类型 ···································································· 110
7.2 设置开机自启动程序 ···································································· 112
7.3 动态加载模块 ············································································· 112
8. 系统恢复与更新 ··········································································· 113
8.1 Nand Flash 分区 ··········································································· 113
8.2 烧写系统映像 ············································································· 113
8.2.1 硬件连接 ············································································· 113
8.2.2 使用 MtgTools 软件进行烧写 ···················································· 114
8.3 烧写 U-Boot 映像 ········································································· 115
8.4 烧写 DTB ··················································································· 115
8.5 烧写 Linux 操作系统 ····································································· 116
8.6 制作根文件系统 ·········································································· 116
8.7 编译 Linux 操作系统 ····································································· 117
9. 免责声明 ···················································································· 118
10. 联系我们 ·················································································· 119
更多产品资料后续会陆续公开,敬请期待!
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉
全部0条评论
快来发表一下你的评论吧 !