On Thu, Dec 05, 2024 at 07:35:39PM -0700, Simon Glass wrote: > This series implements read_all() so that it is possible to read all the > files relating to a bootflow, make adjustments and then boot. > > Unfortunately quite a few things stand in the way, so this series > finishes off several pending items: zboot without CONFIG_CMDLINE, > required support in pxe_utils and the differing code in the extlinux and > PXE bootmeths. There is very little new code, but quite a lot of > refactoring. > > The bootm, booti and bootz commands have all been refactored previously, > so that they can operate without needing CONFIG_CMDLINE to be enabled. > At the, time, zboot was left alone, since it is x86-specific and a bit > more trouble. > > However it turns out that the booti support doesn't work with compressed > booti images, so this series resolved that problem too. > > This series adds a programatic API for zboot and uses the forthcoming > bootstd 'image list' to collect information from an extlinux file. It is > therefore possible to parse the file, load the resulting images and then > examine/adjust the resulting bootflow, before booting. > > The addition of options to extlinux resulted in the PXE and extlinux > bootmeth having slightly different features. This is tidied up in this > series, with common functions for both. This allows the same features > (loading images as a separate step) to be provided for PXE.
To sync up with what I said on IRC, this breaks test/py/tests/test_net_boot.py likely due to changes in the output. -- Tom
signature.asc
Description: PGP signature

