Skip to content

Prebuilt userspace apps v1 (hello, basic, nano, sysinfo)

Pre-release
Pre-release

Choose a tag to compare

@flyboy-byte flyboy-byte released this 16 Aug 16:12
· 79 commits to main since this release

Prebuilt bFLT binaries cross-compiled with toolchain-v2 for this target (riscv32ima, no-MMU, uClibc), ready to inject into a rootfs and run under harness/ or real hardware. Plus one plain shell script.

  • hello — minimal smoke test (source: apps/hello.c)
  • basic — small integer-only BASIC interpreter (source: apps/basic.c)
  • nano — real GNU nano 7.2, cross-compiled via buildroot's own ncurses+nano recipes (--enable-tiny). First full-screen ncurses program verified working under the emulator. See PLAN.md's "Real GNU nano" section for the build recipe and verification notes.
  • sysinfo — a neofetch-style system-info banner (source: apps/sysinfo.sh), written for busybox hush — real neofetch needs bash, which needs an MMU this NOMMU target doesn't have. No cross-compile needed, it's a shell script, but needs CONFIG_FEATURE_SH_MATH enabled in busybox (on by default in net-v1 and later rootfs builds).

*.gdb files are the unstripped ELF originals (useful for debugging with gdb), not bootable themselves — the bare-named files are the actual bFLT executables. sysinfo is plain text, nothing to strip.

Inject into a rootfs:

debugfs -w -R "write /path/to/NAME usr/bin/NAME" rootfs
debugfs -w -R "sif usr/bin/NAME mode 0100755" rootfs
mcopy -o -i harness/disk.img rootfs ::ROOTFS