Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/scripts/ci-matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,8 @@
# would spend flash on a radio that is not there. A mainline board with a
# driver choosing it would take it off this list.
NOT_BUILT = {
# Manual stock-ABI diagnostics; no supported board enables these tools.
"nt98513-diagnostics",
"adaptive-link", "aic8800-openipc", "allwinner-osdrv-v83x", "atbm-wifi",
"aura-httpd", "baresip-openipc", "comgt", "f2fs-tools-openipc", "faceter-agent",
"faceter-detector", "fdk-aac-openipc", "ffmpeg-openipc", "gdbserver-lite",
Expand Down
1 change: 1 addition & 0 deletions general/package/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ source "$BR2_EXTERNAL_GENERAL_PATH/package/netblink/Config.in"
source "$BR2_EXTERNAL_GENERAL_PATH/package/node-exporter/Config.in"
source "$BR2_EXTERNAL_GENERAL_PATH/package/novatek-osdrv-nt9856x/Config.in"
source "$BR2_EXTERNAL_GENERAL_PATH/package/ntfy/Config.in"
source "$BR2_EXTERNAL_GENERAL_PATH/package/nt98513-diagnostics/Config.in"
source "$BR2_EXTERNAL_GENERAL_PATH/package/onvif-simple-server/Config.in"
source "$BR2_EXTERNAL_GENERAL_PATH/package/openipc-failsafe/Config.in"
source "$BR2_EXTERNAL_GENERAL_PATH/package/openipc-precision-time/Config.in"
Expand Down
14 changes: 14 additions & 0 deletions general/package/nt98513-diagnostics/Config.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
config BR2_PACKAGE_NT98513_DIAGNOSTICS
bool "nt98513-diagnostics"
depends on BR2_mipsel
depends on BR2_MIPS_CPU_MIPS32R2
depends on BR2_MIPS_OABI32
help
Optional manual diagnostics for the recovered NT98513 stock
Linux userspace ABI. Builds three freestanding static MIPS32r2
O32 soft-float tools; the rootfs libc float ABI is not used.
Requires a GNU/Clang compiler accepting the checked target flags.
No services, device nodes, firmware or board support are installed.
Build success does not establish compatible hardware or drivers.

https://github.com/OpenIPC/ipctool
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Locally computed from the archive at the pinned OpenIPC/ipctool commit.
sha256 5da4b2980353e14aebc1eec14d1399e8aa4c6ac803eab2fc3e396d3f33216fed nt98513-diagnostics-c6fba9743e6b3924a3652d72fbcbdf564cbd33bb.tar.gz
sha256 b5817682a24c8f769067ce163c09c3fe5c6d24a36dd4c4b9dd4abcd77a95e29f tools/nt98513/LICENSE
20 changes: 20 additions & 0 deletions general/package/nt98513-diagnostics/nt98513-diagnostics.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
################################################################################
#
# nt98513-diagnostics
#
################################################################################

NT98513_DIAGNOSTICS_VERSION = c6fba9743e6b3924a3652d72fbcbdf564cbd33bb
NT98513_DIAGNOSTICS_SITE = $(call github,OpenIPC,ipctool,$(NT98513_DIAGNOSTICS_VERSION))
NT98513_DIAGNOSTICS_SUBDIR = tools/nt98513
NT98513_DIAGNOSTICS_LICENSE = MIT
NT98513_DIAGNOSTICS_LICENSE_FILES = tools/nt98513/LICENSE
NT98513_DIAGNOSTICS_SUPPORTS_IN_SOURCE_BUILD = NO

# Keep Buildroot's compiler wrapper/sysroot while satisfying the standalone
# project's Linux target check. Its fixed flags and compiler probe enforce
# the freestanding output ABI independently of the rootfs libc float ABI.
NT98513_DIAGNOSTICS_CONF_OPTS = -DCMAKE_SYSTEM_NAME=Linux
NT98513_DIAGNOSTICS_INSTALL_TARGET_OPTS = --component NT98513Diagnostics

$(eval $(cmake-package))