Repository navigation
Kernel + rootfs v2 — sysfs GPIO, root-rw fix, libgpiod, sleep
·
47 commits
to main
since this release
Image + rootfs.ext2 for the tiny-rv32ima NOMMU target.
- CONFIG_GPIO_SYSFS added alongside the existing chardev GPIO driver — /sys/class/gpio/exportN gives lock-free file-based GPIO access (echo/cat), better suited to shell/BASIC/Lua scripting than the exclusive-request chardev model. Coexists with /dev/gpiochip0, nothing removed.
- Fixed root filesystem read-only bug: /etc/inittab's remount-rw step was both disabled and, once enabled, mis-ordered before /proc was mounted (busybox mount -o remount needs /proc/mounts). Root now actually persists writes across reboots.
- libgpiod 1.6.4 tools added: gpiodetect, gpioinfo, gpioget, gpioset, gpiofind, gpiomon.
- busybox CONFIG_SLEEP/CONFIG_FEATURE_FANCY_SLEEP enabled (sleep 0.5, sleep 2m etc now work; previously missing entirely).
DTB unchanged from pico-rv32ima-boards-v4/v5 — no device-tree edits needed for these changes, reuse the existing DTB.