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 6410P_Ubuntu_Linux_BSP_880371_V1.2.zip by the following procedure.
==========
Cross Build OS: Ubuntu16.04 32bit
step 1) get kernel source
Access https://www.inforcecomputing.com/
Select [SUPPORT]-[TECHWEB] & Login to Inforce TechWeb
Select [SOFTWARE]
Select "INFORCE 6410 PLUS" Product
Click "Inforce 6410P Ubuntu Linux BSP"
Get "IFC6410P_Ubuntu_Linux_BSP_880371_V1.2.zip"
step 2) make kernel
mkdir Ubuntu_Linux
cd Ubuntu_Linux
copy "IFC6410P_Ubuntu_Linux_BSP_880371_V1.2.zip"
unzip IFC6410P_Ubuntu_Linux_BSP_880371_V1.2.zip
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/timeconst.pl line 373.
Change from: if (!defined(@val)) {
Change to: if (!@val) {
TC=../gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf-
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