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 "I2C Support" and "I2C device interface" in the kernel recompilation.<br>2) I added the "i2c-0" device in /dev (# mknod i2c-0 c 89 0)<br>3) then I run a simple program to open the device (provided by the "dev-interface" file of i2c kernel documentation) that returns this errno message: "No such device".
<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 "i2cn" but not worked. I have tried to use all the BSP's from the EDK (7.1i) and then only the "xparameters_ml300.h" in the compilation. After all of this, now I am modifying the RFS for "mdev"...
<br>Somebody can tell me what I am doing wrong if this use is possible?<br><br>I use the kernel tree "virtex-for-2.6.24" from SecretLab and Busybox 1.7.2.<br><br>Thanks.<br>