mxs: add basic board runtime detection support