Kbi error writing the chip

hi @Terry,

I have strange error after flasing vim2 ubuntu server fw built by myself with fenix script.
I see a lot of i2c errors

kvim2#kbi led systemon w off
[aml_i2c_xfer] error ret = -110 i2c master a current slave addr is 0x18
i2c_write: i2c transfer failed
Error writing the chip: -110

Also this:
[aml_i2c_xfer] error ret = -110 i2c master a current slave addr is 0x18
i2c_read: i2c transfer failed
Error reading the chip: -110

S.

Hello @ssehovic

With latest script ?

Have you tried other images ?

https://dl.khadas.com/Firmware/VIM2/Ubuntu/EMMC/VIM2_Ubuntu-server-bionic_Linux-4.9_arm64_EMMC_V20190830.7z

Will try official fw and report back.
S.

1 Like

Hi @numbqq,

after flashing latest official firmware I have same errors and some like these:

sd: req failed (CMD18): -110, retrying…

I flashed form u-boot with usb_burn command from usb stick connected to vim2

Also this error I have with kbi:
kvim2#kbi led systemoff r
[aml_i2c_xfer] error ret = -110 i2c master a current slave addr is 0x18
i2c_read: i2c transfer failed
Error reading the chip: -110
read led mode err

S.

So after flashing latest Android rom everything is working fine.
It seems that errors were because of a wrong uboot.

S.

I checked the V20190830 and it works well.

kvim2#version

U-Boot 2015.01 (Aug 30 2019 - 12:19:42)
aarch64-none-elf-gcc (crosstool-NG linaro-1.13.1-4.8-2013.11 - Linaro GCC 2013.10) 4.8.3 20131111 (prerelease)
GNU ld (crosstool-NG linaro-1.13.1-4.8-2013.11 - Linaro GCC 2013.10) 2.23.2.20130610 Linaro 2013.10-4
kvim2#kbi led systemoff r
led mode: on  [systemoff]
kvim2#