Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
22 lines
943 B
ReStructuredText
22 lines
943 B
ReStructuredText
.. SPDX-License-Identifier: GPL-2.0
|
|
|
|
DeviceTree Booting
|
|
------------------
|
|
|
|
There is one single 32bit entry point to the kernel at code32_start,
|
|
the decompressor (the real mode entry point goes to the same 32bit
|
|
entry point once it switched into protected mode). That entry point
|
|
supports one calling convention which is documented in
|
|
Documentation/arch/x86/boot.rst
|
|
The physical pointer to the device-tree block is passed via setup_data
|
|
which requires at least boot protocol 2.09.
|
|
The type filed is defined as
|
|
|
|
#define SETUP_DTB 2
|
|
|
|
This device-tree is used as an extension to the "boot page". As such it
|
|
does not parse / consider data which is already covered by the boot
|
|
page. This includes memory size, reserved ranges, command line arguments
|
|
or initrd address. It simply holds information which can not be retrieved
|
|
otherwise like interrupt routing or a list of devices behind an I2C bus.
|