aboutsummaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-11-16 12:55:48 -0500
committerTom Rini <trini@konsulko.com>2023-11-16 12:55:48 -0500
commit964999f871b13c3de78a14586ea6057c1ec08755 (patch)
tree6d6e07757ba598794975bcf5d36ecbfdba14a8bf /Kbuild
parentd7b44e43b5dbafb74c86799471125e8fd5132bc3 (diff)
parentcd6fea4ae43dde9b75d0478ea57c24e508204765 (diff)
downloadu-boot-WIP/16Nov2023-next.zip
u-boot-WIP/16Nov2023-next.tar.gz
u-boot-WIP/16Nov2023-next.tar.bz2
Merge patch series "spl: Use common function for loading/parsing images"WIP/16Nov2023-next
To quote the author: This series adds support for loading all image types (Legacy (with and without LZMA), FIT (with and without LOAD_FIT_FULL), and i.MX) to the MMC, SPI, NOR, NET, FAT, EXT, NVMe, and semihosting load methods. It does this by introducing a helper function which handles the minutiae of invoking the proper parsing function, and reading the rest of the image. Hopefully, this will make it easier for load methods to support all image types that U-Boot supports, without having undocumented unsupported image types. I applied this to several loaders which were invoking spl_load_simple_fit and/or spl_parse_image_header, but I did not use it with others (e.g. DFU/RAM) which had complications in the mix. This series is organized roughly into two parts. Patches up to "spl: Add generic spl_load function" are all setup or size-reduction oriented. Later patches generally convert various load functions to spl_load. bloat-o-meter results (for CONFIG_SPL only) at [1]. Size growth has been the bigegst challenge to preparing this series. I have used every trick I can think of to reduce bloat. Some SAMA boards no longer fit, but I have a plan to fix them [2]. This is bar far the largest and most-difficult revision of this series to-date. There are probably still things which can reduce the size, but I have been working on this series for the better part of two months and I think it is a good idea to get some feedback. Because of the SAMA bloat, this series will not pass CI, so I expect to do a v7 before this is ready to apply. Feel free, however, to apply patches in the first half (especially the fixes). This version of the series is better-tested than ever before, thanks to some new unit tests. However, things like the i.MX ROMAPI are untested. NAND should also be tested more-widely, for reasons listed in the commit message. I encourage you try this series out on your favorite board. [1] https://gist.github.com/Forty-Bot/5bfe88676dd3c2aec6ebc23abb08e06f This includes some changes to am335x_evm_spiboot and am65x_evm_r5_usbdfu which have since been undone. This was ran for v6. [2] https://lore.kernel.org/u-boot/20231105022742.632175-1-seanga2@gmail.com/
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions