Armadilloフォーラム

製品種別の判別方法

otani818

2022年12月21日 9時34分

Armadillo 製品間で共通のスクリプトを実装していますが、
G3.G3Lなど製品種別を判別する方法はありますか。
※既出かもしれませんが・・・

よろしくお願いします。

コメント

at_syunya.ohshio

2022年12月21日 16時11分

大塩です。

> Armadillo 製品間で共通のスクリプトを実装していますが、
> G3.G3Lなど製品種別を判別する方法はありますか。
以下コマンドで確認可能です。

strings  /proc/device-tree/model 

以上です。

otani818

2022年12月22日 14時03分

大塩 さま

以下の通り読み出せました。

●G3L
# strings /proc/device-tree/model
Atmark-Techno Armadillo-X1L Board
 
●G3 M1
# strings /proc/device-tree/model
Atmark-Techno Armadillo-IoT Gateway G3 M1 Board

ありがとうございました!