From 2de179640be9d897a63f7423f6e04399394abb8b Mon Sep 17 00:00:00 2001 From: Philip Balister Date: Thu, 29 Apr 2010 05:26:29 +0000 Subject: Add script to setup board id info in eeprom. --- host/apps/omap_debug/setup-board-id-eeprom.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 host/apps/omap_debug/setup-board-id-eeprom.sh (limited to 'host') diff --git a/host/apps/omap_debug/setup-board-id-eeprom.sh b/host/apps/omap_debug/setup-board-id-eeprom.sh new file mode 100755 index 000000000..4dba1cce5 --- /dev/null +++ b/host/apps/omap_debug/setup-board-id-eeprom.sh @@ -0,0 +1,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 -- cgit v1.2.3