]> git.dujemihanovic.xyz Git - u-boot.git/commit
boot: pxe_utils: skip fdt setup in case legacy kernel is booted
authorSvyatoslav Ryhel <clamor95@gmail.com>
Thu, 25 Jan 2024 20:16:54 +0000 (22:16 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 1 Mar 2024 23:34:08 +0000 (18:34 -0500)
commitc95e948870bdfc606946174facd9ea359ce84e58
tree53c1617a12e543645c87a392d8a4734f3dae2e1d
parent172e32add3d0332073538412c8d3b788e91b4d9c
boot: pxe_utils: skip fdt setup in case legacy kernel is booted

Currently, if boot with extlinux.conf and do not set the fdt
U-Boot will provide its own device tree. This behavior is
beneficial if the U-Boot device tree is in sync with Linux,
but it totally halts the booting of pre-dtb kernels (3.4 for
example) since it uses ATAGs. To fix this, pass `-` in the
fdt extlinux field as a signal that no tree should be used.

Suggested-by: Jonas Schwöbel <jonasschwoebel@yahoo.de>
Tested-by: Jethro Bull <jethrob@hotmail.com>
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
boot/pxe_utils.c
doc/develop/distro.rst