Hi all,<br><br>I have booted up linux 2.6 on Xilinx XUPV2P (using the base of ml300 config file).<br>Now I am trying to use the i2c in the user-space. First of all: is it possible?<br><br>My first attempts have not worked. I have made this:
<br>1) I enable &quot;I2C Support&quot; and &quot;I2C device interface&quot; in the kernel recompilation.<br>2) I added the &quot;i2c-0&quot; device in /dev (# mknod i2c-0 c 89 0)<br>3) then I run a simple program to open the device (provided by the &quot;dev-interface&quot; file of i2c kernel documentation) that returns this errno message: &quot;No such device&quot;.
<br><br>I have tried to use the device number 1, 2, 3, 4 but these have not worked. I have tried to use the device &quot;i2cn&quot; but not worked. I have tried to use all the BSP&#39;s from the EDK (7.1i) and then only the &quot;xparameters_ml300.h&quot; in the compilation. After all of this, now I am modifying the RFS for &quot;mdev&quot;...
<br>Somebody can tell me what I am doing wrong if this use is possible?<br><br>I use the kernel tree &quot;virtex-for-2.6.24&quot; from SecretLab and Busybox 1.7.2.<br><br>Thanks.<br>