sdm710-common: Create a symlink to the msadp partition in vendor/etc
The msadp partition contents can now be loaded via request_firmware. Without this change the msadp image was not picked up during modem loading [jmpfbmx]: It fixes: ueventd : firmware: loading 'msadp' for '/devices/soc/4080000.qcom,mss/firmware/msadp' ueventd : firmware: could not find firmware for msadp ueventd : firmware: attempted /etc/firmware/msadp, open failed: No such file or directory ueventd : firmware: attempted /odm/firmware/msadp, open failed: No such file or directory ueventd : firmware: attempted /vendor/firmware/msadp, open failed: No such file or directory ueventd : firmware: attempted /firmware/image/msadp, open failed: No such file or directory ueventd : firmware: attempted /vendor/firmware_mnt/image/msadp, open failed: No such file or directory Change-Id: I4d99b56e0e151169b44839c299156878474857cd
This commit is contained in:
parent
93aa72e64a
commit
58f57ad7fd
1 changed files with 5 additions and 0 deletions
|
@ -11,6 +11,11 @@ include $(call all-makefiles-under,$(LOCAL_PATH))
|
|||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
# Create symbolic links for msadp
|
||||
$(shell mkdir -p $(TARGET_OUT_VENDOR)/firmware; \
|
||||
ln -sf /dev/block/bootdevice/by-name/msadp \
|
||||
$(TARGET_OUT_VENDOR)/firmware/msadp)
|
||||
|
||||
# A/B builds require us to create the mount points at compile time.
|
||||
# Just creating it for all cases since it does not hurt.
|
||||
FIRMWARE_MOUNT_POINT := $(TARGET_OUT_VENDOR)/firmware_mnt
|
||||
|
|
Loading…
Reference in a new issue