u-boot/boot
Sughosh Ganu 61e0a20aec blkmap: pass information on ISO image to the OS
The EFI HTTP boot puts the ISO installer image at some location in
memory. Information about this image has to be passed on to the OS
kernel, which is done by adding a persistent memory(pmem) node to the
devicetree(DT) that is passed to the OS. The OS kernel then gets
information about the presence of this ISO image and proceeds with the
installation.

In U-Boot, this ISO image gets mounted as a memory mapped blkmap
device slice, with the 'preserve' attribute. Add a helper function
which iterates through all such slices, and invokes a callback. The
callback adds the pmem node to the DT and removes the corresponding
memory region from the EFI memory map. Invoke this helper function as
part of the DT fixup which happens before booting the OS.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Tobias Waldekranz <tobias@waldekranz.com>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
2025-03-26 13:28:08 +02:00
..
android_ab.c common: android_ab: fix slot suffix for abc block 2024-10-24 09:45:55 +02:00
boot_fit.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
bootdev-uclass.c Merge patch series "bootstd: Support recording images" 2025-01-15 19:27:14 -06:00
bootflow.c bootstd: Add a simple command to list images 2025-01-15 08:48:42 -06:00
bootflow_internal.h bootstd: Support creating a boot menu 2023-01-16 18:26:50 -05:00
bootflow_menu.c boot: bootflow_menu: fix crash for EFI BOOTMGR global bootmeth 2024-06-20 11:41:43 -06:00
bootm.c boot: Support compressed booti images in bootm 2025-03-18 13:12:15 -06:00
bootm_os.c lmb: make LMB memory map persistent and global 2024-09-03 14:08:50 -06:00
bootmeth-uclass.c Update bootmeth_alloc_other() to record images 2025-01-15 08:48:42 -06:00
bootmeth_android.c bootstd: android: Allow boot with AVB failures when unlocked 2025-01-23 15:23:05 +01:00
bootmeth_android.h bootstd: Add a bootmeth for Android 2024-07-18 13:51:30 -06:00
bootmeth_cros.c x86: Rename zboot_run() to zboot_run_args() 2025-03-18 13:12:15 -06:00
bootmeth_cros.h bootstd: cros: Bring in some ChromiumOS structures 2023-08-10 18:34:54 -06:00
bootmeth_efi.c bootmeth_efi: Support PXE booting 2025-01-26 11:06:57 +01:00
bootmeth_efi_mgr.c bootmeth: Update the read_file() method to include a type 2025-01-15 08:48:42 -06:00
bootmeth_extlinux.c Merge patch series "bootstd: Support recording images" 2025-01-15 19:27:14 -06:00
bootmeth_pxe.c boot: Update pxe bootmeth to record images 2025-01-15 08:48:42 -06:00
bootmeth_qfw.c bootmeth: Update the read_file() method to include a type 2025-01-15 08:48:42 -06:00
bootmeth_sandbox.c bootmeth: Update the read_file() method to include a type 2025-01-15 08:48:42 -06:00
bootmeth_script.c Update bootmeth_alloc_other() to record images 2025-01-15 08:48:42 -06:00
bootretry.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
bootstd-uclass.c bootstd: Move the bootflow list into an alist 2025-01-15 08:48:42 -06:00
cedit.c boot: cedit: include u-boot/schedule.h 2024-10-23 06:52:38 +02:00
common_fit.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
expo.c expo: Use standard numbering for save and discard 2024-10-18 14:10:22 -06:00
expo_build.c expo: Drop scene_title_set() 2024-10-18 14:10:22 -06:00
expo_build_cb.c x86: coreboot: Allow building an expo for editing CMOS config 2024-11-03 21:27:12 -06:00
fdt_region.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
fdt_simplefb.c boot: fdt_simplefb: Remove conditional compilation checks for VIDEO Kconfig 2024-10-22 19:54:08 +02:00
fdt_support.c fdt: add support for adding pmem nodes 2025-03-26 13:28:08 +02:00
image-android-dt.c global: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
image-android.c boot: android: handle boot images with missing DTB 2025-02-06 09:09:09 +01:00
image-board.c boot: Support compressed booti images in bootm 2025-03-18 13:12:15 -06:00
image-cipher.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
image-fdt.c blkmap: pass information on ISO image to the OS 2025-03-26 13:28:08 +02:00
image-fit-sig.c image-fit-sig: Remove padding check 2024-10-21 17:52:52 -06:00
image-fit.c image: Add support for starting TFA BL31 as fitImage loadables 2025-02-15 14:44:43 +01:00
image-host.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image-pre-load.c boot: Add support of the pre-load signature for host tools 2025-02-28 16:51:01 -06:00
image-sig.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
image.c image: Add support for starting TFA BL31 as fitImage loadables 2025-02-15 14:44:43 +01:00
Kconfig vbe: Add an implementation of VBE-ABrec 2025-02-03 16:01:36 -06:00
Makefile boot: pxe: Use bootm_...() functions where possible 2025-03-18 13:12:15 -06:00
prog_boot.c bootstd: Introduce programmatic boot 2023-12-13 11:51:24 -05:00
pxe_utils.c boot: pxe: Refactor label_run_boot() to avoid cmdline 2025-03-18 13:12:15 -06:00
scene.c expo: Drop scene_title_set() 2024-10-18 14:10:22 -06:00
scene_internal.h expo: Allow menu items to have values 2024-10-18 14:10:22 -06:00
scene_menu.c expo: Support menu-item values in cedit 2024-10-18 14:10:22 -06:00
scene_textline.c expo: Place menu items to the right of all labels 2024-10-18 14:10:22 -06:00
upl_common.c upl: Add support for reading a upl handoff 2024-08-09 16:03:19 -06:00
upl_common.h upl: Add support for reading a upl handoff 2024-08-09 16:03:19 -06:00
upl_read.c upl: fix parsing of DT property 2024-11-14 18:14:06 -06:00
upl_write.c upl: Add support for writing a upl handoff 2024-08-09 16:03:20 -06:00
vbe.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
vbe_abrec.c vbe: Add an implementation of VBE-ABrec 2025-02-03 16:01:36 -06:00
vbe_abrec.h vbe: Add an implementation of VBE-ABrec 2025-02-03 16:01:36 -06:00
vbe_abrec_fw.c vbe: Add an implementation of VBE-ABrec 2025-02-03 16:01:36 -06:00
vbe_common.c vbe: Add an implementation of VBE-ABrec 2025-02-03 16:01:36 -06:00
vbe_common.h vbe: Add an implementation of VBE-ABrec 2025-02-03 16:01:36 -06:00
vbe_request.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
vbe_simple.c Merge patch series "vbe: Series part F" 2025-01-22 11:21:58 -06:00
vbe_simple.h vbe: Start a common header file 2025-01-22 09:47:49 -06:00
vbe_simple_fw.c vbe: Update simple-fw to support using the SPL loader 2025-01-22 09:47:50 -06:00
vbe_simple_os.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00