Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

39
package/fwts/Config.in Normal file
View File

@@ -0,0 +1,39 @@
config BR2_PACKAGE_FWTS_ARCH_SUPPORTS
bool
default y if BR2_aarch64
default y if BR2_arm
default y if BR2_i386
default y if BR2_RISCV_64
default y if BR2_x86_64
config BR2_PACKAGE_FWTS
bool "fwts"
depends on BR2_PACKAGE_FWTS_ARCH_SUPPORTS
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS # libbsd
depends on BR2_USE_MMU # libglib2
depends on BR2_USE_WCHAR # libglib2, libbsd
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2, libbsd
depends on !BR2_STATIC_LIBS # libbsd
depends on BR2_TOOLCHAIN_USES_GLIBC # execinfo.h
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_LIBBSD
help
Firmware Test Suite (FWTS) is a test suite that performs
sanity checks on firmware. It is intended to identify BIOS and
ACPI errors and if appropriate it will try to explain the
errors and give advice to help workaround or fix firmware
bugs.
dtc (libfdt) is an optional dependency for fdt related tests.
For testing EFI runtime services, the Kernel config must
have CONFIG_EFI_TEST=y (since Kernel v4.9).
https://wiki.ubuntu.com/FirmwareTestSuite
comment "fwts needs a glibc toolchain w/ wchar, threads, dynamic library"
depends on BR2_PACKAGE_FWTS_ARCH_SUPPORTS
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS # libbsd
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS

5
package/fwts/fwts.hash Normal file
View File

@@ -0,0 +1,5 @@
# Hash from: https://github.com/fwts/fwts/releases/tag/V26.07.00
sha256 ccee3375fe905a30311ea45f8baefc10af2517669f724f09f8df788bb8b4cbec fwts-V26.07.00.tar.gz
# Hash for license file
sha256 1ec8cffc8cf213afc5d854027d746c80e638a13b1688f2a352221490c681c54f debian/copyright

23
package/fwts/fwts.mk Normal file
View File

@@ -0,0 +1,23 @@
################################################################################
#
# fwts
#
################################################################################
FWTS_VERSION = 26.07.00
FWTS_SOURCE = fwts-V$(FWTS_VERSION).tar.gz
FWTS_SITE = https://github.com/fwts/fwts/releases/download/V$(FWTS_VERSION)
FWTS_LICENSE = GPL-2.0, LGPL-2.1, Custom
FWTS_LICENSE_FILES = debian/copyright
# No configure in tarball
FWTS_AUTORECONF = YES
FWTS_CONF_OPTS = --disable-werror
FWTS_DEPENDENCIES = host-bison host-flex host-pkgconf libglib2 libbsd \
$(if $(BR2_PACKAGE_BASH_COMPLETION),bash-completion) \
$(if $(BR2_PACKAGE_DTC),dtc)
ifeq ($(BR2_OPTIMIZE_0),y)
FWTS_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -O1"
endif
$(eval $(autotools-package))