没有合适的资源?快使用搜索试试~ 我知道了~
首页GNU/Linux Rapid Embedded Programming
GNU/Linux Rapid Embedded Programming
3星 · 超过75%的资源 需积分: 10 25 下载量 43 浏览量
更新于2023-03-16
评论
收藏 33.13MB PDF 举报
Embedded computers have become very complex in the last few years and developers need to easily manage them by focusing on how to solve a problem without wasting time in finding good peripherals or learning how to manage them. The main challenge with experienced embedded programmers and engineers is really how long it takes to turn an idea into reality, and we show you exactly how to do it.
资源详情
资源评论
资源推荐
Rodolfo Giometti
GNU/Linux Rapid
Embedded Programming
Your one-stop solution to
embedded programming on GNU/Linux
Preface
1
Chapter 1: Installing the Developing System
16
Embedded world terms
17
Systems' overview
19
The BeagleBone Black
20
The SAMA5D3 Xplained
23
The Wandboard
27
Installing a development system
31
Setting up the host machine
32
Basic tools 32
The cross-compiler 33
Setting up the BeagleBone Black
35
Serial console for the BeagleBone Black 35
U-Boot (with MLO) 39
Linux kernel for the BeagleBone Black 43
Debian 8 (jessie) for the BeagleBone Black 47
Setting up the SAMA5D3 Xplained
49
Serial console for SAMA5D3 Xplained 50
U-Boot (with boot.bin) 51
Linux kernel for SAMA5D3 Xplained 53
Debian 8 (jessie) for SAMA5D3 Xplained 56
Setting up the Wandboard
58
Serial console for the Wandboard 58
U-Boot (with SPL) 59
Linux kernel for the Wandboard 61
Debian 8 (jessie) for the Wandboard 64
Setting up the developing system
66
BeagleBone Black – USB, networking, and overlays
66
SAMA5D3 Xplained – USB and networking
71
Wandboard – USB and networking (wired and wireless)
75
Common settings
79
Summary
79
Chapter 2: Managing the System Console
80
Basic OS management
80
File manipulation and Co
81
echo and cat 81
Contents
dd 83
grep and egrep 84
tr and sed 86
head and tail 88
od and hexdump 88
file 89
strings 90
strace 90
Package management
91
Searching a software package 91
Installing a package 93
apt-get and friends versus aptitude 94
The deb files 97
Managing the kernel messages
98
A quick tour into the bootloader
100
The environment
102
Managing the storage devices
104
MMC 105
Managing the flash 108
GPIO management
111
Accessing an I2C device
112
Loading files from the network
113
The kernel command line
118
Summary
120
Chapter 3: C Compiler, Device Drivers, and Useful Developing
Techniques
121
The C compiler
122
Native and foreign machine architecture
122
Compiling a C program
125
The native compilation 126
The cross-compilation 130
Compiling a kernel module
132
The Kernel and DTS files
135
Recompiling the kernel
136
The device tree
140
What is a device driver?
143
Char, block, and net devices
145
Modules versus built-in devices
146
The modutils
147
Writing our own device driver
148
The root filesystem (rootfs)
161
The /dev directory
162
The tmpfs
165
The procfs
165
The sysfs
170
The Network FileSystem (NFS)
173
Exporting an NFS on the host
174
Setting up the kernel to mount an NFS
176
U-Boot and the kernel command line to use a NFS
178
Developing into an NFS
182
Using an emulator
183
Executing a program
184
Entering into an ARM rootfs tree
185
Summary
189
Chapter 4: Quick Programming with Scripts and System Daemons
191
Setting up the system
192
System daemons
193
Useful and ready-to-use daemons
194
System daemons management
195
syslogd 198
syslogd in Bash 200
syslogd in C 200
syslogd in PHP 200
syslogd in Python 201
cron 201
xinetd 203
sshd 207
Apache 209
MySQL 212
MySQL in Bash 212
MySQL in C 215
MySQL in PHP 217
MySQL in Python 219
Scripting languages
220
Managing a LED in PHP
222
The LAMP solution 222
The built-in server solution 225
Managing a LED in Python
226
Managing a LED in Bash
229
Writing a custom daemon
234
A daemon in C
235
A daemon in PHP
236
A daemon in Python
238
A daemon in Bash
239
剩余711页未读,继续阅读
wang1062807258
- 粉丝: 12
- 资源: 272
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- RTL8188FU-Linux-v5.7.4.2-36687.20200602.tar(20765).gz
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1