mi-msm8937 / android_kernel_xiaomi_msm8937

Unified Kernel for all Xiaomi MSM8937 Devices. KudProject Powered.
Other
21 stars 37 forks source link

The ICE40 FPGA (iCE40LP1K-CM49) calibration file is missing #3

Open 3sUser opened 1 year ago

3sUser commented 1 year ago

People have a problem with the battery and, for example, turning off the smartphone under heavy load (when, for example, the battery still has 40%). And all because of the lack of the ice40.bin calibration file (in system/etc/firmware). Which is used by ICE40 FPGA in many Redmi devices, e.g. Redmi 3S, Redmi 7A, Redmi 7.

You can read, for example, here what the ICE40 system is responsible for.

https://android.googlesource.com/kernel/msm/+/android-msm-bullhead-3.10-marshmallow-dr/Documentation/usb/ice40-hcd.txt

This applies to all your custom roms.

TogoFire commented 1 year ago

People have a problem with the battery and, for example, turning off the smartphone under heavy load (when, for example, the battery still has 40%). And all because of the lack of the ice40.bin calibration file (in system/etc/firmware). Which is used by ICE40 FPGA in many Redmi devices, e.g. Redmi 3S, Redmi 7A, Redmi 7.

You can read, for example, here what the ICE40 system is responsible for.

https://android.googlesource.com/kernel/msm/+/android-msm-bullhead-3.10-marshmallow-dr/Documentation/usb/ice40-hcd.txt

This applies to all your custom roms.

https://github.com/Dev-msm8953/kernel_xiaomi_msm8953/commit/143bc5cf473033ff27466805f1b0e13236807f29 https://github.com/Dev-msm8953/kernel_xiaomi_msm8953/commit/4af674aa6faa481c266625ed44a9766f267d23a6

https://github.com/xiaoleGun/linux/commit/8b65237e4e1b1c44f7be30bfcc4b61a6ee7f3198

defconfig: CONFIG_FPGA_MGR_ICE40_SPI=y