How to distinct which hardware is program running on : UP / UP4000 /UP7000

Lubo
Lubo New Member Posts: 41 ✭✭

I have to use same program for multiple instances running on different hw moules. I actualy use ubilinux/UPBoard, as well as ubuntu/UP400 and ubuntu/UP7000 for some instances. How can I check which version of hw/module is actually my program ( writen in c ) running on ?

Best Answer

  • HarryChiu
    HarryChiu New Member Posts: 230 ✭✭✭
    Answer ✓

    Hi Sir

    Please try this command to check borad_name from dmi in C
    read /sys/class/dmi/id/board_name

    Best Regards,
    Harry Chiu

Answers

Privacy Policy