hello everyone,
we are currently using the f&s picocoma9x board with the embedded linux kernel.
we have attached this picoboard to our custom hardware. On this custom hardware there are a BMI055 which should be accessed via the spi and a bme280 which should be accessed via the i2c4.
furthermore we also want to use the second ethernet port.
in my view the default devicetree is not configured for the i2c4, right? therefore i created a custom devicetree.
to create the custom devicetree we use the virtual machine and add the fsimx6x-V2.1 package. we use the install-sources.sh script and were able to build the kernel and the devicetree.
for the devicetree we use the defines:
#define CONFIG_PICOCOMA9x_ETH_B
and for the i2c
#define CONFIG_PICOCOMA9X_I2C_B
and disable the cortex m4 and the gpu.
with uboot and tftp we uploaded the devicetreeblob as described in the documentation.
unfortuneatly when we reboot the pico, i cannot access the sensors or the 2nd ethernet as desired. it looks like as the devicetree hasn't changed although we typed the nand erase nand write in the u-boot.
when i want to use i2cdetect i can only use i2c-2 and i2c-3. when i type ifconfig only one ethernet port is shown.
do i have to update the whole kernel?
could it be possible that theres a mismatch between kernel and devicetree?
should i am be able to access the external sensors with the default kernel and devicetree?
i attached the dmesg_output.
i am looking forward for some tipps.
many thanks
greetz fda
EDIT:
i double checked the documents and saw the following sentence:
"7) Alternate pin configuration function in software.
Please refer the software manual or ask our technical support.
I2C0 can only used on one pair of pins at the same time (identical hardware block), I2C1 also.
There is no compatibility to other picoCOM using this alternative function."
We want to use the I2C on pin IO14 for SDA and IO15 for SCL is this possible in general?
EDIT2:
i've seen i am in the wrong topic.. @mods please move the thread to the embedded Linux topic.