[PATCH v3 46/46] bootmeth_extlinux: Refactor extlinux to split boot
Simon Glass
sjg at chromium.org
Fri Dec 20 05:04:51 CET 2024
Add a new extlinux_setup() function which sets things up so that the
bootflow can either be booted, or just probed.
Provide a readall() method so that images can be read into memory,
without booting the OS. Adjust the boot() method so that it can boot,
after any changes have been made by the user.
Update the test to change the bootargs and check that they are booted
with the changes intact.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v3:
- Pass through the bootfile since extlinux and PXE are different
boot/ext_pxe_common.c | 53 +++++++++++++++++++++++++++----------------
test/boot/bootflow.c | 24 ++++++++++++++++++++
2 files changed, 58 insertions(+), 19 deletions(-)
Applied to sjg/master, thanks!
More information about the U-Boot
mailing list