aboutsummaryrefslogtreecommitdiffstats
path: root/host/apps/omap_debug/setup-board-id-eeprom.sh
blob: 4dba1cce5511e39293b47cd78c53c840f41178fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

i2cset -y 3 0x51 0x00 0x00
i2cset -y 3 0x51 0x01 0x03
i2cset -y 3 0x51 0x02 0x00
i2cset -y 3 0x51 0x03 0x01
i2cset -y 3 0x51 0x04 0x01
i2cset -y 3 0x51 0x05 0x00
i2cset -y 3 0x51 0x06 0x00

i2cget -y 3 0x51 0 b  
i2cget -y 3 0x51 1 b  
i2cget -y 3 0x51 2 b  
i2cget -y 3 0x51 3 b  
i2cget -y 3 0x51 4 b  
i2cget -y 3 0x51 5 b  
i2cget -y 3 0x51 6 b