gts3l-common: camera: Add wifiloader to use it as a trigger for eeprom
I saw these message from LOS 16 by Valera1978. ``` E [0: wifiloader: 857] msm_eeprom_parse_memory_map: :565 set num_data as total-size (num_map : 8, total : 4608, valid : 4060) E [0: wifiloader: 857] msm_eeprom_match_id: read 0x00 0x01 0x00 0x00 E [0: wifiloader: 857] msm_eeprom_i2c_probe: Skip front read eeprom in probe func E : [0: wifiloader: 857] msm_eeprom_i2c_probe qcom,sensor-position 0 E : [0: wifiloader: 857] msm_eeprom_i2c_probe success result=0 is_supported=0x1X I [0: wifiloader: 857] msm_eeprom_init_module: 2177 probe succeed I : [0: wifiloader: 857] msm_eeprom_get_dt_data gpio count 3 I [0: wifiloader: 857] msm_eeprom_get_dt_data: 1355 I [0: wifiloader: 857] msm_eeprom_get_dt_data: 1363 I [0: wifiloader: 857] msm_eeprom_get_dt_data: 1370 I [0: wifiloader: 857] msm_eeprom_get_dt_data: 1374 E [0: wifiloader: 857] msm_eeprom_parse_memory_map: otp qcom,num-blocks 3 E [0: wifiloader: 857] msm_eeprom_parse_memory_map: :973 set num_data as total-size (num_map : 3, total : 64, valid : 64) I [1: wifiloader: 857] read_eeprom_memory: read OTP_Bank: 1 E [1: wifiloader: 857] read_eeprom_memory: 820 addr = 0x0, size = 64 E [0: wifiloader: 857] msm_eeprom_platform_probe: All CRC values are matched. I : [0: wifiloader: 857] msm_eeprom_platform_probe qcom,sensor-position 1 E : [0: wifiloader: 857] msm_eeprom_platform_probe Front is_supported=0x03 I [0: wifiloader: 857] msm_eeprom_init_module: 2090 otp probe succeed ``` And this actually do the thing I want. Signed-off-by: Deokgyu Yang <secugyu@gmail.com> Change-Id: I6f0f095fde61b8d00ff189bb2b5a51dacbac2bfd
This commit is contained in:
parent
1b3e5c58fb
commit
0c8728fcab
2 changed files with 6 additions and 1 deletions
3
gts3l.mk
3
gts3l.mk
|
@ -406,7 +406,8 @@ PRODUCT_PACKAGES += \
|
||||||
libwpa_client \
|
libwpa_client \
|
||||||
hostapd \
|
hostapd \
|
||||||
wpa_supplicant \
|
wpa_supplicant \
|
||||||
wpa_supplicant.conf
|
wpa_supplicant.conf \
|
||||||
|
wifiloader
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
|
$(LOCAL_PATH)/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
|
||||||
|
|
|
@ -499,3 +499,7 @@ service vendor.contexthub-hal-1-0 /vendor/bin/hw/android.hardware.contexthub@1.0
|
||||||
user system
|
user system
|
||||||
group system
|
group system
|
||||||
disabled
|
disabled
|
||||||
|
|
||||||
|
service wifiloader /vendor/bin/wifiloader
|
||||||
|
class main
|
||||||
|
oneshot
|
||||||
|
|
Loading…
Reference in a new issue