现在的位置: 首页 > 综合 > 正文

Android boot process

2017年10月04日 ⁄ 综合 ⁄ 共 1307字 ⁄ 字号 评论关闭

(This is a stub)

Android's boot up process is summarized below:

Stage Steps Comments
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 …. ….

References

抱歉!评论已关闭.