|
【文件名】:0971@52RD_SBC2440嵌入式Linux开发指南.rar
【格 式】:rar
【大 小】:866K
【简 介】:
【目 录】:
1.1 建立开发环境...............................................................................................................................4
1.2 开发工具......................................................................................................................................5
1.2.1 Jflash......................................................................................................................................5
1.2.3 minicom.................................................................................................................................6
3 配置和编译BIOS(vivi)................................................................................................................ 10
4 配置和编译内核(kernel)...............................................................................................................10
5 制作YAFFS 文件系统映象..........................................................................................................11
5.1 基本文件系统映象................................................................................................................ 11
5.2 Qtopia 文件系统映象............................................................................................................. 11
6 应用程序开发指南........................................................................................................................11
6.1 Hello, FriendlyARM............................................................................................................... 11
6.2 测试LED.............................................................................................................................. 12
6.3 测试按键............................................................................................................................... 14
6.4 UDP 网络编程........................................................................................................................16
6.5 数学函数调用示例................................................................................................................20
6.6 C++编程示例..........................................................................................................................21
6.7 线程编程示例........................................................................................................................22
7 Linux 驱动程序开发指南..............................................................................................................23
7.1 驱动程序开发简要介绍.........................................................................................................23
7.2 LED 驱动............................................................................................................................... 25
7.3 中断驱动的按键驱动............................................................................................................29
7.4 实时时钟RTC 驱动.............................................................................................................. 36
8 常见系统设置...............................................................................................................................50
8.1 设置和保存时间....................................................................................................................50
8.2 启动脚本............................................................................................................................... 50
8.3 添加ftp/telnet 用户及设置密码........................................................................................... 52
8.4 设置域名解析........................................................................................................................52
8.5 设置web server..................................................................................................................... 52
9 嵌入式图形界面之Qt/Embedded................................................................................................ 53
8.1 设置运行环境.............................................................................................................................53
8.2 使用build 脚本编译Qt/Embedded............................................................................................53
8.3 Hello,Qt(PC)............................................................................................................................... 54
9.4 Hello,Qt(ARM)...........................................................................................................................56
9.5 常见问题....................................................................................................................................57
9.5.1 执行build 时出现的错误...................................................................................................57
9.5.2 编译hello 时出现的错误...................................................................................................58
9.5.3 编译hello 时出现的第二种错误错误信息....................................................................... 59
|
|