christian w 0 Posted July 26, 2023 Hello community We have been using a good number of tinkerboards for a while, starting with the original R1.x but recently also adding R2.x ones Now we wonder if we can somehow programmatically figure out (during runtime) what revision we are running our software on. Is there any way to get at this information? Maybe serial number conventions or some other secret eeprom registers? Thanks for pointers! Share this post Link to post Share on other sites
tooz 54 Posted July 27, 2023 hello @christian w, to check the hardware version: cat /proc/boardinfo and cat /proc/boardver if you're using the first generation of tinker board that the command above doesn't work, please use this command instead: cat /proc/board_info to check the os version: cat /etc/version Share this post Link to post Share on other sites
christian w 0 Posted July 28, 2023 Thanks a lot for this feedback @tooz On my board there is no /proc/board* node, unfortunately. I think I have a rev1 board here, will check with a rev2 one asap.. I might have to mention that we have a custom OS running on our boards, that's built according to a Yocto receipt Can you give me a pointer how these /proc entries are being established maybe? Share this post Link to post Share on other sites
christian w 0 Posted August 9, 2023 I think I found the place: https://github.com/TinkerBoard/debian_kernel/blob/linux4.4-rk3288-tb/drivers/board-info/board-info.c#L78 But as far as I see this is distinguishing the different board versions, but not the revisions of the board. Share this post Link to post Share on other sites