The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/power/reset/reboot-mode.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 Generic reboot mode core map driver
    2 
    3 This driver get reboot mode arguments and call the write
    4 interface to store the magic value in special register
    5 or ram. Then the bootloader can read it and take different
    6 action according to the argument stored.
    7 
    8 All mode properties are vendor specific, it is a indication to tell
    9 the bootloader what to do when the system reboots, and should be named
   10 as mode-xxx = <magic> (xxx is mode name, magic should be a none-zero value).
   11 
   12 For example modes common on Android platform:
   13 - mode-normal: Normal reboot mode, system reboot with command "reboot".
   14 - mode-recovery: Android Recovery mode, it is a mode to format the device or update a new image.
   15 - mode-bootloader: Android fastboot mode, it's a mode to re-flash partitions on the Android based device.
   16 - mode-loader: A bootloader mode, it's a mode used to download image on Rockchip platform,
   17                usually used in development.
   18 
   19 Example:
   20         reboot-mode {
   21                 mode-normal = <BOOT_NORMAL>;
   22                 mode-recovery = <BOOT_RECOVERY>;
   23                 mode-bootloader = <BOOT_FASTBOOT>;
   24                 mode-loader = <BOOT_BL_DOWNLOAD>;
   25         }

Cache object: 479e5e45681ef99b802659234304470f


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.