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,30 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Cody Guldner <cody.guldner@rockwellcollins.com>
Date: Tue, 14 Apr 2020 09:12:01 -0500
Subject: [PATCH] CMakeLists: don't hard code thumb code generation
Migrating to version 1.2.1
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Cody Guldner <cody.guldner@rockwellcollins.com>
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fc2a5e3..25da215 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -135,7 +135,7 @@ if(ANDROID_PLATFORM)
${CMAKE_C_FLAGS}")
elseif(GNULINUX_PLATFORM)
if(${NE10_TARGET_ARCH} STREQUAL "armv7")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mthumb-interwork -mthumb -march=armv7-a -mfpu=vfp3 -funsafe-math-optimizations")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mthumb-interwork -march=armv7-a -mfpu=vfp3 -funsafe-math-optimizations")
set(CMAKE_ASM_FLAGS "${CMAKE_C_FLAGS} -mthumb-interwork -mthumb -march=armv7-a -mfpu=neon")
# Turn on asm optimization for Linux on ARM v7.
set(NE10_ASM_OPTIMIZATION on)
--
2.23.0

View File

@@ -0,0 +1,55 @@
From f19b109f2a879af7b0753d94a2a312e4039adbed Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Sun, 8 May 2022 23:52:36 +0200
Subject: [PATCH] fix build without C++
Fix the following build failure without C++ raised since version 1.2.0
and
https://github.com/projectNe10/Ne10/commit/20b1896fd6532336e6a46608778bd6e0396dc4dc:
CMake Error at /nvmedata/autobuild/instance-11/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message):
The C++ compiler
"/usr/bin/clang++"
is not able to compile a simple test program.
Fixes:
- http://autobuild.buildroot.org/results/a86d09d569babe6b88cb8e5fbb47483772f42aed
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Upstream status: https://github.com/projectNe10/Ne10/pull/280]
---
CMakeLists.txt | 2 +-
modules/CMakeLists.txt | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 40e1b72..10081f8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,7 +26,7 @@
#
cmake_minimum_required(VERSION 2.6)
-project(NE10 C CXX ASM)
+project(NE10 C ASM)
option(NE10_BUILD_SHARED "Build NE10 shared libraries" OFF)
option(NE10_BUILD_STATIC "Build NE10 static libraries" ON)
diff --git a/modules/CMakeLists.txt b/modules/CMakeLists.txt
index 4f158e9..951527a 100644
--- a/modules/CMakeLists.txt
+++ b/modules/CMakeLists.txt
@@ -173,6 +173,8 @@ endif(IOS_PLATFORM)
endif()
if(NE10_ENABLE_DSP)
+ enable_language(CXX)
+
#enable NE10_init_dsp
add_definitions(-DNE10_ENABLE_DSP)
--
2.35.1

17
package/ne10/Config.in Normal file
View File

@@ -0,0 +1,17 @@
config BR2_PACKAGE_NE10_ARCH_SUPPORTS
bool
default y if BR2_aarch64
default y if BR2_arm && (BR2_ARM_FPU_NEON || BR2_ARM_FPU_NEON_VFPV4)
config BR2_PACKAGE_NE10
bool "ne10"
depends on BR2_PACKAGE_NE10_ARCH_SUPPORTS
help
The Ne10 project has been set up to provide a set of common,
useful functions which have been heavily optimized for the
ARM and AArch64 Architecture and provide consistent well
tested behavior that can be easily incorporated into
applications. C interfaces to the functions are provided for
both assembler and NEON implementations.
http://projectne10.github.io/Ne10/

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

@@ -0,0 +1,3 @@
# Locally calculated
sha256 dd1a96610c0692cc80154ae123edd5d25e6e0a3f81d0c16a96425f3ef57b9929 ne10-1.2.1.tar.gz
sha256 eb48041c8e0ad556cf72f2a6eff89c893aa5702bba4e163ca7798cce07e6c55e doc/LICENSE

51
package/ne10/ne10.mk Normal file
View File

@@ -0,0 +1,51 @@
################################################################################
#
# ne10
#
################################################################################
NE10_VERSION = 1.2.1
NE10_SITE = $(call github,projectNe10,Ne10,v$(NE10_VERSION))
NE10_LICENSE = BSD-3-Clause or Apache-2.0
NE10_LICENSE_FILES = doc/LICENSE
NE10_INSTALL_STAGING = YES
NE10_CONF_OPTS = \
-DGNULINUX_PLATFORM=ON \
-DNE10_BUILD_EXAMPLES=OFF \
-DNE10_BUILD_UNIT_TEST=OFF \
-DNE10_LINUX_TARGET_ARCH=$(if $(BR2_aarch64),aarch64,armv7)
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
NE10_CONF_OPTS += -DNE10_ENABLE_DSP=ON
else
NE10_CONF_OPTS += -DNE10_ENABLE_DSP=OFF
endif
ifeq ($(BR2_STATIC_LIBS),)
NE10_CONF_OPTS += \
-DNE10_BUILD_SHARED=ON
endif
# The package does not have any install target, so have to provide
# INSTALL_STAGING_CMDS and INSTALL_TARGET_CMDS.
ifeq ($(BR2_STATIC_LIBS),)
define NE10_INSTALL_STAGING_SHARED_LIB
cp -dpf $(@D)/modules/libNE10*.so* $(STAGING_DIR)/usr/lib/
endef
endif
define NE10_INSTALL_STAGING_CMDS
cp -dpf $(@D)/inc/NE10*h $(STAGING_DIR)/usr/include/
cp -dpf $(@D)/modules/libNE10.a $(STAGING_DIR)/usr/lib/
$(NE10_INSTALL_STAGING_SHARED_LIB)
endef
ifeq ($(BR2_STATIC_LIBS),)
define NE10_INSTALL_TARGET_CMDS
cp -dpf $(@D)/modules/libNE10*.so* $(TARGET_DIR)/usr/lib/
endef
endif
$(eval $(cmake-package))