Two good news :
- Rockpi S is supported again
- There is a bugfix to get gpio values via sysfs and libgpiod
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/drivers/gpio/gpio-rockchip.c?h=linux-5.19.y&id=a11544efbcf5caa1c6e7ccc8e0f3bf1b63c9b500
Kernel must be >= 5.19.17, or wait the next release of armbian rockpi s.
I have two Rockpi S without SDNAND and one refuse to boot on SDcard.
If you have the same problem :
sed -i 's/^IDBLOADER_BLOB/#IDBLOADER_BLOB/' config/sources/families/rockpis.conf
touch .ignore_changes
sudo rm ./cache/sources/u-boot/v2022.04/idbloader.bin
./compile.sh ...
@ia64
If you use armbian 22.11, spi2 is disabled, see :
https://github.com/armbian/build/commit/d3a3afe3850861ceaeb44f3631251c764a28cd43
For the moment i don't use spi but this overlay :
overlay-rockpi-s.dts
You can replace "disabled" by "okay", and :
sudo /usr/sbin/armbian-add-overlay overlay-rockpi-s.dts && sudo reboot
In this overlay, gpio-line-names is usefull with libgpiod (sysfs is deprecated
https://www.thegoodpenguin.co.uk/blog/stop-using-sys-class-gpio-its-deprecated/)
to have the standard gpio pin between pin1 to pin24. I have equivalent overlays
for Orange Pi Zero and Nanopi Neo and access pins with their physical pin number.