Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A13 uboot:undefined reference to 'i2c_read' #95

Open
Any012 opened this issue Oct 13, 2016 · 1 comment
Open

A13 uboot:undefined reference to 'i2c_read' #95

Any012 opened this issue Oct 13, 2016 · 1 comment

Comments

@Any012
Copy link

Any012 commented Oct 13, 2016

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- A13-Lichee_config
time make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 2>&1 | tee build.log

error:
arch/arm/mach-sunxi/built-in.o: In function pmic_bus_read:
/home/any/ilichee/u-boot-sunxi/arch/arm/mach-sunxi/pmic_bus.c:64:undefined reference to i2c_read'
arch/arm/mach-sunxi/built-in.o: In function pmic_bus_read:
/home/any/ilichee/u-boot-sunxi/arch/arm/mach-sunxi/pmic_bus.c:64:undefined reference to 'i2c_write'
make[1]: *** [spl/u-boot-spl] Error 1
make: *** [spl/u-boot-spl] Error 2

the 'arm-linux-gnueabihf- A13-Lichee_config' file was downlaod from
https://github.com/Zepan/ilichee/tree/master/ConfigFiles

the operationsystem is Ubuntu 14.04. the version of GCC is 4.7.

@ghost
Copy link

ghost commented Mar 13, 2017

Download again the config file, it has been updated.
CONFIG_SPL_I2C_SUPPORT=y has to be added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant