Inforce Computing Forums

inforce computing forums to discuss about inforce products

How to use I2C device at EXPANSION CONNECTOR on Ubuntu Linux

Questions and discussions related to Inforce 6410Plus

by Shinichi » Mon Jun 25, 2018 2:30 am

I want to use I2C device at EXPANSION CONNECTOR (Pin14: I2C2_CLK, Pin12: I2C2_DATA) of Inforce 6410Plus.
However, the I2C signal is not output.

I am looking at the Users Guide 002494 Rev C (July 7, 2017) I downloaded from Inforce TechWeb.

I checked the I2C output with i2c-tools.

linaro@linaro-gnome:~$ sudo i2cdetect -l
i2c-0 i2c QUP I2C adapter I2C adapter
i2c-4 i2c QUP I2C adapter I2C adapter
i2c-6 i2c msm hdmi i2c I2C adapter
i2c-7 i2c i2c-gpio7 I2C adapter

I input the following command and checked the output of I2C2_CLK (EXPANSION CONNECTOR Pin 14) with an oscilloscope.

linaro@linaro-gnome:~$ sudo i2cdetect -y -r 0
linaro@linaro-gnome:~$ sudo i2cdetect -y -r 4
linaro@linaro-gnome:~$ sudo i2cdetect -y -r 6
linaro@linaro-gnome:~$ sudo i2cdetect -y -r 7

However, can't observe the i2c signal.

Please tell me how to make i2c available.

In addition, the OS uses the one which built IFC by the following procedure.

Cross Build OS: Ubuntu16.04 32bit

step 1) get kernel source
Select [SUPPORT]-[TECHWEB] & Login to Inforce TechWeb
Select "INFORCE 6410 PLUS" Product
Click "Inforce 6410P Ubuntu Linux BSP"
Get ""

step 2) make kernel
mkdir Ubuntu_Linux
cd Ubuntu_Linux
copy ""
cd source
git clone ubuntu-ifc6410p-14.10_1.bundle ubuntu-ifc6410p-14.10 -b ubuntu-SYS6410p-14.10
tar -xvf gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.bz2
cd ubuntu-ifc6410p-14.10

/kernel/ line 373.
Change from: if (!defined(@val)) {
Change to: if (!@val) {

mkdir ../install
alias kmake='make CROSS_COMPILE=$TC ARCH=arm INSTALL_MOD_PATH=../install'
kmake clean ifc6410p_defconfig
kmake zImage modules modules_install firmware_install

step 3) generate boot imgge
copy from "../install/lib/*.*" to "lib/"
abootimg --create linaro_6410p_boot.img -k arch/arm/boot/zImage -f ../bootimg.cfg -r ../initrd.img-3.4.0-linaro-ifc6410p

step 4) flash image
sudo fastboot flash cache ../../binaries/firmware-ifc6410p-20141024-37.img
sudo fastboot flash boot linaro_6410p_boot.img
sudo fastboot flash -S 768M userdata ../../binaries/linaro-trusty-gnome-ifc6410p-20141024-37.img
sudo fastboot reboot
Posts: 2
Joined: Wed Jun 13, 2018 11:01 pm

Return to INFORCE 6410PLUS™


Contact Us.