Fex file from China has wrong I2C address for AXP209. Works better with it fixed.
<6>i2c /dev entries driver [ 2.095121] i2c /dev entries driver config i2c gpio with gpio_config api [ 2.102658] config i2c gpio with gpio_config api <6>axp_mfd 0-0034: AXP (CHIP ID: 0x41) detected [ 2.113018] axp_mfd 0-0034: AXP (CHIP ID: 0x41) detected <4>i2c i2c-0: Invalid probe address 0x00 [ 2.122792] i2c i2c-0: Invalid probe address 0x00 <6>I2C: i2c-0: AW16XX I2C adapter [ 2.130621] I2C: i2c-0: AW16XX I2C adapter <4>i2c i2c-1: Invalid probe address 0x00 [ 2.138864] i2c i2c-1: Invalid probe address 0x00 <6>I2C: i2c-1: AW16XX I2C adapter [ 2.146714] I2C: i2c-1: AW16XX I2C adapter <4>i2c i2c-2: Invalid probe address 0x00 [ 2.155221] i2c i2c-2: Invalid probe address 0x00 <6>hub 1-1:1.0: USB hub found [ 2.162835] hub 1-1:1.0: USB hub found <6>I2C: i2c-2: AW16XX I2C adapter [ 2.169652] I2C: i2c-2: AW16XX I2C adapter <6>hub 1-1:1.0: 4 ports detected [ 2.176753] hub 1-1:1.0: 4 ports detected <3>[ccu-err] clk_enable: invalid handle [ 2.184411] [ccu-err] clk_enable: invalid handle <4>i2c i2c-3: Invalid probe address 0x00 [ 2.193064] i2c i2c-3: Invalid probe address 0x00 <6>I2C: i2c-3: AW16XX I2C adapter [ 2.200899] I2C: i2c-3: AW16XX I2C adapter <3>[ccu-err] clk_enable: invalid handle [ 2.208652] [ccu-err] clk_enable: invalid handle <4>i2c i2c-4: Invalid probe address 0x00 [ 2.217193] i2c i2c-4: Invalid probe address 0x00 <6>I2C: i2c-4: AW16XX I2C adapter [ 2.225007] I2C: i2c-4: AW16XX I2C adapter [ace_drv] start!!! [ 2.231263] [ace_drv] start!!! [ace_drv] init end!!! [ 2.236650] [ace_drv] init end!!! [pa_drv] start!!! [ 2.241651] [pa_drv] start!!! [pa_drv] init end!!! [ 2.246791] [pa_drv] init end!!! <6>axp20_ldo1: 1300 mV [ 2.252378] axp20_ldo1: 1300 mV <6>axp20_ldo2: 1800 <--> 3300 mV at 3000 mV [ 2.260789] axp20_ldo2: 1800 <--> 3300 mV at 3000 mV <6>axp20_ldo3: 700 <--> 3500 mV at 2800 mV [ 2.270914] axp20_ldo3: 700 <--> 3500 mV at 2800 mV <6>axp20_ldo4: 1250 <--> 3300 mV at 2800 mV [ 2.281213] axp20_ldo4: 1250 <--> 3300 mV at 2800 mV <6>axp20_buck2: 700 <--> 2275 mV at 1400 mV [ 2.291409] axp20_buck2: 700 <--> 2275 mV at 1400 mV <6>axp20_buck3: 700 <--> 3500 mV at 1250 mV [ 2.301617] axp20_buck3: 700 <--> 3500 mV at 1250 mV <6>axp20_ldoio0: 1800 <--> 3300 mV at 2800 mV [ 2.311491] axp20_ldoio0: 1800 <--> 3300 mV at 2800 mV I attached photo of board. I may be able to get a few to hand out. A20 1GB RAM 8GB flash 2MP OV2543 camera 3 USB SD Card Ethernet Telephone interface (for VOIP) HDMI IR Mic Audio out Serial port P1110011_2.JPG<https://docs.google.com/file/d/0B-2Z6FDzyIwrcFNfUzhWNWwxRjA/edit?usp=drive_web> On Fri, Jan 10, 2014 at 11:13 PM, Dmitriy B. <[email protected]> wrote: > [ 2.105938] i2c /dev entries driver >> [ 2.114206] config i2c gpio with gpio_config api >> [ 2.122210] incomplete xfer (0x20) >> [ 2.129422] axp_mfd 0-0034: failed reading at 0x03 >> [ 2.137781] [AXP20-MFD] try to read chip id failed! >> [ 2.147226] axp_mfd: probe of 0-0034 failed with error -70 >> [ 2.156546] i2c i2c-0: Invalid probe address 0x00 >> [ 2.164426] I2C: i2c-0: AW16XX I2C adapter >> [ 2.173834] i2c i2c-1: Invalid probe address 0x00 >> [ 2.181672] hub 1-1:1.0: USB hub found >> [ 2.188584] I2C: i2c-1: AW16XX I2C adapter >> [ 2.196185] hub 1-1:1.0: 4 ports detected >> [ 2.204120] i2c i2c-2: Invalid probe address 0x00 >> [ 2.211998] I2C: i2c-2: AW16XX I2C adapter >> [ 2.219840] [ccu-err] clk_enable: invalid handle >> [ 2.228848] i2c i2c-3: Invalid probe address 0x00 >> [ 2.236737] I2C: i2c-3: AW16XX I2C adapter >> [ 2.244633] [ccu-err] clk_enable: invalid handle >> [ 2.254376] i2c i2c-4: Invalid probe address 0x00 >> [ 2.262184] I2C: i2c-4: AW16XX I2C adapter > > > Yes, that is rather interesting, AXP fails in your log. You have something > wrong with I2C bus, are you sure that you have everything right in > script.bin? I'm talking about these parameters, I2C muxing > https://github.com/linux-sunxi/sunxi-boards/blob/master/sys_config/a20/cubieboard2.fex#L122 > addr/id > for AXP > https://github.com/linux-sunxi/sunxi-boards/blob/master/sys_config/a20/cubieboard2.fex#L895 > > Also, CSI driver wants these parameters of AXP to be working: > https://github.com/linux-sunxi/sunxi-boards/blob/master/sys_config/a20/cubieboard2.fex#L516 > Thats > why it throws error. > > I'm linking cubieboard because it is in known working state, as I > understand, you have your own custom board. > > -- > You received this message because you are subscribed to the Google Groups > "linux-sunxi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Jon Smirl [email protected] -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
