eepromread: simple program to view eeprom contents

This program uses the i2c /dev interface to read the
contents of EEPROMs and display it to the user in
HEX and ASCII. It also has a mode that can display
data in label:value pairs. That mode is used for
board detection in the rc script to start the right
i2c drivers for the board.

Change-Id: I0bf5b13ffab5a89533c762d6881a145cf7f14914
This commit is contained in:
Thomas Cort
2013-07-15 10:29:37 -04:00
parent 526eb34144
commit fdbede5dcf
8 changed files with 382 additions and 0 deletions

View File

@@ -38,4 +38,9 @@ SUBDIR+= atnormalize dosread fdisk loadfont \
autopart part partition playwave \
recwave repartition screendump
.endif
.if ${MACHINE_ARCH} == "earm"
SUBDIR+= eepromread
.endif
.include <bsd.subdir.mk>