payloads/Yabits: Remove deprecated Yabits Payload

Yabits is no longer maintained and git repo is archived.

Yabits has not been maintained for a long time,
the project is apparently closed.

Change-Id: Ida0bb79342448510d2c309339fabbe8066eca73c
Signed-off-by: Elias Souza <eliascontato@protonmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72463
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:
Elias Souza 2023-02-16 21:04:09 -03:00 committed by Felix Singer
parent c013fa6234
commit 718a7ae62d
9 changed files with 3 additions and 130 deletions

View File

@ -88,7 +88,7 @@ across architectures.
While we have a rather big set of payloads for x86 based platforms, all other While we have a rather big set of payloads for x86 based platforms, all other
architectures are rather limited. Improve the situation by porting a payload architectures are rather limited. Improve the situation by porting a payload
to one of the platforms, for example GRUB2, U-Boot (the UI part), edk2, to one of the platforms, for example GRUB2, U-Boot (the UI part), edk2,
yabits, FILO, or Linux-as-Payload. FILO, or Linux-as-Payload.
Since this is a bit of a catch-all idea, an application to GSoC should pick a Since this is a bit of a catch-all idea, an application to GSoC should pick a
combination of payload and architecture to support. combination of payload and architecture to support.

View File

@ -24,7 +24,7 @@ Significant or interesting changes
### Add changes that need a full description here ### Add changes that need a full description here
* Remove Yabits payload, Yabits project is deprecated and archived.
Additional coreboot changes Additional coreboot changes
--------------------------- ---------------------------

View File

@ -27,7 +27,6 @@ payloads/external/tint \
payloads/external/edk2 \ payloads/external/edk2 \
payloads/external/GRUB2 \ payloads/external/GRUB2 \
payloads/external/LinuxBoot \ payloads/external/LinuxBoot \
payloads/external/Yabits \
payloads/external/skiboot \ payloads/external/skiboot \
payloads/external/coreDOOM \ payloads/external/coreDOOM \

View File

@ -399,17 +399,6 @@ payloads/external/LinuxBoot/linuxboot/bzImage: linuxboot
payloads/external/LinuxBoot/linuxboot/uImage: linuxboot payloads/external/LinuxBoot/linuxboot/uImage: linuxboot
payloads/external/LinuxBoot/linuxboot/initramfs_u-root.cpio: linuxboot payloads/external/LinuxBoot/linuxboot/initramfs_u-root.cpio: linuxboot
# Yabits
payloads/external/Yabits/uefi/build/uefi.elf yabits:
$(MAKE) -C payloads/external/Yabits all \
XGCCPATH="$(XGCCPATH)" \
CONFIG_YABITS_REVISION=$(CONFIG_YABITS_REVISION) \
CONFIG_YABITS_REVISION_ID=$(CONFIG_YABITS_REVISION_ID) \
CONFIG_YABITS_MASTER=$(CONFIG_YABITS_MASTER) \
CONFIG_YABITS_STABLE=$(CONFIG_YABITS_STABLE) \
MFLAGS= MAKEFLAGS=
# BOOTBOOT # BOOTBOOT
payloads/external/BOOTBOOT/bootboot/dist/bootbootcb.elf: payloads/external/BOOTBOOT/bootboot/dist/bootbootcb.elf:

View File

@ -1,47 +0,0 @@
if PAYLOAD_YABITS
choice
prompt "Yabits version"
default YABITS_STABLE
config YABITS_STABLE
bool "Stable"
help
Stable Yabits version.
For reproducible builds, this option must be selected.
config YABITS_MASTER
bool "Master"
help
Newest version.
This option will fetch the newest version of the Yabits code,
updating as new changes are committed. This makes the build
non-reproducible, as it can fetch different code each time.
config YABITS_REVISION
bool "git revision"
help
Select this option if you have a specific commit or branch
that you want to use as the revision from which to
build Yabits. Using a branch name makes the build
non-reproducible, as it can fetch different code as the
branch changes.
You will be able to specify the name of a branch or a commit id
later.
endchoice
config YABITS_REVISION_ID
string "Insert a commit's SHA-1 or a branch name"
depends on YABITS_REVISION
default "origin/master"
help
The commit's SHA-1 or branch name of the revision to use.
config PAYLOAD_FILE
default "payloads/external/Yabits/uefi/build/uefi.elf"
endif

View File

@ -1,11 +0,0 @@
config PAYLOAD_YABITS
bool "Yabits - Yet another UEFI Bootloader (Under Development)"
depends on ARCH_X86
help
Yabits - yabits.github.io
yabits is a pure UEFI coreboot payload. Compared with
TianoCore, it is fast and lightweight. yabits is based on the
part of Minoca OS. It can run GRUB2, Linux, OpenBSD, and other
UEFI applications.
It is still under the development and not ready for production.

View File

