Yesterday and today I'm updating my debug tooling ...
# │firmware-dev
c
Yesterday and today I'm updating my debug tooling a bunch so I can more easily double-check the driver:
Copy code
[root@turingpi ~]$ ./smitool write magic_id 0x249
[root@turingpi ~]$ ./smitool read chip_number
0x6368
[root@turingpi ~]$ ./smitool read chip_ver.model_id
0x1
[root@turingpi ~]$ ./smitool write magic_id 0
I next want to add some facility to dump tables (e.g. VLAN config and L2 learning) but CLI design (and [clap]()) aren't really my strong points. Does anybody know of any nice robust method to design intuitive CLIs?