| /openbmc/u-boot/lib/efi_loader/ |
| H A D | efi_disk.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * EFI application disk support 18 * struct efi_disk_obj - EFI disk object 20 * @header: EFI object header 21 * @ops: EFI disk I/O protocol interface 28 * @offset: offset into disk for simple partition 67 desc = (struct blk_desc *) diskobj->desc; in efi_disk_rw_blocks() 68 blksz = desc->blksz; in efi_disk_rw_blocks() 70 lba += diskobj->offset; in efi_disk_rw_blocks() 72 debug("EFI: %s:%d blocks=%x lba=%llx blksz=%x dir=%d\n", __func__, in efi_disk_rw_blocks() [all …]
|
| /openbmc/openbmc/poky/scripts/lib/wic/canned-wks/ |
| H A D | mkefidisk.wks | 1 # short-description: Create an EFI disk image 2 # long-description: Creates a partitioned EFI disk image that the user 5 part /boot --source bootimg-efi --sourceparams="loader=grub-efi" --ondisk sda --label msdos --activ… 7 part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid 9 part swap --ondisk sda --size 44 --label swap1 --fstype=swap 11 bootloader --ptable gpt --timeout=5 --append="rootfstype=ext4 console=${KERNEL_CONSOLE} console=tty…
|
| H A D | systemd-bootdisk.wks | 1 # short-description: Create an EFI disk image with systemd-boot 2 # long-description: Creates a partitioned EFI disk image that the user 3 # can directly dd to boot media. The selected bootloader is systemd-boot. 5 part /boot --source bootimg-efi --sourceparams="loader=systemd-boot" --ondisk sda --label msdos --a… 7 part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid 9 part swap --ondisk sda --size 44 --label swap1 --fstype=swap --use-uuid 11 bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4 console=ttyS0,115200 console…
|
| /openbmc/openbmc/meta-arm/meta-arm-bsp/wic/ |
| H A D | efi-disk-esp-only.wks.in | 1 # short-description: Create an EFI disk image with only an ESP partition 2 # long-description: Creates a partitioned EFI disk image that the user 5 # EFI data and process capsule updates. 7 …--source bootimg-efi --sourceparams="loader=${EFI_PROVIDER}" --label boot --active --align 1024 --… 9 bootloader --ptable gpt --timeout=1 --append="${GRUB_LINUX_APPEND}"
|
| H A D | efi-disk-no-swap.wks.in | 1 # short-description: Create an EFI disk image without a swap partition 2 # long-description: Creates a partitioned EFI disk image that the user 6 …--source bootimg-efi --sourceparams="loader=${EFI_PROVIDER}" --label boot --active --align 1024 --… 8 part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid --exclude-path boot/ ${IM… 10 bootloader --ptable gpt --timeout=1 --append="${GRUB_LINUX_APPEND}"
|
| /openbmc/openbmc/poky/scripts/lib/wic/plugins/source/ |
| H A D | bootimg-biosplusefi.py | 13 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 16 # This implements the 'bootimg-biosplusefi' source plugin class for 'wic' 28 Create MBR + EFI boot partition 31 legacy BIOS and EFI content. It will be able to boot from both. 33 without EFI support. 36 legacy BIOS and EFI by defining two partitions : one with arg 37 --source bootimg-efi and another one with --source bootimg-pcbios. 43 "bootable" flag from the EFI partition for the drive to be bootable. 48 Also, unlike "isoimage-isohybrid" that also does BIOS and EFI, this plugin 56 been done in other plugins; as such it imports "bootimg-pcbios" [all …]
|
| H A D | isoimage-isohybrid.py | 4 # SPDX-License-Identifier: GPL-2.0-only 7 # This implements the 'isoimage-isohybrid' source plugin class for 'wic' 29 This plugin creates a hybrid, legacy and EFI bootable ISO image. The 32 Legacy boot uses syslinux and EFI boot uses grub or gummiboot (not 38 part /boot --source isoimage-isohybrid --sourceparams="loader=grub-efi, \\ 39 image_name= IsoImage" --ondisk cd --label LIVECD 40 bootloader --timeout=10 --append=" " 42 In --sourceparams "loader" specifies the bootloader used for booting in EFI 44 example above, wic creates an ISO image named IsoImage-cd.direct (default 45 extension added by direct imeger plugin) and a file named IsoImage-cd.iso [all …]
|
| /openbmc/openbmc/poky/meta-yocto-bsp/wic/ |
| H A D | genericx86.wks.in | 1 # short-description: Create an EFI disk image for genericx86* 2 # long-description: Creates a partitioned EFI disk image for genericx86* machines 3 part /boot --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER}" --ondisk sda --label msdos … 4 part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid 5 part swap --ondisk sda --size 44 --label swap1 --fstype=swap 7 bootloader --ptable gpt --timeout=5 --append="rootfstype=ext4 console=ttyS0,115200 console=tty0"
|
| H A D | genericarm64.wks.in | 1 # short-description: Create an EFI disk image 2 # long-description: Creates a partitioned EFI disk image that the user 5 …--source bootimg-efi --sourceparams="loader=${EFI_PROVIDER},initrd=${INITRAMFS_IMAGE}-${MACHINE}.$… 7 part swap --size 44 --label swap --fstype=swap --use-uuid 9 part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid 11 bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4"
|
| /openbmc/openbmc/meta-arm/meta-arm/wic/ |
| H A D | qemu-efi-disk.wks.in | 1 # short-description: Create an EFI disk image 2 # long-description: Creates a partitioned EFI disk image that the user 5 part /boot --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER}" --label boot --active --ali… 7 part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid 9 part swap --size 44 --label swap --fstype=swap --use-uuid 11 bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4 ip=dhcp"
|
| H A D | efi-disk.wks.in | 1 # short-description: Create an EFI disk image 2 # long-description: Creates a partitioned EFI disk image that the user 5 part /boot --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER},dtb=${KERNEL_DTB_NAME}" --la… 7 part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid 9 part swap --size 44 --label swap --fstype=swap --use-uuid 11 bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4 console=${KERNEL_CONSOLE}"
|
| /openbmc/openbmc/meta-arm/meta-arm-systemready/recipes-test/arm-systemready-linux-distros/files/unattended-boot-conf/Debian/ |
| H A D | preseed.cfg | 4 d-i auto-install/enable boolean true 5 d-i debconf/priority select critical 8 d-i debian-installer/language string en 9 d-i debian-installer/country string GB 10 d-i debian-installer/locale string en_GB.UTF-8 11 d-i keyboard-configuration/xkb-keymap select us 14 d-i clock-setup/utc boolean true 15 d-i time/zone select Europe/London 18 d-i base-installer/install-recommends boolean false 21 d-i passwd/root-login boolean false [all …]
|
| /openbmc/u-boot/disk/ |
| H A D | Kconfig | 14 - CONFIG_MAC_PARTITION Apple's MacOS partition table. 15 - CONFIG_DOS_PARTITION MS Dos partition table, traditional on the 17 - CONFIG_ISO_PARTITION ISO partition table, used on CDROM etc. 18 - CONFIG_EFI_PARTITION GPT partition table, common when EFI is the 20 disk/part_efi.c 21 - CONFIG_MTD_PARTITIONS Memory Technology Device partition table. 23 you must configure support for at least one non-MTD partition type 30 Say Y here if you would like to use device under U-Boot which 65 Say Y here if you would like to use device under U-Boot which 74 bool "Enable EFI GPT partition table" [all …]
|
| /openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/images/ |
| H A D | corstone1000-esp-image.bb | 9 # https://docs.yoctoproject.org/ref-manual/variables.html#term-IMAGE_FSTYPES 20 WKS_FILE = "efi-disk-esp-only.wks.in" 21 WKS_FILE:firmware = "efi-disk-esp-only.wks.in"
|
| /openbmc/openbmc/meta-arm/ci/ |
| H A D | edk2.yml | 1 # yaml-language-server: $schema=https://raw.githubusercontent.com/siemens/kas/master/kas/schema-kas… 8 PREFERRED_PROVIDER_virtual/bootloader = "edk2-firmware" 9 MACHINE_FEATURES += "efi" 13 EXTRA_IMAGEDEPENDS += "edk2-firmware" 14 EFI_PROVIDER ?= "grub-efi" 17 WKS_FILE ?= "efi-disk.wks.in"
|
| H A D | uefi-secureboot.yml | 1 # yaml-language-server: $schema=https://raw.githubusercontent.com/siemens/kas/master/kas/schema-kas… 9 - ci/meta-openembedded.yml 10 - ci/meta-secure-core.yml 23 WKS_FILE = "efi-disk.wks.in" 26 MACHINE_FEATURES:append = " efi uefi-secureboot uefi-http-boot uefi-capsule-updates" 28 EFI_PROVIDER = "systemd-boot" 33 IMAGE_INSTALL:append = " systemd systemd-boot util-linux coreutils" 45 INITRAMFS_IMAGE = "core-image-initramfs-boot" 47 IMAGE_CLASSES:remove:pn-core-image-initramfs-boot = "uki" 48 IMAGE_CLASSES:remove:pn-core-image-initramfs-boot = "sbsign" [all …]
|
| /openbmc/openbmc/poky/meta/recipes-core/ovmf/ovmf/ |
| H A D | ovmf-shell-image.wks | 1 # short-description: Create an EFI disk image with just the EFI system partition 3 part / --source rootfs --ondisk sda --fstype=vfat --align 1024 4 bootloader --ptable gpt --timeout=5
|
| /openbmc/openbmc/poky/documentation/dev-manual/ |
| H A D | wic.rst | 1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK 21 ":ref:`dev-manual/wic:generate an image using an existing kickstart file`" 29 ":ref:`ref-manual/kickstart:openembedded kickstart (\`\`.wks\`\`) reference`" 36 ":ref:`dev-manual/wic:using the wic plugin interface`" section 50 - The name "Wic" is derived from OpenEmbedded Image Creator (oeic). The 54 - Wic is loosely based on the Meego Image Creator (``mic``) framework. 60 - Wic is a completely independent standalone utility that initially 61 provides easier-to-use and more flexible replacements for an existing 62 functionality in OE-Core's :ref:`ref-classes-image-live` 65 general-purpose partitioning language, which is based on Redhat [all …]
|
| /openbmc/u-boot/lib/efi_selftest/ |
| H A D | efi_selftest_startimage_return.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * The efi_selftest_miniapp_return.efi application is loaded into memory 13 /* Include containing the miniapp.efi application */ 16 /* Block size of compressed disk image */ 25 /* One 8 byte block of the compressed disk image */ 43 * Decompress the disk image. 45 * @image decompressed disk image 56 ret = boottime->allocate_pool(EFI_LOADER_DATA, img.length, in decompress() 62 boottime->set_mem(buf, img.length, 0); in decompress() 70 len = img.length - addr; in decompress() [all …]
|
| H A D | efi_selftest_startimage_exit.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * The efi_selftest_miniapp_exit.efi application is loaded into memory 13 /* Include containing the miniapp.efi application */ 16 /* Block size of compressed disk image */ 25 /* One 8 byte block of the compressed disk image */ 43 * Decompress the disk image. 45 * @image decompressed disk image 56 ret = boottime->allocate_pool(EFI_LOADER_DATA, img.length, in decompress() 62 boottime->set_mem(buf, img.length, 0); in decompress() 70 len = img.length - addr; in decompress() [all …]
|
| /openbmc/u-boot/doc/ |
| H A D | README.x86 | 1 # SPDX-License-Identifier: GPL-2.0+ 6 U-Boot on x86 9 This document describes the information about U-Boot running on x86 targets, 13 ------ 14 U-Boot supports running as a coreboot [1] payload on x86. So far only Link 17 most of the low-level details. 19 U-Boot is a main bootloader on Intel Edison board. 21 U-Boot also supports booting directly from x86 reset vector, without coreboot. 23 'bare metal', U-Boot acts like a BIOS replacement. The following platforms 26 - Bayley Bay CRB [all …]
|
| /openbmc/openbmc/meta-arm/meta-arm-bsp/conf/machine/include/ |
| H A D | corstone1000.inc | 1 require conf/machine/include/arm/armv8a/tune-cortexa35.inc 5 # TF-M 6 PREFERRED_VERSION_trusted-firmware-m ?= "2.1.%" 8 # TF-A 10 PREFERRED_VERSION_trusted-firmware-a ?= "2.11.%" 11 PREFERRED_VERSION_tf-a-tests ?= "2.10.%" 13 TFA_BL2_BINARY = "bl2-corstone1000.bin" 14 TFA_FIP_BINARY = "fip-corstone1000.bin" 17 PREFERRED_VERSION_optee-os ?= "4.4.%" 18 PREFERRED_VERSION_optee-client ?= "4.4.%" [all …]
|
| /openbmc/openbmc/meta-security/wic/ |
| H A D | systemd-bootdisk-dmverity.wks.in | 1 # short-description: Create an EFI disk image with systemd-boot and dm-verity 2 # A dm-verity variant of the regular wks for IA machines. We need to fetch 6 # Based on OE-core's systemd-bootdisk.wks and meta-security's beaglebone-yocto-verity.wks.in file 8 # This .wks only works with the dm-verity-img class. 9 # Also note that the use of microcode.cpio introduces a meta-intel layer dependency. 11 …rt /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=microcode.cpio" --ondisk … 13 …--source rawcopy --ondisk sda --sourceparams="file=${IMGDEPLOYDIR}/${DM_VERITY_IMAGE}-${MACHINE}$… 15 part swap --ondisk sda --size 44 --label swap1 --fstype=swap --use-uuid 17 bootloader --ptable gpt --timeout=5 --append=" "
|
| H A D | systemd-bootdisk-dmverity-hash.wks.in | 1 # short-description: Create an EFI disk image with systemd-boot and separate hash dm-verity 2 # A dm-verity variant of the regular wks for IA machines. We need to fetch 6 # Based on OE-core's systemd-bootdisk.wks and meta-security's beaglebone-yocto-verity.wks.in file 8 # This .wks only works with the dm-verity-img class and separate hash data. (DM_VERITY_SEPARATE_HAS… 10 …rt /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=microcode.cpio" --ondisk … 15 # add "console=ttyS0,115200" or whatever you need to the --append="..." 16 bootloader --ptable gpt --timeout=5 --append="root=/dev/mapper/rootfs" 18 part swap --ondisk sda --size 44 --label swap1 --fstype=swap --use-uuid
|
| /openbmc/openbmc/meta-arm/meta-arm-bsp/conf/machine/ |
| H A D | sbsa-ref.conf | 2 #@NAME: sbsa-ref 3 #@DESCRIPTION: Reference SBSA machine in qemu-system-aarch64 on Neoverse N2 5 require conf/machine/include/arm/armv9a/tune-neoversen2.inc 8 PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" 10 MACHINE_EXTRA_RRECOMMENDS += "kernel-modules" 12 MACHINE_FEATURES = " alsa bluetooth efi qemu-usermode rtc screen usbhost vfat wifi" 22 WKS_FILE = "qemu-efi-disk.wks.in" 24 EFI_PROVIDER ?= "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd-boot", "grub-efi", d)}" 28 EXTRA_IMAGEDEPENDS += "edk2-firmware" 29 # FIXME - Currently seeing a kernel warning for the CPU topology when bumping [all …]
|