Comment 0 for bug 2028931

Revision history for this message
Julian Andres Klode (juliank) wrote :

[Impact]
device tree fixups are not applied when grub_fdt_load() has been called before, as that copies the device tree + extra space into a new fdt variable.

For example, when a pre-LoadFile2 kernel is being loaded, grub passes the initrd via device tree and needs to modify it, for which it calls the function. On pre-2.12 loaders, this happens for every kernel on arm64 as we do not support LoadFile2 there.

[Test plan]
TBD

[Where problems could occur]
We're moving the fixup of the device tree to directly after loading it, so that grub can make any modifications to set initrd for example (there are no others yet), later.

Device tree fixup suddenly working can of course cause regressions if the fixups in u-boot are wrong.