[PATCH v1 0/1] Fix booting kernels with ATAGS and extlinux
Svyatoslav
clamor95 at gmail.com
Thu Jan 25 07:51:09 CET 2024
25 січня 2024 р. 08:29:54 GMT+02:00, Dan Carpenter <dan.carpenter at linaro.org> написав(-ла):
>On Wed, Jan 24, 2024 at 10:27:30PM +0200, Svyatoslav Ryhel wrote:
>> 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.
>
>Passing - doesn't seem like the most intuitive thing... Is there a
>different argument we could use?
>
I agree that `-` is not the most intuitive argument,
but this is a way to implement a fix with the least
code posssible. To make this less obscure I have
adjusted documentation.
Currently if no fdt is specified u-boot will pass its
own device tree and if leave fdt field blank u-boot
will fail with the wrong name for the device tree.
So there is NO way to boot ATAGs based kernel
if u-boot has an appended tree and fdt support
built in.
>regards,
>dan carpenter
>
More information about the U-Boot
mailing list