Re: [PATCH v2] loader/efi/fdt: Add fdtdump command to access device tree

2024-06-17 Thread Tobias Heider
Right, this already came up in response to v1. I think grub is currently safe but after some further digging we might want to add support for the DT_FIXUP protocol or similar at some point and this makes things more complicated than necessary. I'll send another update. On Mon, Jun 17, 2024 at 3:4

Re: [PATCH v2] loader/efi/fdt: Add fdtdump command to access device tree

2024-06-17 Thread Vladimir 'phcoder' Serbinenko
Saving FDT subtly changes the behaviour. Image some command or even an external program modifying FDT and freeing old copy. Maybe we should call grub_efi_get_firmware_fdt every time we need fdt. On Mon, Jun 17, 2024 at 4:08 PM Tobias Heider wrote: > > The fdtdump command allows dumping arbitrary