Android boot process stub
16lz
2021-01-23
Android's boot up process is summarized below:
Boot-loader | - | Location: bootable\bootloader\legacy\usbloader |
init.S | Initializes stacks, zeros the BSS segment, call _main() in main.c | |
main.c | Initializes hardware (clocks, board, keypad, console), creates Linux tags | |
Displays "USB FastBoot". Boot from flash, or loops while usb_poll() awaits host PC connection | ||
Linux kernel | - | Sets up the system, loads drivers, and starts running the first process init |
The init process | Setup file system | Create and mount directories like /dev, /proc, /sys |
Execute init.rc | This is the boot-up script, commands are using Android-specific syntax, see readme.txt | |
Setup console | ||
Display "A N D R O I D" | This is just a text msg written to /dev/tty0 | |
Zygote | Zygot process in init.rc brings up Dalvik Java VM and starts the system server | |
bootanimation | Shows the animation during boot-up | |
Framework | …. | …. |
更多相关文章
- 代码中设置drawableleft
- android 3.0 隐藏 系统标题栏
- Android开发中activity切换动画的实现
- Android(安卓)学习 笔记_05. 文件下载
- Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
- 技术博客汇总
- android 2.3 wifi (一)
- AndRoid Notification的清空和修改
- Android中的Chronometer