致命错误:fw_data_5517.i:没有这样的文件或目录#include“ fw_data_5517.i”

时间:2019-12-26 15:29:57

标签: android-kernel

In file included from /rom/tb8504/kernel/lenovo/msm8953/drivers/input/touchscreen/elan/elan_ts.c:26:0:
/rom/tb8504/kernel/lenovo/msm8953/drivers/input/touchscreen/elan/elan_ts.h:151:28: fatal error: fw_data_5517.i: No such file or directory
   #include "fw_data_5517.i"
                            ^
compilation terminated.
make[5]: *** [/rom/tb8504/kernel/lenovo/msm8953/scripts/Makefile.build:258: drivers/input/touchscreen/elan/elan_ts.o] Error 1
make[4]: *** [/rom/tb8504/kernel/lenovo/msm8953/scripts/Makefile.build:402: drivers/input/touchscreen/elan] Error 2

设备树:https://github.com/dazza5000/android_device_lenovo_TB8504

供应商树:= https://github.com/dazza5000/android_vendor_lenovo_TB8504

内核源:= https://github.com/dazza5000/android_kernel_lenovo_msm8953

ROM源:= https://github.com/LineageOS/android

急速或Dogbin网址:= https://del.dog/tyhubonura.txt

我尝试了多个defconfig和另一个内核(https://github.com/redmidevs/android_kernel_xiaomi_msm8917),但也遇到了同样的问题。

1 个答案:

答案 0 :(得分:0)

这是缺少fw文件的问题。

我在lenovo网站上找到了该文件,并将其复制到适当的目录中,然后尝试重建。

联想来源在这里:

https://download.lenovo.com/consumer/mobiles/tb_8504f_8504x_s001030_191021_row_opensource.tar.gz

可以在此处找到固件文件的内容:

https://github.com/dazza5000/android_kernel_lenovo_msm8953/blob/b1db30c463cbe429e6a750b6b2439519180e23a4/drivers/input/touchscreen/fw_data_5517.i