Embeded linux OS Reading Notes
来源:互联网 发布:磁悬浮列车 知乎 编辑:程序博客网 时间:2024/05/21 19:50
Linux:
1 单内核模式
Linux是单内核模式,和外部程序在不同的内存地址空间,程序只有通过:System Call界面访问。
Linux的单内核模式是动态的,通过Module.
2 没有用户线程
通过clone()来建立新的线程。
3 Non-preemptive:
4 进程:
4.1 进程号:PID
4.2 Status: RUNNING,UNINTERRUPTABLE,INTERRUPTABLE,STOPPED,ZOMBIE.
4.3 子进程和父进程
4.4 INT: Top half & bottom half
4.5 system call
4.6 Atomic Operation
Spinlock: For SMP. Lock or Unlock,Loop to occupy the CPU.
Semaphore: up and down, if 0 wait.
4.7 Comunication
Pipe
FIFO
IPC
5 内存管理
存储管理 虚拟内存 页面模式
6 文件系统:
6.1 VFS
inode,Flash,
6.2 文件系统类型
6.3 日志文件
7 设备管理
7.1 概述
中断 + DMA
7.2 设备文件
devfs/
7.3 设备注册和管理
mount umount
8 引导过程
8.1 最初的步骤
最初的步骤是与微处理硬件结构相关的,所以不具备移植性
Linux引导的过程包括:
处理器启动后,执行ROM启动代码
ROM启动代码初始化CPU,RAM Ctrl,SOC
配置Memory Map
执行Booter Loader
loader load linux core 从内存或者是TFTP
-----------------------------------------------------------------
Ref:
ARM&Linux 嵌入式系统教程(2)北航
- Embeded linux OS Reading Notes
- Reading notes of OS Security
- Reading Notes
- Reading Notes
- [reading notes] css W3school reading notes
- Reading notes about low-resolution timer implementation on linux.
- Reading notes about Generic Time Subsystem implementation on linux
- Reading notes about High-resolution timer managememt on linux
- Embeded linux 技术博客
- embeded linux system create
- PBRT reading notes 1
- PBRT reading notes 2
- PBRT reading notes 3
- sdk reading notes
- book reading notes
- Reading Notes of SICP_01
- qualcomm mdp4 reading notes
- qualcomm mdp4 reading notes
- moss文档访问浏览次数统计
- 配置与管理Windows Server 2008中的FSRM
- 配置文件读取
- 代码:制作分割线
- VS2005无法启动问题(只停留在启动画面)
- Embeded linux OS Reading Notes
- BDC详解
- 卡片上写日志代码
- scanf/sscanf %[]格式控制串的用法(转)
- msde 附加数据 mssql
- Turning the Message on and off
- MFC 的生与死
- jboss部署问题
- Linux内核调试工具:Kdb的编译安装