aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES289
-rw-r--r--Config.in6
-rw-r--r--Config.in.legacy72
-rw-r--r--DEVELOPERS65
-rw-r--r--Makefile4
-rw-r--r--board/aarch64-efi/genimage-efi.cfg8
-rw-r--r--board/aarch64-efi/grub.cfg2
-rw-r--r--board/aarch64-efi/readme.txt21
-rw-r--r--board/acmesystems/acqua-a5/at91-sama5d3_acqua.dts301
-rw-r--r--board/acmesystems/acqua-a5/genimage.cfg (renamed from board/beaglebone/genimage_linux41.cfg)16
-rw-r--r--board/acmesystems/acqua-a5/readme.txt44
-rw-r--r--board/beaglev/extlinux.conf4
-rw-r--r--board/beaglev/genimage.cfg12
-rw-r--r--board/beaglev/patches/uboot/0001-include-configs-starfive-vic7100-adjust-fdt_addr_r.patch39
-rwxr-xr-xboard/beaglev/post-build.sh17
-rw-r--r--board/beaglev/readme.txt124
-rw-r--r--board/boundarydevices/common/boot.cmd65
-rw-r--r--board/boundarydevices/common/readme.txt3
-rw-r--r--board/boundarydevices/common/upgrade.cmd25
-rwxr-xr-xboard/freescale/common/imx/imx8-bootloader-prepare.sh7
-rwxr-xr-xboard/freescale/common/imx/post-image.sh2
-rw-r--r--board/freescale/imx8mpevk/readme.txt71
-rwxr-xr-xboard/qemu/arm-vexpress-tz/post-build.sh9
-rw-r--r--board/qemu/arm-vexpress-tz/readme.txt17
-rw-r--r--board/qemu/arm-vexpress-tz/u-boot.config3
-rw-r--r--board/qemu/ppc-e500mc/linux.fragment10
-rw-r--r--board/qemu/ppc-e500mc/readme.txt5
-rw-r--r--board/qemu/s390x/patches/linux/0001-arch-s390-disable-SSP-when-needed.patch47
-rw-r--r--boot/Config.in2
-rw-r--r--boot/at91bootstrap/at91bootstrap.hash1
-rw-r--r--boot/at91bootstrap/at91bootstrap.mk2
-rw-r--r--boot/at91bootstrap3/at91bootstrap3.hash2
-rw-r--r--boot/barebox/Config.in4
-rw-r--r--boot/barebox/barebox.hash6
-rw-r--r--boot/beaglev-ddrinit/Config.in9
-rw-r--r--boot/beaglev-ddrinit/beaglev-ddrinit.hash2
-rw-r--r--boot/beaglev-ddrinit/beaglev-ddrinit.mk29
-rw-r--r--boot/beaglev-secondboot/Config.in9
-rw-r--r--boot/beaglev-secondboot/beaglev-secondboot.hash2
-rw-r--r--boot/beaglev-secondboot/beaglev-secondboot.mk29
-rw-r--r--boot/grub2/0029-efi-Make-shim_lock-GUID-and-protocol-type-public.patch97
-rw-r--r--boot/grub2/0030-efi-Return-grub_efi_status_t-from-grub_efi_get_varia.patch149
-rw-r--r--boot/grub2/0031-efi-Add-a-function-to-read-EFI-variables-with-attrib.patch78
-rw-r--r--boot/grub2/0032-efi-Add-secure-boot-detection.patch541
-rw-r--r--boot/grub2/0033-verifiers-Move-verifiers-API-to-kernel-image.patch1650
-rw-r--r--boot/grub2/0034-efi-Move-the-shim_lock-verifier-to-the-GRUB-core.patch13225
-rw-r--r--boot/grub2/0035-kern-Add-lockdown-support.patch763
-rw-r--r--boot/grub2/0036-kern-lockdown-Set-a-variable-if-the-GRUB-is-locked-d.patch57
-rw-r--r--boot/grub2/0037-efi-Lockdown-the-GRUB-when-the-UEFI-Secure-Boot-is-e.patch49
-rw-r--r--boot/grub2/0038-efi-Use-grub_is_lockdown-instead-of-hardcoding-a-dis.patch232
-rw-r--r--boot/grub2/0039-acpi-Don-t-register-the-acpi-command-when-locked-dow.patch76
-rw-r--r--boot/grub2/0040-mmap-Don-t-register-cutmem-and-badram-commands-when-.patch70
-rw-r--r--boot/grub2/0041-commands-Restrict-commands-that-can-load-BIOS-or-DT-.patch105
-rw-r--r--boot/grub2/0042-commands-setpci-Restrict-setpci-command-when-locked-.patch37
-rw-r--r--boot/grub2/0043-commands-hdparm-Restrict-hdparm-command-when-locked-.patch35
-rw-r--r--boot/grub2/0044-gdb-Restrict-GDB-access-when-locked-down.patch62
-rw-r--r--boot/grub2/0045-loader-xnu-Don-t-allow-loading-extension-and-package.patch61
-rw-r--r--boot/grub2/0046-docs-Document-the-cutmem-command.patch65
-rw-r--r--boot/grub2/0047-dl-Only-allow-unloading-modules-that-are-not-depende.patch87
-rw-r--r--boot/grub2/0048-usb-Avoid-possible-out-of-bound-accesses-caused-by-m.patch116
-rw-r--r--boot/grub2/0049-mmap-Fix-memory-leak-when-iterating-over-mapped-memo.patch40
-rw-r--r--boot/grub2/0050-net-net-Fix-possible-dereference-to-of-a-NULL-pointe.patch40
-rw-r--r--boot/grub2/0051-net-tftp-Fix-dangling-memory-pointer.patch34
-rw-r--r--boot/grub2/0052-kern-parser-Fix-resource-leak-if-argc-0.patch51
-rw-r--r--boot/grub2/0053-kern-efi-Fix-memory-leak-on-failure.patch31
-rw-r--r--boot/grub2/0054-kern-efi-mm-Fix-possible-NULL-pointer-dereference.patch66
-rw-r--r--boot/grub2/0055-gnulib-regexec-Resolve-unused-variable.patch90
-rw-r--r--boot/grub2/0056-gnulib-regcomp-Fix-uninitialized-token-structure.patch82
-rw-r--r--boot/grub2/0057-gnulib-argp-help-Fix-dereference-of-a-possibly-NULL-.patch82
-rw-r--r--boot/grub2/0058-gnulib-regexec-Fix-possible-null-dereference.patch83
-rw-r--r--boot/grub2/0059-gnulib-regcomp-Fix-uninitialized-re_token.patch88
-rw-r--r--boot/grub2/0060-io-lzopio-Resolve-unnecessary-self-assignment-errors.patch42
-rw-r--r--boot/grub2/0061-zstd-Initialize-seq_t-structure-fully.patch35
-rw-r--r--boot/grub2/0062-kern-partition-Check-for-NULL-before-dereferencing-i.patch44
-rw-r--r--boot/grub2/0063-disk-ldm-Make-sure-comp-data-is-freed-before-exiting.patch129
-rw-r--r--boot/grub2/0064-disk-ldm-If-failed-then-free-vg-variable-too.patch29
-rw-r--r--boot/grub2/0065-disk-ldm-Fix-memory-leak-on-uninserted-lv-references.patch51
-rw-r--r--boot/grub2/0066-disk-cryptodisk-Fix-potential-integer-overflow.patch51
-rw-r--r--boot/grub2/0067-hfsplus-Check-that-the-volume-name-length-is-valid.patch44
-rw-r--r--boot/grub2/0068-zfs-Fix-possible-negative-shift-operation.patch43
-rw-r--r--boot/grub2/0069-zfs-Fix-resource-leaks-while-constructing-path.patch122
-rw-r--r--boot/grub2/0070-zfs-Fix-possible-integer-overflows.patch57
-rw-r--r--boot/grub2/0071-zfsinfo-Correct-a-check-for-error-allocating-memory.patch36
-rw-r--r--boot/grub2/0072-affs-Fix-memory-leaks.patch83
-rw-r--r--boot/grub2/0073-libgcrypt-mpi-Fix-possible-unintended-sign-extension.patch50
-rw-r--r--boot/grub2/0074-libgcrypt-mpi-Fix-possible-NULL-dereference.patch49
-rw-r--r--boot/grub2/0075-syslinux-Fix-memory-leak-while-parsing.patch44
-rw-r--r--boot/grub2/0076-normal-completion-Fix-leaking-of-memory-when-process.patch53
-rw-r--r--boot/grub2/0077-commands-hashsum-Fix-a-memory-leak.patch57
-rw-r--r--boot/grub2/0079-video-efi_gop-Remove-unnecessary-return-value-of-gru.patch95
-rw-r--r--boot/grub2/0080-video-fb-fbfill-Fix-potential-integer-overflow.patch79
-rw-r--r--boot/grub2/0081-video-fb-video_fb-Fix-multiple-integer-overflows.patch105
-rw-r--r--boot/grub2/0082-video-fb-video_fb-Fix-possible-integer-overflow.patch40
-rw-r--r--boot/grub2/0083-video-readers-jpeg-Test-for-an-invalid-next-marker-r.patch39
-rw-r--r--boot/grub2/0084-gfxmenu-gui_list-Remove-code-that-coverity-is-flaggi.patch35
-rw-r--r--boot/grub2/0085-loader-bsd-Check-for-NULL-arg-up-front.patch48
-rw-r--r--boot/grub2/0086-loader-xnu-Fix-memory-leak.patch39
-rw-r--r--boot/grub2/0087-loader-xnu-Free-driverkey-data-when-an-error-is-dete.patch78
-rw-r--r--boot/grub2/0088-loader-xnu-Check-if-pointer-is-NULL-before-using-it.patch43
-rw-r--r--boot/grub2/0089-util-grub-install-Fix-NULL-pointer-dereferences.patch42
-rw-r--r--boot/grub2/0090-util-grub-editenv-Fix-incorrect-casting-of-a-signed-.patch47
-rw-r--r--boot/grub2/0091-util-glue-efi-Fix-incorrect-use-of-a-possibly-negati.patch51
-rw-r--r--boot/grub2/0092-script-execute-Fix-NULL-dereference-in-grub_script_e.patch29
-rw-r--r--boot/grub2/0093-commands-ls-Require-device_name-is-not-NULL-before-p.patch34
-rw-r--r--boot/grub2/0094-script-execute-Avoid-crash-when-using-outside-a-func.patch38
-rw-r--r--boot/grub2/0095-lib-arg-Block-repeated-short-options-that-require-an.patch56
-rw-r--r--boot/grub2/0096-script-execute-Don-t-crash-on-a-for-loop-with-no-ite.patch40
-rw-r--r--boot/grub2/0097-commands-menuentry-Fix-quoting-in-setparams_prefix.patch48
-rw-r--r--boot/grub2/0098-kern-misc-Always-set-end-in-grub_strtoull.patch47
-rw-r--r--boot/grub2/0099-video-readers-jpeg-Catch-files-with-unsupported-quan.patch53
-rw-r--r--boot/grub2/0100-video-readers-jpeg-Catch-OOB-reads-writes-in-grub_jp.patch48
-rw-r--r--boot/grub2/0101-video-readers-jpeg-Don-t-decode-data-before-start-of.patch40
-rw-r--r--boot/grub2/0102-term-gfxterm-Don-t-set-up-a-font-with-glyphs-that-ar.patch52
-rw-r--r--boot/grub2/0103-fs-fshelp-Catch-impermissibly-large-block-sizes-in-r.patch47
-rw-r--r--boot/grub2/0104-fs-hfsplus-Don-t-fetch-a-key-beyond-the-end-of-the-n.patch33
-rw-r--r--boot/grub2/0105-fs-hfsplus-Don-t-use-uninitialized-data-on-corrupt-f.patch108
-rw-r--r--boot/grub2/0106-fs-hfs-Disable-under-lockdown.patch47
-rw-r--r--boot/grub2/0107-fs-sfs-Fix-over-read-of-root-object-name.patch50
-rw-r--r--boot/grub2/0108-fs-jfs-Do-not-move-to-leaf-level-if-name-length-is-n.patch34
-rw-r--r--boot/grub2/0109-fs-jfs-Limit-the-extents-that-getblk-can-consider.patch62
-rw-r--r--boot/grub2/0110-fs-jfs-Catch-infinite-recursion.patch46
-rw-r--r--boot/grub2/0111-fs-nilfs2-Reject-too-large-keys.patch46
-rw-r--r--boot/grub2/0112-fs-nilfs2-Don-t-search-children-if-provided-number-i.patch100
-rw-r--r--boot/grub2/0113-fs-nilfs2-Properly-bail-on-errors-in-grub_nilfs2_btr.patch68
-rw-r--r--boot/grub2/0114-io-gzio-Bail-if-gzio-tl-td-is-NULL.patch67
-rw-r--r--boot/grub2/0115-io-gzio-Add-init_dynamic_block-clean-up-if-unpacking.patch67
-rw-r--r--boot/grub2/0116-io-gzio-Catch-missing-values-in-huft_build-and-bail.patch57
-rw-r--r--boot/grub2/0117-io-gzio-Zero-gzio-tl-td-in-init_dynamic_block-if-huf.patch42
-rw-r--r--boot/grub2/0118-disk-lvm-Don-t-go-beyond-the-end-of-the-data-we-read.patch49
-rw-r--r--boot/grub2/0119-disk-lvm-Don-t-blast-past-the-end-of-the-circular-me.patch43
-rw-r--r--boot/grub2/0120-disk-lvm-Bail-on-missing-PV-list.patch35
-rw-r--r--boot/grub2/0121-disk-lvm-Do-not-crash-if-an-expected-string-is-not-f.patch83
-rw-r--r--boot/grub2/0122-disk-lvm-Do-not-overread-metadata.patch111
-rw-r--r--boot/grub2/0123-disk-lvm-Sanitize-rlocn-offset-to-prevent-wild-read.patch41
-rw-r--r--boot/grub2/0124-disk-lvm-Do-not-allow-a-LV-to-be-it-s-own-segment-s-.patch39
-rw-r--r--boot/grub2/0125-fs-btrfs-Validate-the-number-of-stripes-parities-in-.patch33
-rw-r--r--boot/grub2/0126-fs-btrfs-Squash-some-uninitialized-reads.patch43
-rw-r--r--boot/grub2/0127-kern-parser-Fix-a-memory-leak.patch77
-rw-r--r--boot/grub2/0128-kern-parser-Introduce-process_char-helper.patch120
-rw-r--r--boot/grub2/0129-kern-parser-Introduce-terminate_arg-helper.patch66
-rw-r--r--boot/grub2/0130-kern-parser-Refactor-grub_parser_split_cmdline-clean.patch92
-rw-r--r--boot/grub2/0131-kern-buffer-Add-variable-sized-heap-buffer.patch1237
-rw-r--r--boot/grub2/0132-kern-parser-Fix-a-stack-buffer-overflow.patch248
-rw-r--r--boot/grub2/0133-kern-efi-Add-initial-stack-protector-implementation.patch466
-rw-r--r--boot/grub2/0134-util-mkimage-Remove-unused-code-to-add-BSS-section.patch61
-rw-r--r--boot/grub2/0135-util-mkimage-Use-grub_host_to_target32-instead-of-gr.patch113
-rw-r--r--boot/grub2/0136-util-mkimage-Always-use-grub_host_to_target32-to-ini.patch39
-rw-r--r--boot/grub2/0137-util-mkimage-Unify-more-of-the-PE32-and-PE32-header-.patch169
-rw-r--r--boot/grub2/0138-util-mkimage-Reorder-PE-optional-header-fields-set-u.patch73
-rw-r--r--boot/grub2/0139-util-mkimage-Improve-data_size-value-calculation.patch50
-rw-r--r--boot/grub2/0140-util-mkimage-Refactor-section-setup-to-use-a-helper.patch221
-rw-r--r--boot/grub2/0141-util-mkimage-Add-an-option-to-import-SBAT-metadata-i.patch264
-rw-r--r--boot/grub2/0142-grub-install-common-Add-sbat-option.patch85
-rw-r--r--boot/grub2/0143-shim_lock-Only-skip-loading-shim_lock-verifier-with-.patch270
-rw-r--r--boot/grub2/0144-kern-misc-Split-parse_printf_args-into-format-parsin.patch50
-rw-r--r--boot/grub2/0145-kern-misc-Add-STRING-type-for-internal-printf-format.patch68
-rw-r--r--boot/grub2/0146-kern-misc-Add-function-to-check-printf-format-agains.patch219
-rw-r--r--boot/grub2/0147-gfxmenu-gui-Check-printf-format-in-the-gui_progress_.patch62
-rw-r--r--boot/grub2/0148-templates-Disable-the-os-prober-by-default.patch87
-rw-r--r--boot/grub2/0149-kern-mm-Fix-grub_debug_calloc-compilation-error.patch33
-rw-r--r--boot/grub2/grub2.mk20
-rw-r--r--boot/opensbi/0.9/0001-Makefile-Don-t-specify-mabi-or-march.patch (renamed from boot/opensbi/0001-Makefile-Don-t-specify-mabi-or-march.patch)0
-rw-r--r--boot/opensbi/0.9/0002-Makefile-unconditionally-disable-SSP.patch53
-rw-r--r--boot/opensbi/Config.in78
-rw-r--r--boot/opensbi/opensbi.hash2
-rw-r--r--boot/opensbi/opensbi.mk41
-rw-r--r--boot/optee-os/Config.in4
-rw-r--r--boot/optee-os/optee-os.hash4
-rw-r--r--boot/shim/Config.in4
-rw-r--r--boot/shim/shim.hash2
-rw-r--r--boot/shim/shim.mk11
-rw-r--r--boot/syslinux/0016-Workaround-multiple-definition-of-symbol-errors.patch126
-rw-r--r--boot/syslinux/0017-Replace-builtin-strlen-that-appears-to-get-optimized.patch42
-rw-r--r--boot/syslinux/Config.in1
-rw-r--r--boot/uboot/Config.in4
-rw-r--r--boot/uboot/uboot.hash2
-rw-r--r--boot/uboot/uboot.mk1
-rw-r--r--configs/aarch64_efi_defconfig7
-rw-r--r--configs/acmesystems_acqua_a5_256mb_defconfig23
-rw-r--r--configs/acmesystems_acqua_a5_512mb_defconfig23
-rw-r--r--configs/amarula_vyasa_rk3288_defconfig8
-rw-r--r--configs/bananapi_m1_plus_defconfig1
-rw-r--r--configs/beaglebone_qt5_defconfig1
-rw-r--r--configs/beaglev_defconfig38
-rw-r--r--configs/freescale_imx6dlsabreauto_defconfig8
-rw-r--r--configs/freescale_imx6dlsabresd_defconfig8
-rw-r--r--configs/freescale_imx6qsabreauto_defconfig8
-rw-r--r--configs/freescale_imx6qsabresd_defconfig8
-rw-r--r--configs/freescale_imx6sxsabresd_defconfig8
-rw-r--r--configs/freescale_imx6ullevk_defconfig6
-rw-r--r--configs/freescale_imx7dsabresd_defconfig8
-rw-r--r--configs/freescale_imx8mmevk_defconfig8
-rw-r--r--configs/freescale_imx8mnevk_defconfig8
-rw-r--r--configs/freescale_imx8mpevk_defconfig42
-rw-r--r--configs/freescale_imx8mqevk_defconfig8
-rw-r--r--configs/freescale_imx8qmmek_defconfig8
-rw-r--r--configs/freescale_imx8qxpmek_defconfig8
-rw-r--r--configs/imx6-sabresd_defconfig4
-rw-r--r--configs/imx6-sabresd_qt5_defconfig4
-rw-r--r--configs/kontron_smarc_sal28_defconfig4
-rw-r--r--configs/mx6cubox_defconfig8
-rw-r--r--configs/nitrogen6sx_defconfig6
-rw-r--r--configs/nitrogen6x_defconfig6
-rw-r--r--configs/nitrogen7_defconfig6
-rw-r--r--configs/nitrogen8m_defconfig10
-rw-r--r--configs/nitrogen8mm_defconfig10
-rw-r--r--configs/nitrogen8mn_defconfig10
-rw-r--r--configs/nitrogen8mp_defconfig58
-rw-r--r--configs/olimex_a20_olinuxino_lime2_defconfig8
-rw-r--r--configs/olimex_a20_olinuxino_lime_defconfig8
-rw-r--r--configs/pandaboard_defconfig22
-rw-r--r--configs/qemu_arm_vexpress_tz_defconfig18
-rw-r--r--configs/qemu_ppc_e500mc_defconfig29
-rw-r--r--configs/qemu_s390x_defconfig1
-rw-r--r--configs/raspberrypi0_defconfig2
-rw-r--r--configs/raspberrypi0w_defconfig2
-rw-r--r--configs/raspberrypi2_defconfig2
-rw-r--r--configs/raspberrypi3_64_defconfig2
-rw-r--r--configs/raspberrypi3_defconfig2
-rw-r--r--configs/raspberrypi3_qt5we_defconfig2
-rw-r--r--configs/raspberrypi4_64_defconfig2
-rw-r--r--configs/raspberrypi4_defconfig2
-rw-r--r--configs/raspberrypi_defconfig2
-rw-r--r--configs/wandboard_defconfig26
-rw-r--r--docs/manual/adding-packages-generic.txt10
-rw-r--r--docs/manual/adding-packages-tips.txt40
-rw-r--r--docs/manual/customize-post-image.txt3
-rw-r--r--docs/manual/customize-rootfs.txt3
-rw-r--r--docs/website/docs.html4
-rw-r--r--docs/website/download.html40
-rw-r--r--docs/website/news.html125
-rw-r--r--linux/Config.in16
-rw-r--r--linux/linux.hash18
-rw-r--r--linux/linux.mk4
-rw-r--r--package/Config.in20
-rw-r--r--package/Config.in.host1
-rw-r--r--package/Makefile.in1
-rw-r--r--package/acl/acl.hash2
-rw-r--r--package/acl/acl.mk4
-rw-r--r--package/alsa-utils/alsa-utils.mk4
-rw-r--r--package/apr-util/apr-util.mk2
-rw-r--r--package/asn1c/asn1c.mk2
-rw-r--r--package/asterisk/asterisk.mk11
-rw-r--r--package/atftp/atftp.mk2
-rw-r--r--package/atop/atop.mk2
-rw-r--r--package/attr/0002-Switch-back-to-syscall.patch126
-rw-r--r--package/attr/attr.hash2
-rw-r--r--package/attr/attr.mk5
-rw-r--r--package/automake/automake.mk1
-rw-r--r--package/avahi/avahi.mk4
-rw-r--r--package/avrdude/Config.in12
-rw-r--r--package/avrdude/avrdude.hash2
-rw-r--r--package/avrdude/avrdude.mk13
-rw-r--r--package/axel/axel.mk2
-rw-r--r--package/azure-iot-sdk-c/0001-Fix-redirection-of-errno-header.patch32
-rw-r--r--package/azure-iot-sdk-c/azure-iot-sdk-c.hash2
-rw-r--r--package/azure-iot-sdk-c/azure-iot-sdk-c.mk2
-rw-r--r--package/bash-completion/bash-completion.hash4
-rw-r--r--package/bash-completion/bash-completion.mk2
-rw-r--r--package/bash/0001-bash50-001.patch170
-rw-r--r--package/bash/0001-bash51-001.patch83
-rw-r--r--package/bash/0002-bash50-002.patch117
-rw-r--r--package/bash/0002-bash51-002.patch60
-rw-r--r--package/bash/0003-bash50-003.patch243
-rw-r--r--package/bash/0003-bash51-003.patch56
-rw-r--r--package/bash/0004-bash50-004.patch57
-rw-r--r--package/bash/0004-bash51-004.patch129
-rw-r--r--package/bash/0005-bash50-005.patch114
-rw-r--r--package/bash/0005-input.h-add-missing-include-on-stdio.h.patch (renamed from package/bash/0019-input.h-add-missing-include-on-stdio.h.patch)0
-rw-r--r--package/bash/0006-bash50-006.patch51
-rw-r--r--package/bash/0006-locale-fix-typo-local_shiftstates-vs.-locale_shiftst.patch72
-rw-r--r--package/bash/0007-bash50-007.patch66
-rw-r--r--package/bash/0007-glob-fix-dequote_pathname-vs.-udequote_pathname.patch40
-rw-r--r--package/bash/0008-bash50-008.patch72
-rw-r--r--package/bash/0009-bash50-009.patch46
-rw-r--r--package/bash/0010-bash50-010.patch176
-rw-r--r--package/bash/0011-bash50-011.patch63
-rw-r--r--package/bash/0012-bash50-012.patch68
-rw-r--r--package/bash/0013-bash50-013.patch77
-rw-r--r--package/bash/0014-bash50-014.patch56
-rw-r--r--package/bash/0015-bash50-015.patch82
-rw-r--r--package/bash/0016-bash50-016.patch62
-rw-r--r--package/bash/0017-bash50-017.patch293
-rw-r--r--package/bash/0018-bash50-018.patch49
-rw-r--r--package/bash/0020-locale.c-fix-build-without-wchar.patch84
-rw-r--r--package/bash/Config.in14
-rw-r--r--package/bash/bash.hash6
-rw-r--r--package/bash/bash.mk28
-rw-r--r--package/batctl/batctl.hash6
-rw-r--r--package/batctl/batctl.mk2
-rw-r--r--package/batman-adv/Config.in2
-rw-r--r--package/batman-adv/batman-adv.hash10
-rw-r--r--package/batman-adv/batman-adv.mk16
-rw-r--r--package/bdwgc/bdwgc.mk2
-rw-r--r--package/beecrypt/beecrypt.mk2
-rw-r--r--package/belle-sip/belle-sip.mk8
-rw-r--r--package/bind/bind.hash4
-rw-r--r--package/bind/bind.mk6
-rw-r--r--package/binutils/2.32/0010-bfd-elf32-or1k-fix-ld-assert.patch35
-rw-r--r--package/binutils/2.34/0003-bfd-elf32-or1k-fix-ld-assert.patch35
-rw-r--r--package/binutils/2.35.2/0003-bfd-elf32-or1k-fix-ld-assert.patch35
-rw-r--r--package/binutils/2.36.1/0003-bfd-elf32-or1k-fix-ld-assert.patch35
-rw-r--r--package/bison/bison.hash7
-rw-r--r--package/bison/bison.mk2
-rw-r--r--package/bitcoin/bitcoin.hash4
-rw-r--r--package/bitcoin/bitcoin.mk2
-rw-r--r--package/bitwise/bitwise.hash2
-rw-r--r--package/bitwise/bitwise.mk2
-rw-r--r--package/bluez5_utils-headers/bluez5_utils-headers.mk2
-rw-r--r--package/bluez5_utils/bluez5_utils.hash2
-rw-r--r--package/bluez5_utils/bluez5_utils.mk2
-rw-r--r--package/boinc/boinc.hash6
-rw-r--r--package/boinc/boinc.mk2
-rw-r--r--package/boost/boost.mk2
-rw-r--r--package/botan/0003-Add-support-for-riscv32.patch31
-rw-r--r--package/botan/botan.mk2
-rw-r--r--package/bridge-utils/0001-fix-build-on-musl.patch51
-rw-r--r--package/bridge-utils/bridge-utils.hash4
-rw-r--r--package/bridge-utils/bridge-utils.mk7
-rw-r--r--package/btrfs-progs/btrfs-progs.hash2
-rw-r--r--package/btrfs-progs/btrfs-progs.mk2
-rw-r--r--package/bullet/Config.in5
-rw-r--r--package/bullet/bullet.hash2
-rw-r--r--package/bullet/bullet.mk11
-rw-r--r--package/busybox/0004-decompress_gunzip-Fix-DoS-if-gzip-is-corrupt.patch58
-rw-r--r--package/busybox/busybox.mk3
-rw-r--r--package/bwm-ng/bwm-ng.hash2
-rw-r--r--package/bwm-ng/bwm-ng.mk2
-rw-r--r--package/c-icap/c-icap.mk2
-rw-r--r--package/c-periphery/c-periphery.mk1
-rw-r--r--package/ca-certificates/ca-certificates.hash4
-rw-r--r--package/ca-certificates/ca-certificates.mk10
-rw-r--r--package/cage/Config.in12
-rw-r--r--package/can-utils/can-utils.hash2
-rw-r--r--package/can-utils/can-utils.mk2
-rw-r--r--package/cegui/cegui.mk7
-rw-r--r--package/cgilua/cgilua.hash4
-rw-r--r--package/cgilua/cgilua.mk3
-rw-r--r--package/cgroupfs-mount/cgroupfs-mount.mk1
-rw-r--r--package/check/check.hash2
-rw-r--r--package/check/check.mk2
-rw-r--r--package/cifs-utils/0001-Use-DESTDIR-when-installing-mount.smb3-and-optionall.patch41
-rw-r--r--package/cifs-utils/Config.in18
-rw-r--r--package/cifs-utils/cifs-utils.hash2
-rw-r--r--package/cifs-utils/cifs-utils.mk12
-rw-r--r--package/civetweb/civetweb.mk2
-rw-r--r--package/cjson/cjson.hash2
-rw-r--r--package/cjson/cjson.mk4
-rw-r--r--package/clamav/clamav.hash2
-rw-r--r--package/clamav/clamav.mk2
-rw-r--r--package/clinfo/clinfo.hash2
-rw-r--r--package/clinfo/clinfo.mk2
-rw-r--r--package/cmake/cmake.hash6
-rw-r--r--package/cmake/cmake.mk7
-rw-r--r--package/cog/Config.in5
-rw-r--r--package/cog/cog.hash8
-rw-r--r--package/cog/cog.mk8
-rw-r--r--package/containerd/Config.in (renamed from package/docker-containerd/Config.in)10
-rw-r--r--package/containerd/containerd.hash3
-rw-r--r--package/containerd/containerd.mk44
-rw-r--r--package/coremark-pro/coremark-pro.mk2
-rw-r--r--package/coreutils/0002-m4-pthread-cond.m4-fix-build-without-threads.patch59
-rw-r--r--package/coreutils/0003-lib-pthread-cond.c-use-tv.nsec-instead-of-tv.usec.patch35
-rw-r--r--package/coreutils/coreutils.mk6
-rw-r--r--package/cppzmq/cppzmq.hash2
-rw-r--r--package/cppzmq/cppzmq.mk2
-rw-r--r--package/cracklib/cracklib.mk1
-rw-r--r--package/cryptsetup/cryptsetup.mk5
-rw-r--r--package/cups-filters/cups-filters.mk1
-rw-r--r--package/cups/cups.hash6
-rw-r--r--package/cups/cups.mk4
-rw-r--r--package/cutelyst/cutelyst.mk2
-rw-r--r--package/daemon/daemon.hash4
-rw-r--r--package/daemon/daemon.mk4
-rw-r--r--package/dav1d/dav1d.hash2
-rw-r--r--package/dav1d/dav1d.mk2
-rw-r--r--package/davfs2/davfs2.mk1
-rw-r--r--package/dfu-util/dfu-util.hash8
-rw-r--r--package/dfu-util/dfu-util.mk2
-rw-r--r--package/dhcpcd/0001-src-privsep-linux.c-add-support-for-nds32-21.patch (renamed from package/dhcpcd/0001-src-privsep-linux.c-add-support-for-nds32.patch)15
-rw-r--r--package/dhcpcd/0002-src-privsep-linux.c-add-support-for-xtensa-22.patch42
-rw-r--r--package/dhcpcd/0003-Linux-Add-support-for-NDS32BE-SECCOMP.patch31
-rw-r--r--package/dhcpcd/0004-Typo-with-prior.patch27
-rw-r--r--package/dhcpcd/0005-src-privsep-linux.c-add-support-for-nios2-23.patch42
-rw-r--r--package/dhcpcd/0006-src-privsep-linux.c-add-support-for-microblaze-24.patch42
-rw-r--r--package/dhcpcd/0007-src-privsep-linux.c-add-support-for-sh-25.patch54
-rw-r--r--package/dhcpcd/0008-src-privsep-linux-fix-build-on-sparc-26.patch45
-rw-r--r--package/dhcpcd/0009-src-privsep-linux.c-add-support-for-or1k-27.patch41
-rw-r--r--package/dhcpcd/0010-src-privsep-linux.c-add-support-for-arc-28.patch62
-rw-r--r--package/dhcpcd/0011-src-privsep-linux.c-add-support-for-m68k.patch37
-rw-r--r--package/dhcpcd/dhcpcd.mk20
-rw-r--r--package/diffutils/diffutils.mk1
-rw-r--r--package/dmalloc/0001-add-fpic.patch58
-rw-r--r--package/dmalloc/0001-mips.patch (renamed from package/dmalloc/0002-mips.patch)0
-rw-r--r--package/dmalloc/0002-fix-parallel-build.patch (renamed from package/dmalloc/0003-fix-parallel-build.patch)0
-rw-r--r--package/dmalloc/0003-fix-shlibs.patch (renamed from package/dmalloc/0004-fix-shlibs.patch)0
-rw-r--r--package/dmalloc/0004-fix-strdup.patch (renamed from package/dmalloc/0005-fix-strdup.patch)0
-rw-r--r--package/dmalloc/0005-fix-strndup.patch (renamed from package/dmalloc/0006-fix-strndup.patch)0
-rw-r--r--package/dmalloc/dmalloc.mk8
-rw-r--r--package/dmidecode/dmidecode.mk1
-rw-r--r--package/dnsmasq/dnsmasq.hash4
-rw-r--r--package/dnsmasq/dnsmasq.mk2
-rw-r--r--package/docker-cli/docker-cli.hash2
-rw-r--r--package/docker-cli/docker-cli.mk5
-rw-r--r--package/docker-containerd/docker-containerd.hash3
-rw-r--r--package/docker-containerd/docker-containerd.mk44
-rw-r--r--package/docker-engine/0001-fix-port-forwarding-with-ipv6.disable-1.patch74
-rw-r--r--package/docker-engine/Config.in6
-rw-r--r--package/docker-engine/docker-engine.hash2
-rw-r--r--package/docker-engine/docker-engine.mk5
-rw-r--r--package/domoticz/0001-Revert-Updating-CMake-configuration-file-to-use-vers.patch55
-rw-r--r--package/domoticz/0002-Avoid-deprecated-bind-placeholders-in-global-namespace.patch843
-rw-r--r--package/domoticz/0003-Build-failure-with-python-3-9.patch36
-rw-r--r--package/domoticz/0004-Load-python-3-9-shared-libs.patch41
-rw-r--r--package/domoticz/Config.in9
-rw-r--r--package/domoticz/domoticz.hash2
-rw-r--r--package/domoticz/domoticz.mk12
-rw-r--r--package/dos2unix/dos2unix.hash6
-rw-r--r--package/dos2unix/dos2unix.mk2
-rw-r--r--package/dosfstools/dosfstools.hash7
-rw-r--r--package/dosfstools/dosfstools.mk4
-rw-r--r--package/dovecot-pigeonhole/dovecot-pigeonhole.hash2
-rw-r--r--package/dovecot-pigeonhole/dovecot-pigeonhole.mk2
-rw-r--r--package/dovecot/dovecot.hash2
-rw-r--r--package/dovecot/dovecot.mk2
-rw-r--r--package/doxygen/doxygen.mk1
-rw-r--r--package/dtc/dtc.mk1
-rw-r--r--package/e2fsprogs/0001-create_inode-set-xattrs-to-the-root-directory-as-wel.patch46
-rw-r--r--package/e2fsprogs/Config.in13
-rw-r--r--package/e2fsprogs/e2fsprogs.hash4
-rw-r--r--package/e2fsprogs/e2fsprogs.mk14
-rw-r--r--package/efivar/0005-ucs2.h-remove-unused-variable.patch35
-rw-r--r--package/efivar/0006-ucs2.h-fix-logic-that-checks-for-UCS-2-string-termin.patch32
-rw-r--r--package/efivar/0007-gcc.specs-drop-Werror.patch44
-rw-r--r--package/efl/efl.hash4
-rw-r--r--package/efl/efl.mk2
-rw-r--r--package/eigen/eigen.mk2
-rw-r--r--package/ejabberd/ejabberd.mk1
-rw-r--r--package/elfutils/0001-Add-a-enable-disable-progs-configure-option.patch35
-rw-r--r--package/elfutils/elfutils.hash4
-rw-r--r--package/elfutils/elfutils.mk11
-rw-r--r--package/ell/0001-build-Add-rawmemchr-to-missing.h.patch47
-rw-r--r--package/ell/0002-ell-add-missing-include-in-dhcp-server.patch26
-rw-r--r--package/ell/ell.hash4
-rw-r--r--package/ell/ell.mk14
-rw-r--r--package/enchant/enchant.hash4
-rw-r--r--package/enchant/enchant.mk2
-rw-r--r--package/enet/enet.hash4
-rw-r--r--package/enet/enet.mk2
-rw-r--r--package/erlang/erlang.mk2
-rw-r--r--package/eudev/0001-src-libudev-libudev-monitor.c-do-not-check-if-dev-is.patch33
-rw-r--r--package/eudev/eudev.hash6
-rw-r--r--package/eudev/eudev.mk2
-rw-r--r--package/execline/execline.hash4
-rw-r--r--package/execline/execline.mk12
-rw-r--r--package/exfatprogs/exfatprogs.hash6
-rw-r--r--package/exfatprogs/exfatprogs.mk3
-rw-r--r--package/exim/exim.hash4
-rw-r--r--package/exim/exim.mk2
-rw-r--r--package/expat/expat.hash8
-rw-r--r--package/expat/expat.mk5
-rw-r--r--package/fail2ban/fail2ban.hash2
-rw-r--r--package/fail2ban/fail2ban.mk2
-rw-r--r--package/faketime/faketime.hash4
-rw-r--r--package/faketime/faketime.mk2
-rw-r--r--package/fastd/fastd.mk1
-rw-r--r--package/feh/feh.hash2
-rw-r--r--package/feh/feh.mk2
-rw-r--r--package/fetchmail/fetchmail.hash8
-rw-r--r--package/fetchmail/fetchmail.mk2
-rw-r--r--package/ffmpeg/0002-avcodec-vaapi_h264-skip-decode-if-pic-has-no-slices.patch (renamed from package/ffmpeg/0003-avcodec-vaapi_h264-skip-decode-if-pic-has-no-slices.patch)0
-rw-r--r--package/ffmpeg/0002-configure-use-require_pkg_config-to-check-for-wavpac.patch31
-rw-r--r--package/ffmpeg/0004-avformat-mpegts-make-sure-mpegts-read-header-always.patch38
-rw-r--r--package/ffmpeg/ffmpeg.hash2
-rw-r--r--package/ffmpeg/ffmpeg.mk9
-rw-r--r--package/file/file.mk2
-rw-r--r--package/flac/flac.mk1
-rw-r--r--package/flex/flex.mk5
-rw-r--r--package/fluidsynth/fluidsynth.hash2
-rw-r--r--package/fluidsynth/fluidsynth.mk2
-rw-r--r--package/fmt/fmt.mk1
-rw-r--r--package/fontconfig/fontconfig.mk1
-rw-r--r--package/freerdp/0001-Fix-variable-declaration-in-loop.patch33
-rw-r--r--package/freerdp/0002-Fixed-variable-declaration-in-loop.patch34
-rw-r--r--package/freerdp/freerdp.hash4
-rw-r--r--package/freerdp/freerdp.mk2
-rw-r--r--package/freescale-imx/Config.in8
-rw-r--r--package/freescale-imx/firmware-imx/Config.in2
-rw-r--r--package/freescale-imx/firmware-imx/firmware-imx.hash6
-rw-r--r--package/freescale-imx/firmware-imx/firmware-imx.mk2
-rw-r--r--package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.hash8
-rw-r--r--package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk4
-rw-r--r--package/freescale-imx/imx-gpu-viv/Config.in5
-rw-r--r--package/freescale-imx/imx-gpu-viv/imx-gpu-viv.hash8
-rw-r--r--package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk11
-rw-r--r--package/freescale-imx/imx-sc-firmware/imx-sc-firmware.hash6
-rw-r--r--package/freescale-imx/imx-sc-firmware/imx-sc-firmware.mk2
-rw-r--r--package/freescale-imx/imx-seco/Config.in44
-rw-r--r--package/freescale-imx/imx-seco/imx-seco.hash2
-rw-r--r--package/freescale-imx/imx-seco/imx-seco.mk13
-rw-r--r--package/freescale-imx/imx-uuc/Config.in2
-rw-r--r--package/freescale-imx/imx-uuc/imx-uuc.hash2
-rw-r--r--package/freescale-imx/imx-uuc/imx-uuc.mk2
-rw-r--r--package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.hash7
-rw-r--r--package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.mk2
-rw-r--r--package/freescale-imx/imx-vpu/imx-vpu.hash4
-rw-r--r--package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash2
-rw-r--r--package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk2
-rw-r--r--package/freeswitch/freeswitch.hash4
-rw-r--r--package/freeswitch/freeswitch.mk2
-rw-r--r--package/frotz/Config.in6
-rw-r--r--package/frotz/frotz.hash2
-rw-r--r--package/frotz/frotz.mk4
-rw-r--r--package/frr/frr.hash2
-rw-r--r--package/frr/frr.mk2
-rw-r--r--package/fwts/fwts.hash4
-rw-r--r--package/fwts/fwts.mk2
-rw-r--r--package/gcc/10.2.0/0001-arc-Refurbish-adc-sbc-patterns.patch242
-rw-r--r--package/gcc/10.3.0/0001-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch (renamed from package/gcc/10.2.0/0002-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch)31
-rw-r--r--package/gcc/Config.in.host2
-rw-r--r--package/gcc/gcc.hash4
-rw-r--r--package/gd/gd.hash2
-rw-r--r--package/gd/gd.mk2
-rw-r--r--package/genext2fs/0001-update-genext2fs.c-to-rev-1.118.patch2971
-rw-r--r--package/genext2fs/genext2fs.hash2
-rw-r--r--package/genext2fs/genext2fs.mk6
-rw-r--r--package/genimage/genimage.hash2
-rw-r--r--package/genimage/genimage.mk2
-rw-r--r--package/gensio/gensio.hash6
-rw-r--r--package/gensio/gensio.mk2
-rw-r--r--package/gerbera/Config.in11
-rw-r--r--package/gerbera/S99gerbera3
-rw-r--r--package/gerbera/config.xml144
-rw-r--r--package/gerbera/gerbera.hash2
-rw-r--r--package/gerbera/gerbera.mk15
-rw-r--r--package/gettext-gnu/gettext-gnu.mk2
-rw-r--r--package/giflib/giflib.mk2
-rw-r--r--package/git/git.hash2
-rw-r--r--package/git/git.mk8
-rw-r--r--package/glibmm/glibmm.hash8
-rw-r--r--package/glibmm/glibmm.mk7
-rw-r--r--package/gnuchess/gnuchess.hash4
-rw-r--r--package/gnuchess/gnuchess.mk4
-rw-r--r--package/gnuplot/gnuplot.mk2
-rw-r--r--package/gnutls/0001-Fix-gnulib-stdio.h-include-on-uclibc.patch49
-rw-r--r--package/gnutls/Config.in2
-rw-r--r--package/gnutls/gnutls.hash4
-rw-r--r--package/gnutls/gnutls.mk18
-rw-r--r--package/go/Config.in.host1
-rw-r--r--package/go/go.hash4
-rw-r--r--package/go/go.mk7
-rw-r--r--package/gperf/gperf.mk2
-rw-r--r--package/gpsd/gpsd.mk1
-rw-r--r--package/grpc/grpc.hash2
-rw-r--r--package/grpc/grpc.mk2
-rw-r--r--package/gstreamer1/gst-omx/gst-omx.hash4
-rw-r--r--package/gstreamer1/gst-omx/gst-omx.mk2
-rw-r--r--package/gstreamer1/gst1-devtools/gst1-devtools.hash4
-rw-r--r--package/gstreamer1/gst1-devtools/gst1-devtools.mk2
-rw-r--r--package/gstreamer1/gst1-interpipe/gst1-interpipe.hash2
-rw-r--r--package/gstreamer1/gst1-interpipe/gst1-interpipe.mk2
-rw-r--r--package/gstreamer1/gst1-libav/gst1-libav.hash4
-rw-r--r--package/gstreamer1/gst1-libav/gst1-libav.mk2
-rw-r--r--package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash4
-rw-r--r--package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk4
-rw-r--r--package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash4
-rw-r--r--package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk2
-rw-r--r--package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash4
-rw-r--r--package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk2
-rw-r--r--package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash4
-rw-r--r--package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk2
-rw-r--r--package/gstreamer1/gst1-python/gst1-python.hash4
-rw-r--r--package/gstreamer1/gst1-python/gst1-python.mk2
-rw-r--r--package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash4
-rw-r--r--package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk4
-rw-r--r--package/gstreamer1/gst1-vaapi/gst1-vaapi.hash4
-rw-r--r--package/gstreamer1/gst1-vaapi/gst1-vaapi.mk2
-rw-r--r--package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash4
-rw-r--r--package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk2
-rw-r--r--package/gstreamer1/gstreamer1/gstreamer1.hash4
-rw-r--r--package/gstreamer1/gstreamer1/gstreamer1.mk4
-rw-r--r--package/gutenprint/gutenprint.mk1
-rw-r--r--package/gvfs/gvfs.mk1
-rw-r--r--package/haproxy/haproxy.hash4
-rw-r--r--package/haproxy/haproxy.mk2
-rw-r--r--package/harfbuzz/harfbuzz.mk1
-rw-r--r--package/haserl/haserl.hash6
-rw-r--r--package/haserl/haserl.mk3
-rw-r--r--package/heimdal/heimdal.mk1
-rw-r--r--package/hidapi/0001-hidtest-dont-use-a-C-source-file-since-it-s-pure-C.patch445
-rw-r--r--package/hidapi/hidapi.hash10
-rw-r--r--package/hidapi/hidapi.mk2
-rw-r--r--package/hostapd/0002-ASN.1-Validate-DigestAlgorithmIdentifier-parameters.patch116
-rw-r--r--package/hostapd/hostapd.mk3
-rw-r--r--package/hwdata/hwdata.hash2
-rw-r--r--package/hwdata/hwdata.mk2
-rw-r--r--package/hwloc/hwloc.hash8
-rw-r--r--package/hwloc/hwloc.mk18
-rw-r--r--package/i2c-tools/0001-Revert-tools-i2ctransfer-add-check-for-returned-leng.patch41
-rw-r--r--package/i2pd/i2pd.hash4
-rw-r--r--package/i2pd/i2pd.mk2
-rw-r--r--package/ibm-sw-tpm2/Config.in1
-rw-r--r--package/icu/icu.mk3
-rw-r--r--package/igmpproxy/igmpproxy.hash8
-rw-r--r--package/igmpproxy/igmpproxy.mk5
-rw-r--r--package/imlib2/imlib2.mk1
-rw-r--r--package/imx-mkimage/imx-mkimage.mk2
-rw-r--r--package/inih/0001-meson-optionally-depend-on-c.patch34
-rw-r--r--package/inih/inih.hash2
-rw-r--r--package/inih/inih.mk4
-rw-r--r--package/iostat/0001-cpunum.patch27
-rw-r--r--package/iostat/Config.in6
-rw-r--r--package/iostat/iostat.hash3
-rw-r--r--package/iostat/iostat.mk21
-rw-r--r--package/ipcalc/ipcalc.mk2
-rw-r--r--package/ipmitool/ipmitool.mk2
-rw-r--r--package/iproute2/iproute2.mk1
-rw-r--r--package/ipset/ipset.hash8
-rw-r--r--package/ipset/ipset.mk2
-rw-r--r--package/iptables/iptables.hash2
-rw-r--r--package/iptables/iptables.mk2
-rw-r--r--package/iputils/iputils.mk1
-rw-r--r--package/irqbalance/irqbalance.hash2
-rw-r--r--package/irqbalance/irqbalance.mk2
-rw-r--r--package/irssi/irssi.mk1
-rw-r--r--package/isl/isl.hash4
-rw-r--r--package/isl/isl.mk2
-rw-r--r--package/iucode-tool/iucode-tool.mk1
-rw-r--r--package/iwd/0001-configure.ac-fix-static-build-with-readline.patch61
-rw-r--r--package/iwd/iwd.hash4
-rw-r--r--package/iwd/iwd.mk14
-rw-r--r--package/janet/0003-meson.build-fix-build-without-threads.patch72
-rw-r--r--package/janet/Config.in10
-rw-r--r--package/janet/janet.hash5
-rw-r--r--package/janet/janet.mk22
-rw-r--r--package/jansson/jansson.mk2
-rw-r--r--package/janus-gateway/janus-gateway.hash2
-rw-r--r--package/janus-gateway/janus-gateway.mk4
-rw-r--r--package/jasper/jasper.hash2
-rw-r--r--package/jasper/jasper.mk4
-rw-r--r--package/jh71xx-tools/Config.in.host7
-rw-r--r--package/jh71xx-tools/jh71xx-tools.hash3
-rw-r--r--package/jh71xx-tools/jh71xx-tools.mk20
-rw-r--r--package/jhead/jhead.mk2
-rw-r--r--package/jimtcl/jimtcl.hash4
-rw-r--r--package/jimtcl/jimtcl.mk2
-rw-r--r--package/jq/jq.mk1
-rw-r--r--package/json-c/json-c.mk2
-rw-r--r--package/json-for-modern-cpp/json-for-modern-cpp.mk4
-rw-r--r--package/jsoncpp/jsoncpp.mk2
-rw-r--r--package/kbd/kbd.hash2
-rw-r--r--package/kbd/kbd.mk2
-rw-r--r--package/kexec-lite/kexec-lite.mk1
-rw-r--r--package/kexec/0001-kexec-build-multiboot2-for-i386.patch72
-rw-r--r--package/kexec/0002-kexec-tools-Remove-duplicated-variable-declarations.patch102
-rw-r--r--package/kexec/kexec.hash4
-rw-r--r--package/kexec/kexec.mk3
-rw-r--r--package/kf5/kf5-kcoreaddons/Config.in1
-rw-r--r--package/kf5/kf5-modemmanager-qt/kf5-modemmanager-qt.mk2
-rw-r--r--package/kismet/0001-Add-getter-to-read-database-values-as-long-long.patch28
-rw-r--r--package/kismet/0002-boost-asio-Use-eventfd-function-with-uClibc.patch66
-rw-r--r--package/kismet/kismet.mk5
-rw-r--r--package/kmod/Config.in.host3
-rw-r--r--package/kmod/kmod.mk14
-rw-r--r--package/kodi-audiodecoder-modplug/kodi-audiodecoder-modplug.hash4
-rw-r--r--package/kodi-audiodecoder-modplug/kodi-audiodecoder-modplug.mk4
-rw-r--r--package/kodi-audiodecoder-nosefart/kodi-audiodecoder-nosefart.hash4
-rw-r--r--package/kodi-audiodecoder-nosefart/kodi-audiodecoder-nosefart.mk4
-rw-r--r--package/kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay.hash4
-rw-r--r--package/kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay.mk4
-rw-r--r--package/kodi-audiodecoder-snesapu/kodi-audiodecoder-snesapu.hash4
-rw-r--r--package/kodi-audiodecoder-snesapu/kodi-audiodecoder-snesapu.mk4
-rw-r--r--package/kodi-audiodecoder-stsound/kodi-audiodecoder-stsound.hash4
-rw-r--r--package/kodi-audiodecoder-stsound/kodi-audiodecoder-stsound.mk4
-rw-r--r--package/kodi-audiodecoder-timidity/kodi-audiodecoder-timidity.hash2
-rw-r--r--package/kodi-audiodecoder-timidity/kodi-audiodecoder-timidity.mk2
-rw-r--r--package/kodi-audiodecoder-vgmstream/kodi-audiodecoder-vgmstream.hash4
-rw-r--r--package/kodi-audiodecoder-vgmstream/kodi-audiodecoder-vgmstream.mk4
-rw-r--r--package/kodi-audioencoder-flac/kodi-audioencoder-flac.hash4
-rw-r--r--package/kodi-audioencoder-flac/kodi-audioencoder-flac.mk4
-rw-r--r--package/kodi-audioencoder-lame/kodi-audioencoder-lame.hash4
-rw-r--r--package/kodi-audioencoder-lame/kodi-audioencoder-lame.mk4
-rw-r--r--package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.hash4
-rw-r--r--package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.mk4
-rw-r--r--package/kodi-audioencoder-wav/kodi-audioencoder-wav.hash4
-rw-r--r--package/kodi-audioencoder-wav/kodi-audioencoder-wav.mk4
-rw-r--r--package/kodi-inputstream-adaptive/Config.in1
-rw-r--r--package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash2
-rw-r--r--package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk4
-rw-r--r--package/kodi-inputstream-ffmpegdirect/Config.in13
-rw-r--r--package/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect.hash3
-rw-r--r--package/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect.mk15
-rw-r--r--package/kodi-inputstream-rtmp/Config.in2
-rw-r--r--package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.hash4
-rw-r--r--package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.mk6
-rw-r--r--package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk2
-rw-r--r--package/kodi-peripheral-joystick/kodi-peripheral-joystick.hash4
-rw-r--r--package/kodi-peripheral-joystick/kodi-peripheral-joystick.mk4
-rw-r--r--package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash4
-rw-r--r--package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk4
-rw-r--r--package/kodi-platform/0001-kodiplatform-config.cmake-fix-for-cross-compilation.patch56
-rw-r--r--package/kodi-platform/Config.in7
-rw-r--r--package/kodi-platform/kodi-platform.hash3
-rw-r--r--package/kodi-platform/kodi-platform.mk14
-rw-r--r--package/kodi-pvr-argustv/Config.in1
-rw-r--r--package/kodi-pvr-argustv/kodi-pvr-argustv.hash4
-rw-r--r--package/kodi-pvr-argustv/kodi-pvr-argustv.mk6
-rw-r--r--package/kodi-pvr-dvblink/Config.in1
-rw-r--r--package/kodi-pvr-dvblink/kodi-pvr-dvblink.hash4
-rw-r--r--package/kodi-pvr-dvblink/kodi-pvr-dvblink.mk6
-rw-r--r--package/kodi-pvr-dvbviewer/Config.in2
-rw-r--r--package/kodi-pvr-dvbviewer/kodi-pvr-dvbviewer.hash4
-rw-r--r--package/kodi-pvr-dvbviewer/kodi-pvr-dvbviewer.mk6
-rw-r--r--package/kodi-pvr-filmon/Config.in1
-rw-r--r--package/kodi-pvr-filmon/kodi-pvr-filmon.hash4
-rw-r--r--package/kodi-pvr-filmon/kodi-pvr-filmon.mk6
-rw-r--r--package/kodi-pvr-hdhomerun/Config.in1
-rw-r--r--package/kodi-pvr-hdhomerun/kodi-pvr-hdhomerun.hash4
-rw-r--r--package/kodi-pvr-hdhomerun/kodi-pvr-hdhomerun.mk6
-rw-r--r--package/kodi-pvr-hts/Config.in5
-rw-r--r--package/kodi-pvr-hts/kodi-pvr-hts.hash4
-rw-r--r--package/kodi-pvr-hts/kodi-pvr-hts.mk6
-rw-r--r--package/kodi-pvr-iptvsimple/Config.in11
-rw-r--r--package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.hash4
-rw-r--r--package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.mk6
-rw-r--r--package/kodi-pvr-mediaportal-tvserver/0001-Revert-Removed-no-more-supported-C-17-declaration-ke.patch29
-rw-r--r--package/kodi-pvr-mediaportal-tvserver/0002-Remove-p8-os-includes.patch157
-rw-r--r--package/kodi-pvr-mediaportal-tvserver/0003-Use-kodi-StringUtils.patch124
-rw-r--r--package/kodi-pvr-mediaportal-tvserver/0004-Remove-SAFE_DELETE.patch289
-rw-r--r--package/kodi-pvr-mediaportal-tvserver/0005-Use-thread-sleep_for-instead-of-p8-time-utils.patch308
-rw-r--r--package/kodi-pvr-mediaportal-tvserver/0006-Use-std-thread-std-mutex-condition_variable-instead-.patch673
-rw-r--r--package/kodi-pvr-mediaportal-tvserver/0007-Remove-charset-converter-dependency.patch55
-rw-r--r--package/kodi-pvr-mediaportal-tvserver/0008-Remove-p8-platform-dependency.patch74
-rw-r--r--package/kodi-pvr-mediaportal-tvserver/0009-Travis-changes-for-cpp17.patch28
-rw-r--r--package/kodi-pvr-mediaportal-tvserver/0010-Remove-register-keyword-as-no-longer-valid-in-CPP17.patch23
-rw-r--r--package/kodi-pvr-mediaportal-tvserver/0011-changelog-and-version-v8.1.1.patch42
-rw-r--r--package/kodi-pvr-mediaportal-tvserver/Config.in2
-rw-r--r--package/kodi-pvr-mediaportal-tvserver/kodi-pvr-mediaportal-tvserver.hash4
-rw-r--r--package/kodi-pvr-mediaportal-tvserver/kodi-pvr-mediaportal-tvserver.mk6
-rw-r--r--package/kodi-pvr-mythtv/Config.in1
-rw-r--r--package/kodi-pvr-mythtv/kodi-pvr-mythtv.hash4
-rw-r--r--package/kodi-pvr-mythtv/kodi-pvr-mythtv.mk6
-rw-r--r--package/kodi-pvr-nextpvr/Config.in2
-rw-r--r--package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.hash4
-rw-r--r--package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.mk6
-rw-r--r--package/kodi-pvr-njoy/Config.in2
-rw-r--r--package/kodi-pvr-njoy/kodi-pvr-njoy.hash4
-rw-r--r--package/kodi-pvr-njoy/kodi-pvr-njoy.mk6
-rw-r--r--package/kodi-pvr-octonet/Config.in2
-rw-r--r--package/kodi-pvr-octonet/kodi-pvr-octonet.hash4
-rw-r--r--package/kodi-pvr-octonet/kodi-pvr-octonet.mk6
-rw-r--r--package/kodi-pvr-pctv/Config.in1
-rw-r--r--package/kodi-pvr-pctv/kodi-pvr-pctv.hash4
-rw-r--r--package/kodi-pvr-pctv/kodi-pvr-pctv.mk6
-rw-r--r--package/kodi-pvr-stalker/Config.in1
-rw-r--r--package/kodi-pvr-stalker/kodi-pvr-stalker.hash4
-rw-r--r--package/kodi-pvr-stalker/kodi-pvr-stalker.mk6
-rw-r--r--package/kodi-pvr-vbox/Config.in1
-rw-r--r--package/kodi-pvr-vbox/kodi-pvr-vbox.hash4
-rw-r--r--package/kodi-pvr-vbox/kodi-pvr-vbox.mk6
-rw-r--r--package/kodi-pvr-vdr-vnsi/Config.in5
-rw-r--r--package/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi.hash4
-rw-r--r--package/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi.mk6
-rw-r--r--package/kodi-pvr-vuplus/Config.in1
-rw-r--r--package/kodi-pvr-vuplus/kodi-pvr-vuplus.hash4
-rw-r--r--package/kodi-pvr-vuplus/kodi-pvr-vuplus.mk6
-rw-r--r--package/kodi-pvr-wmc/Config.in1
-rw-r--r--package/kodi-pvr-wmc/kodi-pvr-wmc.hash4
-rw-r--r--package/kodi-pvr-wmc/kodi-pvr-wmc.mk6
-rw-r--r--package/kodi-pvr-zattoo/Config.in2
-rw-r--r--package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash4
-rw-r--r--package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk6
-rw-r--r--package/kodi-screensaver-asteroids/Config.in4
-rw-r--r--package/kodi-screensaver-asteroids/kodi-screensaver-asteroids.hash4
-rw-r--r--package/kodi-screensaver-asteroids/kodi-screensaver-asteroids.mk4
-rw-r--r--package/kodi-screensaver-asterwave/Config.in7
-rw-r--r--package/kodi-screensaver-asterwave/kodi-screensaver-asterwave.hash4
-rw-r--r--package/kodi-screensaver-asterwave/kodi-screensaver-asterwave.mk10
-rw-r--r--package/kodi-screensaver-biogenesis/Config.in4
-rw-r--r--package/kodi-screensaver-biogenesis/kodi-screensaver-biogenesis.hash4
-rw-r--r--package/kodi-screensaver-biogenesis/kodi-screensaver-biogenesis.mk4
-rw-r--r--package/kodi-screensaver-cpblobs/Config.in6
-rw-r--r--package/kodi-screensaver-cpblobs/kodi-screensaver-cpblobs.hash4
-rw-r--r--package/kodi-screensaver-cpblobs/kodi-screensaver-cpblobs.mk10
-rw-r--r--package/kodi-screensaver-crystalmorph/Config.in10
-rw-r--r--package/kodi-screensaver-crystalmorph/kodi-screensaver-crystalmorph.hash3
-rw-r--r--package/kodi-screensaver-crystalmorph/kodi-screensaver-crystalmorph.mk13
-rw-r--r--package/kodi-screensaver-greynetic/Config.in5
-rw-r--r--package/kodi-screensaver-greynetic/kodi-screensaver-greynetic.hash4
-rw-r--r--package/kodi-screensaver-greynetic/kodi-screensaver-greynetic.mk6
-rw-r--r--package/kodi-screensaver-matrixtrails/Config.in5
-rw-r--r--package/kodi-screensaver-matrixtrails/kodi-screensaver-matrixtrails.hash4
-rw-r--r--package/kodi-screensaver-matrixtrails/kodi-screensaver-matrixtrails.mk10
-rw-r--r--package/kodi-screensaver-pingpong/Config.in5
-rw-r--r--package/kodi-screensaver-pingpong/kodi-screensaver-pingpong.hash4
-rw-r--r--package/kodi-screensaver-pingpong/kodi-screensaver-pingpong.mk6
-rw-r--r--package/kodi-screensaver-pyro/Config.in4
-rw-r--r--package/kodi-screensaver-pyro/kodi-screensaver-pyro.hash4
-rw-r--r--package/kodi-screensaver-pyro/kodi-screensaver-pyro.mk4
-rw-r--r--package/kodi-screensaver-rsxs/0001-Disable-drempels.patch40
-rw-r--r--package/kodi-screensaver-rsxs/Config.in10
-rw-r--r--package/kodi-screensaver-rsxs/kodi-screensaver-rsxs.hash4
-rw-r--r--package/kodi-screensaver-rsxs/kodi-screensaver-rsxs.mk6
-rw-r--r--package/kodi-screensaver-stars/Config.in4
-rw-r--r--package/kodi-screensaver-stars/kodi-screensaver-stars.hash2
-rw-r--r--package/kodi-screensaver-stars/kodi-screensaver-stars.mk2
-rw-r--r--package/kodi-skin-confluence/kodi-skin-confluence.hash2
-rw-r--r--package/kodi-skin-confluence/kodi-skin-confluence.mk2
-rw-r--r--package/kodi-texturepacker/kodi-texturepacker.mk2
-rw-r--r--package/kodi-vfs-libarchive/Config.in13
-rw-r--r--package/kodi-vfs-libarchive/kodi-vfs-libarchive.hash3
-rw-r--r--package/kodi-vfs-libarchive/kodi-vfs-libarchive.mk21
-rw-r--r--package/kodi-vfs-rar/kodi-vfs-rar.hash2
-rw-r--r--package/kodi-vfs-rar/kodi-vfs-rar.mk2
-rw-r--r--package/kodi-vfs-sftp/Config.in4
-rw-r--r--package/kodi-vfs-sftp/kodi-vfs-sftp.hash2
-rw-r--r--package/kodi-vfs-sftp/kodi-vfs-sftp.mk4
-rw-r--r--package/kodi-visualisation-fishbmc/kodi-visualisation-fishbmc.hash4
-rw-r--r--package/kodi-visualisation-fishbmc/kodi-visualisation-fishbmc.mk4
-rw-r--r--package/kodi-visualisation-goom/Config.in6
-rw-r--r--package/kodi-visualisation-goom/kodi-visualisation-goom.hash4
-rw-r--r--package/kodi-visualisation-goom/kodi-visualisation-goom.mk4
-rw-r--r--package/kodi-visualisation-matrix/Config.in7
-rw-r--r--package/kodi-visualisation-matrix/kodi-visualisation-matrix.hash3
-rw-r--r--package/kodi-visualisation-matrix/kodi-visualisation-matrix.mk13
-rw-r--r--package/kodi-visualisation-shadertoy/Config.in1
-rw-r--r--package/kodi-visualisation-shadertoy/kodi-visualisation-shadertoy.hash4
-rw-r--r--package/kodi-visualisation-shadertoy/kodi-visualisation-shadertoy.mk6
-rw-r--r--package/kodi-visualisation-spectrum/0001-Backport-Add-missing-cstddef-include.patch30
-rw-r--r--package/kodi-visualisation-spectrum/Config.in1
-rw-r--r--package/kodi-visualisation-spectrum/kodi-visualisation-spectrum.hash4
-rw-r--r--package/kodi-visualisation-spectrum/kodi-visualisation-spectrum.mk6
-rw-r--r--package/kodi-visualisation-starburst/kodi-visualisation-starburst.hash4
-rw-r--r--package/kodi-visualisation-starburst/kodi-visualisation-starburst.mk4
-rw-r--r--package/kodi-visualisation-waveform/Config.in1
-rw-r--r--package/kodi-visualisation-waveform/kodi-visualisation-waveform.hash4
-rw-r--r--package/kodi-visualisation-waveform/kodi-visualisation-waveform.mk6
-rw-r--r--package/kodi/0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch17
-rw-r--r--package/kodi/0002-Fix-crosscompiling-issues.patch76
-rw-r--r--package/kodi/Config.in141
-rw-r--r--package/kodi/kodi.hash3
-rw-r--r--package/kodi/kodi.mk101
-rw-r--r--package/lame/lame.mk1
-rw-r--r--package/lcms2/lcms2.hash8
-rw-r--r--package/lcms2/lcms2.mk2
-rw-r--r--package/lftp/lftp.mk2
-rw-r--r--package/libass/libass.mk2
-rw-r--r--package/libbluray/libbluray.mk4
-rw-r--r--package/libcamera/Config.in1
-rw-r--r--package/libcamera/libcamera.hash2
-rw-r--r--package/libcamera/libcamera.mk2
-rw-r--r--package/libcap-ng/libcap-ng.mk2
-rw-r--r--package/libcap/libcap.mk1
-rw-r--r--package/libcec/libcec.hash2
-rw-r--r--package/libcec/libcec.mk2
-rw-r--r--package/libcgroup/0001-cgrulesengd-remove-umask-0.patch33
-rw-r--r--package/libcgroup/libcgroup.hash6
-rw-r--r--package/libcgroup/libcgroup.mk8
-rw-r--r--package/libconfuse/libconfuse.mk1
-rw-r--r--package/libcurl/libcurl.hash4
-rw-r--r--package/libcurl/libcurl.mk9
-rw-r--r--package/libdaemon/libdaemon.mk2
-rw-r--r--package/libdrm/0001-meson.build-enable-static-build.patch169
-rw-r--r--package/libdrm/0001-tests-meson.build-disable-nouveau-tests-for-static-b.patch (renamed from package/libdrm/0002-tests-meson.build-disable-nouveau-tests-for-static-b.patch)0
-rw-r--r--package/libdrm/libdrm.hash8
-rw-r--r--package/libdrm/libdrm.mk4
-rw-r--r--package/libeXosip2/0001-src-eXtls_dtls.c-fix-build-with-libressl.patch34
-rw-r--r--package/libebml/libebml.hash2
-rw-r--r--package/libebml/libebml.mk2
-rw-r--r--package/libebur128/libebur128.hash4
-rw-r--r--package/libebur128/libebur128.mk2
-rw-r--r--package/libesmtp/libesmtp.mk2
-rw-r--r--package/libevent/libevent.mk1
-rw-r--r--package/libexif/libexif.mk2
-rw-r--r--package/libfm-extra/libfm-extra.hash11
-rw-r--r--package/libfm-extra/libfm-extra.mk2
-rw-r--r--package/libfm/libfm.hash11
-rw-r--r--package/libfm/libfm.mk2
-rw-r--r--package/libfreefare/Config.in4
-rw-r--r--package/libfreeglut/0001-Work-around-for-an-issue-which-cropped-up-with-the-release-of-gcc-10.patch69
-rw-r--r--package/libfuse3/libfuse3.hash2
-rw-r--r--package/libfuse3/libfuse3.mk2
-rw-r--r--package/libgcrypt/libgcrypt.hash6
-rw-r--r--package/libgcrypt/libgcrypt.mk2
-rw-r--r--package/libgdiplus/0001-Build-unit-tests-only-when-enable-unit-tests-is-pass.patch53
-rw-r--r--package/libgdiplus/0001-Embed-the-license-texts-in-LICENSE-like-on-Mono-repo.patch1863
-rw-r--r--package/libgdiplus/0002-Update-LICENSE-to-match-the-headers-of-the-source-fi.patch1018
-rw-r--r--package/libgdiplus/0003-gifcodec.c-Include-copy-of-GifQuantizeBuffer-functio.patch414
-rw-r--r--package/libgdiplus/libgdiplus.hash2
-rw-r--r--package/libgdiplus/libgdiplus.mk2
-rw-r--r--package/libgee/libgee.hash4
-rw-r--r--package/libgee/libgee.mk2
-rw-r--r--package/libgeos/Config.in8
-rw-r--r--package/libgit2/libgit2.mk2
-rw-r--r--package/libglib2/0003-remove-cpp-requirement.patch2
-rw-r--r--package/libglib2/libglib2.hash4
-rw-r--r--package/libglib2/libglib2.mk2
-rw-r--r--package/libgpiod/libgpiod.hash2
-rw-r--r--package/libgpiod/libgpiod.mk2
-rw-r--r--package/libhdhomerun/libhdhomerun.hash2
-rw-r--r--package/libhdhomerun/libhdhomerun.mk2
-rw-r--r--package/libhtp/libhtp.hash2
-rw-r--r--package/libhtp/libhtp.mk2
-rw-r--r--package/libhttpserver/0001-Compatibility-with-libmicrohttpd-0.9.71.patch240
-rw-r--r--package/libhttpserver/libhttpserver.hash2
-rw-r--r--package/libhttpserver/libhttpserver.mk2
-rw-r--r--package/libinput/libinput.hash6
-rw-r--r--package/libinput/libinput.mk2
-rw-r--r--package/libjpeg/libjpeg.mk6
-rw-r--r--package/libksba/libksba.mk2
-rw-r--r--package/libmatroska/libmatroska.hash2
-rw-r--r--package/libmatroska/libmatroska.mk2
-rw-r--r--package/libmaxminddb/libmaxminddb.hash2
-rw-r--r--package/libmaxminddb/libmaxminddb.mk2
-rw-r--r--package/libmbim/libmbim.hash4
-rw-r--r--package/libmbim/libmbim.mk2
-rw-r--r--package/libmicrohttpd/libmicrohttpd.mk1
-rw-r--r--package/libminiupnpc/libminiupnpc.mk8
-rw-r--r--package/libmodplug/libmodplug.mk1
-rw-r--r--package/libmodsecurity/libmodsecurity.mk2
-rw-r--r--package/libnet/0001-Use-standard-int64_t-instead-of-__int64_t-for-mingw-cross-build.patch31
-rw-r--r--package/libnet/0001-support-musl-libc.patch50
-rw-r--r--package/libnet/Config.in2
-rw-r--r--package/libnet/libnet.hash8
-rw-r--r--package/libnet/libnet.mk9
-rw-r--r--package/libnetconf2/libnetconf2.hash2
-rw-r--r--package/libnetconf2/libnetconf2.mk2
-rw-r--r--package/libnl/libnl.mk2
-rw-r--r--package/libnpupnp/libnpupnp.hash4
-rw-r--r--package/libnpupnp/libnpupnp.mk2
-rw-r--r--package/libnspr/libnspr.hash4
-rw-r--r--package/libnspr/libnspr.mk2
-rw-r--r--package/libnss/libnss.hash4
-rw-r--r--package/libnss/libnss.mk2
-rw-r--r--package/libopenh264/libopenh264.mk2
-rw-r--r--package/libopenssl/0006-Add-support-for-io_pgetevents_time64-syscall.patch61
-rw-r--r--package/libopenssl/0007-Fixup-support-for-io_pgetevents_time64-syscall.patch98
-rw-r--r--package/libopenssl/Config.in4
-rw-r--r--package/libopenssl/libopenssl.hash4
-rw-r--r--package/libopenssl/libopenssl.mk27
-rw-r--r--package/libosip2/libosip2.mk2
-rw-r--r--package/libostree/libostree.hash2
-rw-r--r--package/libostree/libostree.mk2
-rw-r--r--package/libp11/libp11.hash4
-rw-r--r--package/libp11/libp11.mk2
-rw-r--r--package/libpjsip/libpjsip.mk2
-rw-r--r--package/libplatform/0001-cmake-require-c-11-as-the-minimum-standard.patch26
-rw-r--r--package/libplatform/libplatform.hash2
-rw-r--r--package/libplatform/libplatform.mk2
-rw-r--r--package/libplist/libplist.hash2
-rw-r--r--package/libplist/libplist.mk7
-rw-r--r--package/libpng/libpng.mk1
-rw-r--r--package/libqmi/0001-libqmi-fix-build-when-ARPHRD_RAWIP-isn-t-defined-in-.patch39
-rw-r--r--package/libqmi/libqmi.hash2
-rw-r--r--package/libqmi/libqmi.mk14
-rw-r--r--package/libqrtr-glib/Config.in17
-rw-r--r--package/libqrtr-glib/libqrtr-glib.hash3
-rw-r--r--package/libqrtr-glib/libqrtr-glib.mk15
-rw-r--r--package/librelp/librelp.hash2
-rw-r--r--package/librelp/librelp.mk2
-rw-r--r--package/libressl/libressl.hash2
-rw-r--r--package/libressl/libressl.mk2
-rw-r--r--package/librsvg/librsvg.mk1
-rw-r--r--package/librsync/librsync.hash2
-rw-r--r--package/librsync/librsync.mk5
-rw-r--r--package/libseccomp/libseccomp.mk1
-rw-r--r--package/libshout/0001-configure.ac-add-an-option-to-disable-tools.patch51
-rw-r--r--package/libshout/libshout.mk6
-rw-r--r--package/libsigc/Config.in2
-rw-r--r--package/libsigc/libsigc.hash6
-rw-r--r--package/libsigc/libsigc.mk14
-rw-r--r--package/libsndfile/libsndfile.mk2
-rw-r--r--package/libsoundtouch/libsoundtouch.mk2
-rw-r--r--package/libsoup/libsoup.mk1
-rw-r--r--package/libsrtp/libsrtp.mk1
-rw-r--r--package/libstrophe/libstrophe.hash6
-rw-r--r--package/libstrophe/libstrophe.mk2
-rw-r--r--package/libtirpc/libtirpc.mk2
-rw-r--r--package/libtomcrypt/Config.in2
-rw-r--r--package/libtomcrypt/libtomcrypt.mk4
-rw-r--r--package/libtool/libtool.mk1
-rw-r--r--package/libubootenv/libubootenv.hash2
-rw-r--r--package/libubootenv/libubootenv.mk4
-rw-r--r--package/libubox/0001-blobmsg-fix-array-out-of-bounds-GCC-10-warning.patch47
-rw-r--r--package/libubox/Config.in2
-rw-r--r--package/libubox/libubox.hash2
-rw-r--r--package/libubox/libubox.mk5
-rw-r--r--package/libuci/Config.in2
-rw-r--r--package/libuci/libuci.hash2
-rw-r--r--package/libuci/libuci.mk5
-rw-r--r--package/libuev/libuev.hash6
-rw-r--r--package/libuev/libuev.mk2
-rw-r--r--package/libuhttpd/libuhttpd.hash2
-rw-r--r--package/libuhttpd/libuhttpd.mk2
-rw-r--r--package/libupnp/libupnp.hash2
-rw-r--r--package/libupnp/libupnp.mk10
-rw-r--r--package/libupnpp/libupnpp.hash4
-rw-r--r--package/libupnpp/libupnpp.mk2
-rw-r--r--package/liburiparser/liburiparser.hash2
-rw-r--r--package/liburiparser/liburiparser.mk4
-rw-r--r--package/libva-utils/libva-utils.hash6
-rw-r--r--package/libva-utils/libva-utils.mk2
-rw-r--r--package/libva/libva.hash6
-rw-r--r--package/libva/libva.mk2
-rw-r--r--package/libvips/libvips.hash4
-rw-r--r--package/libvips/libvips.mk82
-rw-r--r--package/libvncserver/libvncserver.mk2
-rw-r--r--package/libvorbis/libvorbis.mk1
-rw-r--r--package/libvpx/libvpx.hash2
-rw-r--r--package/libvpx/libvpx.mk3
-rw-r--r--package/libwebsockets/Config.in4
-rw-r--r--package/libwebsockets/libwebsockets.mk4
-rw-r--r--package/libxcrypt/Config.in11
-rw-r--r--package/libxcrypt/libxcrypt.hash4
-rw-r--r--package/libxcrypt/libxcrypt.mk20
-rw-r--r--package/libxkbcommon/libxkbcommon.hash4
-rw-r--r--package/libxkbcommon/libxkbcommon.mk2
-rw-r--r--package/libxml2/0001-Fix-infinite-loop-in-xmlStringLenDecodeEntities.patch36
-rw-r--r--package/libxml2/0002-Fix-memory-leak-in-xmlSchemaValidateStream.patch35
-rw-r--r--package/libxml2/0003-Fix-out-of-bounds-read-with-xmllint--htmlout.patch40
-rw-r--r--package/libxml2/libxml2.hash4
-rw-r--r--package/libxml2/libxml2.mk8
-rw-r--r--package/libxslt/0001-Fix-xml2-config-check-in-configure-script.patch31
-rw-r--r--package/libxslt/libxslt.mk2
-rw-r--r--package/libyaml/libyaml.mk1
-rw-r--r--package/libyang/libyang.hash2
-rw-r--r--package/libyang/libyang.mk2
-rw-r--r--package/lighttpd/lighttpd.hash4
-rw-r--r--package/lighttpd/lighttpd.mk2
-rw-r--r--package/linux-firmware/Config.in22
-rw-r--r--package/linux-firmware/linux-firmware.mk75
-rw-r--r--package/linux-headers/Config.in.host34
-rw-r--r--package/linux-serial-test/linux-serial-test.hash2
-rw-r--r--package/linux-serial-test/linux-serial-test.mk2
-rw-r--r--package/live555/live555.hash4
-rw-r--r--package/live555/live555.mk4
-rw-r--r--package/lldpd/lldpd.hash4
-rw-r--r--package/lldpd/lldpd.mk3
-rw-r--r--package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/0001-HACK-only-build-and-install-localedef.patch (renamed from package/localedef/2.32-23-g050022910be1d1f5c11cd5168f1685ad4f9580d2/0001-HACK-only-build-and-install-localedef.patch)0
-rw-r--r--package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch (renamed from package/localedef/2.32-23-g050022910be1d1f5c11cd5168f1685ad4f9580d2/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch)0
-rw-r--r--package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/0003-Fix-GCC-11-Warray-parameter-warning-for-__sigsetjmp-.patch155
-rw-r--r--package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/0004-Avoid-Wstringop-overflow-warning-in-pthread_cleanup_.patch125
-rw-r--r--package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/localedef.hash (renamed from package/localedef/2.32-23-g050022910be1d1f5c11cd5168f1685ad4f9580d2/localedef.hash)2
-rw-r--r--package/localedef/localedef.mk2
-rw-r--r--package/log4cplus/0001-configure-ac-check-for-libraries-in-C-mode.patch62
-rw-r--r--package/log4cplus/log4cplus.hash2
-rw-r--r--package/log4cplus/log4cplus.mk4
-rw-r--r--package/log4qt/Config.in12
-rw-r--r--package/log4qt/log4qt.hash3
-rw-r--r--package/log4qt/log4qt.mk31
-rw-r--r--package/logrotate/logrotate.mk3
-rw-r--r--package/lttng-libust/lttng-libust.hash4
-rw-r--r--package/lttng-libust/lttng-libust.mk11
-rw-r--r--package/lttng-tools/0001-tests-gen-ust-events-ns-tp.h-Fix-build-with-musl-libc.patch46
-rw-r--r--package/lttng-tools/lttng-tools.hash4
-rw-r--r--package/lttng-tools/lttng-tools.mk10
-rw-r--r--package/lua-curl/lua-curl.hash4
-rw-r--r--package/lua-curl/lua-curl.mk2
-rw-r--r--package/lua/5.4.2/lua.hash6
-rw-r--r--package/lua/5.4.3/0001-root-path.patch (renamed from package/lua/5.4.2/0001-root-path.patch)2
-rw-r--r--package/lua/5.4.3/0002-shared-libs-for-lua.patch (renamed from package/lua/5.4.2/0002-shared-libs-for-lua.patch)0
-rw-r--r--package/lua/5.4.3/0011-linenoise.patch (renamed from package/lua/5.4.2/0011-linenoise.patch)2
-rw-r--r--package/lua/5.4.3/lua.hash6
-rw-r--r--package/lua/lua.mk2
-rw-r--r--package/lualdap/Config.in7
-rw-r--r--package/lualdap/lualdap.hash6
-rw-r--r--package/lualdap/lualdap.mk30
-rw-r--r--package/lualogging/Config.in2
-rw-r--r--package/lualogging/lualogging.hash4
-rw-r--r--package/lualogging/lualogging.mk2
-rw-r--r--package/luarocks/buildroot.lua4
-rw-r--r--package/luarocks/luarocks.hash2
-rw-r--r--package/luarocks/luarocks.mk2
-rw-r--r--package/luasec/luasec.hash4
-rw-r--r--package/luasec/luasec.mk2
-rw-r--r--package/luv/Config.in5
-rw-r--r--package/luv/luv.hash4
-rw-r--r--package/luv/luv.mk2
-rw-r--r--package/luvi/luvi.hash2
-rw-r--r--package/luvi/luvi.mk2
-rw-r--r--package/lvm2/0001-configure-Introduce-enable-symvers-option.patch278
-rw-r--r--package/lvm2/0002-udev-remove-unsupported-options-event-timeout-rule.patch33
-rw-r--r--package/lvm2/lvm2.hash4
-rw-r--r--package/lvm2/lvm2.mk6
-rw-r--r--package/lxc/lxc.hash2
-rw-r--r--package/lxc/lxc.mk2
-rw-r--r--package/lzip/Config.in2
-rw-r--r--package/lzip/lzip.hash4
-rw-r--r--package/lzip/lzip.mk2
-rw-r--r--package/lzo/lzo.mk1
-rw-r--r--package/m4/0003-c-stack-stop-using-SIGSTKSZ.patch106
-rw-r--r--package/make/make.mk2
-rw-r--r--package/makedevs/makedevs.mk6
-rw-r--r--package/mariadb/mariadb.hash6
-rw-r--r--package/mariadb/mariadb.mk2
-rw-r--r--package/matio/matio.mk2
-rw-r--r--package/mawk/Config.in6
-rw-r--r--package/mawk/mawk.hash2
-rw-r--r--package/mawk/mawk.mk13
-rw-r--r--package/mbedtls/mbedtls.hash4
-rw-r--r--package/mbedtls/mbedtls.mk2
-rw-r--r--package/mc/0001-Ticket-4181-FTBFS-against-NCurses-on-OS-X-10-9-5.patch32
-rw-r--r--package/mc/Config.in1
-rw-r--r--package/mc/mc.hash4
-rw-r--r--package/mc/mc.mk2
-rw-r--r--package/mcelog/mcelog.mk1
-rw-r--r--package/mdevd/mdevd.hash2
-rw-r--r--package/mdevd/mdevd.mk12
-rw-r--r--package/mender-artifact/mender-artifact.hash15
-rw-r--r--package/mender-artifact/mender-artifact.mk9
-rw-r--r--package/mender-grubenv/mender-grubenv.hash4
-rw-r--r--package/mender-grubenv/mender-grubenv.mk13
-rw-r--r--package/mender/Config.in26
-rw-r--r--package/mender/mender.hash25
-rw-r--r--package/mender/mender.mk45
-rw-r--r--package/mesa3d-demos/mesa3d-demos.mk2
-rw-r--r--package/mesa3d-headers/mesa3d-headers.mk2
-rw-r--r--package/mesa3d/Config.in21
-rw-r--r--package/mesa3d/mesa3d.hash6
-rw-r--r--package/mesa3d/mesa3d.mk9
-rw-r--r--package/meson/0001-Prefer-ext-static-libs-when-default-library-static.patch12
-rw-r--r--package/meson/0002-mesonbuild-dependencies-base.py-add-pkg_config_stati.patch18
-rw-r--r--package/meson/meson.hash4
-rw-r--r--package/meson/meson.mk2
-rw-r--r--package/micropython/micropython.hash4
-rw-r--r--package/micropython/micropython.mk7
-rw-r--r--package/minetest-game/minetest-game.hash4
-rw-r--r--package/minetest-game/minetest-game.mk2
-rw-r--r--package/minetest/minetest.hash4
-rw-r--r--package/minetest/minetest.mk2
-rw-r--r--package/minicom/minicom.mk1
-rw-r--r--package/mkpasswd/mkpasswd.mk6
-rw-r--r--package/mkpimage/mkpimage.mk6
-rw-r--r--package/moarvm/Config.in1
-rw-r--r--package/moarvm/moarvm.hash2
-rw-r--r--package/moarvm/moarvm.mk4
-rw-r--r--package/modem-manager/modem-manager.hash2
-rw-r--r--package/modem-manager/modem-manager.mk9
-rw-r--r--package/mongoose/mongoose.hash2
-rw-r--r--package/mongoose/mongoose.mk2
-rw-r--r--package/monkey/Config.in24
-rw-r--r--package/monkey/monkey.hash4
-rw-r--r--package/monkey/monkey.mk35
-rw-r--r--package/mosquitto/mosquitto.hash4
-rw-r--r--package/mosquitto/mosquitto.mk2
-rw-r--r--package/mpc/mpc.hash4
-rw-r--r--package/mpc/mpc.mk2
-rw-r--r--package/mpd/0002-src-tag-meson.build-fix-GenParseName-linking.patch38
-rw-r--r--package/mpd/mpd.hash2
-rw-r--r--package/mpd/mpd.mk2
-rw-r--r--package/mpfr/mpfr.hash6
-rw-r--r--package/mpfr/mpfr.mk2
-rw-r--r--package/mpg123/mpg123.mk1
-rw-r--r--package/multipath-tools/multipath-tools.hash4
-rw-r--r--package/multipath-tools/multipath-tools.mk2
-rw-r--r--package/mutt/0001-Ensure-IMAP-connection-is-closed-after-a-connection-error.patch48
-rw-r--r--package/mutt/0002-CVE-2021-3181-1.patch40
-rw-r--r--package/mutt/0003-CVE-2021-3181-2.patch53
-rw-r--r--package/mutt/0004-CVE-2021-3181-3.patch30
-rw-r--r--package/mutt/mutt.hash2
-rw-r--r--package/mutt/mutt.mk10
-rw-r--r--package/nano/nano.hash4
-rw-r--r--package/nano/nano.mk2
-rw-r--r--package/ncmpc/ncmpc.hash2
-rw-r--r--package/ncmpc/ncmpc.mk4
-rw-r--r--package/ncurses/ncurses.mk6
-rw-r--r--package/neon/neon.mk1
-rw-r--r--package/netatalk/netatalk.mk1
-rw-r--r--package/netcat/netcat.mk2
-rw-r--r--package/netopeer2/netopeer2.hash2
-rw-r--r--package/netopeer2/netopeer2.mk2
-rw-r--r--package/netsnmp/netsnmp.mk4
-rw-r--r--package/nettle/0001-disable-testsuite-examples.patch4
-rw-r--r--package/nettle/Config.in2
-rw-r--r--package/nettle/nettle.hash4
-rw-r--r--package/nettle/nettle.mk4
-rw-r--r--package/network-manager-openvpn/network-manager-openvpn.hash6
-rw-r--r--package/network-manager-openvpn/network-manager-openvpn.mk2
-rw-r--r--package/network-manager/network-manager.hash10
-rw-r--r--package/network-manager/network-manager.mk4
-rw-r--r--package/nfs-utils/nfs-utils.hash4
-rw-r--r--package/nfs-utils/nfs-utils.mk2
-rw-r--r--package/nginx/0009-auto-os-linux-fix-build-with-libxcrypt.patch38
-rw-r--r--package/nginx/nginx.mk4
-rw-r--r--package/nodejs/nodejs.hash4
-rw-r--r--package/nodejs/nodejs.mk2
-rw-r--r--package/numactl/0001-Do-not-stringify-SYMVER-symbols.patch25
-rw-r--r--package/numactl/Config.in11
-rw-r--r--package/numactl/numactl.mk4
-rw-r--r--package/nut/0001-Allow-to-customize-path-to-gdlib-config-and-net-snmp.patch153
-rw-r--r--package/nut/0002-client-ups-add-missing-include.patch29
-rw-r--r--package/nut/0003-Add-compatibility-with-openssl-1.1.0.patch76
-rw-r--r--package/nut/0004-nut_check_libgd.m4-try-to-find-gd-through-pkg-config.patch120
-rw-r--r--package/nut/nut.hash3
-rw-r--r--package/nut/nut.mk23
-rw-r--r--package/odhcp6c/odhcp6c.hash2
-rw-r--r--package/odhcp6c/odhcp6c.mk2
-rw-r--r--package/oniguruma/oniguruma.hash7
-rw-r--r--package/oniguruma/oniguruma.mk4
-rw-r--r--package/openblas/0002-Makefile-fix-support-for-passing-FFLAGS-on-the-make-.patch47
-rw-r--r--package/openblas/0003-Makefile-also-consider-Os-when-determining-LAPACK_NO.patch31
-rw-r--r--package/openblas/0004-Makefile.system-don-t-specify-optimization-level-bui.patch40
-rw-r--r--package/openjdk-bin/openjdk-bin.hash6
-rw-r--r--package/openjdk-bin/openjdk-bin.mk18
-rw-r--r--package/openjdk/11.0.8+10/0001-fix-gcc-10-support.patch119
-rw-r--r--package/openjdk/14.0.2+12/0001-fix-gcc-10-support.patch119
-rw-r--r--package/openjdk/Config.in2
-rw-r--r--package/openjdk/openjdk.hash4
-rw-r--r--package/openjdk/openjdk.mk16
-rw-r--r--package/openldap/0005-ITS-9454-fix-issuerAndThisUpdateCheck.patch26
-rw-r--r--package/openldap/openldap.hash10
-rw-r--r--package/openldap/openldap.mk5
-rw-r--r--package/openmpi/openmpi.mk1
-rw-r--r--package/openntpd/0001-fix-musl.patch38
-rw-r--r--package/openntpd/0002-Provide-fallback-definition-for-__packed.patch43
-rw-r--r--package/openntpd/0003-Zap-double-definition-of-conf-and-make-ibuf_dns-static-to-avoid-double.patch54
-rw-r--r--package/openntpd/openntpd.hash4
-rw-r--r--package/openntpd/openntpd.mk2
-rw-r--r--package/openrc/openrc.mk2
-rw-r--r--package/openresolv/openresolv.mk1
-rw-r--r--package/openssh/openssh.hash6
-rw-r--r--package/openssh/openssh.mk10
-rw-r--r--package/openssl/Config.in1
-rw-r--r--package/opentyrian/opentyrian.hash3
-rw-r--r--package/opentyrian/opentyrian.mk5
-rw-r--r--package/openvpn/openvpn.hash2
-rw-r--r--package/openvpn/openvpn.mk2
-rw-r--r--package/opkg-utils/0001-Makefile-seperate-manpages-and-utils-install.patch50
-rw-r--r--package/opkg-utils/Config.in34
-rw-r--r--package/opkg-utils/opkg-utils.mk15
-rw-r--r--package/optee-benchmark/0001-main-fix-typo.patch55
-rw-r--r--package/optee-benchmark/optee-benchmark.hash4
-rw-r--r--package/optee-benchmark/optee-benchmark.mk2
-rw-r--r--package/optee-client/0001-libckteec-add-missing-unistd.h-for-gid_t.patch31
-rw-r--r--package/optee-client/0001-libckteec-replace-initializer.patch93
-rw-r--r--package/optee-client/optee-client.hash4
-rw-r--r--package/optee-client/optee-client.mk5
-rw-r--r--package/optee-examples/optee-examples.hash4
-rw-r--r--package/optee-examples/optee-examples.mk2
-rw-r--r--package/optee-test/optee-test.hash4
-rw-r--r--package/optee-test/optee-test.mk6
-rw-r--r--package/p11-kit/p11-kit.mk2
-rw-r--r--package/pango/pango.mk1
-rw-r--r--package/parted/parted.mk1
-rw-r--r--package/pcmanfm/0001-po-de-po-fix-build-with-gettext-tiny.patch35
-rw-r--r--package/pcmanfm/pcmanfm.hash9
-rw-r--r--package/pcmanfm/pcmanfm.mk3
-rw-r--r--package/pcre2/0001-Use-the-standard-code-path-of-sljit_emit_cmov-on-mips-r6.patch59
-rw-r--r--package/pcre2/pcre2.hash7
-rw-r--r--package/pcre2/pcre2.mk2
-rw-r--r--package/pcsc-lite/pcsc-lite.hash2
-rw-r--r--package/pcsc-lite/pcsc-lite.mk2
-rw-r--r--package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash6
-rw-r--r--package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk2
-rw-r--r--package/perl-date-manip/perl-date-manip.hash4
-rw-r--r--package/perl-date-manip/perl-date-manip.mk2
-rw-r--r--package/perl-digest-hmac/Config.in2
-rw-r--r--package/perl-digest-hmac/perl-digest-hmac.hash6
-rw-r--r--package/perl-digest-hmac/perl-digest-hmac.mk6
-rw-r--r--package/perl-html-parser/Config.in4
-rw-r--r--package/perl-html-parser/perl-html-parser.hash4
-rw-r--r--package/perl-html-parser/perl-html-parser.mk4
-rw-r--r--package/perl-http-message/perl-http-message.hash4
-rw-r--r--package/perl-http-message/perl-http-message.mk2
-rw-r--r--package/perl-io-socket-ssl/Config.in1
-rw-r--r--package/perl-io-socket-ssl/perl-io-socket-ssl.hash4
-rw-r--r--package/perl-io-socket-ssl/perl-io-socket-ssl.mk2
-rw-r--r--package/perl-libwww-perl/Config.in1
-rw-r--r--package/perl-libwww-perl/perl-libwww-perl.hash4
-rw-r--r--package/perl-libwww-perl/perl-libwww-perl.mk2
-rw-r--r--package/perl-mojolicious-plugin-authentication/perl-mojolicious-plugin-authentication.hash6
-rw-r--r--package/perl-mojolicious-plugin-authentication/perl-mojolicious-plugin-authentication.mk2
-rw-r--r--package/perl-mojolicious/perl-mojolicious.hash4
-rw-r--r--package/perl-mojolicious/perl-mojolicious.mk2
-rw-r--r--package/perl-moo/perl-moo.hash6
-rw-r--r--package/perl-moo/perl-moo.mk2
-rw-r--r--package/perl-net-dns/perl-net-dns.hash4
-rw-r--r--package/perl-net-dns/perl-net-dns.mk2
-rw-r--r--package/perl-net-http/perl-net-http.hash4
-rw-r--r--package/perl-net-http/perl-net-http.mk2
-rw-r--r--package/perl-net-ssh2/perl-net-ssh2.hash6
-rw-r--r--package/perl-net-ssh2/perl-net-ssh2.mk4
-rw-r--r--package/perl-parse-yapp/Config.in6
-rw-r--r--package/perl-parse-yapp/perl-parse-yapp.hash6
-rw-r--r--package/perl-parse-yapp/perl-parse-yapp.mk15
-rw-r--r--package/perl-path-tiny/perl-path-tiny.hash4
-rw-r--r--package/perl-path-tiny/perl-path-tiny.mk2
-rw-r--r--package/perl-role-tiny/perl-role-tiny.hash4
-rw-r--r--package/perl-role-tiny/perl-role-tiny.mk2
-rw-r--r--package/perl-uri/perl-uri.hash4
-rw-r--r--package/perl-uri/perl-uri.mk2
-rw-r--r--package/perl-xml-libxml/perl-xml-libxml.mk2
-rw-r--r--package/perl/perl.mk2
-rw-r--r--package/php/php.hash4
-rw-r--r--package/php/php.mk2
-rw-r--r--package/pigpio/pigpio.hash2
-rw-r--r--package/pigpio/pigpio.mk2
-rw-r--r--package/pipewire/0001-meson-prefer-libintl-on-FreeBSD.patch46
-rw-r--r--package/pipewire/Config.in21
-rw-r--r--package/pipewire/pipewire.hash6
-rw-r--r--package/pipewire/pipewire.mk115
-rw-r--r--package/pkg-cmake.mk1
-rw-r--r--package/pkg-download.mk5
-rw-r--r--package/pkg-kconfig.mk2
-rw-r--r--package/pkg-meson.mk2
-rw-r--r--package/pkgconf/pkgconf.mk1
-rw-r--r--package/polkit/polkit.mk2
-rw-r--r--package/poppler/poppler.mk3
-rw-r--r--package/popt/popt.mk2
-rw-r--r--package/postgis/0001-Add-HAVE_VASPRINTF-HAVE_ASPRINTF-templates.patch32
-rw-r--r--package/postgis/0002-Add-POSTGIS_DEBUG_LEVEL-define-to-configure.ac.patch29
-rw-r--r--package/postgis/0003-Disable-forced-static-linking-of-liblwgeom.patch31
-rw-r--r--package/postgis/0004-Use-pkg-config-to-get-PROJ-version-if-available.patch42
-rw-r--r--package/postgis/0005-configure.ac-fix-cross-compilation-with-protobuf-c.patch42
-rw-r--r--package/postgis/Config.in28
-rw-r--r--package/postgis/postgis.hash3
-rw-r--r--package/postgis/postgis.mk49
-rw-r--r--package/postgresql/postgresql.hash4
-rw-r--r--package/postgresql/postgresql.mk2
-rw-r--r--package/powerpc-utils/powerpc-utils.mk2
-rw-r--r--package/procps-ng/procps-ng.mk1
-rw-r--r--package/proftpd/0001-mod_quotatab-fix-build-failure-against-gcc-10.patch56
-rw-r--r--package/prosody/prosody.hash8
-rw-r--r--package/prosody/prosody.mk3
-rw-r--r--package/protobuf/Config.in1
-rw-r--r--package/protobuf/protobuf.hash2
-rw-r--r--package/protobuf/protobuf.mk2
-rw-r--r--package/protozero/0001-CMakeLists.txt-respect-BUILD_TESTING.patch47
-rw-r--r--package/protozero/Config.in20
-rw-r--r--package/protozero/protozero.hash4
-rw-r--r--package/protozero/protozero.mk13
-rw-r--r--package/psmisc/psmisc.hash6
-rw-r--r--package/psmisc/psmisc.mk2
-rw-r--r--package/pugixml/pugixml.mk2
-rw-r--r--package/pulseaudio/pulseaudio.mk1
-rw-r--r--package/pulseview/0001-Replace-obsolete-deprecated-Qt-methods.patch (renamed from package/pulseview/0002-Replace-obsolete-deprecated-Qt-methods.patch)6
-rw-r--r--package/pulseview/0001-mainbar-fix-build-without-libsigrokdecode.patch37
-rw-r--r--package/pulseview/Config.in2
-rw-r--r--package/pulseview/pulseview.hash2
-rw-r--r--package/pulseview/pulseview.mk4
-rw-r--r--package/putty/0001-unix-uxutils.h-fix-build-on-uclibc.patch41
-rw-r--r--package/putty/putty.hash12
-rw-r--r--package/putty/putty.mk3
-rw-r--r--package/python-aioblescan/0001-Move-README-to-reStructured-text.patch35
-rw-r--r--package/python-aioblescan/python-aioblescan.hash6
-rw-r--r--package/python-aioblescan/python-aioblescan.mk4
-rw-r--r--package/python-aioconsole/python-aioconsole.hash4
-rw-r--r--package/python-aioconsole/python-aioconsole.mk4
-rw-r--r--package/python-aiohttp/python-aiohttp.mk2
-rw-r--r--package/python-asgiref/python-asgiref.hash4
-rw-r--r--package/python-asgiref/python-asgiref.mk4
-rw-r--r--package/python-autobahn/python-autobahn.mk2
-rw-r--r--package/python-bluezero/python-bluezero.hash4
-rw-r--r--package/python-bluezero/python-bluezero.mk4
-rw-r--r--package/python-botocore/Config.in1
-rw-r--r--package/python-bsdiff4/python-bsdiff4.mk2
-rw-r--r--package/python-click/python-click.hash6
-rw-r--r--package/python-click/python-click.mk6
-rw-r--r--package/python-colorlog/python-colorlog.hash6
-rw-r--r--package/python-colorlog/python-colorlog.mk4
-rw-r--r--package/python-colorzero/Config.in1
-rw-r--r--package/python-colorzero/python-colorzero.hash4
-rw-r--r--package/python-colorzero/python-colorzero.mk2
-rw-r--r--package/python-cryptography/python-cryptography.mk2
-rw-r--r--package/python-decorator/python-decorator.mk2
-rw-r--r--package/python-dialog3/python-dialog3.hash4
-rw-r--r--package/python-dialog3/python-dialog3.mk8
-rw-r--r--package/python-django/python-django.hash4
-rw-r--r--package/python-django/python-django.mk4
-rw-r--r--package/python-dnspython/python-dnspython.mk7
-rw-r--r--package/python-docker/python-docker.mk2
-rw-r--r--package/python-ecdsa/python-ecdsa.hash6
-rw-r--r--package/python-ecdsa/python-ecdsa.mk5
-rw-r--r--package/python-engineio/python-engineio.mk1
-rw-r--r--package/python-enum34/python-enum34.mk2
-rw-r--r--package/python-falcon/Config.in1
-rw-r--r--package/python-falcon/python-falcon.hash6
-rw-r--r--package/python-falcon/python-falcon.mk4
-rw-r--r--package/python-flask-babel/python-flask-babel.hash6
-rw-r--r--package/python-flask-babel/python-flask-babel.mk4
-rw-r--r--package/python-flask-wtf/Config.in9
-rw-r--r--package/python-flask-wtf/python-flask-wtf.hash6
-rw-r--r--package/python-flask-wtf/python-flask-wtf.mk14
-rw-r--r--package/python-flask/python-flask.mk2
-rw-r--r--package/python-flup/Config.in2
-rw-r--r--package/python-gpiozero/Config.in2
-rw-r--r--package/python-gpiozero/python-gpiozero.hash4
-rw-r--r--package/python-gpiozero/python-gpiozero.mk2
-rw-r--r--package/python-hiredis/0001-setup.py-fix-build-with-gcc-4.8.patch43
-rw-r--r--package/python-hiredis/Config.in1
-rw-r--r--package/python-hiredis/python-hiredis.hash4
-rw-r--r--package/python-hiredis/python-hiredis.mk4
-rw-r--r--package/python-httplib2/Config.in1
-rw-r--r--package/python-httplib2/python-httplib2.hash8
-rw-r--r--package/python-httplib2/python-httplib2.mk8
-rw-r--r--package/python-iptables/0001-Add-separate-mechanism-to-load-libc.patch90
-rw-r--r--package/python-iptables/0002-Add-.so-as-additional-shared-object-suffix.patch57
-rw-r--r--package/python-iptables/python-iptables.hash5
-rw-r--r--package/python-iptables/python-iptables.mk4
-rw-r--r--package/python-ipython/python-ipython.mk2
-rw-r--r--package/python-iso8601/python-iso8601.hash4
-rw-r--r--package/python-iso8601/python-iso8601.mk4
-rw-r--r--package/python-iwlib/Config.in8
-rw-r--r--package/python-iwlib/python-iwlib.hash3
-rw-r--r--package/python-iwlib/python-iwlib.mk14
-rw-r--r--package/python-jedi/Config.in1
-rw-r--r--package/python-jedi/python-jedi.hash5
-rw-r--r--package/python-jedi/python-jedi.mk6
-rw-r--r--package/python-jinja2/python-jinja2.hash4
-rw-r--r--package/python-jinja2/python-jinja2.mk6
-rw-r--r--package/python-keyring/python-keyring.mk2
-rw-r--r--package/python-lxml/python-lxml.hash2
-rw-r--r--package/python-lxml/python-lxml.mk4
-rw-r--r--package/python-m2crypto/0001-setup.py-move-swig-default-includes-before-openssl.patch63
-rw-r--r--package/python-m2crypto/python-m2crypto.hash4
-rw-r--r--package/python-m2crypto/python-m2crypto.mk6
-rw-r--r--package/python-markdown2/python-markdown2.mk1
-rw-r--r--package/python-mbstrdecoder/Config.in1
-rw-r--r--package/python-mbstrdecoder/python-mbstrdecoder.hash4
-rw-r--r--package/python-mbstrdecoder/python-mbstrdecoder.mk4
-rw-r--r--package/python-networkx/python-networkx.mk2
-rw-r--r--package/python-packaging/Config.in1
-rw-r--r--package/python-packaging/python-packaging.hash4
-rw-r--r--package/python-packaging/python-packaging.mk4
-rw-r--r--package/python-paramiko/Config.in1
-rw-r--r--package/python-paramiko/python-paramiko.hash6
-rw-r--r--package/python-paramiko/python-paramiko.mk6
-rw-r--r--package/python-parso/Config.in1
-rw-r--r--package/python-parso/python-parso.hash4
-rw-r--r--package/python-parso/python-parso.mk6
-rw-r--r--package/python-periphery/python-periphery.hash4
-rw-r--r--package/python-periphery/python-periphery.mk2
-rw-r--r--package/python-pillow/python-pillow.mk2
-rw-r--r--package/python-pip/python-pip.mk2
-rw-r--r--package/python-protobuf/python-protobuf.hash2
-rw-r--r--package/python-psutil/python-psutil.mk2
-rw-r--r--package/python-pudb/Config.in4
-rw-r--r--package/python-py/python-py.hash5
-rw-r--r--package/python-py/python-py.mk8
-rw-r--r--package/python-pyelftools/python-pyelftools.hash6
-rw-r--r--package/python-pyelftools/python-pyelftools.mk4
-rw-r--r--package/python-pygments/Config.in1
-rw-r--r--package/python-pygments/python-pygments.hash6
-rw-r--r--package/python-pygments/python-pygments.mk6
-rw-r--r--package/python-pyjwt/python-pyjwt.hash4
-rw-r--r--package/python-pyjwt/python-pyjwt.mk6
-rw-r--r--package/python-pyopenssl/python-pyopenssl.mk2
-rw-r--r--package/python-pyro/python-pyro.mk2
-rw-r--r--package/python-pytest/python-pytest.hash4
-rw-r--r--package/python-pytest/python-pytest.mk4
-rw-r--r--package/python-pytrie/Config.in1
-rw-r--r--package/python-pytrie/python-pytrie.hash8
-rw-r--r--package/python-pytrie/python-pytrie.mk6
-rw-r--r--package/python-pyusb/Config.in1
-rw-r--r--package/python-pyusb/python-pyusb.hash6
-rw-r--r--package/python-pyusb/python-pyusb.mk10
-rw-r--r--package/python-pyyaml/python-pyyaml.mk2
-rw-r--r--package/python-regex/python-regex.hash4
-rw-r--r--package/python-regex/python-regex.mk4
-rw-r--r--package/python-requests/python-requests.mk2
-rw-r--r--package/python-rpi-ws281x/0001-ws2811.c-fix-build-with-gcc-4.8.patch51
-rw-r--r--package/python-rpi-ws281x/python-rpi-ws281x.hash4
-rw-r--r--package/python-rpi-ws281x/python-rpi-ws281x.mk6
-rw-r--r--package/python-scapy/python-scapy.mk2
-rw-r--r--package/python-semantic-version/python-semantic-version.hash5
-rw-r--r--package/python-semantic-version/python-semantic-version.mk14
-rw-r--r--package/python-setuptools-rust/python-setuptools-rust.hash5
-rw-r--r--package/python-setuptools-rust/python-setuptools-rust.mk16
-rw-r--r--package/python-setuptools-scm/python-setuptools-scm.hash4
-rw-r--r--package/python-setuptools-scm/python-setuptools-scm.mk4
-rw-r--r--package/python-simplejson/python-simplejson.mk2
-rw-r--r--package/python-simplelogging/python-simplelogging.hash6
-rw-r--r--package/python-simplelogging/python-simplelogging.mk4
-rw-r--r--package/python-sortedcontainers/python-sortedcontainers.hash6
-rw-r--r--package/python-sortedcontainers/python-sortedcontainers.mk4
-rw-r--r--package/python-sqlalchemy/python-sqlalchemy.mk2
-rw-r--r--package/python-toml/python-toml.hash6
-rw-r--r--package/python-toml/python-toml.mk5
-rw-r--r--package/python-tornado/python-tornado.mk2
-rw-r--r--package/python-tqdm/python-tqdm.mk2
-rw-r--r--package/python-twisted/python-twisted.mk2
-rw-r--r--package/python-typepy/Config.in5
-rw-r--r--package/python-typepy/python-typepy.hash8
-rw-r--r--package/python-typepy/python-typepy.mk4
-rw-r--r--package/python-urllib3/python-urllib3.hash4
-rw-r--r--package/python-urllib3/python-urllib3.mk4
-rw-r--r--package/python-uvloop/python-uvloop.hash4
-rw-r--r--package/python-uvloop/python-uvloop.mk4
-rw-r--r--package/python-validators/python-validators.mk2
-rw-r--r--package/python-web2py/python-web2py.mk2
-rw-r--r--package/python-websocket-client/python-websocket-client.hash6
-rw-r--r--package/python-websocket-client/python-websocket-client.mk9
-rw-r--r--package/python-werkzeug/python-werkzeug.mk2
-rw-r--r--package/python-yatl/python-yatl.hash4
-rw-r--r--package/python-yatl/python-yatl.mk4
-rw-r--r--package/python-zeroconf/python-zeroconf.hash6
-rw-r--r--package/python-zeroconf/python-zeroconf.mk4
-rw-r--r--package/python-zope-interface/Config.in2
-rw-r--r--package/python-zope-interface/python-zope-interface.hash6
-rw-r--r--package/python-zope-interface/python-zope-interface.mk4
-rw-r--r--package/python3-decorator/python3-decorator.mk2
-rw-r--r--package/python3-jinja2/python3-jinja2.mk6
-rw-r--r--package/python3-psutil/python3-psutil.mk2
-rw-r--r--package/python3-pyelftools/python3-pyelftools.mk4
-rw-r--r--package/python3-pyyaml/python3-pyyaml.mk2
-rw-r--r--package/python3-regex/python3-regex.mk4
-rw-r--r--package/python3-requests/python3-requests.mk2
-rw-r--r--package/python3-setuptools/python3-setuptools.mk2
-rw-r--r--package/python3/python3.hash6
-rw-r--r--package/python3/python3.mk5
-rw-r--r--package/qhull/Config.in6
-rw-r--r--package/qhull/qhull.hash8
-rw-r--r--package/qhull/qhull.mk15
-rw-r--r--package/qpid-proton/0001-PROTON-1381-PROTON-1326-Modify-openssl-DH-code-to-wo.patch78
-rw-r--r--package/qpid-proton/0001-c-src-proactor-epoll-internal.h-fix-build-on-musl.patch43
-rw-r--r--package/qpid-proton/0002-PROTON-1326-restore-anonymous-cyphers-by-lowering-Op.patch62
-rw-r--r--package/qpid-proton/0002-PROTON-2355-Fix-build-with-DPROACTOR-none.patch61
-rw-r--r--package/qpid-proton/0003-PROTON-1587-fix-openssl-error-handling-causing-spuri.patch58
-rw-r--r--package/qpid-proton/0004-src-ssl-openssl-add-libressl-compatibility.patch53
-rw-r--r--package/qpid-proton/qpid-proton.hash7
-rw-r--r--package/qpid-proton/qpid-proton.mk42
-rw-r--r--package/qt5/qt5webkit/0009-Fix-ICU-related-compile-failures-from-capital-bool-d.patch99
-rw-r--r--package/quagga/0003-Fix-build-with-gcc-10.patch127
-rw-r--r--package/quickjs/0001-Makefile-add-optional-link-with-libatomic.patch37
-rw-r--r--package/quickjs/Config.in2
-rw-r--r--package/quickjs/quickjs.hash3
-rw-r--r--package/quickjs/quickjs.mk3
-rw-r--r--package/qwt/qwt.hash8
-rw-r--r--package/qwt/qwt.mk2
-rw-r--r--package/rabbitmq-c/rabbitmq-c.hash4
-rw-r--r--package/rabbitmq-c/rabbitmq-c.mk4
-rw-r--r--package/rabbitmq-server/rabbitmq-server.mk2
-rw-r--r--package/rcw-smarc-sal28/rcw-smarc-sal28.hash2
-rw-r--r--package/rcw-smarc-sal28/rcw-smarc-sal28.mk2
-rw-r--r--package/re2/re2.hash2
-rw-r--r--package/re2/re2.mk2
-rw-r--r--package/readline/0001-curses-link.patch (renamed from package/readline/0000-curses-link.patch)2
-rw-r--r--package/redis/redis.hash2
-rw-r--r--package/redis/redis.mk2
-rw-r--r--package/refpolicy/refpolicy.hash2
-rw-r--r--package/refpolicy/refpolicy.mk6
-rw-r--r--package/rhash/rhash.mk2
-rw-r--r--package/riscv64-elf-toolchain/riscv64-elf-toolchain.mk25
-rw-r--r--package/rng-tools/Config.in1
-rw-r--r--package/rng-tools/rng-tools.hash2
-rw-r--r--package/rng-tools/rng-tools.mk8
-rw-r--r--package/rp-pppoe/rp-pppoe.mk2
-rw-r--r--package/rpcbind/rpcbind.mk1
-rw-r--r--package/rpi-bt-firmware/rpi-bt-firmware.hash2
-rw-r--r--package/rpi-bt-firmware/rpi-bt-firmware.mk2
-rw-r--r--package/rpi-firmware/rpi-firmware.hash2
-rw-r--r--package/rpi-firmware/rpi-firmware.mk2
-rw-r--r--package/rpi-userland/rpi-userland.hash2
-rw-r--r--package/rpi-userland/rpi-userland.mk2
-rw-r--r--package/rpi-wifi-firmware/rpi-wifi-firmware.hash2
-rw-r--r--package/rpi-wifi-firmware/rpi-wifi-firmware.mk2
-rw-r--r--package/rpm/0001-lib-rpmdb-c-include-fcntl-h-for-O_.patch29
-rw-r--r--package/rpm/0002-lib-rpmrc.c-include-fcntl.h-for-O_.patch31
-rw-r--r--package/rpm/0003-Check-for-OpenMP-version-at-configure-time.patch78
-rw-r--r--package/rpm/0004-configure-ac-fix-cross-compilation.patch33
-rw-r--r--package/rpm/0005-Really-disable-OpenMP-if-too-old.patch26
-rw-r--r--package/rpm/rpm.hash4
-rw-r--r--package/rpm/rpm.mk5
-rw-r--r--package/rsync/rsync.hash6
-rw-r--r--package/rsync/rsync.mk13
-rw-r--r--package/rsyslog/rsyslog.mk25
-rw-r--r--package/rsyslog/rsyslog.service19
-rw-r--r--package/rt-tests/0002-Makefile-drop-explicit-undefine-PYLIB-for-compatibil.patch48
-rw-r--r--package/rt-tests/Config.in4
-rw-r--r--package/rtmpdump/rtmpdump.mk1
-rw-r--r--package/ruby/0001-fix-default-coroutine-selection.patch30
-rw-r--r--package/ruby/ruby.hash8
-rw-r--r--package/ruby/ruby.mk10
-rw-r--r--package/runc/runc.mk8
-rw-r--r--package/rust-bin/rust-bin.hash93
-rw-r--r--package/rust-bin/rust-bin.mk2
-rw-r--r--package/rust/rust.hash6
-rw-r--r--package/rust/rust.mk2
-rw-r--r--package/s390-tools/0001-osasnmpd-Makefile-fix-cross-compilation.patch (renamed from package/s390-tools/0002-osasnmpd-Makefile-fix-cross-compilation.patch)0
-rw-r--r--package/s390-tools/0001-zkey-ekmfweb-fix-linking-of-libekmfweb.patch53
-rw-r--r--package/s390-tools/0002-zkey-Fix-build-error-when-the-compiler-flags-are-overridden.patch54
-rw-r--r--package/s390-tools/Config.in2
-rw-r--r--package/s390-tools/s390-tools.hash2
-rw-r--r--package/s390-tools/s390-tools.mk4
-rw-r--r--package/s6-dns/s6-dns.hash4
-rw-r--r--package/s6-dns/s6-dns.mk12
-rw-r--r--package/s6-linux-init/0001-configure-add-D_GNU_SOURCE.patch40
-rw-r--r--package/s6-linux-init/s6-linux-init.hash4
-rw-r--r--package/s6-linux-init/s6-linux-init.mk16
-rw-r--r--package/s6-linux-utils/s6-linux-utils.hash4
-rw-r--r--package/s6-linux-utils/s6-linux-utils.mk12
-rw-r--r--package/s6-networking/s6-networking.hash4
-rw-r--r--package/s6-networking/s6-networking.mk21
-rw-r--r--package/s6-portable-utils/s6-portable-utils.hash4
-rw-r--r--package/s6-portable-utils/s6-portable-utils.mk12
-rw-r--r--package/s6-rc/s6-rc.hash4
-rw-r--r--package/s6-rc/s6-rc.mk16
-rw-r--r--package/s6/s6.hash4
-rw-r--r--package/s6/s6.mk14
-rw-r--r--package/samba4/0005-dcesrv_core-fix-build.patch56
-rw-r--r--package/samba4/0005-nsswitch-nsstest-c-Avoid-nss-function-conflicts-with-glibc-nss-h.patch104
-rw-r--r--package/samba4/Config.in3
-rw-r--r--package/samba4/samba4-cache.txt3
-rw-r--r--package/samba4/samba4.hash4
-rw-r--r--package/samba4/samba4.mk25
-rw-r--r--package/sane-backends/0002-genesys-fix-gcc-4.8-compile.patch50
-rw-r--r--package/sane-backends/0003-genesys-use-usleep-instead-of-std-this_thread-sleep_.patch46
-rw-r--r--package/sane-backends/sane-backends.hash6
-rw-r--r--package/sane-backends/sane-backends.mk28
-rw-r--r--package/sconeserver/Config.in26
-rw-r--r--package/sconeserver/sconeserver.mk35
-rw-r--r--package/sdl/sdl.mk2
-rw-r--r--package/sdl2/sdl2.mk9
-rw-r--r--package/sdl2_image/sdl2_image.mk2
-rw-r--r--package/sdl_image/sdl_image.hash2
-rw-r--r--package/sdl_image/sdl_image.mk10
-rw-r--r--package/sdl_mixer/0001-Add-Libs.private-field-to-pkg-config-file.patch23
-rw-r--r--package/sdl_mixer/0002-add-LDFLAGS-while-linking.patch29
-rw-r--r--package/sdl_mixer/0002-configure__set_macro_directory.patch (renamed from package/sdl_mixer/0004-configure__set_macro_directory.patch)6
-rw-r--r--package/sdl_mixer/0003-Fix-include-of-modplug.h.patch33
-rw-r--r--package/sdl_mixer/0003-configure.ac-fix-static-linking-with-tremor.patch24
-rw-r--r--package/sdl_mixer/sdl_mixer.hash4
-rw-r--r--package/sdl_mixer/sdl_mixer.mk10
-rw-r--r--package/sdl_net/sdl_net.hash2
-rw-r--r--package/sdl_net/sdl_net.mk8
-rw-r--r--package/sdl_ttf/sdl_ttf.hash2
-rw-r--r--package/sdl_ttf/sdl_ttf.mk12
-rw-r--r--package/ser2net/ser2net.hash6
-rw-r--r--package/ser2net/ser2net.mk2
-rw-r--r--package/siproxd/Config.in23
-rw-r--r--package/siproxd/siproxd.hash10
-rw-r--r--package/siproxd/siproxd.mk17
-rw-r--r--package/skalibs/0001-Make-linker-use-dummy-file-when-testing-libs.patch44
-rw-r--r--package/skalibs/skalibs.hash4
-rw-r--r--package/skalibs/skalibs.mk4
-rw-r--r--package/smartmontools/0001-configure.ac-fix-stack-protector-detection.patch38
-rw-r--r--package/smartmontools/smartmontools.hash8
-rw-r--r--package/smartmontools/smartmontools.mk4
-rw-r--r--package/snort/snort.hash4
-rw-r--r--package/snort/snort.mk2
-rw-r--r--package/sofia-sip/0001-soa_tag.h-reintroduce-soatag_local_sdp_str_ref.patch30
-rw-r--r--package/sofia-sip/0002-sofia-sip-fix-s2tcase.c.patch38
-rw-r--r--package/sofia-sip/sofia-sip.hash2
-rw-r--r--package/sofia-sip/sofia-sip.mk2
-rw-r--r--package/solarus/solarus.hash2
-rw-r--r--package/solarus/solarus.mk2
-rw-r--r--package/sox/0004-configure.ac-fix-static-linking-with-magic.patch48
-rw-r--r--package/sox/sox.mk4
-rw-r--r--package/spdlog/spdlog.hash2
-rw-r--r--package/spdlog/spdlog.mk2
-rw-r--r--package/spice/spice.mk2
-rw-r--r--package/sqlcipher/sqlcipher.hash2
-rw-r--r--package/sqlcipher/sqlcipher.mk2
-rw-r--r--package/squashfs/squashfs.mk2
-rw-r--r--package/squid/Config.in1
-rw-r--r--package/squid/squid.hash8
-rw-r--r--package/squid/squid.mk6
-rw-r--r--package/start-stop-daemon/0001-add-uclibc-alias-and-musl.patch58
-rw-r--r--package/start-stop-daemon/0002-just-warn-on-missing-arch.patch38
-rw-r--r--package/start-stop-daemon/start-stop-daemon.hash4
-rw-r--r--package/start-stop-daemon/start-stop-daemon.mk4
-rw-r--r--package/stellarium/stellarium.hash4
-rw-r--r--package/stellarium/stellarium.mk2
-rw-r--r--package/strace/0001-disable_ptrace_get_syscall_info-disable_ptrace_getre.patch33
-rw-r--r--package/strace/strace.hash6
-rw-r--r--package/strace/strace.mk4
-rw-r--r--package/stunnel/stunnel.hash6
-rw-r--r--package/stunnel/stunnel.mk3
-rw-r--r--package/sudo/sudo.mk9
-rw-r--r--package/suricata/suricata.hash2
-rw-r--r--package/suricata/suricata.mk2
-rw-r--r--package/sysdig/sysdig.mk1
-rw-r--r--package/sysklogd/sysklogd.hash5
-rw-r--r--package/sysklogd/sysklogd.mk4
-rw-r--r--package/syslog-ng/syslog-ng.conf2
-rw-r--r--package/syslog-ng/syslog-ng.hash2
-rw-r--r--package/syslog-ng/syslog-ng.mk2
-rw-r--r--package/sysrepo/sysrepo.hash2
-rw-r--r--package/sysrepo/sysrepo.mk2
-rw-r--r--package/sysstat/sysstat.mk1
-rw-r--r--package/systemd/Config.in2
-rw-r--r--package/systemd/systemd.mk8
-rw-r--r--package/sysvinit/0001-Makefile-disable-stack-protector-strong.patch33
-rw-r--r--package/sysvinit/sysvinit.hash2
-rw-r--r--package/sysvinit/sysvinit.mk3
-rw-r--r--package/tar/tar.hash4
-rw-r--r--package/tar/tar.mk4
-rw-r--r--package/terminology/terminology.hash4
-rw-r--r--package/terminology/terminology.mk2
-rw-r--r--package/timescaledb/0001-Allow-building-against-PG13-source.patch85
-rw-r--r--package/timescaledb/0002-Add-compatibilty-wrapper-functions-for-base64-encodi.patch73
-rw-r--r--package/timescaledb/0003-Add-missing-utils-acl.h-includes.patch149
-rw-r--r--package/timescaledb/0004-Add-support-for-PG13-List-implementation.patch473
-rw-r--r--package/timescaledb/0005-Adjust-code-to-PG13-list-sort-changes.patch59
-rw-r--r--package/timescaledb/0006-Adjust-copy-code-to-PG13-addRTEtoQuery-changes.patch37
-rw-r--r--package/timescaledb/0007-Adjust-code-to-PG13-convert_tuples_by_name-signature.patch65
-rw-r--r--package/timescaledb/0008-Adjust-code-to-PG13-tuple-conversion-changes.patch259
-rw-r--r--package/timescaledb/0009-Adjust-hypertable-expansion-to-PG13-changes.patch88
-rw-r--r--package/timescaledb/0010-Adjust-decompress-code-to-Var-field-renames.patch41
-rw-r--r--package/timescaledb/0011-Adjust-jsonb_utils-to-PG13-changes.patch39
-rw-r--r--package/timescaledb/0012-Handle-AT_DropExpression-in-process_utility.patch48
-rw-r--r--package/timescaledb/0013-Adjust-copy-code-to-PG13-changes.patch34
-rw-r--r--package/timescaledb/0014-Adjust-code-to-PG13-command-completion-tag-changes.patch186
-rw-r--r--package/timescaledb/0015-Adjust-copy-to-PG13-HEAP_INSERT_SKIP_WAL-change.patch51
-rw-r--r--package/timescaledb/0016-Adjust-planner-code-to-PG13-planner_hook-signature-c.patch58
-rw-r--r--package/timescaledb/0017-Adjust-code-to-deparse_context-changes.patch34
-rw-r--r--package/timescaledb/0018-Update-compat.h.patch27
-rw-r--r--package/timescaledb/0019-Adjust-code-to-PG13-tuptoaster-changes.patch70
-rw-r--r--package/timescaledb/timescaledb.hash2
-rw-r--r--package/timescaledb/timescaledb.mk2
-rw-r--r--package/tio/Config.in7
-rw-r--r--package/tmux/tmux.mk2
-rw-r--r--package/tor/0001-Fix-static-linking-with-OpenSSL.patch49
-rw-r--r--package/tor/tor.hash4
-rw-r--r--package/tor/tor.mk7
-rw-r--r--package/transmission/S92transmission2
-rw-r--r--package/transmission/transmission.mk1
-rw-r--r--package/ttyd/Config.in2
-rw-r--r--package/tvheadend/Config.in32
-rw-r--r--package/tvheadend/tvheadend.hash2
-rw-r--r--package/tvheadend/tvheadend.mk38
-rw-r--r--package/tzdata/tzdata.hash4
-rw-r--r--package/tzdata/tzdata.mk2
-rw-r--r--package/uboot-tools/0002-tools-only-in-no-dot-config-targets.patch6
-rw-r--r--package/uboot-tools/0003-drop-autoconf.h-from-tools.patch36
-rw-r--r--package/uboot-tools/0004-tools-env-fw_env.h-remove-env.h.patch52
-rw-r--r--package/uboot-tools/uboot-tools.hash2
-rw-r--r--package/uboot-tools/uboot-tools.mk6
-rw-r--r--package/ubus/Config.in2
-rw-r--r--package/ubus/ubus.hash4
-rw-r--r--package/ubus/ubus.mk5
-rw-r--r--package/uclibc/0001-arch-sh-Add-64-bit-time-types-from-kernel.patch33
-rw-r--r--package/uclibc/uclibc.hash4
-rw-r--r--package/uclibc/uclibc.mk2
-rw-r--r--package/udftools/udftools.hash4
-rw-r--r--package/udftools/udftools.mk2
-rw-r--r--package/udisks/udisks.mk1
-rw-r--r--package/uftrace/0001-cmds-records-replace-ADDR_NO_RANDOMIZE-by-its-value.patch33
-rw-r--r--package/uftrace/0002-arch-arm-mcount-support.c-define-EF_ARM_VFP_FLOAT-wh.patch31
-rw-r--r--package/uftrace/Config.in27
-rw-r--r--package/uftrace/uftrace.hash3
-rw-r--r--package/uftrace/uftrace.mk60
-rw-r--r--package/uhttpd/uhttpd.hash4
-rw-r--r--package/uhttpd/uhttpd.mk4
-rw-r--r--package/uhubctl/uhubctl.hash3
-rw-r--r--package/uhubctl/uhubctl.mk4
-rw-r--r--package/unzip/unzip.mk2
-rw-r--r--package/upmpdcli/upmpdcli.hash4
-rw-r--r--package/upmpdcli/upmpdcli.mk2
-rw-r--r--package/upx/0001-Check-DT_REL-DT_RELA-DT_RELSZ-DT_RELASZ.patch80
-rw-r--r--package/upx/upx.mk5
-rw-r--r--package/usb_modeswitch/usb_modeswitch.hash8
-rw-r--r--package/usb_modeswitch/usb_modeswitch.mk2
-rw-r--r--package/ustream-ssl/ustream-ssl.hash4
-rw-r--r--package/ustream-ssl/ustream-ssl.mk5
-rw-r--r--package/util-linux/util-linux.hash2
-rw-r--r--package/util-linux/util-linux.mk2
-rw-r--r--package/valgrind/0003-Bug-408663-Patch-Suppression-file-for-musl-libc.patch69
-rw-r--r--package/valgrind/valgrind.hash4
-rw-r--r--package/valgrind/valgrind.mk26
-rw-r--r--package/valijson/valijson.mk2
-rw-r--r--package/vlc/0002-automake-add-subdir-objects-option.patch (renamed from package/vlc/0003-automake-add-subdir-objects-option.patch)0
-rw-r--r--package/vlc/0002-lua-Define-LUA_COMPAT_APIINTCASTS-for-Lua-5.3.0-comp.patch41
-rw-r--r--package/vlc/0003-build-use-pkg-config-to-get-tremor-libs.patch (renamed from package/vlc/0004-build-use-pkg-config-to-get-tremor-libs.patch)0
-rw-r--r--package/vlc/0004-Fix-build-error-using-uClibc-by-adding-sys-types.h.patch (renamed from package/vlc/0005-Fix-build-error-using-uClibc-by-adding-sys-types.h.patch)0
-rw-r--r--package/vlc/0005-Don-t-assume-strerror_l-is-available.patch (renamed from package/vlc/0006-Don-t-assume-strerror_l-is-available.patch)0
-rw-r--r--package/vlc/0006-posix-remove-ancient-run-time-fallback-to-real-time-.patch (renamed from package/vlc/0007-posix-remove-ancient-run-time-fallback-to-real-time-.patch)0
-rw-r--r--package/vlc/0007-Add-support-for-freerdp2.patch (renamed from package/vlc/0008-Add-support-for-freerdp2.patch)0
-rw-r--r--package/vlc/0008-configure.ac-also-use-AC_PATH_PROG-to-check-for-wayl.patch (renamed from package/vlc/0009-configure.ac-also-use-AC_PATH_PROG-to-check-for-wayl.patch)0
-rw-r--r--package/vlc/0009-modules-video_filter-opencv_example.cpp-fix-build-wi.patch (renamed from package/vlc/0010-modules-video_filter-opencv_example.cpp-fix-build-wi.patch)0
-rw-r--r--package/vlc/vlc.hash8
-rw-r--r--package/vlc/vlc.mk2
-rw-r--r--package/vsftpd/vsftpd.mk2
-rw-r--r--package/wampcc/wampcc.mk2
-rw-r--r--package/webkitgtk/webkitgtk.hash8
-rw-r--r--package/webkitgtk/webkitgtk.mk2
-rw-r--r--package/weston/0003-pipewire-add-support-for-0.3-API.patch391
-rw-r--r--package/weston/0004-pipewire-fix-null-deref-in-0-3-API.patch28
-rw-r--r--package/wget/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch46
-rw-r--r--package/wget/wget.hash8
-rw-r--r--package/wget/wget.mk2
-rw-r--r--package/whois/whois.hash4
-rw-r--r--package/whois/whois.mk4
-rw-r--r--package/wine/wine.hash4
-rw-r--r--package/wine/wine.mk54
-rw-r--r--package/wireguard-linux-compat/wireguard-linux-compat.hash4
-rw-r--r--package/wireguard-linux-compat/wireguard-linux-compat.mk2
-rw-r--r--package/wireguard-tools/wireguard-tools.hash4
-rw-r--r--package/wireguard-tools/wireguard-tools.mk2
-rw-r--r--package/wireshark/wireshark.hash6
-rw-r--r--package/wireshark/wireshark.mk2
-rw-r--r--package/wlroots/Config.in15
-rw-r--r--package/wlroots/wlroots.mk3
-rw-r--r--package/wolfssl/wolfssl.hash2
-rw-r--r--package/wolfssl/wolfssl.mk2
-rw-r--r--package/wpa_supplicant/0002-ASN.1-Validate-DigestAlgorithmIdentifier-parameters.patch116
-rw-r--r--package/wpa_supplicant/Config.in42
-rw-r--r--package/wpa_supplicant/wpa_supplicant.mk63
-rw-r--r--package/wpebackend-fdo/wpebackend-fdo.hash8
-rw-r--r--package/wpebackend-fdo/wpebackend-fdo.mk2
-rw-r--r--package/wpewebkit/wpewebkit.hash8
-rw-r--r--package/wpewebkit/wpewebkit.mk2
-rw-r--r--package/x11r7/libxcb/libxcb.mk1
-rw-r--r--package/x11r7/xapp_xkbcomp/xapp_xkbcomp.hash9
-rw-r--r--package/x11r7/xapp_xkbcomp/xapp_xkbcomp.mk2
-rw-r--r--package/x11r7/xdriver_xf86-input-libinput/xdriver_xf86-input-libinput.hash11
-rw-r--r--package/x11r7/xdriver_xf86-input-libinput/xdriver_xf86-input-libinput.mk2
-rw-r--r--package/x11r7/xdriver_xf86-video-ati/Config.in2
-rw-r--r--package/x11r7/xdriver_xf86-video-nouveau/xdriver_xf86-video-nouveau.hash11
-rw-r--r--package/x11r7/xdriver_xf86-video-nouveau/xdriver_xf86-video-nouveau.mk2
-rw-r--r--package/x11r7/xkeyboard-config/xkeyboard-config.hash2
-rw-r--r--package/x11r7/xkeyboard-config/xkeyboard-config.mk2
-rw-r--r--package/x11r7/xlib_libFS/xlib_libFS.mk2
-rw-r--r--package/x11r7/xlib_libICE/xlib_libICE.mk2
-rw-r--r--package/x11r7/xlib_libXaw/xlib_libXaw.hash8
-rw-r--r--package/x11r7/xlib_libXaw/xlib_libXaw.mk2
-rw-r--r--package/x11r7/xlib_libXcursor/xlib_libXcursor.mk2
-rw-r--r--package/x11r7/xlib_libXdmcp/xlib_libXdmcp.mk2
-rw-r--r--package/x11r7/xlib_libXext/xlib_libXext.mk2
-rw-r--r--package/x11r7/xlib_libXfixes/xlib_libXfixes.mk2
-rw-r--r--package/x11r7/xlib_libXfont2/xlib_libXfont2.mk2
-rw-r--r--package/x11r7/xlib_libXinerama/xlib_libXinerama.mk2
-rw-r--r--package/x11r7/xlib_libXpm/xlib_libXpm.mk2
-rw-r--r--package/x11r7/xlib_libXres/xlib_libXres.hash10
-rw-r--r--package/x11r7/xlib_libXres/xlib_libXres.mk4
-rw-r--r--package/x11r7/xlib_libXt/xlib_libXt.mk2
-rw-r--r--package/x11r7/xlib_libXtst/xlib_libXtst.mk2
-rw-r--r--package/x11r7/xlib_libXxf86dga/xlib_libXxf86dga.mk2
-rw-r--r--package/x11r7/xlib_libXxf86vm/xlib_libXxf86vm.mk2
-rw-r--r--package/x11r7/xlib_libdmx/xlib_libdmx.mk2
-rw-r--r--package/x11r7/xorgproto/xorgproto.hash81
-rw-r--r--package/x11r7/xorgproto/xorgproto.mk2
-rw-r--r--package/x11r7/xserver_xorg-server/Config.in30
-rw-r--r--package/x11r7/xserver_xorg-server/xserver_xorg-server.hash6
-rw-r--r--package/x11r7/xserver_xorg-server/xserver_xorg-server.mk35
-rw-r--r--package/x11vnc/x11vnc.mk2
-rw-r--r--package/x264/x264.hash4
-rw-r--r--package/x264/x264.mk6
-rw-r--r--package/xen/xen.hash2
-rw-r--r--package/xen/xen.mk2
-rw-r--r--package/xscreensaver/xscreensaver.mk2
-rw-r--r--package/xtables-addons/xtables-addons.hash2
-rw-r--r--package/xtables-addons/xtables-addons.mk2
-rw-r--r--package/yaml-cpp/yaml-cpp.mk2
-rw-r--r--package/yavta/Config.in2
-rw-r--r--package/yavta/yavta.hash3
-rw-r--r--package/yavta/yavta.mk16
-rw-r--r--package/zfs/Config.in32
-rw-r--r--package/zfs/zfs.hash6
-rw-r--r--package/zfs/zfs.mk91
-rw-r--r--package/zstd/zstd.hash4
-rw-r--r--package/zstd/zstd.mk2
-rw-r--r--package/zyre/zyre.hash2
-rw-r--r--package/zyre/zyre.mk2
-rw-r--r--package/zziplib/zziplib.mk2
-rw-r--r--support/dependencies/check-host-cmake.mk4
-rwxr-xr-xsupport/dependencies/dependencies.sh9
-rwxr-xr-xsupport/download/bzr13
-rwxr-xr-xsupport/download/cvs13
-rwxr-xr-xsupport/download/file7
-rwxr-xr-xsupport/download/git17
-rwxr-xr-xsupport/download/helpers2
-rwxr-xr-xsupport/download/hg15
-rwxr-xr-xsupport/download/scp13
-rwxr-xr-xsupport/download/svn17
-rwxr-xr-xsupport/download/wget13
-rw-r--r--support/misc/Vagrantfile2
-rw-r--r--support/misc/toolchainfile.cmake.in10
-rwxr-xr-xsupport/scripts/cve.py11
-rw-r--r--support/scripts/pycompile.py2
-rw-r--r--support/testing/conf/docker-compose.yml5
-rw-r--r--support/testing/tests/core/cpeid-br2-external/package/cpe-id-pkg3/cpe-id-pkg3.mk2
-rw-r--r--support/testing/tests/core/test_cpeid.py2
-rw-r--r--support/testing/tests/package/test_docker_compose.py9
-rw-r--r--support/testing/tests/package/test_execline.py23
-rw-r--r--support/testing/tests/package/test_openjdk.py2
-rw-r--r--support/testing/tests/package/test_perl_io_socket_ssl.py1
-rw-r--r--support/testing/tests/package/test_perl_libwww_perl.py2
-rw-r--r--support/testing/tests/package/test_python_colorzero.py11
-rw-r--r--support/testing/tests/package/test_python_gpiozero.py9
-rw-r--r--support/testing/tests/package/test_s6.py58
-rw-r--r--support/testing/tests/package/test_s6_networking.py36
-rw-r--r--support/testing/tests/package/test_s6_portable_utils.py32
-rw-r--r--support/testing/tests/package/test_s6_rc.py47
-rw-r--r--support/testing/tests/package/test_sudo.py36
-rw-r--r--support/testing/tests/package/test_zfs.py117
-rw-r--r--toolchain/Config.in34
-rw-r--r--toolchain/toolchain-external/toolchain-external-custom/Config.in.options10
1888 files changed, 40507 insertions, 19790 deletions
diff --git a/CHANGES b/CHANGES
index ab34fde9ae..9f9f5e94ff 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,213 @@
+2021.05-rc1, released May 12th, 2021
+
+ Fixes all over the tree and new features.
+
+ FORTIFY_SOURCE, PIC/PIE, RELRO and SSP security hardening
+ options are now enabled by default.
+
+ Dependencies: Explicitly detect and bail out if PATH contains
+ spaces or tabs. A number of packages fail to build in such
+ setups, so explicitly inform about this.
+
+ Infrastructure: Expose CONFIG_DIR to post-build/post-image
+ scripts, so they can call the Buildroot Makefile in the
+ correct directory for both in-tree / out-of-tree builds.
+
+ CMake infrastructure: Use CMAKE_EXE_LINKER_FLAGS rather than
+ CMAKE_CXX_FLAGS to link with libatomic to fix an compatibility
+ issue with poppler. Bump minimal host cmake version to 3.16
+ (from 3.15) to fix a compatibility issue with domoticz.
+
+ Meson: Use correct C++ host compiler (rather than C compiler)
+
+ utils/scanpypi: Explicitly use python3 for compatibility with
+ packages using python3 syntax in setup.py
+
+ support/download: Fix tarball generation (from git/svn repos)
+ including symlinks pointing to ./<something>. Fix svn download
+ for <1.9 clients or repos using CVS-style keywords.
+
+ support/scripts/cve.py: Use the (significantly) faster yajl2
+ ijson backend for older (< 2.5) ijson versions rather than the
+ slow python default, speeding up pkg-stats by ~2x.
+
+ Toolchain: Add logic to work around binutils bug 21464
+ (affecting OpenRISC), bug 27597 (affecting Nios II) and drop
+ the now longer applicable bug 19615 / 20006 handling.
+
+ Python{,3}: Fix byte compiling python files with short (single
+ character before .py) file names.
+
+ CPE meta data has been added for a large number of packages
+
+ New defconfigs: Acme Systems Acqua A5 (256/512MB), Beagleboard
+ BeagleV, Boundary devices Nitrogen8M Plus SOM, NXP i.MX 8M
+ Plus EVK, QEMU PPC e500mc
+
+ New packages: beaglev-ddrinit, beaglev-secondboot, janet,
+ kodi-inputstream-ffmpegdirect, kodi-vfs-libarchive,
+ kodi-visualisation-matrix, libxcrypt, libqrtr-glib, log4qt,
+ mawk, perl-parse-yapp, postgis, protozero, python-flask-wtf,
+ python-iwlib, python-semantic-version, python-setuptools-rust,
+ python-toml, riscv64-elf-toolchain, siproxyd, uftrace, zfs
+
+ Removed packages: iostat, kodi-platform,
+ kodi-screensaver-crystalmorph, monkey
+
+ Issues resolved (http://bugs.uclibc.org):
+
+ #13271: systemd-resolved: /etc/resolv.conf link broken on per-pa..
+ #13516: utils/scanpypi: Failure when parsing diffoscope
+ #13551: 2021.02.rc2: Unicode not work on qt 5.15.2
+ #13576: Issues compiling buildroot for 5x86
+ #13601: Gen image :Iappropriate ioctl error
+ #13616: tar file from git repository generation issue
+ #13631: Commit 54d3d94b6e breaks packages with git download method
+ #13641: glibc on raspberrypi
+ #13646: Gen image version 14 error : no sub -section title/..
+ #13651: pkg-golang cannot build when main.go is in the root
+ #13661: host-python2 build fails on aarch64
+ #13671: openSSH server closes connection before authentication..
+ #13721: c-stack.c:55:26: error: missing binary operator before ..
+ #13731: Readline Patch is missing Author Information
+ #13741: genext2fs does not allow to set perms of root node
+ #13751: libopenssl (static): huge drop in performance in newer ..
+ #13771: package htop has undeclared dependency on host python
+
+2021.02.2, released May 12th, 2021
+
+ Important / security related fixes.
+
+ Toolchain: Add logic to mark toolchains affected by binutils
+ bug 27597 (Nios II).
+
+ support/scripts/cve.py: Use the (significantly) faster yajl2
+ ijson backend for older (< 2.5) ijson versions rather than the
+ slow python default, speeding up pkg-stats by ~2x.
+
+ CMake infrastructure: Use CMAKE_EXE_LINKER_FLAGS rather than
+ CMAKE_CXX_FLAGS to link with libatomic to fix an compatibility
+ issue with poppler.
+
+ Infrastructure: Expose CONFIG_DIR to post-build/post-image
+ scripts, so they can call the Buildroot Makefile in the
+ correct directory for both in-tree / out-of-tree builds.
+
+ Updated/fixed packages: at91bootstrap, avahi, bash, bind,
+ bridge-utils, boost, cegui, cifs-utils, clamav, cmake,
+ coremark-pro, coreutils, cryptsetup, dmalloc, dnsmasq,
+ docker-cli, docker-engine, domoticz, efl, exim, ffmpeg, flex,
+ gcc, genext2fs, go, gst1-interpipe, haproxy, hostapd,
+ i2c-tools, imx-vpu, kexec, kf5-kcoreaddons, kismet, libcamera,
+ libcurl, libdrm, libfreefare, libfuse3, libgeos, libgpiod,
+ libnpupnp, libopenssl, libp11, librsync, libtomcrypt, libupnp,
+ localedef, lvm2, lxc, m4, makedevs, mender, mesa3d,
+ mesa3d-headers, mkpasswd, mkpimage, modem-manager, monkey,
+ mpd, ncurses, nettle, network-manager, nginx, numactl,
+ openjdk, openjdk-bin, openldap, openvpn, php, pipewire,
+ python-aioconsole, python-asgiref, python-botocore,
+ python-django, python-dnspython, python-flup, python-httplib2,
+ python-markdown2, python-mbrstrdecoder, python3, quickjs,
+ readline, rsyslog, ruby, rust, samba4, sconeserver, snort,
+ sox, systemd, tar, timescaledb, tio, tor, usb_modeswitch,
+ wpa_supplicant, xdriver_xf86-video-ati, xen, xlib_libXaw,
+ xserver_xorg-server
+
+ Issues resolved (http://bugs.uclibc.org):
+
+ #13271: systemd-resolved: /etc/resolv.conf link broken on per-pa..
+ #13551: 2021.02.rc2: Unicode not work on qt 5.15.2
+ #13651: pkg-golang cannot build when main.go is in the root
+ #13661: host-python2 build fails on aarch64
+ #13721: c-stack.c:55:26: error: missing binary operator before ..
+ #13731: Readline Patch is missing Author Information
+ #13741: genext2fs does not allow to set perms of root node
+ #13751: libopenssl (static): huge drop in performance in newer ..
+ #13771: package htop has undeclared dependency on host python
+
+2021.02.1, released April 7, 2021
+
+ Important / security related fixes.
+
+ Dependencies: Explicitly detect and bail out if PATH contains
+ spaces or tabs. A number of packages fail to build in such
+ setups, so explicitly inform about this.
+
+ utils/scanpypi: Explicitly use python3 for compatibility with
+ packages using python3 syntax in setup.py
+
+ support/download: Fix tarball generation (from git/svn repos)
+ including symlinks pointing to ./<something>. Fix svn download
+ for <1.9 clients or repos using CVS-style keywords.
+
+ Meson: Use correct C++ host compiler (rather than C compiler)
+
+ Toolchain: Add logic to work around binutils bug 21464,
+ affecting OpenRISC, and drop the now longer applicable bug
+ 19615 / 20006 handling.
+
+ Python{,3}: Fix byte compiling python files with short (single
+ character before .py) file names.
+
+ CPE meta data has been added for a large number of packages
+
+ Defconfigs: Correct Beaglebone QT file system overlay
+
+ Updated/fixed packages: alsa-utils, at91bootstrap3,
+ batman-adv, binutils, botan, bridge-utils, busybox,
+ ca-certificates, cog, coreutils, diffutils, dmidecode,
+ docker-cli, docker-containerd, docker-engine, efivar,
+ fetchmail, frr, genimage, git, gnutls, go, grub2, gst-omx,
+ gst1-devtools, gst1-libav, gst1-plugins-bad,
+ gst1-plugins-base, gst1-plugins-good, gst1-plugins-ugly,
+ gst1-python, gst1-rtsp-server, gst1-vaapi, gstreamer1,
+ gstreamer1-editing-services, haproxy, haserl, hwloc,
+ irqbalance, jasper, kexec, kexec-lite, kismet, kodi, libcurl,
+ libfreeglut, libgcrypt, libgeos, libglib2, libopenssl, libqmi,
+ libressl, libupnp, libvips, libvpx, libwebsockets, linux,
+ lldpd, logrotate, lttng-libust, lttng-tools, mariadb, mbedtls,
+ mcelog, mender, micropython, mongoose, mosquitto, mpd,
+ netsnmp, nodejs, openmpi, openssh, openvpn, opkg-utils,
+ optee-client, optee-test, perl, php, proftpd, protobuf,
+ python-django, python-jinja2, python-lxml, python-paramiko,
+ python-py, python-pygments, python-rpi-ws281x, python-urllib3,
+ python3, qt5webkit, qwt, rpm, samba4, sconeserver, sdl2, shim,
+ sqlcipher, squid, sysklogd, syslinux, sysvinit, tor,
+ transmission, tzdata, uboot, uclibc, upx, webkitgtk,
+ wireshark, wpebackend-fdo, wpewebkit, xen, zstd
+
+ New packages: perl-parse-yapp
+
+ Issues resolved (http://bugs.uclibc.org):
+
+ #13516: utils/scanpypi: Failure when parsing diffoscope
+ #13576: Issues compiling buildroot for 5x86
+ #13601: Gen image :Iappropriate ioctl error
+ #13616: tar file from git repository generation issue
+ #13641: glibc on raspberrypi
+ #13646: Gen image version 14 error : no sub -section title/..
+ #13671: openSSH server closes connection before authentication..
+
+2021.02, released March 6th, 2021
+
+ Various fixes.
+
+ Toolchain: Correct Bootlin xtensa-lx60 dependencies
+
+ Updated/fixed packages: asterisk, belle-sip, bustle, dhcpcd,
+ dovecot, dovecot-pigeonhole, gnuchess, gnuradio,
+ gst1-plugins-bad, haproxy, jasper, kismet, libebml,
+ libeXosip2, libgeos, libhtp, libjpeg, libopenssl, libshout,
+ libstrophe, mosquitto, openblas, openssh, perl, privoxy,
+ prosody, python-pyyaml, python3-pyyaml, quagga, redis,
+ rust-bin, sox, suricata, tpm2-pkcs11, uclibc-ng-test, ushare,
+ util-linux, wolfssl, wpa_supplicant
+
+ Issues resolved (http://bugs.uclibc.org):
+
+ #13501: 2021.02.rc2: Unicode not work on qt 5.15.2
+ #13581: jpegsrc.v9d.tar.gz has changed hash
+
2021.02-rc3, released February 27th, 2021
Fixes all over the tree.
@@ -101,6 +311,48 @@
#13471: package/mpd/mpd.conf make use of path not created
#13506: BR2_PACKAGE_DHCPCD missing directory creation
+2020.11.4, released April 5th, 2021
+
+ Important / security related fixes.
+
+ Dependencies: Explicitly detect and bail out if PATH contains
+ spaces or tabs. A number of packages fail to build in such
+ setups, so explicitly inform about this.
+
+ utils/scanpypi: Explicitly use python3 for compatibility with
+ packages using python3 syntax in setup.py
+
+ support/download: Fix tarball generation (from git/svn repos)
+ including symlinks pointing to ./<something>
+
+ Meson: Use correct C++ host compiler (rather than C compiler)
+
+ Updated/fixed packages: asterisk, at91bootstrap3, babeltrace2,
+ batman-adv, bind, ca-certificates, cegui, cog, diffutils,
+ docker-containerd, dovecot, dovecot-pigeonhole, efivar,
+ elfutils, fakeroot, git, gnuchess, gnuradio, gnutls, go,
+ grub2, haserl, i7z, imagemagick, intel-mediasdk, irqbalance,
+ jasper, kodi, libcurl, libebml, libeXosip2, libglib2, libhtp,
+ libjpeg, libopenssl, libqmi, libressl, libupnp, libuwsc,
+ libvips, lldpd, mariadb, mbedtls, mender, micropython,
+ mosquitto, netsnmp, nodejs, openblas, openldap, openmpi,
+ openssh, opkg-utils, optee-client, optee-test, perl, php,
+ privoxy, proftpd, prosody, protobuf, python-aiohttp,
+ python-django, python-lxml, python-pyyaml, python-rpi-ws281x,
+ python-typing-extensions, python3, quagga, qwt, redis, rpm,
+ sconeserver, screen, sox, sqlcipher, squid, suricata,
+ syslinux, sysvinit, tor, transmission, tzdata, uboot, unbound,
+ upx, util-linux, webkitgtk, wireshark, wolfssl,
+ wpebackend-fdo, wpewebkit, wpa_supplicant, zstd
+
+ Issues resolved (http://bugs.uclibc.org):
+
+ #13516: utils/scanpypi: Failure when parsing diffoscope
+ #13541: 2021.02.rc2: irqbalance: Daemon couldn't be bound to..
+ #13576: Issues compiling buildroot for 5x86
+ #13581: jpegsrc.v9d.tar.gz has changed hash
+ #13616: tar file from git repository generation issue
+
2020.11.3, released February 17th, 2021
meson: Fix ccache detection handling when per-package builds
@@ -902,6 +1154,43 @@
#12796: Update OpenSSL to Version 1.1.1g to patch CVE-2020-1967
#12811: bootstrap stuck and no login prompt
+2020.02.12, released April 5, 2021
+
+ Important / security related fixes.
+
+ Dependencies: Explicitly detect and bail out if PATH contains
+ spaces or tabs. A number of packages fail to build in such
+ setups, so explicitly inform about this.
+
+ utils/scanpypi: Explicitly use python3 for compatibility with
+ packages using python3 syntax in setup.py
+
+ support/download: Fix tarball generation (from git/svn repos)
+ including symlinks pointing to ./<something>
+
+ Meson: Use correct C++ host compiler (rather than C compiler)
+
+ Updated/fixed packages: asterisk, batman-adv, bind,
+ ca-certificates, docker-containerd, dovecot,
+ dovecot-pigeonhole, diffutils, efivar, git, gnuchess, gnutls,
+ grub2, fakeroot, haserl, imagemagick, irqbalance, jasper,
+ kodi, libcurl, libebml, libglib2, libjpeg, libopenssl,
+ libupnp, libvips, lldpd, mariadb, mbedtls, mosquitto, nodejs,
+ netsnmp, nettle, openldap, openmpi, openssh, opkg-utils, perl,
+ php, privoxy, prosody, protobuf, python-aiohttp,
+ python-django, python-lxml, python-pyyaml, python-rpi-ws281x,
+ python3, redis, rpm, sconeserver, screen, sox, sqlcipher,
+ squid, sysvinit, tor, transmission, tzdata, uboot, upx,
+ util-linux, wireshark, wolfssl, wpa_supplicant, zstd
+
+ Issues resolved (http://bugs.uclibc.org):
+
+ #13516: utils/scanpypi: Failure when parsing diffoscope
+ #13541: 2021.02.rc2: irqbalance: Daemon couldn't be bound to..
+ #13576: Issues compiling buildroot for 5x86
+ #13581: jpegsrc.v9d.tar.gz has changed hash
+ #13616: tar file from git repository generation issue
+
2020.02.11, released February 17, 2021
Important / security related fixes.
diff --git a/Config.in b/Config.in
index e35a78fb71..c65e34bd5e 100644
--- a/Config.in
+++ b/Config.in
@@ -715,6 +715,7 @@ comment "Security Hardening Options"
config BR2_PIC_PIE
bool "Build code with PIC/PIE"
+ default y
depends on BR2_SHARED_LIBS
depends on BR2_TOOLCHAIN_SUPPORTS_PIE
help
@@ -728,6 +729,8 @@ comment "PIC/PIE needs a toolchain w/ PIE"
choice
bool "Stack Smashing Protection"
default BR2_SSP_ALL if BR2_ENABLE_SSP # legacy
+ default BR2_SSP_STRONG if BR2_TOOLCHAIN_HAS_SSP_STRONG
+ default BR2_SSP_REGULAR
depends on BR2_TOOLCHAIN_HAS_SSP
help
Enable stack smashing protection support using GCC's
@@ -789,6 +792,8 @@ comment "Stack Smashing Protection needs a toolchain w/ SSP"
choice
bool "RELRO Protection"
+ default BR2_RELRO_FULL if BR2_TOOLCHAIN_SUPPORTS_PIE
+ default BR2_RELRO_PARTIAL
depends on BR2_SHARED_LIBS
help
Enable a link-time protection know as RELRO (RELocation Read
@@ -825,6 +830,7 @@ comment "RELocation Read Only (RELRO) needs shared libraries"
choice
bool "Buffer-overflow Detection (FORTIFY_SOURCE)"
+ default BR2_FORTIFY_SOURCE_1
depends on BR2_TOOLCHAIN_USES_GLIBC
depends on !BR2_OPTIMIZE_0
help
diff --git a/Config.in.legacy b/Config.in.legacy
index 9deb67b31f..ce6aeed87d 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -144,6 +144,78 @@ endif
###############################################################################
+comment "Legacy options removed in 2021.05"
+
+config BR2_PACKAGE_MONKEY
+ bool "monkey package removed"
+ select BR2_LEGACY
+ help
+ This package has been removed as it has not seen any release
+ since 2016 and because TLS is broken on master.
+
+config BR2_PACKAGE_DOCKER_CONTAINERD
+ bool "docker-containerd package was renamed to containerd"
+ select BR2_LEGACY
+ select BR2_PACKAGE_CONTAINERD
+ help
+ The containerd project is now independent from Docker.
+ The package was renamed to containerd accordingly.
+
+config BR2_PACKAGE_IOSTAT
+ bool "iostat removed"
+ select BR2_LEGACY
+ help
+ This package has been removed, use sysstat instead.
+
+config BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE_IMAGE
+ bool "sconeserver http::sconesite::image removed"
+ select BR2_LEGACY
+ help
+ Sconeserver cannot be built with ImageMagick - it uses the
+ "transofrm" function which is removed from public API.
+
+config BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_EVDEV
+ bool "KDrive/TinyX evdev input driver removed"
+ select BR2_LEGACY
+ help
+ The evdev input driver in KDrive was removed.
+
+config BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_KBD
+ bool "KDrive/TinyX kbd input driver removed"
+ select BR2_LEGACY
+ help
+ The kbd input driver in KDrive was removed.
+
+config BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_MOUSE
+ bool "KDrive/TinyX mouse input driver removed"
+ select BR2_LEGACY
+ help
+ The mouse input driver in KDrive was removed.
+
+config BR2_PACKAGE_MESA3D_OSMESA_CLASSIC
+ bool "mesa OSMesa (classic) option removed"
+ select BR2_LEGACY
+ select BR2_PACKAGE_MESA3D_OSMESA_GALLIUM
+ help
+ The OSMesa "classic" library option was removed upstream.
+ Only the Gallium-based implementation remains.
+
+config BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST
+ bool "mesa DRI swrast driver removed"
+ select BR2_LEGACY
+ select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST
+ help
+ The DRI swrast driver was removed upstream.
+ Only the Gallium-based implementation remains.
+
+config BR2_PACKAGE_KODI_SCREENSAVER_CRYSTALMORPH
+ bool "kodi-screensaver-crystalmorph removed"
+ select BR2_LEGACY
+ help
+ The package received its last updates in 2017, is not part
+ of the official Kodi github repo and its build is broken
+ with Kodi 19.x, so it was removed.
+
comment "Legacy options removed in 2021.02"
config BR2_PACKAGE_MPD_AUDIOFILE
diff --git a/DEVELOPERS b/DEVELOPERS
index 0c48236da4..a90ad1c354 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -70,6 +70,7 @@ F: package/odhcp6c/
N: Alexander Dahl <post@lespocky.de>
F: package/fastd/
F: package/libuecc/
+F: package/siproxd/
F: package/putty/
N: Alexander Egorenkov <egorenar-dev@posteo.net>
@@ -239,6 +240,7 @@ F: package/python*
F: package/snmpclitools/
F: package/spdlog/
F: package/uftp/
+F: package/uftrace/
F: package/uvw/
F: package/zeromq/
@@ -261,6 +263,7 @@ F: package/python-canopen/
N: Bartosz Bilas <b.bilas@grinn-global.com>
F: board/stmicroelectronics/stm32mp157a-dk1/
F: configs/stm32mp157a_dk1_defconfig
+F: package/log4qt/
F: package/python-esptool/
F: package/python-pyaes/
F: package/ttyd/
@@ -309,6 +312,7 @@ F: package/apache/
F: package/apr/
F: package/apr-util/
F: package/bcg729/
+F: package/bitcoin/
F: package/bluez-tools/
F: package/boinc/
F: package/clamav/
@@ -468,7 +472,7 @@ N: Bogdan Radulescu <bogdan@nimblex.net>
F: package/iftop/
F: package/ncdu/
-N: Brandon Maier <brandon.maier@rockwellcollins.com>
+N: Brandon Maier <brandon.maier@collins.com>
F: package/vmtouch/
N: Brock Williams <brock@cottonwoodcomputer.com>
@@ -509,13 +513,10 @@ N: Christian Kellermann <christian.kellermann@solectrix.de>
F: package/python-pylibftdi/
N: Christian Stewart <christian@paral.in>
-F: linux/linux-ext-aufs.mk
-F: package/aufs/
-F: package/aufs-util/
F: package/batman-adv/
+F: package/containerd/
F: package/delve/
F: package/docker-cli/
-F: package/docker-containerd/
F: package/docker-engine/
F: package/docker-proxy/
F: package/fuse-overlayfs/
@@ -572,7 +573,7 @@ F: package/perl-sys-mmap/
F: package/perl-time-parsedate/
F: package/perl-x10/
-N: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
+N: Clayton Shotwell <clayton.shotwell@collins.com>
F: package/audit/
F: package/checkpolicy/
F: package/cpio/
@@ -674,6 +675,20 @@ F: package/libstrophe/
N: Derrick Lyndon Pallas <derrick@meter.com>
F: package/ipcalc/
+N: Dick Olsson <hi@senzilla.io>
+F: package/bearssl/
+F: package/bitcoin/
+F: package/execline/
+F: package/mdevd/
+F: package/s6-dns/
+F: package/s6-linux-init/
+F: package/s6-linux-utils/
+F: package/s6-networking/
+F: package/s6-portable-utils/
+F: package/s6-rc/
+F: package/s6/
+F: package/skalibs/
+
N: Dimitrios Siganos <dimitris@siganos.org>
F: package/wireless-regdb/
@@ -689,6 +704,11 @@ F: package/unscd/
N: Dushara Jayasinghe <nidujay@gmail.com>
F: package/prosody/
+N: Edgar Bonet <bonet@grenoble.cnrs.fr>
+F: board/acmesystems/acqua-a5/
+F: configs/acmesystems_acqua_a5_256mb_defconfig
+F: configs/acmesystems_acqua_a5_512mb_defconfig
+
N: Eloi Bail <eloi.bail@savoirfairelinux.com>
F: package/bayer2rgb-neon/
F: package/gstreamer1/gst1-plugins-bayer2rgb-neon/
@@ -921,6 +941,7 @@ F: package/copas/
F: package/coxpcall/
F: package/dado/
F: package/ficl/
+F: package/janet/
F: package/libtomcrypt/
F: package/libtommath/
F: package/libwpe/
@@ -1055,6 +1076,7 @@ F: package/python-wtforms/
N: Guillaume William Brs <guillaume.bressaix@gmail.com>
F: package/libnids/
+F: package/libxcrypt/
F: package/liquid-dsp/
F: package/pixiewps/
F: package/python-pybind/
@@ -1122,6 +1144,7 @@ F: package/exempi/
N: Ismael Luceno <ismael@iodev.co.uk>
F: package/axel/
+F: package/mawk/
N: Jagan Teki <jagan@amarulasolutions.com>
F: board/amarula/
@@ -1204,7 +1227,7 @@ F: package/python-sockjs/
F: package/python-terminaltables/
F: package/python-yarl/
-N: James Knight <james.knight@rockwellcollins.com>
+N: James Knight <james.knight@collins.com>
F: package/atkmm/
F: package/cairomm/
F: package/google-material-design-icons/
@@ -1283,6 +1306,7 @@ F: board/globalscale/espressobin/
F: package/mg/
F: package/netcalc/
F: package/ssdp-responder/
+F: package/sysklogd/
N: Joao Pinto <jpinto@synopsys.com>
F: board/synopsys/vdk/
@@ -1380,6 +1404,10 @@ F: package/libuio/
F: package/netsniff-ng/
F: package/rabbitmq-c/
+N: José Luis Salvador Rufo <salvador.joseluis@gmail.com>
+F: package/zfs/
+F: support/testing/tests/package/test_zfs.py
+
N: Joseph Kogut <joseph.kogut@gmail.com>
F: package/at-spi2-atk/
F: package/at-spi2-core/
@@ -1692,7 +1720,7 @@ F: board/technologic/ts4900/
F: configs/ts4900_defconfig
F: package/ts4900-fpga/
-N: Matt Weber <matthew.weber@rockwellcollins.com>
+N: Matt Weber <matthew.weber@collins.com>
F: board/freescale/p*
F: board/freescale/t*
F: board/qemu/ppc64-e5500/
@@ -1764,6 +1792,7 @@ F: package/python-filelock/
F: package/python-flask-cors/
F: package/python-iptables/
F: package/python-ipy/
+F: package/python-iwlib/
F: package/python-posix-ipc/
F: package/python-pycairo/
F: package/python-pypcap/
@@ -1815,6 +1844,8 @@ N: Max Filippov <jcmvbkbc@gmail.com>
F: arch/Config.in.xtensa
N: Maxim Kochetkov <fido_max@inbox.ru>
+F: package/postgis/
+F: package/protozero/
F: package/timescaledb/
N: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
@@ -1943,7 +1974,7 @@ F: package/php-xdebug/
N: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
F: package/libgit2/
-N: Nicolas Serafini <nicolas.serafini@sensefly.com>
+N: Nicolas Serafini <nicolas.serafini@ik.me>
F: package/exiv2/
F: package/ofono/
@@ -2103,6 +2134,7 @@ F: package/libuev/
F: package/log4cplus/
F: package/postgresql/
F: package/python-colorzero/
+F: package/python-flask-wtf/
F: package/python-gpiozero/
F: package/qt5/
F: package/quotatool/
@@ -2123,6 +2155,7 @@ N: Petr Vorel <petr.vorel@gmail.com>
F: package/ima-evm-utils/
F: package/iproute2/
F: package/iputils/
+F: package/libqrtr-glib/
F: package/libtirpc/
F: package/linux-backports/
F: package/ltp-testsuite/
@@ -2305,10 +2338,12 @@ F: toolchain/
N: Roman Gorbenkov <roman.gorbenkov@ens2m.org>
F: package/davfs2/
-N: Ryan Barnett <ryan.barnett@rockwellcollins.com>
+N: Ryan Barnett <ryan.barnett@collins.com>
F: package/atftp/
F: package/c-periphery/
F: package/miraclecast/
+F: package/opkg/
+F: package/opkg-utils/
F: package/python-pysnmp/
F: package/python-pysnmp-mibs/
F: package/python-tornado/
@@ -2340,7 +2375,7 @@ F: support/misc/toolchainfile.cmake.in
N: Sam Voss <sam.voss@gmail.com>
F: package/ripgrep/
-N: Santosh Multhalli <santosh.multhalli@rockwellcollins.com>
+N: Santosh Multhalli <santosh.multhalli@collins.com>
F: package/valijson/
N: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
@@ -2451,7 +2486,9 @@ F: package/mtdev/
N: Stephane Viau <stephane.viau@oss.nxp.com>
F: board/freescale/imx8mnevk/
+F: board/freescale/imx8mpevk/
F: configs/freescale_imx8mnevk_defconfig
+F: configs/freescale_imx8mpevk_defconfig
N: Steve Calfee <stevecalfee@gmail.com>
F: package/python-pymysql/
@@ -2567,10 +2604,14 @@ F: package/xorcurses/
N: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
F: arch/Config.in.arm
+F: board/beaglev/
F: board/stmicroelectronics/stm32mp157c-dk2/
+F: boot/beaglev-ddrinit/
+F: boot/beaglev-secondboot/
F: boot/boot-wrapper-aarch64/
F: boot/grub2/
F: boot/gummiboot/
+F: configs/beaglev_defconfig
F: configs/stm32mp157c_dk2_defconfig
F: package/android-tools/
F: package/b43-firmware/
@@ -2592,6 +2633,7 @@ F: package/heirloom-mailx/
F: package/hiawatha/
F: package/igh-ethercat/
F: package/intltool/
+F: package/jh71xx-tools/
F: package/libcap/
F: package/libffi/
F: package/libsha1/
@@ -2614,6 +2656,7 @@ F: package/python3/
F: package/python-mad/
F: package/python-serial/
F: package/qextserialport/
+F: package/riscv64-elf-toolchain/
F: package/rpcbind/
F: package/rt-tests/
F: package/rtc-tools/
diff --git a/Makefile b/Makefile
index 13e98e85be..76f14888ea 100644
--- a/Makefile
+++ b/Makefile
@@ -92,9 +92,9 @@ all:
.PHONY: all
# Set and export the version string
-export BR2_VERSION := 2021.02-rc3
+export BR2_VERSION := 2021.05-rc1
# Actual time the release is cut (for reproducible builds)
-BR2_VERSION_EPOCH = 1614447000
+BR2_VERSION_EPOCH = 1620809000
# Save running make version since it's clobbered by the make package
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
diff --git a/board/aarch64-efi/genimage-efi.cfg b/board/aarch64-efi/genimage-efi.cfg
index f93ab9d64f..34cca1d64e 100644
--- a/board/aarch64-efi/genimage-efi.cfg
+++ b/board/aarch64-efi/genimage-efi.cfg
@@ -14,17 +14,19 @@ image efi-part.vfat {
}
image disk.img {
-
hdimage {
+ gpt = true
}
partition boot {
- partition-type = 0xEF
image = "efi-part.vfat"
+ partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b
+ offset = 32768
+ bootable = true
}
partition root {
- partition-type = 0x83
+ partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae
image = "rootfs.ext2"
}
}
diff --git a/board/aarch64-efi/grub.cfg b/board/aarch64-efi/grub.cfg
index ab88da91b9..d99e19c4cd 100644
--- a/board/aarch64-efi/grub.cfg
+++ b/board/aarch64-efi/grub.cfg
@@ -2,5 +2,5 @@ set default="0"
set timeout="5"
menuentry "Buildroot" {
- linux /Image root=/dev/vda2 rootwait console=ttyAMA0
+ linux /Image root=PARTLABEL=root rootwait
}
diff --git a/board/aarch64-efi/readme.txt b/board/aarch64-efi/readme.txt
index 65a6345b6c..164993eea4 100644
--- a/board/aarch64-efi/readme.txt
+++ b/board/aarch64-efi/readme.txt
@@ -1,6 +1,10 @@
The aarch64_efi_defconfig allows to build a minimal Linux system that
-can boot on all AArch64 servers providing an EFI firmware and ACPI.
+can boot on all AArch64 servers providing an EFI firmware.
+
+This includes all Arm EBBR[1] compliant systems, and all Arm SystemReady[2]
+compliant systems for example.
+
Building and booting
====================
@@ -32,3 +36,18 @@ Note that </path/to/QEMU_EFI.fd> needs to point to a valid aarch64 UEFI
firmware image for qemu.
It may be provided by your distribution as a edk2-aarch64 or AAVMF
package, in path such as /usr/share/edk2/aarch64/QEMU_EFI.fd .
+
+U-Boot based qemu firmware
+==========================
+
+A qemu firmware with support for UEFI based on U-Boot can be built following
+the instructions in [3], with qemu_arm64_defconfig.
+
+This should give you a nor_flash.bin, which you can use with qemu as an
+alternative to QEMU_EFI.fd. You will also need to change the machine
+specification to "-M virt,secure" on qemu command line, to enable TrustZone
+support, and you will need to increase the memory with "-m 1024".
+
+[1]: https://github.com/ARM-software/ebbr
+[2]: https://developer.arm.com/architectures/system-architectures/arm-systemready
+[3]: https://github.com/glikely/u-boot-tfa-build
diff --git a/board/acmesystems/acqua-a5/at91-sama5d3_acqua.dts b/board/acmesystems/acqua-a5/at91-sama5d3_acqua.dts
new file mode 100644
index 0000000000..264af29809
--- /dev/null
+++ b/board/acmesystems/acqua-a5/at91-sama5d3_acqua.dts
@@ -0,0 +1,301 @@
+/*
+ * acme-acqua.dts - Device Tree file for Acqua A5 Board
+ *
+ * Copyright (C) 2014 Atmel,
+ * 2014 Nicolas Ferre <nicolas.ferre@atmel.com>
+ *
+ * 2020 Sergio Tanzilli <tanzilli@acmesystems.it>
+ *
+ * Licensed under GPLv2 or later.
+ */
+/dts-v1/;
+#include "sama5d31.dtsi"
+
+/ {
+ model = "Acme Systems Acqua SOM";
+ compatible = "acme,acqua", "atmel,sama5d3", "atmel,sama5";
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ bootargs = "mem=256M console=ttyS0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait consoleblank=0";
+ };
+
+ memory {
+ reg = <0x20000000 0x10000000>;
+ };
+
+ clocks {
+ slow_xtal {
+ clock-frequency = <32768>;
+ };
+
+ main_xtal {
+ clock-frequency = <12000000>;
+ };
+ };
+
+ ahb {
+ apb {
+ hlcdc: hlcdc@f0030000 {
+ status = "disabled";
+ hlcdc-display-controller {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888_alt>;
+ port@0 {
+ hlcdc_panel_output: endpoint@0 {
+ remote-endpoint = <&panel_input>;
+ };
+ };
+ };
+ };
+
+ /* MicroSD mounted on the SOM */
+
+ mmc0: mmc@f0000000 {
+ pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_cd>;
+ status = "okay";
+ slot@0 {
+ reg = <0>;
+ bus-width = <4>;
+ };
+ };
+
+ /* Optional MicroSD to mount on the carrier board */
+
+ mmc1: mmc@f8000000 {
+ pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3 &pinctrl_mmc1_cd>;
+ status = "disabled";
+ slot@0 {
+ reg = <0>;
+ bus-width = <4>;
+ cd-gpios = <&pioE 1 GPIO_ACTIVE_LOW>;
+ };
+ };
+
+ spi0: spi@f0004000 {
+ cs-gpios = <&pioD 13 0>, <0>, <0>, <&pioD 16 0>;
+ status = "disabled";
+ };
+
+ can0: can@f000c000 {
+ status = "disabled";
+ };
+
+ tcb0: timer@f0010000 {
+ timer0: timer@0 {
+ compatible = "atmel,tcb-timer";
+ reg = <0>;
+ };
+
+ timer1: timer@1 {
+ compatible = "atmel,tcb-timer";
+ reg = <1>;
+ };
+ };
+
+ i2c0: i2c@f0014000 {
+ pinctrl-0 = <&pinctrl_i2c0_pu>;
+ status = "disabled";
+ };
+
+ i2c1: i2c@f0018000 {
+ status = "disabled";
+ };
+
+ macb1: ethernet@f802c000 {
+ compatible = "atmel,sama5d3-macb", "cdns,at91sam9260-macb", "cdns,macb";
+
+ status = "okay";
+ phy-mode = "rmii";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ nvmem-cells = <&eth0_addr>;
+ nvmem-cell-names = "mac-address";
+
+ phy0: ethernet-phy@1 {
+ interrupt-parent = <&pioE>;
+ interrupts = <30 IRQ_TYPE_EDGE_FALLING>;
+ reg = <1>;
+ };
+
+ /*ethernet-phy@1 {
+ reg = <0x1>;
+ };*/
+ };
+
+ /* Bit banging internal I2C to manage the AT24MAC402 chip */
+
+ i2c3@ {
+ compatible = "i2c-gpio";
+ gpios = <&pioE 1 0 /* SDA */
+ &pioE 2 0 /* SCK */
+ >;
+ i2c-gpio,delay-us = <4>; /* ~178 kHz */
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ /* EEPROM contains the eth0 MAC address */
+
+ eeprom@58 {
+ compatible = "atmel,24mac402";
+ pagesize = <256>;
+ read-only;
+ reg = <0x58>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eth0_addr: eth-mac-addr@9A {
+ reg = <0x0 0x06>;
+ };
+ };
+ };
+
+ pwm0: pwm@f002c000 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_pwm0_pwmh0_0 &pinctrl_pwm0_pwmh1_0>;
+ status = "disabled";
+ };
+
+ usart0: serial@f001c000 {
+ status = "okay";
+ };
+
+ usart1: serial@f0020000 {
+ pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts_cts>;
+ status = "disabled";
+ };
+
+ uart0: serial@f0024000 {
+ status = "disabled";
+ };
+
+
+ spi1: spi@f8008000 {
+ cs-gpios = <&pioC 25 0>;
+ status = "disabled";
+ };
+
+ adc0: adc@f8018000 {
+ atmel,adc-vref = <3300>;
+ atmel,adc-channels-used = <0xfe>;
+ pinctrl-0 = <
+ &pinctrl_adc0_adtrg
+ &pinctrl_adc0_ad1
+ &pinctrl_adc0_ad2
+ &pinctrl_adc0_ad3
+ &pinctrl_adc0_ad4
+ &pinctrl_adc0_ad5
+ &pinctrl_adc0_ad6
+ &pinctrl_adc0_ad7
+ >;
+ status = "disabled";
+ };
+
+ i2c2: i2c@f801c000 {
+ dmas = <0>, <0>; /* Do not use DMA for i2c2 */
+ pinctrl-0 = <&pinctrl_i2c2_pu>;
+ status = "disabled";
+ };
+
+
+ dbgu: serial@ffffee00 {
+ status = "okay";
+ };
+
+ pinctrl@fffff200 {
+ board {
+ pinctrl_i2c0_pu: i2c0_pu {
+ atmel,pins =
+ <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
+ <AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
+ };
+
+ pinctrl_i2c2_pu: i2c2_pu {
+ atmel,pins =
+ <AT91_PIOA 18 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>,
+ <AT91_PIOA 19 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>;
+ };
+
+ pinctrl_key_gpio: key_gpio_0 {
+ atmel,pins =
+ <AT91_PIOE 29 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
+ };
+
+ pinctrl_mmc0_cd: mmc0_cd {
+ atmel,pins =
+ <AT91_PIOE 0 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
+ };
+
+ pinctrl_mmc1_cd: mmc1_cd {
+ atmel,pins =
+ <AT91_PIOE 1 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
+ };
+
+ pinctrl_usba_vbus: usba_vbus {
+ atmel,pins =
+ <AT91_PIOE 9 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PE9, conflicts with A9 */
+ };
+ };
+ };
+ };
+
+ usb0: gadget@500000 {
+ status = "okay";
+ };
+
+ usb1: ohci@600000 {
+ status = "okay";
+ };
+
+ usb2: ehci@700000 {
+ status = "okay";
+ };
+
+ };
+
+
+ panel: panel {
+ /* compatible = "acme,43inch", "simple-panel"; */
+ compatible = "acme,50inch", "simple-panel";
+ /* compatible = "acme,70inch", "simple-panel"; */
+
+ status = "disable";
+
+ port@0 {
+ panel_input: endpoint@0 {
+ remote-endpoint = <&hlcdc_panel_output>;
+ };
+ };
+ };
+
+
+ leds {
+ compatible = "gpio-leds";
+
+ led0 {
+ label = "led0";
+ gpios = <&pioE 3 GPIO_ACTIVE_LOW>;
+ default-state = "off";
+ };
+
+ led1 {
+ label = "led1";
+ gpios = <&pioE 4 GPIO_ACTIVE_LOW>;
+ default-state = "off";
+ };
+
+ led2 {
+ label = "led2";
+ gpios = <&pioE 5 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "heartbeat";
+ };
+
+ led3 {
+ label = "led3";
+ gpios = <&pioE 6 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "mmc0";
+ default-state = "off";
+ };
+ };
+};
diff --git a/board/beaglebone/genimage_linux41.cfg b/board/acmesystems/acqua-a5/genimage.cfg
index ba60297dde..63b003f378 100644
--- a/board/beaglebone/genimage_linux41.cfg
+++ b/board/acmesystems/acqua-a5/genimage.cfg
@@ -1,14 +1,11 @@
+# Minimal SD card image for the Acme Systems Acqua A5
+
image boot.vfat {
vfat {
files = {
- "MLO",
- "u-boot.img",
+ "boot.bin",
"zImage",
- "uEnv.txt",
- "am335x-evm.dtb",
- "am335x-evmsk.dtb",
- "am335x-bone.dtb",
- "am335x-boneblack.dtb",
+ "at91-sama5d3_acqua.dtb"
}
}
size = 16M
@@ -18,15 +15,14 @@ image sdcard.img {
hdimage {
}
- partition u-boot {
+ partition boot {
partition-type = 0xC
bootable = "true"
- image = "boot.vfat"
+ image = "boot.vfat"
}
partition rootfs {
partition-type = 0x83
image = "rootfs.ext4"
- size = 512M
}
}
diff --git a/board/acmesystems/acqua-a5/readme.txt b/board/acmesystems/acqua-a5/readme.txt
new file mode 100644
index 0000000000..ce7dbafb29
--- /dev/null
+++ b/board/acmesystems/acqua-a5/readme.txt
@@ -0,0 +1,44 @@
+Acme Systems Acqua A5
+
+Intro
+=====
+
+The Acqua A5 is a system on module based on the Microchip SAMA5D31 SoC:
+
+ https://www.acmesystems.it/acqua
+
+The files here support configurations that build a microSD image for a
+minimal system that can be accessed through the serial console. You will
+need an USB-to-serial interface in order to access that console from
+your computer:
+
+ https://www.acmesystems.it/DPI
+
+How to build the image
+======================
+
+If you have an Acqua module with 256 MiB of RAM, type:
+
+$ make acmesystems_acqua_a5_256mb_defconfig
+
+If you have the 512 MiB version, type instead:
+
+$ make acmesystems_acqua_a5_512mb_defconfig
+
+You can optionally tweak the configuration and add packages by typing:
+
+$ make menuconfig
+
+Then, proceed with the build:
+
+$ make
+
+How to write the microSD card
+=============================
+
+The system image is the file "sdcard.img" in the "output/images"
+directory. Write it to the card by invoking:
+
+$ sudo dd if=output/images/sdcard.img of=/dev/sdX bs=1M
+
+where `sdX' is the block device representing the microSD card.
diff --git a/board/beaglev/extlinux.conf b/board/beaglev/extlinux.conf
new file mode 100644
index 0000000000..c5444d094c
--- /dev/null
+++ b/board/beaglev/extlinux.conf
@@ -0,0 +1,4 @@
+label linux
+ kernel /boot/Image
+ devicetree /boot/starfive_vic7100_beagle_v.dtb
+ append console=ttyS0,115200 earlyprintk root=PARTUUID=0fef845a-c6e1-45bc-82f7-002fa720f958 rootwait
diff --git a/board/beaglev/genimage.cfg b/board/beaglev/genimage.cfg
new file mode 100644
index 0000000000..f38bb7f86c
--- /dev/null
+++ b/board/beaglev/genimage.cfg
@@ -0,0 +1,12 @@
+image sdcard.img {
+ hdimage {
+ gpt = true
+ }
+
+ partition rootfs {
+ partition-type-uuid = 72ec70a6-cf74-40e6-bd49-4bda08e8f224
+ partition-uuid = 0fef845a-c6e1-45bc-82f7-002fa720f958
+ bootable = "true"
+ image = "rootfs.ext4"
+ }
+}
diff --git a/board/beaglev/patches/uboot/0001-include-configs-starfive-vic7100-adjust-fdt_addr_r.patch b/board/beaglev/patches/uboot/0001-include-configs-starfive-vic7100-adjust-fdt_addr_r.patch
new file mode 100644
index 0000000000..74d70f2721
--- /dev/null
+++ b/board/beaglev/patches/uboot/0001-include-configs-starfive-vic7100-adjust-fdt_addr_r.patch
@@ -0,0 +1,39 @@
+From 2c4c813940c577590f3352cef0c49a8def17905d Mon Sep 17 00:00:00 2001
+From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
+Date: Wed, 28 Apr 2021 22:58:45 +0200
+Subject: [PATCH] include/configs/starfive-vic7100: adjust fdt_addr_r
+
+The default fdt_addr_r of 0x88000000 doesn't work, the kernel never
+boots. Using 0x90000000 works fine.
+
+Since it would overlap with the kernel_comp_addr_r area, this one is
+moved 16 MB further, at 0x91000000.
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
+---
+ include/configs/starfive-vic7100.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/include/configs/starfive-vic7100.h b/include/configs/starfive-vic7100.h
+index 8c5915a73c..7150a23873 100644
+--- a/include/configs/starfive-vic7100.h
++++ b/include/configs/starfive-vic7100.h
+@@ -111,13 +111,13 @@
+ "fdt_high=0xffffffffffffffff\0" \
+ "initrd_high=0xffffffffffffffff\0" \
+ "kernel_addr_r=0x84000000\0" \
+- "fdt_addr_r=0x88000000\0" \
++ "fdt_addr_r=0x90000000\0" \
+ "scriptaddr=0x88100000\0" \
+ "script_offset_f=0x1fff000\0" \
+ "script_size_f=0x1000\0" \
+ "pxefile_addr_r=0x88200000\0" \
+ "ramdisk_addr_r=0x88300000\0" \
+- "kernel_comp_addr_r=0x90000000\0" \
++ "kernel_comp_addr_r=0x91000000\0" \
+ "kernel_comp_size=0x10000000\0" \
+ "type_guid_gpt_loader1=" TYPE_GUID_LOADER1 "\0" \
+ "type_guid_gpt_loader2=" TYPE_GUID_LOADER2 "\0" \
+--
+2.30.2
+
diff --git a/board/beaglev/post-build.sh b/board/beaglev/post-build.sh
new file mode 100755
index 0000000000..b19b9bf6d0
--- /dev/null
+++ b/board/beaglev/post-build.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+BOARD_DIR=$(dirname $0)
+
+# The DTB to use is provided within the U-Boot source tree, so we grab
+# it from there, and install it to TARGET_DIR/boot/.
+eval $(make -C ${CONFIG_DIR} --no-print-directory QUOTED_VARS=YES VARS=UBOOT_DIR printvars)
+install -D -m0644 ${UBOOT_DIR}/arch/riscv/dts/starfive_vic7100_beagle_v.dtb \
+ ${TARGET_DIR}/boot/starfive_vic7100_beagle_v.dtb
+
+# Bring the extlinux.conf file in.
+install -D -m 0644 ${BOARD_DIR}/extlinux.conf \
+ ${TARGET_DIR}/boot/extlinux/extlinux.conf
+
+# To be reflashed through Xmodem, the bootloader needs to be prepended
+# with a 4-byte header that contains the total size of the file.
+perl -e 'print pack("l", (stat @ARGV[0])[7])' ${BINARIES_DIR}/fw_payload.bin > ${BINARIES_DIR}/fw_payload.bin.out
+cat ${BINARIES_DIR}/fw_payload.bin >> ${BINARIES_DIR}/fw_payload.bin.out
diff --git a/board/beaglev/readme.txt b/board/beaglev/readme.txt
new file mode 100644
index 0000000000..60678059e1
--- /dev/null
+++ b/board/beaglev/readme.txt
@@ -0,0 +1,124 @@
+BeagleV
+=======
+
+BeagleV is a low-cost RISC-V 64-bit based platform, powered by a
+Starfive JH7100 processor. The current defconfig in Buildroot has been
+tested with the JH7100 chip used on the beta version of the BeagleV
+board.
+
+How to build
+============
+
+$ make beaglev_defconfig
+$ make
+
+Build results
+=============
+
+After building, output/images contains:
+
++ bootloader-BEAGLEV-buildroot.bin.out
++ ddrinit-2133-buildroot.bin.out
++ Image
++ fw_payload.bin
++ fw_payload.bin.out
++ fw_payload.elf
++ rootfs.ext2
++ rootfs.ext4
++ sdcard.img
++ u-boot.bin
+
+The four important files are:
+
+ - bootloader-BEAGLEV-buildroot.bin.out, the first stage bootloader
+
+ - ddrinit-2133-buildroot.bin.out, the DDR initialization firmware
+
+ - fw_payload.bin.out, which is the bootloader image, containing
+ both OpenSBI and U-Boot.
+
+ - sdcard.img, the SD card image, which contains the root filesystem,
+ kernel image and Device Tree.
+
+Flashing the SD card image
+==========================
+
+$ sudo dd if=output/images/sdcard.img of=/dev/sdX
+
+Preparing the board
+===================
+
+Connect the Beagle-V fan to the 5V supply (pin 2 or 4 of the GPIO
+connector) and GND (pin 6 of the GPIO connector).
+
+Connect a TTL UART cable to pin 8 (TX), 10 (RX) and 14 (GND).
+
+Insert your SD card.
+
+Power-up the board using an USB-C cable.
+
+Flashing OpenSBI/U-Boot
+=======================
+
+The bootloader pre-flashed on the Beagle-V has a non-working
+fdt_addr_r environment variable value, so it won't work
+as-is. Reflashing the bootloader with the bootloader image produced by
+Buildroot is necessary.
+
+When the board starts up, a pre-loader shows a count down of 2
+seconds, interrupt by pressing any key. You should reach a menu like
+this:
+
+--------8<----------
+
+bootloader version:210209-4547a8d
+ddr 0x00000000, 1M test
+ddr 0x00100000, 2M test
+DDR clk 2133M,Version: 210302-5aea32f
+0
+***************************************************
+*************** FLASH PROGRAMMING *****************
+***************************************************
+
+0:update uboot
+1:quit
+select the function:
+
+--------8<----------
+
+Press 0 and Enter. You will now see "C" characters being
+displayed. Ask your serial port communication program to send
+fw_payload.bin.out using the Xmodem protocol.
+
+After reflashing is complete, restart the board, it will automatically
+start the system from the SD card, and reach the login prompt.
+
+Flashing low-level bootloaders
+==============================
+
+The BeagleV comes pre-flashed with functional low-level bootloaders
+(called "secondboot" and "ddrinit"). Re-flashing them is not necessary
+to use this Buildroot defconfig. However, for the sake of
+completeness, Buildroot builds and provides those low-level bootloader
+images.
+
+You can flash them as follows:
+
+ - In the same "pre-loader" menu as the one used above, instead of
+ entering 0 or 1, enter the magic "root@s5t" string. This enters the
+ "expert" features.
+
+ - Then, press 0 and send over X-modem the
+ bootloader-BEAGLEV-buildroot.bin.out file.
+
+ - Then, press 1 and send over X-modem the
+ ddrinit-2133-buildroot.bin.out.
+
+Note that the reflashing mechanism itself relies on those low-level
+bootloaders, so if you flash non-working versions, you'll have to go
+through a recovery process. This requires wiring up to a separate
+debug UART, which pins are located near the HDMI connector. See
+https://wiki.seeedstudio.com/BeagleV-Update-bootloader-ddr-init-boot-uboot-Recover-bootloader/
+section "Recover the bootloader" for more details. The instructions
+make use of a jh7100-recover tool, which Buildroot has built as part
+of this defconfig: it is available as output/host/bin/jh7100-recover.
diff --git a/board/boundarydevices/common/boot.cmd b/board/boundarydevices/common/boot.cmd
index dbc3b3c373..2f2bd8d045 100644
--- a/board/boundarydevices/common/boot.cmd
+++ b/board/boundarydevices/common/boot.cmd
@@ -1,17 +1,20 @@
setenv bootargs ''
-setenv initrd_high 0xffffffff
m4=''
kernelimage=zImage
bootcommand=bootz
a_base=0x10000000
-if itest.s x51 == "x${imx_cpu}" ; then
+
+#grab 1st 2/3 characters of string
+setexpr cpu2 sub "^(..?).*" "\\1" "${imx_cpu}"
+setexpr cpu3 sub "^(..?.?).*" "\\1" "${imx_cpu}"
+if itest.s x51 == "x${cpu2}" ; then
a_base=0x90000000
-elif itest.s x53 == "x${imx_cpu}"; then
+elif itest.s x53 == "x${cpu2}"; then
a_base=0x70000000
-elif itest.s x6SX == "x${imx_cpu}" || itest.s x6ULL == "x${imx_cpu}" || itest.s x7D == "x${imx_cpu}"; then
+elif itest.s x6SX == "x${cpu3}" || itest.s x6U == "x${cpu2}" || itest.s x7D == "x${cpu2}"; then
a_base=0x80000000
-elif itest.s x8MQ == "x${imx_cpu}" || itest.s x8MM == "x${imx_cpu}" || itest.s x8MMQ == "x${imx_cpu}" || itest.s x8MNano == "x${imx_cpu}"; then
+elif itest.s x8M == "x${cpu2}"; then
a_base=0x40000000
kernelimage=Image
bootcommand=booti
@@ -24,8 +27,7 @@ fi
setexpr a_script ${a_base} + 0x00800000
setexpr a_zImage ${a_base} + 0x00800000
setexpr a_fdt ${a_base} + 0x03000000
-setexpr a_ramdisk ${a_base} + 0x03800000
-setexpr a_initrd ${a_base} + 0x03a00000
+setexpr a_initrd ${a_base} + 0x03100000
setexpr a_reset_cause_marker ${a_base} + 0x80
setexpr a_reset_cause ${a_base} + 0x84
@@ -35,30 +37,32 @@ if itest.s "x" == "x${board}" ; then
fi
if itest.s "x" == "x${fdt_file}" ; then
- if itest.s x6SOLO == "x${imx_cpu}" ; then
- fdt_file=imx6dl-${board}.dtb;
- elif itest.s x6DL == "x${imx_cpu}" ; then
+ if itest.s x51 == "x${cpu2}" ; then
+ fdt_file=imx51-${board}${m4}.dtb;
+ elif itest.s x53 == "x${cpu2}" ; then
+ fdt_file=imx53-${board}${m4}.dtb;
+ elif itest.s x6DL == "x${cpu3}" || itest.s x6SO == "x${cpu3}" ; then
fdt_file=imx6dl-${board}.dtb;
- elif itest.s x6QP == "x${imx_cpu}" ; then
+ elif itest.s x6QP == "x${cpu3}" ; then
fdt_file=imx6qp-${board}.dtb;
- elif itest.s x6SX == "x${imx_cpu}" ; then
+ elif itest.s x6SX == "x${cpu3}" ; then
fdt_file=imx6sx-${board}${m4}.dtb;
- elif itest.s x6ULL == "x${imx_cpu}" ; then
+ elif itest.s x6UL == "x${cpu3}" ; then
fdt_file=imx6ull-${board}.dtb;
- elif itest.s x7D == "x${imx_cpu}" ; then
+ elif itest.s x7D == "x${cpu2}" ; then
fdt_file=imx7d-${board}${m4}.dtb;
- elif itest.s x8MQ == "x${imx_cpu}" ; then
- fdt_file=imx8mq-${board}${m4}.dtb;
- elif itest.s x8MM == "x${imx_cpu}" ; then
+ elif itest.s x8MM == "x${cpu3}" ; then
fdt_file=imx8mm-${board}${m4}.dtb;
- elif itest.s x8MMQ == "x${imx_cpu}" ; then
- fdt_file=imx8mm-${board}${m4}.dtb;
- elif itest.s x8MNano == "x${imx_cpu}" ; then
+ elif itest.s x8MN == "x${cpu3}" ; then
fdt_file=imx8mn-${board}${m4}.dtb;
- elif itest.s x51 == "x${imx_cpu}" ; then
- fdt_file=imx51-${board}.dtb;
- elif itest.s x53 == "x${imx_cpu}" ; then
- fdt_file=imx53-${board}.dtb;
+ elif itest.s x8MP == "x${cpu3}" ; then
+ if itest *0x30360800 == 0x00824310 ; then
+ fdt_file=imx8mp-a0-${board}${m4}.dtb;
+ else
+ fdt_file=imx8mp-${board}${m4}.dtb;
+ fi
+ elif itest.s x8MQ == "x${cpu3}" ; then
+ fdt_file=imx8mq-${board}${m4}.dtb;
else
fdt_file=imx6q-${board}.dtb;
fi
@@ -71,11 +75,20 @@ fi
if load ${devtype} ${devnum}:${distro_bootpart} ${a_script} uEnv.txt ; then
env import -t ${a_script} ${filesize}
fi
-setenv bootargs ${bootargs} console=${console},115200 vmalloc=400M consoleblank=0 rootwait fixrtc cpu=${imx_cpu} board=${board}
+
+if itest.s x${console} != x ; then
+ setenv bootargs ${bootargs} console=${console},115200
+fi
+if itest.s "x" == "x$vmalloc" ; then
+ vmalloc=400M
+fi
+if itest.s x${consoleblank} == x ; then
+ consoleblank=0
+fi
+setenv bootargs ${bootargs} vmalloc=${vmalloc} consoleblank=${consoleblank} rootwait fixrtc cpu=${imx_cpu} board=${board} uboot_release=${uboot_release}
if load ${devtype} ${devnum}:${distro_bootpart} ${a_fdt} ${prefix}${fdt_file} ; then
fdt addr ${a_fdt}
- setenv fdt_high 0xffffffff
else
echo "!!!! Error loading ${prefix}${fdt_file}";
exit;
diff --git a/board/boundarydevices/common/readme.txt b/board/boundarydevices/common/readme.txt
index 307cfb5549..d3169b08f5 100644
--- a/board/boundarydevices/common/readme.txt
+++ b/board/boundarydevices/common/readme.txt
@@ -31,6 +31,9 @@ Here is the list of targeted platforms per defconfig:
- Nitrogen8MNano
- Nitrogen8MNano_SOM
+- nitrogen8mp_defconfig
+ - Nitrogen8MPlus_SOM
+
To install, simply copy the image to your storage (SD, eMMC, USB):
$ sudo dd if=output/images/sdcard.img of=/dev/sdX
diff --git a/board/boundarydevices/common/upgrade.cmd b/board/boundarydevices/common/upgrade.cmd
index ce32d77b5b..a26bacd9aa 100644
--- a/board/boundarydevices/common/upgrade.cmd
+++ b/board/boundarydevices/common/upgrade.cmd
@@ -9,18 +9,24 @@ qspi_offset=0x0
a_base=0x12000000
block_size=0x200
-if itest.s x51 == "x${imx_cpu}"; then
+#grab 1st 2/3 characters of string
+setexpr cpu2 sub "^(..?).*" "\\1" "${imx_cpu}"
+setexpr cpu3 sub "^(..?.?).*" "\\1" "${imx_cpu}"
+if itest.s x51 == "x${cpu2}"; then
a_base=0x92000000
-elif itest.s x53 == "x${imx_cpu}"; then
+elif itest.s x53 == "x${cpu2}"; then
a_base=0x72000000
-elif itest.s x6SX == "x${imx_cpu}" || itest.s x6ULL == "x${imx_cpu}" || itest.s x7D == "x${imx_cpu}"; then
+elif itest.s x6SX == "x${cpu3}" || itest.s x6U == "x${cpu2}" || itest.s x7D == "x${cpu2}"; then
a_base=0x82000000
-elif itest.s x8MQ == "x${imx_cpu}" || itest.s x8MM == "x${imx_cpu}" || itest.s x8MMQ == "x${imx_cpu}"; then
+elif itest.s x8M == "x${cpu2}"; then
a_base=0x42000000
offset=0x8400
-elif itest.s x8MNano == "x${imx_cpu}"; then
- a_base=0x42000000
- offset=0x8000
+ if itest.s x8MN == "x${cpu3}" || itest.s x8MP == "x${cpu3}"; then
+ offset=0x8000
+ if itest ${env_part} != 0 ; then
+ offset=0x0
+ fi
+ fi
fi
qspi_match=1
@@ -30,7 +36,10 @@ setexpr a_uImage1 ${a_qspi1} + 0x400
setexpr a_uImage2 ${a_qspi2} + 0x400
setexpr a_script ${a_base}
-setenv stdout serial,vga
+if itest.s "x${vidconsole}" == "x" ; then
+ vidconsole=vga
+fi
+setenv stdout serial,${vidconsole}
if itest.s "x${sfname}" == "x" ; then
# U-Boot resides in (e)MMC
diff --git a/board/freescale/common/imx/imx8-bootloader-prepare.sh b/board/freescale/common/imx/imx8-bootloader-prepare.sh
index cb7c37bfcd..56f65e3126 100755
--- a/board/freescale/common/imx/imx8-bootloader-prepare.sh
+++ b/board/freescale/common/imx/imx8-bootloader-prepare.sh
@@ -29,6 +29,13 @@ main ()
rm -f ${BINARIES_DIR}/u-boot.its
${HOST_DIR}/bin/mkimage_imx8 -v v2 -fit -loader ${BINARIES_DIR}/u-boot-spl-ddr.bin 0x912000 -second_loader ${BINARIES_DIR}/u-boot.itb 0x40200000 0x60000 -out ${BINARIES_DIR}/imx8-boot-sd.bin
+ elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP=y$" ${BR2_CONFIG}; then
+ cat ${BINARIES_DIR}/u-boot-spl.bin ${BINARIES_DIR}/ddr_fw.bin > ${BINARIES_DIR}/u-boot-spl-ddr.bin
+ BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot-nodtb.bin ATF_LOAD_ADDR=0x00970000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its
+ ${HOST_DIR}/bin/mkimage -E -p 0x3000 -f ${BINARIES_DIR}/u-boot.its ${BINARIES_DIR}/u-boot.itb
+ rm -f ${BINARIES_DIR}/u-boot.its
+
+ ${HOST_DIR}/bin/mkimage_imx8 -v v2 -fit -loader ${BINARIES_DIR}/u-boot-spl-ddr.bin 0x920000 -second_loader ${BINARIES_DIR}/u-boot.itb 0x40200000 0x60000 -out ${BINARIES_DIR}/imx8-boot-sd.bin
else
${HOST_DIR}/bin/mkimage_imx8 -commit > ${BINARIES_DIR}/mkimg.commit
cat ${BINARIES_DIR}/u-boot.bin ${BINARIES_DIR}/mkimg.commit > ${BINARIES_DIR}/u-boot-hash.bin
diff --git a/board/freescale/common/imx/post-image.sh b/board/freescale/common/imx/post-image.sh
index 06ccaac3a4..0c2ef53dc6 100755
--- a/board/freescale/common/imx/post-image.sh
+++ b/board/freescale/common/imx/post-image.sh
@@ -40,6 +40,8 @@ genimage_type()
echo "genimage.cfg.template_imx8"
elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN=y$" ${BR2_CONFIG}; then
echo "genimage.cfg.template_imx8"
+ elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP=y$" ${BR2_CONFIG}; then
+ echo "genimage.cfg.template_imx8"
elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X=y$" ${BR2_CONFIG}; then
echo "genimage.cfg.template_imx8"
elif grep -Eq "^BR2_LINUX_KERNEL_INSTALL_TARGET=y$" ${BR2_CONFIG}; then
diff --git a/board/freescale/imx8mpevk/readme.txt b/board/freescale/imx8mpevk/readme.txt
new file mode 100644
index 0000000000..dfc95af3ea
--- /dev/null
+++ b/board/freescale/imx8mpevk/readme.txt
@@ -0,0 +1,71 @@
+*********************
+NXP i.MX8MP EVK board
+*********************
+
+This file documents the Buildroot support for the i.MX 8M Plus EVK board.
+
+Build
+=====
+
+First, configure Buildroot for the i.MX 8M Plus EVK board:
+
+ make freescale_imx8mpevk_defconfig
+
+Build all components:
+
+ make
+
+You will find in output/images/ the following files:
+ - bl31.bin
+ - boot.vfat
+ - ddr_fw.bin
+ - Image
+ - imx8-boot-sd.bin
+ - imx8mp-evk.dtb
+ - lpddr4_pmu_train_fw.bin
+ - rootfs.ext2
+ - rootfs.ext4
+ - rootfs.tar
+ - sdcard.img
+ - u-boot.bin
+ - u-boot.itb
+ - u-boot-nodtb.bin
+ - u-boot-spl.bin
+ - u-boot-spl-ddr.bin
+
+Create a bootable SD card
+=========================
+
+To determine the device associated to the SD card have a look in the
+/proc/partitions file:
+
+ cat /proc/partitions
+
+Buildroot prepares a bootable "sdcard.img" image in the output/images/
+directory, ready to be dumped on a SD card. Launch the following
+command as root:
+
+ dd if=output/images/sdcard.img of=/dev/<your-sd-device>
+
+*** WARNING! This will destroy all the card content. Use with care! ***
+
+For details about the medium image layout, see the definition in
+board/freescale/common/imx/genimage.cfg.template_imx8.
+
+Boot the i.MX 8M Plus EVK board
+===============================
+
+To boot your newly created system (refer to the i.MX 8M Plus EVK Documentation
+[1] for guidance):
+- insert the SD card in the SD slot of the board;
+- Configure the switches as follows (X = "don't care"):
+SW4: 0011 SW4[1-4]
+- put a micro USB cable into the Debug USB Port and connect using a terminal
+ emulator at 115200 bps, 8n1;
+- power on the board.
+
+Enjoy!
+
+References
+==========
+[1] https://www.nxp.com/document/guide/get-started-with-the-i-mx-8m-plus-evk:GS-iMX-8M-Plus-EVK
diff --git a/board/qemu/arm-vexpress-tz/post-build.sh b/board/qemu/arm-vexpress-tz/post-build.sh
index 7ead69a99a..97cc53791c 100755
--- a/board/qemu/arm-vexpress-tz/post-build.sh
+++ b/board/qemu/arm-vexpress-tz/post-build.sh
@@ -3,8 +3,7 @@
set -u
set -e
-# Rename boot images for the dear TF-A
-ln -sf u-boot.bin ${BINARIES_DIR}/bl33.bin
-ln -sf tee-header_v2.bin ${BINARIES_DIR}/bl32.bin
-ln -sf tee-pager_v2.bin ${BINARIES_DIR}/bl32_extra1.bin
-ln -sf tee-pageable_v2.bin ${BINARIES_DIR}/bl32_extra2.bin
+# Create flash.bin TF-A FIP image from bl1.bin and fip.bin
+cd "$BINARIES_DIR"
+dd if=bl1.bin of=flash.bin bs=4096
+dd if=fip.bin of=flash.bin seek=64 bs=4096 conv=notrunc
diff --git a/board/qemu/arm-vexpress-tz/readme.txt b/board/qemu/arm-vexpress-tz/readme.txt
index abce750291..7e62e943a6 100644
--- a/board/qemu/arm-vexpress-tz/readme.txt
+++ b/board/qemu/arm-vexpress-tz/readme.txt
@@ -6,11 +6,10 @@ builds of the QEMU host ARM target emulator.
make qemu_arm_vexpress_tz_defconfig
make
-The BIOS used in the QEMU host is the ARM Trusted Firmware-A (TF-A). TF-A
-uses QEMU semihosting file access to access boot image files. The
-QEMU platform is quite specific for that in TF-A and one needs to
-run the emulation from the image directory for TF-A to boot the
-secure and non-secure worlds.
+The BIOS used in the QEMU host is the ARM Trusted Firmware-A (TF-A).
+In our configuration, U-Boot uses QEMU semihosting file access to load the
+kernel and rootfs image files. For this reason the emulation needs to be run
+from the image directory:
cd output/images && ../host/bin/qemu-system-arm \
-machine virt -machine secure=on -cpu cortex-a15 \
@@ -18,7 +17,7 @@ secure and non-secure worlds.
-serial stdio \
-netdev user,id=vmnic -device virtio-net-device,netdev=vmnic \
-semihosting-config enable,target=native \
- -bios bl1.bin # qemu_arm_vexpress_tz_defconfig
+ -bios flash.bin # qemu_arm_vexpress_tz_defconfig
The boot stage traces (if any) followed by the login prompt will appear
in the terminal that started QEMU.
@@ -64,7 +63,7 @@ consoles over telnet connections:
-serial telnet:127.0.0.1:1236,server \
-netdev user,id=vmnic -device virtio-net-device,netdev=vmnic \
-semihosting-config enable,target=native \
- -bios bl1.bin
+ -bios flash.bin
QEMU is now waiting for the telnet connection. From another shell, open a
telnet connection on the port for the U-boot and Linux consoles:
@@ -93,7 +92,7 @@ From a first shell:
-serial stdio \
-netdev user,id=vmnic -device virtio-net-device,netdev=vmnic \
-semihosting-config enable,target=native \
- -bios bl1.bin \
+ -bios flash.bin \
-S
From a second shell:
@@ -109,7 +108,7 @@ From this GDB console, connect to the target, load the OP-TEE core symbols,
set a breakpoint to its entry point (__text_start) and start emulation:
(gdb) target remote 127.0.0.1:1234
- (gdb) symbol-file ./output/build/optee-os-<reference>/out/arm/core/tee.elf
+ (gdb) symbol-file ./output/build/optee-os-<reference>/out/core/tee.elf
(gdb) hbreak __text_start
Hardware assisted breakpoint 1 at 0xe100000: file core/arch/arm/kernel/generic_entry_a32.S, line 246.
(gdb) cont
diff --git a/board/qemu/arm-vexpress-tz/u-boot.config b/board/qemu/arm-vexpress-tz/u-boot.config
index fd74bf1fe7..48b1d06fdb 100644
--- a/board/qemu/arm-vexpress-tz/u-boot.config
+++ b/board/qemu/arm-vexpress-tz/u-boot.config
@@ -1,7 +1,8 @@
CONFIG_SYS_TEXT_BASE=0x60000000
-CONFIG_BOOTCOMMAND="fdt addr ${fdt_addr} && fdt resize 1000 && smhload zImage ${kernel_addr_r} && smhload rootfs.cpio.gz ${ramdisk_addr_r} ramdisk_addr_end && setenv bootargs console=ttyAMA0,115200 earlyprintk=serial,ttyAMA0,115200 && fdt chosen ${ramdisk_addr_r} ${ramdisk_addr_end} && bootz ${kernel_addr_r} - ${fdt_addr}"
+CONFIG_BOOTCOMMAND="smhload zImage ${kernel_addr_r} && smhload rootfs.cpio.uboot ${ramdisk_addr_r} && setenv bootargs console=ttyAMA0,115200 earlyprintk=serial,ttyAMA0,115200 && bootz ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr}"
CONFIG_SEMIHOSTING=y
# Drop flash accesses
CONFIG_ENV_IS_IN_FLASH=n
CONFIG_MTD=n
CONFIG_MTD_NOR_FLASH=n
+CONFIG_ENV_IS_NOWHERE=y
diff --git a/board/qemu/ppc-e500mc/linux.fragment b/board/qemu/ppc-e500mc/linux.fragment
new file mode 100644
index 0000000000..35a8dccf89
--- /dev/null
+++ b/board/qemu/ppc-e500mc/linux.fragment
@@ -0,0 +1,10 @@
+# Enables generic PPC e500 base arch support for QEMU.
+# The e500mc is a variant of the e500 arch.
+CONFIG_PPC_QEMU_E500=y
+
+# Enable virtio (blk, rng and net devices)
+CONFIG_VIRTIO=y
+CONFIG_VIRTIO_PCI=y
+CONFIG_HW_RANDOM_VIRTIO=y
+CONFIG_VIRTIO_BLK=y
+CONFIG_VIRTIO_NET=y
diff --git a/board/qemu/ppc-e500mc/readme.txt b/board/qemu/ppc-e500mc/readme.txt
new file mode 100644
index 0000000000..77a864ed2b
--- /dev/null
+++ b/board/qemu/ppc-e500mc/readme.txt
@@ -0,0 +1,5 @@
+Run the emulation with:
+
+ qemu-system-ppc -M ppce500 -cpu e500mc -m 256 -kernel output/images/uImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append "console=ttyS0 rootwait root=/dev/vda" -serial mon:stdio -nographic # qemu_ppc_e500mc_defconfig
+
+The login prompt will appear in the terminal that started Qemu.
diff --git a/board/qemu/s390x/patches/linux/0001-arch-s390-disable-SSP-when-needed.patch b/board/qemu/s390x/patches/linux/0001-arch-s390-disable-SSP-when-needed.patch
new file mode 100644
index 0000000000..c8199d4fd6
--- /dev/null
+++ b/board/qemu/s390x/patches/linux/0001-arch-s390-disable-SSP-when-needed.patch
@@ -0,0 +1,47 @@
+From 8a054081678ed0b0e56f829bac0a4656e3a198b9 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Sat, 8 May 2021 22:03:11 +0200
+Subject: [PATCH] arch/s390: disable SSP when needed
+
+Though -nostdlib is passed in PURGATORY_LDFLAGS and -ffreestanding in
+KBUILD_CFLAGS_DECOMPRESSOR, -fno-stack-protector must also be passed to
+avoid linking errors related to undefined references to
+'__stack_chk_guard' and '__stack_chk_fail' if toolchain enforces
+-fstack-protector.
+
+Fixes:
+ - https://gitlab.com/kubu93/buildroot/-/jobs/1247043361
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+---
+ arch/s390/Makefile | 1 +
+ arch/s390/purgatory/Makefile | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/arch/s390/Makefile b/arch/s390/Makefile
+index e443ed9947bd..098abe3a56f3 100644
+--- a/arch/s390/Makefile
++++ b/arch/s390/Makefile
+@@ -28,6 +28,7 @@ KBUILD_CFLAGS_DECOMPRESSOR += -DDISABLE_BRANCH_PROFILING -D__NO_FORTIFY
+ KBUILD_CFLAGS_DECOMPRESSOR += -fno-delete-null-pointer-checks -msoft-float -mbackchain
+ KBUILD_CFLAGS_DECOMPRESSOR += -fno-asynchronous-unwind-tables
+ KBUILD_CFLAGS_DECOMPRESSOR += -ffreestanding
++KBUILD_CFLAGS_DECOMPRESSOR += -fno-stack-protector
+ KBUILD_CFLAGS_DECOMPRESSOR += $(call cc-disable-warning, address-of-packed-member)
+ KBUILD_CFLAGS_DECOMPRESSOR += $(if $(CONFIG_DEBUG_INFO),-g)
+ KBUILD_CFLAGS_DECOMPRESSOR += $(if $(CONFIG_DEBUG_INFO_DWARF4), $(call cc-option, -gdwarf-4,))
+diff --git a/arch/s390/purgatory/Makefile b/arch/s390/purgatory/Makefile
+index c57f8c40e992..21c4ebe29b9a 100644
+--- a/arch/s390/purgatory/Makefile
++++ b/arch/s390/purgatory/Makefile
+@@ -24,6 +24,7 @@ KBUILD_CFLAGS := -fno-strict-aliasing -Wall -Wstrict-prototypes
+ KBUILD_CFLAGS += -Wno-pointer-sign -Wno-sign-compare
+ KBUILD_CFLAGS += -fno-zero-initialized-in-bss -fno-builtin -ffreestanding
+ KBUILD_CFLAGS += -c -MD -Os -m64 -msoft-float -fno-common
++KBUILD_CFLAGS += -fno-stack-protector
+ KBUILD_CFLAGS += $(CLANG_FLAGS)
+ KBUILD_CFLAGS += $(call cc-option,-fno-PIE)
+ KBUILD_AFLAGS := $(filter-out -DCC_USING_EXPOLINE,$(KBUILD_AFLAGS))
+--
+2.30.2
+
diff --git a/boot/Config.in b/boot/Config.in
index b3adbfc8bc..08d9ac06b2 100644
--- a/boot/Config.in
+++ b/boot/Config.in
@@ -6,6 +6,8 @@ source "boot/at91bootstrap3/Config.in"
source "boot/at91dataflashboot/Config.in"
source "boot/arm-trusted-firmware/Config.in"
source "boot/barebox/Config.in"
+source "boot/beaglev-ddrinit/Config.in"
+source "boot/beaglev-secondboot/Config.in"
source "boot/binaries-marvell/Config.in"
source "boot/boot-wrapper-aarch64/Config.in"
source "boot/grub2/Config.in"
diff --git a/boot/at91bootstrap/at91bootstrap.hash b/boot/at91bootstrap/at91bootstrap.hash
index b1f963b825..d9f8db8897 100644
--- a/boot/at91bootstrap/at91bootstrap.hash
+++ b/boot/at91bootstrap/at91bootstrap.hash
@@ -1,2 +1,3 @@
# locally computed
sha256 d66192a274247f4baa39fa932eadf903d7add55641d89d30402f967c4f2282a5 AT91Bootstrap1.16.zip
+sha256 6a3ac5dfcf19e6bac1b1109d30d72818768a3855e2594b84fe2b012b5fe0e77b include/sdramc.h
diff --git a/boot/at91bootstrap/at91bootstrap.mk b/boot/at91bootstrap/at91bootstrap.mk
index c68b56b6ec..1a084756fd 100644
--- a/boot/at91bootstrap/at91bootstrap.mk
+++ b/boot/at91bootstrap/at91bootstrap.mk
@@ -7,6 +7,8 @@
AT91BOOTSTRAP_VERSION = 1.16
AT91BOOTSTRAP_SITE = ftp://www.at91.com/pub/at91bootstrap
AT91BOOTSTRAP_SOURCE = AT91Bootstrap$(AT91BOOTSTRAP_VERSION).zip
+AT91BOOTSTRAP_LICENSE = BSD-Source-Code
+AT91BOOTSTRAP_LICENSE_FILES = include/sdramc.h
AT91BOOTSTRAP_BOARD = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP_BOARD))
AT91BOOTSTRAP_MEMORY = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP_MEMORY))
diff --git a/boot/at91bootstrap3/at91bootstrap3.hash b/boot/at91bootstrap3/at91bootstrap3.hash
index 6671a4ac70..6b6257b0ab 100644
--- a/boot/at91bootstrap3/at91bootstrap3.hash
+++ b/boot/at91bootstrap3/at91bootstrap3.hash
@@ -1,3 +1,3 @@
# Locally calculated
sha256 dd6a3c57c1c84fc3b18187bee3d139146a0e032dd1d8edea7b242730e0bc4fe1 at91bootstrap3-v3.9.3.tar.gz
-sha256 732b2a55b5905031d8ae420136ffb5f8889214865784386bf754cffab8d2bc6e main.c
+sha256 fd7a1ce5719bb7abf5e289da2e0ea8c933af3ba0f6ad03dbdbd2b7f54a77498a main.c
diff --git a/boot/barebox/Config.in b/boot/barebox/Config.in
index 239c95bf90..03d9a272d0 100644
--- a/boot/barebox/Config.in
+++ b/boot/barebox/Config.in
@@ -12,7 +12,7 @@ choice
Select the specific Barebox version you want to use
config BR2_TARGET_BAREBOX_LATEST_VERSION
- bool "2020.11.0"
+ bool "2021.01.0"
config BR2_TARGET_BAREBOX_CUSTOM_VERSION
bool "Custom version"
@@ -40,7 +40,7 @@ endif
config BR2_TARGET_BAREBOX_VERSION
string
- default "2020.11.0" if BR2_TARGET_BAREBOX_LATEST_VERSION
+ default "2021.01.0" if BR2_TARGET_BAREBOX_LATEST_VERSION
default BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE if BR2_TARGET_BAREBOX_CUSTOM_VERSION
default "custom" if BR2_TARGET_BAREBOX_CUSTOM_TARBALL
default BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION if BR2_TARGET_BAREBOX_CUSTOM_GIT
diff --git a/boot/barebox/barebox.hash b/boot/barebox/barebox.hash
index 3644601bbc..e6f8234a4d 100644
--- a/boot/barebox/barebox.hash
+++ b/boot/barebox/barebox.hash
@@ -1,8 +1,8 @@
-# From https://www.barebox.org/download/barebox-2020.11.0.tar.bz2.md5
-md5 1fc2c1a03d7b44dc12fbf4cf1fc6ffe0 barebox-2020.11.0.tar.bz2
+# From https://www.barebox.org/download/barebox-2021.01.0.tar.bz2.md5
+md5 e81e7cd6bc2629e7fcdeaddf59c324c3 barebox-2021.01.0.tar.bz2
# Locally calculated
-sha256 049d2b1b887d0397f4b5390255459fb0240200b06a3276ffaefdeab7fb243554 barebox-2020.11.0.tar.bz2
+sha256 b39501db1c701b05f862973d8aed628cab0e611421cbaadae8b5262311551ff9 barebox-2021.01.0.tar.bz2
# License files, locally computed
sha256 ab1122aa9f9073ad1ec824edcd970b16a6a7881a34a18fd56c080debb2dca5d4 COPYING
diff --git a/boot/beaglev-ddrinit/Config.in b/boot/beaglev-ddrinit/Config.in
new file mode 100644
index 0000000000..7ca92a7b9b
--- /dev/null
+++ b/boot/beaglev-ddrinit/Config.in
@@ -0,0 +1,9 @@
+config BR2_TARGET_BEAGLEV_DDRINIT
+ bool "beaglev-ddrinit"
+ depends on BR2_riscv
+ depends on BR2_HOSTARCH = "x86_64" # host-riscv64-elf-toolchain
+ help
+ This package builds the DDRinit firmware used on the BeagleV
+ platform.
+
+ https://github.com/starfive-tech/beagle_ddrinit
diff --git a/boot/beaglev-ddrinit/beaglev-ddrinit.hash b/boot/beaglev-ddrinit/beaglev-ddrinit.hash
new file mode 100644
index 0000000000..5bbbe28f07
--- /dev/null
+++ b/boot/beaglev-ddrinit/beaglev-ddrinit.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 0809b72e1e8e40f82acdcfd4c8a6a120e14bd9ed395592e075bb54acc8c07271 beaglev-ddrinit-15b80de81263996affb2a29332aa681925709983.tar.gz
diff --git a/boot/beaglev-ddrinit/beaglev-ddrinit.mk b/boot/beaglev-ddrinit/beaglev-ddrinit.mk
new file mode 100644
index 0000000000..02df0613ee
--- /dev/null
+++ b/boot/beaglev-ddrinit/beaglev-ddrinit.mk
@@ -0,0 +1,29 @@
+################################################################################
+#
+# beaglev-ddrinit
+#
+################################################################################
+
+# Commit on the 'starfive' branch
+BEAGLEV_DDRINIT_VERSION = 15b80de81263996affb2a29332aa681925709983
+BEAGLEV_DDRINIT_SITE = $(call github,starfive-tech,beagle_ddrinit,$(BEAGLEV_DDRINIT_VERSION))
+BEAGLEV_DDRINIT_INSTALL_TARGET = NO
+BEAGLEV_DDRINIT_INSTALL_IMAGES = YES
+BEAGLEV_DDRINIT_DEPENDENCIES = host-riscv64-elf-toolchain
+# unfortunately, no real license file, but several sources files are
+# under GPL-2.0+, making the whole work GPL-2.0+
+BEAGLEV_DDRINIT_LICENSE = GPL-2.0+
+
+define BEAGLEV_DDRINIT_BUILD_CMDS
+ $(MAKE) -C $(@D)/build \
+ CROSSCOMPILE=$(HOST_DIR)/bin/riscv64-unknown-elf- \
+ SUFFIX=buildroot \
+ GIT_VERSION=$(BEAGLEV_DDRINIT_VERSION)
+endef
+
+define BEAGLEV_DDRINIT_INSTALL_IMAGES_CMDS
+ $(INSTALL) -D -m 0644 $(@D)/build/ddrinit-2133-buildroot.bin.out \
+ $(BINARIES_DIR)/ddrinit-2133-buildroot.bin.out
+endef
+
+$(eval $(generic-package))
diff --git a/boot/beaglev-secondboot/Config.in b/boot/beaglev-secondboot/Config.in
new file mode 100644
index 0000000000..a9695fc138
--- /dev/null
+++ b/boot/beaglev-secondboot/Config.in
@@ -0,0 +1,9 @@
+config BR2_TARGET_BEAGLEV_SECONDBOOT
+ bool "beaglev-secondboot"
+ depends on BR2_riscv
+ depends on BR2_HOSTARCH = "x86_64" # host-riscv64-elf-toolchain
+ help
+ This package builds the SecondBoot firmware used on the
+ BeagleV platform.
+
+ https://github.com/starfive-tech/beagle_secondBoot
diff --git a/boot/beaglev-secondboot/beaglev-secondboot.hash b/boot/beaglev-secondboot/beaglev-secondboot.hash
new file mode 100644
index 0000000000..d936263d1a
--- /dev/null
+++ b/boot/beaglev-secondboot/beaglev-secondboot.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 b97dc40dbfc49ced591d6ef53d06adebf90b9c467d3754ec51b2626593d97cbd beaglev-secondboot-a4f0b4307f877890f998b3216cffcc9f27a5f993.tar.gz
diff --git a/boot/beaglev-secondboot/beaglev-secondboot.mk b/boot/beaglev-secondboot/beaglev-secondboot.mk
new file mode 100644
index 0000000000..7bd97165de
--- /dev/null
+++ b/boot/beaglev-secondboot/beaglev-secondboot.mk
@@ -0,0 +1,29 @@
+################################################################################
+#
+# beaglev-secondboot
+#
+################################################################################
+
+# Commit on the 'starfive' branch
+BEAGLEV_SECONDBOOT_VERSION = a4f0b4307f877890f998b3216cffcc9f27a5f993
+BEAGLEV_SECONDBOOT_SITE = $(call github,starfive-tech,beagle_secondBoot,$(BEAGLEV_SECONDBOOT_VERSION))
+BEAGLEV_SECONDBOOT_INSTALL_TARGET = NO
+BEAGLEV_SECONDBOOT_INSTALL_IMAGES = YES
+BEAGLEV_SECONDBOOT_DEPENDENCIES = host-riscv64-elf-toolchain
+# unfortunately, no real license file, but several sources files are
+# under GPL-2.0+, making the whole work GPL-2.0+
+BEAGLEV_SECONDBOOT_LICENSE = GPL-2.0+
+
+define BEAGLEV_SECONDBOOT_BUILD_CMDS
+ $(MAKE) -C $(@D)/build \
+ CROSSCOMPILE=$(HOST_DIR)/bin/riscv64-unknown-elf- \
+ SUFFIX=buildroot \
+ GIT_VERSION=$(BEAGLEV_SECONDBOOT_VERSION)
+endef
+
+define BEAGLEV_SECONDBOOT_INSTALL_IMAGES_CMDS
+ $(INSTALL) -D -m 0644 $(@D)/build/bootloader-BEAGLEV-buildroot.bin.out \
+ $(BINARIES_DIR)/bootloader-BEAGLEV-buildroot.bin.out
+endef
+
+$(eval $(generic-package))
diff --git a/boot/grub2/0029-efi-Make-shim_lock-GUID-and-protocol-type-public.patch b/boot/grub2/0029-efi-Make-shim_lock-GUID-and-protocol-type-public.patch
new file mode 100644
index 0000000000..ec1f62360a
--- /dev/null
+++ b/boot/grub2/0029-efi-Make-shim_lock-GUID-and-protocol-type-public.patch
@@ -0,0 +1,97 @@
+From f76a27996c34900f2c369a8a0d6ac72ae2faa988 Mon Sep 17 00:00:00 2001
+From: Daniel Kiper <daniel.kiper@oracle.com>
+Date: Thu, 3 Dec 2020 16:01:45 +0100
+Subject: [PATCH] efi: Make shim_lock GUID and protocol type public
+
+The GUID will be used to properly detect and report UEFI Secure Boot
+status to the x86 Linux kernel. The functionality will be added by
+subsequent patches. The shim_lock protocol type is made public for
+completeness.
+
+Additionally, fix formatting of four preceding GUIDs.
+
+Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
+Signed-off-by: Marco A Benatto <mbenatto@redhat.com>
+Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
+Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
+Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
+---
+ grub-core/commands/efi/shim_lock.c | 12 ------------
+ include/grub/efi/api.h | 19 +++++++++++++++----
+ 2 files changed, 15 insertions(+), 16 deletions(-)
+
+diff --git a/grub-core/commands/efi/shim_lock.c b/grub-core/commands/efi/shim_lock.c
+index 764098c..d8f52d7 100644
+--- a/grub-core/commands/efi/shim_lock.c
++++ b/grub-core/commands/efi/shim_lock.c
+@@ -27,18 +27,6 @@
+
+ GRUB_MOD_LICENSE ("GPLv3+");
+
+-#define GRUB_EFI_SHIM_LOCK_GUID \
+- { 0x605dab50, 0xe046, 0x4300, \
+- { 0xab, 0xb6, 0x3d, 0xd8, 0x10, 0xdd, 0x8b, 0x23 } \
+- }
+-
+-struct grub_efi_shim_lock_protocol
+-{
+- grub_efi_status_t
+- (*verify) (void *buffer, grub_uint32_t size);
+-};
+-typedef struct grub_efi_shim_lock_protocol grub_efi_shim_lock_protocol_t;
+-
+ static grub_efi_guid_t shim_lock_guid = GRUB_EFI_SHIM_LOCK_GUID;
+ static grub_efi_shim_lock_protocol_t *sl;
+
+diff --git a/include/grub/efi/api.h b/include/grub/efi/api.h
+index cf1355a..13e5715 100644
+--- a/include/grub/efi/api.h
++++ b/include/grub/efi/api.h
+@@ -316,22 +316,27 @@
+
+ #define GRUB_EFI_SAL_TABLE_GUID \
+ { 0xeb9d2d32, 0x2d88, 0x11d3, \
+- { 0x9a, 0x16, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \
++ { 0x9a, 0x16, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \
+ }
+
+ #define GRUB_EFI_HCDP_TABLE_GUID \
+ { 0xf951938d, 0x620b, 0x42ef, \
+- { 0x82, 0x79, 0xa8, 0x4b, 0x79, 0x61, 0x78, 0x98 } \
++ { 0x82, 0x79, 0xa8, 0x4b, 0x79, 0x61, 0x78, 0x98 } \
+ }
+
+ #define GRUB_EFI_DEVICE_TREE_GUID \
+ { 0xb1b621d5, 0xf19c, 0x41a5, \
+- { 0x83, 0x0b, 0xd9, 0x15, 0x2c, 0x69, 0xaa, 0xe0 } \
++ { 0x83, 0x0b, 0xd9, 0x15, 0x2c, 0x69, 0xaa, 0xe0 } \
+ }
+
+ #define GRUB_EFI_VENDOR_APPLE_GUID \
+ { 0x2B0585EB, 0xD8B8, 0x49A9, \
+- { 0x8B, 0x8C, 0xE2, 0x1B, 0x01, 0xAE, 0xF2, 0xB7 } \
++ { 0x8B, 0x8C, 0xE2, 0x1B, 0x01, 0xAE, 0xF2, 0xB7 } \
++ }
++
++#define GRUB_EFI_SHIM_LOCK_GUID \
++ { 0x605dab50, 0xe046, 0x4300, \
++ { 0xab, 0xb6, 0x3d, 0xd8, 0x10, 0xdd, 0x8b, 0x23 } \
+ }
+
+ struct grub_efi_sal_system_table
+@@ -1689,6 +1694,12 @@ struct grub_efi_block_io
+ };
+ typedef struct grub_efi_block_io grub_efi_block_io_t;
+
++struct grub_efi_shim_lock_protocol
++{
++ grub_efi_status_t (*verify) (void *buffer, grub_uint32_t size);
++};
++typedef struct grub_efi_shim_lock_protocol grub_efi_shim_lock_protocol_t;
++
+ #if (GRUB_TARGET_SIZEOF_VOID_P == 4) || defined (__ia64__) \
+ || defined (__aarch64__) || defined (__MINGW64__) || defined (__CYGWIN__) \
+ || defined(__riscv)
+--
+2.14.2
+
diff --git a/boot/grub2/0030-efi-Return-grub_efi_status_t-from-grub_efi_get_varia.patch b/boot/grub2/0030-efi-Return-grub_efi_status_t-from-grub_efi_get_varia.patch
new file mode 100644
index 0000000000..39386a182b
--- /dev/null
+++ b/boot/grub2/0030-efi-Return-grub_efi_status_t-from-grub_efi_get_varia.patch
@@ -0,0 +1,149 @@
+From 04ae030d0eea8668d4417702d88bf2cf04713d80 Mon Sep 17 00:00:00 2001
+From: Daniel Kiper <daniel.kiper@oracle.com>
+Date: Thu, 3 Dec 2020 16:01:46 +0100
+Subject: [PATCH] efi: Return grub_efi_status_t from grub_efi_get_variable()
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This is needed to properly detect and report UEFI Secure Boot status
+to the x86 Linux kernel. The functionality will be added by subsequent
+patches.
+
+Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
+Signed-off-by: Marco A Benatto <mbenatto@redhat.com>
+Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
+Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
+Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
+---
+ grub-core/commands/efi/efifwsetup.c | 8 ++++----
+ grub-core/kern/efi/efi.c | 16 +++++++++-------
+ grub-core/video/efi_gop.c | 2 +-
+ include/grub/efi/efi.h | 7 ++++---
+ 4 files changed, 18 insertions(+), 15 deletions(-)
+
+diff --git a/grub-core/commands/efi/efifwsetup.c b/grub-core/commands/efi/efifwsetup.c
+index 7a137a72a..eaca03283 100644
+--- a/grub-core/commands/efi/efifwsetup.c
++++ b/grub-core/commands/efi/efifwsetup.c
+@@ -38,8 +38,8 @@ grub_cmd_fwsetup (grub_command_t cmd __attribute__ ((unused)),
+ grub_size_t oi_size;
+ grub_efi_guid_t global = GRUB_EFI_GLOBAL_VARIABLE_GUID;
+
+- old_os_indications = grub_efi_get_variable ("OsIndications", &global,
+- &oi_size);
++ grub_efi_get_variable ("OsIndications", &global, &oi_size,
++ (void **) &old_os_indications);
+
+ if (old_os_indications != NULL && oi_size == sizeof (os_indications))
+ os_indications |= *old_os_indications;
+@@ -63,8 +63,8 @@ efifwsetup_is_supported (void)
+ grub_size_t oi_size = 0;
+ grub_efi_guid_t global = GRUB_EFI_GLOBAL_VARIABLE_GUID;
+
+- os_indications_supported = grub_efi_get_variable ("OsIndicationsSupported",
+- &global, &oi_size);
++ grub_efi_get_variable ("OsIndicationsSupported", &global, &oi_size,
++ (void **) &os_indications_supported);
+
+ if (!os_indications_supported)
+ return 0;
+diff --git a/grub-core/kern/efi/efi.c b/grub-core/kern/efi/efi.c
+index e0165e74c..9403b12cd 100644
+--- a/grub-core/kern/efi/efi.c
++++ b/grub-core/kern/efi/efi.c
+@@ -223,9 +223,9 @@ grub_efi_set_variable(const char *var, const grub_efi_guid_t *guid,
+ return grub_error (GRUB_ERR_IO, "could not set EFI variable `%s'", var);
+ }
+
+-void *
++grub_efi_status_t
+ grub_efi_get_variable (const char *var, const grub_efi_guid_t *guid,
+- grub_size_t *datasize_out)
++ grub_size_t *datasize_out, void **data_out)
+ {
+ grub_efi_status_t status;
+ grub_efi_uintn_t datasize = 0;
+@@ -234,13 +234,14 @@ grub_efi_get_variable (const char *var, const grub_efi_guid_t *guid,
+ void *data;
+ grub_size_t len, len16;
+
++ *data_out = NULL;
+ *datasize_out = 0;
+
+ len = grub_strlen (var);
+ len16 = len * GRUB_MAX_UTF16_PER_UTF8;
+ var16 = grub_calloc (len16 + 1, sizeof (var16[0]));
+ if (!var16)
+- return NULL;
++ return GRUB_EFI_OUT_OF_RESOURCES;
+ len16 = grub_utf8_to_utf16 (var16, len16, (grub_uint8_t *) var, len, NULL);
+ var16[len16] = 0;
+
+@@ -251,14 +252,14 @@ grub_efi_get_variable (const char *var, const grub_efi_guid_t *guid,
+ if (status != GRUB_EFI_BUFFER_TOO_SMALL || !datasize)
+ {
+ grub_free (var16);
+- return NULL;
++ return status;
+ }
+
+ data = grub_malloc (datasize);
+ if (!data)
+ {
+ grub_free (var16);
+- return NULL;
++ return GRUB_EFI_OUT_OF_RESOURCES;
+ }
+
+ status = efi_call_5 (r->get_variable, var16, guid, NULL, &datasize, data);
+@@ -266,12 +267,13 @@ grub_efi_get_variable (const char *var, const grub_efi_guid_t *guid,
+
+ if (status == GRUB_EFI_SUCCESS)
+ {
++ *data_out = data;
+ *datasize_out = datasize;
+- return data;
++ return status;
+ }
+
+ grub_free (data);
+- return NULL;
++ return status;
+ }
+
+ #pragma GCC diagnostic ignored "-Wcast-align"
+diff --git a/grub-core/video/efi_gop.c b/grub-core/video/efi_gop.c
+index be446f8d2..7fe0cdabf 100644
+--- a/grub-core/video/efi_gop.c
++++ b/grub-core/video/efi_gop.c
+@@ -316,7 +316,7 @@ grub_video_gop_get_edid (struct grub_video_edid_info *edid_info)
+ char edidname[] = "agp-internal-edid";
+ grub_size_t datasize;
+ grub_uint8_t *data;
+- data = grub_efi_get_variable (edidname, &efi_var_guid, &datasize);
++ grub_efi_get_variable (edidname, &efi_var_guid, &datasize, (void **) &data);
+ if (data && datasize > 16)
+ {
+ copy_size = datasize - 16;
+diff --git a/include/grub/efi/efi.h b/include/grub/efi/efi.h
+index e90e00dc4..8b2a0f1f5 100644
+--- a/include/grub/efi/efi.h
++++ b/include/grub/efi/efi.h
+@@ -74,9 +74,10 @@ grub_err_t EXPORT_FUNC (grub_efi_set_virtual_address_map) (grub_efi_uintn_t memo
+ grub_efi_uintn_t descriptor_size,
+ grub_efi_uint32_t descriptor_version,
+ grub_efi_memory_descriptor_t *virtual_map);
+-void *EXPORT_FUNC (grub_efi_get_variable) (const char *variable,
+- const grub_efi_guid_t *guid,
+- grub_size_t *datasize_out);
++grub_efi_status_t EXPORT_FUNC (grub_efi_get_variable) (const char *variable,
++ const grub_efi_guid_t *guid,
++ grub_size_t *datasize_out,
++ void **data_out);
+ grub_err_t
+ EXPORT_FUNC (grub_efi_set_variable) (const char *var,
+ const grub_efi_guid_t *guid,
+--
+2.29.2
+
diff --git a/boot/grub2/0031-efi-Add-a-function-to-read-EFI-variables-with-attrib.patch b/boot/grub2/0031-efi-Add-a-function-to-read-EFI-variables-with-attrib.patch
new file mode 100644
index 0000000000..d9fb6154b1
--- /dev/null
+++ b/boot/grub2/0031-efi-Add-a-function-to-read-EFI-variables-with-attrib.patch
@@ -0,0 +1,78 @@
+From ac5c9367548750e75ed1e7fc4354a3d20186d733 Mon Sep 17 00:00:00 2001
+From: Daniel Kiper <daniel.kiper@oracle.com>
+Date: Thu, 3 Dec 2020 16:01:47 +0100
+Subject: [PATCH] efi: Add a function to read EFI variables with attributes
+
+It will be used to properly detect and report UEFI Secure Boot status to
+the x86 Linux kernel. The functionality will be added by subsequent patches.
+
+Signed-off-by: Ignat Korchagin <ignat@cloudflare.com>
+Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
+Signed-off-by: Marco A Benatto <mbenatto@redhat.com>
+Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
+Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
+---
+ grub-core/kern/efi/efi.c | 16 +++++++++++++---
+ include/grub/efi/efi.h | 5 +++++
+ 2 files changed, 18 insertions(+), 3 deletions(-)
+
+diff --git a/grub-core/kern/efi/efi.c b/grub-core/kern/efi/efi.c
+index 9403b12cd..2942b8e35 100644
+--- a/grub-core/kern/efi/efi.c
++++ b/grub-core/kern/efi/efi.c
+@@ -224,8 +224,11 @@ grub_efi_set_variable(const char *var, const grub_efi_guid_t *guid,
+ }
+
+ grub_efi_status_t
+-grub_efi_get_variable (const char *var, const grub_efi_guid_t *guid,
+- grub_size_t *datasize_out, void **data_out)
++grub_efi_get_variable_with_attributes (const char *var,
++ const grub_efi_guid_t *guid,
++ grub_size_t *datasize_out,
++ void **data_out,
++ grub_efi_uint32_t *attributes)
+ {
+ grub_efi_status_t status;
+ grub_efi_uintn_t datasize = 0;
+@@ -262,7 +265,7 @@ grub_efi_get_variable (const char *var, const grub_efi_guid_t *guid,
+ return GRUB_EFI_OUT_OF_RESOURCES;
+ }
+
+- status = efi_call_5 (r->get_variable, var16, guid, NULL, &datasize, data);
++ status = efi_call_5 (r->get_variable, var16, guid, attributes, &datasize, data);
+ grub_free (var16);
+
+ if (status == GRUB_EFI_SUCCESS)
+@@ -276,6 +279,13 @@ grub_efi_get_variable (const char *var, const grub_efi_guid_t *guid,
+ return status;
+ }
+
++grub_efi_status_t
++grub_efi_get_variable (const char *var, const grub_efi_guid_t *guid,
++ grub_size_t *datasize_out, void **data_out)
++{
++ return grub_efi_get_variable_with_attributes (var, guid, datasize_out, data_out, NULL);
++}
++
+ #pragma GCC diagnostic ignored "-Wcast-align"
+
+ /* Search the mods section from the PE32/PE32+ image. This code uses
+diff --git a/include/grub/efi/efi.h b/include/grub/efi/efi.h
+index 8b2a0f1f5..83d958f99 100644
+--- a/include/grub/efi/efi.h
++++ b/include/grub/efi/efi.h
+@@ -74,6 +74,11 @@ grub_err_t EXPORT_FUNC (grub_efi_set_virtual_address_map) (grub_efi_uintn_t memo
+ grub_efi_uintn_t descriptor_size,
+ grub_efi_uint32_t descriptor_version,
+ grub_efi_memory_descriptor_t *virtual_map);
++grub_efi_status_t EXPORT_FUNC (grub_efi_get_variable_with_attributes) (const char *variable,
++ const grub_efi_guid_t *guid,
++ grub_size_t *datasize_out,
++ void **data_out,
++ grub_efi_uint32_t *attributes);
+ grub_efi_status_t EXPORT_FUNC (grub_efi_get_variable) (const char *variable,
+ const grub_efi_guid_t *guid,
+ grub_size_t *datasize_out,
+--
+2.29.2
+
diff --git a/boot/grub2/0032-efi-Add-secure-boot-detection.patch b/boot/grub2/0032-efi-Add-secure-boot-detection.patch
new file mode 100644
index 0000000000..f09a42b207
--- /dev/null
+++ b/boot/grub2/0032-efi-Add-secure-boot-detection.patch
@@ -0,0 +1,541 @@
+From d7e54b2e5feee95d2f83058ed30d883c450d1473 Mon Sep 17 00:00:00 2001
+From: Daniel Kiper <daniel.kiper@oracle.com>
+Date: Thu, 3 Dec 2020 16:01:48 +0100
+Subject: [PATCH] efi: Add secure boot detection
+
+Introduce grub_efi_get_secureboot() function which returns whether
+UEFI Secure Boot is enabled or not on UEFI systems.
+
+Signed-off-by: Ignat Korchagin <ignat@cloudflare.com>
+Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
+Signed-off-by: Marco A Benatto <mbenatto@redhat.com>
+Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
+Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
+[Add changes to generated files]
+Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
+---
+ grub-core/Makefile.am | 1 +
+ grub-core/Makefile.core.am | 14 +++---
+ grub-core/Makefile.core.def | 1 +
+ grub-core/Makefile.in | 102 ++++++++++++++++++++++++++---------------
+ grub-core/kern/efi/sb.c | 109 ++++++++++++++++++++++++++++++++++++++++++++
+ include/grub/efi/sb.h | 40 ++++++++++++++++
+ po/POTFILES.in | 2 +
+ 7 files changed, 225 insertions(+), 44 deletions(-)
+ create mode 100644 grub-core/kern/efi/sb.c
+ create mode 100644 include/grub/efi/sb.h
+
+diff --git a/grub-core/Makefile.am b/grub-core/Makefile.am
+index 3ea8e7f..c6ba5b2 100644
+--- a/grub-core/Makefile.am
++++ b/grub-core/Makefile.am
+@@ -71,6 +71,7 @@ KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/command.h
+ KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/device.h
+ KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/disk.h
+ KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/dl.h
++KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/efi/sb.h
+ KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/env.h
+ KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/env_private.h
+ KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/err.h
+diff --git a/grub-core/Makefile.core.am b/grub-core/Makefile.core.am
+index a217716..f28b753 100644
+--- a/grub-core/Makefile.core.am
++++ b/grub-core/Makefile.core.am
+@@ -22421,7 +22421,7 @@ endif
+ if COND_i386_efi
+ platform_PROGRAMS += kernel.exec
+ kernel_exec_SOURCES = kern/i386/efi/startup.S
+-kernel_exec_SOURCES += kern/i386/efi/tsc.c kern/i386/tsc_pmtimer.c kern/i386/efi/init.c bus/pci.c kern/i386/dl.c kern/i386/tsc.c kern/i386/tsc_pit.c disk/efi/efidisk.c kern/efi/efi.c kern/efi/init.c kern/efi/mm.c term/efi/console.c kern/acpi.c kern/efi/acpi.c kern/compiler-rt.c kern/mm.c kern/time.c kern/generic/millisleep.c kern/command.c kern/corecmd.c kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c kern/file.c kern/fs.c kern/list.c kern/main.c kern/misc.c kern/parser.c kern/partition.c kern/rescue_parser.c kern/rescue_reader.c kern/term.c
++kernel_exec_SOURCES += kern/i386/efi/tsc.c kern/i386/tsc_pmtimer.c kern/i386/efi/init.c bus/pci.c kern/i386/dl.c kern/i386/tsc.c kern/i386/tsc_pit.c disk/efi/efidisk.c kern/efi/efi.c kern/efi/init.c kern/efi/mm.c term/efi/console.c kern/acpi.c kern/efi/acpi.c kern/efi/sb.c kern/compiler-rt.c kern/mm.c kern/time.c kern/generic/millisleep.c kern/command.c kern/corecmd.c kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c kern/file.c kern/fs.c kern/list.c kern/main.c kern/misc.c kern/parser.c kern/partition.c kern/rescue_parser.c kern/rescue_reader.c kern/term.c
+ nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources
+ kernel_exec_LDADD =
+ kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL)
+@@ -22531,7 +22531,7 @@ endif
+ if COND_x86_64_efi
+ platform_PROGRAMS += kernel.exec
+ kernel_exec_SOURCES = kern/x86_64/efi/startup.S
+-kernel_exec_SOURCES += kern/i386/efi/tsc.c kern/i386/tsc_pmtimer.c kern/x86_64/efi/callwrap.S kern/i386/efi/init.c bus/pci.c kern/x86_64/dl.c kern/i386/tsc.c kern/i386/tsc_pit.c disk/efi/efidisk.c kern/efi/efi.c kern/efi/init.c kern/efi/mm.c term/efi/console.c kern/acpi.c kern/efi/acpi.c kern/compiler-rt.c kern/mm.c kern/time.c kern/generic/millisleep.c kern/command.c kern/corecmd.c kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c kern/file.c kern/fs.c kern/list.c kern/main.c kern/misc.c kern/parser.c kern/partition.c kern/rescue_parser.c kern/rescue_reader.c kern/term.c
++kernel_exec_SOURCES += kern/i386/efi/tsc.c kern/i386/tsc_pmtimer.c kern/x86_64/efi/callwrap.S kern/i386/efi/init.c bus/pci.c kern/x86_64/dl.c kern/i386/tsc.c kern/i386/tsc_pit.c disk/efi/efidisk.c kern/efi/efi.c kern/efi/init.c kern/efi/mm.c term/efi/console.c kern/acpi.c kern/efi/acpi.c kern/efi/sb.c kern/compiler-rt.c kern/mm.c kern/time.c kern/generic/millisleep.c kern/command.c kern/corecmd.c kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c kern/file.c kern/fs.c kern/list.c kern/main.c kern/misc.c kern/parser.c kern/partition.c kern/rescue_parser.c kern/rescue_reader.c kern/term.c
+ nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources
+ kernel_exec_LDADD =
+ kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL)
+@@ -22707,7 +22707,7 @@ endif
+ if COND_ia64_efi
+ platform_PROGRAMS += kernel.exec
+ kernel_exec_SOURCES =
+-kernel_exec_SOURCES += kern/ia64/efi/startup.S kern/ia64/efi/init.c kern/ia64/dl.c kern/ia64/dl_helper.c kern/ia64/cache.c lib/division.c disk/efi/efidisk.c kern/efi/efi.c kern/efi/init.c kern/efi/mm.c term/efi/console.c kern/acpi.c kern/efi/acpi.c kern/compiler-rt.c kern/mm.c kern/time.c kern/generic/millisleep.c kern/command.c kern/corecmd.c kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c kern/file.c kern/fs.c kern/list.c kern/main.c kern/misc.c kern/parser.c kern/partition.c kern/rescue_parser.c kern/rescue_reader.c kern/term.c
++kernel_exec_SOURCES += kern/ia64/efi/startup.S kern/ia64/efi/init.c kern/ia64/dl.c kern/ia64/dl_helper.c kern/ia64/cache.c lib/division.c disk/efi/efidisk.c kern/efi/efi.c kern/efi/init.c kern/efi/mm.c term/efi/console.c kern/acpi.c kern/efi/acpi.c kern/efi/sb.c kern/compiler-rt.c kern/mm.c kern/time.c kern/generic/millisleep.c kern/command.c kern/corecmd.c kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c kern/file.c kern/fs.c kern/list.c kern/main.c kern/misc.c kern/parser.c kern/partition.c kern/rescue_parser.c kern/rescue_reader.c kern/term.c
+ nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources
+ kernel_exec_LDADD =
+ kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) -fno-builtin -fpic -minline-int-divide-max-throughput
+@@ -22773,7 +22773,7 @@ endif
+ if COND_arm_efi
+ platform_PROGRAMS += kernel.exec
+ kernel_exec_SOURCES = kern/arm/efi/startup.S
+-kernel_exec_SOURCES += kern/arm/efi/init.c kern/efi/fdt.c kern/arm/dl.c kern/arm/dl_helper.c kern/arm/cache_armv6.S kern/arm/cache_armv7.S kern/arm/cache.c kern/arm/compiler-rt.S lib/division.c disk/efi/efidisk.c kern/efi/efi.c kern/efi/init.c kern/efi/mm.c term/efi/console.c kern/acpi.c kern/efi/acpi.c kern/compiler-rt.c kern/mm.c kern/time.c kern/generic/millisleep.c kern/command.c kern/corecmd.c kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c kern/file.c kern/fs.c kern/list.c kern/main.c kern/misc.c kern/parser.c kern/partition.c kern/rescue_parser.c kern/rescue_reader.c kern/term.c
++kernel_exec_SOURCES += kern/arm/efi/init.c kern/efi/fdt.c kern/arm/dl.c kern/arm/dl_helper.c kern/arm/cache_armv6.S kern/arm/cache_armv7.S kern/arm/cache.c kern/arm/compiler-rt.S lib/division.c disk/efi/efidisk.c kern/efi/efi.c kern/efi/init.c kern/efi/mm.c term/efi/console.c kern/acpi.c kern/efi/acpi.c kern/efi/sb.c kern/compiler-rt.c kern/mm.c kern/time.c kern/generic/millisleep.c kern/command.c kern/corecmd.c kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c kern/file.c kern/fs.c kern/list.c kern/main.c kern/misc.c kern/parser.c kern/partition.c kern/rescue_parser.c kern/rescue_reader.c kern/term.c
+ nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources
+ kernel_exec_LDADD =
+ kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL)
+@@ -22795,7 +22795,7 @@ endif
+ if COND_arm64_efi
+ platform_PROGRAMS += kernel.exec
+ kernel_exec_SOURCES = kern/arm64/efi/startup.S
+-kernel_exec_SOURCES += kern/arm64/efi/init.c kern/efi/fdt.c kern/arm64/cache.c kern/arm64/cache_flush.S kern/arm64/dl.c kern/arm64/dl_helper.c disk/efi/efidisk.c kern/efi/efi.c kern/efi/init.c kern/efi/mm.c term/efi/console.c kern/acpi.c kern/efi/acpi.c kern/compiler-rt.c kern/mm.c kern/time.c kern/generic/millisleep.c kern/command.c kern/corecmd.c kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c kern/file.c kern/fs.c kern/list.c kern/main.c kern/misc.c kern/parser.c kern/partition.c kern/rescue_parser.c kern/rescue_reader.c kern/term.c
++kernel_exec_SOURCES += kern/arm64/efi/init.c kern/efi/fdt.c kern/arm64/cache.c kern/arm64/cache_flush.S kern/arm64/dl.c kern/arm64/dl_helper.c disk/efi/efidisk.c kern/efi/efi.c kern/efi/init.c kern/efi/mm.c term/efi/console.c kern/acpi.c kern/efi/acpi.c kern/efi/sb.c kern/compiler-rt.c kern/mm.c kern/time.c kern/generic/millisleep.c kern/command.c kern/corecmd.c kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c kern/file.c kern/fs.c kern/list.c kern/main.c kern/misc.c kern/parser.c kern/partition.c kern/rescue_parser.c kern/rescue_reader.c kern/term.c
+ nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources
+ kernel_exec_LDADD =
+ kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL)
+@@ -22839,7 +22839,7 @@ endif
+ if COND_riscv32_efi
+ platform_PROGRAMS += kernel.exec
+ kernel_exec_SOURCES = kern/riscv/efi/startup.S
+-kernel_exec_SOURCES += kern/riscv/efi/init.c kern/efi/fdt.c kern/riscv/cache.c kern/riscv/cache_flush.S kern/riscv/dl.c lib/division.c disk/efi/efidisk.c kern/efi/efi.c kern/efi/init.c kern/efi/mm.c term/efi/console.c kern/acpi.c kern/efi/acpi.c kern/compiler-rt.c kern/mm.c kern/time.c kern/generic/millisleep.c kern/command.c kern/corecmd.c kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c kern/file.c kern/fs.c kern/list.c kern/main.c kern/misc.c kern/parser.c kern/partition.c kern/rescue_parser.c kern/rescue_reader.c kern/term.c
++kernel_exec_SOURCES += kern/riscv/efi/init.c kern/efi/fdt.c kern/riscv/cache.c kern/riscv/cache_flush.S kern/riscv/dl.c lib/division.c disk/efi/efidisk.c kern/efi/efi.c kern/efi/init.c kern/efi/mm.c term/efi/console.c kern/acpi.c kern/efi/acpi.c kern/efi/sb.c kern/compiler-rt.c kern/mm.c kern/time.c kern/generic/millisleep.c kern/command.c kern/corecmd.c kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c kern/file.c kern/fs.c kern/list.c kern/main.c kern/misc.c kern/parser.c kern/partition.c kern/rescue_parser.c kern/rescue_reader.c kern/term.c
+ nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources
+ kernel_exec_LDADD =
+ kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL)
+@@ -22861,7 +22861,7 @@ endif
+ if COND_riscv64_efi
+ platform_PROGRAMS += kernel.exec
+ kernel_exec_SOURCES = kern/riscv/efi/startup.S
+-kernel_exec_SOURCES += kern/riscv/efi/init.c kern/efi/fdt.c kern/riscv/cache.c kern/riscv/cache_flush.S kern/riscv/dl.c disk/efi/efidisk.c kern/efi/efi.c kern/efi/init.c kern/efi/mm.c term/efi/console.c kern/acpi.c kern/efi/acpi.c kern/compiler-rt.c kern/mm.c kern/time.c kern/generic/millisleep.c kern/command.c kern/corecmd.c kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c kern/file.c kern/fs.c kern/list.c kern/main.c kern/misc.c kern/parser.c kern/partition.c kern/rescue_parser.c kern/rescue_reader.c kern/term.c
++kernel_exec_SOURCES += kern/riscv/efi/init.c kern/efi/fdt.c kern/riscv/cache.c kern/riscv/cache_flush.S kern/riscv/dl.c disk/efi/efidisk.c kern/efi/efi.c kern/efi/init.c kern/efi/mm.c term/efi/console.c kern/acpi.c kern/efi/acpi.c kern/efi/sb.c kern/compiler-rt.c kern/mm.c kern/time.c kern/generic/millisleep.c kern/command.c kern/corecmd.c kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c kern/file.c kern/fs.c kern/list.c kern/main.c kern/misc.c kern/parser.c kern/partition.c kern/rescue_parser.c kern/rescue_reader.c kern/term.c
+ nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources
+ kernel_exec_LDADD =
+ kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL)
+diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def
+index 474a63e..abd26cf 100644
+--- a/grub-core/Makefile.core.def
++++ b/grub-core/Makefile.core.def
+@@ -203,6 +203,7 @@ kernel = {
+ efi = term/efi/console.c;
+ efi = kern/acpi.c;
+ efi = kern/efi/acpi.c;
++ efi = kern/efi/sb.c;
+ i386_coreboot = kern/i386/pc/acpi.c;
+ i386_multiboot = kern/i386/pc/acpi.c;
+ i386_coreboot = kern/acpi.c;
+diff --git a/grub-core/Makefile.in b/grub-core/Makefile.in
+index d287607..8fb81ee 100644
+--- a/grub-core/Makefile.in
++++ b/grub-core/Makefile.in
+@@ -10468,32 +10468,33 @@ am__kernel_exec_SOURCES_DIST = kern/arm64/efi/startup.S \
+ kern/arm64/cache_flush.S kern/arm64/dl.c \
+ kern/arm64/dl_helper.c disk/efi/efidisk.c kern/efi/efi.c \
+ kern/efi/init.c kern/efi/mm.c term/efi/console.c kern/acpi.c \
+- kern/efi/acpi.c kern/compiler-rt.c kern/mm.c kern/time.c \
+- kern/generic/millisleep.c kern/command.c kern/corecmd.c \
+- kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c \
+- kern/file.c kern/fs.c kern/list.c kern/main.c kern/misc.c \
+- kern/parser.c kern/partition.c kern/rescue_parser.c \
+- kern/rescue_reader.c kern/term.c kern/arm/startup.S \
+- kern/arm/coreboot/init.c kern/arm/coreboot/timer.c \
+- kern/arm/coreboot/coreboot.S lib/fdt.c bus/fdt.c term/ps2.c \
+- term/arm/pl050.c term/arm/cros.c term/arm/cros_ec.c \
+- bus/spi/rk3288_spi.c commands/keylayouts.c \
+- kern/arm/coreboot/dma.c kern/arm/coreboot/cbtable.c \
+- video/coreboot/cbfb.c kern/coreboot/mmap.c \
+- kern/coreboot/cbtable.c term/gfxterm.c font/font.c \
+- font/font_cmd.c io/bufio.c video/fb/fbblit.c video/fb/fbfill.c \
+- video/fb/fbutil.c video/fb/video_fb.c video/video.c \
+- kern/arm/dl.c kern/arm/dl_helper.c kern/arm/cache_armv6.S \
+- kern/arm/cache_armv7.S kern/arm/cache.c kern/arm/compiler-rt.S \
+- lib/division.c kern/arm/efi/startup.S kern/arm/efi/init.c \
+- kern/arm/uboot/init.c kern/arm/uboot/uboot.S \
+- disk/uboot/ubootdisk.c kern/uboot/uboot.c kern/uboot/init.c \
+- kern/uboot/hw.c term/uboot/console.c term/terminfo.c \
+- term/tparm.c commands/extcmd.c lib/arg.c disk/host.c \
+- kern/emu/cache_s.S kern/emu/hostdisk.c osdep/unix/hostdisk.c \
+- osdep/exec.c osdep/devmapper/hostdisk.c osdep/hostdisk.c \
+- kern/emu/hostfs.c kern/emu/main.c kern/emu/argp_common.c \
+- kern/emu/misc.c kern/emu/mm.c kern/emu/time.c kern/emu/cache.c \
++ kern/efi/acpi.c kern/efi/sb.c kern/compiler-rt.c kern/mm.c \
++ kern/time.c kern/generic/millisleep.c kern/command.c \
++ kern/corecmd.c kern/device.c kern/disk.c kern/dl.c kern/env.c \
++ kern/err.c kern/file.c kern/fs.c kern/list.c kern/main.c \
++ kern/misc.c kern/parser.c kern/partition.c \
++ kern/rescue_parser.c kern/rescue_reader.c kern/term.c \
++ kern/arm/startup.S kern/arm/coreboot/init.c \
++ kern/arm/coreboot/timer.c kern/arm/coreboot/coreboot.S \
++ lib/fdt.c bus/fdt.c term/ps2.c term/arm/pl050.c \
++ term/arm/cros.c term/arm/cros_ec.c bus/spi/rk3288_spi.c \
++ commands/keylayouts.c kern/arm/coreboot/dma.c \
++ kern/arm/coreboot/cbtable.c video/coreboot/cbfb.c \
++ kern/coreboot/mmap.c kern/coreboot/cbtable.c term/gfxterm.c \
++ font/font.c font/font_cmd.c io/bufio.c video/fb/fbblit.c \
++ video/fb/fbfill.c video/fb/fbutil.c video/fb/video_fb.c \
++ video/video.c kern/arm/dl.c kern/arm/dl_helper.c \
++ kern/arm/cache_armv6.S kern/arm/cache_armv7.S kern/arm/cache.c \
++ kern/arm/compiler-rt.S lib/division.c kern/arm/efi/startup.S \
++ kern/arm/efi/init.c kern/arm/uboot/init.c \
++ kern/arm/uboot/uboot.S disk/uboot/ubootdisk.c \
++ kern/uboot/uboot.c kern/uboot/init.c kern/uboot/hw.c \
++ term/uboot/console.c term/terminfo.c term/tparm.c \
++ commands/extcmd.c lib/arg.c disk/host.c kern/emu/cache_s.S \
++ kern/emu/hostdisk.c osdep/unix/hostdisk.c osdep/exec.c \
++ osdep/devmapper/hostdisk.c osdep/hostdisk.c kern/emu/hostfs.c \
++ kern/emu/main.c kern/emu/argp_common.c kern/emu/misc.c \
++ kern/emu/mm.c kern/emu/time.c kern/emu/cache.c \
+ osdep/emuconsole.c osdep/dl.c osdep/sleep.c osdep/init.c \
+ osdep/emunet.c osdep/cputime.c kern/i386/coreboot/startup.S \
+ kern/i386/coreboot/init.c kern/i386/pc/acpi.c \
+@@ -10580,6 +10581,7 @@ am__kernel_exec_SOURCES_DIST = kern/arm64/efi/startup.S \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_FALSE@@COND_mips_arc_FALSE@@COND_mips_loongson_FALSE@@COND_mips_qemu_mips_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_riscv32_efi_FALSE@@COND_riscv64_efi_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ term/efi/kernel_exec-console.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_FALSE@@COND_mips_arc_FALSE@@COND_mips_loongson_FALSE@@COND_mips_qemu_mips_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_riscv32_efi_FALSE@@COND_riscv64_efi_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/kernel_exec-acpi.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_FALSE@@COND_mips_arc_FALSE@@COND_mips_loongson_FALSE@@COND_mips_qemu_mips_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_riscv32_efi_FALSE@@COND_riscv64_efi_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/efi/kernel_exec-acpi.$(OBJEXT) \
++@COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_FALSE@@COND_mips_arc_FALSE@@COND_mips_loongson_FALSE@@COND_mips_qemu_mips_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_riscv32_efi_FALSE@@COND_riscv64_efi_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/efi/kernel_exec-sb.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_FALSE@@COND_mips_arc_FALSE@@COND_mips_loongson_FALSE@@COND_mips_qemu_mips_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_riscv32_efi_FALSE@@COND_riscv64_efi_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/kernel_exec-compiler-rt.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_FALSE@@COND_mips_arc_FALSE@@COND_mips_loongson_FALSE@@COND_mips_qemu_mips_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_riscv32_efi_FALSE@@COND_riscv64_efi_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/kernel_exec-mm.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_FALSE@@COND_mips_arc_FALSE@@COND_mips_loongson_FALSE@@COND_mips_qemu_mips_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_riscv32_efi_FALSE@@COND_riscv64_efi_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/kernel_exec-time.$(OBJEXT) \
+@@ -10651,6 +10653,7 @@ am__kernel_exec_SOURCES_DIST = kern/arm64/efi/startup.S \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_FALSE@@COND_mips_arc_FALSE@@COND_mips_loongson_FALSE@@COND_mips_qemu_mips_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_riscv32_efi_FALSE@@COND_riscv64_efi_TRUE@ term/efi/kernel_exec-console.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_FALSE@@COND_mips_arc_FALSE@@COND_mips_loongson_FALSE@@COND_mips_qemu_mips_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_riscv32_efi_FALSE@@COND_riscv64_efi_TRUE@ kern/kernel_exec-acpi.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_FALSE@@COND_mips_arc_FALSE@@COND_mips_loongson_FALSE@@COND_mips_qemu_mips_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_riscv32_efi_FALSE@@COND_riscv64_efi_TRUE@ kern/efi/kernel_exec-acpi.$(OBJEXT) \
++@COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_FALSE@@COND_mips_arc_FALSE@@COND_mips_loongson_FALSE@@COND_mips_qemu_mips_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_riscv32_efi_FALSE@@COND_riscv64_efi_TRUE@ kern/efi/kernel_exec-sb.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_FALSE@@COND_mips_arc_FALSE@@COND_mips_loongson_FALSE@@COND_mips_qemu_mips_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_riscv32_efi_FALSE@@COND_riscv64_efi_TRUE@ kern/kernel_exec-compiler-rt.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_FALSE@@COND_mips_arc_FALSE@@COND_mips_loongson_FALSE@@COND_mips_qemu_mips_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_riscv32_efi_FALSE@@COND_riscv64_efi_TRUE@ kern/kernel_exec-mm.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_FALSE@@COND_mips_arc_FALSE@@COND_mips_loongson_FALSE@@COND_mips_qemu_mips_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_riscv32_efi_FALSE@@COND_riscv64_efi_TRUE@ kern/kernel_exec-time.$(OBJEXT) \
+@@ -10686,6 +10689,7 @@ am__kernel_exec_SOURCES_DIST = kern/arm64/efi/startup.S \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_FALSE@@COND_mips_arc_FALSE@@COND_mips_loongson_FALSE@@COND_mips_qemu_mips_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_riscv32_efi_TRUE@ term/efi/kernel_exec-console.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_FALSE@@COND_mips_arc_FALSE@@COND_mips_loongson_FALSE@@COND_mips_qemu_mips_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_riscv32_efi_TRUE@ kern/kernel_exec-acpi.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_FALSE@@COND_mips_arc_FALSE@@COND_mips_loongson_FALSE@@COND_mips_qemu_mips_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_riscv32_efi_TRUE@ kern/efi/kernel_exec-acpi.$(OBJEXT) \
++@COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_FALSE@@COND_mips_arc_FALSE@@COND_mips_loongson_FALSE@@COND_mips_qemu_mips_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_riscv32_efi_TRUE@ kern/efi/kernel_exec-sb.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_FALSE@@COND_mips_arc_FALSE@@COND_mips_loongson_FALSE@@COND_mips_qemu_mips_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_riscv32_efi_TRUE@ kern/kernel_exec-compiler-rt.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_FALSE@@COND_mips_arc_FALSE@@COND_mips_loongson_FALSE@@COND_mips_qemu_mips_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_riscv32_efi_TRUE@ kern/kernel_exec-mm.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_FALSE@@COND_mips_arc_FALSE@@COND_mips_loongson_FALSE@@COND_mips_qemu_mips_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_riscv32_efi_TRUE@ kern/kernel_exec-time.$(OBJEXT) \
+@@ -10881,6 +10885,7 @@ am__kernel_exec_SOURCES_DIST = kern/arm64/efi/startup.S \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_TRUE@ term/efi/kernel_exec-console.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_TRUE@ kern/kernel_exec-acpi.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_TRUE@ kern/efi/kernel_exec-acpi.$(OBJEXT) \
++@COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_TRUE@ kern/efi/kernel_exec-sb.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_TRUE@ kern/kernel_exec-compiler-rt.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_TRUE@ kern/kernel_exec-mm.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_i386_xen_FALSE@@COND_i386_xen_pvh_FALSE@@COND_ia64_efi_TRUE@ kern/kernel_exec-time.$(OBJEXT) \
+@@ -11109,6 +11114,7 @@ am__kernel_exec_SOURCES_DIST = kern/arm64/efi/startup.S \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ term/efi/kernel_exec-console.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/kernel_exec-acpi.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/efi/kernel_exec-acpi.$(OBJEXT) \
++@COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/efi/kernel_exec-sb.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/kernel_exec-compiler-rt.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/kernel_exec-mm.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_FALSE@@COND_arm_uboot_FALSE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/kernel_exec-time.$(OBJEXT) \
+@@ -11271,6 +11277,7 @@ am__kernel_exec_SOURCES_DIST = kern/arm64/efi/startup.S \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_TRUE@ term/efi/kernel_exec-console.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_TRUE@ kern/kernel_exec-acpi.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_TRUE@ kern/efi/kernel_exec-acpi.$(OBJEXT) \
++@COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_TRUE@ kern/efi/kernel_exec-sb.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_TRUE@ kern/kernel_exec-compiler-rt.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_TRUE@ kern/kernel_exec-mm.$(OBJEXT) \
+ @COND_arm64_efi_FALSE@@COND_arm_coreboot_FALSE@@COND_arm_efi_TRUE@ kern/kernel_exec-time.$(OBJEXT) \
+@@ -11360,6 +11367,7 @@ am__kernel_exec_SOURCES_DIST = kern/arm64/efi/startup.S \
+ @COND_arm64_efi_TRUE@ term/efi/kernel_exec-console.$(OBJEXT) \
+ @COND_arm64_efi_TRUE@ kern/kernel_exec-acpi.$(OBJEXT) \
+ @COND_arm64_efi_TRUE@ kern/efi/kernel_exec-acpi.$(OBJEXT) \
++@COND_arm64_efi_TRUE@ kern/efi/kernel_exec-sb.$(OBJEXT) \
+ @COND_arm64_efi_TRUE@ kern/kernel_exec-compiler-rt.$(OBJEXT) \
+ @COND_arm64_efi_TRUE@ kern/kernel_exec-mm.$(OBJEXT) \
+ @COND_arm64_efi_TRUE@ kern/kernel_exec-time.$(OBJEXT) \
+@@ -16380,6 +16388,7 @@ KERNEL_HEADER_FILES = $(top_srcdir)/include/grub/cache.h \
+ $(top_srcdir)/include/grub/device.h \
+ $(top_srcdir)/include/grub/disk.h \
+ $(top_srcdir)/include/grub/dl.h \
++ $(top_srcdir)/include/grub/efi/sb.h \
+ $(top_srcdir)/include/grub/env.h \
+ $(top_srcdir)/include/grub/env_private.h \
+ $(top_srcdir)/include/grub/err.h \
+@@ -25612,7 +25621,7 @@ gcry_whirlpool_module_DEPENDENCIES = $(TARGET_OBJ2ELF)
+ @COND_arm64_efi_TRUE@ kern/arm64/dl_helper.c disk/efi/efidisk.c \
+ @COND_arm64_efi_TRUE@ kern/efi/efi.c kern/efi/init.c \
+ @COND_arm64_efi_TRUE@ kern/efi/mm.c term/efi/console.c \
+-@COND_arm64_efi_TRUE@ kern/acpi.c kern/efi/acpi.c \
++@COND_arm64_efi_TRUE@ kern/acpi.c kern/efi/acpi.c kern/efi/sb.c \
+ @COND_arm64_efi_TRUE@ kern/compiler-rt.c kern/mm.c kern/time.c \
+ @COND_arm64_efi_TRUE@ kern/generic/millisleep.c kern/command.c \
+ @COND_arm64_efi_TRUE@ kern/corecmd.c kern/device.c kern/disk.c \
+@@ -25661,8 +25670,8 @@ gcry_whirlpool_module_DEPENDENCIES = $(TARGET_OBJ2ELF)
+ @COND_arm_efi_TRUE@ disk/efi/efidisk.c kern/efi/efi.c \
+ @COND_arm_efi_TRUE@ kern/efi/init.c kern/efi/mm.c \
+ @COND_arm_efi_TRUE@ term/efi/console.c kern/acpi.c \
+-@COND_arm_efi_TRUE@ kern/efi/acpi.c kern/compiler-rt.c \
+-@COND_arm_efi_TRUE@ kern/mm.c kern/time.c \
++@COND_arm_efi_TRUE@ kern/efi/acpi.c kern/efi/sb.c \
++@COND_arm_efi_TRUE@ kern/compiler-rt.c kern/mm.c kern/time.c \
+ @COND_arm_efi_TRUE@ kern/generic/millisleep.c kern/command.c \
+ @COND_arm_efi_TRUE@ kern/corecmd.c kern/device.c kern/disk.c \
+ @COND_arm_efi_TRUE@ kern/dl.c kern/env.c kern/err.c kern/file.c \
+@@ -25739,7 +25748,7 @@ gcry_whirlpool_module_DEPENDENCIES = $(TARGET_OBJ2ELF)
+ @COND_i386_efi_TRUE@ kern/i386/tsc_pit.c disk/efi/efidisk.c \
+ @COND_i386_efi_TRUE@ kern/efi/efi.c kern/efi/init.c \
+ @COND_i386_efi_TRUE@ kern/efi/mm.c term/efi/console.c \
+-@COND_i386_efi_TRUE@ kern/acpi.c kern/efi/acpi.c \
++@COND_i386_efi_TRUE@ kern/acpi.c kern/efi/acpi.c kern/efi/sb.c \
+ @COND_i386_efi_TRUE@ kern/compiler-rt.c kern/mm.c kern/time.c \
+ @COND_i386_efi_TRUE@ kern/generic/millisleep.c kern/command.c \
+ @COND_i386_efi_TRUE@ kern/corecmd.c kern/device.c kern/disk.c \
+@@ -25851,7 +25860,7 @@ gcry_whirlpool_module_DEPENDENCIES = $(TARGET_OBJ2ELF)
+ @COND_ia64_efi_TRUE@ lib/division.c disk/efi/efidisk.c \
+ @COND_ia64_efi_TRUE@ kern/efi/efi.c kern/efi/init.c \
+ @COND_ia64_efi_TRUE@ kern/efi/mm.c term/efi/console.c \
+-@COND_ia64_efi_TRUE@ kern/acpi.c kern/efi/acpi.c \
++@COND_ia64_efi_TRUE@ kern/acpi.c kern/efi/acpi.c kern/efi/sb.c \
+ @COND_ia64_efi_TRUE@ kern/compiler-rt.c kern/mm.c kern/time.c \
+ @COND_ia64_efi_TRUE@ kern/generic/millisleep.c kern/command.c \
+ @COND_ia64_efi_TRUE@ kern/corecmd.c kern/device.c kern/disk.c \
+@@ -25959,9 +25968,9 @@ gcry_whirlpool_module_DEPENDENCIES = $(TARGET_OBJ2ELF)
+ @COND_riscv32_efi_TRUE@ disk/efi/efidisk.c kern/efi/efi.c \
+ @COND_riscv32_efi_TRUE@ kern/efi/init.c kern/efi/mm.c \
+ @COND_riscv32_efi_TRUE@ term/efi/console.c kern/acpi.c \
+-@COND_riscv32_efi_TRUE@ kern/efi/acpi.c kern/compiler-rt.c \
+-@COND_riscv32_efi_TRUE@ kern/mm.c kern/time.c \
+-@COND_riscv32_efi_TRUE@ kern/generic/millisleep.c \
++@COND_riscv32_efi_TRUE@ kern/efi/acpi.c kern/efi/sb.c \
++@COND_riscv32_efi_TRUE@ kern/compiler-rt.c kern/mm.c \
++@COND_riscv32_efi_TRUE@ kern/time.c kern/generic/millisleep.c \
+ @COND_riscv32_efi_TRUE@ kern/command.c kern/corecmd.c \
+ @COND_riscv32_efi_TRUE@ kern/device.c kern/disk.c kern/dl.c \
+ @COND_riscv32_efi_TRUE@ kern/env.c kern/err.c kern/file.c \
+@@ -25977,8 +25986,9 @@ gcry_whirlpool_module_DEPENDENCIES = $(TARGET_OBJ2ELF)
+ @COND_riscv64_efi_TRUE@ kern/efi/efi.c kern/efi/init.c \
+ @COND_riscv64_efi_TRUE@ kern/efi/mm.c term/efi/console.c \
+ @COND_riscv64_efi_TRUE@ kern/acpi.c kern/efi/acpi.c \
+-@COND_riscv64_efi_TRUE@ kern/compiler-rt.c kern/mm.c \
+-@COND_riscv64_efi_TRUE@ kern/time.c kern/generic/millisleep.c \
++@COND_riscv64_efi_TRUE@ kern/efi/sb.c kern/compiler-rt.c \
++@COND_riscv64_efi_TRUE@ kern/mm.c kern/time.c \
++@COND_riscv64_efi_TRUE@ kern/generic/millisleep.c \
+ @COND_riscv64_efi_TRUE@ kern/command.c kern/corecmd.c \
+ @COND_riscv64_efi_TRUE@ kern/device.c kern/disk.c kern/dl.c \
+ @COND_riscv64_efi_TRUE@ kern/env.c kern/err.c kern/file.c \
+@@ -26022,7 +26032,8 @@ gcry_whirlpool_module_DEPENDENCIES = $(TARGET_OBJ2ELF)
+ @COND_x86_64_efi_TRUE@ kern/efi/efi.c kern/efi/init.c \
+ @COND_x86_64_efi_TRUE@ kern/efi/mm.c term/efi/console.c \
+ @COND_x86_64_efi_TRUE@ kern/acpi.c kern/efi/acpi.c \
+-@COND_x86_64_efi_TRUE@ kern/compiler-rt.c kern/mm.c kern/time.c \
++@COND_x86_64_efi_TRUE@ kern/efi/sb.c kern/compiler-rt.c \
++@COND_x86_64_efi_TRUE@ kern/mm.c kern/time.c \
+ @COND_x86_64_efi_TRUE@ kern/generic/millisleep.c kern/command.c \
+ @COND_x86_64_efi_TRUE@ kern/corecmd.c kern/device.c kern/disk.c \
+ @COND_x86_64_efi_TRUE@ kern/dl.c kern/env.c kern/err.c \
+@@ -27989,6 +28000,8 @@ kern/kernel_exec-acpi.$(OBJEXT): kern/$(am__dirstamp) \
+ kern/$(DEPDIR)/$(am__dirstamp)
+ kern/efi/kernel_exec-acpi.$(OBJEXT): kern/efi/$(am__dirstamp) \
+ kern/efi/$(DEPDIR)/$(am__dirstamp)
++kern/efi/kernel_exec-sb.$(OBJEXT): kern/efi/$(am__dirstamp) \
++ kern/efi/$(DEPDIR)/$(am__dirstamp)
+ kern/kernel_exec-compiler-rt.$(OBJEXT): kern/$(am__dirstamp) \
+ kern/$(DEPDIR)/$(am__dirstamp)
+ kern/kernel_exec-mm.$(OBJEXT): kern/$(am__dirstamp) \
+@@ -30994,6 +31007,7 @@ distclean-compile:
+ @AMDEP_TRUE@@am__include@ @am__quote@kern/efi/$(DEPDIR)/kernel_exec-fdt.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@kern/efi/$(DEPDIR)/kernel_exec-init.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@kern/efi/$(DEPDIR)/kernel_exec-mm.Po@am__quote@
++@AMDEP_TRUE@@am__include@ @am__quote@kern/efi/$(DEPDIR)/kernel_exec-sb.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@kern/emu/$(DEPDIR)/grub_emu-full.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@kern/emu/$(DEPDIR)/grub_emu_lite-lite.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@kern/emu/$(DEPDIR)/kernel_exec-argp_common.Po@am__quote@
+@@ -35285,6 +35299,20 @@ kern/efi/kernel_exec-acpi.obj: kern/efi/acpi.c
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/efi/kernel_exec-acpi.obj `if test -f 'kern/efi/acpi.c'; then $(CYGPATH_W) 'kern/efi/acpi.c'; else $(CYGPATH_W) '$(srcdir)/kern/efi/acpi.c'; fi`
+
++kern/efi/kernel_exec-sb.o: kern/efi/sb.c
++@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/efi/kernel_exec-sb.o -MD -MP -MF kern/efi/$(DEPDIR)/kernel_exec-sb.Tpo -c -o kern/efi/kernel_exec-sb.o `test -f 'kern/efi/sb.c' || echo '$(srcdir)/'`kern/efi/sb.c
++@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) kern/efi/$(DEPDIR)/kernel_exec-sb.Tpo kern/efi/$(DEPDIR)/kernel_exec-sb.Po
++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='kern/efi/sb.c' object='kern/efi/kernel_exec-sb.o' libtool=no @AMDEPBACKSLASH@
++@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/efi/kernel_exec-sb.o `test -f 'kern/efi/sb.c' || echo '$(srcdir)/'`kern/efi/sb.c
++
++kern/efi/kernel_exec-sb.obj: kern/efi/sb.c
++@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/efi/kernel_exec-sb.obj -MD -MP -MF kern/efi/$(DEPDIR)/kernel_exec-sb.Tpo -c -o kern/efi/kernel_exec-sb.obj `if test -f 'kern/efi/sb.c'; then $(CYGPATH_W) 'kern/efi/sb.c'; else $(CYGPATH_W) '$(srcdir)/kern/efi/sb.c'; fi`
++@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) kern/efi/$(DEPDIR)/kernel_exec-sb.Tpo kern/efi/$(DEPDIR)/kernel_exec-sb.Po
++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='kern/efi/sb.c' object='kern/efi/kernel_exec-sb.obj' libtool=no @AMDEPBACKSLASH@
++@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/efi/kernel_exec-sb.obj `if test -f 'kern/efi/sb.c'; then $(CYGPATH_W) 'kern/efi/sb.c'; else $(CYGPATH_W) '$(srcdir)/kern/efi/sb.c'; fi`
++
+ kern/kernel_exec-compiler-rt.o: kern/compiler-rt.c
+ @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-compiler-rt.o -MD -MP -MF kern/$(DEPDIR)/kernel_exec-compiler-rt.Tpo -c -o kern/kernel_exec-compiler-rt.o `test -f 'kern/compiler-rt.c' || echo '$(srcdir)/'`kern/compiler-rt.c
+ @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) kern/$(DEPDIR)/kernel_exec-compiler-rt.Tpo kern/$(DEPDIR)/kernel_exec-compiler-rt.Po
+diff --git a/grub-core/kern/efi/sb.c b/grub-core/kern/efi/sb.c
+new file mode 100644
+index 0000000..19658d9
+--- /dev/null
++++ b/grub-core/kern/efi/sb.c
+@@ -0,0 +1,109 @@
++/*
++ * GRUB -- GRand Unified Bootloader
++ * Copyright (C) 2020 Free Software Foundation, Inc.
++ *
++ * GRUB is free software: you can redistribute it and/or modify
++ * it under the terms of the GNU General Public License as published by
++ * the Free Software Foundation, either version 3 of the License, or
++ * (at your option) any later version.
++ *
++ * GRUB is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU General Public License for more details.
++ *
++ * You should have received a copy of the GNU General Public License
++ * along with GRUB. If not, see <http://www.gnu.org/licenses/>.
++ *
++ * UEFI Secure Boot related checkings.
++ */
++
++#include <grub/efi/efi.h>
++#include <grub/efi/pe32.h>
++#include <grub/efi/sb.h>
++#include <grub/err.h>
++#include <grub/i386/linux.h>
++#include <grub/mm.h>
++#include <grub/types.h>
++
++/*
++ * Determine whether we're in secure boot mode.
++ *
++ * Please keep the logic in sync with the Linux kernel,
++ * drivers/firmware/efi/libstub/secureboot.c:efi_get_secureboot().
++ */
++grub_uint8_t
++grub_efi_get_secureboot (void)
++{
++ static grub_efi_guid_t efi_variable_guid = GRUB_EFI_GLOBAL_VARIABLE_GUID;
++ static grub_efi_guid_t efi_shim_lock_guid = GRUB_EFI_SHIM_LOCK_GUID;
++ grub_efi_status_t status;
++ grub_efi_uint32_t attr = 0;
++ grub_size_t size = 0;
++ grub_uint8_t *secboot = NULL;
++ grub_uint8_t *setupmode = NULL;
++ grub_uint8_t *moksbstate = NULL;
++ grub_uint8_t secureboot = GRUB_EFI_SECUREBOOT_MODE_UNKNOWN;
++ const char *secureboot_str = "UNKNOWN";
++
++ status = grub_efi_get_variable ("SecureBoot", &efi_variable_guid,
++ &size, (void **) &secboot);
++
++ if (status == GRUB_EFI_NOT_FOUND)
++ {
++ secureboot = GRUB_EFI_SECUREBOOT_MODE_DISABLED;
++ goto out;
++ }
++
++ if (status != GRUB_EFI_SUCCESS)
++ goto out;
++
++ status = grub_efi_get_variable ("SetupMode", &efi_variable_guid,
++ &size, (void **) &setupmode);
++
++ if (status != GRUB_EFI_SUCCESS)
++ goto out;
++
++ if ((*secboot == 0) || (*setupmode == 1))
++ {
++ secureboot = GRUB_EFI_SECUREBOOT_MODE_DISABLED;
++ goto out;
++ }
++
++ /*
++ * See if a user has put the shim into insecure mode. If so, and if the
++ * variable doesn't have the runtime attribute set, we might as well
++ * honor that.
++ */
++ status = grub_efi_get_variable_with_attributes ("MokSBState", &efi_shim_lock_guid,
++ &size, (void **) &moksbstate, &attr);
++
++ /* If it fails, we don't care why. Default to secure. */
++ if (status != GRUB_EFI_SUCCESS)
++ {
++ secureboot = GRUB_EFI_SECUREBOOT_MODE_ENABLED;
++ goto out;
++ }
++
++ if (!(attr & GRUB_EFI_VARIABLE_RUNTIME_ACCESS) && *moksbstate == 1)
++ {
++ secureboot = GRUB_EFI_SECUREBOOT_MODE_DISABLED;
++ goto out;
++ }
++
++ secureboot = GRUB_EFI_SECUREBOOT_MODE_ENABLED;
++
++ out:
++ grub_free (moksbstate);
++ grub_free (setupmode);
++ grub_free (secboot);
++
++ if (secureboot == GRUB_EFI_SECUREBOOT_MODE_DISABLED)
++ secureboot_str = "Disabled";
++ else if (secureboot == GRUB_EFI_SECUREBOOT_MODE_ENABLED)
++ secureboot_str = "Enabled";
++
++ grub_dprintf ("efi", "UEFI Secure Boot state: %s\n", secureboot_str);
++
++ return secureboot;
++}
+diff --git a/include/grub/efi/sb.h b/include/grub/efi/sb.h
+new file mode 100644
+index 0000000..a33d985
+--- /dev/null
++++ b/include/grub/efi/sb.h
+@@ -0,0 +1,40 @@
++/*
++ * GRUB -- GRand Unified Bootloader
++ * Copyright (C) 2020 Free Software Foundation, Inc.
++ *
++ * GRUB is free software: you can redistribute it and/or modify
++ * it under the terms of the GNU General Public License as published by
++ * the Free Software Foundation, either version 3 of the License, or
++ * (at your option) any later version.
++ *
++ * GRUB is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU General Public License for more details.
++ *
++ * You should have received a copy of the GNU General Public License
++ * along with GRUB. If not, see <http://www.gnu.org/licenses/>.
++ */
++
++#ifndef GRUB_EFI_SB_H
++#define GRUB_EFI_SB_H 1
++
++#include <grub/types.h>
++#include <grub/dl.h>
++
++#define GRUB_EFI_SECUREBOOT_MODE_UNSET 0
++#define GRUB_EFI_SECUREBOOT_MODE_UNKNOWN 1
++#define GRUB_EFI_SECUREBOOT_MODE_DISABLED 2
++#define GRUB_EFI_SECUREBOOT_MODE_ENABLED 3
++
++#ifdef GRUB_MACHINE_EFI
++extern grub_uint8_t
++EXPORT_FUNC (grub_efi_get_secureboot) (void);
++#else
++static inline grub_uint8_t
++grub_efi_get_secureboot (void)
++{
++