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,56 @@
From 6c6da9e6d75ccfaa83c1efe14211f080c14181c6 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Sun, 3 Dec 2023 15:28:50 +0100
Subject: [PATCH] lib/psos/task.c: fix build with gcc >= 12
Fix the following build failure with gcc >= 12:
task.c: In function 't_start':
task.c:398:16: error: 'ret' may be used uninitialized [-Werror=maybe-uninitialized]
398 | return ret;
| ^~~
task.c:364:13: note: 'ret' was declared here
364 | int ret;
| ^~~
task.c: In function 't_resume':
task.c:444:16: error: 'ret' may be used uninitialized [-Werror=maybe-uninitialized]
444 | return ret;
| ^~~
task.c:428:13: note: 'ret' was declared here
428 | int ret;
| ^~~
Fixes:
- http://autobuild.buildroot.org/results/bc1b40de22e563b704ad7f20b6bf4d1f73a6ed8a
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Upstream: https://lore.kernel.org/xenomai/20231203144307.1940139-1-fontaine.fabrice@gmail.com/T/#u
---
lib/psos/task.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/psos/task.c b/lib/psos/task.c
index f678be61d..27bcc28a9 100644
--- a/lib/psos/task.c
+++ b/lib/psos/task.c
@@ -362,7 +362,7 @@ u_long t_start(u_long tid,
{
struct psos_task *task;
struct service svc;
- int ret;
+ int ret = SUCCESS;
CANCEL_DEFER(svc);
@@ -426,7 +426,7 @@ u_long t_resume(u_long tid)
{
struct psos_task *task;
struct service svc;
- int ret;
+ int ret = SUCCESS;
CANCEL_DEFER(svc);
--
2.42.0

View File

@@ -0,0 +1,55 @@
From eb5c49e4c0a1068363dc81f70ea2a65ad0f91c0f Mon Sep 17 00:00:00 2001
From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Date: Sat, 14 Sep 2024 12:20:36 +0200
Subject: [PATCH] smokey: fix build failure
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This patch fixes the following building failure raised on bumping Xenomai
to version 3.2.5 in Buildroot:
In file included from helpers.c:29:
../../include/smokey/smokey.h:258:39: error: unknown type name ‘bool’
258 | int smokey_modprobe(const char *name, bool silent);
| ^~~~
../../include/smokey/smokey.h:27:1: note: ‘bool’ is defined in header ‘<stdbool.h>’; did you forget to ‘#include <stdbool.h>’?
26 | #include <xenomai/init.h>
+++ |+#include <stdbool.h>
27 |
In file included from init.c:33:
../../include/smokey/smokey.h:258:39: error: unknown type name ‘bool’
258 | int smokey_modprobe(const char *name, bool silent);
| ^~~~
../../include/smokey/smokey.h:26:1: note: ‘bool’ is defined in header ‘<stdbool.h>’; did you forget to ‘#include <stdbool.h>’?
25 | #include <copperplate/clockobj.h>
+++ |+#include <stdbool.h>
26 | #include <xenomai/init.h>
helpers.c:299:39: error: unknown type name ‘bool’
299 | int smokey_modprobe(const char *name, bool silent)
| ^~~~
helpers.c:30:1: note: ‘bool’ is defined in header ‘<stdbool.h>’; did you forget to ‘#include <stdbool.h>’?
29 | #include <smokey/smokey.h>
+++ |+#include <stdbool.h>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Upstream: https://lore.kernel.org/xenomai/20240914131026.1035993-1-dario.binacchi@amarulasolutions.com/T/#u
---
include/smokey/smokey.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/smokey/smokey.h b/include/smokey/smokey.h
index cf9701966db8..45dd0dcd017b 100644
--- a/include/smokey/smokey.h
+++ b/include/smokey/smokey.h
@@ -19,6 +19,7 @@
#define _XENOMAI_SMOKEY_SMOKEY_H
#include <stdarg.h>
+#include <stdbool.h>
#include <pthread.h>
#include <boilerplate/list.h>
#include <boilerplate/libc.h>
--
2.43.0