feat(modalix): ARK-OS package for SiMa Modalix / eLxr (JAJ) - #112
Draft
AlexKlimaj wants to merge 6 commits into
Draft
feat(modalix): ARK-OS package for SiMa Modalix / eLxr (JAJ)#112AlexKlimaj wants to merge 6 commits into
AlexKlimaj wants to merge 6 commits into
Conversation
ARK-OS remains a companion .deb layered on a base OS — not a full flash image. Add platform "modalix" for ARK Just a Jetson + Modalix SoM on eLxr 12 (aria): - Service user sima (SiMa default), not jetson/pi - Systemd unit set without jetson-can or rid-transmitter - FMU VBUS/reset helpers are no-ops until nRESET is mapped - Build baselines aria/bookworm (Python 3.11); preinst allows aria↔bookworm - install_ark_os.sh detects eLxr / Modalix DT model - CI matrix leg: arm64 debian:bookworm → ark-os-modalix-bookworm Document flash order: SiMa eLxr + ark-jaj.dtbo first, then this package.
install_ark_os.sh checked for a user named after PLATFORM (modalix), but the package runs as ARK_USER=sima on eLxr. Check the real service account instead.
Detect SiMa Modalix/eLxr correctly (do not treat Just a Jetson as NVIDIA). Populate model/module from device-tree and serial from AT24CSW unique ID. Report power draw from /run/ark-jaj/sys-power (INA238). UI hides L4T, JetPack, CUDA stack, and Jetson clocks on non-Jetson devices.
compatible is multi-string; use all tokens so module shows simaai,modalix-som instead of falling back to a generic label.
Expose optional power.voltage (V) and power.current (A) from the JAJ sys-power publisher / hwmon, and display them in the System UI when set.
Expose resources.disks (eMMC + NVMe etc.) from block devices and render a usage bar per disk. Unmounted drives show capacity as Not mounted.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ARK-OS is a Debian package of companion services (mavlink-router, web UI, video, log upload, etc.), not a full OS image. This PR adds a
modalixplatform so the same stack can run on SiMa Modalix + eLxr 12 (aria) — e.g. ARK Just a Jetson with Modalix SoM — after the SiMa base image is flashed.How to get it on a Modalix board
ark-jaj.dtbo.simamust exist):sudo ./packaging/install_ark_os.sh --platform=modalix ./ark-os-modalix-bookworm_*.debPlatform differences vs Jetson
jetsonsimaCode changes
packaging/build.sh—modalixplatform,ARK_USER=sima, baselinesaria:3.11/bookworm:3.11packaging/assemble_tree.sh,build_venv.sh,install_ark_os.sh,DEBIAN/*packaging/service-files/modalix/*— jetson set minus can/rid,User=simaplatform/modalix/— README + no-op reset/VBUS helpersdebian:bookwormmatrix leg forark-os-modalix-bookwormTest plan
sima,systemctl status ark-os.targetRelated
ark-jaj.dtbo, INA238/run/ark-jaj/sys-power