by eduardfaber » Sun May 14, 2017 7:19 pm
Yesterday I builded a 4.10.1 kernel, where the i2c was also not working. It is strange that the created config is not givving the used version was expecting 4.10.12-1 instead of 4.10.4-1, but thats an another issue:
$this->bbcode_second_pass_code('', '
Linux solartracker 4.10.12-1-ARCH #1 Fri Apr 21 19:31:46 MDT 2017 armv5tejl GNU/Linux
[root@solartracker ~]# cat /proc/config.gz |gunzip -dc|head
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 4.10.4-1 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_ARM_HAS_SG_CHAIN=y
CONFIG_MIGHT_HAVE_PCI=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_HAVE_PROC_CPU=y
CONFIG_STACKTRACE_SUPPORT=y
[root@solartracker ~]#
')
I used the original configuration and tested it. I made some changes. I made i2c-at91.ko.gz and i2c-dev.ko.gz a module.
I removed 2 wm8731 items and an other gpio thing to get rid of 3 messages looping every minute (or any time).
Here is the result:
$this->bbcode_second_pass_code('', '
[ 395.490000] at91_i2c f8010000.i2c: using dma0chan3 (tx) and dma0chan4 (rx) for DMA transfers
[ 395.500000] wm8731 0-001b: Assuming static MCLK
[ 395.500000] 0-001b supply AVDD not found, using dummy regulator
[ 395.510000] 0-001b supply HPVDD not found, using dummy regulator
[ 395.510000] 0-001b supply DCVDD not found, using dummy regulator
[ 395.520000] 0-001b supply DBVDD not found, using dummy regulator
[ 395.580000] wm8731 0-001b: Failed to issue reset: -121
[ 395.590000] wm8731: probe of 0-001b failed with error -121
[ 395.590000] at91_i2c f8010000.i2c: AT91 i2c bus driver (hw version: 0x402).
[ 395.600000] at91_i2c f8014000.i2c: using dma1chan4 (tx) and dma1chan5 (rx) for DMA transfers
[ 395.610000] at91_i2c f8014000.i2c: AT91 i2c bus driver (hw version: 0x402).
[root@Ariette_G25_test ~]# insmod i2c-dev.ko.gz
[ 427.790000] i2c /dev entries driver
[root@Ariette_G25_test ~]# ./lm75a
temperatuur: 22.5.
[root@Ariette_G25_test ~]# uname -a
Linux Ariette_G25_test 4.10.1-ARCH #1 Sat May 13 20:36:48 CEST 2017 armv5tejl GNU/Linux
[root@Ariette_G25_test ~]#
')
It works like this. The question is now: whats the reason????
to be continued.
Ed Faber
Last edited by
eduardfaber on Wed Jun 07, 2017 8:26 pm, edited 1 time in total.