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,50 @@
From 3730c3028a494536571c30d4d44df347e0886651 Mon Sep 17 00:00:00 2001
From: Vincent Cruz <mooz@blockos.org>
Date: Fri, 27 Mar 2026 11:16:36 +0100
Subject: [PATCH] Fix build failure with musl libc.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Fixes the following build failure when using musl libc:
../tests/test_data_generator.cpp: In lambda function:
../tests/test_data_generator.cpp:104:27: error: ‘htobe32’ was not declared in this scope; did you mean ‘htobe’?
104 | uint32_t be_val = htobe32(val);
| ^~~~~~~
| htobe
../tests/test_data_generator.cpp: In lambda function:
../tests/test_data_generator.cpp:109:27: error: ‘htobe64’ was not declared in this scope; did you mean ‘htobe’?
109 | uint64_t be_val = htobe64(val);
| ^~~~~~~
| htobe
Upstream: N/A. The impacted file removed upstream in https://github.com/tomba/rwmem/commit/f9e0bffacd7520ee8975c4a36a9d47292d145ae9
Signed-off-by: Vincent Cruz <mooz@blockos.org>
---
tests/test_data_generator.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/test_data_generator.cpp b/tests/test_data_generator.cpp
index 39e1322..3676f19 100644
--- a/tests/test_data_generator.cpp
+++ b/tests/test_data_generator.cpp
@@ -2,6 +2,7 @@
#include <algorithm>
#include <cstring>
+#include <endian.h>
// Constants from regfiledata.h
static const uint32_t RWMEM_MAGIC = 0x00e11554;
@@ -169,4 +170,4 @@ std::vector<uint8_t> TestRegisterFileBuilder::build() {
}
return data;
-}
\ No newline at end of file
+}
--
2.51.0

15
package/rwmem/Config.in Normal file
View File

@@ -0,0 +1,15 @@
config BR2_PACKAGE_RWMEM
bool "rwmem"
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # C++20
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_WCHAR # fmt
select BR2_PACKAGE_FMT
select BR2_PACKAGE_INIH
help
Simple program to read/write from/to any location in memory.
https://github.com/tomba/rwmem
comment "rwmem needs a toolchain w/ C++, wchar, gcc >= 10"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_10

3
package/rwmem/rwmem.hash Normal file
View File

@@ -0,0 +1,3 @@
# Locally calculated
sha256 d10639f563100c819202337c4d4df57db11c2fcd59a19b0c68e34b8eb9aa1d01 rwmem-2.0.tar.gz
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE

13
package/rwmem/rwmem.mk Normal file
View File

@@ -0,0 +1,13 @@
################################################################################
#
# rwmem
#
################################################################################
RWMEM_VERSION = 2.0
RWMEM_SITE = $(call github,tomba,rwmem,$(RWMEM_VERSION))
RWMEM_LICENSE = GPL-2.0
RWMEM_LICENSE_FILES = LICENSE
RWMEM_DEPENDENCIES = host-pkgconf fmt inih
$(eval $(meson-package))