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,35 @@
From 197f51d29a01f46750fa6928409301aa8f1163d7 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 25 Mar 2024 09:04:40 -0700
Subject: aer-inject: Include libgen.h for explicit basename prototype
The prototype for basename has been removed from string.h in the latest
versions of musl [1]. This absence of prototype is flagged as an error
by some compilers, such as clang-18. To resolve this, include libgen.h
explicitly, which provides the prototype for basename.
[1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7
Signed-off-by: Khem Raj <raj.khem@gmail.com>
[sathya: Updated the commit log]
Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Upstream: https://git.kernel.org/pub/scm/linux/kernel/git/knsathya/aer-inject.git/commit/?id=197f51d29a01f46750fa6928409301aa8f1163d7
Signed-off-by: J. Neuschaefer <j.neuschaefer@gmx.net>
---
aer-inject.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/aer-inject.c b/aer-inject.c
index 74e7f72..eed1211 100644
--- a/aer-inject.c
+++ b/aer-inject.c
@@ -11,6 +11,7 @@
*/
#include <stdio.h>
+#include <libgen.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
--
cgit 1.2.3-korg

View File

@@ -0,0 +1,12 @@
config BR2_PACKAGE_AER_INJECT
bool "aer-inject"
help
aer-inject allows to inject PCIE AER errors on the software
level into a running Linux kernel. This is intended for
validation of the PCIE driver error recovery handler and
PCIE AER core handler.
Requires a new Linux kernel with PCIE AER error injection
patches.
https://git.kernel.org/cgit/linux/kernel/git/gong.chen/aer-inject.git/

View File

@@ -0,0 +1,3 @@
# Locally computed
sha256 7ed5994b48f1c0504add380ba4d186f48a5a22b9bc2dd90c79d0d2f0c183540c aer-inject-9bd5e2c7886fca72f139cd8402488a2235957d41-git4.tar.gz
sha256 659a191d8775e05c6c6a9a4ba66b3577c577342bb83f20d393135eb6633c8973 README

View File

@@ -0,0 +1,23 @@
################################################################################
#
# aer-inject
#
################################################################################
AER_INJECT_VERSION = 9bd5e2c7886fca72f139cd8402488a2235957d41
AER_INJECT_SITE = https://github.com/intel/aer-inject.git
AER_INJECT_SITE_METHOD = git
AER_INJECT_LICENSE = GPL-2.0
AER_INJECT_LICENSE_FILES = README
AER_INJECT_DEPENDENCIES = host-flex host-bison
define AER_INJECT_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
endef
define AER_INJECT_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
DESTDIR=$(TARGET_DIR) PREFIX=/usr/bin install
endef
$(eval $(generic-package))