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

View File

@@ -0,0 +1,9 @@
config BR2_PACKAGE_QEMU_XEN
bool "qemu-xen"
help
The qemu-xen source tree, a QEMU fork maintained by the Xen
project for use as the device model in Xen tool stacks.
Starting with Xen 4.20, this is no longer bundled in the Xen
release tarball.
https://xenbits.xen.org/gitweb/?p=qemu-xen.git

View File

@@ -0,0 +1,6 @@
# Locally computed
sha256 631aae8cab7e9688256d705f63e203c9b8f30c6574239a7fdaea8ccb6cdd2551 qemu-xen-e064f42c80be6f6ff8c12dcb2a663bdf70f965f6-git4.tar.gz
sha256 d014b53382dbb17b8196ad12f50de7f20d0ef1b9f7d54b0be51a6cbb14209195 keycodemapdb-f5772a62ec52591ff6870b7e8ef32482371f22c6.tar.gz
sha256 faae889814ea6a292f7ca03d9b36e6c7e95bab2a64777804883cc822b8d48757 berkeley-softfloat-3-b64af41c3276f97f0e181920400ee056b9c88037.tar.gz
sha256 e7a09d51dc7e96cb8422c919c85fc3833d4f788567638c9162ef5cd7db59b1df berkeley-testfloat-3-e7af9751d9f9fd3b47911f51a5cfd08af256a9ab.tar.gz
sha256 6f04ae8364d0079a192b14635f4b1da294ce18724c034c39a6a41d1b09df6100 COPYING

View File

@@ -0,0 +1,57 @@
################################################################################
#
# qemu-xen
#
################################################################################
# We do NOT use GIT_SUBMODULES = YES because qemu-xen has massive ROM
# submodules (edk2, u-boot, etc.) that are not needed for the Xen tools
# cross-build. Instead, we pre-populate only the required meson
# subprojects and remove .wrap files for the rest to prevent any network
# access during the build.
# Determined from Xen repo's hash for this repo @ XEN_VERSION
QEMU_XEN_VERSION = e064f42c80be6f6ff8c12dcb2a663bdf70f965f6
QEMU_XEN_SITE = https://xenbits.xen.org/git-http/qemu-xen.git
QEMU_XEN_SITE_METHOD = git
QEMU_XEN_LICENSE = GPL-2.0
QEMU_XEN_LICENSE_FILES = COPYING
QEMU_XEN_REDISTRIBUTE = NO
# Required meson subprojects for the QEMU build
QEMU_XEN_KEYCODEMAPDB_VERSION = f5772a62ec52591ff6870b7e8ef32482371f22c6
QEMU_XEN_SOFTFLOAT3_VERSION = b64af41c3276f97f0e181920400ee056b9c88037
QEMU_XEN_TESTFLOAT3_VERSION = e7af9751d9f9fd3b47911f51a5cfd08af256a9ab
QEMU_XEN_EXTRA_DOWNLOADS = \
https://gitlab.com/qemu-project/keycodemapdb/-/archive/$(QEMU_XEN_KEYCODEMAPDB_VERSION)/keycodemapdb-$(QEMU_XEN_KEYCODEMAPDB_VERSION).tar.gz \
https://gitlab.com/qemu-project/berkeley-softfloat-3/-/archive/$(QEMU_XEN_SOFTFLOAT3_VERSION)/berkeley-softfloat-3-$(QEMU_XEN_SOFTFLOAT3_VERSION).tar.gz \
https://gitlab.com/qemu-project/berkeley-testfloat-3/-/archive/$(QEMU_XEN_TESTFLOAT3_VERSION)/berkeley-testfloat-3-$(QEMU_XEN_TESTFLOAT3_VERSION).tar.gz
define QEMU_XEN_INSTALL_SUBPROJECTS
rm -rf $(@D)/subprojects/keycodemapdb
mkdir -p $(@D)/subprojects/keycodemapdb
$(TAR) --strip-components=1 -C $(@D)/subprojects/keycodemapdb \
-xf $(QEMU_XEN_DL_DIR)/keycodemapdb-$(QEMU_XEN_KEYCODEMAPDB_VERSION).tar.gz
rm -rf $(@D)/subprojects/berkeley-softfloat-3
mkdir -p $(@D)/subprojects/berkeley-softfloat-3
$(TAR) --strip-components=1 -C $(@D)/subprojects/berkeley-softfloat-3 \
-xf $(QEMU_XEN_DL_DIR)/berkeley-softfloat-3-$(QEMU_XEN_SOFTFLOAT3_VERSION).tar.gz
cp -f $(@D)/subprojects/packagefiles/berkeley-softfloat-3/* \
$(@D)/subprojects/berkeley-softfloat-3/
rm -rf $(@D)/subprojects/berkeley-testfloat-3
mkdir -p $(@D)/subprojects/berkeley-testfloat-3
$(TAR) --strip-components=1 -C $(@D)/subprojects/berkeley-testfloat-3 \
-xf $(QEMU_XEN_DL_DIR)/berkeley-testfloat-3-$(QEMU_XEN_TESTFLOAT3_VERSION).tar.gz
cp -f $(@D)/subprojects/packagefiles/berkeley-testfloat-3/* \
$(@D)/subprojects/berkeley-testfloat-3/
# Remove .wrap files for subprojects we do NOT pre-provide to prevent
# meson from attempting any network access during the build.
rm -f $(@D)/subprojects/dtc.wrap
rm -f $(@D)/subprojects/libblkio.wrap
rm -f $(@D)/subprojects/libvfio-user.wrap
rm -f $(@D)/subprojects/slirp.wrap
endef
QEMU_XEN_POST_EXTRACT_HOOKS += QEMU_XEN_INSTALL_SUBPROJECTS
$(eval $(generic-package))