booting-dt.rst 938 B

123456789101112131415161718192021
  1. .. SPDX-License-Identifier: GPL-2.0
  2. DeviceTree Booting
  3. ------------------
  4. There is one single 32bit entry point to the kernel at code32_start,
  5. the decompressor (the real mode entry point goes to the same 32bit
  6. entry point once it switched into protected mode). That entry point
  7. supports one calling convention which is documented in
  8. Documentation/x86/boot.rst
  9. The physical pointer to the device-tree block is passed via setup_data
  10. which requires at least boot protocol 2.09.
  11. The type filed is defined as
  12. #define SETUP_DTB 2
  13. This device-tree is used as an extension to the "boot page". As such it
  14. does not parse / consider data which is already covered by the boot
  15. page. This includes memory size, reserved ranges, command line arguments
  16. or initrd address. It simply holds information which can not be retrieved
  17. otherwise like interrupt routing or a list of devices behind an I2C bus.