| /openbmc/openbmc/poky/meta/recipes-bsp/grub/ |
| H A D | grub_2.12.bb | 3 RDEPENDS:${PN}-common += "${PN}-editenv" 4 RDEPENDS:${PN} += "${PN}-common" 5 RDEPENDS:${PN}:class-native = "" 7 RPROVIDES:${PN}-editenv += "${PN}-efi-editenv" 9 PROVIDES:append:class-native = " grub-efi-native" 11 PACKAGES =+ "${PN}-editenv ${PN}-common" 12 FILES:${PN}-editenv = "${bindir}/grub-editenv" 13 FILES:${PN}-common = " \ 17 ${datadir}/grub \ 22 # Avoid conflicts with the EFI package for systems such as arm64 where we [all …]
|
| H A D | grub-efi_2.12.bb | 3 require conf/image-uefi.conf 5 GRUBPLATFORM = "efi" 7 DEPENDS:append = " grub-native" 8 RDEPENDS:${PN} = "grub-common virtual-grub-bootconf" 14 S = "${WORKDIR}/grub-${PV}" 16 # Determine the target arch for the grub modules 20 prefix = "" if d.getVar('EFI_PROVIDER') == "grub-efi" else "grub-efi-" 36 raise bb.parse.SkipRecipe("grub-efi is incompatible with target %s" % target) 40 prefix = "grub-efi-" if prefix == "" else "" 47 EXTRA_OECONF += "--enable-efiemu=no" [all …]
|
| H A D | grub-bootconf_1.00.bb | 3 SUMMARY = "Basic grub.cfg for use in EFI systems" 4 DESCRIPTION = "Grub might require different configuration file for \ 6 HOMEPAGE = "https://www.gnu.org/software/grub/manual/grub/grub.html#Configuration" 8 RPROVIDES:${PN} += "virtual-grub-bootconf" 10 inherit grub-efi-cfg 12 require conf/image-uefi.conf 17 GRUB_CFG = "${S}/grub-bootconf" 29 install -d ${D}${EFI_FILES_PATH} 30 install grub-bootconf ${D}${EFI_FILES_PATH}/grub.cfg 33 FILES:${PN} = "${EFI_FILES_PATH}/grub.cfg"
|
| H A D | grub2.inc | 1 SUMMARY = "GRUB2 is the next-generation GRand Unified Bootloader" 8 HOMEPAGE = "http://www.gnu.org/software/grub/" 11 LICENSE = "GPL-3.0-only" 16 SRC_URI = "${GNU_MIRROR}/grub/grub-${PV}.tar.gz \ 17 file://autogen.sh-exclude-pc.patch \ 18 file://grub-module-explicitly-keeps-symbole-.module_license.patch \ 19 file://0001-grub.d-10_linux.in-add-oe-s-kernel-name.patch \ 20 file://0001-RISC-V-Restore-the-typcast-to-long.patch \ 21 file://0001-misc-Implement-grub_strlcpy.patch \ 22 file://CVE-2024-45781.patch \ [all …]
|
| /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/openbmc/poky/meta/recipes-core/meta/ |
| H A D | wic-tools.bb | 6 parted-native gptfdisk-native dosfstools-native \ 7 mtools-native bmaptool-native grub-native cdrtools-native \ 8 btrfs-tools-native squashfs-tools-native pseudo-native \ 9 e2fsprogs-native util-linux-native tar-native erofs-utils-native \ 10 virtual/cross-binutils \ 12 DEPENDS:append:x86 = " syslinux-native syslinux grub-efi systemd-boot" 13 DEPENDS:append:x86-64 = " syslinux-native syslinux grub-efi systemd-boot" 14 DEPENDS:append:x86-x32 = " syslinux-native syslinux grub-efi" 15 DEPENDS:append:aarch64 = " grub-efi systemd-boot" 21 # The sysroot of wic-tools is needed for wic, but if rm_work is enabled, it will
|
| /openbmc/openbmc/poky/scripts/lib/wic/plugins/source/ |
| H A D | bootimg-efi.py | 4 # SPDX-License-Identifier: GPL-2.0-only 7 # This implements the 'bootimg-efi' source plugin class for 'wic' 31 Create EFI boot partition. 32 This plugin supports GRUB 2 and systemd-boot bootloaders. 35 name = 'bootimg-efi' 46 cp_cmd = "cp -v -p %s/%s %s" % (bootimg_dir, rd, hdddir) 55 cp_cmd = "cp -v -p %s/%s %s" % (bootimg_dir, dtb, hdddir) 62 Create loader-specific (grub-efi) config 69 # Use a custom configuration for grub 72 "%s for grub.cfg", configfile) [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/classes-recipe/ |
| H A D | grub-efi.bbclass | 4 # SPDX-License-Identifier: MIT 7 inherit grub-efi-cfg 8 require conf/image-uefi.conf 11 efi_populate_common "$1" grub-efi 13 install -m 0644 ${GRUB_CFG} ${DEST}${EFIDIR}/grub.cfg
|
| H A D | grub-efi-cfg.bbclass | 1 # grub-efi.bbclass 4 # SPDX-License-Identifier: MIT 6 # Provide grub-efi specific functions for building bootable images. 9 # ${INITRD} - indicates a list of filesystem images to concatenate and use as an initrd (optional) 10 # ${ROOTFS} - indicates a filesystem image to include as the root filesystem (optional) 11 # ${GRUB_GFXSERIAL} - set this to 1 to have graphics and serial in the boot menu 12 # ${LABELS} - a list of targets for the automatic config 13 # ${APPEND} - an override list of append strings for each label 14 # ${GRUB_OPTS} - additional options to add to the config, ';' delimited # (optional) 15 # ${GRUB_TIMEOUT} - timeout before executing the deault label (optional) [all …]
|
| /openbmc/u-boot/doc/ |
| H A D | README.iscsi | 1 # iSCSI booting with U-Boot and iPXE 5 U-Boot has only a reduced set of supported network protocols. The focus for 34 An alternative to implementing these protocols in U-Boot is to use an existing 35 software that can run on top of U-Boot. iPXE[1] is the "swiss army knife" of 39 iPXE can be built as an EFI application (named snp.efi) which can be loaded and 40 run by U-Boot. 44 U-Boot loads the EFI application iPXE snp.efi using the bootefi command. This 46 U-Boot. 56 uses the ConnectController boot service of U-Boot to request U-Boot to connect a 57 file system driver. U-Boot reads from the iSCSI drive via the block IO protocol [all …]
|
| /openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
| H A D | efibootpartition.py | 5 # SPDX-License-Identifier: MIT 14 """EFI booting test class""" 15 @skipIfNotMachine("qemux86-64", "test is qemux86-64 specific currently") 17 image = "core-image-minimal" 24 EFI_PROVIDER = "grub-efi" 25 IMAGE_FSTYPES:pn-%s:append = " wic" 26 MACHINE_FEATURES:append = " efi" 27 WKS_FILE = "efi-bootdisk.wks.in" 28 IMAGE_INSTALL:append = " grub-efi kernel-image-bzimage"
|
| H A D | uki.py | 5 # SPDX-License-Identifier: MIT 20 …"""Build and boot into UEFI firmware (omvf/edk2), systemd-boot, initrd without systemd, rootfs wit… 21 image = "core-image-minimal" 28 # efi firmware must load systemd-boot, not grub 29 EFI_PROVIDER = "systemd-boot" 32 IMAGE_FSTYPES:pn-%s:append = " wic" 33 WKS_FILE = "efi-uki-bootdisk.wks.in" 35 # efi, uki and systemd features must be enabled 37 MACHINE_FEATURES:append = " efi" 38 IMAGE_CLASSES:append:pn-core-image-minimal = " uki" [all …]
|
| /openbmc/openbmc/poky/meta-poky/conf/distro/include/ |
| H A D | gcsections.inc | 1 CFLAGS_SECTION_REMOVAL = "-ffunction-sections -fdata-sections" 2 LDFLAGS_SECTION_REMOVAL = "-Wl,--gc-sections" 5 CFLAGS_SECTION_REMOVAL:pn-glibc = "" 6 LDFLAGS_SECTION_REMOVAL:pn-glibc = "" 7 CFLAGS_SECTION_REMOVAL:pn-cairo = "" 8 LDFLAGS_SECTION_REMOVAL:pn-cairo = "" 9 CFLAGS_SECTION_REMOVAL:pn-perl = "" 10 LDFLAGS_SECTION_REMOVAL:pn-perl = "" 11 CFLAGS_SECTION_REMOVAL:pn-grub-efi = "" 12 LDFLAGS_SECTION_REMOVAL:pn-grub-efi = "" [all …]
|
| /openbmc/u-boot/test/py/tests/ |
| H A D | test_efi_loader.py | 1 # SPDX-License-Identifier: GPL-2.0 7 # Test efi loader implementation 46 'fn': 'lib/efi_loader/helloworld.efi', 145 """Run the helloworld.efi binary via TFTP. 147 The helloworld.efi file is downloaded from the TFTP server and gets 161 """Run the builtin helloworld.efi binary. 163 The helloworld.efi file is included in U-Boot, execute it using the 173 """Run the grub.efi binary via TFTP. 175 The grub.efi file is downloaded from the TFTP server and gets 186 u_boot_console.wait_for('grub>') [all …]
|
| /openbmc/openbmc/poky/meta/recipes-core/initrdscripts/files/ |
| H A D | init-install-efi-testfs.sh | 1 #!/bin/sh -e 22 if [ -e /sys/block/${device}/removable ]; then 61 rm -f /etc/udev/rules.d/automount.rules 62 rm -f /etc/udev/scripts/mount* 69 mkdir -p /tmp 72 disk_size=$(parted /dev/${device} unit mb print | grep '^Disk .*: .*MB' | cut -d" " -f 3 | sed -e "… 75 rootfs_size=$((disk_size-boot_size-testfs_size)) 118 mkfs.vfat -n "boot" $bootfs 121 mkfs.ext3 -L "platform" $rootfs 124 mkfs.ext3 -L "testrootfs" $testfs [all …]
|
| /openbmc/openbmc/poky/meta/conf/ |
| H A D | layer.conf | 3 # We have recipes-* directories, add to BBFILES 4 BBFILES += "${LAYERDIR}/recipes-*/*/*.bb" 17 BBLAYERS_LAYERINDEX_NAME_core = "openembedded-core" 22 # opkg-utils is for update-alternatives :( 24 sysvinit-inittab \ 25 busybox-inittab \ 26 shadow-securetty \ 27 opkg-arch-config \ 29 init-ifupdown \ 30 connman-conf \ [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-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"
|
| /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 | mkhybridiso.wks | 1 # short-description: Create a hybrid ISO image 2 # long-description: Creates an EFI and legacy bootable hybrid ISO image 5 part /boot --source isoimage-isohybrid --sourceparams="loader=grub-efi,image_name=HYBRID_ISO_IMG" -… 7 bootloader --timeout=15 --append=""
|
| /openbmc/openbmc/poky/meta/recipes-core/initrdscripts/ |
| H A D | initramfs-live-install-efi_1.0.bb | 1 SUMMARY = "Live image install script for grub-efi" 4 SRC_URI = "file://init-install-efi.sh" 6 RDEPENDS:${PN} = "parted e2fsprogs-mke2fs dosfstools util-linux-blkid ${VIRTUAL-RUNTIME_base-utils}" 7 RRECOMMENDS:${PN} = "${VIRTUAL-RUNTIME_base-utils-syslog}" 13 install -m 0755 ${S}/init-install-efi.sh ${D}/install-efi.sh 22 FILES:${PN} = " /install-efi.sh " 24 COMPATIBLE_HOST = "(i.86.*|x86_64.*|aarch64.*)-linux"
|
| /openbmc/u-boot/ |
| H A D | .travis.yml | 1 # SPDX-License-Identifier: GPL-2.0+ 4 # build U-Boot on Travis CI - https://travis-ci.org/ 14 - ubuntu-toolchain-r-test 15 - llvm-toolchain-trusty-7 17 - cppcheck 18 - sloccount 19 - sparse 20 - bc 21 - build-essential 22 - libsdl1.2-dev [all …]
|
| /openbmc/openbmc/meta-arm/meta-arm-bsp/wic/ |
| 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 4 # partition but will contain custom machine specific grub arguments. 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/meta-yocto-bsp/conf/machine/include/ |
| H A D | genericx86-common.inc | 1 include conf/machine/include/x86/x86-base.inc 2 require conf/machine/include/x86/qemuboot-x86.inc 3 MACHINE_FEATURES += "wifi efi pcbios" 5 PREFERRED_VERSION_linux-yocto ?= "6.12%" 6 PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" 7 PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" 17 MACHINE_EXTRA_RRECOMMENDS += "kernel-modules linux-firmware" 21 EFI_PROVIDER ??= "grub-efi" 22 do_image_wic[depends] += "gptfdisk-native:do_populate_sysroot"
|