ср, 9 квіт. 2025 р. о 18:57 Simon Glass <[email protected]> пише: > > The bootz method is special in that it uses its own implementation of > several of the bootm states. > > The existing do_bootz() function calls bootz_run() but first does a few > other things. These are missing in the direct call to bootz_run(). I > probably missed this because bootz_start() sets up its own > struct bootm_info so I assumed it was independent. While the struct > itself is independent, changes to the images member (which is a pointer) > persist. > > Move the required code into bootz_run() > > This change was manually tested on an rpi2 with postmarketOS added, > using standard boot and also the 'bootz' command. > > Signed-off-by: Simon Glass <[email protected]> > Fixes: 47eda7e80ea ("boot: pxe: Use bootm_...() functions where possible") > Reported-by: Svyatoslav Ryhel <[email protected]> > --- >
It is not cleanly applicable to current u-boot/next with your pxe changes present, but overall it fixes booting on my devices. Thank you. Tested-by: Svyatoslav Ryhel <[email protected]> # LG P895

