aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES115
-rw-r--r--Config.in18
-rw-r--r--Config.in.legacy63
-rw-r--r--DEVELOPERS77
-rw-r--r--Makefile19
-rw-r--r--README2
-rw-r--r--arch/Config.in4
-rw-r--r--board/atmel/readme.txt2
-rw-r--r--board/beaglev/extlinux.conf2
-rw-r--r--board/beaglev/patches/uboot/0001-include-configs-starfive-vic7100-adjust-fdt_addr_r.patch39
-rwxr-xr-xboard/beaglev/post-build.sh6
-rw-r--r--board/beaglev/readme.txt4
-rw-r--r--board/chromebook/elm/linux.config66
-rw-r--r--board/chromebook/elm/patches/linux/0001-drm-bridge_connector-Set-default-status-connected-fo.patch35
-rw-r--r--board/chromebook/elm/patches/linux/0002-drm-bridge-ps8640-Get-the-EDID-from-eDP-control.patch50
-rw-r--r--board/chromebook/elm/patches/linux/0003-drm-bridge-ps8640-Return-an-error-for-incorrect-atta.patch35
-rw-r--r--board/chromebook/elm/patches/linux/0004-drm-bridge-ps8640-Print-an-error-if-VDO-control-fail.patch58
-rw-r--r--board/chromebook/elm/patches/linux/0005-drm-bridge-ps8640-Rework-power-state-handling.patch162
-rw-r--r--board/chromebook/elm/patches/linux/0006-Revert-drm-mediatek-dsi-Fix-scrolling-of-panel-with-.patch41
-rw-r--r--board/freescale/common/imx/genimage.cfg.template_no_boot_part15
-rwxr-xr-xboard/freescale/common/imx/post-image.sh2
-rw-r--r--board/freescale/imx7dsdb/rootfs_overlay/boot/extlinux/extlinux.conf4
-rw-r--r--board/kontron/pitx-imx8m/boot.cmd8
-rw-r--r--board/kontron/pitx-imx8m/genimage.cfg16
-rwxr-xr-xboard/kontron/pitx-imx8m/post-build.sh (renamed from board/olimex/a20_olinuxino/post-build.sh)1
-rwxr-xr-xboard/kontron/pitx-imx8m/post-image.sh3
-rw-r--r--board/kontron/pitx-imx8m/readme.txt74
-rw-r--r--board/microchip/sama5d2_icp/genimage.cfg31
-rw-r--r--board/minnowboard/fs-overlay-graphical/etc/X11/xorg.conf.d/01-modules.conf11
-rw-r--r--[l---------]board/olimex/a10_olinuxino/boot.cmd6
-rwxr-xr-x[l---------]board/olimex/a10_olinuxino/post-build.sh4
-rw-r--r--board/olimex/a20_olinuxino/boot.cmd5
-rw-r--r--board/olimex/a20_olinuxino/rootfs_overlay/boot/extlinux/extlinux.conf4
-rw-r--r--board/orangepi/orangepi-pc-plus/boot.cmd2
-rw-r--r--board/orangepi/orangepi-pc-plus/genimage.cfg8
-rw-r--r--board/orangepi/orangepi-zero-plus2/genimage.cfg10
-rwxr-xr-xboard/qemu/aarch64-sbsa/assemble-flash-images11
-rw-r--r--board/qemu/aarch64-sbsa/genimage.cfg30
-rw-r--r--board/qemu/aarch64-sbsa/grub.cfg6
-rw-r--r--board/qemu/aarch64-sbsa/linux.config68
-rw-r--r--board/qemu/aarch64-sbsa/readme.txt32
-rw-r--r--board/qemu/s390x/patches/linux/0001-arch-s390-disable-SSP-when-needed.patch47
-rw-r--r--board/qemu/sparc64-sun4u/patches/linux/0001-sparc64-avoid-stringop-overread-warning-to-access-Ma.patch154
-rw-r--r--board/raspberrypi/genimage-raspberrypicm4io-64.cfg30
-rw-r--r--board/raspberrypi/genimage-raspberrypicm4io.cfg30
-rwxr-xr-xboard/raspberrypi/post-image.sh2
-rw-r--r--board/raspberrypi/readme.txt46
l---------board/raspberrypicm4io1
l---------board/raspberrypicm4io-641
-rw-r--r--board/solidrun/mx6cubox/boot.scr.txt7
-rw-r--r--board/solidrun/mx6cubox/genimage.cfg29
-rw-r--r--board/solidrun/mx6cubox/patches/uboot/0001-mx6cuboxi-Fix-the-mmc-device-for-the-rootfs.patch29
-rw-r--r--board/solidrun/mx6cubox/patches/uboot/0002-mx6cuboxi-Fix-the-console-variable.patch40
-rwxr-xr-xboard/solidrun/mx6cubox/post-build.sh8
-rwxr-xr-xboard/solidrun/mx6cubox/post-image.sh14
-rw-r--r--board/solidrun/mx6cubox/rootfs_overlay/boot/extlinux/extlinux.conf4
-rw-r--r--board/stmicroelectronics/common/stm32mp157/genimage.cfg.template1
-rw-r--r--board/stmicroelectronics/stm32f469-disco/extlinux.conf4
-rwxr-xr-xboard/stmicroelectronics/stm32f469-disco/flash.sh4
-rw-r--r--board/stmicroelectronics/stm32f469-disco/genimage.cfg27
-rw-r--r--board/stmicroelectronics/stm32f469-disco/linux.fragment1
-rw-r--r--board/stmicroelectronics/stm32f469-disco/patches/linux/0001-ARM-stm32f249-disco-don-t-force-init-in-chosen-boota.patch33
-rwxr-xr-xboard/stmicroelectronics/stm32f469-disco/post-build.sh4
-rw-r--r--board/stmicroelectronics/stm32f469-disco/readme.txt16
-rw-r--r--board/stmicroelectronics/stm32mp157a-dk1/uboot-fragment.config1
-rw-r--r--board/stmicroelectronics/stm32mp157c-dk2/uboot-fragment.config1
-rw-r--r--board/uevm5432/genimage.cfg26
-rw-r--r--board/uevm5432/readme.txt40
-rw-r--r--board/wandboard/boot.scr.txt7
-rw-r--r--board/wandboard/genimage.cfg32
-rwxr-xr-xboard/wandboard/post-build.sh8
-rw-r--r--board/wandboard/rootfs_overlay/boot/extlinux/extlinux.conf4
-rw-r--r--boot/Config.in1
-rw-r--r--boot/arm-trusted-firmware/Config.in40
-rw-r--r--boot/arm-trusted-firmware/arm-trusted-firmware.hash2
-rw-r--r--boot/arm-trusted-firmware/arm-trusted-firmware.mk20
-rw-r--r--boot/at91bootstrap3/Config.in20
-rw-r--r--boot/at91bootstrap3/at91bootstrap3.hash4
-rw-r--r--boot/at91bootstrap3/at91bootstrap3.mk9
-rw-r--r--boot/barebox/Config.in4
-rw-r--r--boot/barebox/barebox.hash6
-rw-r--r--boot/beaglev-ddrinit/beaglev-ddrinit.hash3
-rw-r--r--boot/beaglev-ddrinit/beaglev-ddrinit.mk5
-rw-r--r--boot/beaglev-secondboot/beaglev-secondboot.hash3
-rw-r--r--boot/beaglev-secondboot/beaglev-secondboot.mk5
-rw-r--r--boot/edk2/Config.in108
-rw-r--r--boot/edk2/edk2.hash3
-rw-r--r--boot/edk2/edk2.mk151
-rw-r--r--boot/grub2/grub2.mk8
-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.patch (renamed from boot/opensbi/0002-Makefile-unconditionally-disable-SSP.patch)0
-rw-r--r--boot/opensbi/Config.in10
-rw-r--r--boot/opensbi/opensbi.mk5
-rw-r--r--boot/optee-os/0001-core-zlib-fix-build-warning-when-_LFS64_LARGEFILE-is.patch56
-rw-r--r--boot/optee-os/Config.in4
-rw-r--r--boot/optee-os/optee-os.hash4
-rw-r--r--boot/uboot/Config.in7
-rw-r--r--boot/uboot/uboot.hash2
-rw-r--r--boot/uboot/uboot.mk11
-rw-r--r--configs/acmesystems_acqua_a5_256mb_defconfig3
-rw-r--r--configs/acmesystems_acqua_a5_512mb_defconfig3
-rw-r--r--configs/beaglebone_defconfig27
-rw-r--r--configs/beaglev_defconfig23
-rw-r--r--configs/chromebook_elm_defconfig9
-rw-r--r--configs/engicam_imx6qdl_icore_qt5_defconfig1
-rw-r--r--configs/globalscale_espressobin_defconfig8
-rw-r--r--configs/imx6-sabresd_qt5_defconfig1
-rw-r--r--configs/imx7d-sdb_defconfig10
-rw-r--r--configs/imx7dpico_defconfig8
-rw-r--r--configs/kontron_pitx_imx8m_defconfig54
-rw-r--r--configs/kontron_smarc_sal28_defconfig4
-rw-r--r--configs/microchip_sama5d2_icp_mmc_defconfig31
-rw-r--r--configs/microchip_sama5d2_icp_mmc_dev_defconfig74
-rw-r--r--configs/minnowboard_max-graphical_defconfig1
-rw-r--r--configs/mx6cubox_defconfig9
-rw-r--r--configs/olimex_a20_olinuxino_lime2_defconfig8
-rw-r--r--configs/olimex_a20_olinuxino_lime_defconfig8
-rw-r--r--configs/orangepi_one_defconfig13
-rw-r--r--configs/orangepi_pc_plus_defconfig11
-rw-r--r--configs/orangepi_zero_defconfig10
-rw-r--r--configs/orangepi_zero_plus2_defconfig18
-rw-r--r--configs/qemu_aarch64_sbsa_defconfig52
-rw-r--r--configs/qemu_s390x_defconfig3
-rw-r--r--configs/qemu_sparc64_sun4u_defconfig3
-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/raspberrypicm4io_64_defconfig41
-rw-r--r--configs/raspberrypicm4io_defconfig41
-rw-r--r--configs/stm32f469_disco_defconfig22
-rw-r--r--configs/stm32mp157a_dk1_defconfig9
-rw-r--r--configs/stm32mp157c_dk2_defconfig9
-rw-r--r--configs/uevm5432_defconfig46
-rw-r--r--configs/wandboard_defconfig13
-rw-r--r--configs/warp7_defconfig8
-rw-r--r--docs/manual/adding-packages-cmake.txt2
-rw-r--r--docs/manual/resources.txt4
-rw-r--r--docs/website/docs.html13
-rw-r--r--docs/website/download.html60
-rw-r--r--docs/website/news.html99
-rw-r--r--docs/website/support.html10
-rw-r--r--fs/erofs/Config.in10
-rw-r--r--fs/erofs/erofs.mk4
-rw-r--r--linux/Config.in4
-rw-r--r--linux/linux.hash17
-rw-r--r--package/Config.in24
-rw-r--r--package/Config.in.host2
-rw-r--r--package/Makefile.in3
-rw-r--r--package/abootimg/Config.in2
-rw-r--r--package/abootimg/abootimg.hash2
-rw-r--r--package/abootimg/abootimg.mk5
-rw-r--r--package/acpid/acpid.mk2
-rw-r--r--package/aircrack-ng/Config.in1
-rw-r--r--package/alsa-lib/0002-dlmisc-the-snd_plugin_dir_set.patch34
-rw-r--r--package/alsa-lib/0002-fix-build-with-disable-ucm.patch43
-rw-r--r--package/alsa-lib/0003-control-empty-fix-the-static-build.patch29
-rw-r--r--package/alsa-lib/alsa-lib.hash2
-rw-r--r--package/alsa-lib/alsa-lib.mk2
-rw-r--r--package/alsa-plugins/Config.in8
-rw-r--r--package/alsa-plugins/alsa-plugins.hash4
-rw-r--r--package/alsa-plugins/alsa-plugins.mk32
-rw-r--r--package/apache/0004-server-log.c-ap_log_pid-Use-a-temporary-file-then-re.patch77
-rw-r--r--package/apache/apache.hash4
-rw-r--r--package/apache/apache.mk5
-rw-r--r--package/apcupsd/apcupsd.mk1
-rw-r--r--package/apg/Config.in6
-rw-r--r--package/apg/apg.hash3
-rw-r--r--package/apg/apg.mk21
-rw-r--r--package/apitrace/0001-dlsym-Fix-build-under-uClibc.patch31
-rw-r--r--package/apitrace/0001-thirdparty-libbacktrace-backtrace-h-include-config.h.patch40
-rw-r--r--package/apitrace/0002-Support-libc-that-don-t-have-RTLD_DEEPBIND.patch25
-rw-r--r--package/apitrace/0003-CMakeLists.txt-respect-BUILD_TESTING-OFF.patch104
-rw-r--r--package/apitrace/Config.in6
-rw-r--r--package/apitrace/apitrace.hash4
-rw-r--r--package/apitrace/apitrace.mk2
-rw-r--r--package/apr-util/apr-util.mk12
-rw-r--r--package/assimp/0002-closes-2733-update-of-zlip-to-fix-gcc-build-for-v9-2-0-32-bit.patch1638
-rw-r--r--package/assimp/0002-contrib-zip-fix-ssize_t-typedef-mismatch-for-musl-co.patch50
-rw-r--r--package/assimp/0003-closes-2954-upgrade-to-latest-greatest.patch243
-rw-r--r--package/assimp/0003-contrib-zlib-disable-dynamic-library-building.patch31
-rw-r--r--package/assimp/Config.in5
-rw-r--r--package/assimp/assimp.mk3
-rw-r--r--package/audit/0001-Fix-audispd-path-in-auditd.conf.patch32
-rw-r--r--package/audit/0002-Add-substitue-functions-for-strndupa-rawmemchr.patch133
-rw-r--r--package/audit/0003-Header-definitions-need-to-be-external-when-building.patch28
-rw-r--r--package/audit/S02auditd4
-rw-r--r--package/audit/audit.hash6
-rw-r--r--package/audit/audit.mk2
-rw-r--r--package/avahi/0001-Fix-NULL-pointer-crashes-from-175.patch152
-rw-r--r--package/avahi/avahi.mk4
-rw-r--r--package/batman-adv/batman-adv.hash4
-rw-r--r--package/batman-adv/batman-adv.mk2
-rw-r--r--package/bdwgc/0001-Fix-undefined-reference-to-__data_start-linker-error.patch33
-rw-r--r--package/bind/bind.mk1
-rw-r--r--package/binutils/2.32/0010-bfd-elf32-or1k-fix-ld-assert.patch35
-rw-r--r--package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch59
-rw-r--r--package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch256
-rw-r--r--package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch61
-rw-r--r--package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch500
-rw-r--r--package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch50
-rw-r--r--package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch59
-rw-r--r--package/binutils/2.34/0003-bfd-elf32-or1k-fix-ld-assert.patch35
-rw-r--r--package/binutils/2.34/0003-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch59
-rw-r--r--package/binutils/2.34/0004-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch256
-rw-r--r--package/binutils/2.34/0005-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch61
-rw-r--r--package/binutils/2.34/0006-or1k-Support-large-plt_relocs-when-generating-plt-en.patch500
-rw-r--r--package/binutils/2.34/0007-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch50
-rw-r--r--package/binutils/2.34/0008-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch59
-rw-r--r--package/binutils/2.35.2/0003-bfd-elf32-or1k-fix-ld-assert.patch35
-rw-r--r--package/binutils/2.35.2/0003-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch59
-rw-r--r--package/binutils/2.35.2/0004-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch256
-rw-r--r--package/binutils/2.35.2/0005-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch61
-rw-r--r--package/binutils/2.35.2/0006-or1k-Support-large-plt_relocs-when-generating-plt-en.patch500
-rw-r--r--package/binutils/2.35.2/0007-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch50
-rw-r--r--package/binutils/2.35.2/0008-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch59
-rw-r--r--package/binutils/2.36.1/0003-bfd-elf32-or1k-fix-ld-assert.patch35
-rw-r--r--package/binutils/2.36.1/0003-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch59
-rw-r--r--package/binutils/2.36.1/0004-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch256
-rw-r--r--package/binutils/2.36.1/0005-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch61
-rw-r--r--package/binutils/2.36.1/0006-or1k-Support-large-plt_relocs-when-generating-plt-en.patch500
-rw-r--r--package/binutils/2.36.1/0007-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch50
-rw-r--r--package/binutils/2.36.1/0008-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch59
-rw-r--r--package/bird/0001-Nest-Fix-build-without-protocols.patch28
-rw-r--r--package/bird/0002-Added-missing-extern.patch34
-rw-r--r--package/bird/Config.in5
-rw-r--r--package/bird/bird.hash4
-rw-r--r--package/bird/bird.mk12
-rw-r--r--package/bitcoin/bitcoin.hash4
-rw-r--r--package/bitcoin/bitcoin.mk2
-rw-r--r--package/blktrace/0001-btt-make-device-devno-use-PATH_MAX-to-avoid-overflow.patch146
-rw-r--r--package/blktrace/blktrace.hash6
-rw-r--r--package/blktrace/blktrace.mk7
-rw-r--r--package/bluez-alsa/Config.in6
-rw-r--r--package/bluez-alsa/bluez-alsa.hash2
-rw-r--r--package/bluez-alsa/bluez-alsa.mk2
-rw-r--r--package/bluez5_utils-headers/bluez5_utils-headers.mk2
-rw-r--r--package/bluez5_utils/0001-tools-mesh-cfgtest-include-limits.h.patch33
-rw-r--r--package/bluez5_utils/Config.in51
-rw-r--r--package/bluez5_utils/bluez5_utils.hash3
-rw-r--r--package/bluez5_utils/bluez5_utils.mk3
-rw-r--r--package/bmap-tools/Config.in44
-rw-r--r--package/bmap-tools/Config.in.host12
-rw-r--r--package/bmap-tools/bmap-tools.hash3
-rw-r--r--package/bmap-tools/bmap-tools.mk14
-rw-r--r--package/boinc/boinc.mk1
-rw-r--r--package/boost/0002-src-event-cpp-fix-build-on-riscv32.patch42
-rw-r--r--package/boost/boost.mk2
-rw-r--r--package/botan/Config.in2
-rw-r--r--package/bullet/Config.in7
-rw-r--r--package/busybox/0003-update_passwd-fix-context-variable.patch41
-rw-r--r--package/busybox/0004-decompress_gunzip-Fix-DoS-if-gzip-is-corrupt.patch58
-rw-r--r--package/busybox/busybox.hash4
-rw-r--r--package/busybox/busybox.mk5
-rw-r--r--package/cage/cage.hash2
-rw-r--r--package/cage/cage.mk7
-rw-r--r--package/can-utils/can-utils.hash2
-rw-r--r--package/can-utils/can-utils.mk2
-rw-r--r--package/capnproto/0001-mutex-Fix-build-on-32-bit-architectures-using-64-bit-time_t.patch37
-rw-r--r--package/cegui/0001-src-Exceptions.cpp-check-if-execinfo-header-is-avail.patch33
-rw-r--r--package/cegui/0002-cegui-src-IconvStringTranscoder.cpp-use-cast-notatio.patch34
-rw-r--r--package/cegui/cegui.hash2
-rw-r--r--package/cegui/cegui.mk27
-rw-r--r--package/checkpolicy/checkpolicy.hash2
-rw-r--r--package/checkpolicy/checkpolicy.mk4
-rw-r--r--package/chrony/chrony.mk2
-rw-r--r--package/chrony/chrony.service4
-rw-r--r--package/civetweb/civetweb.hash4
-rw-r--r--package/civetweb/civetweb.mk2
-rw-r--r--package/clamav/clamav.hash2
-rw-r--r--package/clamav/clamav.mk3
-rw-r--r--package/clapack/Config.in15
-rw-r--r--package/cog/cog.hash8
-rw-r--r--package/cog/cog.mk2
-rw-r--r--package/connman/connman.hash2
-rw-r--r--package/connman/connman.mk2
-rw-r--r--package/cryptsetup/cryptsetup.mk6
-rw-r--r--package/cutelyst/0001-server-CMakeLists.txt-don-t-override-CMAKE_EXE_LINKE.patch31
-rw-r--r--package/daemon/0001-daemon-fix-build-with-musl-libc-again.patch46
-rw-r--r--package/daemon/0001-fix-musl.patch18
-rw-r--r--package/daemon/0002-Fix-build-with-NDEBUG-defined.patch46
-rw-r--r--package/daemon/daemon.hash4
-rw-r--r--package/daemon/daemon.mk2
-rw-r--r--package/daq3/0001-add-disable-example.patch49
-rw-r--r--package/daq3/Config.in14
-rw-r--r--package/daq3/daq3.hash6
-rw-r--r--package/daq3/daq3.mk31
-rw-r--r--package/darkhttpd/0001-Declare-vars-outside-of-for-loop-for-std-c90.patch39
-rw-r--r--package/darkhttpd/darkhttpd.hash4
-rw-r--r--package/darkhttpd/darkhttpd.mk5
-rw-r--r--package/dbus-glib/dbus-glib.hash4
-rw-r--r--package/dbus-glib/dbus-glib.mk2
-rw-r--r--package/dc3dd/Config.in2
-rw-r--r--package/delve/delve.hash4
-rw-r--r--package/delve/delve.mk2
-rw-r--r--package/dhcp/dhcp.hash6
-rw-r--r--package/dhcp/dhcp.mk6
-rw-r--r--package/directfb/Config.in2
-rw-r--r--package/dmalloc/dmalloc.mk6
-rw-r--r--package/dnsmasq/dnsmasq.mk1
-rw-r--r--package/docker-cli/docker-cli.hash2
-rw-r--r--package/docker-cli/docker-cli.mk2
-rw-r--r--package/docker-compose/Config.in7
-rw-r--r--package/docker-engine/Config.in2
-rw-r--r--package/docker-engine/docker-engine.hash2
-rw-r--r--package/docker-engine/docker-engine.mk2
-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.mk6
-rw-r--r--package/dt-utils/dt-utils.hash2
-rw-r--r--package/dt-utils/dt-utils.mk2
-rw-r--r--package/duktape/duktape.mk4
-rw-r--r--package/duktape/duktape.pc.in10
-rw-r--r--package/e2fsprogs/e2fsprogs.mk1
-rw-r--r--package/ebtables/0002-ebtables.h-restore-KERNEL_64_USERSPACE_32-checks.patch105
-rw-r--r--package/ebtables/0003-configure.ac-add-option-enable-kernel-64-userland-32.patch51
-rw-r--r--package/ebtables/ebtables.mk6
-rw-r--r--package/edk2-platforms/Config.in8
-rw-r--r--package/edk2-platforms/edk2-platforms.hash3
-rw-r--r--package/edk2-platforms/edk2-platforms.mk22
-rw-r--r--package/efibootmgr/0002-remove-extra-decl.patch28
-rw-r--r--package/efibootmgr/Config.in2
-rw-r--r--package/efibootmgr/efibootmgr.hash4
-rw-r--r--package/efibootmgr/efibootmgr.mk2
-rw-r--r--package/efl/Config.in1
-rw-r--r--package/ell/ell.hash2
-rw-r--r--package/ell/ell.mk2
-rw-r--r--package/enlightenment/enlightenment.mk1
-rw-r--r--package/enscript/enscript.mk1
-rw-r--r--package/environment-setup/environment-setup.mk4
-rw-r--r--package/erofs-utils/0001-erofs-utils-manpage-only-install-erofsfuse.1-with-th.patch32
-rw-r--r--package/erofs-utils/erofs-utils.hash2
-rw-r--r--package/erofs-utils/erofs-utils.mk2
-rw-r--r--package/ethtool/ethtool.hash2
-rw-r--r--package/ethtool/ethtool.mk2
-rw-r--r--package/exempi/exempi.mk1
-rw-r--r--package/exiv2/0001-add-BUILD_WITH_STACK_PROTECTOR-option.patch52
-rw-r--r--package/exiv2/0001-cmake-compilerFlags.cmake-properly-detect-availabili.patch58
-rw-r--r--package/exiv2/exiv2.hash4
-rw-r--r--package/exiv2/exiv2.mk9
-rw-r--r--package/expat/expat.hash8
-rw-r--r--package/expat/expat.mk2
-rw-r--r--package/fb-test-app/fb-test-app.hash2
-rw-r--r--package/fb-test-app/fb-test-app.mk5
-rw-r--r--package/fbgrab/fbgrab.hash2
-rw-r--r--package/fbgrab/fbgrab.mk2
-rw-r--r--package/feh/feh.mk1
-rw-r--r--package/ffmpeg/0003-libavutil-Fix-mips-build.patch72
-rw-r--r--package/filemq/filemq.hash2
-rw-r--r--package/filemq/filemq.mk2
-rw-r--r--package/findutils/findutils.hash4
-rw-r--r--package/findutils/findutils.mk3
-rw-r--r--package/flac/flac.mk2
-rw-r--r--package/flannel/Config.in2
-rw-r--r--package/flannel/flannel.hash2
-rw-r--r--package/flannel/flannel.mk6
-rw-r--r--package/flare-engine/flare-engine.mk12
-rw-r--r--package/flatbuffers/flatbuffers.hash2
-rw-r--r--package/flatbuffers/flatbuffers.mk2
-rw-r--r--package/flatcc/flatcc.mk2
-rw-r--r--package/fluidsynth/fluidsynth.hash2
-rw-r--r--package/fluidsynth/fluidsynth.mk3
-rw-r--r--package/freerdp/Config.in1
-rw-r--r--package/freescale-imx/imx-gpu-viv/Config.in5
-rw-r--r--package/frr/frr.mk2
-rw-r--r--package/fuse-overlayfs/fuse-overlayfs.hash2
-rw-r--r--package/fuse-overlayfs/fuse-overlayfs.mk2
-rw-r--r--package/gawk/gawk.mk6
-rw-r--r--package/gcc/10.3.0/0002-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch200
-rw-r--r--package/gcc/10.3.0/0003-or1k-Use-cmodel-large-when-building-crtstuff.patch60
-rw-r--r--package/gcc/9.3.0/0001-xtensa-fix-PR-target-91880.patch50
-rw-r--r--package/gcc/9.3.0/0004-gcc-Makefile.in-move-SELFTEST_DEPS-before-including-.patch81
-rw-r--r--package/gcc/9.4.0/0001-or1k-Fix-issue-with-set_got-clobbering-LR-r9.patch (renamed from package/gcc/9.3.0/0002-or1k-Fix-issue-with-set_got-clobbering-LR-r9.patch)4
-rw-r--r--package/gcc/9.4.0/0002-gcc-define-_REENTRANT-for-OpenRISC-when-pthread-is-p.patch (renamed from package/gcc/9.3.0/0003-gcc-define-_REENTRANT-for-RISC-V-when-pthread-is-pas.patch)6
-rw-r--r--package/gcc/9.4.0/0003-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch (renamed from package/gcc/9.3.0/0005-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch)28
-rw-r--r--package/gcc/9.4.0/0004-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch201
-rw-r--r--package/gcc/9.4.0/0005-or1k-Use-cmodel-large-when-building-crtstuff.patch60
-rw-r--r--package/gcc/Config.in.host34
-rw-r--r--package/gcc/gcc.hash6
-rw-r--r--package/gcc/gcc.mk2
-rw-r--r--package/gcnano-binaries/gcnano-binaries.hash2
-rw-r--r--package/gcnano-binaries/gcnano-binaries.mk12
-rw-r--r--package/gcr/gcr.hash6
-rw-r--r--package/gcr/gcr.mk20
-rw-r--r--package/gd/gd.mk2
-rw-r--r--package/gdb/9.2/0007-gdb-configure.tgt-build-gdbserver-with-m68k-and-ucli.patch41
-rw-r--r--package/gdb/Config.in4
-rw-r--r--package/gdb/Config.in.host12
-rw-r--r--package/gdk-pixbuf/0001-meson.build-link-with-lintl-if-needed.patch45
-rw-r--r--package/gdk-pixbuf/0002-gdk-pixbuf-gdk-pixbuf-io.c-fix-build-without-gmodule.patch41
-rw-r--r--package/gdk-pixbuf/Config.in2
-rw-r--r--package/gdk-pixbuf/gdk-pixbuf.hash5
-rw-r--r--package/gdk-pixbuf/gdk-pixbuf.mk2
-rw-r--r--package/gerbera/gerbera.hash2
-rw-r--r--package/gerbera/gerbera.mk6
-rw-r--r--package/gesftpserver/gesftpserver.mk4
-rw-r--r--package/glibc/2.33-46-gedfd11197ecf3629bbb4b66c5814da09a61a7f9f/glibc.hash (renamed from package/glibc/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/glibc.hash)2
-rw-r--r--package/glibc/glibc.mk2
-rw-r--r--package/gnuchess/gnuchess.hash2
-rw-r--r--package/gnuchess/gnuchess.mk2
-rw-r--r--package/gnupg2/0001-dirmngr-Fix-build-with--disable-ldap.patch43
-rw-r--r--package/gnupg2/gnupg2.hash8
-rw-r--r--package/gnupg2/gnupg2.mk2
-rw-r--r--package/gnuplot/gnuplot.hash8
-rw-r--r--package/gnuplot/gnuplot.mk2
-rw-r--r--package/gnutls/gnutls.mk1
-rw-r--r--package/go-bootstrap/go-bootstrap.hash2
-rw-r--r--package/go-bootstrap/go-bootstrap.mk8
-rw-r--r--package/go/go.hash2
-rw-r--r--package/go/go.mk2
-rw-r--r--package/gobject-introspection/0001-disable-tests.patch2
-rw-r--r--package/gobject-introspection/0002-Add-rpath-links-to-ccompiler.patch2
-rw-r--r--package/gobject-introspection/Config.in1
-rw-r--r--package/gobject-introspection/gobject-introspection.hash9
-rw-r--r--package/gobject-introspection/gobject-introspection.mk12
-rw-r--r--package/gptfdisk/0001-gptcurses-partially-revert-Tweaks-for-building-on-th.patch2
-rw-r--r--package/gptfdisk/gptfdisk.hash7
-rw-r--r--package/gptfdisk/gptfdisk.mk2
-rw-r--r--package/gqrx/Config.in2
-rw-r--r--package/gqrx/gqrx.hash2
-rw-r--r--package/gqrx/gqrx.mk2
-rw-r--r--package/granite/0001-meson-add-introspection-option.patch73
-rw-r--r--package/granite/granite.hash2
-rw-r--r--package/granite/granite.mk11
-rw-r--r--package/grpc/grpc.hash2
-rw-r--r--package/grpc/grpc.mk3
-rw-r--r--package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk2
-rw-r--r--package/gstreamer1/gst1-plugins-base/0002-gstgl-Fix-build-when-Meson-0.58.0rc1.patch51
-rw-r--r--package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk2
-rw-r--r--package/gstreamer1/gstreamer1/gstreamer1.mk2
-rw-r--r--package/gtest/gtest.hash4
-rw-r--r--package/gtest/gtest.mk42
-rw-r--r--package/gumbo-parser/Config.in10
-rw-r--r--package/gumbo-parser/gumbo-parser.hash5
-rw-r--r--package/gumbo-parser/gumbo-parser.mk14
-rw-r--r--package/gupnp-av/gupnp-av.hash6
-rw-r--r--package/gupnp-av/gupnp-av.mk14
-rw-r--r--package/gupnp/0001-Revert-build-Always-build-gupnp-binding-tool-manpage.patch60
-rw-r--r--package/gupnp/0001-doc-Check-for-stylesheet-existence-on-doc-build.patch73
-rw-r--r--package/gupnp/gupnp.hash4
-rw-r--r--package/gupnp/gupnp.mk2
-rw-r--r--package/haproxy/haproxy.hash4
-rw-r--r--package/haproxy/haproxy.mk4
-rw-r--r--package/harfbuzz/0001-meson.build-check-for-pthread.h.patch9
-rw-r--r--package/harfbuzz/harfbuzz.hash4
-rw-r--r--package/harfbuzz/harfbuzz.mk4
-rw-r--r--package/hdparm/Config.in4
-rw-r--r--package/hdparm/hdparm.hash7
-rw-r--r--package/hdparm/hdparm.mk4
-rw-r--r--package/heirloom-mailx/Config.in2
-rw-r--r--package/heirloom-mailx/heirloom-mailx.mk2
-rw-r--r--package/hostapd/0003-Include-stdbool.h-to-allow-C99-bool-to-be-used.patch32
-rw-r--r--package/hostapd/0004-ASN.1-Add-helper-functions-for-recognizing-tag-value.patch37
-rw-r--r--package/hostapd/Config.in2
-rw-r--r--package/hostapd/hostapd.hash1
-rw-r--r--package/hostapd/hostapd.mk6
-rw-r--r--package/hwloc/hwloc.mk23
-rw-r--r--package/i2c-tools/i2c-tools.mk1
-rw-r--r--package/i2pd/i2pd.hash4
-rw-r--r--package/i2pd/i2pd.mk2
-rw-r--r--package/icu/icu.hash2
-rw-r--r--package/icu/icu.mk2
-rw-r--r--package/iftop/0002-Rename-pcap_filter-to-iftop_pcap_filter.patch51
-rw-r--r--package/imagemagick/imagemagick.hash2
-rw-r--r--package/imagemagick/imagemagick.mk2
-rw-r--r--package/imlib2/imlib2.hash8
-rw-r--r--package/imlib2/imlib2.mk2
-rw-r--r--package/intel-gmmlib/0001-Drop-hardening-related-flags.patch28
-rw-r--r--package/intel-gmmlib/intel-gmmlib.hash4
-rw-r--r--package/intel-gmmlib/intel-gmmlib.mk2
-rw-r--r--package/intel-mediadriver/0001-Drop-hardening-related-flags.patch38
-rw-r--r--package/intel-mediadriver/0002-build-fix-Werror=format-overflow-under-gcc-10.patch162
-rw-r--r--package/intel-mediadriver/0002-cmrtlib-linux-CMakelists.txt-respect-MEDIA_BUILD_FAT.patch51
-rw-r--r--package/intel-mediadriver/Config.in6
-rw-r--r--package/intel-mediadriver/intel-mediadriver.hash4
-rw-r--r--package/intel-mediadriver/intel-mediadriver.mk10
-rw-r--r--package/intel-mediasdk/Config.in5
-rw-r--r--package/intel-mediasdk/intel-mediasdk.hash4
-rw-r--r--package/intel-mediasdk/intel-mediasdk.mk2
-rw-r--r--package/intel-microcode/intel-microcode.hash4
-rw-r--r--package/intel-microcode/intel-microcode.mk2
-rw-r--r--package/iperf3/iperf3.hash6
-rw-r--r--package/iperf3/iperf3.mk2
-rw-r--r--package/iproute2/0001-devlink-update-include-files.patch55
-rw-r--r--package/iproute2/0001-lib-fs-fix-issue-when-name-open-_to_handle_at-is-not.patch114
-rw-r--r--package/iproute2/iproute2.hash2
-rw-r--r--package/iproute2/iproute2.mk2
-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/jquery-validation/jquery-validation.hash4
-rw-r--r--package/jquery-validation/jquery-validation.mk6
-rw-r--r--package/keepalived/0001-core-Fix-compiling-on-RHEL-9.patch34
-rw-r--r--package/keepalived/keepalived.mk1
-rw-r--r--package/kexec/0001-kexec-tools-Remove-duplicate-definition-of-ramdisk.patch32
-rw-r--r--package/kismet/0001-Add-getter-to-read-database-values-as-long-long.patch28
-rw-r--r--package/kismet/0001-nrf_51822.h-fix-build-on-sparc.patch59
-rw-r--r--package/kismet/0002-boost-asio-Use-eventfd-function-with-uClibc.patch66
-rw-r--r--package/kismet/Config.in18
-rw-r--r--package/kismet/kismet.hash2
-rw-r--r--package/kismet/kismet.mk5
-rw-r--r--package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash2
-rw-r--r--package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk2
-rw-r--r--package/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect.hash2
-rw-r--r--package/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect.mk2
-rw-r--r--package/kodi-peripheral-joystick/kodi-peripheral-joystick.hash2
-rw-r--r--package/kodi-peripheral-joystick/kodi-peripheral-joystick.mk2
-rw-r--r--package/kodi-pvr-argustv/kodi-pvr-argustv.hash2
-rw-r--r--package/kodi-pvr-argustv/kodi-pvr-argustv.mk2
-rw-r--r--package/kodi-pvr-dvblink/kodi-pvr-dvblink.hash2
-rw-r--r--package/kodi-pvr-dvblink/kodi-pvr-dvblink.mk2
-rw-r--r--package/kodi-pvr-dvbviewer/kodi-pvr-dvbviewer.hash2
-rw-r--r--package/kodi-pvr-dvbviewer/kodi-pvr-dvbviewer.mk2
-rw-r--r--package/kodi-pvr-filmon/kodi-pvr-filmon.hash2
-rw-r--r--package/kodi-pvr-filmon/kodi-pvr-filmon.mk2
-rw-r--r--package/kodi-pvr-hdhomerun/kodi-pvr-hdhomerun.hash2
-rw-r--r--package/kodi-pvr-hdhomerun/kodi-pvr-hdhomerun.mk2
-rw-r--r--package/kodi-pvr-hts/kodi-pvr-hts.hash2
-rw-r--r--package/kodi-pvr-hts/kodi-pvr-hts.mk2
-rw-r--r--package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.hash2
-rw-r--r--package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.mk2
-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/kodi-pvr-mediaportal-tvserver.hash2
-rw-r--r--package/kodi-pvr-mediaportal-tvserver/kodi-pvr-mediaportal-tvserver.mk2
-rw-r--r--package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.hash2
-rw-r--r--package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.mk2
-rw-r--r--package/kodi-pvr-njoy/kodi-pvr-njoy.hash2
-rw-r--r--package/kodi-pvr-njoy/kodi-pvr-njoy.mk2
-rw-r--r--package/kodi-pvr-pctv/kodi-pvr-pctv.hash2
-rw-r--r--package/kodi-pvr-pctv/kodi-pvr-pctv.mk2
-rw-r--r--package/kodi-pvr-stalker/kodi-pvr-stalker.hash2
-rw-r--r--package/kodi-pvr-stalker/kodi-pvr-stalker.mk2
-rw-r--r--package/kodi-pvr-vbox/kodi-pvr-vbox.hash2
-rw-r--r--package/kodi-pvr-vbox/kodi-pvr-vbox.mk2
-rw-r--r--package/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi.hash2
-rw-r--r--package/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi.mk2
-rw-r--r--package/kodi-pvr-vuplus/kodi-pvr-vuplus.hash2
-rw-r--r--package/kodi-pvr-vuplus/kodi-pvr-vuplus.mk2
-rw-r--r--package/kodi-pvr-wmc/kodi-pvr-wmc.hash2
-rw-r--r--package/kodi-pvr-wmc/kodi-pvr-wmc.mk2
-rw-r--r--package/kodi-visualisation-matrix/kodi-visualisation-matrix.hash2
-rw-r--r--package/kodi-visualisation-matrix/kodi-visualisation-matrix.mk2
-rw-r--r--package/kodi-visualisation-shadertoy/kodi-visualisation-shadertoy.hash2
-rw-r--r--package/kodi-visualisation-shadertoy/kodi-visualisation-shadertoy.mk2
-rw-r--r--package/kodi-visualisation-spectrum/kodi-visualisation-spectrum.hash2
-rw-r--r--package/kodi-visualisation-spectrum/kodi-visualisation-spectrum.mk2
-rw-r--r--package/kodi-visualisation-starburst/kodi-visualisation-starburst.hash2
-rw-r--r--package/kodi-visualisation-starburst/kodi-visualisation-starburst.mk2
-rw-r--r--package/kodi-visualisation-waveform/kodi-visualisation-waveform.hash2
-rw-r--r--package/kodi-visualisation-waveform/kodi-visualisation-waveform.mk2
-rw-r--r--package/kodi/Config.in19
-rw-r--r--package/kodi/kodi.mk11
-rw-r--r--package/lapack/Config.in16
-rw-r--r--package/less/less.hash4
-rw-r--r--package/less/less.mk3
-rw-r--r--package/libabseil-cpp/libabseil-cpp.hash2
-rw-r--r--package/libabseil-cpp/libabseil-cpp.mk2
-rw-r--r--package/libass/libass.hash2
-rw-r--r--package/libass/libass.mk2
-rw-r--r--package/libassuan/libassuan.hash6
-rw-r--r--package/libassuan/libassuan.mk2
-rw-r--r--package/libatomic_ops/Config.in7
-rw-r--r--package/libbluray/libbluray.hash4
-rw-r--r--package/libbluray/libbluray.mk6
-rw-r--r--package/libbpf/Config.in31
-rw-r--r--package/libbpf/libbpf.hash5
-rw-r--r--package/libbpf/libbpf.mk40
-rw-r--r--package/libcamera/0001-libcamera-add-dependencies-to-libcamera_dep.patch37
-rw-r--r--package/libcap/0001-Permit-compilation-with-std-c89.patch123
-rw-r--r--package/libcap/libcap.hash4
-rw-r--r--package/libcap/libcap.mk2
-rw-r--r--package/libconfig/0001-Add-disable-doc-option.patch54
-rw-r--r--package/libconfig/libconfig.hash2
-rw-r--r--package/libconfig/libconfig.mk8
-rw-r--r--package/libcurl/0001-bearssl-remove-incorrect-const-on-variable-that-is-m.patch32
-rw-r--r--package/libcurl/Config.in1
-rw-r--r--package/libcurl/libcurl.hash4
-rw-r--r--package/libcurl/libcurl.mk8
-rw-r--r--package/libcutl/libcutl.mk1
-rw-r--r--package/libdrm/libdrm.hash8
-rw-r--r--package/libdrm/libdrm.mk2
-rw-r--r--package/libdvdcss/libdvdcss.hash8
-rw-r--r--package/libdvdcss/libdvdcss.mk2
-rw-r--r--package/libdvdnav/libdvdnav.hash12
-rw-r--r--package/libdvdnav/libdvdnav.mk2
-rw-r--r--package/libdvdread/libdvdread.hash12
-rw-r--r--package/libdvdread/libdvdread.mk2
-rw-r--r--package/libeXosip2/libeXosip2.mk2
-rw-r--r--package/libepoxy/libepoxy.hash6
-rw-r--r--package/libepoxy/libepoxy.mk2
-rw-r--r--package/libesmtp/Config.in2
-rw-r--r--package/libesmtp/libesmtp.mk2
-rw-r--r--package/libffi/libffi.mk1
-rw-r--r--package/libfreefare/Config.in1
-rw-r--r--package/libfuse/libfuse.mk1
-rw-r--r--package/libfuse3/libfuse3.hash2
-rw-r--r--package/libfuse3/libfuse3.mk7
-rw-r--r--package/libgcrypt/libgcrypt.hash6
-rw-r--r--package/libgcrypt/libgcrypt.mk2
-rw-r--r--package/libgeos/Config.in4
-rw-r--r--package/libgit2/libgit2.mk1
-rw-r--r--package/libglib2/0001-fix-compile-time-atomic-detection.patch12
-rw-r--r--package/libglib2/0002-allow-explicit-disabling-of-tests.patch37
-rw-r--r--package/libglib2/0002-remove-cpp-requirement.patch (renamed from package/libglib2/0003-remove-cpp-requirement.patch)6
-rw-r--r--package/libglib2/0003-Add-Wno-format-nonliteral-to-compiler-arguments.patch (renamed from package/libglib2/0004-Add-Wno-format-nonliteral-to-compiler-arguments.patch)7
-rw-r--r--package/libglib2/libglib2.hash4
-rw-r--r--package/libglib2/libglib2.mk16
-rw-r--r--package/libglu/libglu.hash10
-rw-r--r--package/libglu/libglu.mk2
-rw-r--r--package/libgpg-error/0001-build-Fix-generation-of-lock-obj-pub.native.h-for-cr.patch34
-rw-r--r--package/libgpg-error/0001-configure.ac-fix-build-without-threads.patch54
-rw-r--r--package/libgpg-error/0002-build-Fix-disable-threads.patch39
-rw-r--r--package/libgpg-error/libgpg-error.hash6
-rw-r--r--package/libgpg-error/libgpg-error.mk4
-rw-r--r--package/libgtk2/libgtk2.mk2
-rw-r--r--package/libgtk3/0001-no-gtk-doc.patch2
-rw-r--r--package/libgtk3/libgtk3.hash4
-rw-r--r--package/libgtk3/libgtk3.mk4
-rw-r--r--package/libgudev/libgudev.hash6
-rw-r--r--package/libgudev/libgudev.mk13
-rw-r--r--package/libhtp/libhtp.hash2
-rw-r--r--package/libhtp/libhtp.mk2
-rw-r--r--package/libical/libical.mk1
-rw-r--r--package/libidn/libidn.hash2
-rw-r--r--package/libidn/libidn.mk3
-rw-r--r--package/libidn2/libidn2.hash10
-rw-r--r--package/libidn2/libidn2.mk3
-rw-r--r--package/libiec61850/0001-use-poll.h-instead-of-sys-poll.h.patch33
-rw-r--r--package/libiec61850/0002-serial_port_linux-Add-missing-include-sys-time.h.patch32
-rw-r--r--package/libiec61850/0003-COTP-fixed-possible-heap-buffer-overflow-when-handling-message.patch27
-rw-r--r--package/libiec61850/libiec61850.hash2
-rw-r--r--package/libiec61850/libiec61850.mk5
-rw-r--r--package/libinput/libinput.hash8
-rw-r--r--package/libinput/libinput.mk2
-rw-r--r--package/libkcapi/0001-Disable-use-of-__NR_io_getevents-when-not-defined.patch42
-rw-r--r--package/libkrb5/Config.in3
-rw-r--r--package/libkrb5/libkrb5.mk15
-rw-r--r--package/libksba/libksba.hash4
-rw-r--r--package/libksba/libksba.mk2
-rw-r--r--package/libldns/libldns.mk2
-rw-r--r--package/libmbim/libmbim.hash2
-rw-r--r--package/libmbim/libmbim.mk5
-rw-r--r--package/libmdbx/libmdbx.hash2
-rw-r--r--package/libmdbx/libmdbx.mk2
-rw-r--r--package/libmicrohttpd/libmicrohttpd.hash2
-rw-r--r--package/libmicrohttpd/libmicrohttpd.mk2
-rw-r--r--package/libmms/libmms.mk1
-rw-r--r--package/libmodbus/libmodbus.mk1
-rw-r--r--package/libmodsecurity/0001-Fail-when-CANONICAL_HOST-cannot-be-determined.patch31
-rw-r--r--package/libmodsecurity/0002-test-for-uClinux-in-configure-script.patch28
-rw-r--r--package/libmodsecurity/Config.in6
-rw-r--r--package/libmodsecurity/libmodsecurity.hash6
-rw-r--r--package/libmodsecurity/libmodsecurity.mk7
-rw-r--r--package/libmspack/libmspack.mk7
-rw-r--r--package/libndp/0001-ndptool.c-Fix-musl-build.patch30
-rw-r--r--package/libndp/libndp.hash4
-rw-r--r--package/libndp/libndp.mk2
-rw-r--r--package/libnice/libnice.hash8
-rw-r--r--package/libnice/libnice.mk25
-rw-r--r--package/libnids/libnids.mk5
-rw-r--r--package/libnss/libnss.hash4
-rw-r--r--package/libnss/libnss.mk2
-rw-r--r--package/libopenh264/0003-codec-common-inc-asmdefs_mmi.h-fix-mips32-build.patch89
-rw-r--r--package/libopenssl/Config.in95
-rw-r--r--package/libopenssl/libopenssl.mk23
-rw-r--r--package/liboping/liboping.mk1
-rw-r--r--package/libostree/libostree.hash2
-rw-r--r--package/libostree/libostree.mk2
-rw-r--r--package/libpcap/libpcap.hash4
-rw-r--r--package/libpcap/libpcap.mk2
-rw-r--r--package/libpsl/Config.in12
-rw-r--r--package/libpsl/libpsl.hash6
-rw-r--r--package/libpsl/libpsl.mk27
-rw-r--r--package/libqb/Config.in12
-rw-r--r--package/libqb/libqb.hash3
-rw-r--r--package/libqb/libqb.mk20
-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.mk2
-rw-r--r--package/libraw/0001-Add-Libs.private-to-libraw.pc.patch67
-rw-r--r--package/libraw/Config.in2
-rw-r--r--package/librelp/librelp.mk1
-rw-r--r--package/libressl/libressl.hash2
-rw-r--r--package/libressl/libressl.mk3
-rw-r--r--package/librsvg/librsvg.hash4
-rw-r--r--package/librsvg/librsvg.mk2
-rw-r--r--package/libsamplerate/libsamplerate.mk1
-rw-r--r--package/libselinux/0002-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch2
-rw-r--r--package/libselinux/0003-libselinux-rename-gettid-to-something-which-never-conflicts.patch71
-rw-r--r--package/libselinux/0003-libselinux-utils-getseuser.c-fix-build-with-gcc-4.8.patch47
-rw-r--r--package/libselinux/libselinux.hash2
-rw-r--r--package/libselinux/libselinux.mk4
-rw-r--r--package/libsemanage/libsemanage.hash2
-rw-r--r--package/libsemanage/libsemanage.mk4
-rw-r--r--package/libsepol/Config.in4
-rw-r--r--package/libsepol/libsepol.hash4
-rw-r--r--package/libsepol/libsepol.mk4
-rw-r--r--package/libsndfile/0001-double64_init-Check-psf-sf.channels-against-upper-bo.patch39
-rw-r--r--package/libsndfile/0002-Check-MAX_CHANNELS-in-sndfile-deinterleave.patch36
-rw-r--r--package/libsndfile/0003-a-ulaw-fix-multiple-buffer-overflows-432.patch96
-rw-r--r--package/libsndfile/0004-src-wav.c-Fix-heap-read-overflow.patch35
-rw-r--r--package/libsndfile/0005-wav_write_header-don-t-read-past-the-array-end.patch33
-rw-r--r--package/libsndfile/0006-src-aiff.c-Fix-a-buffer-read-overflow.patch29
-rw-r--r--package/libsndfile/0007-FLAC-Fix-a-buffer-read-overrun.patch68
-rw-r--r--package/libsndfile/0008-src-flac.c-Fix-a-buffer-read-overflow.patch54
-rw-r--r--package/libsndfile/0009-src-flac-c-Fix-another-memory-leak.patch32
-rw-r--r--package/libsndfile/0010-src-common-c-Fix-heap-buffer-overflows-when-writing-strings-in.patch92
-rw-r--r--package/libsndfile/libsndfile.hash4
-rw-r--r--package/libsndfile/libsndfile.mk36
-rw-r--r--package/libsoup/0001-Revert-tld-parser-use-Python-3.patch27
-rw-r--r--package/libsoup/0001-meson.build-set-c_std-to-gnu99.patch40
-rw-r--r--package/libsoup/Config.in7
-rw-r--r--package/libsoup/libsoup.hash4
-rw-r--r--package/libsoup/libsoup.mk51
-rw-r--r--package/libssh/Config.in1
-rw-r--r--package/libssh2/Config.in1
-rw-r--r--package/libtasn1/libtasn1.hash6
-rw-r--r--package/libtasn1/libtasn1.mk4
-rw-r--r--package/libtirpc/0003-Automatically-generate-XDR-header-files-from-.x-sour.patch1001
-rw-r--r--package/libtirpc/0004-Add-more-XDR-files-needed-to-build-rpcbind-on-top-of.patch1653
-rw-r--r--package/libtirpc/libtirpc.hash4
-rw-r--r--package/libtirpc/libtirpc.mk13
-rw-r--r--package/libtorrent/Config.in1
-rw-r--r--package/libubootenv/0001-src-CMakeLists.txt-do-not-force-the-build-of-a-share.patch11
-rw-r--r--package/libubootenv/libubootenv.hash2
-rw-r--r--package/libubootenv/libubootenv.mk4
-rw-r--r--package/libuci/libuci.hash2
-rw-r--r--package/libuci/libuci.mk5
-rw-r--r--package/libudfread/libudfread.hash2
-rw-r--r--package/libudfread/libudfread.mk2
-rw-r--r--package/libuhttpd/Config.in1
-rw-r--r--package/libuhttpd/libuhttpd.hash2
-rw-r--r--package/libuhttpd/libuhttpd.mk40
-rw-r--r--package/libusb/libusb.mk1
-rw-r--r--package/libuv/libuv.hash2
-rw-r--r--package/libuv/libuv.mk3
-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/libvirt/90-kvm.rules1
-rw-r--r--package/libvirt/Config.in86
-rw-r--r--package/libvirt/S91virtlogd65
-rw-r--r--package/libvirt/S92libvirtd132
-rw-r--r--package/libvirt/libvirt.hash3
-rw-r--r--package/libvirt/libvirt.mk289
-rw-r--r--package/libvncserver/Config.in1
-rw-r--r--package/libwpe/0001-meson-Use-a-partial-dependency-to-pass-EGL-module-fl.patch45
-rw-r--r--package/libwpe/libwpe.hash8
-rw-r--r--package/libwpe/libwpe.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/libxmlrpc/0001-use-correct-curl-config.patch70
-rw-r--r--package/libxmlrpc/Config.in9
-rw-r--r--package/libxmlrpc/libxmlrpc.hash2
-rw-r--r--package/libxmlrpc/libxmlrpc.mk19
-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/links/Config.in8
-rw-r--r--package/links/links.hash2
-rw-r--r--package/links/links.mk2
-rw-r--r--package/linux-firmware/Config.in10
-rw-r--r--package/linux-firmware/linux-firmware.hash8
-rw-r--r--package/linux-firmware/linux-firmware.mk71
-rw-r--r--package/linux-headers/Config.in.host29
-rw-r--r--package/linuxptp/linuxptp.hash8
-rw-r--r--package/linuxptp/linuxptp.mk3
-rw-r--r--package/live555/live555.hash4
-rw-r--r--package/live555/live555.mk2
-rw-r--r--package/llvm/0001-nfc-Fix-missing-include.patch24
-rw-r--r--package/llvm/Config.in6
-rw-r--r--package/llvm/llvm.mk5
-rw-r--r--package/lmbench/0003-TOO_LONG-100-usec-to-prevent-memsize-from-timingout-.patch28
-rw-r--r--package/lmbench/0004-Fix-garbage-pointer-for-lat_rpc-S-localhost.patch25
-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/lrzsz/lrzsz.mk1
-rw-r--r--package/ltp-testsuite/ltp-testsuite.hash5
-rw-r--r--package/ltp-testsuite/ltp-testsuite.mk5
-rw-r--r--package/lttng-tools/0001-configure.ac-add-disable-tests.patch37
-rw-r--r--package/lttng-tools/lttng-tools.mk3
-rw-r--r--package/lua-livr/lua-livr.hash4
-rw-r--r--package/lua-livr/lua-livr.mk2
-rw-r--r--package/lua-lunix/0001-fix-with-uClibc.patch28
-rw-r--r--package/lua-lunix/0002-remove-link-with-librt.patch36
-rw-r--r--package/lua-lunix/Config.in6
-rw-r--r--package/lua-lunix/lua-lunix.hash3
-rw-r--r--package/lua-lunix/lua-lunix.mk14
-rw-r--r--package/lua-rotas/lua-rotas.hash4
-rw-r--r--package/lua-rotas/lua-rotas.mk2
-rw-r--r--package/lua-silva/lua-silva.hash4
-rw-r--r--package/lua-silva/lua-silva.mk2
-rw-r--r--package/lua-testmore/lua-testmore.hash4
-rw-r--r--package/lua-testmore/lua-testmore.mk2
-rw-r--r--package/lua-zlib/Config.in10
-rw-r--r--package/lua-zlib/lua-zlib.hash2
-rw-r--r--package/lua-zlib/lua-zlib.mk12
-rw-r--r--package/lualdap/lualdap.hash2
-rw-r--r--package/lualdap/lualdap.mk2
-rw-r--r--package/luvi/Config.in1
-rw-r--r--package/lvm2/Config.in30
-rw-r--r--package/lvm2/lvm2.mk29
-rw-r--r--package/lz4/0001-Fix-potential-memory-corruption-with-negative-memmov.patch26
-rw-r--r--package/lz4/lz4.mk3
-rw-r--r--package/makedumpfile/0002-makedumpfile.h-fix-build-on-sparc64.patch35
-rw-r--r--package/makedumpfile/makedumpfile.hash2
-rw-r--r--package/makedumpfile/makedumpfile.mk2
-rw-r--r--package/matio/matio.hash6
-rw-r--r--package/matio/matio.mk2
-rw-r--r--package/mbedtls/mbedtls.hash4
-rw-r--r--package/mbedtls/mbedtls.mk2
-rw-r--r--package/mbuffer/mbuffer.hash4
-rw-r--r--package/mbuffer/mbuffer.mk2
-rw-r--r--package/mender-grubenv/mender-grubenv.mk9
-rw-r--r--package/mender/Config.in2
-rw-r--r--package/mender/mender.mk3
-rw-r--r--package/mesa3d-headers/mesa3d-headers.mk6
-rw-r--r--package/mesa3d/0003-vc4-add-meson-option-to-disable-optional-neon-suppor.patch6
-rw-r--r--package/mesa3d/Config.in23
-rw-r--r--package/mesa3d/mesa3d.hash8
-rw-r--r--package/mesa3d/mesa3d.mk7
-rw-r--r--package/meson/meson.hash4
-rw-r--r--package/meson/meson.mk2
-rw-r--r--package/mimic/0001-Fix-linking-on-gcc-10.2.0-or-newer.patch27
-rw-r--r--package/mini-snmpd/mini-snmpd.mk2
-rw-r--r--package/minidlna/minidlna.mk3
-rw-r--r--package/minissdpd/minissdpd.mk1
-rw-r--r--package/minizip/minizip.mk1
-rw-r--r--package/modem-manager/modem-manager.hash2
-rw-r--r--package/modem-manager/modem-manager.mk2
-rw-r--r--package/mono-gtksharp3/0002-Mono-compilation-error-branch.patch25
-rw-r--r--package/mono/mono.mk2
-rw-r--r--package/mosquitto/mosquitto.hash4
-rw-r--r--package/mosquitto/mosquitto.mk2
-rw-r--r--package/mpd/mpd.hash2
-rw-r--r--package/mpd/mpd.mk2
-rw-r--r--package/mpg123/mpg123.hash8
-rw-r--r--package/mpg123/mpg123.mk3
-rw-r--r--package/mpv/Config.in6
-rw-r--r--package/mpv/mpv.hash2
-rw-r--r--package/mpv/mpv.mk34
-rw-r--r--package/msmtp/msmtp.mk1
-rw-r--r--package/mtd/Config.in5
-rw-r--r--package/mtd/mtd.mk1
-rw-r--r--package/mupdf/0001-Bug-703366-Fix-double-free-of-object-during-linearization.patch52
-rw-r--r--package/mupdf/0001-Makefile-add-an-install_libs-target.patch41
-rw-r--r--package/mupdf/Config.in24
-rw-r--r--package/mupdf/mupdf.hash8
-rw-r--r--package/mupdf/mupdf.mk73
-rw-r--r--package/musl/musl.mk1
-rw-r--r--package/mutt/mutt.hash2
-rw-r--r--package/mutt/mutt.mk2
-rw-r--r--package/nano/nano.hash4
-rw-r--r--package/nano/nano.mk2
-rw-r--r--package/nasm/nasm.mk2
-rw-r--r--package/nbd/0001-Also-close-the-file-descriptor-before-returning.patch25
-rw-r--r--package/nbd/nbd.hash10
-rw-r--r--package/nbd/nbd.mk4
-rw-r--r--package/neon/Config.in2
-rw-r--r--package/netatalk/Config.in2
-rw-r--r--package/netperf/netperf.mk2
-rw-r--r--package/netsnmp/Config.in1
-rw-r--r--package/netsnmp/netsnmp.hash3
-rw-r--r--package/netsurf/netsurf.mk1
-rw-r--r--package/nettle/nettle.hash4
-rw-r--r--package/nettle/nettle.mk2
-rw-r--r--package/network-manager/network-manager.hash6
-rw-r--r--package/network-manager/network-manager.mk6
-rw-r--r--package/nfs-utils/Config.in12
-rw-r--r--package/nfs-utils/nfs-utils.hash4
-rw-r--r--package/nfs-utils/nfs-utils.mk28
-rw-r--r--package/nginx-dav-ext/nginx-dav-ext.hash4
-rw-r--r--package/nginx-dav-ext/nginx-dav-ext.mk2
-rw-r--r--package/nginx-modsecurity/Config.in7
-rw-r--r--package/nginx-modsecurity/nginx-modsecurity.hash6
-rw-r--r--package/nginx-modsecurity/nginx-modsecurity.mk2
-rw-r--r--package/nginx-naxsi/nginx-naxsi.hash5
-rw-r--r--package/nginx-naxsi/nginx-naxsi.mk6
-rw-r--r--package/nginx/0003-auto-set-ngx_feature_run_force_result-for-each-featu.patch40
-rw-r--r--package/nginx/0005-auto-unix-make-sys_nerr-guessing-cross-friendly.patch27
-rw-r--r--package/nginx/0009-auto-os-linux-fix-build-with-libxcrypt.patch2
-rw-r--r--package/nginx/Config.in6
-rw-r--r--package/nginx/nginx.hash4
-rw-r--r--package/nginx/nginx.mk6
-rw-r--r--package/nodejs/0002-Fix-build-with-ICU-68.patch101
-rw-r--r--package/nodejs/nodejs.hash4
-rw-r--r--package/nodejs/nodejs.mk2
-rw-r--r--package/ntp/ntpd.service4
-rw-r--r--package/numactl/0002-link-with-latomic-if-needed.patch52
-rw-r--r--package/numactl/numactl.mk4
-rw-r--r--package/odb/odb.mk1
-rw-r--r--package/openal/openal.hash2
-rw-r--r--package/openal/openal.mk4
-rw-r--r--package/openblas/openblas.mk4
-rw-r--r--package/opencv3/opencv3.mk2
-rw-r--r--package/openntpd/ntpd.service4
-rw-r--r--package/openocd/0002-CVE-2018-5704-Prevent-some-forms-of-Cross-Protocol-S.patch50
-rw-r--r--package/openocd/0003-bitbang-Fix-FTBFS-with-GCC-10.patch37
-rw-r--r--package/openocd/Config.in13
-rw-r--r--package/openocd/openocd.hash7
-rw-r--r--package/openocd/openocd.mk6
-rw-r--r--package/openpgm/0002-openpgm-pgm-checksum.c-fix-build-with-32-bits-MMX.patch41
-rw-r--r--package/openssh/openssh.hash4
-rw-r--r--package/openssh/openssh.mk2
-rw-r--r--package/openswan/openswan.mk2
-rw-r--r--package/opentyrian/opentyrian.hash3
-rw-r--r--package/opentyrian/opentyrian.mk5
-rw-r--r--package/openvpn/Config.in1
-rw-r--r--package/openvpn/openvpn.hash2
-rw-r--r--package/openvpn/openvpn.mk3
-rw-r--r--package/opkg-utils/0001-Makefile-seperate-manpages-and-utils-install.patch50
-rw-r--r--package/opkg-utils/opkg-utils.hash2
-rw-r--r--package/opkg-utils/opkg-utils.mk4
-rw-r--r--package/opkg/opkg.hash4
-rw-r--r--package/opkg/opkg.mk4
-rw-r--r--package/oprofile/oprofile.mk1
-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/optee-client.hash4
-rw-r--r--package/optee-client/optee-client.mk2
-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.mk2
-rw-r--r--package/oracle-mysql/oracle-mysql.mk2
-rw-r--r--package/p7zip/0001-CVE-2016-9296.patch25
-rw-r--r--package/p7zip/0002-CVE-2017-17969.patch37
-rw-r--r--package/p7zip/0003-CVE-2018-5996.patch223
-rw-r--r--package/p7zip/0004-Fix-build-with-gcc-10.patch32
-rw-r--r--package/p7zip/p7zip.hash7
-rw-r--r--package/p7zip/p7zip.mk13
-rw-r--r--package/paho-mqtt-c/paho-mqtt-c.hash2
-rw-r--r--package/paho-mqtt-c/paho-mqtt-c.mk2
-rw-r--r--package/pango/pango.hash4
-rw-r--r--package/pango/pango.mk2
-rw-r--r--package/pcre2/pcre2.mk1
-rw-r--r--package/pdbg/pdbg.hash2
-rw-r--r--package/pdbg/pdbg.mk2
-rw-r--r--package/perl-convert-asn1/perl-convert-asn1.hash6
-rw-r--r--package/perl-convert-asn1/perl-convert-asn1.mk4
-rw-r--r--package/perl-crypt-openssl-rsa/Config.in2
-rw-r--r--package/perl-crypt-openssl-rsa/perl-crypt-openssl-rsa.mk3
-rw-r--r--package/perl-data-dump/perl-data-dump.hash6
-rw-r--r--package/perl-data-dump/perl-data-dump.mk6
-rw-r--r--package/perl-data-optlist/perl-data-optlist.hash6
-rw-r--r--package/perl-data-optlist/perl-data-optlist.mk2
-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/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/perl-libwww-perl.hash4
-rw-r--r--package/perl-libwww-perl/perl-libwww-perl.mk2
-rw-r--r--package/perl-mojolicious-plugin-authentication/Config.in2
-rw-r--r--package/perl-mojolicious-plugin-authentication/perl-mojolicious-plugin-authentication.hash4
-rw-r--r--package/perl-mojolicious-plugin-authentication/perl-mojolicious-plugin-authentication.mk2
-rw-r--r--package/perl-mojolicious-plugin-authorization/perl-mojolicious-plugin-authorization.hash6
-rw-r--r--package/perl-mojolicious-plugin-authorization/perl-mojolicious-plugin-authorization.mk2
-rw-r--r--package/perl-mojolicious/perl-mojolicious.hash4
-rw-r--r--package/perl-mojolicious/perl-mojolicious.mk2
-rw-r--r--package/perl-net-dns/perl-net-dns.hash6
-rw-r--r--package/perl-net-dns/perl-net-dns.mk4
-rw-r--r--package/perl-net-ssleay/Config.in1
-rw-r--r--package/perl-net-telnet/perl-net-telnet.hash6
-rw-r--r--package/perl-net-telnet/perl-net-telnet.mk2
-rw-r--r--package/perl-type-tiny/perl-type-tiny.hash4
-rw-r--r--package/perl-type-tiny/perl-type-tiny.mk2
-rw-r--r--package/perl/perl.mk1
-rw-r--r--package/php-amqp/0001-add-build-support-for-php-8.patch54
-rw-r--r--package/php-amqp/0002-more-work-for-php-8.patch1265
-rw-r--r--package/php-amqp/php-amqp.hash4
-rw-r--r--package/php-amqp/php-amqp.mk2
-rw-r--r--package/php-geoip/0001-add-build-support-for-php8.patch35
-rw-r--r--package/php-gnupg/php-gnupg.hash2
-rw-r--r--package/php-gnupg/php-gnupg.mk4
-rw-r--r--package/php-imagick/php-imagick.hash2
-rw-r--r--package/php-imagick/php-imagick.mk4
-rw-r--r--package/php-memcached/php-memcached.hash8
-rw-r--r--package/php-memcached/php-memcached.mk2
-rw-r--r--package/php-ssh2/0001-fix-php_url-fields-usage-for-PHP-7-3.patch302
-rw-r--r--package/php-ssh2/0002-dstogov-Fixed-PHP7-port-Restored-commented-reference-counting.patch746
-rw-r--r--package/php-ssh2/php-ssh2.hash2
-rw-r--r--package/php-ssh2/php-ssh2.mk2
-rw-r--r--package/php-xdebug/php-xdebug.hash4
-rw-r--r--package/php-xdebug/php-xdebug.mk2
-rw-r--r--package/php-yaml/php-yaml.hash4
-rw-r--r--package/php-yaml/php-yaml.mk2
-rw-r--r--package/php-zmq/0001-PHP-7.3-compatibility-and-bugfixes.patch271
-rw-r--r--package/php-zmq/0001-updates-for-php7.4-and-php8.0.patch230
-rw-r--r--package/php-zmq/0002-fix-for-php-7.3.patch43
-rw-r--r--package/php-zmq/0003-fix-for-php-8.0.0beta2.patch40
-rw-r--r--package/php/0001-acinclude.m4-don-t-unset-variables.patch4
-rw-r--r--package/php/0002-iconv-tweak-iconv-detection.patch48
-rw-r--r--package/php/0003-configure-disable-the-phar-tool.patch6
-rw-r--r--package/php/0004-Call-apxs-with-correct-prefix.patch8
-rw-r--r--package/php/0005-allow-opcache-cross-compiling.patch37
-rw-r--r--package/php/Config.ext16
-rw-r--r--package/php/php.hash2
-rw-r--r--package/php/php.mk16
-rw-r--r--package/picocom/picocom.mk1
-rw-r--r--package/pifmrds/0003-Makefile-fix-static-link.patch6
-rw-r--r--package/pifmrds/pifmrds.mk3
-rw-r--r--package/pigz/pigz.mk1
-rw-r--r--package/pipewire/0001-meson-fix-getrandom-detection-for-uclibc.patch49
-rw-r--r--package/pipewire/0001-meson-prefer-libintl-on-FreeBSD.patch46
-rw-r--r--package/pipewire/0002-fix-linking-with-latomic.patch108
-rw-r--r--package/pipewire/Config.in5
-rw-r--r--package/pipewire/pipewire.hash2
-rw-r--r--package/pipewire/pipewire.mk4
-rw-r--r--package/pkg-cmake.mk2
-rw-r--r--package/pkg-generic.mk34
-rw-r--r--package/pkg-meson.mk3
-rw-r--r--package/pngquant/pngquant.mk1
-rw-r--r--package/poco/poco.mk1
-rw-r--r--package/poke/0001-build-do-not-check-for-Tcl-Tk-if-disable-gui-is-spec.patch43
-rw-r--r--package/poke/0002-tentatively-change-cppflags-to-omit-I-prefix-on-cros.patch67
-rw-r--r--package/poke/0003-configure.ac-HELP2MAN-replace-by-true-when-cross-com.patch34
-rw-r--r--package/poke/Config.in28
-rw-r--r--package/poke/poke.hash4
-rw-r--r--package/poke/poke.mk56
-rw-r--r--package/policycoreutils/0001-Add-DESTDIR-to-all-paths-that-use-an-absolute-path.patch11
-rw-r--r--package/policycoreutils/0002-Add-PREFIX-to-host-paths.patch36
-rw-r--r--package/policycoreutils/policycoreutils.hash2
-rw-r--r--package/policycoreutils/policycoreutils.mk6
-rw-r--r--package/polkit/0001-make-netgroup-support-optional.patch41
-rw-r--r--package/polkit/0002-jsauthority-memleak.patch28
-rw-r--r--package/polkit/0003-polkit-0.116-pkttyagent-sigttou-bg-job.patch34
-rw-r--r--package/polkit/Config.in24
-rwxr-xr-xpackage/polkit/S50polkit51
-rw-r--r--package/polkit/polkit.hash4
-rw-r--r--package/polkit/polkit.mk17
-rw-r--r--package/portaudio/portaudio.hash2
-rw-r--r--package/portaudio/portaudio.mk6
-rw-r--r--package/postgis/Config.in4
-rw-r--r--package/postgis/postgis.hash2
-rw-r--r--package/postgis/postgis.mk2
-rw-r--r--package/postgresql/Config.in3
-rw-r--r--package/postgresql/postgresql.hash4
-rw-r--r--package/postgresql/postgresql.mk2
-rw-r--r--package/pppd/Config.in2
-rw-r--r--package/proftpd/Config.in1
-rw-r--r--package/prosody/prosody.hash8
-rw-r--r--package/prosody/prosody.mk2
-rw-r--r--package/protobuf/protobuf.hash2
-rw-r--r--package/protobuf/protobuf.mk2
-rw-r--r--package/proxychains-ng/0001-configure-fix-check_link_silent-test.patch41
-rw-r--r--package/proxychains-ng/proxychains-ng.hash6
-rw-r--r--package/proxychains-ng/proxychains-ng.mk5
-rw-r--r--package/pulseaudio/pulseaudio.mk1
-rw-r--r--package/putty/0002-New-option-to-reject-trivial-success-of-userauth.patch448
-rw-r--r--package/putty/putty.mk3
-rw-r--r--package/pwgen/pwgen.mk1
-rw-r--r--package/python-aioblescan/0001-Move-README-to-reStructured-text.patch35
-rw-r--r--package/python-aioblescan/python-aioblescan.hash4
-rw-r--r--package/python-aioblescan/python-aioblescan.mk4
-rw-r--r--package/python-aiodns/python-aiodns.hash6
-rw-r--r--package/python-aiodns/python-aiodns.mk4
-rw-r--r--package/python-aiohttp/python-aiohttp.hash4
-rw-r--r--package/python-aiohttp/python-aiohttp.mk4
-rw-r--r--package/python-asn1crypto/python-asn1crypto.hash6
-rw-r--r--package/python-asn1crypto/python-asn1crypto.mk4
-rw-r--r--package/python-augeas/0001-Use-CFFI-in-out-of-line-API-mode-49.patch101
-rw-r--r--package/python-augeas/Config.in8
-rw-r--r--package/python-augeas/python-augeas.hash3
-rw-r--r--package/python-augeas/python-augeas.mk21
-rw-r--r--package/python-autobahn/python-autobahn.mk2
-rw-r--r--package/python-bcrypt/Config.in2
-rw-r--r--package/python-bcrypt/python-bcrypt.hash6
-rw-r--r--package/python-bcrypt/python-bcrypt.mk4
-rw-r--r--package/python-bleak/Config.in2
-rw-r--r--package/python-bleak/python-bleak.hash4
-rw-r--r--package/python-bleak/python-bleak.mk4
-rw-r--r--package/python-bluezero/Config.in17
-rw-r--r--package/python-cbor2/Config.in1
-rw-r--r--package/python-cbor2/python-cbor2.hash4
-rw-r--r--package/python-cbor2/python-cbor2.mk4
-rw-r--r--package/python-cchardet/Config.in2
-rw-r--r--package/python-cchardet/python-cchardet.hash4
-rw-r--r--package/python-cchardet/python-cchardet.mk4
-rw-r--r--package/python-certifi/python-certifi.hash6
-rw-r--r--package/python-certifi/python-certifi.mk4
-rw-r--r--package/python-cffi/python-cffi.mk1
-rw-r--r--package/python-cheetah/python-cheetah.hash4
-rw-r--r--package/python-cheetah/python-cheetah.mk4
-rw-r--r--package/python-coherence/0001-Fix-twisted-detection.patch29
-rw-r--r--package/python-coherence/Config.in10
-rw-r--r--package/python-coherence/python-coherence.hash3
-rw-r--r--package/python-coherence/python-coherence.mk13
-rw-r--r--package/python-cryptography/Config.in10
-rw-r--r--package/python-cryptography/python-cryptography.hash6
-rw-r--r--package/python-cryptography/python-cryptography.mk5
-rw-r--r--package/python-cython/python-cython.hash4
-rw-r--r--package/python-cython/python-cython.mk4
-rw-r--r--package/python-dataproperty/Config.in3
-rw-r--r--package/python-dataproperty/python-dataproperty.hash4
-rw-r--r--package/python-dataproperty/python-dataproperty.mk4
-rw-r--r--package/python-dbus-next/Config.in9
-rw-r--r--package/python-dbus-next/python-dbus-next.hash5
-rw-r--r--package/python-dbus-next/python-dbus-next.mk14
-rw-r--r--package/python-django/python-django.hash4
-rw-r--r--package/python-django/python-django.mk4
-rw-r--r--package/python-docker/Config.in8
-rw-r--r--package/python-engineio/python-engineio.mk1
-rw-r--r--package/python-esptool/0001-setup.py-require-wheel-only-when-installing-from-pip.patch36
-rw-r--r--package/python-esptool/python-esptool.hash4
-rw-r--r--package/python-esptool/python-esptool.mk4
-rw-r--r--package/python-falcon/python-falcon.hash4
-rw-r--r--package/python-falcon/python-falcon.mk4
-rw-r--r--package/python-flatbuffers/python-flatbuffers.hash4
-rw-r--r--package/python-flatbuffers/python-flatbuffers.mk4
-rw-r--r--package/python-hyperlink/Config.in1
-rw-r--r--package/python-ibmiotf/Config.in4
-rw-r--r--package/python-idna/Config.in4
-rw-r--r--package/python-idna/python-idna.hash6
-rw-r--r--package/python-idna/python-idna.mk6
-rw-r--r--package/python-influxdb/Config.in1
-rw-r--r--package/python-keyring/python-keyring.mk2
-rw-r--r--package/python-m2crypto/python-m2crypto.hash4
-rw-r--r--package/python-m2crypto/python-m2crypto.mk4
-rw-r--r--package/python-markdown/python-markdown.hash4
-rw-r--r--package/python-markdown/python-markdown.mk4
-rw-r--r--package/python-mwclient/Config.in1
-rw-r--r--package/python-paramiko/Config.in5
-rw-r--r--package/python-passlib/Config.in2
-rw-r--r--package/python-passlib/python-passlib.hash6
-rw-r--r--package/python-passlib/python-passlib.mk4
-rw-r--r--package/python-pillow/python-pillow.hash7
-rw-r--r--package/python-pillow/python-pillow.mk27
-rw-r--r--package/python-pip/python-pip.mk1
-rw-r--r--package/python-protobuf/python-protobuf.hash2
-rw-r--r--package/python-pycares/python-pycares.hash6
-rw-r--r--package/python-pycares/python-pycares.mk4
-rw-r--r--package/python-pycparser/python-pycparser.mk1
-rw-r--r--package/python-pymupdf/Config.in22
-rw-r--r--package/python-pymupdf/python-pymupdf.hash5
-rw-r--r--package/python-pymupdf/python-pymupdf.mk29
-rw-r--r--package/python-pyopenssl/Config.in1
-rw-r--r--package/python-pysftp/Config.in1
-rw-r--r--package/python-pysmb/python-pysmb.hash6
-rw-r--r--package/python-pysmb/python-pysmb.mk4
-rw-r--r--package/python-pytest-asyncio/python-pytest-asyncio.hash4
-rw-r--r--package/python-pytest-asyncio/python-pytest-asyncio.mk4
-rw-r--r--package/python-remi/python-remi.hash2
-rw-r--r--package/python-remi/python-remi.mk4
-rw-r--r--package/python-requests-oauthlib/Config.in1
-rw-r--r--package/python-requests-toolbelt/Config.in1
-rw-r--r--package/python-requests/Config.in8
-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.mk4
-rw-r--r--package/python-service-identity/Config.in2
-rw-r--r--package/python-six/python-six.mk1
-rw-r--r--package/python-tqdm/python-tqdm.mk2
-rw-r--r--package/python-treq/Config.in1
-rw-r--r--package/python-twisted/Config.in1
-rw-r--r--package/python-txdbus/Config.in1
-rw-r--r--package/python-txtorcon/Config.in2
-rw-r--r--package/python-typing/python-typing.hash4
-rw-r--r--package/python-typing/python-typing.mk4
-rw-r--r--package/python-ubjson/python-ubjson.hash6
-rw-r--r--package/python-ubjson/python-ubjson.mk4
-rw-r--r--package/python-urllib3/python-urllib3.hash4
-rw-r--r--package/python-urllib3/python-urllib3.mk4
-rw-r--r--package/python/python.mk3
l---------package/python3-cffi/python3-cffi.hash1
-rw-r--r--package/python3-cffi/python3-cffi.mk29
-rw-r--r--package/python3-cheetah/python3-cheetah.mk4
l---------package/python3-cryptography/python3-cryptography.hash1
-rw-r--r--package/python3-cryptography/python3-cryptography.mk24
-rw-r--r--package/python3-cython/python3-cython.mk4
l---------package/python3-pip/python3-pip.hash1
-rw-r--r--package/python3-pip/python3-pip.mk19
l---------package/python3-pycparser/python3-pycparser.hash1
-rw-r--r--package/python3-pycparser/python3-pycparser.mk17
-rw-r--r--package/python3-requests/python3-requests.mk2
l---------package/python3-six/python3-six.hash1
-rw-r--r--package/python3-six/python3-six.mk17
-rw-r--r--package/python3/0001-Make-the-build-of-pyc-files-conditional.patch6
-rw-r--r--package/python3/0002-Disable-buggy_getaddrinfo-configure-test-when-cross-.patch2
-rw-r--r--package/python3/0003-Add-infrastructure-to-disable-the-build-of-certain-e.patch10
-rw-r--r--package/python3/0005-Don-t-look-in-usr-lib-termcap-for-libraries.patch2
-rw-r--r--package/python3/0006-Don-t-add-multiarch-paths.patch2
-rw-r--r--package/python3/0007-Abort-on-failed-module-build.patch2
-rw-r--r--package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch2
-rw-r--r--package/python3/0012-Add-importlib-fix-for-PEP-3147-issue.patch6
-rw-r--r--package/python3/0013-Add-an-option-to-disable-installation-of-test-module.patch6
-rw-r--r--package/python3/0014-Add-an-option-to-disable-pydoc.patch12
-rw-r--r--package/python3/0015-Add-an-option-to-disable-lib2to3.patch14
-rw-r--r--package/python3/0016-Add-option-to-disable-the-sqlite3-module.patch8
-rw-r--r--package/python3/0017-Add-an-option-to-disable-the-tk-module.patch8
-rw-r--r--package/python3/0018-Add-an-option-to-disable-the-curses-module.patch6
-rw-r--r--package/python3/0019-Add-an-option-to-disable-expat.patch8
-rw-r--r--package/python3/0020-Add-an-option-to-disable-CJK-codecs.patch2
-rw-r--r--package/python3/0021-Add-an-option-to-disable-NIS.patch2
-rw-r--r--package/python3/0022-Add-an-option-to-disable-unicodedata.patch2
-rw-r--r--package/python3/0023-Add-an-option-to-disable-IDLE.patch10
-rw-r--r--package/python3/0024-Add-an-option-to-disable-decimal.patch4
-rw-r--r--package/python3/0025-Add-an-option-to-disable-the-ossaudiodev-module.patch2
-rw-r--r--package/python3/0026-Add-an-option-to-disable-openssl-support.patch2
-rw-r--r--package/python3/0027-Add-an-option-to-disable-the-readline-module.patch2
-rw-r--r--package/python3/0028-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch2
-rw-r--r--package/python3/0030-Fix-cross-compiling-the-uuid-module.patch2
-rw-r--r--package/python3/0031-Add-an-option-to-disable-uuid-module.patch2
-rw-r--r--package/python3/0033-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch2
-rw-r--r--package/python3/0034-Add-an-option-to-disable-the-berkeleydb-module.patch30
-rw-r--r--package/python3/0035-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch (renamed from package/python3/0034-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch)0
-rw-r--r--package/python3/Config.in6
-rw-r--r--package/python3/python3.hash6
-rw-r--r--package/python3/python3.mk8
-rw-r--r--package/qemu/0001-user-exec-fix-usage-of-mcontext-structure-on-ARM-uCl.patch2
-rw-r--r--package/qemu/0002-Fix-build-with-64-bits-time_t.patch4
-rw-r--r--package/qemu/0003-hw-usb-host-libusb.c-fix-build-with-kernel-5.0.patch43
-rw-r--r--package/qemu/0003-meson-add-tests-option.patch (renamed from package/qemu/0004-meson-add-tests-option.patch)54
-rw-r--r--package/qemu/Config.in.host1
-rw-r--r--package/qemu/qemu.hash2
-rw-r--r--package/qemu/qemu.mk4
-rw-r--r--package/qpdf/qpdf.mk1
-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-2355-Fix-build-with-DPROACTOR-none.patch61
-rw-r--r--package/qpid-proton/qpid-proton.hash4
-rw-r--r--package/qpid-proton/qpid-proton.mk6
-rw-r--r--package/qt5/qt5base/0006-Fix-build-with-GCC-11-include-limits.patch53
-rw-r--r--package/qt5/qt5base/0007-Build-fixes-for-GCC-11.patch61
-rw-r--r--package/qt5/qt5base/0008-Add-missing-limits-include.patch32
-rw-r--r--package/qt5/qt5base/Config.in1
-rw-r--r--package/qt5/qt5base/qt5base.mk2
-rw-r--r--package/raspberrypi-usbboot/0001-Makefile-allow-passing-CFLAGS-LDFLAGS.patch18
-rw-r--r--package/raspberrypi-usbboot/0002-Makefile-add-DESTDIR-support.patch51
-rw-r--r--package/raspberrypi-usbboot/0003-main.c-rework-logic-to-find-def1-def2-and-def3-files.patch127
-rw-r--r--package/raspberrypi-usbboot/Config.in.host4
-rw-r--r--package/raspberrypi-usbboot/raspberrypi-usbboot.hash5
-rw-r--r--package/raspberrypi-usbboot/raspberrypi-usbboot.mk7
-rw-r--r--package/re2/re2.hash2
-rw-r--r--package/re2/re2.mk2
-rw-r--r--package/redis/redis.hash2
-rw-r--r--package/redis/redis.mk2
-rw-r--r--package/refpolicy/refpolicy.mk2
-rw-r--r--package/resiprocate/Config.in1
-rw-r--r--package/restorecond/restorecond.hash2
-rw-r--r--package/restorecond/restorecond.mk4
-rw-r--r--package/rhash/0001-configure-allow-cross-compilation.patch57
-rw-r--r--package/rhash/0002-configure-add-uclinux-target.patch36
-rw-r--r--package/rhash/Config.in1
-rw-r--r--package/rhash/rhash.hash6
-rw-r--r--package/rhash/rhash.mk2
-rw-r--r--package/ripgrep/ripgrep.mk3
-rw-r--r--package/rocksdb/0001-build_tools-build_detect_platform-fix-C-tests.patch96
-rw-r--r--package/rocksdb/0002-POWER7-8-compatiblity-fix-CRC32-C-implementation.patch3787
-rw-r--r--package/rocksdb/Config.in10
-rw-r--r--package/rocksdb/rocksdb.hash4
-rw-r--r--package/rocksdb/rocksdb.mk2
-rw-r--r--package/rpcbind/0001-Remove-yellow-pages-support.patch22
-rw-r--r--package/rpcbind/rpcbind.hash2
-rw-r--r--package/rpcbind/rpcbind.mk12
-rw-r--r--package/rpcbind/rpcbind.service10
-rw-r--r--package/rpcbind/rpcbind.socket8
-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/rsync/0001-rsync-ssl-Verify-the-hostname-in-the-certificate-when-using-openssl.patch29
-rw-r--r--package/rsync/rsync.mk3
-rw-r--r--package/rt-tests/0002-Makefile-drop-explicit-undefine-PYLIB-for-compatibil.patch48
-rw-r--r--package/rtl8189fs/0001-include-disable-debug-messages.patch28
-rw-r--r--package/rtl8189fs/rtl8189fs.hash2
-rw-r--r--package/rtl8189fs/rtl8189fs.mk2
-rw-r--r--package/rtl8812au-aircrack-ng/Config.in10
-rw-r--r--package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.hash3
-rw-r--r--package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.mk18
-rw-r--r--package/rtty/rtty.hash2
-rw-r--r--package/rtty/rtty.mk2
-rw-r--r--package/runc/runc.hash2
-rw-r--r--package/runc/runc.mk2
-rw-r--r--package/rust-bin/rust-bin.hash48
-rw-r--r--package/rustc/Config.in.host104
-rw-r--r--package/rustc/rustc.mk2
-rw-r--r--package/s390-tools/0001-cpumf-lshwc-Fix-compile-errors-due-to-use-of-non-sta.patch135
-rw-r--r--package/s390-tools/0001-osasnmpd-Makefile-fix-cross-compilation.patch41
-rw-r--r--package/s390-tools/0002-cpumf-lshwc-Fix-compile-errors-due-to-use-of-non-sta.patch49
-rw-r--r--package/s390-tools/0002-zkey-Fix-build-error-when-the-compiler-flags-are-overridden.patch54
-rw-r--r--package/s390-tools/s390-tools.hash2
-rw-r--r--package/s390-tools/s390-tools.mk2
-rw-r--r--package/samba4/samba4.hash4
-rw-r--r--package/samba4/samba4.mk2
-rw-r--r--package/sane-backends/0004-backend-microtek-fix-uclibc-compile-include-stdarg.h.patch58
-rw-r--r--package/sane-backends/0005-backend-sm3600-scanutil-fix-uclibc-compile-include-s.patch59
-rw-r--r--package/sbc/0001-sbc_primitives-Fix-build-on-non-x86.patch49
-rw-r--r--package/sbc/sbc.hash6
-rw-r--r--package/sbc/sbc.mk2
-rw-r--r--package/seatd/0001-meson-Support-building-builtin-without-seatd.patch37
-rw-r--r--package/seatd/0002-Add-no-op-session.patch223
-rw-r--r--package/seatd/Config.in22
-rwxr-xr-xpackage/seatd/S70seatd46
-rw-r--r--package/seatd/seatd.hash5
-rw-r--r--package/seatd/seatd.mk53
-rw-r--r--package/selinux-python/selinux-python.hash2
-rw-r--r--package/selinux-python/selinux-python.mk4
-rw-r--r--package/semodule-utils/semodule-utils.hash2
-rw-r--r--package/semodule-utils/semodule-utils.mk4
-rw-r--r--package/setools/0001-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch (renamed from package/setools/0002-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch)19
-rw-r--r--package/setools/0001-remove-werror-flag-from-setup.patch31
-rw-r--r--package/setools/setools.hash2
-rw-r--r--package/setools/setools.mk2
-rw-r--r--package/shellinabox/shellinabox.mk1
-rw-r--r--package/slirp/0001-slirp-check-pkt_len-before-reading-protocol-header.patch60
-rw-r--r--package/slirp/slirp.hash2
-rw-r--r--package/slirp/slirp.mk9
-rw-r--r--package/snmppp/Config.in1
-rw-r--r--package/snort3/Config.in42
-rw-r--r--package/snort3/snort3.hash6
-rw-r--r--package/snort3/snort3.mk57
-rw-r--r--package/sofia-sip/sofia-sip.mk4
-rw-r--r--package/softether/Config.in3
-rw-r--r--package/solarus/0002-Add-a-basic-FindOpenGLES2.cmake.patch48
-rw-r--r--package/solarus/Config.in2
-rw-r--r--package/solarus/solarus.mk9
-rw-r--r--package/spi-tools/spi-tools.hash2
-rw-r--r--package/spi-tools/spi-tools.mk2
-rw-r--r--package/spice/spice.hash2
-rw-r--r--package/spice/spice.mk7
-rw-r--r--package/spidermonkey/0001-allow-newer-autoconf-versions.patch61
-rw-r--r--package/spidermonkey/0002-allow-building-in-tree.patch47
-rw-r--r--package/spidermonkey/0003-allow-unknown-configuration-options.patch35
-rw-r--r--package/spidermonkey/0004-fix-building-with-musl.patch133
-rw-r--r--package/spidermonkey/0005-add-riscv-support.patch121
-rw-r--r--package/spidermonkey/0006-copy-headers-on-install-instead-of-symlinking.patch34
-rw-r--r--package/spidermonkey/0007-ensure-proper-running-on-64-bit-and-32-bit-be-platforms.patch144
-rw-r--r--package/spidermonkey/0008-save-and-restore-non-volatile-x28-on-ARM64-for-generated-unboxed-obje.patch66
-rw-r--r--package/spidermonkey/0009-save-x28-before-clobbering-it-in-the-regex-compiler.patch100
-rw-r--r--package/spidermonkey/0010-always-use-the-equivalent-year-to-determine-the-time-zone.patch103
-rw-r--r--package/spidermonkey/0011-js-src-Makefile.in-install-shell-only-if-it-s-built.patch28
-rw-r--r--package/spidermonkey/Config.in60
-rw-r--r--package/spidermonkey/spidermonkey.hash3
-rw-r--r--package/spidermonkey/spidermonkey.mk64
-rw-r--r--package/sqlite/Config.in2
-rw-r--r--package/sqlite/sqlite.hash2
-rw-r--r--package/sqlite/sqlite.mk4
-rw-r--r--package/squid/squid.hash8
-rw-r--r--package/squid/squid.mk2
-rw-r--r--package/stellarium/stellarium.hash4
-rw-r--r--package/stellarium/stellarium.mk2
-rw-r--r--package/stm32flash/stm32flash.hash2
-rw-r--r--package/stm32flash/stm32flash.mk2
-rw-r--r--package/strace/0001-disable_ptrace_get_syscall_info-disable_ptrace_getre.patch33
-rw-r--r--package/strace/Config.in6
-rw-r--r--package/strace/strace.hash4
-rw-r--r--package/strace/strace.mk2
-rw-r--r--package/stunnel/stunnel.hash4
-rw-r--r--package/stunnel/stunnel.mk3
-rw-r--r--package/supervisor/supervisor.mk1
-rw-r--r--package/suricata/suricata.hash2
-rw-r--r--package/suricata/suricata.mk2
-rw-r--r--package/swupdate/0001-diskpart-force-kernel-to-reread-partition-table.patch32
-rw-r--r--package/swupdate/0002-Shellscript-stops-before-completing.patch52
-rw-r--r--package/swupdate/swupdate.hash17
-rw-r--r--package/swupdate/swupdate.mk42
-rw-r--r--package/synergy/synergy.mk1
-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.mk9
-rw-r--r--package/systemd/0001-Add-meson-option-to-disable-urlify.patch67
-rw-r--r--package/systemd/Config.in43
-rw-r--r--package/systemd/systemd.hash4
-rw-r--r--package/systemd/systemd.mk28
-rw-r--r--package/taglib/taglib.mk1
-rw-r--r--package/tclap/tclap.mk1
-rw-r--r--package/tcpdump/tcpdump.hash4
-rw-r--r--package/tcpdump/tcpdump.mk2
-rw-r--r--package/terminology/terminology.mk1
-rw-r--r--package/thermald/thermald.mk1
-rw-r--r--package/thrift/thrift.hash6
-rw-r--r--package/thrift/thrift.mk5
-rw-r--r--package/tiff/tiff.hash4
-rw-r--r--package/tiff/tiff.mk2
-rw-r--r--package/tini/tini.mk1
-rw-r--r--package/tinyproxy/tinyproxy.hash3
-rw-r--r--package/tinyproxy/tinyproxy.mk6
-rw-r--r--package/tinyxml2/tinyxml2.mk1
-rw-r--r--package/tor/tor.hash2
-rw-r--r--package/tor/tor.mk3
-rw-r--r--package/tpm-tools/Config.in1
-rw-r--r--package/tpm2-pkcs11/tpm2-pkcs11.hash2
-rw-r--r--package/tpm2-pkcs11/tpm2-pkcs11.mk2
-rw-r--r--package/tpm2-tools/Config.in7
-rw-r--r--package/tpm2-tools/tpm2-tools.hash4
-rw-r--r--package/tpm2-tools/tpm2-tools.mk7
-rw-r--r--package/tpm2-tss/tpm2-tss.mk2
-rw-r--r--package/transmission/Config.in1
-rw-r--r--package/trinity/0002-net-proto-ip-raw.c-fix-build-with-kernel-5.13.patch37
-rw-r--r--package/trinity/trinity.mk1
-rw-r--r--package/tvheadend/Config.in1
-rw-r--r--package/uacme/uacme.hash2
-rw-r--r--package/uacme/uacme.mk2
-rw-r--r--package/uboot-tools/uboot-tools.hash2
-rw-r--r--package/uboot-tools/uboot-tools.mk7
-rw-r--r--package/uclibc/0001-powerpc-fix-PIE-PIC-builds-with-newer-gcc-binutils-w.patch91
-rw-r--r--package/uclibc/Config.in3
-rw-r--r--package/uclibc/uclibc.mk2
-rw-r--r--package/udisks/0001-fix-build-with-newer-glibc-versions.patch29
-rw-r--r--package/udisks/0002-Fix-systemd-service-file.patch33
-rw-r--r--package/udisks/0003-Fix-compilation-issue-with-missing-sys-sysmacros.h-i.patch81
-rw-r--r--package/udisks/Config.in51
-rw-r--r--package/udisks/udisks.hash4
-rw-r--r--package/udisks/udisks.mk32
-rw-r--r--package/uftrace/Config.in5
-rw-r--r--package/uhd/Config.in4
-rw-r--r--package/unscd/Config.in2
-rw-r--r--package/usbguard/Config.in24
-rw-r--r--package/usbguard/S20usbguard37
-rw-r--r--package/usbguard/usbguard.hash3
-rw-r--r--package/usbguard/usbguard.mk66
-rw-r--r--package/uvw/uvw.hash4
-rw-r--r--package/uvw/uvw.mk2
-rw-r--r--package/vala/0001-dont-add-dirty-to-valac-version.patch17
-rw-r--r--package/vala/vala.hash4
-rw-r--r--package/vala/vala.mk4
-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/0010-modules-access-live555.cpp-fix-build-with-live555-20.patch36
-rw-r--r--package/vlc/Config.in2
-rw-r--r--package/vlc/vlc.hash8
-rw-r--r--package/vlc/vlc.mk2
-rw-r--r--package/vtun/Config.in1
-rw-r--r--package/wayland/0001-build-add-option-to-disable-tests.patch74
-rw-r--r--package/wayland/0002-meson-do-not-check-for-c.patch29
-rw-r--r--package/wayland/0002-meson-only-require-cpp-for-tests.patch59
-rw-r--r--package/wayland/wayland.hash8
-rw-r--r--package/wayland/wayland.mk2
-rw-r--r--package/waylandpp/Config.in6
-rw-r--r--package/webkitgtk/Config.in15
-rw-r--r--package/webkitgtk/webkitgtk.hash8
-rw-r--r--package/webkitgtk/webkitgtk.mk3
-rw-r--r--package/weston/Config.in25
-rw-r--r--package/weston/weston.mk32
-rw-r--r--package/wget/Config.in2
-rw-r--r--package/wireless-regdb/wireless-regdb.hash2
-rw-r--r--package/wireless-regdb/wireless-regdb.mk2
-rw-r--r--package/wireshark/wireshark.hash6
-rw-r--r--package/wireshark/wireshark.mk2
-rw-r--r--package/wlroots/Config.in3
-rw-r--r--package/wlroots/wlroots.hash4
-rw-r--r--package/wlroots/wlroots.mk25
-rw-r--r--package/wpa_supplicant/0003-Include-stdbool.h-to-allow-C99-bool-to-be-used.patch32
-rw-r--r--package/wpa_supplicant/0004-ASN.1-Add-helper-functions-for-recognizing-tag-value.patch37
-rw-r--r--package/wpa_supplicant/Config.in2
-rw-r--r--package/wpebackend-fdo/wpebackend-fdo.hash8
-rw-r--r--package/wpebackend-fdo/wpebackend-fdo.mk2
-rw-r--r--package/wpewebkit/0001-Add-ldp-and-stp-support-for-FP-registers-plus-some-b.patch382
-rw-r--r--package/wpewebkit/0001-Fix-build-with-musl.patch79
-rw-r--r--package/wpewebkit/Config.in3
-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/xdriver_xf86-video-fbturbo/0002-Use-own-thunk-functions-instead-of-fbdevHW-Weak.patch160
-rw-r--r--package/x11r7/xdriver_xf86-video-fbturbo/0003-Update-for-1.20-ABI.patch30
-rw-r--r--package/x11r7/xdriver_xf86-video-fbturbo/0004-xorg.conf-add-mandatory-modules-fb-shadow-fbdevhw.patch53
-rw-r--r--package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.hash2
-rw-r--r--package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk3
-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_libX11/xlib_libX11.hash6
-rw-r--r--package/x11r7/xlib_libX11/xlib_libX11.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.hash5
-rw-r--r--package/x11r7/xlib_libXfixes/xlib_libXfixes.mk4
-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.mk2
-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/x11vnc/Config.in3
-rw-r--r--package/xmrig/Config.in22
-rw-r--r--package/xmrig/xmrig.hash3
-rw-r--r--package/xmrig/xmrig.mk43
-rw-r--r--package/xterm/xterm.hash2
-rw-r--r--package/xterm/xterm.mk2
-rw-r--r--package/zfs/zfs.hash4
-rw-r--r--package/zfs/zfs.mk2
-rw-r--r--package/zmqpp/zmqpp.mk2
-rw-r--r--package/znc/Config.in1
-rw-r--r--package/zstd/zstd.hash4
-rw-r--r--package/zstd/zstd.mk13
-rw-r--r--support/config-fragments/autobuild/br-arm-internal-glibc.config4
-rwxr-xr-xsupport/dependencies/dependencies.sh16
-rw-r--r--support/misc/Vagrantfile2
-rwxr-xr-xsupport/scripts/apply-patches.sh5
-rwxr-xr-xsupport/scripts/gen-missing-cpe65
-rwxr-xr-xsupport/scripts/pkg-stats64
-rw-r--r--support/testing/conf/docker-compose.yml5
-rw-r--r--support/testing/infra/__init__.py12
-rw-r--r--support/testing/infra/emulator.py8
-rw-r--r--support/testing/tests/boot/test_atf.py15
-rw-r--r--support/testing/tests/boot/test_edk2.py45
-rw-r--r--support/testing/tests/core/test_file_capabilities.py3
-rw-r--r--support/testing/tests/core/test_hardening.py1
-rw-r--r--support/testing/tests/fs/test_ext.py5
-rw-r--r--support/testing/tests/fs/test_f2fs.py3
-rw-r--r--support/testing/tests/fs/test_jffs2.py3
-rw-r--r--support/testing/tests/fs/test_squashfs.py11
-rw-r--r--support/testing/tests/init/base.py9
-rw-r--r--support/testing/tests/init/test_none.py3
-rw-r--r--support/testing/tests/init/test_systemd.py3
-rw-r--r--support/testing/tests/package/br2-external/polkit/Config.in1
-rw-r--r--support/testing/tests/package/br2-external/polkit/external.desc1
-rw-r--r--support/testing/tests/package/br2-external/polkit/external.mk1
-rw-r--r--support/testing/tests/package/br2-external/polkit/package/polkit-rules-test/Config.in6
-rw-r--r--support/testing/tests/package/br2-external/polkit/package/polkit-rules-test/initd/hello-polkit.c6
-rw-r--r--support/testing/tests/package/br2-external/polkit/package/polkit-rules-test/initd/hello-polkit.policy14
-rw-r--r--support/testing/tests/package/br2-external/polkit/package/polkit-rules-test/initd/hello-polkit.rules6
-rw-r--r--support/testing/tests/package/br2-external/polkit/package/polkit-rules-test/polkit-rules-test.mk38
-rw-r--r--support/testing/tests/package/br2-external/polkit/package/polkit-rules-test/systemd/systemd-timesyncd-restart.rules7
-rwxr-xr-xsupport/testing/tests/package/sample_bmap_tools.sh16
-rw-r--r--support/testing/tests/package/sample_python_augeas.py9
-rw-r--r--support/testing/tests/package/sample_python_dbus_next.py44
-rw-r--r--support/testing/tests/package/test_atop.py6
-rw-r--r--support/testing/tests/package/test_bmap_tools.py92
-rw-r--r--support/testing/tests/package/test_docker_compose.py10
-rw-r--r--support/testing/tests/package/test_dropbear.py6
-rw-r--r--support/testing/tests/package/test_glxinfo.py6
-rw-r--r--support/testing/tests/package/test_glxinfo/rootfs-overlay/etc/X11/xorg.conf.d/01-modules.conf11
-rw-r--r--support/testing/tests/package/test_lua.py3
-rw-r--r--support/testing/tests/package/test_lua_lunix.py25
-rw-r--r--support/testing/tests/package/test_lua_zlib.py25
-rw-r--r--support/testing/tests/package/test_netdata.py3
-rw-r--r--support/testing/tests/package/test_openssh.py6
-rw-r--r--support/testing/tests/package/test_opkg.py12
-rw-r--r--support/testing/tests/package/test_perl.py3
-rw-r--r--support/testing/tests/package/test_polkit.py70
-rw-r--r--support/testing/tests/package/test_python.py12
-rw-r--r--support/testing/tests/package/test_python_augeas.py13
-rw-r--r--support/testing/tests/package/test_python_colorzero.py11
-rw-r--r--support/testing/tests/package/test_python_dbus_next.py40
-rw-r--r--support/testing/tests/package/test_python_gpiozero.py9
-rw-r--r--support/testing/tests/package/test_python_pytest.py3
-rw-r--r--support/testing/tests/package/test_python_pytest_asyncio.py3
-rw-r--r--support/testing/tests/package/test_redis.py3
-rw-r--r--support/testing/tests/package/test_rust.py6
-rw-r--r--support/testing/tests/package/test_s6_rc.py21
-rw-r--r--support/testing/tests/package/test_sudo.py6
-rw-r--r--support/testing/tests/package/test_syslog_ng.py10
-rw-r--r--support/testing/tests/package/test_tmux.py12
-rw-r--r--support/testing/tests/package/test_uboot_openssl_pkgconfig.py19
-rw-r--r--support/testing/tests/package/test_zfs.py4
-rw-r--r--toolchain/Config.in10
-rw-r--r--toolchain/toolchain-external/toolchain-external-custom/Config.in.options10
-rwxr-xr-xutils/genrandconfig16
-rwxr-xr-xutils/scanpypi4
1581 files changed, 22012 insertions, 18656 deletions
diff --git a/CHANGES b/CHANGES
index 9f9f5e94ff..91487cc058 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,73 @@
+2021.05, released June 6th, 2021
+
+ Various fixes.
+
+ Disable PIC/PIE support for Nios2 because of glibc issues
+
+ Defconfigs: Minnowboard max: Fix X11 and mesa3d configuration
+
+ Updated/fixed packages: apache, beaglev-ddrinit,
+ beaglev-secondboot, capnproto, dc3dd, directfb, efibootmgr,
+ ffmpeg, gptfdisk, go, gupnp, hostapd, iftop,
+ intel-mediadriver, libcamera, libcutl, libesmtp, libkcapi,
+ libraw, lttng-tools, lvm2, mimic, mono-gtksharp3, mpv,
+ netperf, odb, qt5base, uclibc, uftrace, unscd, vlc,
+ xdriver_xf86-video-fbturbo
+
+ New packages: python3-cffi, python3-cryptography, python3-pip,
+ python3-pycparser, python3-six
+
+2021.05-rc3, released May 31th, 2021
+
+ Fixes all over the tree.
+
+ meson: Explicitly disable PIE support (b_pie) as it is handled
+ by the toolchain wrapper.
+
+ Updated/fixed packages: boost, dhcp, expat, gdb, hwloc, imagemagick,
+ libcurl, libopenh264, llvm, lz4, mpv, nginx, paho-mqtt-c, pifmrds,
+ pipewire, python-bluezero, python-pillow, qemu, strace, uhd, vlc,
+ webkitgtk
+
+ Issues resolved (http://bugs.uclibc.org):
+
+ #13821: Wrong url for libnfsidmap package
+
+2021.05-rc2, released May 22th, 2021
+
+ Fixes all over the tree.
+
+ support/scripts/gen-missing-cpe: A script to query the list of
+ CPE IDs for the packages enabled in the current configuration and:
+
+ - for CPE IDs that do not have any matching entry in the CPE
+ database, it emits a warning
+
+ - for CPE IDs that do have a matching entry, but not with the same
+ version, it generates a snippet of XML that can be used to propose
+ an updated version to NIST.
+
+ CPE meta data has been added for a large number of packages
+
+ Updated/fixed packages: assimp, binutils, bitcoin, bullet,
+ cutelyst, dhcp, dmalloc, docker-engine, ebtables,
+ environment-setup, flatcc, gcc, gd, gerbera, hostapd,
+ imx-gpu-viv, intel-microcode, jquery-validation, libdrm,
+ libgeos, libraw, libtirpc, libxml2, libxslt, live555, lmbench,
+ localedef, lvm2, mender, mender-grubenv, modem-manager, mutt,
+ opensbi, openssh, opentyrian, pipewire, postgis, postgresql,
+ prosody, python-bluezero, python-falcon, redis, rocksdb,
+ rt-tests, runc, vlc, waylandpp, webkitgtk, wireshark,
+ wpa_supplicant, wpewebkit, xlib_libX11, xterm
+
+ New packages: jh71xx-tools
+
+ Issues resolved (http://bugs.uclibc.org):
+
+ #13781: isc dhcp-server package don't create file /usr/bin/dhcpd
+ #13801: toolchainfile.cmake CMAKE_BUILD_TYPE
+ #13806: Building host-localedef fails on fedora 34/gcc 11
+
2021.05-rc1, released May 12th, 2021
Fixes all over the tree and new features.
@@ -74,6 +144,51 @@
#13751: libopenssl (static): huge drop in performance in newer ..
#13771: package htop has undeclared dependency on host python
+2021.02.3, released June 12th, 2021
+
+ Important / security related fixes.
+
+ CPE meta data has been added for a large number of packages
+
+ Updated/fixed packages: acpid, apache, apcupsd, assimp, bird,
+ bitcoin, blktrace, boost, capnproto, chrony, dc3dd, dhcp,
+ directfb, dmalloc, docker-engine, ebtables, efibootmgr,
+ enlightenment, enscript, environment-setup, exempi, expat,
+ findutils, flatcc, fluidsynth, frr, gdb, go, gptfdisk, grpc,
+ gst1-plugins-bad, gst1-rtsp-server, gstreamer1, gupnp,
+ hostapd, hwloc, i2c-tools, iftop, imagemagick, imx-gpu-viv,
+ intel-mediadriver, intel-microcode, jquery-validation,
+ keepalived, kodi, less, libcamera, libcurl, libcutl, libesmtp,
+ libeXosip2, libffi, libfuse, libfuse3, libgeos, libgtk2,
+ libgtk3, libical, libidn, libidn2, libkcapi, libldns, libmms,
+ libmodbus, libmspack, libnids, libopenh264, liboping, libraw,
+ librelp, libsamplerate, libtirpc, libusb, libuv, libxcb,
+ libxml2, libxslt, live555, llvm, lmbench, localedef,
+ lttng-tools, lvm2, lz4, mesa3d, mimic, mini-snmpd, minidlna,
+ minissdpd, minizip, mono-gtksharp3, mpg123, mpv, msmtp, musl,
+ mutt, nasm, nbd, netperf, netsurf, nginx, odb, opencv3,
+ openssh, opentyrian, oprofile, p7zip, paho-mqtt-c, perl,
+ php-imagick, pifmrds, picocom, pigz, pngquant, poco,
+ postgresql, prosody, proxychains-ng, pulseaudio, putty, pwgen,
+ python-autobahn, python-bluezero, python-engineio,
+ python-keyring, python-pillow, python-requests, python-tqdm,
+ qemu, qpdf, qt5base, redis, refpolicy, rt-tests, runc,
+ shellinabox, squid, strace, supervisor, synergy, taglib,
+ tclap, terminology, thermald, tini, tinyproxy, tinyxml2,
+ tpm2-tss, uclibc, udisks, uhd, unscd, vlc, waylandpp,
+ webkitgtk, weston, wireshark, wpa_supplicant, wpewebkit,
+ xlib_libdmx, xlib_libFS, xlib_libICE, xlib_libX11,
+ xlib_libXcursor, xlib_libXdmcp, xlib_libXext, xlib_libXfixes,
+ xlib_libXfont2, xlib_libXinerama, xlib_libXpm, xlib_libXres,
+ xlib_libXt, xlib_libXtst, xlib_libXxf86dga, xlib_libXxf86vm,
+ xterm
+
+ Issues resolved (http://bugs.uclibc.org):
+
+ #13781: isc dhcp-server package don't create file /usr/bin/dhcpd
+ #13801: toolchainfile.cmake CMAKE_BUILD_TYPE
+ #13806: Building host-localedef fails on fedora 34/gcc 11
+
2021.02.2, released May 12th, 2021
Important / security related fixes.
diff --git a/Config.in b/Config.in
index c65e34bd5e..c05485173b 100644
--- a/Config.in
+++ b/Config.in
@@ -412,6 +412,19 @@ config BR2_DEBUG_3
endchoice
endif
+config BR2_ENABLE_RUNTIME_DEBUG
+ bool "build packages with runtime debugging info"
+ help
+ Some packages may have runtime assertions, extra traces, and
+ similar runtime elements that can help debugging. However,
+ these elements may negatively influence performance so should
+ normally not be enabled on production systems.
+
+ Enable this option to enable such runtime debugging.
+
+ Note: disabling this option is not a guarantee that all
+ packages effectively removed these runtime debugging elements.
+
config BR2_STRIP_strip
bool "strip target binaries"
default y
@@ -716,6 +729,8 @@ comment "Security Hardening Options"
config BR2_PIC_PIE
bool "Build code with PIC/PIE"
default y
+ # Nios2 toolchains produce non working binaries with -fPIC
+ depends on !BR2_nios2
depends on BR2_SHARED_LIBS
depends on BR2_TOOLCHAIN_SUPPORTS_PIE
help
@@ -723,6 +738,7 @@ config BR2_PIC_PIE
Position-Independent Executables (PIE).
comment "PIC/PIE needs a toolchain w/ PIE"
+ depends on !BR2_nios2
depends on BR2_SHARED_LIBS
depends on !BR2_TOOLCHAIN_SUPPORTS_PIE
@@ -813,6 +829,7 @@ config BR2_RELRO_PARTIAL
config BR2_RELRO_FULL
bool "Full"
+ depends on !BR2_nios2 # BR2_PIC_PIE
depends on BR2_TOOLCHAIN_SUPPORTS_PIE
select BR2_PIC_PIE
help
@@ -821,6 +838,7 @@ config BR2_RELRO_FULL
program loading, i.e every time an executable is started.
comment "RELRO Full needs a toolchain w/ PIE"
+ depends on !BR2_nios2
depends on !BR2_TOOLCHAIN_SUPPORTS_PIE
endchoice
diff --git a/Config.in.legacy b/Config.in.legacy
index ce6aeed87d..aee7e425ef 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -144,8 +144,69 @@ endif
###############################################################################
+comment "Legacy options removed in 2021.08"
+
+config BR2_PACKAGE_SPIDERMONKEY
+ bool "spidermonkey package removed"
+ select BR2_LEGACY
+ help
+ The spidermonkey package was removed. The only package that
+ depended on spidermonkey was polkit. The spidermonkey
+ dependency is replaced with duktape.
+
+config BR2_PACKAGE_KODI_LIBVA
+ bool "kodi option to add libva support removed"
+ select BR2_LEGACY
+ help
+ Kodi still has support for libva if the package is enabled but
+ the kodi-specific dependencies limiting libva support to non-
+ OPENGLES platforms were removed including this option.
+
+config BR2_PACKAGE_PYTHON_COHERENCE
+ bool "python-coherence package removed"
+ select BR2_LEGACY
+ help
+ This package has been removed as it can't be built anymore due
+ to python-twisted being now incompatible with python 2.
+
+config BR2_PACKAGE_PHP_EXT_XMLRPC
+ bool "PHP XMLRPC extension removed"
+ select BR2_LEGACY
+ help
+ The XMLRPC php extension was removed.
+ See: https://wiki.php.net/rfc/unbundle_xmlprc
+
+comment "Legacy options removed in 2021.08"
+
+config BR2_GCC_VERSION_8_X
+ bool "gcc 8.x support removed"
+ select BR2_LEGACY
+ help
+ Support for gcc version 8.x has been removed. The current
+ default version (10.x or later) has been selected instead.
+
comment "Legacy options removed in 2021.05"
+config BR2_PACKAGE_UDISKS_LVM2
+ bool "udisks lvm2 support removed"
+ select BR2_LEGACY
+ help
+ The lvm2 support was removed because udisks < 2.7.0 still
+ depends on lvm2 application library, which was removed
+ in lvm2.
+
+config BR2_PACKAGE_LVM2_APP_LIBRARY
+ bool "lvm2 application library removed"
+ select BR2_LEGACY
+ help
+ The lvm2 application library was removed upstream.
+
+config BR2_PACKAGE_LVM2_LVMETAD
+ bool "lvm2 lvmetad removed"
+ select BR2_LEGACY
+ help
+ The lvm2 lvmetad was removed upstream.
+
config BR2_PACKAGE_MONKEY
bool "monkey package removed"
select BR2_LEGACY
@@ -162,7 +223,7 @@ config BR2_PACKAGE_DOCKER_CONTAINERD
The package was renamed to containerd accordingly.
config BR2_PACKAGE_IOSTAT
- bool "iostat removed"
+ bool "iostat package removed"
select BR2_LEGACY
help
This package has been removed, use sysstat instead.
diff --git a/DEVELOPERS b/DEVELOPERS
index b688c8a8c1..596670993a 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -35,6 +35,7 @@ F: package/bubblewrap/
F: package/cage/
F: package/cog/
F: package/libepoxy/
+F: package/libpsl/
F: package/libwpe/
F: package/webkitgtk/
F: package/wlroots/
@@ -123,10 +124,7 @@ F: package/python-docopt/
N: Anders Darander <anders@chargestorm.se>
F: package/ktap/
-N: André Hentschel <nerv@dawncrow.de>
-F: board/freescale/imx8qxpmek/
-F: configs/freescale_imx8qxpmek_defconfig
-F: package/freescale-imx/imx-sc-firmware/
+N: André Zwing <nerv@dawncrow.de>
F: package/libkrb5/
F: package/openal/
F: package/p7zip/
@@ -181,6 +179,9 @@ F: package/sshguard/
F: package/sunwait/
F: package/sysdig/
+N: Andy Shevchenko <andy.shevchenko@gmail.com>
+F: package/fb-test-app/
+
N: Anisse Astier <anisse@astier.eu>
F: package/go/
F: package/nghttp2/
@@ -263,6 +264,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/cegui/
F: package/log4qt/
F: package/python-esptool/
F: package/python-pyaes/
@@ -309,9 +311,11 @@ N: Bernd Kuhls <bernd.kuhls@t-online.de>
F: package/alsa-lib/
F: package/alsa-utils/
F: package/apache/
+F: package/apg/
F: package/apr/
F: package/apr-util/
F: package/bcg729/
+F: package/bitcoin/
F: package/bluez-tools/
F: package/boinc/
F: package/clamav/
@@ -334,8 +338,12 @@ F: package/gkrellm/
F: package/gli/
F: package/glmark2/
F: package/gpsd/
+F: package/gptfdisk/
F: package/hdparm/
F: package/inih/
+F: package/intel-gmmlib/
+F: package/intel-mediadriver/
+F: package/intel-mediasdk/
F: package/jsoncpp/
F: package/kodi*
F: package/lame/
@@ -455,6 +463,7 @@ F: package/waylandpp/
F: package/x11r7/
F: package/x264/
F: package/x265/
+F: package/xmrig/
F: package/ytree/
F: package/znc/
F: support/testing/tests/package/test_perl_html_parser.py
@@ -490,15 +499,8 @@ F: package/libsvg-cairo/
N: Cédric Chépied <cedric.chepied@gmail.com>
F: package/znc/
-N: Chakra Divi <chakra@openedev.com>
-F: board/friendlyarm/nanopi-m1
-F: board/friendlyarm/nanopi-m1-plus
-F: board/olimex/a13_olinuxino
-F: board/orangepi/orangepi-plus
-F: configs/friendlyarm_nanopi_m1_defconfig
-F: configs/friendlyarm_nanopi_m1_plus_defconfig
-F: configs/olimex_a13_olinuxino_defconfig
-F: configs/orangepi_plus_defconfig
+N: Charles Hardin <ckhardin@gmail.com>
+F: package/alsa-plugins/
N: Chris Packham <judge.packham@gmail.com>
F: package/coremark/
@@ -527,7 +529,7 @@ F: package/rtl8821au/
F: package/runc/
F: package/tini/
-N: Christophe Priouzeau <christophe.priouzeau@st.com>
+N: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
F: board/stmicroelectronics/stm32f429-disco/
F: board/stmicroelectronics/stm32f469-disco/
F: configs/stm32f429_disco_defconfig
@@ -675,7 +677,15 @@ N: Derrick Lyndon Pallas <derrick@meter.com>
F: package/ipcalc/
N: Dick Olsson <hi@senzilla.io>
+F: board/aarch64-efi/
+F: board/pc/
+F: board/qemu/aarch64-sbsa/
+F: boot/arm-trusted-firmware/
+F: boot/edk2/
+F: configs/qemu_aarch64_sbsa_defconfig
F: package/bearssl/
+F: package/bitcoin/
+F: package/edk2-platforms/
F: package/execline/
F: package/mdevd/
F: package/s6-dns/
@@ -686,6 +696,7 @@ F: package/s6-portable-utils/
F: package/s6-rc/
F: package/s6/
F: package/skalibs/
+F: support/testing/tests/boot/test_edk2.py
N: Dimitrios Siganos <dimitris@siganos.org>
F: package/wireless-regdb/
@@ -835,6 +846,7 @@ F: package/belle-sip/
F: package/belr/
F: package/boinc/
F: package/cairo/
+F: package/daq3/
F: package/duktape/
F: package/expat/
F: package/flatbuffers/
@@ -901,6 +913,7 @@ F: package/python-yatl/
F: package/rocksdb/
F: package/rygel/
F: package/safeclib/
+F: package/snort3/
F: package/suricata/
F: package/tinycbor/
F: package/tinydtls/
@@ -1043,6 +1056,7 @@ F: package/minicom/
F: package/nfs-utils/
F: package/sunxi-mali-mainline/
F: package/sunxi-mali-mainline-driver/
+F: package/udisks/
N: Gregory Dymarek <gregd72002@gmail.com>
F: package/ding-libs/
@@ -1108,6 +1122,8 @@ F: package/python-sip/
F: package/uhd/
N: Heiko Thiery <heiko.thiery@gmail.com>
+F: board/kontron/pitx-imx8m/
+F: configs/kontron_pitx_imx8m_defconfig
F: package/altera-stapl/
F: package/ipmitool/
F: package/libnetconf2/
@@ -1253,10 +1269,8 @@ F: package/sysrepo/
N: Jan Pedersen <jp@jp-embedded.com>
F: package/zip/
-N: Jan Viktorin <viktorin@rehivetech.com>
-F: package/python-pexpect/
-F: package/python-ptyprocess/
-F: package/zynq-boot-bin/
+N: Jared Bents <jared.bents@rockwellcollins.com>
+F: package/libvirt/
N: Jarkko Sakkinen <jarkko.sakkinen@intel.com>
F: package/quota/
@@ -1490,6 +1504,8 @@ F: package/dtach/
N: Kamel Bouhara <kamel.bouhara@gmail.com>
F: package/libodb-boost/
F: package/libodb-mysql/
+F: package/libqb/
+F: package/usbguard/
N: Karoly Kasza <kaszak@gmail.com>
F: package/irqbalance/
@@ -1641,6 +1657,7 @@ F: package/murata-cyw-fw/
F: package/netdata/
F: package/python-ansicolors/
F: package/python-bleak/
+F: package/python-dbus-next/
F: package/python-iniconfig/
F: package/python-intelhex/
F: package/python-packaging/
@@ -1651,9 +1668,11 @@ F: package/python-typing-extensions/
F: package/python-xmodem/
F: package/rs485conf/
F: package/turbolua/
+F: support/testing/tests/package/sample_python_dbus_next.py
F: support/testing/tests/package/sample_python_pytest.py
F: support/testing/tests/package/sample_python_pytest_asyncio.py
F: support/testing/tests/package/test_netdata.py
+F: support/testing/tests/package/test_python_dbus_next.py
F: support/testing/tests/package/test_python_pytest.py
F: support/testing/tests/package/test_python_pytest_asyncio.py
@@ -1967,7 +1986,13 @@ F: board/intel/galileo/
F: configs/galileo_defconfig
N: Nicolas Carrier <nicolas.carrier@orolia.com>
+F: package/bmap-tools/
F: package/php-xdebug/
+F: package/python-augeas/
+F: support/testing/tests/package/sample_bmap_tools.sh
+F: support/testing/tests/package/sample_python_augeas.py
+F: support/testing/tests/package/test_bmap_tools.py
+F: support/testing/tests/package/test_python_augeas.py
N: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
F: package/libgit2/
@@ -2138,6 +2163,7 @@ F: package/qt5/
F: package/quotatool/
F: package/racehound/
F: package/redir/
+F: package/rtl8812au-aircrack-ng/
F: package/uredir/
F: package/wayland-utils/
@@ -2235,11 +2261,14 @@ F: package/nanomsg/
N: Ramon Fried <rfried.dev@gmail.com>
F: package/bitwise/
-N: Raphaël Mélotte <raphael.melotte@essensium.com>
+N: Raphaël Mélotte <raphael.melotte@mind.be>
+F: package/gumbo-parser/
F: package/jbig2dec/
+F: package/mupdf/
F: package/python-boto3/
F: package/python-botocore/
F: package/python-jmespath/
+F: package/python-pymupdf/
F: package/python-s3transfer/
N: Refik Tuzakli <tuzakli.refik@gmail.com>
@@ -2303,6 +2332,7 @@ F: package/glibc/
F: package/irrlicht/
F: package/liblinear/
F: package/lensfun/
+F: package/libbpf/
F: package/libclc/
F: package/libgta/
F: package/libiec61850/
@@ -2614,6 +2644,7 @@ F: configs/stm32mp157c_dk2_defconfig
F: package/android-tools/
F: package/b43-firmware/
F: package/b43-fwcutter/
+F: package/bmap-tools/
F: package/c-periphery/
F: package/cdrkit/
F: package/cifs-utils/
@@ -2631,6 +2662,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/
@@ -2650,6 +2682,7 @@ F: package/pkg-autotools.mk
F: package/pkg-generic.mk
F: package/python/
F: package/python3/
+F: package/python-augeas/
F: package/python-mad/
F: package/python-serial/
F: package/qextserialport/
@@ -2663,6 +2696,8 @@ F: package/squashfs/
F: package/wayland/
F: package/weston/
F: support/testing/tests/boot/test_syslinux.py
+F: support/testing/tests/package/sample_python_augeas.py
+F: support/testing/tests/package/test_python_augeas.py
F: toolchain/
N: Timo Ketola <timo.ketola@exertus.fi>
@@ -2709,6 +2744,7 @@ F: package/utp_com/
N: Vincent Stehlé <vincent.stehle@laposte.net>
F: board/bananapi/bananapi-m2-zero/
F: configs/bananapi_m2_zero_defconfig
+F: configs/uevm5432_defconfig
F: package/i7z/
F: package/msr-tools/
F: package/pixz/
@@ -2757,9 +2793,6 @@ F: package/casync/
F: package/gloox/
F: package/tpm2-pkcs11/
-N: Yann CARDAILLAC <ycardaillac@sepro-group.com>
-F: package/open62541/
-
N: Yann E. MORIN <yann.morin.1998@free.fr>
F: board/friendlyarm/nanopi-neo/
F: configs/friendlyarm_nanopi_neo_defconfig
diff --git a/Makefile b/Makefile
index 76f14888ea..74c238cb20 100644
--- a/Makefile
+++ b/Makefile
@@ -92,9 +92,9 @@ all:
.PHONY: all
# Set and export the version string
-export BR2_VERSION := 2021.05-rc1
+export BR2_VERSION := 2021.08-git
# Actual time the release is cut (for reproducible builds)
-BR2_VERSION_EPOCH = 1620809000
+BR2_VERSION_EPOCH = 1623014000
# Save running make version since it's clobbered by the make package
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
@@ -229,6 +229,8 @@ LEGAL_MANIFEST_CSV_HOST = $(LEGAL_INFO_DIR)/host-manifest.csv
LEGAL_WARNINGS = $(LEGAL_INFO_DIR)/.warnings
LEGAL_REPORT = $(LEGAL_INFO_DIR)/README
+CPE_UPDATES_DIR = $(BASE_DIR)/cpe-updates
+
BR2_CONFIG = $(CONFIG_DIR)/.config
# Pull in the user's configuration file
@@ -945,6 +947,14 @@ pkg-stats:
--html $(O)/pkg-stats.html \
--nvd-path $(DL_DIR)/buildroot-nvd
+.PHONY: missing-cpe
+missing-cpe:
+ $(Q)mkdir -p $(CPE_UPDATES_DIR)
+ $(Q)cd "$(CONFIG_DIR)" ; \
+ $(TOPDIR)/support/scripts/gen-missing-cpe \
+ --nvd-path $(DL_DIR)/buildroot-nvd \
+ --output $(CPE_UPDATES_DIR)
+
else # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
# Some subdirectories are also package names. To avoid that "make linux"
@@ -1079,7 +1089,8 @@ printvars:
clean:
rm -rf $(BASE_TARGET_DIR) $(BINARIES_DIR) $(HOST_DIR) $(HOST_DIR_SYMLINK) \
$(BUILD_DIR) $(BASE_DIR)/staging \
- $(LEGAL_INFO_DIR) $(GRAPHS_DIR) $(PER_PACKAGE_DIR)
+ $(LEGAL_INFO_DIR) $(GRAPHS_DIR) $(PER_PACKAGE_DIR) $(CPE_UPDATES_DIR) \
+ $(O)/pkg-stats.*
.PHONY: distclean
distclean: clean
@@ -1140,6 +1151,7 @@ help:
@echo ' <pkg>-dirclean - Remove <pkg> build directory'
@echo ' <pkg>-reconfigure - Restart the build from the configure step'
@echo ' <pkg>-rebuild - Restart the build from the build step'
+ @echo ' <pkg>-reinstall - Restart the build from the install step'
$(foreach p,$(HELP_PACKAGES), \
@echo $(sep) \
@echo '$($(p)_NAME):' $(sep) \
@@ -1163,6 +1175,7 @@ help:
@echo ' legal-info - generate info about license compliance'
@echo ' show-info - generate info about packages, as a JSON blurb'
@echo ' pkg-stats - generate info about packages as JSON and HTML'
+ @echo ' missing-cpe - generate XML snippets for missing CPE identifiers'
@echo ' printvars - dump internal variables selected with VARS=...'
@echo
@echo ' make V=0|1 - 0 => quiet build (default), 1 => verbose build'
diff --git a/README b/README
index c6172524d7..008e996f5f 100644
--- a/README
+++ b/README
@@ -20,7 +20,7 @@ Buildroot comes with a basic configuration for a number of boards. Run
Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
-You can also find us on #buildroot on Freenode IRC.
+You can also find us on #buildroot on OFTC IRC.
If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches
diff --git a/arch/Config.in b/arch/Config.in
index 155403c363..1853e26bb4 100644
--- a/arch/Config.in
+++ b/arch/Config.in
@@ -321,6 +321,10 @@ config BR2_ARCH_NEEDS_GCC_AT_LEAST_10
bool
select BR2_ARCH_NEEDS_GCC_AT_LEAST_9
+config BR2_ARCH_NEEDS_GCC_AT_LEAST_11
+ bool
+ select BR2_ARCH_NEEDS_GCC_AT_LEAST_10
+
# The following string values are defined by the individual
# Config.in.$ARCH files
config BR2_ARCH
diff --git a/board/atmel/readme.txt b/board/atmel/readme.txt
index 1f21dd15e4..a29d027214 100644
--- a/board/atmel/readme.txt
+++ b/board/atmel/readme.txt
@@ -23,6 +23,8 @@ This guide covers the following configurations:
- microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig
- microchip_sam9x60ek_mmc_defconfig
- microchip_sam9x60ek_mmc_dev_defconfig
+ - microchip_sama5d2_icp_mmc_defconfig
+ - microchip_sama5d2_icp_mmc_dev_defconfig
These configurations will use AT91Bootstrap, u-boot and a linux kernel from
the git trees maintained by Atmel.
diff --git a/board/beaglev/extlinux.conf b/board/beaglev/extlinux.conf
index c5444d094c..9daf6a7581 100644
--- a/board/beaglev/extlinux.conf
+++ b/board/beaglev/extlinux.conf
@@ -1,4 +1,4 @@
label linux
kernel /boot/Image
- devicetree /boot/starfive_vic7100_beagle_v.dtb
+ devicetree /boot/jh7100-beaglev-starlight.dtb
append console=ttyS0,115200 earlyprintk root=PARTUUID=0fef845a-c6e1-45bc-82f7-002fa720f958 rootwait
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
deleted file mode 100644
index 74d70f2721..0000000000
--- a/board/beaglev/patches/uboot/0001-include-configs-starfive-vic7100-adjust-fdt_addr_r.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-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
index b19b9bf6d0..fe61fd33cc 100755
--- a/board/beaglev/post-build.sh
+++ b/board/beaglev/post-build.sh
@@ -1,12 +1,6 @@
#!/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
diff --git a/board/beaglev/readme.txt b/board/beaglev/readme.txt
index bbdb9b12ef..60678059e1 100644
--- a/board/beaglev/readme.txt
+++ b/board/beaglev/readme.txt
@@ -119,4 +119,6 @@ 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.
+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/chromebook/elm/linux.config b/board/chromebook/elm/linux.config
index 50402eae8a..895a3b85c3 100644
--- a/board/chromebook/elm/linux.config
+++ b/board/chromebook/elm/linux.config
@@ -30,7 +30,6 @@ CONFIG_SCHED_MC=y
CONFIG_SCHED_SMT=y
CONFIG_NR_CPUS=4
CONFIG_NUMA=y
-CONFIG_SECCOMP=y
CONFIG_PARAVIRT=y
CONFIG_CRASH_DUMP=y
CONFIG_COMPAT=y
@@ -46,6 +45,7 @@ CONFIG_ARM_CPUIDLE=y
CONFIG_ARM_PSCI_CPUIDLE=y
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_STAT=y
+CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
@@ -96,7 +96,6 @@ CONFIG_MTD_SST25L=y
CONFIG_MTD_RAW_NAND=y
CONFIG_MTD_NAND_DENALI_DT=y
CONFIG_MTD_SPI_NOR=y
-CONFIG_SPI_CADENCE_QUADSPI=y
CONFIG_OF_OVERLAY=y
# CONFIG_BLK_DEV is not set
CONFIG_SRAM=y
@@ -116,12 +115,39 @@ CONFIG_DM_MIRROR=m
CONFIG_DM_ZERO=m
CONFIG_NETDEVICES=y
# CONFIG_ETHERNET is not set
-CONFIG_USB_RTL8152=y
-CONFIG_USB_USBNET=y
-# CONFIG_USB_NET_AX88179_178A is not set
-# CONFIG_USB_NET_NET1080 is not set
-# CONFIG_USB_NET_CDC_SUBSET is not set
-# CONFIG_USB_NET_ZAURUS is not set
+CONFIG_PHYLIB=y
+CONFIG_USB_CATC=m
+CONFIG_USB_KAWETH=m
+CONFIG_USB_PEGASUS=m
+CONFIG_USB_RTL8150=m
+CONFIG_USB_RTL8152=m
+CONFIG_USB_LAN78XX=m
+CONFIG_USB_USBNET=m
+CONFIG_USB_NET_CDC_EEM=m
+CONFIG_USB_NET_HUAWEI_CDC_NCM=m
+CONFIG_USB_NET_CDC_MBIM=m
+CONFIG_USB_NET_DM9601=m
+CONFIG_USB_NET_SR9700=m
+CONFIG_USB_NET_SR9800=m
+CONFIG_USB_NET_SMSC75XX=m
+CONFIG_USB_NET_SMSC95XX=m
+CONFIG_USB_NET_GL620A=m
+CONFIG_USB_NET_PLUSB=m
+CONFIG_USB_NET_MCS7830=m
+CONFIG_USB_NET_RNDIS_HOST=m
+CONFIG_USB_ALI_M5632=y
+CONFIG_USB_AN2720=y
+CONFIG_USB_EPSON2888=y
+CONFIG_USB_KC2190=y
+CONFIG_USB_NET_CX82310_ETH=m
+CONFIG_USB_NET_KALMIA=m
+CONFIG_USB_NET_QMI_WWAN=m
+CONFIG_USB_NET_INT51X1=m
+CONFIG_USB_IPHETH=m
+CONFIG_USB_SIERRA_NET=m
+CONFIG_USB_VL600=m
+CONFIG_USB_NET_CH9200=m
+CONFIG_USB_NET_AQC111=m
# CONFIG_WLAN_VENDOR_ADMTEK is not set
# CONFIG_WLAN_VENDOR_ATH is not set
# CONFIG_WLAN_VENDOR_ATMEL is not set
@@ -139,7 +165,6 @@ CONFIG_MWIFIEX_SDIO=m
# CONFIG_WLAN_VENDOR_TI is not set
# CONFIG_WLAN_VENDOR_ZYDAS is not set
# CONFIG_WLAN_VENDOR_QUANTENNA is not set
-CONFIG_INPUT_POLLDEV=m
CONFIG_INPUT_EVDEV=y
CONFIG_KEYBOARD_ADC=m
CONFIG_KEYBOARD_GPIO=y
@@ -180,9 +205,9 @@ CONFIG_I2C_DESIGNWARE_PLATFORM=y
CONFIG_I2C_GPIO=m
CONFIG_I2C_MT65XX=y
CONFIG_I2C_RK3X=y
-CONFIG_I2C_CROS_EC_TUNNEL=y
CONFIG_I2C_SLAVE=y
CONFIG_SPI=y
+CONFIG_SPI_CADENCE_QUADSPI=y
CONFIG_SPI_NXP_FLEXSPI=y
CONFIG_SPI_GPIO=y
CONFIG_SPI_MT65XX=y
@@ -201,7 +226,6 @@ CONFIG_GPIO_PCA953X=y
CONFIG_GPIO_PCA953X_IRQ=y
CONFIG_GPIO_BD9571MWV=m
CONFIG_GPIO_MAX77620=y
-CONFIG_POWER_AVS=y
CONFIG_POWER_RESET_BRCMSTB=y
CONFIG_POWER_RESET_XGENE=y
CONFIG_POWER_RESET_SYSCON=y
@@ -345,7 +369,6 @@ CONFIG_RTC_DRV_RX8581=m
CONFIG_RTC_DRV_S5M=y
CONFIG_RTC_DRV_DS3232=y
CONFIG_RTC_DRV_PCF2127=m
-CONFIG_RTC_DRV_CROS_EC=y
CONFIG_RTC_DRV_PL031=y
CONFIG_DMADEVICES=y
CONFIG_FSL_EDMA=y
@@ -355,14 +378,14 @@ CONFIG_MTK_CQDMA=y
CONFIG_QCOM_HIDMA_MGMT=y
CONFIG_QCOM_HIDMA=y
# CONFIG_VIRTIO_MENU is not set
-CONFIG_MFD_CROS_EC=y
+CONFIG_CHROME_PLATFORMS=y
+CONFIG_CROS_EC=y
CONFIG_CROS_EC_I2C=y
CONFIG_CROS_EC_SPI=y
CONFIG_COMMON_CLK_RK808=y
CONFIG_COMMON_CLK_SCPI=y
CONFIG_COMMON_CLK_CS2000_CP=y
CONFIG_COMMON_CLK_S2MPS11=y
-CONFIG_CLK_QORIQ=y
CONFIG_COMMON_CLK_XGENE=y
CONFIG_COMMON_CLK_PWM=y
CONFIG_COMMON_CLK_VC5=y
@@ -380,17 +403,11 @@ CONFIG_REMOTEPROC=y
CONFIG_MTK_CMDQ=y
CONFIG_MTK_PMIC_WRAP=y
CONFIG_EXTCON_USB_GPIO=y
-CONFIG_EXTCON_USBC_CROS_EC=y
CONFIG_IIO=y
CONFIG_MAX9611=m
-CONFIG_IIO_CROS_EC_SENSORS_CORE=m
-CONFIG_IIO_CROS_EC_SENSORS=m
-CONFIG_IIO_CROS_EC_LIGHT_PROX=m
CONFIG_SENSORS_ISL29018=m
-CONFIG_IIO_CROS_EC_BARO=m
CONFIG_MPL3115=m
CONFIG_PWM=y
-CONFIG_PWM_CROS_EC=m
CONFIG_PWM_MTK_DISP=y
CONFIG_PWM_MEDIATEK=y
CONFIG_PHY_XGENE=y
@@ -417,6 +434,13 @@ CONFIG_TMPFS_POSIX_ACL=y
CONFIG_HUGETLBFS=y
CONFIG_CONFIGFS_FS=y
CONFIG_PSTORE=y
+CONFIG_NFS_FS=m
+CONFIG_NFS_V3_ACL=y
+CONFIG_NFS_V4=m
+CONFIG_NFS_SWAP=y
+CONFIG_CIFS=m
+CONFIG_CIFS_STATS2=y
+CONFIG_CIFS_WEAK_PW_HASH=y
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_ISO8859_1=y
CONFIG_SECURITY=y
@@ -450,4 +474,4 @@ CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_PREEMPT is not set
CONFIG_STACKTRACE=y
# CONFIG_FTRACE is not set
-# CONFIG_STRICT_DEVMEM is not set \ No newline at end of file
+# CONFIG_STRICT_DEVMEM is not set
diff --git a/board/chromebook/elm/patches/linux/0001-drm-bridge_connector-Set-default-status-connected-fo.patch b/board/chromebook/elm/patches/linux/0001-drm-bridge_connector-Set-default-status-connected-fo.patch
deleted file mode 100644
index f037391897..0000000000
--- a/board/chromebook/elm/patches/linux/0001-drm-bridge_connector-Set-default-status-connected-fo.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 510d0ad0ce1b51c072309ba12dfb024fc2c3dbac Mon Sep 17 00:00:00 2001
-From: Enric Balletbo i Serra <enric.balletbo@collabora.com>
-Date: Wed, 26 Aug 2020 10:15:22 +0200
-Subject: [PATCH 1/5] drm/bridge_connector: Set default status connected for
- eDP connectors
-
-In an eDP application, HPD is not required and on most bridge chips
-useless. If HPD is not used, we need to set initial status as connected,
-otherwise the connector created by the drm_bridge_connector API remains
-in an unknown state.
-
-Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-Acked-by: Sam Ravnborg <sam@ravnborg.org>
-Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
-Reviewed-by: Bilal Wasim <bwasim.lkml@gmail.com>
-Tested-by: Bilal Wasim <bwasim.lkml@gmail.com>
----
- drivers/gpu/drm/drm_bridge_connector.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/drivers/gpu/drm/drm_bridge_connector.c b/drivers/gpu/drm/drm_bridge_connector.c
-index c6994fe673f3..a58cbde59c34 100644
---- a/drivers/gpu/drm/drm_bridge_connector.c
-+++ b/drivers/gpu/drm/drm_bridge_connector.c
-@@ -187,6 +187,7 @@ drm_bridge_connector_detect(struct drm_connector *connector, bool force)
- case DRM_MODE_CONNECTOR_DPI:
- case DRM_MODE_CONNECTOR_LVDS:
- case DRM_MODE_CONNECTOR_DSI:
-+ case DRM_MODE_CONNECTOR_eDP:
- status = connector_status_connected;
- break;
- default:
---
-2.25.1
-
diff --git a/board/chromebook/elm/patches/linux/0002-drm-bridge-ps8640-Get-the-EDID-from-eDP-control.patch b/board/chromebook/elm/patches/linux/0002-drm-bridge-ps8640-Get-the-EDID-from-eDP-control.patch
deleted file mode 100644
index 5f7517c7b9..0000000000
--- a/board/chromebook/elm/patches/linux/0002-drm-bridge-ps8640-Get-the-EDID-from-eDP-control.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From cc0f2fea61fb34ca84e4812a615e0035d812aa8b Mon Sep 17 00:00:00 2001
-From: Enric Balletbo i Serra <enric.balletbo@collabora.com>
-Date: Wed, 26 Aug 2020 10:15:23 +0200
-Subject: [PATCH 2/5] drm/bridge: ps8640: Get the EDID from eDP control
-
-The PS8640 DSI-to-eDP bridge can retrieve the EDID, so implement the
-.get_edid callback and set the flag to indicate the core to use it.
-
-Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-Acked-by: Sam Ravnborg <sam@ravnborg.org>
-Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
----
- drivers/gpu/drm/bridge/parade-ps8640.c | 12 ++++++++++++
- 1 file changed, 12 insertions(+)
-
-diff --git a/drivers/gpu/drm/bridge/parade-ps8640.c b/drivers/gpu/drm/bridge/parade-ps8640.c
-index 4b099196afeb..13755d278db6 100644
---- a/drivers/gpu/drm/bridge/parade-ps8640.c
-+++ b/drivers/gpu/drm/bridge/parade-ps8640.c
-@@ -242,8 +242,18 @@ static int ps8640_bridge_attach(struct drm_bridge *bridge,
- return ret;
- }
-
-+static struct edid *ps8640_bridge_get_edid(struct drm_bridge *bridge,
-+ struct drm_connector *connector)
-+{
-+ struct ps8640 *ps_bridge = bridge_to_ps8640(bridge);
-+
-+ return drm_get_edid(connector,
-+ ps_bridge->page[PAGE0_DP_CNTL]->adapter);
-+}
-+
- static const struct drm_bridge_funcs ps8640_bridge_funcs = {
- .attach = ps8640_bridge_attach,
-+ .get_edid = ps8640_bridge_get_edid,
- .post_disable = ps8640_post_disable,
- .pre_enable = ps8640_pre_enable,
- };
-@@ -294,6 +304,8 @@ static int ps8640_probe(struct i2c_client *client)
-
- ps_bridge->bridge.funcs = &ps8640_bridge_funcs;
- ps_bridge->bridge.of_node = dev->of_node;
-+ ps_bridge->bridge.ops = DRM_BRIDGE_OP_EDID;
-+ ps_bridge->bridge.type = DRM_MODE_CONNECTOR_eDP;
-
- ps_bridge->page[PAGE0_DP_CNTL] = client;
-
---
-2.25.1
-
diff --git a/board/chromebook/elm/patches/linux/0003-drm-bridge-ps8640-Return-an-error-for-incorrect-atta.patch b/board/chromebook/elm/patches/linux/0003-drm-bridge-ps8640-Return-an-error-for-incorrect-atta.patch
deleted file mode 100644
index 5f52c45424..0000000000
--- a/board/chromebook/elm/patches/linux/0003-drm-bridge-ps8640-Return-an-error-for-incorrect-atta.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 62afc499fc46c8018f40733c31a675b28f0717d8 Mon Sep 17 00:00:00 2001
-From: Enric Balletbo i Serra <enric.balletbo@collabora.com>
-Date: Wed, 26 Aug 2020 10:15:24 +0200
-Subject: [PATCH 3/5] drm/bridge: ps8640: Return an error for incorrect attach
- flags
-
-Bridge drivers that implement the new model only shall return an error
-from their attach() handler when the DRM_BRIDGE_ATTACH_NO_CONNECTOR flag
-is not set. So make sure we return an error because only the new
-drm_bridge model is supported.
-
-Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
-Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
----
- drivers/gpu/drm/bridge/parade-ps8640.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/drivers/gpu/drm/bridge/parade-ps8640.c b/drivers/gpu/drm/bridge/parade-ps8640.c
-index 13755d278db6..ce3e8b2da8c9 100644
---- a/drivers/gpu/drm/bridge/parade-ps8640.c
-+++ b/drivers/gpu/drm/bridge/parade-ps8640.c
-@@ -200,6 +200,10 @@ static int ps8640_bridge_attach(struct drm_bridge *bridge,
- .channel = 0,
- .node = NULL,
- };
-+
-+ if (!(flags & DRM_BRIDGE_ATTACH_NO_CONNECTOR))
-+ return -EINVAL;
-+
- /* port@0 is ps8640 dsi input port */
- in_ep = of_graph_get_endpoint_by_regs(dev->of_node, 0, -1);
- if (!in_ep)
---
-2.25.1
-
diff --git a/board/chromebook/elm/patches/linux/0004-drm-bridge-ps8640-Print-an-error-if-VDO-control-fail.patch b/board/chromebook/elm/patches/linux/0004-drm-bridge-ps8640-Print-an-error-if-VDO-control-fail.patch
deleted file mode 100644
index 4ef074a6c8..0000000000
--- a/board/chromebook/elm/patches/linux/0004-drm-bridge-ps8640-Print-an-error-if-VDO-control-fail.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-From 4897262a71cbf55d726d9174f5f646897dc13704 Mon Sep 17 00:00:00 2001
-From: Enric Balletbo i Serra <enric.balletbo@collabora.com>
-Date: Wed, 26 Aug 2020 10:15:25 +0200
-Subject: [PATCH 4/5] drm/bridge: ps8640: Print an error if VDO control fails
-
-Print an error message inside ps8640_bridge_vdo_control() function when
-it fails so we can simplify a bit the callers, they will only need to
-check the error code.
-
-Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
-Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
----
- drivers/gpu/drm/bridge/parade-ps8640.c | 13 ++++++-------
- 1 file changed, 6 insertions(+), 7 deletions(-)
-
-diff --git a/drivers/gpu/drm/bridge/parade-ps8640.c b/drivers/gpu/drm/bridge/parade-ps8640.c
-index ce3e8b2da8c9..9f7b7a9c53c5 100644
---- a/drivers/gpu/drm/bridge/parade-ps8640.c
-+++ b/drivers/gpu/drm/bridge/parade-ps8640.c
-@@ -82,8 +82,11 @@ static int ps8640_bridge_vdo_control(struct ps8640 *ps_bridge,
- ret = i2c_smbus_write_i2c_block_data(client, PAGE3_SET_ADD,
- sizeof(vdo_ctrl_buf),
- vdo_ctrl_buf);
-- if (ret < 0)
-+ if (ret < 0) {
-+ DRM_ERROR("failed to %sable VDO: %d\n",
-+ ctrl == ENABLE ? "en" : "dis", ret);
- return ret;
-+ }
-
- return 0;
- }
-@@ -150,10 +153,8 @@ static void ps8640_pre_enable(struct drm_bridge *bridge)
- }
-
- ret = ps8640_bridge_vdo_control(ps_bridge, ENABLE);
-- if (ret) {
-- DRM_ERROR("failed to enable VDO: %d\n", ret);
-+ if (ret)
- goto err_regulators_disable;
-- }
-
- /* Switch access edp panel's edid through i2c */
- ret = i2c_smbus_write_byte_data(client, PAGE2_I2C_BYPASS,
-@@ -175,9 +176,7 @@ static void ps8640_post_disable(struct drm_bridge *bridge)
- struct ps8640 *ps_bridge = bridge_to_ps8640(bridge);
- int ret;
-
-- ret = ps8640_bridge_vdo_control(ps_bridge, DISABLE);
-- if (ret < 0)
-- DRM_ERROR("failed to disable VDO: %d\n", ret);
-+ ps8640_bridge_vdo_control(ps_bridge, DISABLE);
-
- gpiod_set_value(ps_bridge->gpio_reset, 1);
- gpiod_set_value(ps_bridge->gpio_powerdown, 1);
---
-2.25.1
-
diff --git a/board/chromebook/elm/patches/linux/0005-drm-bridge-ps8640-Rework-power-state-handling.patch b/board/chromebook/elm/patches/linux/0005-drm-bridge-ps8640-Rework-power-state-handling.patch
deleted file mode 100644
index f682600d11..0000000000
--- a/board/chromebook/elm/patches/linux/0005-drm-bridge-ps8640-Rework-power-state-handling.patch
+++ /dev/null
@@ -1,162 +0,0 @@
-From 5bb60fe7c748a0aae2bdbab10e73b2dc48c09dda Mon Sep 17 00:00:00 2001
-From: Enric Balletbo i Serra <enric.balletbo@collabora.com>
-Date: Wed, 26 Aug 2020 10:15:26 +0200
-Subject: [PATCH 5/5] drm/bridge: ps8640: Rework power state handling
-
-The get_edid() callback can be triggered anytime by an ioctl, i.e
-
- drm_mode_getconnector (ioctl)
- -> drm_helper_probe_single_connector_modes
- -> drm_bridge_connector_get_modes
- -> ps8640_bridge_get_edid
-
-Actually if the bridge pre_enable() function was not called before
-get_edid(), the driver will not be able to get the EDID properly and
-display will not work until a second get_edid() call is issued and if
-pre_enable() is called before. The side effect of this, for example, is
-that you see anything when `Frecon` starts, neither the splash screen,
-until the graphical session manager starts.
-
-To fix this we need to make sure that all we need is enabled before
-reading the EDID. This means the following:
-
-1. If get_edid() is called before having the device powered we need to
- power on the device. In such case, the driver will power off again the
- device.
-
-2. If get_edid() is called after having the device powered, all should
- just work. We added a powered flag in order to avoid recurrent calls
- to ps8640_bridge_poweron() and unneeded delays.
-
-3. This seems to be specific for this device, but we need to make sure
- the panel is powered on before do a power on cycle on this device.
- Otherwise the device fails to retrieve the EDID.
-
-Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
----
- drivers/gpu/drm/bridge/parade-ps8640.c | 64 +++++++++++++++++++++++---
- 1 file changed, 58 insertions(+), 6 deletions(-)
-
-diff --git a/drivers/gpu/drm/bridge/parade-ps8640.c b/drivers/gpu/drm/bridge/parade-ps8640.c
-index 9f7b7a9c53c5..c5d76e209bda 100644
---- a/drivers/gpu/drm/bridge/parade-ps8640.c
-+++ b/drivers/gpu/drm/bridge/parade-ps8640.c
-@@ -65,6 +65,7 @@ struct ps8640 {
- struct regulator_bulk_data supplies[2];
- struct gpio_desc *gpio_reset;
- struct gpio_desc *gpio_powerdown;
-+ bool powered;
- };
-
- static inline struct ps8640 *bridge_to_ps8640(struct drm_bridge *e)
-@@ -91,13 +92,15 @@ static int ps8640_bridge_vdo_control(struct ps8640 *ps_bridge,
- return 0;
- }
-
--static void ps8640_pre_enable(struct drm_bridge *bridge)
-+static void ps8640_bridge_poweron(struct ps8640 *ps_bridge)
- {
-- struct ps8640 *ps_bridge = bridge_to_ps8640(bridge);
- struct i2c_client *client = ps_bridge->page[PAGE2_TOP_CNTL];
- unsigned long timeout;
- int ret, status;
-
-+ if (ps_bridge->powered)
-+ return;
-+
- ret = regulator_bulk_enable(ARRAY_SIZE(ps_bridge->supplies),
- ps_bridge->supplies);
- if (ret < 0) {
-@@ -164,6 +167,8 @@ static void ps8640_pre_enable(struct drm_bridge *bridge)
- goto err_regulators_disable;
- }
-
-+ ps_bridge->powered = true;
-+
- return;
-
- err_regulators_disable:
-@@ -171,12 +176,12 @@ static void ps8640_pre_enable(struct drm_bridge *bridge)
- ps_bridge->supplies);
- }
-
--static void ps8640_post_disable(struct drm_bridge *bridge)
-+static void ps8640_bridge_poweroff(struct ps8640 *ps_bridge)
- {
-- struct ps8640 *ps_bridge = bridge_to_ps8640(bridge);
- int ret;
-
-- ps8640_bridge_vdo_control(ps_bridge, DISABLE);
-+ if (!ps_bridge->powered)
-+ return;
-
- gpiod_set_value(ps_bridge->gpio_reset, 1);
- gpiod_set_value(ps_bridge->gpio_powerdown, 1);
-@@ -184,6 +189,28 @@ static void ps8640_post_disable(struct drm_bridge *bridge)
- ps_bridge->supplies);
- if (ret < 0)
- DRM_ERROR("cannot disable regulators %d\n", ret);
-+
-+ ps_bridge->powered = false;
-+}
-+
-+static void ps8640_pre_enable(struct drm_bridge *bridge)
-+{
-+ struct ps8640 *ps_bridge = bridge_to_ps8640(bridge);
-+ int ret;
-+
-+ ps8640_bridge_poweron(ps_bridge);
-+
-+ ret = ps8640_bridge_vdo_control(ps_bridge, DISABLE);
-+ if (ret < 0)
-+ ps8640_bridge_poweroff(ps_bridge);
-+}
-+
-+static void ps8640_post_disable(struct drm_bridge *bridge)
-+{
-+ struct ps8640 *ps_bridge = bridge_to_ps8640(bridge);
-+
-+ ps8640_bridge_vdo_control(ps_bridge, DISABLE);
-+ ps8640_bridge_poweroff(ps_bridge);
- }
-
- static int ps8640_bridge_attach(struct drm_bridge *bridge,
-@@ -249,9 +276,34 @@ static struct edid *ps8640_bridge_get_edid(struct drm_bridge *bridge,
- struct drm_connector *connector)
- {
- struct ps8640 *ps_bridge = bridge_to_ps8640(bridge);
-+ bool poweroff = !ps_bridge->powered;
-+ struct edid *edid;
-+
-+ /*
-+ * When we end calling get_edid() triggered by an ioctl, i.e
-+ *
-+ * drm_mode_getconnector (ioctl)
-+ * -> drm_helper_probe_single_connector_modes
-+ * -> drm_bridge_connector_get_modes
-+ * -> ps8640_bridge_get_edid
-+ *
-+ * We need to make sure that what we need is enabled before reading
-+ * EDID, for this chip, we need to do a full poweron, otherwise it will
-+ * fail.
-+ */
-+ drm_bridge_chain_pre_enable(bridge);
-
-- return drm_get_edid(connector,
-+ edid = drm_get_edid(connector,
- ps_bridge->page[PAGE0_DP_CNTL]->adapter);
-+
-+ /*
-+ * If we call the get_edid() function without having enabled the chip
-+ * before, return the chip to its original power state.
-+ */
-+ if (poweroff)
-+ drm_bridge_chain_post_disable(bridge);
-+
-+ return edid;
- }
-
- static const struct drm_bridge_funcs ps8640_bridge_funcs = {
---
-2.25.1
-
diff --git a/board/chromebook/elm/patches/linux/0006-Revert-drm-mediatek-dsi-Fix-scrolling-of-panel-with-.patch b/board/chromebook/elm/patches/linux/0006-Revert-drm-mediatek-dsi-Fix-scrolling-of-panel-with-.patch
deleted file mode 100644
index 43bffe5261..0000000000
--- a/board/chromebook/elm/patches/linux/0006-Revert-drm-mediatek-dsi-Fix-scrolling-of-panel-with-.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 51109530891c981b681816152bd205724deabcca Mon Sep 17 00:00:00 2001
-From: Jitao Shi <jitao.shi@mediatek.com>
-Date: Sat, 10 Oct 2020 15:09:09 +0800
-Subject: [PATCH] Revert "drm/mediatek: dsi: Fix scrolling of panel with small
- hfp or hbp"
-
-This reverts commit 35bf948f1edbf507f6e57e0879fa6ea36d2d2930.
-
-Signed-off-by: Jitao Shi <jitao.shi@mediatek.com>
-Reviewed-by: Bilal Wasim <bilal.wasim@imgtec.com>
-Tested-by: Bilal Wasim <bilal.wasim@imgtec.com>
----
- drivers/gpu/drm/mediatek/mtk_dsi.c | 9 +++++----
- 1 file changed, 5 insertions(+), 4 deletions(-)
-
-diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c b/drivers/gpu/drm/mediatek/mtk_dsi.c
-index 80b7a082e874..16fd99dcdacf 100644
---- a/drivers/gpu/drm/mediatek/mtk_dsi.c
-+++ b/drivers/gpu/drm/mediatek/mtk_dsi.c
-@@ -466,13 +466,14 @@ static void mtk_dsi_config_vdo_timing(struct mtk_dsi *dsi)
- horizontal_sync_active_byte = (vm->hsync_len * dsi_tmp_buf_bpp - 10);
-
- if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE)
-- horizontal_backporch_byte = vm->hback_porch * dsi_tmp_buf_bpp;
-+ horizontal_backporch_byte =
-+ (vm->hback_porch * dsi_tmp_buf_bpp - 10);
- else
-- horizontal_backporch_byte = (vm->hback_porch + vm->hsync_len) *
-- dsi_tmp_buf_bpp;
-+ horizontal_backporch_byte = ((vm->hback_porch + vm->hsync_len) *
-+ dsi_tmp_buf_bpp - 10);
-
- data_phy_cycles = timing->lpx + timing->da_hs_prepare +
-- timing->da_hs_zero + timing->da_hs_exit;
-+ timing->da_hs_zero + timing->da_hs_exit + 3;
-
- if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) {
- if ((vm->hfront_porch + vm->hback_porch) * dsi_tmp_buf_bpp >
---
-2.25.1
-
diff --git a/board/freescale/common/imx/genimage.cfg.template_no_boot_part b/board/freescale/common/imx/genimage.cfg.template_no_boot_part
new file mode 100644
index 0000000000..edc34d0fcd
--- /dev/null
+++ b/board/freescale/common/imx/genimage.cfg.template_no_boot_part
@@ -0,0 +1,15 @@
+image sdcard.img {
+ hdimage {
+ }
+
+ partition u-boot {
+ in-partition-table = "no"
+ image = "%UBOOTBIN%"
+ offset = 1024
+ }
+
+ partition rootfs {
+ partition-type = 0x83
+ image = "rootfs.ext2"
+ }
+}
diff --git a/board/freescale/common/imx/post-image.sh b/board/freescale/common/imx/post-image.sh
index 0c2ef53dc6..3bb482debd 100755
--- a/board/freescale/common/imx/post-image.sh
+++ b/board/freescale/common/imx/post-image.sh
@@ -47,6 +47,8 @@ genimage_type()
elif grep -Eq "^BR2_LINUX_KERNEL_INSTALL_TARGET=y$" ${BR2_CONFIG}; then
if grep -Eq "^BR2_TARGET_UBOOT_SPL=y$" ${BR2_CONFIG}; then
echo "genimage.cfg.template_no_boot_part_spl"
+ else
+ echo "genimage.cfg.template_no_boot_part"
fi
elif grep -Eq "^BR2_TARGET_UBOOT_SPL=y$" ${BR2_CONFIG}; then
echo "genimage.cfg.template_spl"
diff --git a/board/freescale/imx7dsdb/rootfs_overlay/boot/extlinux/extlinux.conf b/board/freescale/imx7dsdb/rootfs_overlay/boot/extlinux/extlinux.conf
new file mode 100644
index 0000000000..d538b5d643
--- /dev/null
+++ b/board/freescale/imx7dsdb/rootfs_overlay/boot/extlinux/extlinux.conf
@@ -0,0 +1,4 @@
+Label imx7d-sabresd-buildroot
+ kernel /boot/zImage
+ devicetree /boot/imx7d-sdb.dtb
+ append root=PARTUUID=${uuid} rootwait rw console=${console},${baudrate}
diff --git a/board/kontron/pitx-imx8m/boot.cmd b/board/kontron/pitx-imx8m/boot.cmd
new file mode 100644
index 0000000000..4d89235392
--- /dev/null
+++ b/board/kontron/pitx-imx8m/boot.cmd
@@ -0,0 +1,8 @@
+echo "Root File Sytem on MMC${devnum}"
+setenv rootfs /dev/mmcblk${devnum}p1
+setenv bootargs root=${rootfs} rootwait rw ${extrabootargs}
+
+load ${devtype} ${devnum} ${kernel_addr_r} boot/Image
+load ${devtype} ${devnum} ${fdt_addr_r} boot/imx8mq-kontron-pitx-imx8m.dtb
+
+booti ${kernel_addr_r} - ${fdt_addr_r}
diff --git a/board/kontron/pitx-imx8m/genimage.cfg b/board/kontron/pitx-imx8m/genimage.cfg
new file mode 100644
index 0000000000..c335b0c026
--- /dev/null
+++ b/board/kontron/pitx-imx8m/genimage.cfg
@@ -0,0 +1,16 @@
+image sdcard.img {
+ hdimage {
+ }
+
+ partition imx-boot {
+ in-partition-table = "no"
+ image = "imx8-boot-sd.bin"
+ offset = 33k
+ }
+
+ partition rootfs {
+ partition-type = 0x83
+ image = "rootfs.ext4"
+ offset = 8M
+ }
+}
diff --git a/board/olimex/a20_olinuxino/post-build.sh b/board/kontron/pitx-imx8m/post-build.sh
index d3f612f811..4574221fe5 100755
--- a/board/olimex/a20_olinuxino/post-build.sh
+++ b/board/kontron/pitx-imx8m/post-build.sh
@@ -1,3 +1,4 @@
#!/bin/sh
+mkdir -p $TARGET_DIR/boot/
cp $BINARIES_DIR/boot.scr $TARGET_DIR/boot/boot.scr
diff --git a/board/kontron/pitx-imx8m/post-image.sh b/board/kontron/pitx-imx8m/post-image.sh
new file mode 100755
index 0000000000..564211c829
--- /dev/null
+++ b/board/kontron/pitx-imx8m/post-image.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+support/scripts/genimage.sh -c $(dirname $0)/genimage.cfg
diff --git a/board/kontron/pitx-imx8m/readme.txt b/board/kontron/pitx-imx8m/readme.txt
new file mode 100644
index 0000000000..7c85dd4377
--- /dev/null
+++ b/board/kontron/pitx-imx8m/readme.txt
@@ -0,0 +1,74 @@
+Kontron pitx-imx8m
+==================
+
+https://www.kontron.com/produkte/pitx-imx8m/p155258
+
+
+How to build it
+===============
+
+Configure buildroot:
+
+ $ make kontron_pitx_imx8m_defconfig
+
+Change settings to fit your needs (optional):
+
+ $ make menuconfig
+
+Compile everything and buildr the rootfs image:
+
+ $ make
+
+
+Result of the build
+===================
+
+After building, the output/images directory contains:
+
+ output/images/
+ ├── bl31.bin
+ ├── boot.scr
+ ├── ddr_fw.bin
+ ├── Image
+ ├── imx8-boot-sd.bin
+ ├── imx8mq-kontron-pitx-imx8m.dtb
+ ├── lpddr4_pmu_train_fw.bin
+ ├── rootfs.ext2
+ ├── rootfs.ext4 -> rootfs.ext2
+ ├── rootfs.tar
+ ├── sdcard.img
+ ├── signed_hdmi_imx8m.bin
+ ├── u-boot.bin
+ ├── u-boot.itb
+ ├── u-boot-nodtb.bin
+ ├── u-boot-spl.bin
+ └── u-boot-spl-ddr.bin
+
+
+Flashing the SD card image
+==========================
+
+To install the image on a SDCard simply copy sdcard.img to the storage (e.g. SD, eMMC)
+
+ $ sudo dd if=output/images/sdcard.img of=<your-sd-device>
+
+
+Preparing the board
+===================
+
+ * Connect a serial line to the board
+ * Insert the SD card
+ * Make sure the boot source selection DIP switches are set correctly
+ * SW1 1-4 OFF
+ * SW1 2-3 OFF
+ * Power-up the board
+
+
+Booting the board
+=================
+
+By default the bootloader will search for the first valid image, starting
+with the internal eMMC. To make sure the bootloader loads bootscript from
+the correct location (SD card) set the boot_targets environment variable:
+
+ $ setenv boot_targets mmc1
diff --git a/board/microchip/sama5d2_icp/genimage.cfg b/board/microchip/sama5d2_icp/genimage.cfg
new file mode 100644
index 0000000000..854751713f
--- /dev/null
+++ b/board/microchip/sama5d2_icp/genimage.cfg
@@ -0,0 +1,31 @@
+# Image for SD card boot on Microchip SAMA5D2 ICP (Industrial Connectivity Platform)
+#
+image boot.vfat {
+ vfat {
+ files = {
+ "zImage",
+ "at91-sama5d2_icp.dtb",
+ "boot.bin",
+ "u-boot.bin"
+ }
+ }
+ size = 16M
+}
+
+image sdcard.img {
+ hdimage {
+ }
+
+ partition boot {
+ partition-type = 0xC
+ bootable = "true"
+ image = "boot.vfat"
+ offset = 1M
+ }
+
+ partition rootfs {
+ partition-type = 0x83
+ image = "rootfs.ext4"
+ size = 512M
+ }
+}
diff --git a/board/minnowboard/fs-overlay-graphical/etc/X11/xorg.conf.d/01-modules.conf b/board/minnowboard/fs-overlay-graphical/etc/X11/xorg.conf.d/01-modules.conf
new file mode 100644
index 0000000000..91659baa65
--- /dev/null
+++ b/board/minnowboard/fs-overlay-graphical/etc/X11/xorg.conf.d/01-modules.conf
@@ -0,0 +1,11 @@
+
+# Xorg does not implement real dynamic linking and requires that its
+# modules get loaded in the right order.
+# https://forums.gentoo.org/viewtopic-p-8245578.html#8245578
+Section "Module"
+ Load "vgahw"
+ Load "fb"
+ Load "shadowfb"
+ Load "int10"
+ Load "vbe"
+EndSection
diff --git a/board/olimex/a10_olinuxino/boot.cmd b/board/olimex/a10_olinuxino/boot.cmd
index 612c745500..44d9239a94 120000..100644
--- a/board/olimex/a10_olinuxino/boot.cmd
+++ b/board/olimex/a10_olinuxino/boot.cmd
@@ -1 +1,5 @@
-../a20_olinuxino/boot.cmd \ No newline at end of file
+setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p1 rootwait panic=10 ${extra}
+ext4load mmc 0 0x49000000 /boot/${fdtfile}
+ext4load mmc 0 0x46000000 /boot/zImage
+env set fdt_high ffffffff
+bootz 0x46000000 - 0x49000000
diff --git a/board/olimex/a10_olinuxino/post-build.sh b/board/olimex/a10_olinuxino/post-build.sh
index b346896024..d3f612f811 120000..100755
--- a/board/olimex/a10_olinuxino/post-build.sh
+++ b/board/olimex/a10_olinuxino/post-build.sh
@@ -1 +1,3 @@
-../a20_olinuxino/post-build.sh \ No newline at end of file
+#!/bin/sh
+
+cp $BINARIES_DIR/boot.scr $TARGET_DIR/boot/boot.scr
diff --git a/board/olimex/a20_olinuxino/boot.cmd b/board/olimex/a20_olinuxino/boot.cmd
deleted file mode 100644
index 44d9239a94..0000000000
--- a/board/olimex/a20_olinuxino/boot.cmd
+++ /dev/null
@@ -1,5 +0,0 @@
-setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p1 rootwait panic=10 ${extra}
-ext4load mmc 0 0x49000000 /boot/${fdtfile}
-ext4load mmc 0 0x46000000 /boot/zImage
-env set fdt_high ffffffff
-bootz 0x46000000 - 0x49000000
diff --git a/board/olimex/a20_olinuxino/rootfs_overlay/boot/extlinux/extlinux.conf b/board/olimex/a20_olinuxino/rootfs_overlay/boot/extlinux/extlinux.conf
new file mode 100644
index 0000000000..f754da3623
--- /dev/null
+++ b/board/olimex/a20_olinuxino/rootfs_overlay/boot/extlinux/extlinux.conf
@@ -0,0 +1,4 @@
+label Olinuxino
+ kernel /boot/zImage
+ fdtdir /boot
+ append console=ttyS0,115200 root=/dev/mmcblk0p1 rootwait panic=10 ${extra}
diff --git a/board/orangepi/orangepi-pc-plus/boot.cmd b/board/orangepi/orangepi-pc-plus/boot.cmd
index 0c75c862e0..c91f77942f 100644
--- a/board/orangepi/orangepi-pc-plus/boot.cmd
+++ b/board/orangepi/orangepi-pc-plus/boot.cmd
@@ -1,6 +1,6 @@
setenv fdt_high ffffffff
-setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
+setenv bootargs console=ttyS0,115200 earlyprintk root=PARTLABEL=rootfs rootwait
fatload mmc 0 $kernel_addr_r zImage
fatload mmc 0 $fdt_addr_r sun8i-h3-orangepi-pc-plus.dtb
diff --git a/board/orangepi/orangepi-pc-plus/genimage.cfg b/board/orangepi/orangepi-pc-plus/genimage.cfg
index 9ffa1a21ae..b4fcc827ec 100644
--- a/board/orangepi/orangepi-pc-plus/genimage.cfg
+++ b/board/orangepi/orangepi-pc-plus/genimage.cfg
@@ -13,13 +13,17 @@ image boot.vfat {
image sdcard.img {
hdimage {
+ # for root=PARTLABEL support
+ gpt = true
+ # default GPT location conflicts with bootloaders, move it after
+ gpt-location = 1M
}
partition u-boot {
in-partition-table = "no"
image = "u-boot-sunxi-with-spl.bin"
offset = 8192
- size = 1040384 # 1MB - 8192
+ size = 1056768 # 1MB - 8K + 16K(GPT)
}
partition boot {
@@ -28,6 +32,8 @@ image sdcard.img {
image = "boot.vfat"
}
+ # 'rootfs' will be used as the partition label, used
+ # with root=PARTLABEL=rootfs kernel command line
partition rootfs {
partition-type = 0x83
image = "rootfs.ext4"
diff --git a/board/orangepi/orangepi-zero-plus2/genimage.cfg b/board/orangepi/orangepi-zero-plus2/genimage.cfg
index 98ebf5b475..255acdbecb 100644
--- a/board/orangepi/orangepi-zero-plus2/genimage.cfg
+++ b/board/orangepi/orangepi-zero-plus2/genimage.cfg
@@ -19,15 +19,9 @@ image sdcard.img {
partition spl {
in-partition-table = "no"
- image = "sunxi-spl.bin"
+ image = "u-boot-sunxi-with-spl.bin"
offset = 8192
- }
-
- partition u-boot {
- in-partition-table = "no"
- image = "u-boot.itb"
- offset = 40K
- size = 1024000 # 1MB - 40K + 16K(GPT)
+ size = 1056768 # 1MB - 8K + 16K(GPT)
}
partition boot {
diff --git a/board/qemu/aarch64-sbsa/assemble-flash-images b/board/qemu/aarch64-sbsa/assemble-flash-images
new file mode 100755
index 0000000000..abcc276b0b
--- /dev/null
+++ b/board/qemu/aarch64-sbsa/assemble-flash-images
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+set -e
+
+BOARD_DIR="$(dirname $0)"
+
+cp -f ${BOARD_DIR}/grub.cfg ${BINARIES_DIR}/efi-part/EFI/BOOT/grub.cfg
+
+# The QEMU sbsa machine expects flash devices to be 256M.
+truncate -s 256M ${BINARIES_DIR}/SBSA_FLASH0.fd
+truncate -s 256M ${BINARIES_DIR}/SBSA_FLASH1.fd
diff --git a/board/qemu/aarch64-sbsa/genimage.cfg b/board/qemu/aarch64-sbsa/genimage.cfg
new file mode 100644
index 0000000000..285b308d90
--- /dev/null
+++ b/board/qemu/aarch64-sbsa/genimage.cfg
@@ -0,0 +1,30 @@
+image efi-part.vfat {
+ vfat {
+ file startup.nsh {
+ image = "efi-part/startup.nsh"
+ }
+ file EFI {
+ image = "efi-part/EFI"
+ }
+ file Image {
+ image = "Image"
+ }
+ }
+ size = 32M
+}
+
+image disk.img {
+ hdimage {
+ gpt = true
+ }
+
+ partition boot {
+ partition-type = 0xEF
+ image = "efi-part.vfat"
+ }
+
+ partition root {
+ partition-type = 0x83
+ image = "rootfs.ext2"
+ }
+}
diff --git a/board/qemu/aarch64-sbsa/grub.cfg b/board/qemu/aarch64-sbsa/grub.cfg
new file mode 100644
index 0000000000..cd486caf4c
--- /dev/null
+++ b/board/qemu/aarch64-sbsa/grub.cfg
@@ -0,0 +1,6 @@
+set default="0"
+set timeout="5"
+
+menuentry "Buildroot" {
+ linux /Image root=/dev/sda2 rootwait console=ttyAMA0
+}
diff --git a/board/qemu/aarch64-sbsa/linux.config b/board/qemu/aarch64-sbsa/linux.config
new file mode 100644
index 0000000000..a60cce02ec
--- /dev/null
+++ b/board/qemu/aarch64-sbsa/linux.config
@@ -0,0 +1,68 @@
+CONFIG_SYSVIPC=y
+CONFIG_POSIX_MQUEUE=y
+CONFIG_NO_HZ_IDLE=y
+CONFIG_HIGH_RES_TIMERS=y
+CONFIG_TASKSTATS=y
+CONFIG_SCHED_AUTOGROUP=y
+CONFIG_PROFILING=y
+CONFIG_ARCH_VEXPRESS=y
+CONFIG_COMPAT=y
+CONFIG_FW_CFG_SYSFS=y
+CONFIG_FW_CFG_SYSFS_CMDLINE=y
+CONFIG_ACPI=y
+CONFIG_MODULES=y
+CONFIG_MODULE_UNLOAD=y
+CONFIG_BLK_DEV_BSGLIB=y
+CONFIG_BINFMT_MISC=y
+CONFIG_TRANSPARENT_HUGEPAGE=y
+CONFIG_NET=y
+CONFIG_PACKET=y
+CONFIG_PACKET_DIAG=y
+CONFIG_UNIX=y
+CONFIG_NET_KEY=y
+CONFIG_INET=y
+CONFIG_IP_MULTICAST=y
+CONFIG_IP_ADVANCED_ROUTER=y
+CONFIG_BRIDGE=m
+CONFIG_NET_SCHED=y
+CONFIG_VSOCKETS=y
+CONFIG_PCI=y
+CONFIG_PCI_HOST_GENERIC=y
+CONFIG_DEVTMPFS=y
+CONFIG_DEVTMPFS_MOUNT=y
+CONFIG_VIRTIO_BLK=y
+CONFIG_BLK_DEV_SD=y
+CONFIG_CHR_DEV_SG=y
+CONFIG_SCSI_CONSTANTS=y
+CONFIG_SCSI_LOGGING=y
+CONFIG_SCSI_SCAN_ASYNC=y
+CONFIG_SCSI_VIRTIO=y
+CONFIG_ATA=y
+CONFIG_SATA_AHCI_PLATFORM=y
+CONFIG_NETDEVICES=y
+CONFIG_DUMMY=y
+CONFIG_MACVLAN=y
+CONFIG_VIRTIO_NET=y
+CONFIG_NLMON=y
+CONFIG_SERIAL_AMBA_PL011=y
+CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
+CONFIG_VIRTIO_CONSOLE=y
+CONFIG_HW_RANDOM=y
+CONFIG_HW_RANDOM_VIRTIO=y
+CONFIG_TCG_TPM=y
+CONFIG_TCG_TIS=y
+CONFIG_DRM=y
+CONFIG_DRM_VIRTIO_GPU=y
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_DRV_PL031=y
+CONFIG_VIRTIO_PCI=y
+CONFIG_VIRTIO_MMIO=y
+CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y
+CONFIG_MAILBOX=y
+CONFIG_PL320_MBOX=y
+CONFIG_ARM_SMMU_V3=y
+CONFIG_EXT4_FS=y
+CONFIG_FUSE_FS=y
+CONFIG_VIRTIO_FS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
diff --git a/board/qemu/aarch64-sbsa/readme.txt b/board/qemu/aarch64-sbsa/readme.txt
new file mode 100644
index 0000000000..7935108ef1
--- /dev/null
+++ b/board/qemu/aarch64-sbsa/readme.txt
@@ -0,0 +1,32 @@
+Intro
+=====
+
+The QEMU sbsa-ref machine is primarily meant for firmware development
+and testing according to ARM's SBSA and SBBR standards.
+
+Build
+=====
+
+ $ make qemu_aarch64_sbsa_defconfig
+ $ make
+
+Emulation
+=========
+
+Run the emulation with:
+
+ qemu-system-aarch64 \
+ -M sbsa-ref \
+ -cpu cortex-a53 \
+ -smp 4 \
+ -m 1024 \
+ -nographic \
+ -pflash output/images/SBSA_FLASH0.fd \
+ -pflash output/images/SBSA_FLASH1.fd \
+ -hda output/images/disk.img
+
+Note that if you want to run sbsa-ref emulation with QEMU provided by
+your distro (i.e., not host-qemu by Buildroot) then you may need to
+install the SeaBIOS package for some required drivers. On Debian:
+
+ # apt install seabios
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/board/qemu/sparc64-sun4u/patches/linux/0001-sparc64-avoid-stringop-overread-warning-to-access-Ma.patch b/board/qemu/sparc64-sun4u/patches/linux/0001-sparc64-avoid-stringop-overread-warning-to-access-Ma.patch
new file mode 100644
index 0000000000..c02704696d
--- /dev/null
+++ b/board/qemu/sparc64-sun4u/patches/linux/0001-sparc64-avoid-stringop-overread-warning-to-access-Ma.patch
@@ -0,0 +1,154 @@
+From 82d91965519c20639c24aadd022b2859461562bc Mon Sep 17 00:00:00 2001
+From: Romain Naour <romain.naour@gmail.com>
+Date: Tue, 27 Apr 2021 14:54:28 +0200
+Subject: [PATCH] sparc64: avoid stringop-overread warning to access Machine
+ description datas
+
+gcc-11 warns about what appears to be an out-of-range array access but
+stop the build due to -Werror added to cflags:
+
+arch/sparc/kernel/mdesc.c: In function 'mdesc_node_by_name':
+arch/sparc/kernel/mdesc.c:647:22: error: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread]
+ 647 | if (!strcmp(names + ep[ret].name_offset, name))
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+arch/sparc/kernel/mdesc.c:77:33: note: at offset 16 into source object 'mdesc' of size 16
+ 77 | struct mdesc_hdr mdesc;
+ | ^~~~~
+arch/sparc/kernel/mdesc.c: In function 'mdesc_get_property':
+arch/sparc/kernel/mdesc.c:692:22: error: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread]
+ 692 | if (!strcmp(names + ep->name_offset, name)) {
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+arch/sparc/kernel/mdesc.c:77:33: note: at offset 16 into source object 'mdesc' of size 16
+ 77 | struct mdesc_hdr mdesc;
+ | ^~~~~
+arch/sparc/kernel/mdesc.c: In function 'mdesc_next_arc':
+arch/sparc/kernel/mdesc.c:719:21: error: 'strcmp' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread]
+ 719 | if (strcmp(names + ep->name_offset, arc_type))
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+arch/sparc/kernel/mdesc.c:77:33: note: at offset 16 into source object 'mdesc' of size 16
+ 77 | struct mdesc_hdr mdesc;
+ | ^~~~~
+cc1: all warnings being treated as errors
+
+The issue was initially reported to gcc [1] where it was analized.
+As suggested, change the struct mdesc_elem * accesses from the end
+of mdesc to those from the beginning of the data array.
+
+Update the prototype of node_block(), name_block() and data_block()
+since the code really seems to want to do is to compute the address
+somewhere into the chunk pointed to by hp.
+
+[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100262
+
+Upstream status: Pending
+https://www.spinics.net/lists/sparclinux/msg26385.html
+
+Signed-off-by: Romain Naour <romain.naour@gmail.com>
+---
+ arch/sparc/kernel/mdesc.c | 37 +++++++++++++++++++++----------------
+ 1 file changed, 21 insertions(+), 16 deletions(-)
+
+diff --git a/arch/sparc/kernel/mdesc.c b/arch/sparc/kernel/mdesc.c
+index 8e645ddac58e..3403555aa1e2 100644
+--- a/arch/sparc/kernel/mdesc.c
++++ b/arch/sparc/kernel/mdesc.c
+@@ -75,6 +75,7 @@ struct mdesc_handle {
+ refcount_t refcnt;
+ unsigned int handle_size;
+ struct mdesc_hdr mdesc;
++ char data[];
+ };
+
+ typedef int (*mdesc_node_info_get_f)(struct mdesc_handle *, u64,
+@@ -610,26 +611,30 @@ int mdesc_get_node_info(struct mdesc_handle *hp, u64 node,
+ }
+ EXPORT_SYMBOL(mdesc_get_node_info);
+
+-static struct mdesc_elem *node_block(struct mdesc_hdr *mdesc)
++static struct mdesc_elem *node_block(struct mdesc_handle *hp)
+ {
+- return (struct mdesc_elem *) (mdesc + 1);
++ return (struct mdesc_elem *) hp + offsetof(struct mdesc_handle, data);
+ }
+
+-static void *name_block(struct mdesc_hdr *mdesc)
++static void *name_block(struct mdesc_handle *hp)
+ {
+- return ((void *) node_block(mdesc)) + mdesc->node_sz;
++ struct mdesc_hdr *mdesc = &hp->mdesc;
++
++ return ((void *) node_block(hp)) + mdesc->node_sz;
+ }
+
+-static void *data_block(struct mdesc_hdr *mdesc)
++static void *data_block(struct mdesc_handle *hp)
+ {
+- return ((void *) name_block(mdesc)) + mdesc->name_sz;
++ struct mdesc_hdr *mdesc = &hp->mdesc;
++
++ return ((void *) name_block(hp)) + mdesc->name_sz;
+ }
+
+ u64 mdesc_node_by_name(struct mdesc_handle *hp,
+ u64 from_node, const char *name)
+ {
+- struct mdesc_elem *ep = node_block(&hp->mdesc);
+- const char *names = name_block(&hp->mdesc);
++ struct mdesc_elem *ep = node_block(hp);
++ const char *names = name_block(hp);
+ u64 last_node = hp->mdesc.node_sz / 16;
+ u64 ret;
+
+@@ -657,15 +662,15 @@ EXPORT_SYMBOL(mdesc_node_by_name);
+ const void *mdesc_get_property(struct mdesc_handle *hp, u64 node,
+ const char *name, int *lenp)
+ {
+- const char *names = name_block(&hp->mdesc);
++ const char *names = name_block(hp);
+ u64 last_node = hp->mdesc.node_sz / 16;
+- void *data = data_block(&hp->mdesc);
++ void *data = data_block(hp);
+ struct mdesc_elem *ep;
+
+ if (node == MDESC_NODE_NULL || node >= last_node)
+ return NULL;
+
+- ep = node_block(&hp->mdesc) + node;
++ ep = node_block(hp) + node;
+ ep++;
+ for (; ep->tag != MD_NODE_END; ep++) {
+ void *val = NULL;
+@@ -702,8 +707,8 @@ EXPORT_SYMBOL(mdesc_get_property);
+
+ u64 mdesc_next_arc(struct mdesc_handle *hp, u64 from, const char *arc_type)
+ {
+- struct mdesc_elem *ep, *base = node_block(&hp->mdesc);
+- const char *names = name_block(&hp->mdesc);
++ struct mdesc_elem *ep, *base = node_block(hp);
++ const char *names = name_block(hp);
+ u64 last_node = hp->mdesc.node_sz / 16;
+
+ if (from == MDESC_NODE_NULL || from >= last_node)
+@@ -728,7 +733,7 @@ EXPORT_SYMBOL(mdesc_next_arc);
+
+ u64 mdesc_arc_target(struct mdesc_handle *hp, u64 arc)
+ {
+- struct mdesc_elem *ep, *base = node_block(&hp->mdesc);
++ struct mdesc_elem *ep, *base = node_block(hp);
+
+ ep = base + arc;
+
+@@ -738,8 +743,8 @@ EXPORT_SYMBOL(mdesc_arc_target);
+
+ const char *mdesc_node_name(struct mdesc_handle *hp, u64 node)
+ {
+- struct mdesc_elem *ep, *base = node_block(&hp->mdesc);
+- const char *names = name_block(&hp->mdesc);
++ struct mdesc_elem *ep, *base = node_block(hp);
++ const char *names = name_block(hp);
+ u64 last_node = hp->mdesc.node_sz / 16;
+
+ if (node == MDESC_NODE_NULL || node >= last_node)
+--
+2.30.2
+
diff --git a/board/raspberrypi/genimage-raspberrypicm4io-64.cfg b/board/raspberrypi/genimage-raspberrypicm4io-64.cfg
new file mode 100644
index 0000000000..32a7ca897d
--- /dev/null
+++ b/board/raspberrypi/genimage-raspberrypicm4io-64.cfg
@@ -0,0 +1,30 @@
+image boot.vfat {
+ vfat {
+ files = {
+ "bcm2711-rpi-cm4.dtb",
+ "rpi-firmware/cmdline.txt",
+ "rpi-firmware/config.txt",
+ "rpi-firmware/fixup.dat",
+ "rpi-firmware/start.elf",
+ "rpi-firmware/overlays",
+ "Image"
+ }
+ }
+ size = 32M
+}
+
+image sdcard.img {
+ hdimage {
+ }
+
+ partition boot {
+ partition-type = 0xC
+ bootable = "true"
+ image = "boot.vfat"
+ }
+
+ partition rootfs {
+ partition-type = 0x83
+ image = "rootfs.ext4"
+ }
+}
diff --git a/board/raspberrypi/genimage-raspberrypicm4io.cfg b/board/raspberrypi/genimage-raspberrypicm4io.cfg
new file mode 100644
index 0000000000..5a42bcfbb4
--- /dev/null
+++ b/board/raspberrypi/genimage-raspberrypicm4io.cfg
@@ -0,0 +1,30 @@
+image boot.vfat {
+ vfat {
+ files = {
+ "bcm2711-rpi-cm4.dtb",
+ "rpi-firmware/cmdline.txt",
+ "rpi-firmware/config.txt",
+ "rpi-firmware/fixup.dat",
+ "rpi-firmware/start.elf",
+ "rpi-firmware/overlays",
+ "zImage"
+ }
+ }
+ size = 32M
+}
+
+image sdcard.img {
+ hdimage {
+ }
+
+ partition boot {
+ partition-type = 0xC
+ bootable = "true"
+ image = "boot.vfat"
+ }
+
+ partition rootfs {
+ partition-type = 0x83
+ image = "rootfs.ext4"
+ }
+}
diff --git a/board/raspberrypi/post-image.sh b/board/raspberrypi/post-image.sh
index 9dbd98ef9b..a6728c686e 100755
--- a/board/raspberrypi/post-image.sh
+++ b/board/raspberrypi/post-image.sh
@@ -16,7 +16,7 @@ do
cat << __EOF__ >> "${BINARIES_DIR}/rpi-firmware/config.txt"
# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console
-dtoverlay=miniuart-bt
+dtoverlay=miniuart-bt,krnbt=on
__EOF__
fi
;;
diff --git a/board/raspberrypi/readme.txt b/board/raspberrypi/readme.txt
index 8b3de6d251..62cb248633 100644
--- a/board/raspberrypi/readme.txt
+++ b/board/raspberrypi/readme.txt
@@ -9,6 +9,7 @@ These instructions apply to all models of the Raspberry Pi:
- the model B2 (aka Raspberry Pi 2)
- the model B3 (aka Raspberry Pi 3).
- the model B4 (aka Raspberry Pi 4).
+ - the model CM4 (aka Raspberry Pi Compute Module 4 and IO Board).
How to build it
===============
@@ -35,10 +36,26 @@ For model 3 B and B+:
$ make raspberrypi3_defconfig
+or for model 3 B and B+ (64 bit):
+
+ $ make raspberrypi3_64_defconfig
+
For model 4 B:
$ make raspberrypi4_defconfig
+or for model 4 B (64 bit):
+
+ $ make raspberrypi4_64_defconfig
+
+For model CM4 (on IO Board):
+
+ $ make raspberrypicm4io_defconfig
+
+or for CM4 (on IO Board - 64 bit):
+
+ $ make raspberrypicm4io_64_defconfig
+
Build the rootfs
----------------
@@ -63,6 +80,7 @@ After building, you should obtain this tree:
+-- bcm2710-rpi-3-b.dtb [1]
+-- bcm2710-rpi-3-b-plus.dtb [1]
+-- bcm2711-rpi-4-b.dtb [1]
+ +-- bcm2711-rpi-cm4.dtb [1]
+-- boot.vfat
+-- rootfs.ext4
+-- rpi-firmware/
@@ -97,3 +115,31 @@ Insert the SDcard into your Raspberry Pi, and power it up. Your new system
should come up now and start two consoles: one on the serial port on
the P1 header, one on the HDMI output where you can login using a USB
keyboard.
+
+How to write to CM4 eMMC memory
+===============================
+
+For CM4 modules without eMMC memory see above for booting from SD card,
+for CM4 moduels with eMMC memory proceed as following:
+
+- fit jumper on IO Board header J2 to disable eMMC boot
+- connect IO Board micro USB port (J11 USB slave) to your host linux system
+- power up CM4/IO Board (lsusb command should show a '0a5c:2711 Broadcom Corp.
+ BCM2711 Boot' device)
+- run 'sudo ./host/bin/rpiboot', output should look like the following:
+ Waiting for BCM2835/6/7/2711...
+ Loading embedded: bootcode4.bin
+ Sending bootcode.bin
+ Successful read 4 bytes
+ Waiting for BCM2835/6/7/2711...
+ Loading embedded: bootcode4.bin
+ Second stage boot server
+ Loading embedded: start4.elf
+ File read: start4.elf
+ Second stage boot server done
+
+- a USB mass storage device should show up (the CM4 eMMC memory), proceed
+ as described above to copy sdcard.img to it
+- power down CM4/IO Board
+- remove jumper on IO Board header J2 to re-enable eMMC boot
+- power up CM4/IO Board
diff --git a/board/raspberrypicm4io b/board/raspberrypicm4io
new file mode 120000
index 0000000000..fcdafc81ed
--- /dev/null
+++ b/board/raspberrypicm4io
@@ -0,0 +1 @@
+raspberrypi \ No newline at end of file
diff --git a/board/raspberrypicm4io-64 b/board/raspberrypicm4io-64
new file mode 120000
index 0000000000..fcdafc81ed
--- /dev/null
+++ b/board/raspberrypicm4io-64
@@ -0,0 +1 @@
+raspberrypi \ No newline at end of file
diff --git a/board/solidrun/mx6cubox/boot.scr.txt b/board/solidrun/mx6cubox/boot.scr.txt
deleted file mode 100644
index e4cf814783..0000000000
--- a/board/solidrun/mx6cubox/boot.scr.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-setenv finduuid "part uuid mmc 1:1 uuid"
-run finduuid
-run findfdt
-setenv bootargs "console=ttymxc0,115200 root=PARTUUID=${uuid} rootwait rootfstype=ext4"
-load mmc 1:1 ${fdt_addr} boot/${fdtfile}
-load mmc 1:1 ${loadaddr} boot/zImage
-bootz ${loadaddr} - ${fdt_addr}
diff --git a/board/solidrun/mx6cubox/genimage.cfg b/board/solidrun/mx6cubox/genimage.cfg
deleted file mode 100644
index 490986ac86..0000000000
--- a/board/solidrun/mx6cubox/genimage.cfg
+++ /dev/null
@@ -1,29 +0,0 @@
-# Minimal SD card image for the MX6 Cubox/Hummingboard
-#
-# U-Boot SPL and u-boot.img are flashed in the first 1MB raw partition.
-# A single root filesystem partition is used (Ext4 in this case).
-#
-
-image sdcard.img {
- hdimage {
- }
-
- partition spl {
- in-partition-table = "no"
- image = "SPL"
- offset = 1K
- }
-
- partition u-boot {
- in-partition-table = "no"
- image = "u-boot.img"
- offset = 69K
- }
-
- partition rootfs {
- partition-type = 0x83
- image = "rootfs.ext4"
- offset = 1M
- size = 512M
- }
-}
diff --git a/board/solidrun/mx6cubox/patches/uboot/0001-mx6cuboxi-Fix-the-mmc-device-for-the-rootfs.patch b/board/solidrun/mx6cubox/patches/uboot/0001-mx6cuboxi-Fix-the-mmc-device-for-the-rootfs.patch
new file mode 100644
index 0000000000..b9755a042b
--- /dev/null
+++ b/board/solidrun/mx6cubox/patches/uboot/0001-mx6cuboxi-Fix-the-mmc-device-for-the-rootfs.patch
@@ -0,0 +1,29 @@
+From 96db7c072b96f9b7a1d9a986eff20353f7459004 Mon Sep 17 00:00:00 2001
+From: Fabio Estevam <festevam@gmail.com>
+Date: Sun, 18 Jul 2021 19:08:36 -0300
+Subject: [PATCH] mx6cuboxi: Fix the mmc device for the rootfs
+
+After the comversion to DM_MMC, the rootfs is mmc 1, so
+adjust it accordingly.
+
+Signed-off-by: Fabio Estevam <festevam@gmail.com>
+---
+ include/configs/mx6cuboxi.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/configs/mx6cuboxi.h b/include/configs/mx6cuboxi.h
+index 55717c77ab38..1a06f29b8c17 100644
+--- a/include/configs/mx6cuboxi.h
++++ b/include/configs/mx6cuboxi.h
+@@ -57,7 +57,7 @@
+ "console=" CONSOLE_DEV ",115200\0" \
+ "bootm_size=0x10000000\0" \
+ "mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \
+- "finduuid=part uuid mmc 0:1 uuid\0" \
++ "finduuid=part uuid mmc 1:1 uuid\0" \
+ "update_sd_firmware=" \
+ "if test ${ip_dyn} = yes; then " \
+ "setenv get_cmd dhcp; " \
+--
+2.25.1
+
diff --git a/board/solidrun/mx6cubox/patches/uboot/0002-mx6cuboxi-Fix-the-console-variable.patch b/board/solidrun/mx6cubox/patches/uboot/0002-mx6cuboxi-Fix-the-console-variable.patch
new file mode 100644
index 0000000000..c02134101f
--- /dev/null
+++ b/board/solidrun/mx6cubox/patches/uboot/0002-mx6cuboxi-Fix-the-console-variable.patch
@@ -0,0 +1,40 @@
+From ab1dd9332c379164925aee755a013dbd8839501b Mon Sep 17 00:00:00 2001
+From: Fabio Estevam <festevam@gmail.com>
+Date: Mon, 19 Jul 2021 16:48:07 -0300
+Subject: [PATCH 2/2] mx6cuboxi: Fix the console variable
+
+Do not pass the console baudrate to the 'console' variable
+to avoid the baudrate being passed twice when using extlinux.conf:
+
+cat /proc/cmdline
+root=PARTUUID=00000000-01 rootwait rw console=ttymxc0,115200,115200
+
+Signed-off-by: Fabio Estevam <festevam@gmail.com>
+---
+ include/configs/mx6cuboxi.h | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/include/configs/mx6cuboxi.h b/include/configs/mx6cuboxi.h
+index 1a06f29b8c17..9e5083b0d876 100644
+--- a/include/configs/mx6cuboxi.h
++++ b/include/configs/mx6cuboxi.h
+@@ -38,7 +38,6 @@
+ /* Command definition */
+
+ #define CONFIG_MXC_UART_BASE UART1_BASE
+-#define CONSOLE_DEV "ttymxc0"
+
+ #ifndef CONFIG_SPL_BUILD
+ #define CONFIG_EXTRA_ENV_SETTINGS \
+@@ -54,7 +53,7 @@
+ "ramdiskaddr=0x13000000\0" \
+ "initrd_high=0xffffffff\0" \
+ "ip_dyn=yes\0" \
+- "console=" CONSOLE_DEV ",115200\0" \
++ "console=ttymxc0\0" \
+ "bootm_size=0x10000000\0" \
+ "mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \
+ "finduuid=part uuid mmc 1:1 uuid\0" \
+--
+2.25.1
+
diff --git a/board/solidrun/mx6cubox/post-build.sh b/board/solidrun/mx6cubox/post-build.sh
deleted file mode 100755
index 6ddc113702..0000000000
--- a/board/solidrun/mx6cubox/post-build.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-BOARD_DIR="$(dirname $0)"
-
-install -d -m 755 $TARGET_DIR/boot
-
-$HOST_DIR/bin/mkimage -A arm -O linux -T script -C none \
- -n "boot script" -d $BOARD_DIR/boot.scr.txt $TARGET_DIR/boot/boot.scr
diff --git a/board/solidrun/mx6cubox/post-image.sh b/board/solidrun/mx6cubox/post-image.sh
deleted file mode 100755
index b4ac4608ff..0000000000
--- a/board/solidrun/mx6cubox/post-image.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/env bash
-
-BOARD_DIR="$(dirname $0)"
-GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
-GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
-
-rm -rf "${GENIMAGE_TMP}"
-
-genimage \
- --rootpath "${TARGET_DIR}" \
- --tmppath "${GENIMAGE_TMP}" \
- --inputpath "${BINARIES_DIR}" \
- --outputpath "${BINARIES_DIR}" \
- --config "${GENIMAGE_CFG}"
diff --git a/board/solidrun/mx6cubox/rootfs_overlay/boot/extlinux/extlinux.conf b/board/solidrun/mx6cubox/rootfs_overlay/boot/extlinux/extlinux.conf
new file mode 100644
index 0000000000..d011066357
--- /dev/null
+++ b/board/solidrun/mx6cubox/rootfs_overlay/boot/extlinux/extlinux.conf
@@ -0,0 +1,4 @@
+Label imx6qdl-cubox Buildroot
+ kernel ../zImage
+ fdtdir ../
+ append root=PARTUUID=${uuid} rootwait rw console=${console},${baudrate}
diff --git a/board/stmicroelectronics/common/stm32mp157/genimage.cfg.template b/board/stmicroelectronics/common/stm32mp157/genimage.cfg.template
index f341c19f2f..03fba8daf0 100644
--- a/board/stmicroelectronics/common/stm32mp157/genimage.cfg.template
+++ b/board/stmicroelectronics/common/stm32mp157/genimage.cfg.template
@@ -13,6 +13,7 @@ image sdcard.img {
partition ssbl {
image = "u-boot.stm32"
+ size = 2M
}
partition rootfs {
diff --git a/board/stmicroelectronics/stm32f469-disco/extlinux.conf b/board/stmicroelectronics/stm32f469-disco/extlinux.conf
new file mode 100644
index 0000000000..1c2db4383b
--- /dev/null
+++ b/board/stmicroelectronics/stm32f469-disco/extlinux.conf
@@ -0,0 +1,4 @@
+label stm32f469-disco-buildroot
+ kernel /zImage
+ devicetree /stm32f469-disco.dtb
+ append console=ttySTM0,115200 root=/dev/mmcblk0p2 rw rootfstype=ext2 rootwait earlyprintk consoleblank=0 ignore_loglevel
diff --git a/board/stmicroelectronics/stm32f469-disco/flash.sh b/board/stmicroelectronics/stm32f469-disco/flash.sh
index 0ec0beb2de..984d2b2599 100755
--- a/board/stmicroelectronics/stm32f469-disco/flash.sh
+++ b/board/stmicroelectronics/stm32f469-disco/flash.sh
@@ -13,8 +13,6 @@ ${OUTPUT_DIR}/host/bin/openocd -f board/stm32f469discovery.cfg \
-c "reset init" \
-c "flash probe 0" \
-c "flash info 0" \
- -c "flash write_image erase ${OUTPUT_DIR}/images/stm32f469i-disco.bin 0x08000000" \
- -c "flash write_image erase ${OUTPUT_DIR}/images/stm32f469-disco.dtb 0x08004000" \
- -c "flash write_image erase ${OUTPUT_DIR}/images/xipImage 0x08008000" \
+ -c "flash write_image erase ${OUTPUT_DIR}/images/u-boot.bin 0x08000000" \
-c "reset run" \
-c "shutdown"
diff --git a/board/stmicroelectronics/stm32f469-disco/genimage.cfg b/board/stmicroelectronics/stm32f469-disco/genimage.cfg
new file mode 100644
index 0000000000..bc945955fa
--- /dev/null
+++ b/board/stmicroelectronics/stm32f469-disco/genimage.cfg
@@ -0,0 +1,27 @@
+image boot.vfat {
+ vfat {
+ files = {
+ "zImage",
+ "stm32f469-disco.dtb",
+ "extlinux"
+ }
+ }
+ size = 16M
+}
+
+image sdcard.img {
+ hdimage {
+ }
+
+ partition u-boot {
+ partition-type = 0xC
+ image = "boot.vfat"
+ }
+
+ partition rootfs {
+ partition-type = 0x83
+ image = "rootfs.ext2"
+ size = 32M
+ }
+}
+
diff --git a/board/stmicroelectronics/stm32f469-disco/linux.fragment b/board/stmicroelectronics/stm32f469-disco/linux.fragment
new file mode 100644
index 0000000000..90f5e8a8ff
--- /dev/null
+++ b/board/stmicroelectronics/stm32f469-disco/linux.fragment
@@ -0,0 +1 @@
+# CONFIG_XIP_KERNEL is not set \ No newline at end of file
diff --git a/board/stmicroelectronics/stm32f469-disco/patches/linux/0001-ARM-stm32f249-disco-don-t-force-init-in-chosen-boota.patch b/board/stmicroelectronics/stm32f469-disco/patches/linux/0001-ARM-stm32f249-disco-don-t-force-init-in-chosen-boota.patch
deleted file mode 100644
index 750e477dfc..0000000000
--- a/board/stmicroelectronics/stm32f469-disco/patches/linux/0001-ARM-stm32f249-disco-don-t-force-init-in-chosen-boota.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From c8f8f33c2f0460a34c9545b01a7972a7ed2df0e9 Mon Sep 17 00:00:00 2001
-From: Christophe Priouzeau <christophe.priouzeau@st.com>
-Date: Mon, 29 May 2017 13:38:16 +0200
-Subject: [PATCH] ARM: stm32f249-disco: don't force init= in /chosen/bootargs
-
-There is no reason to override the kernel's default init= value, as
-this breaks userspace that assumes the kernel default of /init is
-used. Since stm32 is often used with a minimal bootloader
-(afboot-stm32) that doesn't provide any mechanism to override the DTB,
-we need to adjust the kernel command line in the Device Tree source.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
----
- arch/arm/boot/dts/stm32f469-disco.dts | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/arch/arm/boot/dts/stm32f469-disco.dts b/arch/arm/boot/dts/stm32f469-disco.dts
-index 0dd56ef..93ee1b2 100644
---- a/arch/arm/boot/dts/stm32f469-disco.dts
-+++ b/arch/arm/boot/dts/stm32f469-disco.dts
-@@ -53,7 +53,7 @@
- compatible = "st,stm32f469i-disco", "st,stm32f469";
-
- chosen {
-- bootargs = "root=/dev/ram rdinit=/linuxrc";
-+ bootargs = "root=/dev/ram";
- stdout-path = "serial0:115200n8";
- };
-
---
-2.7.4
-
diff --git a/board/stmicroelectronics/stm32f469-disco/post-build.sh b/board/stmicroelectronics/stm32f469-disco/post-build.sh
new file mode 100755
index 0000000000..ec20fca7d9
--- /dev/null
+++ b/board/stmicroelectronics/stm32f469-disco/post-build.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+BOARD_DIR="$(dirname $0)"
+
+install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux/extlinux.conf
diff --git a/board/stmicroelectronics/stm32f469-disco/readme.txt b/board/stmicroelectronics/stm32f469-disco/readme.txt
index 888bff08a1..c1e1d30e69 100644
--- a/board/stmicroelectronics/stm32f469-disco/readme.txt
+++ b/board/stmicroelectronics/stm32f469-disco/readme.txt
@@ -15,5 +15,17 @@ Flashing
./board/stmicroelectronics/stm32f469-disco/flash.sh output/
-It will flash the minimal bootloader, the Device Tree Blob, and the
-kernel image which includes the root filesystem as initramfs.
+It will flash the U-boot bootloader.
+
+Creating SD card
+----------------
+
+Buildroot prepares an"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 and its content, see the
+definition in board/stmicroelectronics/stm32f469-disco/genimage.cfg.
diff --git a/board/stmicroelectronics/stm32mp157a-dk1/uboot-fragment.config b/board/stmicroelectronics/stm32mp157a-dk1/uboot-fragment.config
deleted file mode 100644
index a278ce9e23..0000000000
--- a/board/stmicroelectronics/stm32mp157a-dk1/uboot-fragment.config
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_STM32MP_WATCHDOG is not set
diff --git a/board/stmicroelectronics/stm32mp157c-dk2/uboot-fragment.config b/board/stmicroelectronics/stm32mp157c-dk2/uboot-fragment.config
deleted file mode 100644
index a278ce9e23..0000000000
--- a/board/stmicroelectronics/stm32mp157c-dk2/uboot-fragment.config
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_STM32MP_WATCHDOG is not set
diff --git a/board/uevm5432/genimage.cfg b/board/uevm5432/genimage.cfg
new file mode 100644
index 0000000000..f30033f023
--- /dev/null
+++ b/board/uevm5432/genimage.cfg
@@ -0,0 +1,26 @@
+image boot.vfat {
+ vfat {
+ files = {
+ "MLO",
+ "u-boot.img"
+ }
+ }
+ size = 8M
+}
+
+image sdcard.img {
+ hdimage {
+ }
+
+ partition boot {
+ partition-type = 0xC
+ bootable = "true"
+ image = "boot.vfat"
+ }
+
+ partition rootfs {
+ partition-type = 0x83
+ image = "rootfs.ext4"
+ size = 512M
+ }
+}
diff --git a/board/uevm5432/readme.txt b/board/uevm5432/readme.txt
new file mode 100644
index 0000000000..4569fbd84e
--- /dev/null
+++ b/board/uevm5432/readme.txt
@@ -0,0 +1,40 @@
+OMAP5432 uEVM
+=============
+
+This file documents the Buildroot support for the OMAP5432 uEVM[1], a
+single-board computer development platform based on the Texas Instruments
+OMAP5432 system on a chip (SoC).
+
+How to build
+============
+
+ $ make uevm5432_defconfig
+ $ make
+
+How to write the SD card
+========================
+
+Once the build process is finished you will have an image called "sdcard.img"
+in the output/images/ directory.
+
+Copy the bootable "sdcard.img" onto an SD card with "dd":
+
+ $ sudo dd if=output/images/sdcard.img of=/dev/sdX
+ $ sync
+
+Where /dev/sdX is the device node of your SD card (may be /dev/mmcblkX instead
+depending on setup).
+
+To boot from SD card, set the SYSBOOT switches S1 of your OMAP5432 uEVM to the
+following position:
+
+ ON x x
+ x x
+ 1 2 3 4
+
+Insert the micro SDcard in your OMAP5432 uEVM, and power it up with the POWER
+ON push button switch S3. The console is on the micro USB Debug UART, with
+serial settings 115200 8N1. Refer also to the quick start guide[2].
+
+[1]: https://svtronics.com/5432
+[2]: https://www.ti.com/lit/ug/swcu131/swcu131.pdf
diff --git a/board/wandboard/boot.scr.txt b/board/wandboard/boot.scr.txt
deleted file mode 100644
index 7a8aa4bd54..0000000000
--- a/board/wandboard/boot.scr.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-setenv finduuid "part uuid mmc 0:1 uuid"
-run finduuid
-run findfdt
-setenv bootargs "console=ttymxc0,115200 root=PARTUUID=${uuid} rootwait rootfstype=ext4"
-load mmc 0:1 ${fdt_addr} boot/${fdtfile}
-load mmc 0:1 ${loadaddr} boot/zImage
-bootz ${loadaddr} - ${fdt_addr}
diff --git a/board/wandboard/genimage.cfg b/board/wandboard/genimage.cfg
deleted file mode 100644
index ad4a6a55d5..0000000000
--- a/board/wandboard/genimage.cfg
+++ /dev/null
@@ -1,32 +0,0 @@
-# Minimal SD card image for the Wandboard
-#
-# The SD card must have at least 1 MB free at the beginning.
-# U-Boot and its environment are dumped as is.
-# A single root filesystem partition is required (Ext4 in this case).
-#
-# For details about the layout, see:
-# http://wiki.wandboard.org/index.php/Boot-process
-
-image sdcard.img {
- hdimage {
- }
-
- partition spl {
- in-partition-table = "no"
- image = "SPL"
- offset = 1024
- }
-
- partition u-boot {
- in-partition-table = "no"
- image = "u-boot.img"
- offset = 70656
- }
-
- partition rootfs {
- partition-type = 0x83
- image = "rootfs.ext4"
- offset = 1M
- size = 512M
- }
-}
diff --git a/board/wandboard/post-build.sh b/board/wandboard/post-build.sh
deleted file mode 100755
index 6ddc113702..0000000000
--- a/board/wandboard/post-build.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-BOARD_DIR="$(dirname $0)"
-
-install -d -m 755 $TARGET_DIR/boot
-
-$HOST_DIR/bin/mkimage -A arm -O linux -T script -C none \
- -n "boot script" -d $BOARD_DIR/boot.scr.txt $TARGET_DIR/boot/boot.scr
diff --git a/board/wandboard/rootfs_overlay/boot/extlinux/extlinux.conf b/board/wandboard/rootfs_overlay/boot/extlinux/extlinux.conf
new file mode 100644
index 0000000000..e3b90660c0
--- /dev/null
+++ b/board/wandboard/rootfs_overlay/boot/extlinux/extlinux.conf
@@ -0,0 +1,4 @@
+Label imx6qdl-wandboard Buildroot
+ kernel ../zImage
+ fdtdir ../
+ append root=PARTUUID=${uuid} rootwait rw console=${console},${baudrate}
diff --git a/boot/Config.in b/boot/Config.in
index 08d9ac06b2..ff98a49796 100644
--- a/boot/Config.in
+++ b/boot/Config.in
@@ -10,6 +10,7 @@ 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/edk2/Config.in"
source "boot/grub2/Config.in"
source "boot/gummiboot/Config.in"
source "boot/lpc32xxcdl/Config.in"
diff --git a/boot/arm-trusted-firmware/Config.in b/boot/arm-trusted-firmware/Config.in
index c06294040e..7e46a10270 100644
--- a/boot/arm-trusted-firmware/Config.in
+++ b/boot/arm-trusted-firmware/Config.in
@@ -1,7 +1,7 @@
config BR2_TARGET_ARM_TRUSTED_FIRMWARE
bool "ARM Trusted Firmware (ATF)"
depends on (BR2_ARM_CPU_ARMV8A || BR2_ARM_CPU_ARMV7A) && \
- BR2_TARGET_UBOOT
+ (BR2_TARGET_UBOOT || BR2_TARGET_EDK2)
help
Enable this option if you want to build the ATF for your ARM
based embedded device.
@@ -15,7 +15,7 @@ choice
Select the specific ATF version you want to use
config BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_VERSION
- bool "v2.4"
+ bool "v2.5"
config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION
bool "Custom version"
@@ -43,7 +43,7 @@ config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE
config BR2_TARGET_ARM_TRUSTED_FIRMWARE_VERSION
string
- default "v2.4" if BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_VERSION
+ default "v2.5" if BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_VERSION
default "custom" if BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL
default BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION \
if BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT
@@ -135,6 +135,19 @@ config BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_BL33_IMAGE
endif
+config BR2_TARGET_ARM_TRUSTED_FIRMWARE_EDK2_AS_BL33
+ bool "Use EDK2 as BL33"
+ depends on BR2_TARGET_EDK2
+ help
+ This option allows to embed EDK2 as the BL33 part of
+ the ARM Trusted Firmware. It ensures that the EDK2 package
+ gets built before ATF, and that the appropriate BL33
+ variable pointing to the EDK2 is passed when building ATF.
+
+ Do not choose this option if you intend to build ATF and EDK2
+ for the 'qemu_sbsa' platform. In this case, due to the EDK2
+ build system, the dependency between ATF and EDK is reversed.
+
config BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_TARGETS
string "Additional ATF make targets"
help
@@ -175,4 +188,25 @@ config BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN
Select this option if your ATF board configuration requires
an ARM32 bare metal toolchain to be available.
+config BR2_TARGET_ARM_TRUSTED_FIRMWARE_SSP
+ bool "Build with SSP"
+ default y
+ depends on BR2_TOOLCHAIN_HAS_SSP
+ depends on !BR2_SSP_NONE
+ help
+ Say 'y' here if you want to build ATF with SSP.
+
+ Your board must have SSP support in ATF: it must have an
+ implementation for plat_get_stack_protector_canary().
+
+ If you say 'y', the SSP level will be the level selected
+ by the global SSP setting.
+
+config BR2_TARGET_ARM_TRUSTED_FIRMWARE_SSP_LEVEL
+ string
+ default "none" if !BR2_TARGET_ARM_TRUSTED_FIRMWARE_SSP
+ default "default" if BR2_SSP_REGULAR
+ default "strong" if BR2_SSP_STRONG
+ default "all" if BR2_SSP_ALL
+
endif
diff --git a/boot/arm-trusted-firmware/arm-trusted-firmware.hash b/boot/arm-trusted-firmware/arm-trusted-firmware.hash
index 970613f38d..1ab50a9e28 100644
--- a/boot/arm-trusted-firmware/arm-trusted-firmware.hash
+++ b/boot/arm-trusted-firmware/arm-trusted-firmware.hash
@@ -1,3 +1,3 @@
# Locally calculated
-sha256 4bfda9fdbe5022f2e88ad3344165f7d38a8ae4a0e2d91d44d9a1603425cc642d arm-trusted-firmware-v2.4.tar.gz
+sha256 d12a824afcc5cb90d005f9820f3274f1319cef1bb282e40a6a190b75900206d3 arm-trusted-firmware-v2.5.tar.gz
sha256 487795b8023df866259fa159bab94706b747fb0d623b7913f1c4955c0ab5f164 license.rst
diff --git a/boot/arm-trusted-firmware/arm-trusted-firmware.mk b/boot/arm-trusted-firmware/arm-trusted-firmware.mk
index 0597cecf71..1f08f5dabb 100644
--- a/boot/arm-trusted-firmware/arm-trusted-firmware.mk
+++ b/boot/arm-trusted-firmware/arm-trusted-firmware.mk
@@ -51,7 +51,8 @@ endif
ARM_TRUSTED_FIRMWARE_MAKE_OPTS += \
CROSS_COMPILE="$(TARGET_CROSS)" \
$(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES)) \
- PLAT=$(ARM_TRUSTED_FIRMWARE_PLATFORM)
+ PLAT=$(ARM_TRUSTED_FIRMWARE_PLATFORM) \
+ ENABLE_STACK_PROTECTOR=$(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_SSP_LEVEL))
ifeq ($(BR2_ARM_CPU_ARMV7A),y)
ARM_TRUSTED_FIRMWARE_MAKE_OPTS += ARM_ARCH_MAJOR=7
@@ -79,6 +80,15 @@ ARM_TRUSTED_FIRMWARE_MAKE_OPTS += AARCH32_SP=optee
endif
endif # BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE
+ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_EDK2_AS_BL33),y)
+ARM_TRUSTED_FIRMWARE_DEPENDENCIES += edk2
+# Since the flash device name vary between platforms, we use the variable
+# provided by the EDK2 package for this. Using this variable here is OK
+# as it will expand after all dependencies are resolved, inside _BUILD_CMDS.
+ARM_TRUSTED_FIRMWARE_MAKE_OPTS += \
+ BL33=$(BINARIES_DIR)/$(call qstrip,$(BR2_TARGET_EDK2_FD_NAME).fd)
+endif
+
ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33),y)
ARM_TRUSTED_FIRMWARE_UBOOT_BIN = $(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_BL33_IMAGE))
ARM_TRUSTED_FIRMWARE_MAKE_OPTS += BL33=$(BINARIES_DIR)/$(ARM_TRUSTED_FIRMWARE_UBOOT_BIN)
@@ -100,14 +110,6 @@ ARM_TRUSTED_FIRMWARE_MAKE_OPTS += MV_DDR_PATH=$(MV_DDR_MARVELL_DIR)
ARM_TRUSTED_FIRMWARE_DEPENDENCIES += mv-ddr-marvell
endif
-ifeq ($(BR2_SSP_REGULAR),y)
-ARM_TRUSTED_FIRMWARE_MAKE_OPTS += ENABLE_STACK_PROTECTOR=default
-else ifeq ($(BR2_SSP_STRONG),y)
-ARM_TRUSTED_FIRMWARE_MAKE_OPTS += ENABLE_STACK_PROTECTOR=strong
-else ifeq ($(BR2_SSP_ALL),y)
-ARM_TRUSTED_FIRMWARE_MAKE_OPTS += ENABLE_STACK_PROTECTOR=all
-endif
-
ARM_TRUSTED_FIRMWARE_MAKE_TARGETS = all
ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP),y)
diff --git a/boot/at91bootstrap3/Config.in b/boot/at91bootstrap3/Config.in
index 25ab30489f..f44597bc00 100644
--- a/boot/at91bootstrap3/Config.in
+++ b/boot/at91bootstrap3/Config.in
@@ -1,5 +1,5 @@
config BR2_TARGET_AT91BOOTSTRAP3
- bool "AT91 Bootstrap 3"
+ bool "AT91 Bootstrap 3+"
depends on BR2_arm926t || BR2_cortex_a5 || BR2_cortex_a7
help
AT91Bootstrap is a first level bootloader for the Atmel AT91
@@ -16,10 +16,13 @@ if BR2_TARGET_AT91BOOTSTRAP3
choice
- prompt "AT91 Bootstrap 3 version"
+ prompt "AT91 Bootstrap 3+ version"
config BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION
- bool "3.9.3"
+ bool "4.0.0-rc2"
+
+config BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION_3X
+ bool "3.10.2"
config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
bool "Custom Git repository"
@@ -51,7 +54,8 @@ endif
config BR2_TARGET_AT91BOOTSTRAP3_VERSION
string
- default "v3.9.3" if BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION
+ default "v4.0.0-rc2" if BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION
+ default "v3.10.2" if BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION_3X
default BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION \
if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
default "custom" if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL
@@ -96,4 +100,12 @@ config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE
help
Path to the at91bootstrap3 configuration file
+config BR2_TARGET_AT91BOOTSTRAP3_NEEDS_PYTHON3
+ bool "needs host-python3"
+ help
+ Enable this option if the at91bootstrap build process needs
+ Python 3.x to be available on the host. This is needed in
+ some at91bootstrap configurations to use NAND/PMECC Python
+ scripts.
+
endif # BR2_TARGET_AT91BOOTSTRAP3
diff --git a/boot/at91bootstrap3/at91bootstrap3.hash b/boot/at91bootstrap3/at91bootstrap3.hash
index 6b6257b0ab..8b7453bbd4 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 fd7a1ce5719bb7abf5e289da2e0ea8c933af3ba0f6ad03dbdbd2b7f54a77498a main.c
+sha256 33e4ba431af93a4fc2e81c1458cd31901b9f69c583ebe4c74ca78c0846479bfd at91bootstrap3-v3.10.2.tar.gz
+sha256 b5d5f042297cad0d091f7d8734e61eb9ec7b6020898e086503fb5f8bc71fb9fc at91bootstrap3-v4.0.0-rc2.tar.gz
diff --git a/boot/at91bootstrap3/at91bootstrap3.mk b/boot/at91bootstrap3/at91bootstrap3.mk
index a942afcdc9..b253129dfb 100644
--- a/boot/at91bootstrap3/at91bootstrap3.mk
+++ b/boot/at91bootstrap3/at91bootstrap3.mk
@@ -20,9 +20,6 @@ AT91BOOTSTRAP3_SITE = $(call github,linux4sam,at91bootstrap,$(AT91BOOTSTRAP3_VER
endif
AT91BOOTSTRAP3_LICENSE = Atmel License
-ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION),y)
-AT91BOOTSTRAP3_LICENSE_FILES = main.c
-endif
AT91BOOTSTRAP3_CPE_ID_VENDOR = linux4sam
AT91BOOTSTRAP3_CPE_ID_PRODUCT = at91bootstrap
@@ -30,6 +27,10 @@ AT91BOOTSTRAP3_CPE_ID_PRODUCT = at91bootstrap
AT91BOOTSTRAP3_INSTALL_IMAGES = YES
AT91BOOTSTRAP3_INSTALL_TARGET = NO
+ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_NEEDS_PYTHON3),y)
+AT91BOOTSTRAP3_DEPENDENCIES += host-python3
+endif
+
AT91BOOTSTRAP3_CUSTOM_PATCH_DIR = \
$(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_PATCH_DIR))
@@ -48,7 +49,7 @@ define AT91BOOTSTRAP3_BUILD_CMDS
endef
define AT91BOOTSTRAP3_INSTALL_IMAGES_CMDS
- cp $(@D)/binaries/*.bin $(BINARIES_DIR)
+ cp $(wildcard $(@D)/build/binaries/*.bin $(@D)/binaries/*.bin) $(BINARIES_DIR)
endef
ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG),y)
diff --git a/boot/barebox/Config.in b/boot/barebox/Config.in
index 03d9a272d0..af4c1f816c 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 "2021.01.0"
+ bool "2021.07.0"
config BR2_TARGET_BAREBOX_CUSTOM_VERSION
bool "Custom version"
@@ -40,7 +40,7 @@ endif
config BR2_TARGET_BAREBOX_VERSION
string
- default "2021.01.0" if BR2_TARGET_BAREBOX_LATEST_VERSION
+ default "2021.07.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 e6f8234a4d..a82edef63b 100644
--- a/boot/barebox/barebox.hash
+++ b/boot/barebox/barebox.hash
@@ -1,8 +1,8 @@
-# From https://www.barebox.org/download/barebox-2021.01.0.tar.bz2.md5
-md5 e81e7cd6bc2629e7fcdeaddf59c324c3 barebox-2021.01.0.tar.bz2
+# From https://www.barebox.org/download/barebox-2021.07.0.tar.bz2.md5
+md5 df3651a395e1420c2818dd464c63069d barebox-2021.07.0.tar.bz2
# Locally calculated
-sha256 b39501db1c701b05f862973d8aed628cab0e611421cbaadae8b5262311551ff9 barebox-2021.01.0.tar.bz2
+sha256 ce5d9d8953a2e3c21f1e6a72b1499962170bb41c4750ce8129ef44bf7860992d barebox-2021.07.0.tar.bz2
# License files, locally computed
sha256 ab1122aa9f9073ad1ec824edcd970b16a6a7881a34a18fd56c080debb2dca5d4 COPYING
diff --git a/boot/beaglev-ddrinit/beaglev-ddrinit.hash b/boot/beaglev-ddrinit/beaglev-ddrinit.hash
index 5bbbe28f07..2aaab53a3b 100644
--- a/boot/beaglev-ddrinit/beaglev-ddrinit.hash
+++ b/boot/beaglev-ddrinit/beaglev-ddrinit.hash
@@ -1,2 +1,3 @@
# Locally computed
-sha256 0809b72e1e8e40f82acdcfd4c8a6a120e14bd9ed395592e075bb54acc8c07271 beaglev-ddrinit-15b80de81263996affb2a29332aa681925709983.tar.gz
+sha256 2d491f64bd77de9dfd4b8ae6c00e83670e80c205cc20917fefa6194b1dc1fe4e beaglev-ddrinit-c0839f25246d9e308c23498d344ca13d8a7ad6ed.tar.gz
+sha256 284d26192537710910ec1f112ec5f4c981601ae23702391986d6ce0b8ba90813 LICENSE
diff --git a/boot/beaglev-ddrinit/beaglev-ddrinit.mk b/boot/beaglev-ddrinit/beaglev-ddrinit.mk
index 02df0613ee..76406ed4c5 100644
--- a/boot/beaglev-ddrinit/beaglev-ddrinit.mk
+++ b/boot/beaglev-ddrinit/beaglev-ddrinit.mk
@@ -5,14 +5,13 @@
################################################################################
# Commit on the 'starfive' branch
-BEAGLEV_DDRINIT_VERSION = 15b80de81263996affb2a29332aa681925709983
+BEAGLEV_DDRINIT_VERSION = c0839f25246d9e308c23498d344ca13d8a7ad6ed
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+
+BEAGLEV_DDRINIT_LICENSE_FILES = LICENSE
define BEAGLEV_DDRINIT_BUILD_CMDS
$(MAKE) -C $(@D)/build \
diff --git a/boot/beaglev-secondboot/beaglev-secondboot.hash b/boot/beaglev-secondboot/beaglev-secondboot.hash
index d936263d1a..efc93347b1 100644
--- a/boot/beaglev-secondboot/beaglev-secondboot.hash
+++ b/boot/beaglev-secondboot/beaglev-secondboot.hash
@@ -1,2 +1,3 @@
# Locally computed
-sha256 b97dc40dbfc49ced591d6ef53d06adebf90b9c467d3754ec51b2626593d97cbd beaglev-secondboot-a4f0b4307f877890f998b3216cffcc9f27a5f993.tar.gz
+sha256 fe4d37f3ff38e7f2da70a08f9cb1668c0b928e85d2e0935bd985f910b3ce30e9 beaglev-secondboot-2d20047960044308126117ad56bc08a1164e82b2.tar.gz
+sha256 284d26192537710910ec1f112ec5f4c981601ae23702391986d6ce0b8ba90813 LICENSE
diff --git a/boot/beaglev-secondboot/beaglev-secondboot.mk b/boot/beaglev-secondboot/beaglev-secondboot.mk
index 7bd97165de..a423c6c6a6 100644
--- a/boot/beaglev-secondboot/beaglev-secondboot.mk
+++ b/boot/beaglev-secondboot/beaglev-secondboot.mk
@@ -5,14 +5,13 @@
################################################################################
# Commit on the 'starfive' branch
-BEAGLEV_SECONDBOOT_VERSION = a4f0b4307f877890f998b3216cffcc9f27a5f993
+BEAGLEV_SECONDBOOT_VERSION = 2d20047960044308126117ad56bc08a1164e82b2
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+
+BEAGLEV_SECONDBOOT_LICENSE_FILES = LICENSE
define BEAGLEV_SECONDBOOT_BUILD_CMDS
$(MAKE) -C $(@D)/build \
diff --git a/boot/edk2/Config.in b/boot/edk2/Config.in
new file mode 100644
index 0000000000..150806899f
--- /dev/null
+++ b/boot/edk2/Config.in
@@ -0,0 +1,108 @@
+config BR2_TARGET_EDK2
+ bool "EDK2"
+ depends on BR2_x86_64 || BR2_aarch64
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5
+ select BR2_PACKAGE_EDK2_PLATFORMS
+ help
+ EDK II is a modern, feature-rich, cross-platform firmware
+ development environment for the UEFI and PI specifications.
+
+ https://github.com/tianocore/tianocore.github.io/wiki/EDK-II
+
+if BR2_TARGET_EDK2
+
+choice
+ prompt "Platform"
+ default BR2_TARGET_EDK2_PLATFORM_OVMF_X64 if BR2_x86_64
+ default BR2_TARGET_EDK2_PLATFORM_ARM_VIRT_QEMU if BR2_aarch64
+
+config BR2_TARGET_EDK2_PLATFORM_OVMF_X64
+ bool "x86-64"
+ depends on BR2_x86_64
+ help
+ Platform configuration for a generic x86-64 target.
+ This platform will boot from flash address 0x0.
+ It should therefore be used as the first bootloader.
+
+config BR2_TARGET_EDK2_PLATFORM_ARM_VIRT_QEMU
+ bool "ARM Virt Qemu (flash)"
+ depends on BR2_aarch64
+ help
+ Platform configuration for QEMU targeting the Virt machine.
+ This platform will only boot from flash address 0x0.
+ It should therefore be used as the first bootloader.
+
+config BR2_TARGET_EDK2_PLATFORM_ARM_VIRT_QEMU_KERNEL
+ bool "ARM Virt Qemu (kernel)"
+ depends on BR2_aarch64
+ help
+ Platform configuration for QEMU targeting the Virt machine.
+ This platform can boot from either flash address 0x0 or via
+ the Linux boot protocol. It can therefore be loaded by a
+ previous bootloader like ARM Trusted Firmware or OP-TEE.
+
+config BR2_TARGET_EDK2_PLATFORM_ARM_SGI575
+ bool "ARM SGI-575"
+ depends on BR2_aarch64
+ help
+ Platform configuration for ARM SGI-575 on ARM's
+ Fixed Virtual Platform (FVP).
+
+config BR2_TARGET_EDK2_PLATFORM_ARM_VEXPRESS_FVP_AARCH64
+ bool "ARM VExpress FVP Aarch64"
+ depends on BR2_aarch64
+ help
+ Platform configuration for ARM Versatile Express targeting
+ the Aarch64 Fixed Virtual Platform (FVP).
+
+config BR2_TARGET_EDK2_PLATFORM_SOCIONEXT_DEVELOPERBOX
+ bool "Socionext DeveloperBox"
+ depends on BR2_aarch64
+ depends on BR2_TARGET_ARM_TRUSTED_FIRMWARE
+ depends on !BR2_TARGET_ARM_TRUSTED_FIRMWARE_EDK2_AS_BL33
+ select BR2_PACKAGE_HOST_DTC
+ select BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP
+ help
+ Platform configuration for Socionext SynQuacer DeveloperBox
+ (SC2A11).
+
+comment "Socionext DeveloperBox depends on ATF not using EDK2 as BL33"
+ depends on BR2_TARGET_ARM_TRUSTED_FIRMWARE_EDK2_AS_BL33
+
+config BR2_TARGET_EDK2_PLATFORM_SOLIDRUN_ARMADA80X0MCBIN
+ bool "SolidRun MacchiatoBin"
+ depends on BR2_aarch64
+ depends on BR2_TARGET_ARM_TRUSTED_FIRMWARE
+ select BR2_PACKAGE_HOST_DTC
+ select BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP
+ help
+ Platform configuration for the SolidRun MacchiatoBin.
+
+config BR2_TARGET_EDK2_PLATFORM_QEMU_SBSA
+ bool "QEMU SBSA"
+ depends on BR2_aarch64
+ depends on BR2_TARGET_ARM_TRUSTED_FIRMWARE
+ depends on !BR2_TARGET_ARM_TRUSTED_FIRMWARE_EDK2_AS_BL33
+ help
+ Platform configuration for QEMU targeting the SBSA reference
+ machine.
+
+comment "QEMU SBSA depends on ATF not using EDK2 as BL33"
+ depends on BR2_TARGET_ARM_TRUSTED_FIRMWARE_EDK2_AS_BL33
+
+endchoice
+
+config BR2_TARGET_EDK2_FD_NAME
+ string
+ default "OVMF" if BR2_TARGET_EDK2_PLATFORM_OVMF_X64
+ default "QEMU_EFI" if BR2_TARGET_EDK2_PLATFORM_ARM_VIRT_QEMU
+ default "QEMU_EFI" if BR2_TARGET_EDK2_PLATFORM_ARM_VIRT_QEMU_KERNEL
+ default "BL33_AP_UEFI" if BR2_TARGET_EDK2_PLATFORM_ARM_SGI575
+ default "FVP_AARCH64_EFI" if BR2_TARGET_EDK2_PLATFORM_ARM_VEXPRESS_FVP_AARCH64
+ default "FVP_AARCH64_EFI" if BR2_TARGET_EDK2_PLATFORM_SOCIONEXT_DEVELOPERBOX
+ default "ARMADA_EFI" if BR2_TARGET_EDK2_PLATFORM_SOLIDRUN_ARMADA80X0MCBIN
+
+endif
+
+comment "EDK2 needs a toolchain w/ gcc >= 5"
+ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_5
diff --git a/boot/edk2/edk2.hash b/boot/edk2/edk2.hash
new file mode 100644
index 0000000000..f28e9ce841
--- /dev/null
+++ b/boot/edk2/edk2.hash
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256 04791c13b414a6d1877182a6d565cb762c30aa63e49bb4d495fca68ef4dd209d edk2-edk2-stable202102-br1.tar.gz
+sha256 50ce20c9cfdb0e19ee34fe0a51fc0afe961f743697b068359ab2f862b494df80 License.txt
diff --git a/boot/edk2/edk2.mk b/boot/edk2/edk2.mk
new file mode 100644
index 0000000000..fabd0c5b45
--- /dev/null
+++ b/boot/edk2/edk2.mk
@@ -0,0 +1,151 @@
+################################################################################
+#
+# edk2
+#
+################################################################################
+
+EDK2_VERSION = edk2-stable202102
+EDK2_SITE = https://github.com/tianocore/edk2
+EDK2_SITE_METHOD = git
+EDK2_LICENSE = BSD-2-Clause
+EDK2_LICENSE_FILE = License.txt
+EDK2_CPE_ID_VENDOR = tianocore
+EDK2_DEPENDENCIES = edk2-platforms host-python3 host-acpica host-util-linux
+EDK2_INSTALL_TARGET = NO
+EDK2_INSTALL_IMAGES = YES
+
+ifeq ($(BR2_x86_64),y)
+EDK2_ARCH = X64
+else ifeq ($(BR2_aarch64),y)
+EDK2_ARCH = AARCH64
+endif
+
+ifeq ($(BR2_ENABLE_DEBUG),y)
+EDK2_BUILD_TYPE = DEBUG
+else
+EDK2_BUILD_TYPE = RELEASE
+endif
+
+# Build system notes.
+#
+# The EDK2 build system is rather unique, so here are a few useful notes.
+#
+# First, builds rely heavily on Git submodules to fetch various dependencies
+# into specific directory structures. It might be possible to work around this
+# and rely on Buildroot's infrastructure, but using Git submodules greatly
+# simplifies this already complicated build system.
+#
+# Second, the build system is spread across various commands and stages.
+# Therefore, all build variables needs to be exported to be available
+# accordingly. The first stage will build $(@D)/BaseTools which contains
+# various tools and scripts for the host.
+#
+# Third, where applicable, the dependency direction between EDK2 and
+# ARM Trusted Firmware (ATF) will go in different direction for different
+# platforms. Most commonly, ATF will depend on EDK2 via the BL33 payload.
+# But for some platforms (e.g. QEMU SBSA or DeveloperBox) EDK2 will package
+# the ATF images within its own build system. In such cases, intermediary
+# "EDK2 packages" will be built in $(EDK2_BUILD_PACKAGES) in order for EDK2
+# to be able to use them in subsequent build stages.
+#
+# For more information about the build setup:
+# https://edk2-docs.gitbook.io/edk-ii-build-specification/4_edk_ii_build_process_overview
+
+EDK2_GIT_SUBMODULES = YES
+EDK2_BUILD_PACKAGES = $(@D)/Build/Buildroot
+EDK2_PACKAGES_PATH = $(@D):$(EDK2_BUILD_PACKAGES):$(STAGING_DIR)/usr/share/edk2-platforms
+
+ifeq ($(BR2_TARGET_EDK2_PLATFORM_OVMF_X64),y)
+EDK2_DEPENDENCIES += host-nasm
+EDK2_PACKAGE_NAME = OvmfPkg
+EDK2_PLATFORM_NAME = OvmfPkgX64
+EDK2_BUILD_DIR = OvmfX64
+
+else ifeq ($(BR2_TARGET_EDK2_PLATFORM_ARM_VIRT_QEMU),y)
+EDK2_PACKAGE_NAME = ArmVirtPkg
+EDK2_PLATFORM_NAME = ArmVirtQemu
+EDK2_BUILD_DIR = $(EDK2_PLATFORM_NAME)-$(EDK2_ARCH)
+
+else ifeq ($(BR2_TARGET_EDK2_PLATFORM_ARM_VIRT_QEMU_KERNEL),y)
+EDK2_PACKAGE_NAME = ArmVirtPkg
+EDK2_PLATFORM_NAME = ArmVirtQemuKernel
+EDK2_BUILD_DIR = $(EDK2_PLATFORM_NAME)-$(EDK2_ARCH)
+
+else ifeq ($(BR2_TARGET_EDK2_PLATFORM_ARM_VEXPRESS_FVP_AARCH64),y)
+EDK2_PACKAGE_NAME = Platform/ARM/VExpressPkg
+EDK2_PLATFORM_NAME = ArmVExpress-FVP-AArch64
+EDK2_BUILD_DIR = $(EDK2_PLATFORM_NAME)
+
+else ifeq ($(BR2_TARGET_EDK2_PLATFORM_SOCIONEXT_DEVELOPERBOX),y)
+EDK2_DEPENDENCIES += host-dtc arm-trusted-firmware
+EDK2_PACKAGE_NAME = Platform/Socionext/DeveloperBox
+EDK2_PLATFORM_NAME = DeveloperBox
+EDK2_BUILD_DIR = $(EDK2_PLATFORM_NAME)
+EDK2_BUILD_ENV += DTC_PREFIX=$(HOST_DIR)/bin/
+EDK2_BUILD_OPTS += -D DO_X86EMU=TRUE
+EDK2_PRE_BUILD_HOOKS += EDK2_PRE_BUILD_SOCIONEXT_DEVELOPERBOX
+
+define EDK2_PRE_BUILD_SOCIONEXT_DEVELOPERBOX
+ mkdir -p $(EDK2_BUILD_PACKAGES)/Platform/Socionext/DeveloperBox
+ $(ARM_TRUSTED_FIRMWARE_DIR)/tools/fiptool/fiptool create \
+ --tb-fw $(BINARIES_DIR)/bl31.bin \
+ --soc-fw $(BINARIES_DIR)/bl31.bin \
+ --scp-fw $(BINARIES_DIR)/bl31.bin \
+ $(EDK2_BUILD_PACKAGES)/Platform/Socionext/DeveloperBox/fip_all_arm_tf.bin
+endef
+
+else ifeq ($(BR2_TARGET_EDK2_PLATFORM_SOLIDRUN_ARMADA80X0MCBIN),y)
+EDK2_DEPENDENCIES += host-dtc arm-trusted-firmware
+EDK2_PACKAGE_NAME = Platform/SolidRun/Armada80x0McBin
+EDK2_PLATFORM_NAME = Armada80x0McBin
+EDK2_BUILD_DIR = $(EDK2_PLATFORM_NAME)-$(EDK2_ARCH)
+EDK2_BUILD_ENV += DTC_PREFIX=$(HOST_DIR)/bin/
+EDK2_BUILD_OPTS += -D INCLUDE_TFTP_COMMAND
+
+else ifeq ($(BR2_TARGET_EDK2_PLATFORM_QEMU_SBSA),y)
+EDK2_DEPENDENCIES += arm-trusted-firmware
+EDK2_PACKAGE_NAME = Platform/Qemu/SbsaQemu
+EDK2_PLATFORM_NAME = SbsaQemu
+EDK2_BUILD_DIR = $(EDK2_PLATFORM_NAME)
+EDK2_PRE_BUILD_HOOKS += EDK2_PRE_BUILD_QEMU_SBSA
+
+define EDK2_PRE_BUILD_QEMU_SBSA
+ mkdir -p $(EDK2_BUILD_PACKAGES)/Platform/Qemu/Sbsa
+ ln -srf $(BINARIES_DIR)/{bl1.bin,fip.bin} $(EDK2_BUILD_PACKAGES)/Platform/Qemu/Sbsa/
+endef
+
+endif
+
+EDK2_BASETOOLS_OPTS = \
+ EXTRA_LDFLAGS="$(HOST_LDFLAGS)" \
+ EXTRA_OPTFLAGS="$(HOST_CPPFLAGS)"
+
+EDK2_BUILD_ENV += \
+ WORKSPACE=$(@D) \
+ PACKAGES_PATH=$(EDK2_PACKAGES_PATH) \
+ PYTHON_COMMAND=$(HOST_DIR)/bin/python3 \
+ IASL_PREFIX=$(HOST_DIR)/bin/ \
+ NASM_PREFIX=$(HOST_DIR)/bin/ \
+ GCC5_$(EDK2_ARCH)_PREFIX=$(TARGET_CROSS)
+
+EDK2_BUILD_OPTS += \
+ -t GCC5 \
+ -n $(BR2_JLEVEL) \
+ -a $(EDK2_ARCH) \
+ -b $(EDK2_BUILD_TYPE) \
+ -p $(EDK2_PACKAGE_NAME)/$(EDK2_PLATFORM_NAME).dsc
+
+define EDK2_BUILD_CMDS
+ mkdir -p $(EDK2_BUILD_PACKAGES)
+ export $(EDK2_BUILD_ENV) && \
+ unset ARCH && \
+ source $(@D)/edksetup.sh && \
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/BaseTools $(EDK2_BASETOOLS_OPTS) && \
+ build $(EDK2_BUILD_OPTS) all
+endef
+
+define EDK2_INSTALL_IMAGES_CMDS
+ cp -f $(@D)/Build/$(EDK2_BUILD_DIR)/$(EDK2_BUILD_TYPE)_GCC5/FV/*.fd $(BINARIES_DIR)
+endef
+
+$(eval $(generic-package))
diff --git a/boot/grub2/grub2.mk b/boot/grub2/grub2.mk
index af16ee91e1..52e9199ae9 100644
--- a/boot/grub2/grub2.mk
+++ b/boot/grub2/grub2.mk
@@ -118,9 +118,11 @@ HOST_GRUB2_CONF_ENV = \
GRUB2_CONF_ENV = \
CPP="$(TARGET_CC) -E" \
TARGET_CC="$(TARGET_CC)" \
- TARGET_CFLAGS="$(TARGET_CFLAGS)" \
- TARGET_CPPFLAGS="$(TARGET_CPPFLAGS) -fno-stack-protector" \
- TARGET_LDFLAGS="$(TARGET_LDFLAGS)" \
+ CFLAGS="$(TARGET_CFLAGS) -Os" \
+ TARGET_CFLAGS="$(TARGET_CFLAGS) -Os" \
+ CPPFLAGS="$(TARGET_CPPFLAGS) -Os -fno-stack-protector" \
+ TARGET_CPPFLAGS="$(TARGET_CPPFLAGS) -Os -fno-stack-protector" \
+ TARGET_LDFLAGS="$(TARGET_LDFLAGS) -Os" \
TARGET_NM="$(TARGET_NM)" \
TARGET_OBJCOPY="$(TARGET_OBJCOPY)" \
TARGET_STRIP="$(TARGET_CROSS)strip"
diff --git a/boot/opensbi/0001-Makefile-Don-t-specify-mabi-or-march.patch b/boot/opensbi/0.9/0001-Makefile-Don-t-specify-mabi-or-march.patch
index 5f554a6c24..5f554a6c24 100644
--- a/boot/opensbi/0001-Makefile-Don-t-specify-mabi-or-march.patch
+++ b/boot/opensbi/0.9/0001-Makefile-Don-t-specify-mabi-or-march.patch
diff --git a/boot/opensbi/0002-Makefile-unconditionally-disable-SSP.patch b/boot/opensbi/0.9/0002-Makefile-unconditionally-disable-SSP.patch
index c4edd37f1a..c4edd37f1a 100644
--- a/boot/opensbi/0002-Makefile-unconditionally-disable-SSP.patch
+++ b/boot/opensbi/0.9/0002-Makefile-unconditionally-disable-SSP.patch
diff --git a/boot/opensbi/Config.in b/boot/opensbi/Config.in
index 632eeec88d..f1443498d9 100644
--- a/boot/opensbi/Config.in
+++ b/boot/opensbi/Config.in
@@ -109,4 +109,14 @@ config BR2_TARGET_OPENSBI_UBOOT_PAYLOAD
help
Build OpenSBI with the U-Boot as a Payload.
+config BR2_TARGET_OPENSBI_FW_FDT_PATH
+ bool "Include U-Boot DTB in OpenSBI Payload"
+ depends on BR2_TARGET_OPENSBI_UBOOT_PAYLOAD
+ select BR2_TARGET_UBOOT_FORMAT_DTB
+ help
+ Build OpenSBI with FW_FDT_PATH set to
+ $(BINARIES_DIR)/u-boot.dtb. Note that CONFIG_OF_SEPARATE
+ must be set in the U-Boot configuration for this file to be
+ produced.
+
endif
diff --git a/boot/opensbi/opensbi.mk b/boot/opensbi/opensbi.mk
index f8cbbb8fcc..8e055633a8 100644
--- a/boot/opensbi/opensbi.mk
+++ b/boot/opensbi/opensbi.mk
@@ -20,7 +20,9 @@ OPENSBI_SITE = $(call github,riscv,opensbi,v$(OPENSBI_VERSION))
endif
OPENSBI_LICENSE = BSD-2-Clause
+ifeq ($(BR2_TARGET_OPENSBI_LATEST_VERSION),y)
OPENSBI_LICENSE_FILES = COPYING.BSD
+endif
OPENSBI_INSTALL_TARGET = NO
OPENSBI_INSTALL_STAGING = YES
@@ -44,6 +46,9 @@ endif
ifeq ($(BR2_TARGET_OPENSBI_UBOOT_PAYLOAD),y)
OPENSBI_DEPENDENCIES += uboot
OPENSBI_MAKE_ENV += FW_PAYLOAD_PATH="$(BINARIES_DIR)/u-boot.bin"
+ifeq ($(BR2_TARGET_OPENSBI_FW_FDT_PATH),y)
+OPENSBI_MAKE_ENV += FW_FDT_PATH="$(BINARIES_DIR)/u-boot.dtb"
+endif
endif
define OPENSBI_BUILD_CMDS
diff --git a/boot/optee-os/0001-core-zlib-fix-build-warning-when-_LFS64_LARGEFILE-is.patch b/boot/optee-os/0001-core-zlib-fix-build-warning-when-_LFS64_LARGEFILE-is.patch
new file mode 100644
index 0000000000..0ff61dc524
--- /dev/null
+++ b/boot/optee-os/0001-core-zlib-fix-build-warning-when-_LFS64_LARGEFILE-is.patch
@@ -0,0 +1,56 @@
+From 82becbadd5918ed7ad3c2b651ce479084b5feb2a Mon Sep 17 00:00:00 2001
+From: Etienne Carriere <etienne.carriere@linaro.org>
+Date: Mon, 10 May 2021 15:58:41 +0200
+Subject: core: zlib: fix build warning when _LFS64_LARGEFILE is not defined
+
+In zlib, _LFS64_LARGEFILE is expected to be a boolean directive, either
+1 (true) or 0 (false). Depending on toolchain version and directives
+build may produces warnings (as shown below with gcc 9.3) when the macro
+is not defined hence this change to default it to value 0 (false).
+
+core/lib/zlib/zutil.h:196:39: warning: "_LFS64_LARGEFILE" is not defined, evaluates to 0 [-Wundef]
+ 196 | (!defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0)
+ | ^~~~~~~~~~~~~~~~
+In file included from core/lib/zlib/adler32.c:9:
+core/lib/zlib/zutil.h:196:39: warning: "_LFS64_LARGEFILE" is not defined, evaluates to 0 [-Wundef]
+ 196 | (!defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0)
+ | ^~~~~~~~~~~~~~~~
+ CC out/core/lib/zlib/zutil.o
+In file included from core/lib/zlib/inftrees.c:7:
+core/lib/zlib/zutil.h:196:39: warning: "_LFS64_LARGEFILE" is not defined, evaluates to 0 [-Wundef]
+ 196 | (!defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0)
+ | ^~~~~~~~~~~~~~~~
+In file included from core/lib/zlib/inflate.c:84:
+core/lib/zlib/zutil.h:196:39: warning: "_LFS64_LARGEFILE" is not defined, evaluates to 0 [-Wundef]
+ 196 | (!defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0)
+ | ^~~~~~~~~~~~~~~~
+In file included from core/lib/zlib/zutil.c:9:
+core/lib/zlib/zutil.h:196:39: warning: "_LFS64_LARGEFILE" is not defined, evaluates to 0 [-Wundef]
+ 196 | (!defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0)
+ | ^~~~~~~~~~~~~~~~
+
+Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
+Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
+---
+ core/lib/zlib/zconf.h | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/core/lib/zlib/zconf.h b/core/lib/zlib/zconf.h
+index 0bca18be..a7d13741 100644
+--- a/core/lib/zlib/zconf.h
++++ b/core/lib/zlib/zconf.h
+@@ -487,6 +487,11 @@ typedef uLong FAR uLongf;
+ # endif
+ #endif
+
++/* Other places expect _LFS64_LARGEFILE to be defined with a valid value */
++#ifndef _LFS64_LARGEFILE
++#define _LFS64_LARGEFILE 0
++#endif
++
+ #if defined(_LFS64_LARGEFILE) && _LFS64_LARGEFILE-0
+ # define Z_LFS64
+ #endif
+--
+2.17.1
+
diff --git a/boot/optee-os/Config.in b/boot/optee-os/Config.in
index 8e833ecd75..4679fd2fde 100644
--- a/boot/optee-os/Config.in
+++ b/boot/optee-os/Config.in
@@ -18,7 +18,7 @@ choice
Select the version of OP-TEE OS you want to use
config BR2_TARGET_OPTEE_OS_LATEST
- bool "3.12.0"
+ bool "3.13.0"
help
Use the latest release tag from the OP-TEE OS official Git
repository.
@@ -50,7 +50,7 @@ endif
config BR2_TARGET_OPTEE_OS_VERSION
string
- default "3.12.0" if BR2_TARGET_OPTEE_OS_LATEST
+ default "3.13.0" if BR2_TARGET_OPTEE_OS_LATEST
default BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION \
if BR2_TARGET_OPTEE_OS_CUSTOM_GIT
diff --git a/boot/optee-os/optee-os.hash b/boot/optee-os/optee-os.hash
index 36bc1d9593..3803a69797 100644
--- a/boot/optee-os/optee-os.hash
+++ b/boot/optee-os/optee-os.hash
@@ -1,4 +1,4 @@
-# From https://github.com/OP-TEE/optee_os/archive/3.12.0/optee-os-3.12.0.tar.gz
-sha256 b13991099f25d00dac479db93b55034cb93d206e296f2c7aa9c42b92bca2c783 optee-os-3.12.0.tar.gz
+# From https://github.com/OP-TEE/optee_os/archive/3.13.0/optee-os-3.13.0.tar.gz
+sha256 c6629ba54f62a2624299f7d17cf6df2dadc902e6a862c62f85d1b6da6c909c3f optee-os-3.13.0.tar.gz
# Locally computed
sha256 1247ee90858f4037b6cac63cbffddfed435d0d73c631b37d78c1e6e6ab3e5d1a LICENSE
diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in
index 00c6674120..0854fb13cc 100644
--- a/boot/uboot/Config.in
+++ b/boot/uboot/Config.in
@@ -41,7 +41,7 @@ choice
Select the specific U-Boot version you want to use
config BR2_TARGET_UBOOT_LATEST_VERSION
- bool "2021.04"
+ bool "2021.07"
config BR2_TARGET_UBOOT_CUSTOM_VERSION
bool "Custom version"
@@ -85,7 +85,7 @@ endif
config BR2_TARGET_UBOOT_VERSION
string
- default "2021.04" if BR2_TARGET_UBOOT_LATEST_VERSION
+ default "2021.07" if BR2_TARGET_UBOOT_LATEST_VERSION
default BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE \
if BR2_TARGET_UBOOT_CUSTOM_VERSION
default "custom" if BR2_TARGET_UBOOT_CUSTOM_TARBALL
@@ -252,6 +252,9 @@ config BR2_TARGET_UBOOT_FORMAT_BIN
bool "u-boot.bin"
default y
+config BR2_TARGET_UBOOT_FORMAT_DTB
+ bool "u-boot.dtb"
+
config BR2_TARGET_UBOOT_FORMAT_DTB_BIN
bool "u-boot-dtb.bin"
diff --git a/boot/uboot/uboot.hash b/boot/uboot/uboot.hash
index 9a0b0cb6b0..5a48926ebe 100644
--- a/boot/uboot/uboot.hash
+++ b/boot/uboot/uboot.hash
@@ -1,3 +1,3 @@
# Locally computed:
-sha256 0d438b1bb5cceb57a18ea2de4a0d51f7be5b05b98717df05938636e0aadfe11a u-boot-2021.04.tar.bz2
+sha256 312b7eeae44581d1362c3a3f02c28d806647756c82ba8c72241c7cdbe68ba77e u-boot-2021.07.tar.bz2
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 Licenses/gpl-2.0.txt
diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
index dbe82e65b1..9c2261963d 100644
--- a/boot/uboot/uboot.mk
+++ b/boot/uboot/uboot.mk
@@ -17,7 +17,7 @@ UBOOT_CPE_ID_PRODUCT = u-boot
UBOOT_INSTALL_IMAGES = YES
# u-boot 2020.01+ needs make 4.0+
-UBOOT_DEPENDENCIES = $(BR2_MAKE_HOST_DEPENDENCY)
+UBOOT_DEPENDENCIES = host-pkgconf $(BR2_MAKE_HOST_DEPENDENCY)
UBOOT_MAKE = $(BR2_MAKE)
ifeq ($(UBOOT_VERSION),custom)
@@ -48,6 +48,10 @@ ifeq ($(BR2_TARGET_UBOOT_FORMAT_BIN),y)
UBOOT_BINS += u-boot.bin
endif
+ifeq ($(BR2_TARGET_UBOOT_FORMAT_DTB),y)
+UBOOT_BINS += u-boot.dtb
+endif
+
ifeq ($(BR2_TARGET_UBOOT_FORMAT_ELF),y)
UBOOT_BINS += u-boot
# To make elf usable for debuging on ARC use special target
@@ -307,6 +311,11 @@ define UBOOT_BUILD_CMDS
cp -f $(UBOOT_CUSTOM_DTS_PATH) $(@D)/arch/$(UBOOT_ARCH)/dts/
)
$(TARGET_CONFIGURE_OPTS) \
+ PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
+ PKG_CONFIG_SYSROOT_DIR="/" \
+ PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \
+ PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \
+ PKG_CONFIG_LIBDIR="$(HOST_DIR)/lib/pkgconfig:$(HOST_DIR)/share/pkgconfig" \
$(UBOOT_MAKE) -C $(@D) $(UBOOT_MAKE_OPTS) \
$(UBOOT_MAKE_TARGET)
$(if $(BR2_TARGET_UBOOT_FORMAT_SD),
diff --git a/configs/acmesystems_acqua_a5_256mb_defconfig b/configs/acmesystems_acqua_a5_256mb_defconfig
index 810c3c9782..618ef0e756 100644
--- a/configs/acmesystems_acqua_a5_256mb_defconfig
+++ b/configs/acmesystems_acqua_a5_256mb_defconfig
@@ -17,6 +17,9 @@ BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
# BR2_TARGET_ROOTFS_TAR is not set
BR2_TARGET_AT91BOOTSTRAP3=y
+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y
+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git"
+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.2"
BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="acqua-256m"
BR2_PACKAGE_HOST_DOSFSTOOLS=y
BR2_PACKAGE_HOST_GENIMAGE=y
diff --git a/configs/acmesystems_acqua_a5_512mb_defconfig b/configs/acmesystems_acqua_a5_512mb_defconfig
index 11a7e795e0..e9d74be7c8 100644
--- a/configs/acmesystems_acqua_a5_512mb_defconfig
+++ b/configs/acmesystems_acqua_a5_512mb_defconfig
@@ -17,6 +17,9 @@ BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
# BR2_TARGET_ROOTFS_TAR is not set
BR2_TARGET_AT91BOOTSTRAP3=y
+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y
+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git"
+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.2"
BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="acqua-512m"
BR2_PACKAGE_HOST_DOSFSTOOLS=y
BR2_PACKAGE_HOST_GENIMAGE=y
diff --git a/configs/beaglebone_defconfig b/configs/beaglebone_defconfig
index 9a4be13ec5..763696d1dd 100644
--- a/configs/beaglebone_defconfig
+++ b/configs/beaglebone_defconfig
@@ -1,31 +1,52 @@
+# Architecture
BR2_arm=y
BR2_cortex_a8=y
+BR2_ARM_FPU_VFPV3=y
+
+# Patches
BR2_GLOBAL_PATCH_DIR="board/beaglebone/patches"
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
+
+# Linux headers same as kernel, a 5.10 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+
+# System
+BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
+
+# Image
BR2_ROOTFS_POST_BUILD_SCRIPT="board/beaglebone/post-build.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beaglebone/genimage.cfg"
+
+# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,beagleboard,linux,4.19.79-ti-r30)/linux-4.19.79-ti-r30.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,beagleboard,linux,5.10.30-ti-r3)/linux-5.10.30-ti-r3.tar.gz"
BR2_LINUX_KERNEL_DEFCONFIG="omap2plus"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-evm am335x-bone am335x-boneblack am335x-bonegreen am335x-evmsk am335x-boneblue"
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
+
+# Filesystem
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
+
+# Bootloader
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.04"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am335x_evm"
BR2_TARGET_UBOOT_NEEDS_DTC=y
# BR2_TARGET_UBOOT_FORMAT_BIN is not set
BR2_TARGET_UBOOT_FORMAT_IMG=y
BR2_TARGET_UBOOT_SPL=y
BR2_TARGET_UBOOT_SPL_NAME="MLO"
+
+# Required tools to create the SD image
BR2_PACKAGE_HOST_DOSFSTOOLS=y
BR2_PACKAGE_HOST_GENIMAGE=y
BR2_PACKAGE_HOST_MTOOLS=y
+
+# Supporting host tools to build FIT image
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y
diff --git a/configs/beaglev_defconfig b/configs/beaglev_defconfig
index 8943ce9c34..82a6e9abc4 100644
--- a/configs/beaglev_defconfig
+++ b/configs/beaglev_defconfig
@@ -4,16 +4,17 @@ BR2_RISCV_ISA_CUSTOM_RVM=y
BR2_RISCV_ISA_CUSTOM_RVF=y
BR2_RISCV_ISA_CUSTOM_RVD=y
BR2_RISCV_ISA_CUSTOM_RVC=y
-BR2_GLOBAL_PATCH_DIR="board/beaglev/patches/"
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y
BR2_ROOTFS_POST_BUILD_SCRIPT="board/beaglev/post-build.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beaglev/genimage.cfg"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-# HEAD of the Fedora branch
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,starfive-tech,linux,710cf052d6abda73584481d920b4b6befc7240ea)/linux-710cf052d6abda73584481d920b4b6befc7240ea.tar.gz"
-BR2_LINUX_KERNEL_DEFCONFIG="starfive_vic7100_evb_sd_net"
+# tag buildroot-20210609 of the 5.13 branch (esmil_starlight)
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,starfive-tech,linux,83dba1f25dfc118cacec991c31a7a4cfa7405c89)/linux-83dba1f25dfc118cacec991c31a7a4cfa7405c89.tar.gz"
+BR2_LINUX_KERNEL_DEFCONFIG="starlight"
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="starfive/jh7100-beaglev-starlight"
BR2_LINUX_KERNEL_INSTALL_TARGET=y
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
@@ -22,16 +23,18 @@ BR2_TARGET_BEAGLEV_DDRINIT=y
BR2_TARGET_BEAGLEV_SECONDBOOT=y
BR2_TARGET_OPENSBI=y
BR2_TARGET_OPENSBI_CUSTOM_TARBALL=y
-# HEAD of the Fedora branch
-BR2_TARGET_OPENSBI_CUSTOM_TARBALL_LOCATION="$(call github,starfive-tech,opensbi,2524b0ecd8684b42bc7a4c69794f40f11cbbe2a5)/opensbi-2524b0ecd8684b42bc7a4c69794f40f11cbbe2a5.tar.gz"
-BR2_TARGET_OPENSBI_PLAT="starfive/vic7100"
+# upstream opensbi master branch
+BR2_TARGET_OPENSBI_CUSTOM_TARBALL_LOCATION="$(call github,riscv,opensbi,79f9b4220ffa7f74356054be25d450d7958bf16c)/opensbi-79f9b4220ffa7f74356054be25d450d7958bf16c.tar.gz"
+BR2_TARGET_OPENSBI_PLAT="generic"
# BR2_TARGET_OPENSBI_INSTALL_DYNAMIC_IMG is not set
# BR2_TARGET_OPENSBI_INSTALL_JUMP_IMG is not set
BR2_TARGET_OPENSBI_UBOOT_PAYLOAD=y
+BR2_TARGET_OPENSBI_FW_FDT_PATH=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
-# HEAD of the Fedora branch
-BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,starfive-tech,u-boot,3f3ac01a29ad1cd5fa519d86f81daead2447f1d4)/uboot-3f3ac01a29ad1cd5fa519d86f81daead2447f1d4.tar.gz"
+# HEAD of the starfive-tech:Fedora_VIC_7100_2021.04 branch
+BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,starfive-tech,u-boot,64ead5b83959da8eb87b6963843addf5942e6ed4)/uboot-64ead5b83959da8eb87b6963843addf5942e6ed4.tar.gz"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="starfive_vic7100_beagle_v_smode"
BR2_PACKAGE_HOST_GENIMAGE=y
+BR2_PACKAGE_HOST_JH71XX_TOOLS=y
diff --git a/configs/chromebook_elm_defconfig b/configs/chromebook_elm_defconfig
index 4f82370fb9..827d929631 100644
--- a/configs/chromebook_elm_defconfig
+++ b/configs/chromebook_elm_defconfig
@@ -2,20 +2,17 @@
BR2_aarch64=y
BR2_cortex_a72_a53=y
-# Patches
-BR2_GLOBAL_PATCH_DIR="board/chromebook/elm/patches/"
-
# Filesystem
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
-# Linux headers same as kernel (5.9 series)
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_9=y
+# Linux headers same as kernel (5.10 series)
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.9"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10"
# Build Kernel with a Custom config.
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
diff --git a/configs/engicam_imx6qdl_icore_qt5_defconfig b/configs/engicam_imx6qdl_icore_qt5_defconfig
index b893c6aead..2d213e4ab9 100644
--- a/configs/engicam_imx6qdl_icore_qt5_defconfig
+++ b/configs/engicam_imx6qdl_icore_qt5_defconfig
@@ -61,7 +61,6 @@ BR2_PACKAGE_QT5BASE_JPEG=y
# mesa3d
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV=y
-BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO=y
BR2_PACKAGE_MESA3D_OPENGL_ES=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
diff --git a/configs/globalscale_espressobin_defconfig b/configs/globalscale_espressobin_defconfig
index 50cfc6b530..37d9c1859c 100644
--- a/configs/globalscale_espressobin_defconfig
+++ b/configs/globalscale_espressobin_defconfig
@@ -2,17 +2,17 @@ BR2_aarch64=y
BR2_cortex_a53=y
BR2_ARM_FPU_VFPV4=y
-# Linux headers same as kernel, a 5.6 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6=y
+# Linux headers same as kernel, a 5.11 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_11=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.6.11"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.11.21"
BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/globalscale/espressobin/linux-extras.config"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
-BR2_LINUX_KERNEL_INTREE_DTS_NAME="marvell/armada-3720-espressobin marvell/armada-3720-espressobin-emmc marvell/armada-3720-espressobin-v7 marvell/armada-3720-espressobin-v7-emmc"
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="marvell/armada-3720-espressobin marvell/armada-3720-espressobin-emmc marvell/armada-3720-espressobin-v7 marvell/armada-3720-espressobin-v7-emmc marvell/armada-3720-espressobin-ultra"
BR2_LINUX_KERNEL_INSTALL_TARGET=y
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
diff --git a/configs/imx6-sabresd_qt5_defconfig b/configs/imx6-sabresd_qt5_defconfig
index 8cdc0e2544..1330b5cfbf 100644
--- a/configs/imx6-sabresd_qt5_defconfig
+++ b/configs/imx6-sabresd_qt5_defconfig
@@ -48,7 +48,6 @@ BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
# GL driver
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV=y
-BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO=y
BR2_PACKAGE_MESA3D_OPENGL_ES=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
diff --git a/configs/imx7d-sdb_defconfig b/configs/imx7d-sdb_defconfig
index 1a3494b4af..8ee5e1fc40 100644
--- a/configs/imx7d-sdb_defconfig
+++ b/configs/imx7d-sdb_defconfig
@@ -3,8 +3,8 @@ BR2_arm=y
BR2_cortex_a7=y
BR2_ARM_FPU_NEON_VFPV4=y
-# Linux headers same as kernel, a 5.4 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y
+# Linux headers same as kernel, a 5.13 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_13=y
# system
BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
@@ -12,20 +12,22 @@ BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.4.8"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.13"
BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx7d-sdb"
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
+BR2_LINUX_KERNEL_INSTALL_TARGET=y
# U-Boot
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="mx7dsabresd"
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.01"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.07"
BR2_TARGET_UBOOT_FORMAT_DTB_IMX=y
# Filesystem
+BR2_ROOTFS_OVERLAY="board/freescale/imx7dsdb/rootfs_overlay"
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
diff --git a/configs/imx7dpico_defconfig b/configs/imx7dpico_defconfig
index a3c2af1641..c6ea04b683 100644
--- a/configs/imx7dpico_defconfig
+++ b/configs/imx7dpico_defconfig
@@ -3,8 +3,8 @@ BR2_arm=y
BR2_cortex_a7=y
BR2_ARM_FPU_NEON_VFPV4=y
-# Linux headers same as kernel, a 5.7 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7=y
+# Linux headers same as kernel, a 5.13 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_13=y
# system
BR2_TARGET_GENERIC_GETTY_PORT="ttymxc4"
@@ -12,7 +12,7 @@ BR2_TARGET_GENERIC_GETTY_PORT="ttymxc4"
# kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.7.1"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.13"
BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx7d-pico-pi"
@@ -25,7 +25,7 @@ BR2_TARGET_UBOOT_SPL=y
BR2_TARGET_UBOOT_SPL_NAME="SPL"
BR2_TARGET_UBOOT_BOARDNAME="pico-pi-imx7d"
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.04"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.07"
BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y
# wifi firmware for brcm43439
diff --git a/configs/kontron_pitx_imx8m_defconfig b/configs/kontron_pitx_imx8m_defconfig
new file mode 100644
index 0000000000..4053e1e398
--- /dev/null
+++ b/configs/kontron_pitx_imx8m_defconfig
@@ -0,0 +1,54 @@
+# Architecture
+BR2_aarch64=y
+BR2_ARM_FPU_VFPV3=y
+
+# System
+BR2_TARGET_GENERIC_GETTY_PORT="ttymxc2"
+BR2_ROOTFS_POST_BUILD_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/kontron/pitx-imx8m/post-build.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/kontron/pitx-imx8m/post-image.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/pitx-imx8mq.dtb"
+
+# Kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.13"
+BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mq-kontron-pitx-imx8m"
+BR2_LINUX_KERNEL_INSTALL_TARGET=y
+BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
+
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_13=y
+
+BR2_PACKAGE_FREESCALE_IMX=y
+BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y
+BR2_PACKAGE_FIRMWARE_IMX=y
+
+# Filesystem / image
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
+
+# Bootloader
+BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.5"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mq"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
+BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
+BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://gitlab.kontron.com/imx/u-boot-imx/-/archive/PITX-IMX8M-R12/u-boot-imx-PITX-IMX8M-R12.tar.gz"
+BR2_TARGET_UBOOT_BOARD_DEFCONFIG="pitx-imx8m"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
+BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin"
+BR2_TARGET_UBOOT_SPL=y
+
+# Required host tools to create the SD/eMMC image
+BR2_PACKAGE_HOST_GENIMAGE=y
+BR2_PACKAGE_HOST_IMX_MKIMAGE=y
+BR2_PACKAGE_HOST_UBOOT_TOOLS=y
+BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y
+BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y
+BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/kontron/pitx-imx8m/boot.cmd"
diff --git a/configs/kontron_smarc_sal28_defconfig b/configs/kontron_smarc_sal28_defconfig
index 853c7c308a..ba18cc51cb 100644
--- a/configs/kontron_smarc_sal28_defconfig
+++ b/configs/kontron_smarc_sal28_defconfig
@@ -1,6 +1,6 @@
BR2_aarch64=y
BR2_cortex_a72=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_13=y
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_ROOTFS_OVERLAY="board/kontron/smarc-sal28/rootfs_overlay"
@@ -9,7 +9,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.13"
BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/fsl-ls1028a-kontron-sl28 freescale/fsl-ls1028a-kontron-sl28-var2 freescale/fsl-ls1028a-kontron-sl28-var3-ads2 freescale/fsl-ls1028a-kontron-sl28-var4 freescale/fsl-ls1028a-kontron-kbox-a-230-ls"
diff --git a/configs/microchip_sama5d2_icp_mmc_defconfig b/configs/microchip_sama5d2_icp_mmc_defconfig
new file mode 100644
index 0000000000..2196555311
--- /dev/null
+++ b/configs/microchip_sama5d2_icp_mmc_defconfig
@@ -0,0 +1,31 @@
+BR2_arm=y
+BR2_cortex_a5=y
+BR2_ARM_ENABLE_NEON=y
+BR2_ARM_ENABLE_VFP=y
+BR2_ARM_INSTRUCTIONS_THUMB2=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y
+BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/microchip/sama5d2_icp/genimage.cfg"
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam-2020.10)/linux-linux4sam-2020.10.tar.gz"
+BR2_LINUX_KERNEL_DEFCONFIG="sama5"
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d2_icp"
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
+BR2_TARGET_AT91BOOTSTRAP3=y
+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y
+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y
+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.0-rc2)/at91bootstrap-v4.0.0-rc2.tar.gz"
+BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d2_icpsd_uboot"
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
+BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
+BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam-2020.10)/u-boot-at91-linux4sam-2020.10.tar.gz"
+BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d2_icp_mmc"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_PACKAGE_HOST_DOSFSTOOLS=y
+BR2_PACKAGE_HOST_GENIMAGE=y
+BR2_PACKAGE_HOST_MTOOLS=y
diff --git a/configs/microchip_sama5d2_icp_mmc_dev_defconfig b/configs/microchip_sama5d2_icp_mmc_dev_defconfig
new file mode 100644
index 0000000000..1966d4baf1
--- /dev/null
+++ b/configs/microchip_sama5d2_icp_mmc_dev_defconfig
@@ -0,0 +1,74 @@
+BR2_arm=y
+BR2_cortex_a5=y
+BR2_ARM_ENABLE_NEON=y
+BR2_ARM_ENABLE_VFP=y
+BR2_ARM_INSTRUCTIONS_THUMB2=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y
+BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
+BR2_PTHREAD_DEBUG=y
+BR2_TOOLCHAIN_BUILDROOT_CXX=y
+BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
+BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/microchip/sama5d2_icp/genimage.cfg"
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam-2020.10)/linux-linux4sam-2020.10.tar.gz"
+BR2_LINUX_KERNEL_DEFCONFIG="sama5"
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d2_icp"
+BR2_PACKAGE_LINUX_TOOLS_IIO=y
+BR2_PACKAGE_BZIP2=y
+BR2_PACKAGE_XZ=y
+BR2_PACKAGE_ZIP=y
+BR2_PACKAGE_GDB=y
+BR2_PACKAGE_LMBENCH=y
+BR2_PACKAGE_STRACE=y
+BR2_PACKAGE_TREE=y
+BR2_PACKAGE_DOSFSTOOLS=y
+BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y
+BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y
+BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y
+BR2_PACKAGE_MMC_UTILS=y
+BR2_PACKAGE_MTD=y
+BR2_PACKAGE_WILC1000_FIRMWARE=y
+BR2_PACKAGE_EVTEST=y
+BR2_PACKAGE_SETSERIAL=y
+BR2_PACKAGE_SPI_TOOLS=y
+BR2_PACKAGE_USBUTILS=y
+BR2_PACKAGE_LIBSYSFS=y
+BR2_PACKAGE_LIBDRM=y
+BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y
+BR2_PACKAGE_DTC=y
+BR2_PACKAGE_DTC_PROGRAMS=y
+BR2_PACKAGE_ARGP_STANDALONE=y
+BR2_PACKAGE_BLUEZ5_UTILS=y
+BR2_PACKAGE_BRIDGE_UTILS=y
+BR2_PACKAGE_CAN_UTILS=y
+BR2_PACKAGE_ETHTOOL=y
+BR2_PACKAGE_IPERF=y
+BR2_PACKAGE_IPROUTE2=y
+BR2_PACKAGE_IPTABLES=y
+BR2_PACKAGE_IW=y
+BR2_PACKAGE_LRZSZ=y
+BR2_PACKAGE_MII_DIAG=y
+BR2_PACKAGE_OPENSSH=y
+BR2_PACKAGE_WIRELESS_TOOLS=y
+BR2_PACKAGE_WPA_SUPPLICANT=y
+BR2_PACKAGE_HTOP=y
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
+BR2_TARGET_AT91BOOTSTRAP3=y
+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y
+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y
+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.0-rc2)/at91bootstrap-v4.0.0-rc2.tar.gz"
+BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d2_icpsd_uboot"
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
+BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
+BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam-2020.10)/u-boot-at91-linux4sam-2020.10.tar.gz"
+BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d2_icp_mmc"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_PACKAGE_HOST_DOSFSTOOLS=y
+BR2_PACKAGE_HOST_GENIMAGE=y
+BR2_PACKAGE_HOST_MTOOLS=y
diff --git a/configs/minnowboard_max-graphical_defconfig b/configs/minnowboard_max-graphical_defconfig
index 3b769ca6e7..051c7584dc 100644
--- a/configs/minnowboard_max-graphical_defconfig
+++ b/configs/minnowboard_max-graphical_defconfig
@@ -40,7 +40,6 @@ BR2_PACKAGE_ALSA_UTILS_APLAY=y
BR2_PACKAGE_GLMARK2=y
BR2_PACKAGE_MESA3D_DEMOS=y
BR2_PACKAGE_MESA3D=y
-BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST=y
BR2_PACKAGE_MESA3D_DRI_DRIVER_I965=y
BR2_PACKAGE_MESA3D_OPENGL_GLX=y
diff --git a/configs/mx6cubox_defconfig b/configs/mx6cubox_defconfig
index ae23535824..60bfd17092 100644
--- a/configs/mx6cubox_defconfig
+++ b/configs/mx6cubox_defconfig
@@ -11,13 +11,14 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
# System configuration
BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
-BR2_ROOTFS_POST_BUILD_SCRIPT="board/solidrun/mx6cubox/post-build.sh"
-BR2_ROOTFS_POST_IMAGE_SCRIPT="board/solidrun/mx6cubox/post-image.sh"
+BR2_ROOTFS_OVERLAY="board/solidrun/mx6cubox/rootfs_overlay"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
+BR2_GLOBAL_PATCH_DIR="board/solidrun/mx6cubox/patches"
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.27"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.48"
BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-cubox-i imx6dl-cubox-i-emmc-som-v15 imx6dl-cubox-i-som-v15 imx6dl-hummingboard imx6dl-hummingboard-emmc-som-v15 imx6dl-hummingboard-som-v15 imx6q-cubox-i imx6q-cubox-i-emmc-som-v15 imx6q-cubox-i-som-v15 imx6q-hummingboard imx6q-hummingboard-emmc-som-v15 imx6q-hummingboard-som-v15"
@@ -32,7 +33,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.07"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="mx6cuboxi"
BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
diff --git a/configs/olimex_a20_olinuxino_lime2_defconfig b/configs/olimex_a20_olinuxino_lime2_defconfig
index 150e0a1445..dca6123c18 100644
--- a/configs/olimex_a20_olinuxino_lime2_defconfig
+++ b/configs/olimex_a20_olinuxino_lime2_defconfig
@@ -15,14 +15,14 @@ BR2_TARGET_GENERIC_HOSTNAME="a20-olinuxino"
BR2_TARGET_GENERIC_ISSUE="Welcome to OLinuXino!"
BR2_TARGET_GENERIC_GETTY=y
BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
-BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a20_olinuxino/post-build.sh"
+BR2_ROOTFS_OVERLAY="board/olimex/a20_olinuxino/rootfs_overlay"
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg"
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.27"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.48"
BR2_LINUX_KERNEL_USE_DEFCONFIG=y
BR2_LINUX_KERNEL_DEFCONFIG="sunxi"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
@@ -43,7 +43,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.07"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino-Lime2"
BR2_TARGET_UBOOT_NEEDS_DTC=y
BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
@@ -52,8 +52,6 @@ BR2_TARGET_UBOOT_FORMAT_BIN=y
BR2_TARGET_UBOOT_SPL=y
BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
-BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y
-BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/olimex/a20_olinuxino/boot.cmd"
# Additional tools
BR2_PACKAGE_HOST_GENIMAGE=y
diff --git a/configs/olimex_a20_olinuxino_lime_defconfig b/configs/olimex_a20_olinuxino_lime_defconfig
index 4f4a6b1fc9..0eaacc9ec1 100644
--- a/configs/olimex_a20_olinuxino_lime_defconfig
+++ b/configs/olimex_a20_olinuxino_lime_defconfig
@@ -15,14 +15,14 @@ BR2_TARGET_GENERIC_HOSTNAME="a20-olinuxino"
BR2_TARGET_GENERIC_ISSUE="Welcome to OLinuXino!"
BR2_TARGET_GENERIC_GETTY=y
BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
-BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a20_olinuxino/post-build.sh"
+BR2_ROOTFS_OVERLAY="board/olimex/a20_olinuxino/rootfs_overlay"
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg"
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.27"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.48"
BR2_LINUX_KERNEL_USE_DEFCONFIG=y
BR2_LINUX_KERNEL_DEFCONFIG="sunxi"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
@@ -43,7 +43,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.07"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino-Lime"
BR2_TARGET_UBOOT_NEEDS_DTC=y
BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
@@ -52,8 +52,6 @@ BR2_TARGET_UBOOT_FORMAT_BIN=y
BR2_TARGET_UBOOT_SPL=y
BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
-BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y
-BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/olimex/a20_olinuxino/boot.cmd"
# Additional tools
BR2_PACKAGE_HOST_GENIMAGE=y
diff --git a/configs/orangepi_one_defconfig b/configs/orangepi_one_defconfig
index 20b78fe7c8..1a2772a307 100644
--- a/configs/orangepi_one_defconfig
+++ b/configs/orangepi_one_defconfig
@@ -1,34 +1,35 @@
BR2_arm=y
BR2_cortex_a7=y
BR2_ARM_FPU_VFPV4=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_3=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y
BR2_TARGET_GENERIC_HOSTNAME="OrangePi_One"
BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi One"
BR2_SYSTEM_DHCP="eth0"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.3.8"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.2"
BR2_LINUX_KERNEL_DEFCONFIG="sunxi"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-h3-orangepi-one"
+BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
# BR2_TARGET_ROOTFS_TAR is not set
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.10"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_one"
BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
-BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
-BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin"
+BR2_TARGET_UBOOT_SPL=y
+BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y
BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-one/boot.cmd"
BR2_PACKAGE_HOST_DOSFSTOOLS=y
BR2_PACKAGE_HOST_GENIMAGE=y
BR2_PACKAGE_HOST_MTOOLS=y
-BR2_PACKAGE_HOST_UBOOT_TOOLS=y
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/orangepi/orangepi-one/genimage.cfg"
diff --git a/configs/orangepi_pc_plus_defconfig b/configs/orangepi_pc_plus_defconfig
index a42b380f60..c3ff8bc417 100644
--- a/configs/orangepi_pc_plus_defconfig
+++ b/configs/orangepi_pc_plus_defconfig
@@ -2,13 +2,13 @@ BR2_arm=y
BR2_cortex_a7=y
BR2_ARM_FPU_VFPV4=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_3=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y
BR2_TARGET_GENERIC_HOSTNAME="OrangePi_PC_Plus"
BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi PC Plus"
BR2_SYSTEM_DHCP="eth0"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.3.8"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.2"
BR2_LINUX_KERNEL_DEFCONFIG="sunxi"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-h3-orangepi-pc-plus"
@@ -20,12 +20,13 @@ BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.10"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_pc_plus"
BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
-BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
-BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin"
+BR2_TARGET_UBOOT_SPL=y
+BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y
BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-pc-plus/boot.cmd"
BR2_PACKAGE_HOST_DOSFSTOOLS=y
diff --git a/configs/orangepi_zero_defconfig b/configs/orangepi_zero_defconfig
index b008523c84..1c107b10e6 100644
--- a/configs/orangepi_zero_defconfig
+++ b/configs/orangepi_zero_defconfig
@@ -3,13 +3,13 @@ BR2_cortex_a7=y
BR2_ARM_FPU_VFPV4=y
BR2_GLOBAL_PATCH_DIR="board/orangepi/orangepi-zero/patches"
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y
BR2_TARGET_GENERIC_HOSTNAME="OrangePi_Zero"
BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi Zero"
BR2_SYSTEM_DHCP="eth0"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.10"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.2"
BR2_LINUX_KERNEL_DEFCONFIG="sunxi"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-h2-plus-orangepi-zero"
@@ -21,13 +21,13 @@ BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.10"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_zero"
BR2_TARGET_UBOOT_NEEDS_DTC=y
BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
-BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
-BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin"
+BR2_TARGET_UBOOT_SPL=y
+BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y
BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-zero/boot.cmd"
diff --git a/configs/orangepi_zero_plus2_defconfig b/configs/orangepi_zero_plus2_defconfig
index aa4c5c9413..da2d3b4178 100644
--- a/configs/orangepi_zero_plus2_defconfig
+++ b/configs/orangepi_zero_plus2_defconfig
@@ -2,32 +2,30 @@ BR2_aarch64=y
BR2_cortex_a53=y
BR2_ARM_FPU_VFPV4=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
BR2_ROOTFS_OVERLAY="board/orangepi/orangepi-zero-plus2/rootfs_overlay"
# Firmware
BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
-BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y
-BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/apritzel/arm-trusted-firmware.git"
-BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50iw1p1"
-BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="aa75c8da415158a94b82a430b2b40000778e851f"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.5"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64"
BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y
# Bootloader
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.10"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_zero_plus2"
BR2_TARGET_UBOOT_NEEDS_DTC=y
BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y
-BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
-BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb"
BR2_TARGET_UBOOT_SPL=y
-BR2_TARGET_UBOOT_SPL_NAME="spl/sunxi-spl.bin"
+BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
+BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="SCP=/dev/null"
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y
BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-zero-plus2/boot.cmd"
@@ -35,7 +33,7 @@ BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-zero-pl
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.10"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.10"
BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h5-orangepi-zero-plus2"
diff --git a/configs/qemu_aarch64_sbsa_defconfig b/configs/qemu_aarch64_sbsa_defconfig
new file mode 100644
index 0000000000..d014140bf5
--- /dev/null
+++ b/configs/qemu_aarch64_sbsa_defconfig
@@ -0,0 +1,52 @@
+# Architecture
+BR2_aarch64=y
+BR2_cortex_a53=y
+
+# Toolchain
+BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
+
+# System
+BR2_SYSTEM_DHCP="eth0"
+BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
+
+# Filesystem
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+# BR2_TARGET_ROOTFS_TAR is not set
+
+# Image
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/aarch64-sbsa/assemble-flash-images support/scripts/genimage.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/qemu/aarch64-sbsa/genimage.cfg"
+
+# Linux headers same as kernel, a 5.10 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+
+# Kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.34"
+BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
+BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
+
+# UEFI firmware
+BR2_TARGET_EDK2=y
+BR2_TARGET_EDK2_PLATFORM_QEMU_SBSA=y
+BR2_TARGET_GRUB2=y
+BR2_TARGET_GRUB2_ARM64_EFI=y
+
+# ARM Trusted Firmware
+BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/ARM-software/arm-trusted-firmware.git"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="v2.4"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="qemu_sbsa"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y
+
+# Host tools for genimage
+BR2_PACKAGE_HOST_GENIMAGE=y
+BR2_PACKAGE_HOST_DOSFSTOOLS=y
+BR2_PACKAGE_HOST_MTOOLS=y
+
+# host-qemu for gitlab testing
+BR2_PACKAGE_HOST_QEMU=y
+BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
diff --git a/configs/qemu_s390x_defconfig b/configs/qemu_s390x_defconfig
index 9b3821f043..ba8f3b2908 100644
--- a/configs/qemu_s390x_defconfig
+++ b/configs/qemu_s390x_defconfig
@@ -17,9 +17,10 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.41"
BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
+BR2_GLOBAL_PATCH_DIR="board/qemu/s390x/patches"
# host-qemu for gitlab testing
BR2_PACKAGE_HOST_QEMU=y
diff --git a/configs/qemu_sparc64_sun4u_defconfig b/configs/qemu_sparc64_sun4u_defconfig
index cff0c2968a..6a999298eb 100644
--- a/configs/qemu_sparc64_sun4u_defconfig
+++ b/configs/qemu_sparc64_sun4u_defconfig
@@ -2,6 +2,9 @@
BR2_sparc64=y
BR2_sparc_v9=y
+# Patches
+BR2_GLOBAL_PATCH_DIR="board/qemu/sparc64-sun4u/patches"
+
# System
BR2_SYSTEM_DHCP="eth0"
diff --git a/configs/raspberrypi0_defconfig b/configs/raspberrypi0_defconfig
index 84de42c631..c17fe99c45 100644
--- a/configs/raspberrypi0_defconfig
+++ b/configs/raspberrypi0_defconfig
@@ -9,7 +9,7 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,96110e96f1a82e236afb9a248258f1ef917766e9)/linux-96110e96f1a82e236afb9a248258f1ef917766e9.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4afd064509b23882268922824edc5b391a1ea55d)/linux-4afd064509b23882268922824edc5b391a1ea55d.tar.gz"
BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi"
# Build the DTBs for A/B from the kernel sources: the zero is the same
diff --git a/configs/raspberrypi0w_defconfig b/configs/raspberrypi0w_defconfig
index cf2f61a301..3a5e306299 100644
--- a/configs/raspberrypi0w_defconfig
+++ b/configs/raspberrypi0w_defconfig
@@ -9,7 +9,7 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,96110e96f1a82e236afb9a248258f1ef917766e9)/linux-96110e96f1a82e236afb9a248258f1ef917766e9.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4afd064509b23882268922824edc5b391a1ea55d)/linux-4afd064509b23882268922824edc5b391a1ea55d.tar.gz"
BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-zero-w"
diff --git a/configs/raspberrypi2_defconfig b/configs/raspberrypi2_defconfig
index dc0939b639..1eee3ae37e 100644
--- a/configs/raspberrypi2_defconfig
+++ b/configs/raspberrypi2_defconfig
@@ -12,7 +12,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,96110e96f1a82e236afb9a248258f1ef917766e9)/linux-96110e96f1a82e236afb9a248258f1ef917766e9.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4afd064509b23882268922824edc5b391a1ea55d)/linux-4afd064509b23882268922824edc5b391a1ea55d.tar.gz"
BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
# Build the DTB from the kernel sources
diff --git a/configs/raspberrypi3_64_defconfig b/configs/raspberrypi3_64_defconfig
index 04a2d01982..859d95314c 100644
--- a/configs/raspberrypi3_64_defconfig
+++ b/configs/raspberrypi3_64_defconfig
@@ -11,7 +11,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,96110e96f1a82e236afb9a248258f1ef917766e9)/linux-96110e96f1a82e236afb9a248258f1ef917766e9.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4afd064509b23882268922824edc5b391a1ea55d)/linux-4afd064509b23882268922824edc5b391a1ea55d.tar.gz"
BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi3"
# Build the DTB from the kernel sources
diff --git a/configs/raspberrypi3_defconfig b/configs/raspberrypi3_defconfig
index b2db9af239..67ce0d5314 100644
--- a/configs/raspberrypi3_defconfig
+++ b/configs/raspberrypi3_defconfig
@@ -11,7 +11,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,96110e96f1a82e236afb9a248258f1ef917766e9)/linux-96110e96f1a82e236afb9a248258f1ef917766e9.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4afd064509b23882268922824edc5b391a1ea55d)/linux-4afd064509b23882268922824edc5b391a1ea55d.tar.gz"
BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
# Build the DTB from the kernel sources
diff --git a/configs/raspberrypi3_qt5we_defconfig b/configs/raspberrypi3_qt5we_defconfig
index 5ce32bb9e6..d9538dc648 100644
--- a/configs/raspberrypi3_qt5we_defconfig
+++ b/configs/raspberrypi3_qt5we_defconfig
@@ -12,7 +12,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,96110e96f1a82e236afb9a248258f1ef917766e9)/linux-96110e96f1a82e236afb9a248258f1ef917766e9.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4afd064509b23882268922824edc5b391a1ea55d)/linux-4afd064509b23882268922824edc5b391a1ea55d.tar.gz"
BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
# Build the DTB from the kernel sources
diff --git a/configs/raspberrypi4_64_defconfig b/configs/raspberrypi4_64_defconfig
index bd7a470cda..312ec64471 100644
--- a/configs/raspberrypi4_64_defconfig
+++ b/configs/raspberrypi4_64_defconfig
@@ -11,7 +11,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,96110e96f1a82e236afb9a248258f1ef917766e9)/linux-96110e96f1a82e236afb9a248258f1ef917766e9.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4afd064509b23882268922824edc5b391a1ea55d)/linux-4afd064509b23882268922824edc5b391a1ea55d.tar.gz"
BR2_LINUX_KERNEL_DEFCONFIG="bcm2711"
# Build the DTB from the kernel sources
diff --git a/configs/raspberrypi4_defconfig b/configs/raspberrypi4_defconfig
index 35a6218a5c..3ae2d253fb 100644
--- a/configs/raspberrypi4_defconfig
+++ b/configs/raspberrypi4_defconfig
@@ -11,7 +11,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,96110e96f1a82e236afb9a248258f1ef917766e9)/linux-96110e96f1a82e236afb9a248258f1ef917766e9.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4afd064509b23882268922824edc5b391a1ea55d)/linux-4afd064509b23882268922824edc5b391a1ea55d.tar.gz"
BR2_LINUX_KERNEL_DEFCONFIG="bcm2711"
# Build the DTB from the kernel sources
diff --git a/configs/raspberrypi_defconfig b/configs/raspberrypi_defconfig
index 214dc0eccb..75e7177974 100644
--- a/configs/raspberrypi_defconfig
+++ b/configs/raspberrypi_defconfig
@@ -11,7 +11,7 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,96110e96f1a82e236afb9a248258f1ef917766e9)/linux-96110e96f1a82e236afb9a248258f1ef917766e9.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4afd064509b23882268922824edc5b391a1ea55d)/linux-4afd064509b23882268922824edc5b391a1ea55d.tar.gz"
BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi"
# Build the DTBs for A/B, A+/B+ and compute module from the kernel sources
diff --git a/configs/raspberrypicm4io_64_defconfig b/configs/raspberrypicm4io_64_defconfig
new file mode 100644
index 0000000000..304428ec64
--- /dev/null
+++ b/configs/raspberrypicm4io_64_defconfig
@@ -0,0 +1,41 @@
+BR2_aarch64=y
+BR2_cortex_a72=y
+BR2_ARM_FPU_VFPV4=y
+
+BR2_TOOLCHAIN_BUILDROOT_CXX=y
+
+BR2_SYSTEM_DHCP="eth0"
+
+# Linux headers same as kernel, a 5.10 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4afd064509b23882268922824edc5b391a1ea55d)/linux-4afd064509b23882268922824edc5b391a1ea55d.tar.gz"
+BR2_LINUX_KERNEL_DEFCONFIG="bcm2711"
+
+# Build the DTB from the kernel sources
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2711-rpi-cm4"
+
+BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
+
+BR2_PACKAGE_RPI_FIRMWARE=y
+BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4=y
+
+# Required tools to create the SD image
+BR2_PACKAGE_HOST_DOSFSTOOLS=y
+BR2_PACKAGE_HOST_GENIMAGE=y
+BR2_PACKAGE_HOST_MTOOLS=y
+
+# Required tool to flash CM4 eMMC memory
+BR2_PACKAGE_HOST_RASPBERRYPI_USBBOOT=y
+
+# Filesystem / image
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
+# BR2_TARGET_ROOTFS_TAR is not set
+BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypicm4io-64/post-build.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypicm4io-64/post-image.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="--add-miniuart-bt-overlay --aarch64"
diff --git a/configs/raspberrypicm4io_defconfig b/configs/raspberrypicm4io_defconfig
new file mode 100644
index 0000000000..f4ba22dfe5
--- /dev/null
+++ b/configs/raspberrypicm4io_defconfig
@@ -0,0 +1,41 @@
+BR2_arm=y
+BR2_cortex_a72=y
+BR2_ARM_FPU_NEON_VFPV4=y
+
+BR2_TOOLCHAIN_BUILDROOT_CXX=y
+
+BR2_SYSTEM_DHCP="eth0"
+
+# Linux headers same as kernel, a 5.10 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4afd064509b23882268922824edc5b391a1ea55d)/linux-4afd064509b23882268922824edc5b391a1ea55d.tar.gz"
+BR2_LINUX_KERNEL_DEFCONFIG="bcm2711"
+
+# Build the DTB from the kernel sources
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2711-rpi-cm4"
+
+BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
+
+BR2_PACKAGE_RPI_FIRMWARE=y
+BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4=y
+
+# Required tools to create the SD image
+BR2_PACKAGE_HOST_DOSFSTOOLS=y
+BR2_PACKAGE_HOST_GENIMAGE=y
+BR2_PACKAGE_HOST_MTOOLS=y
+
+# Required tool to flash CM4 eMMC memory
+BR2_PACKAGE_HOST_RASPBERRYPI_USBBOOT=y
+
+# Filesystem / image
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
+# BR2_TARGET_ROOTFS_TAR is not set
+BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypicm4io/post-build.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypicm4io/post-image.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="--add-miniuart-bt-overlay"
diff --git a/configs/stm32f469_disco_defconfig b/configs/stm32f469_disco_defconfig
index 9760d51878..e538a664e2 100644
--- a/configs/stm32f469_disco_defconfig
+++ b/configs/stm32f469_disco_defconfig
@@ -1,19 +1,25 @@
BR2_arm=y
BR2_cortex_m4=y
-BR2_GLOBAL_PATCH_DIR="board/stmicroelectronics/stm32f469-disco/patches"
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11=y
-BR2_ROOTFS_POST_BUILD_SCRIPT="board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh"
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y
+BR2_ROOTFS_POST_BUILD_SCRIPT="board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh board/stmicroelectronics/stm32f469-disco/post-build.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/stmicroelectronics/stm32f469-disco/genimage.cfg"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.11"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.11"
BR2_LINUX_KERNEL_DEFCONFIG="stm32"
-BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(LINUX_DIR)/arch/arm/configs/dram_0x00000000.config"
+BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(LINUX_DIR)/arch/arm/configs/dram_0x00000000.config board/stmicroelectronics/stm32f469-disco/linux.fragment"
BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y
-BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="xipImage"
+BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="zImage"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32f469-disco"
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config"
-BR2_TARGET_ROOTFS_INITRAMFS=y
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_SIZE="32M"
# BR2_TARGET_ROOTFS_TAR is not set
-BR2_TARGET_AFBOOT_STM32=y
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BOARD_DEFCONFIG="stm32f469-discovery"
+BR2_PACKAGE_HOST_DOSFSTOOLS=y
+BR2_PACKAGE_HOST_GENIMAGE=y
+BR2_PACKAGE_HOST_MTOOLS=y
BR2_PACKAGE_HOST_OPENOCD=y
diff --git a/configs/stm32mp157a_dk1_defconfig b/configs/stm32mp157a_dk1_defconfig
index 6883aaba7b..86265d77f8 100644
--- a/configs/stm32mp157a_dk1_defconfig
+++ b/configs/stm32mp157a_dk1_defconfig
@@ -1,11 +1,11 @@
BR2_arm=y
BR2_cortex_a7=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_8=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_13=y
BR2_ROOTFS_OVERLAY="board/stmicroelectronics/stm32mp157a-dk1/overlay/"
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/stmicroelectronics/common/stm32mp157/post-image.sh"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.8.13"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.13"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/stmicroelectronics/stm32mp157a-dk1/linux.config"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
@@ -17,7 +17,7 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
# BR2_TARGET_ROOTFS_TAR is not set
BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y
-BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.2"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.5"
BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="stm32mp1"
BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="STM32MP_SDMMC=1 AARCH32_SP=sp_min DTB_FILE_NAME=stm32mp157a-dk1.dtb"
BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="*.stm32"
@@ -25,9 +25,8 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.07"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="stm32mp15_trusted"
-BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/stmicroelectronics/stm32mp157a-dk1/uboot-fragment.config"
# BR2_TARGET_UBOOT_FORMAT_BIN is not set
BR2_TARGET_UBOOT_FORMAT_STM32=y
BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=stm32mp157a-dk1"
diff --git a/configs/stm32mp157c_dk2_defconfig b/configs/stm32mp157c_dk2_defconfig
index 50d875749b..45205982d7 100644
--- a/configs/stm32mp157c_dk2_defconfig
+++ b/configs/stm32mp157c_dk2_defconfig
@@ -1,11 +1,11 @@
BR2_arm=y
BR2_cortex_a7=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_8=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_13=y
BR2_ROOTFS_OVERLAY="board/stmicroelectronics/stm32mp157c-dk2/overlay/"
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/stmicroelectronics/common/stm32mp157/post-image.sh"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.8.13"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.13"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/stmicroelectronics/stm32mp157c-dk2/linux.config"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
@@ -17,7 +17,7 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
# BR2_TARGET_ROOTFS_TAR is not set
BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y
-BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.2"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.5"
BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="stm32mp1"
BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="STM32MP_SDMMC=1 AARCH32_SP=sp_min DTB_FILE_NAME=stm32mp157c-dk2.dtb"
BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="*.stm32"
@@ -25,9 +25,8 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.07"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="stm32mp15_trusted"
-BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/stmicroelectronics/stm32mp157c-dk2/uboot-fragment.config"
# BR2_TARGET_UBOOT_FORMAT_BIN is not set
BR2_TARGET_UBOOT_FORMAT_STM32=y
BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=stm32mp157c-dk2"
diff --git a/configs/uevm5432_defconfig b/configs/uevm5432_defconfig
new file mode 100644
index 0000000000..7b9a4309c6
--- /dev/null
+++ b/configs/uevm5432_defconfig
@@ -0,0 +1,46 @@
+# Architecture
+BR2_arm=y
+BR2_cortex_a15=y
+BR2_ARM_FPU_NEON_VFPV4=y
+
+# Linux headers same as kernel, a 5.12 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y
+
+# System
+BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
+BR2_TARGET_GENERIC_GETTY_PORT="ttyS2"
+BR2_SYSTEM_DHCP="eth0"
+
+# Image
+BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/uevm5432/genimage.cfg"
+
+# Kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.2"
+BR2_LINUX_KERNEL_DEFCONFIG="omap2plus"
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="omap5-uevm"
+BR2_LINUX_KERNEL_INSTALL_TARGET=y
+BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
+
+# Filesystem
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+# BR2_TARGET_ROOTFS_TAR is not set
+
+# Bootloader
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
+BR2_TARGET_UBOOT_CUSTOM_VERSION=y
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04"
+BR2_TARGET_UBOOT_BOARD_DEFCONFIG="omap5_uevm"
+BR2_TARGET_UBOOT_FORMAT_IMG=y
+BR2_TARGET_UBOOT_SPL=y
+BR2_TARGET_UBOOT_SPL_NAME="MLO"
+
+# Required tools to create the SD card image
+BR2_PACKAGE_HOST_DOSFSTOOLS=y
+BR2_PACKAGE_HOST_GENIMAGE=y
+BR2_PACKAGE_HOST_MTOOLS=y
diff --git a/configs/wandboard_defconfig b/configs/wandboard_defconfig
index 7915248cf1..0966719d48 100644
--- a/configs/wandboard_defconfig
+++ b/configs/wandboard_defconfig
@@ -5,16 +5,15 @@ BR2_ARM_ENABLE_NEON=y
BR2_ARM_ENABLE_VFP=y
BR2_ARM_FPU_VFPV3=y
-# Linux headers same as kernel, a 5.12 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y
+# Linux headers same as kernel, a 5.13 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_13=y
# System
BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
# Image
-BR2_ROOTFS_POST_BUILD_SCRIPT="board/wandboard/post-build.sh"
-BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
-BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/wandboard/genimage.cfg"
+BR2_ROOTFS_OVERLAY="board/wandboard/rootfs_overlay"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
# Filesystem
BR2_TARGET_ROOTFS_EXT2=y
@@ -24,7 +23,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.07"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="wandboard"
BR2_TARGET_UBOOT_FORMAT_IMG=y
BR2_TARGET_UBOOT_SPL=y
@@ -33,7 +32,7 @@ BR2_TARGET_UBOOT_SPL_NAME="SPL"
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.2"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.13"
BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-wandboard imx6dl-wandboard imx6q-wandboard-revb1 imx6dl-wandboard-revb1 imx6q-wandboard-revd1 imx6dl-wandboard-revd1 imx6qp-wandboard-revd1"
diff --git a/configs/warp7_defconfig b/configs/warp7_defconfig
index 5f9d973663..23ae4c2257 100644
--- a/configs/warp7_defconfig
+++ b/configs/warp7_defconfig
@@ -3,8 +3,8 @@ BR2_arm=y
BR2_cortex_a7=y
BR2_ARM_FPU_NEON_VFPV4=y
-# Linux headers same as kernel, a 5.8 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_8=y
+# Linux headers same as kernel, a 5.13 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_13=y
# system
BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
@@ -15,7 +15,7 @@ BR2_ROOTFS_OVERLAY="board/warp7/rootfs_overlay"
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.8.13"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.13"
BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx7s-warp"
@@ -25,7 +25,7 @@ BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="warp7"
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.10"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.07"
BR2_TARGET_UBOOT_FORMAT_DTB_IMX=y
# wifi firmware for brcm43430
diff --git a/docs/manual/adding-packages-cmake.txt b/docs/manual/adding-packages-cmake.txt
index 73f0943024..541d7422cf 100644
--- a/docs/manual/adding-packages-cmake.txt
+++ b/docs/manual/adding-packages-cmake.txt
@@ -100,7 +100,7 @@ typical packages will therefore only use a few of them.
necessary to set them in the package's +*.mk+ file unless you want
to override them:
-** +CMAKE_BUILD_TYPE+ is driven by +BR2_ENABLE_DEBUG+;
+** +CMAKE_BUILD_TYPE+ is driven by +BR2_ENABLE_RUNTIME_DEBUG+;
** +CMAKE_INSTALL_PREFIX+;
** +BUILD_SHARED_LIBS+ is driven by +BR2_STATIC_LIBS+;
** +BUILD_DOC+, +BUILD_DOCS+ are disabled;
diff --git a/docs/manual/resources.txt b/docs/manual/resources.txt
index 69bfff8f2b..374cdef94e 100644
--- a/docs/manual/resources.txt
+++ b/docs/manual/resources.txt
@@ -29,8 +29,8 @@ there is a good chance someone else has asked the same question before.
IRC::
+
-The Buildroot IRC channel irc://freenode.net/#buildroot[#buildroot] is
-hosted on http://webchat.freenode.net[Freenode]. It is a useful place to
+The Buildroot IRC channel irc://irc.oftc.net/#buildroot[#buildroot] is
+hosted on https://www.oftc.net/WebChat/[OFTC]. It is a useful place to
ask quick questions or discuss on certain topics.
+
When asking for help on IRC, share relevant logs or pieces of code
diff --git a/docs/website/docs.html b/docs/website/docs.html
index e8d8138565..85b005004d 100644
--- a/docs/website/docs.html
+++ b/docs/website/docs.html
@@ -108,14 +108,13 @@
</div>
<div class="panel panel-default">
- <div class="panel-heading">Public training course</div>
+ <div class="panel-heading">Public online training course</div>
<div class="panel-body">
- The next online public training course on Buildroot
- organized
- by <a href="https://www.bootlin.com">Bootlin</a> will
- take place from May 31 to June 4, 2021, with Thomas Petazzoni as
- trainer. <a href="https://bootlin.com/training/buildroot/">Infos</a>
- and <a href="https://www.eventbrite.com/e/bootlin-embedded-linux-development-with-buildroot-training-seminar-tickets-145276318379">registration</a>.
+ Regular online training courses, available to individual
+ registration, are proposed by Bootlin, with Thomas
+ Petazzoni as
+ trainer. See <a href="https://bootlin.com/training/buildroot/">next
+ dates and registration details</a>.
</div>
</div>
</div>
diff --git a/docs/website/download.html b/docs/website/download.html
index fde13ce8cc..d9ed3e6e61 100644
--- a/docs/website/download.html
+++ b/docs/website/download.html
@@ -8,108 +8,108 @@
<div class="panel-heading">Download</div>
<div class="panel-body">
- <h3 style="text-align: center;">Latest stable / long term support release: <b>2021.02.1</b></h3>
+ <h3 style="text-align: center;">Latest long term support release: <b>2021.02.3</b></h3>
<div class="row mt centered">
<div class="col-sm-6">
<div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
<div class="flipper">
<div class="front">
- <a href="/downloads/buildroot-2021.02.1.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
+ <a href="/downloads/buildroot-2021.02.3.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
</div>
<div class="back">
- <a href="/downloads/buildroot-2021.02.1.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
+ <a href="/downloads/buildroot-2021.02.3.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
</div>
</div>
</div>
- <h3><a href="/downloads/buildroot-2021.02.1.tar.gz">buildroot-2021.02.1.tar.gz</a></h3>
- <p><a href="/downloads/buildroot-2021.02.1.tar.gz.sign">PGP signature</a></p>
+ <h3><a href="/downloads/buildroot-2021.02.3.tar.gz">buildroot-2021.02.3.tar.gz</a></h3>
+ <p><a href="/downloads/buildroot-2021.02.3.tar.gz.sign">PGP signature</a></p>
</div>
<div class="col-sm-6">
<div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
<div class="flipper">
<div class="front">
- <a href="/downloads/buildroot-2021.02.1.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
+ <a href="/downloads/buildroot-2021.02.3.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
</div>
<div class="back">
- <a href="/downloads/buildroot-2021.02.1.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
+ <a href="/downloads/buildroot-2021.02.3.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
</div>
</div>
</div>
- <h3><a href="/downloads/buildroot-2021.02.1.tar.bz2">buildroot-2021.02.1.tar.bz2</a></h3>
- <p><a href="/downloads/buildroot-2021.02.1.tar.bz2.sign">PGP signature</a></p>
+ <h3><a href="/downloads/buildroot-2021.02.3.tar.bz2">buildroot-2021.02.3.tar.bz2</a></h3>
+ <p><a href="/downloads/buildroot-2021.02.3.tar.bz2.sign">PGP signature</a></p>
</div>
</div>
-<!--
- <h3 style="text-align: center;">Latest stable release: <b>2020.11.3</b></h3>
+
+ <h3 style="text-align: center;">Latest stable release: <b>2021.05</b></h3>
<div class="row mt centered">
<div class="col-sm-6">
<div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
<div class="flipper">
<div class="front">
- <a href="/downloads/buildroot-2020.11.3.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
+ <a href="/downloads/buildroot-2021.05.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
</div>
<div class="back">
- <a href="/downloads/buildroot-2020.11.3.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
+ <a href="/downloads/buildroot-2021.05.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
</div>
</div>
</div>
- <h3><a href="/downloads/buildroot-2020.11.3.tar.gz">buildroot-2020.11.3.tar.gz</a></h3>
- <p><a href="/downloads/buildroot-2020.11.3.tar.gz.sign">PGP signature</a></p>
+ <h3><a href="/downloads/buildroot-2021.05.tar.gz">buildroot-2021.05.tar.gz</a></h3>
+ <p><a href="/downloads/buildroot-2021.05.tar.gz.sign">PGP signature</a></p>
</div>
<div class="col-sm-6">
<div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
<div class="flipper">
<div class="front">
- <a href="/downloads/buildroot-2020.11.3.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
+ <a href="/downloads/buildroot-2021.05.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
</div>
<div class="back">
- <a href="/downloads/buildroot-2020.11.3.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
+ <a href="/downloads/buildroot-2021.05.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
</div>
</div>
</div>
- <h3><a href="/downloads/buildroot-2020.11.3.tar.bz2">buildroot-2020.11.3.tar.bz2</a></h3>
- <p><a href="/downloads/buildroot-2020.11.3.tar.bz2.sign">PGP signature</a></p>
+ <h3><a href="/downloads/buildroot-2021.05.tar.bz2">buildroot-2021.05.tar.bz2</a></h3>
+ <p><a href="/downloads/buildroot-2021.05.tar.bz2.sign">PGP signature</a></p>
</div>
</div>
--->
- <h3 style="text-align: center;">Latest release candidate: <b>2021.05-rc1</b></h3>
+<!--
+ <h3 style="text-align: center;">Latest release candidate: <b>2021.05-rc3</b></h3>
<div class="row mt centered">
<div class="col-sm-6">
<div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
<div class="flipper">
<div class="front">
- <a href="/downloads/buildroot-2021.05-rc1.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
+ <a href="/downloads/buildroot-2021.05-rc3.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
</div>
<div class="back">
- <a href="/downloads/buildroot-2021.05-rc1.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
+ <a href="/downloads/buildroot-2021.05-rc3.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
</div>
</div>
</div>
- <h3><a href="/downloads/buildroot-2021.05-rc1.tar.gz">buildroot-2021.05-rc1.tar.gz</a></h3>
- <p><a href="/downloads/buildroot-2021.05-rc1.tar.gz.sign">PGP signature</a></p>
+ <h3><a href="/downloads/buildroot-2021.05-rc3.tar.gz">buildroot-2021.05-rc3.tar.gz</a></h3>
+ <p><a href="/downloads/buildroot-2021.05-rc3.tar.gz.sign">PGP signature</a></p>
</div>
<div class="col-sm-6">
<div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
<div class="flipper">
<div class="front">
- <a href="/downloads/buildroot-2021.05-rc1.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
+ <a href="/downloads/buildroot-2021.05-rc3.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
</div>
<div class="back">
- <a href="/downloads/buildroot-2021.05-rc1.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
+ <a href="/downloads/buildroot-2021.05-rc3.tar.bz2"><img src="images/package.png" width="180" alt=""></a>
</div>
</div>
</div>
- <h3><a href="/downloads/buildroot-2021.05-rc1.tar.bz2">buildroot-2021.05-rc1.tar.bz2</a></h3>
- <p><a href="/downloads/buildroot-2021.05-rc1.tar.bz2.sign">PGP signature</a></p>
+ <h3><a href="/downloads/buildroot-2021.05-rc3.tar.bz2">buildroot-2021.05-rc3.tar.bz2</a></h3>
+ <p><a href="/downloads/buildroot-2021.05-rc3.tar.bz2.sign">PGP signature</a></p>
</div>
</div>
-
+-->
This and earlier releases (and their PGP signatures) can always be downloaded from
<a href="/downloads/">http://buildroot.net/downloads/</a>.
</div>
diff --git a/docs/website/news.html b/docs/website/news.html
index 9192a117a8..9c8e63c852 100644
--- a/docs/website/news.html
+++ b/docs/website/news.html
@@ -9,6 +9,105 @@
<h2>News</h2>
<ul class="timeline">
+ <li class="timeline-inverted">
+ <div class="timeline-badge"><i class="glyphicon glyphicon-thumbs-up"></i></div>
+ <div class="timeline-panel">
+ <div class="timeline-heading">
+ <h4 class="timeline-title">2021.02.3 released</h4>
+ <p><small class="text-muted"><i class="glyphicon glyphicon-time"></i>12 June 2021</small></p>
+ </div>
+ <div class="timeline-body">
+ <p>The 2021.02.3 bugfix release is out, fixing a number of important /
+ security related issues discovered since the 2021.02.2 release. See the
+ <a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2021.02.3">CHANGES</a>
+ file for more details, read the
+ <a href="http://lists.busybox.net/pipermail/buildroot/2021-June/312591.html">announcement</a>
+ and go to the <a href="/downloads/">downloads page</a> to pick up the
+ <a href="/downloads/buildroot-2021.02.3.tar.bz2">2021.02.3 release</a>.</p>
+ </div>
+ </div>
+ </li>
+
+ <li>
+ <div class="timeline-badge"><i class="glyphicon glyphicon-thumbs-up"></i></div>
+ <div class="timeline-panel">
+ <div class="timeline-heading">
+ <h4 class="timeline-title">2021.05 released</h4>
+ <p><small class="text-muted"><i class="glyphicon glyphicon-time"></i>6 June 2021</small></p>
+ </div>
+ <div class="timeline-body">
+ <p>The stable 2021.05 release is out - Thanks to everyone
+ contributing and testing the release candidates. See the
+ <a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2021.05">CHANGES</a>
+ file for more details, read the
+ <a href="http://lists.busybox.net/pipermail/buildroot/2021-June/311946.html">announcement</a>
+ and go to the <a href="/downloads/">downloads page</a> to pick up the
+ <a href="/downloads/buildroot-2021.05.tar.bz2">2021.05 release</a>.</p>
+ </div>
+ </div>
+ </li>
+
+ <li class="timeline-inverted">
+ <div class="timeline-badge"><i class="glyphicon glyphicon-thumbs-up"></i></div>
+ <div class="timeline-panel">
+ <div class="timeline-heading">
+ <h4 class="timeline-title">2021.05-rc3 released</h4>
+ <p><small class="text-muted"><i class="glyphicon glyphicon-time"></i>31 May 2021</small></p>
+ </div>
+ <div class="timeline-body">
+ <p>2021.05-rc3 has been released with more cleanups and build fixes. See the
+ <a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2021.05-rc3">CHANGES</a>
+ file for details.</p>
+
+ <p>Head to the <a href="/downloads/">downloads page</a> to pick up the
+ <a href="/downloads/buildroot-2021.05-rc3.tar.bz2">2021.05-rc3
+ release candidate</a>, and report any problems found to the
+ <a href="support.html">mailing list</a> or
+ <a href="https://bugs.buildroot.org">bug tracker</a>.</p>
+ </div>
+ </div>
+ </li>
+
+ <li>
+ <div class="timeline-badge"><i class="glyphicon glyphicon-thumbs-up"></i></div>
+ <div class="timeline-panel">
+ <div class="timeline-heading">
+ <h4 class="timeline-title">2021.05-rc2 released</h4>
+ <p><small class="text-muted"><i class="glyphicon glyphicon-time"></i>22 May 2021</small></p>
+ </div>
+ <div class="timeline-body">
+ <p>2021.05-rc2 has been released with more cleanups and build fixes. See the
+ <a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2021.05-rc2">CHANGES</a>
+ file for details.</p>
+
+ <p>Head to the <a href="/downloads/">downloads page</a> to pick up the
+ <a href="/downloads/buildroot-2021.05-rc2.tar.bz2">2021.05-rc2
+ release candidate</a>, and report any problems found to the
+ <a href="support.html">mailing list</a> or
+ <a href="https://bugs.buildroot.org">bug tracker</a>.</p>
+ </div>
+ </div>
+ </li>
+
+ <li class="timeline-inverted">
+ <div class="timeline-badge"><i class="glyphicon glyphicon-thumbs-up"></i></div>
+ <div class="timeline-panel">
+ <div class="timeline-heading">
+ <h4 class="timeline-title">2021.02.2 released</h4>
+ <p><small class="text-muted"><i class="glyphicon glyphicon-time"></i>12 May 2021</small></p>
+ </div>
+ <div class="timeline-body">
+ <p>The 2021.02.2 bugfix release is out, fixing a number of important /
+ security related issues discovered since the 2021.02.1 release. See the
+ <a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2021.02.2">CHANGES</a>
+ file for more details, read the
+ <a href="http://lists.busybox.net/pipermail/buildroot/2021-May/310003.html">announcement</a>
+ and go to the <a href="/downloads/">downloads page</a> to pick up the
+ <a href="/downloads/buildroot-2021.02.2.tar.bz2">2021.02.2 release</a>.</p>
+ </div>
+ </div>
+ </li>
+
<li>
<div class="timeline-badge"><i class="glyphicon glyphicon-thumbs-up"></i></div>
<div class="timeline-panel">
diff --git a/docs/website/support.html b/docs/website/support.html
index 6c602b42d2..eef969d461 100644
--- a/docs/website/support.html
+++ b/docs/website/support.html
@@ -19,15 +19,15 @@
<img class="img-responsive" src="images/irc.png" style="max-width:50px; margin-bottom:10px;">
</div>
<div class="col-sm-11">
- <p>The Buildroot IRC channel is <a href="irc://freenode.net/#buildroot">
- #buildroot</a>, hosted on Freenode. If you do not have an IRC client, you can
- use the <a href="http://webchat.freenode.net">Freenode web interface</a>.
+ <p>The Buildroot IRC channel is <a href="irc://irc.oftc.net/#buildroot">
+ #buildroot</a>, hosted on OFTC. If you do not have an IRC client, you can
+ use the <a href="https://www.oftc.net/WebChat/">OFTC web interface</a>.
When asking for help on IRC, share relevant logs or pieces of code using a code
sharing website.</p>
- <p>Note that due to excessive spamming on Freenode, the channel can only be
+ <p>Note that due to excessive spamming on IRC, the channel can only be
joined if you are a registered user with
- <a href="https://freenode.net/kb/answer/registration">Freenode nickserv</a>
+ <a href="https://www.oftc.net/Services/">OFTC NickServ</a>
service. Follow the instructions to register as a user with a password,
and then join the <code>#buildroot</code> channel.</p>
</div>
diff --git a/fs/erofs/Config.in b/fs/erofs/Config.in
index d7360edeab..e112572688 100644
--- a/fs/erofs/Config.in
+++ b/fs/erofs/Config.in
@@ -11,4 +11,14 @@ config BR2_TARGET_ROOTFS_EROFS_LZ4HC
help
Use lz4 high-compression to compress data in the filesystem.
+config BR2_TARGET_ROOTFS_EROFS_PCLUSTERSIZE
+ int "pcluster size"
+ default 0
+ help
+ Specify the maximum size of physical cluster in bytes, as a
+ multiple of 4KiB, for the big pcluster feature in order to
+ get much better compression ratios (thus better sequential
+ read performance for common storage devices), which has been
+ introduced since Linux 5.13.
+
endif # BR2_TARGET_ROOTFS_EROFS
diff --git a/fs/erofs/erofs.mk b/fs/erofs/erofs.mk
index 58559d4833..0e9d4401a9 100644
--- a/fs/erofs/erofs.mk
+++ b/fs/erofs/erofs.mk
@@ -10,6 +10,10 @@ ifeq ($(BR2_TARGET_ROOTFS_EROFS_LZ4HC),y)
ROOTFS_EROFS_ARGS += -zlz4hc
endif
+ifneq ($(BR2_TARGET_ROOTFS_EROFS_PCLUSTERSIZE),0)
+ROOTFS_EROFS_ARGS += -C$(strip $(BR2_TARGET_ROOTFS_EROFS_PCLUSTERSIZE))
+endif
+
define ROOTFS_EROFS_CMD
$(HOST_DIR)/bin/mkfs.erofs $(ROOTFS_EROFS_ARGS) $@ $(TARGET_DIR)
endef
diff --git a/linux/Config.in b/linux/Config.in
index 02c6ba0400..6ace3f5ea4 100644
--- a/linux/Config.in
+++ b/linux/Config.in
@@ -28,7 +28,7 @@ choice
prompt "Kernel version"
config BR2_LINUX_KERNEL_LATEST_VERSION
- bool "Latest version (5.12)"
+ bool "Latest version (5.13)"
config BR2_LINUX_KERNEL_LATEST_CIP_VERSION
bool "Latest CIP SLTS version (4.19.182-cip45)"
@@ -125,7 +125,7 @@ endif
config BR2_LINUX_KERNEL_VERSION
string
- default "5.12.2" if BR2_LINUX_KERNEL_LATEST_VERSION
+ default "5.13.2" if BR2_LINUX_KERNEL_LATEST_VERSION
default "4.19.182-cip45" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION
default "4.19.165-cip41-rt18" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION
default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \
diff --git a/linux/linux.hash b/linux/linux.hash
index e24e02b30e..6ca09fee4b 100644
--- a/linux/linux.hash
+++ b/linux/linux.hash
@@ -1,13 +1,14 @@
# From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
-sha256 8c98b9996d15fdb779a866c6a4c7c9b9e63374cb7105a5a59e9bcf8df02ef70d linux-5.12.2.tar.xz
-sha256 5aee19ad466b5bbbde642077f42bfaafff4e612296bdd7946faa01d917472b4b linux-5.11.19.tar.xz
-sha256 ac37a19d45b77a87e58e3aae8b127a6e7eb85ed7467fc8e58474b387bfd498fd linux-5.10.35.tar.xz
-sha256 4e989b5775830092e5c76b5cca65ebff862ad0c87d0b58c3a20d415c3d4ec770 linux-5.4.117.tar.xz
+sha256 c3940d09cfb629f8c140b7b098cf6356d60cd8043df6b17c1f004077269ca937 linux-5.13.2.tar.xz
+sha256 c8d499fc53ed14838994ec2f51591ae40d64cce68559cd897be8acbeeee7630f linux-5.12.10.tar.xz
+sha256 11027c6114eb916edbcc37897226fb6263b2931911d2d5093550473ce1a57600 linux-5.11.22.tar.xz
+sha256 83b81e433ba2f8ee143064fb163699ee857e26dd789006bc1e9edf1ccd0bd403 linux-5.10.43.tar.xz
+sha256 17ee750a4aeb1c883d721e730d1f7e2855124585e2f47766864a1359a7ebe33c linux-5.4.125.tar.xz
# From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc
-sha256 6817ad26e1621bfad48d08b638f66c5933e89c7c8c00d43195b2e0ae260233eb linux-4.4.268.tar.xz
-sha256 5b66f6ce0137fb8d81004bcf2f1e3cbe01c38aab74268656c4ba015c1ccd762a linux-4.9.268.tar.xz
-sha256 1dc19361f6970bc94cc62be066702483db9cbd3d63f3089a8c90dabfced74369 linux-4.14.232.tar.xz
-sha256 6f9c2aee8553129d2bdbab646bbf7e88c2a5c38c0b1450f2e728831681bfc85d linux-4.19.190.tar.xz
+sha256 d13fa552be602825c443fcca90d6bdd72f4ebef809889ef015dba4593d3224ab linux-4.4.272.tar.xz
+sha256 f8bf0c390ae40ca736e104f10f744446bc534bf87ba1b6dbb2b7c9a8bece1058 linux-4.9.272.tar.xz
+sha256 e4eae297a6fefefd8ce4781d98178a7c1ee51ca0a4c8a7e46e61b121fbab8b2a linux-4.14.236.tar.xz
+sha256 aaaebdccf599f77148fe170642fa7dc2452cf994b5cbbb4d39cab9e7f4058896 linux-4.19.194.tar.xz
# Locally computed
sha256 9f1de83c5c2bb582a33bd4ee892d45671901cd06af9dc159f0f499f1b5265b20 l