Hi Wolfram,
Thanks for your patch!
On Thu, 20 Mar 2025 at 11:36, Wolfram Sang wsa+renesas@sang-engineering.com wrote:
The tool is not embedded in the testing framework. 'rtc' from rtc-tools serves as a much better programming example. No need to carry this tool in the kernel tree.
Where can I find these "rtc-tools"? They don't seem to be carried by e.g. Ubuntu or Debian. Google Search gives lots of results for something that looks completely unrelated.
Ubuntu also suggest:
$ rtc Command 'rtc' not found, but can be installed with: sudo apt install nvram-wakeup
Is that the same rtc tool?
tools/testing/selftests/rtc/.gitignore | 1 - tools/testing/selftests/rtc/Makefile | 2 - tools/testing/selftests/rtc/setdate.c | 77 --------------------------
Iff this can be cross-compiled easily, it might be a better option than the rtc-tools I couldn't find...
Gr{oetje,eeting}s,
Geert