Skip to content

Instantly share code, notes, and snippets.

View lupyuen's full-sized avatar
💭
Apache NuttX RTOS on StarPro64 RISC-V SBC / ESWIN EIC7700X

Lup Yuen Lee lupyuen

💭
Apache NuttX RTOS on StarPro64 RISC-V SBC / ESWIN EIC7700X
View GitHub Profile
@lupyuen
lupyuen / pr-labeler-test-cases.md
Last active February 12, 2026 22:53
Test Cases for new implementation of NuttX PR Labeling: https://github.com/apache/nuttx/issues/18359

Test Cases for new implementation of NuttX PR Labeling

Discussion: apache/nuttx#18359

Arch Labeling

  • Simple PR should be labeled correctly and trigger a Simple Build: Arm32-only, Arm64-only, RISC-V-only, Arch + Board, Arch + Board + Doc, ...

  • Complex PR should be labeled correctly and trigger a Complete Build: Drivers, Include, Arm32 + Arm64, Arm32 + RISC-V, ...

@lupyuen
lupyuen / nuttx-zizmor.log
Created February 10, 2026 05:55
Zizmor Scan of NuttX GitHub Actions: Proposed pull_request trigger + workflow_run trigger
$ git clone https://github.com/lupyuen6/nuttx
$ zizmor nuttx/.github/workflows/pr_labeler.yml
🌈 zizmor v1.22.0
INFO audit: zizmor: 🌈 completed nuttx/.github/workflows/pr_labeler.yml
error[dangerous-triggers]: use of fundamentally insecure workflow trigger
--> nuttx/.github/workflows/pr_labeler.yml:20:1
|
20 | / on:
21 | | workflow_run:
@lupyuen
lupyuen / nuttx-zizmor.log
Created February 9, 2026 23:42
Zizmor Scan of NuttX GitHub Actions
$ brew install zizmor
$ git clone https://github.com/apache/nuttx
$ zizmor nuttx
🌈 zizmor v1.22.0
INFO audit: zizmor: 🌈 completed nuttx/.github/actions/ci-container/action.yaml
INFO audit: zizmor: 🌈 completed nuttx/.github/actions/free-disk-space/action.yaml
INFO audit: zizmor: 🌈 completed nuttx/.github/dependabot.yml
INFO audit: zizmor: 🌈 completed nuttx/.github/workflows/arch.yml
INFO audit: zizmor: 🌈 completed nuttx/.github/workflows/build.yml
INFO audit: zizmor: 🌈 completed nuttx/.github/workflows/check.yml
@lupyuen
lupyuen / run.log
Created January 8, 2026 07:47
Log for Ingest GitHub Gists and GitLab Snippets. See https://lupyuen.org/articles/dashboard
luppy@nuttx-dashboard-vm:~/ingest-nuttx-builds$ cd $HOME/ingest-nuttx-builds
luppy@nuttx-dashboard-vm:~/ingest-nuttx-builds$ ./run.sh
+ (( 1 ))
+ (( 1 ))
+ find /home/luppy/riscv/nuttx -name defconfig
+ set +x
+ cargo run -- --user lupyuen --repo nuttx-build-log --defconfig /tmp/defconfig.txt
+ tr -d '\033\007'
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s
Running `target/debug/ingest-nuttx-builds --user lupyuen --repo nuttx-build-log --defconfig /tmp/defconfig.txt`
This file has been truncated, but you can view the full file.
luppy@nuttx-dashboard-vm:~/nuttx-release$ git config --global user.email "nuttxpr@gmail.com"
luppy@nuttx-dashboard-vm:~/nuttx-release$ git config --global user.name "nuttxpr (nuttx-dashboard-vm)"
luppy@nuttx-dashboard-vm:~/nuttx-release$ cd $HOME/nuttx-release
luppy@nuttx-dashboard-vm:~/nuttx-release$ ./sync-build-ingest.sh
+ script_path=./sync-build-ingest.sh
+++ dirname -- ./sync-build-ingest.sh
++ cd -P .
++ pwd
+ script_dir=/home/luppy/nuttx-release
+ tmp_dir=/tmp/sync-build-ingest
luppy@nuttx-dashboard-vm:~/nuttx-release$ git config --global user.email "nuttxpr@gmail.com"
luppy@nuttx-dashboard-vm:~/nuttx-release$ git config --global user.name "nuttxpr (nuttx-dashboard-vm)"
luppy@nuttx-dashboard-vm:~/nuttx-release$ cd $HOME/nuttx-release
luppy@nuttx-dashboard-vm:~/nuttx-release$ ./enable-macos-windows.sh
+ tmp_dir=/tmp/enable-macos-windows
+ rm -rf /tmp/enable-macos-windows
+ mkdir /tmp/enable-macos-windows
+ cd /tmp/enable-macos-windows
+ git clone ssh://git@github.com/NuttX/nuttx
Cloning into 'nuttx'...
This file has been truncated, but you can view the full file.
luppy@nuttx-dashboard-vm:~/ingest-nuttx-builds$ mkdir $HOME/riscv
luppy@nuttx-dashboard-vm:~/ingest-nuttx-builds$ pushd $HOME/riscv
~/riscv ~/ingest-nuttx-builds
luppy@nuttx-dashboard-vm:~/riscv$ git clone https://github.com/apache/nuttx
Cloning into 'nuttx'...
remote: Enumerating objects: 877437, done.
remote: Counting objects: 100% (285/285), done.
remote: Compressing objects: 100% (173/173), done.
remote: Total 877437 (delta 147), reused 112 (delta 112), pack-reused 877152 (from 4)
Receiving objects: 100% (877437/877437), 343.19 MiB | 16.97 MiB/s, done.
@lupyuen
lupyuen / validate-nuttx-release-oz64-12.12.0-RC0-54b5a8f2c3.log
Created December 27, 2025 00:57
Validate NuttX Release for oz64 (12.12.0 / RC0 / 54b5a8f2c3)
Script started on 2025-12-27 08:53:31+08:00 [COMMAND="/home/luppy/nuttx-release/release-oz64.sh" TERM="xterm-256color" TTY="/dev/pts/23" COLUMNS="118" LINES="67"]
----- Validate NuttX Release for Oz64 SG2000
release=12.12.0
candidate=RC0
hash=54b5a8f2c3
Now running https://github.com/lupyuen/nuttx-release/blob/main/release-oz64.sh
+ export OZ64_SERVER=tftpserver
+ OZ64_SERVER=tftpserver
+ export TFTP_SERVER=tftpserver
+ TFTP_SERVER=tftpserver
@lupyuen
lupyuen / validate-nuttx-release-avaota-12.12.0-RC0-54b5a8f2c3.log
Created December 27, 2025 00:52
Validate NuttX Release for avaota (12.12.0 / RC0 / 54b5a8f2c3)
Script started on 2025-12-27 08:49:33+08:00 [COMMAND="/home/luppy/nuttx-release/release-avaota.sh" TERM="xterm-256color" TTY="/dev/pts/23" COLUMNS="118" LINES="67"]
----- Validate NuttX Release for Avaota-A1
release=12.12.0
candidate=RC0
hash=54b5a8f2c3
Now running https://github.com/lupyuen/nuttx-release/blob/main/release-avaota.sh
+ export AVAOTA_SERVER=thinkcentre
+ AVAOTA_SERVER=thinkcentre
+ script_path=/home/luppy/nuttx-release/release-avaota.sh
+++ dirname -- /home/luppy/nuttx-release/release-avaota.sh
@lupyuen
lupyuen / validate-nuttx-release-starpro64-12.12.0-RC0-54b5a8f2c3.log
Created December 27, 2025 00:48
Validate NuttX Release for starpro64 (12.12.0 / RC0 / 54b5a8f2c3)
Script started on 2025-12-27 08:45:01+08:00 [COMMAND="/home/luppy/nuttx-release/release-starpro64.sh" TERM="xterm-256color" TTY="/dev/pts/23" COLUMNS="118" LINES="67"]
----- Validate NuttX Release for StarPro64
release=12.12.0
candidate=RC0
hash=54b5a8f2c3
Now running https://github.com/lupyuen/nuttx-release/blob/main/release-starpro64.sh
+ export STARPRO64_SERVER=thinkcentre
+ STARPRO64_SERVER=thinkcentre
+ export TFTP_SERVER=tftpserver
+ TFTP_SERVER=tftpserver