@ -1,56 +0,0 @@
## SPDX-License-Identifier: GPL-2.0-only
TAG-$(CONFIG_YABITS_MASTER)=origin/master
NAME-$(CONFIG_YABITS_MASTER)=Master
TAG-$(CONFIG_YABITS_STABLE)=d25abb067431dee9af9f8a874a209730ab7f0e91
NAME-$(CONFIG_YABITS_STABLE)=Stable
TAG-$(CONFIG_YABITS_REVISION)=$(CONFIG_YABITS_REVISION_ID)
project_name=Yabits
project_dir=$(CURDIR)/uefi
project_git_repo=https://github.com/yabits/uefi.git
LIBCONFIG_PATH="../../../libpayload"
all: build
$(project_dir):
echo " Cloning $(project_name) from Git"
git clone $(project_git_repo) $(project_dir)
fetch: $(project_dir)
ifeq ($(TAG-y),)
echo "Error: The specified tag is invalid"
ifeq ($(CONFIG_YABITS_REVISION),y)
echo "Error: There is no revision specified for $(project_name)"
false
endif
false
endif
-cd $(project_dir); git show $(TAG-y) >/dev/null 2>&1 ; \
if [ $$? -ne 0 ] || [ "$(TAG-y)" = "origin/master" ]; then \
echo " Fetching new commits from the $(project_name) git repo"; \
git fetch; fi
checkout: fetch
echo " Checking out $(project_name) revision $(NAME-y) ($(TAG-y))"
cd $(project_dir); \
git checkout master; \
git branch -D coreboot 2>/dev/null; \
git checkout -b coreboot $(TAG-y)
build: checkout
echo " MAKE $(project_name) $(NAME-y)"
$(if $(wildcard uefi/.xcompile),,$(shell bash ../../../util/xcompile/xcompile > uefi/.xcompile))
$(MAKE) -C $(project_dir) defconfig LIBCONFIG_PATH=$(LIBCONFIG_PATH) XGCC=$(XGCCPATH)
$(MAKE) -C $(project_dir) all LIBCONFIG_PATH=$(LIBCONFIG_PATH) XGCC=$(XGCCPATH)
clean:
test -d $(project_dir) && $(MAKE) -C $(project_dir) clean LIBCONFIG_PATH=$(LIBCONFIG_PATH) XGCC=$(XGCCPATH) || exit 0
distclean:
rm -rf $(project_dir)
print-repo-info:
echo "$(project_git_repo) $(project_dir)"
.PHONY: all build checkout clean distclean fetch print-repo-info

View File

@ -41,7 +41,7 @@ config SBOM_PAYLOAD
config SBOM_PAYLOAD_GENERATE config SBOM_PAYLOAD_GENERATE
bool "Auto-generate generic SBOM info for payload" bool "Auto-generate generic SBOM info for payload"
depends on SBOM_PAYLOAD && (PAYLOAD_BOOTBOOT || PAYLOAD_DEPTHCHARGE || PAYLOAD_FILO || PAYLOAD_GRUB2 || PAYLOAD_LINUXBOOT || PAYLOAD_SEABIOS || PAYLOAD_SKIBOOT || PAYLOAD_UBOOT || PAYLOAD_YABITS) depends on SBOM_PAYLOAD && (PAYLOAD_BOOTBOOT || PAYLOAD_DEPTHCHARGE || PAYLOAD_FILO || PAYLOAD_GRUB2 || PAYLOAD_LINUXBOOT || PAYLOAD_SEABIOS || PAYLOAD_SKIBOOT || PAYLOAD_UBOOT)
default y default y
help help
Select this option if you want coreboot to generate and include Select this option if you want coreboot to generate and include

View File

@ -8,7 +8,6 @@ payload-LinuxBoot: uuidgen --name linuxboot --namespace "6ba7b810-9dad-
payload-SeaBIOS: uuidgen --name seabios --namespace "6ba7b810-9dad-11d1-80b4-00c04fd430c8" --sha1 payload-SeaBIOS: uuidgen --name seabios --namespace "6ba7b810-9dad-11d1-80b4-00c04fd430c8" --sha1
payload-skiboot: uuidgen --name skiboot --namespace "6ba7b810-9dad-11d1-80b4-00c04fd430c8" --sha1 payload-skiboot: uuidgen --name skiboot --namespace "6ba7b810-9dad-11d1-80b4-00c04fd430c8" --sha1
payload-U-Boot: uuidgen --name uboot --namespace "6ba7b810-9dad-11d1-80b4-00c04fd430c8" --sha1 payload-U-Boot: uuidgen --name uboot --namespace "6ba7b810-9dad-11d1-80b4-00c04fd430c8" --sha1
payload-Yabits: uuidgen --name yabits --namespace "6ba7b810-9dad-11d1-80b4-00c04fd430c8" --sha1
coreboot: uuidgen --name coreboot --namespace "6ba7b810-9dad-11d1-80b4-00c04fd430c8" --sha1 coreboot: uuidgen --name coreboot --namespace "6ba7b810-9dad-11d1-80b4-00c04fd430c8" --sha1
generic-ec: uuidgen --name generic-ec --namespace "6ba7b810-9dad-11d1-80b4-00c04fd430c8" --sha1 generic-ec: uuidgen --name generic-ec --namespace "6ba7b810-9dad-11d1-80b4-00c04fd430c8" --sha1
intel-me: uuidgen --name intel-me --namespace "6ba7b810-9dad-11d1-80b4-00c04fd430c8" --sha1 intel-me: uuidgen --name intel-me --namespace "6ba7b810-9dad-11d1-80b4-00c04fd430c8" --sha1