mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
Due to commit [cdrtools-native: fix booting EFI ISO live failed] applied to improve mkisofs to fix nsectors exceeds 0xffff situation which set selection criteria type = 2 and save extra nsectors to vendor unique selection criteria In following case, add 64MB extra space to bootable image efi.img, and the partition table of EFI is truncated to 32M $ echo 'IMAGE_FSTYPES:pn-core-image-minimal = " live"' >> conf/local.conf $ echo 'MACHINE_FEATURES:append = " efi pcbios"' >> conf/local.conf $ echo '# 64MB extra space to bootable image efi.img' >> conf/local.conf $ echo 'BOOTIMG_EXTRA_SPACE = "65535"' >> conf/local.conf $ bitbake core-image-minimal $ fdisk -l tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso ... Device Boot Start End Sectors Size Id Type tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso1 * 0 376831 376832 184M 0 Empty tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso2 120 65654 65535 32M ef EFI (FAT-12/16/32) After applying this patch to process extra sector count, the partition table of EFI is 90.3M $ fdisk -l tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso ... Device Boot Start End Sectors Size Id Type tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso1 * 0 376831 376832 184M 0 Empty tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso2 120 185151 185032 90.3M ef EFI (FAT-12/16/32) [1]https://pdos.csail.mit.edu/6.828/2017/readings/boot-cdrom.pdf (From OE-Core rev: b4e112ed7e6ba5a6c6df530d696485a588831851) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> |
||
|---|---|---|
| .. | ||
| 0001-Add-extra-sector-count-from-section-entry-for-EFI-ca.patch | ||
| 0001-ext2_fs.h-do-not-carry-an-outdated-copy.patch | ||
| 0001-linux-syslinux-support-ext2-3-4-device.patch | ||
| 0002-linux-syslinux-implement-open_ext2_fs.patch | ||
| 0003-linux-syslinux-implement-install_to_ext2.patch | ||
| 0004-linux-syslinux-add-ext_file_read-and-ext_file_write.patch | ||
| 0005-linux-syslinux-implement-handle_adv_on_ext.patch | ||
| 0006-linux-syslinux-implement-write_to_ext-and-add-syslin.patch | ||
| 0007-linux-syslinux-implement-ext_construct_sectmap_fs.patch | ||
| 0008-libinstaller-syslinuxext-implement-syslinux_patch_bo.patch | ||
| 0009-linux-syslinux-implement-install_bootblock.patch | ||
| 0010-Workaround-multiple-definition-of-symbol-errors.patch | ||
| 0011-install-don-t-install-obsolete-file-com32.ld.patch | ||
| 0012-libinstaller-Fix-build-with-glibc-2.36.patch | ||
| 0013-remove-clean-script.patch | ||
| 0014-Fix-reproducibility-issues.patch | ||