|
From: | Maxime Devos |
Subject: | [bug#57070] [PATCH] bootloader: extlinux: support for optional FDTDIR |
Date: | Tue, 16 Aug 2022 20:44:44 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 |
Can FDTDIR be set automatically or unset automatically depending on the hardware? That would reduce the required configurationNo, that's not possible. As I mentioned in the initial message, some hardware may or may not require it depending on the kernel.
My question has a part 'depending on the hardware', so possibly the relevant code could check what the hardware is. Likewise, the code could check the kernel version. More generally, when something can be decided manually, it can often be detected automatically with some work. I'm not seeing any impossibility here.
Also, again, why are you submitting this work-around when it
appears to be simply a kernel bug that needs a kernel package to
be updated and maybe a devicetree fix to be backported? As written
in a previous response:
‘There is also no reliable way to guess if u-boot bootloader should load device tree or not on a specific hardware. in addition, there are hardware that can be booted with both firmware device tree on some kernels and with special device tree on other (modified) kernels.’If I'm guessing correctly, that sounds like the problem is that device tree information is missing from the kernel. Proposal: upstream the device tree information.
Greetings,
Maxime.
OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
[Prev in Thread] | Current Thread | [Next in Thread] |