linux版本:linux-3.0
开发板:FL2440
EEPROM:AT24C512
1.下载i2c-tools
[zhouyou@centos6 ~]$ wget http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-3.1.0.tar.bz2
[zhouyou@centos6 ~]$ tar -xjf i2c-tools-3.1.0.tar.bz2
[zhouyou@centos6 ~]$ cd i2c-tools-3.1.0
[zhouyou@centos6 i2c-tools-3.1.0]$vim Makefile
CROSS=/opt/buildroot-2012.08/arm920t/usr/bin/arm-linux-
export CC=${CROSS}gcc
[zhouyou@centos6 i2c-tools-3.1.0]$ make