diff options
author | Isaac Chen <ycchen@google.com> | 2019-10-14 17:27:57 +0800 |
---|---|---|
committer | Isaac Chen <ycchen@google.com> | 2019-10-16 14:13:12 +0800 |
commit | 627533d46763d3e91a979915ebf5cfb44161bff6 (patch) | |
tree | 9019a1fbd6166edb6758e3ee61d8665866607845 /dummy_arm64 | |
parent | b5bd420b62d4ac946a4fd2cf63444441f6aa6f3e (diff) | |
download | common-627533d46763d3e91a979915ebf5cfb44161bff6.tar.gz |
WLAN/radio workaround for old Pixel phones
Pixel phones with legacy vendor need a few soft links under root to make
WLAN and LTE modem work. This CL adds the needed soft links under root.
Bug: 141339423
Test: $ lunch mgsi_x86-userdebug; m -j
$ lunch mgsi_arm64-userdebug; m -j
# Flash the system image of mgsi_arm64 to bonito.
# Turn on WLAN via Settings
$ ping 8.8.8.8
bonito:/ # ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=57 time=20.1 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=57 time=2.63 ms
...
Change-Id: Ica54e0f3f6b2d18fc240e72c61cd1c3738b36619
Diffstat (limited to 'dummy_arm64')
-rw-r--r-- | dummy_arm64/BoardConfig.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dummy_arm64/BoardConfig.mk b/dummy_arm64/BoardConfig.mk index 4ef4f87..1a132b9 100644 --- a/dummy_arm64/BoardConfig.mk +++ b/dummy_arm64/BoardConfig.mk @@ -27,3 +27,15 @@ TARGET_2ND_CPU_ABI := armeabi-v7a TARGET_2ND_CPU_ABI2 := armeabi include device/generic/common/mgsi/BoardConfigMgsiCommon.mk + +# Emulator system image is going to be used as GSI and some vendor still hasn't +# cleaned up all device specific directories under root! + +# TODO(b/111434759, b/111287060) SoC specific hacks +BOARD_ROOT_EXTRA_SYMLINKS += /vendor/lib/dsp:/dsp +BOARD_ROOT_EXTRA_SYMLINKS += /mnt/vendor/persist:/persist +BOARD_ROOT_EXTRA_SYMLINKS += /vendor/firmware_mnt:/firmware + +# TODO(b/36764215): remove this setting when the generic system image +# no longer has QCOM-specific directories under /. +BOARD_SEPOLICY_DIRS += build/make/target/board/generic_arm64/sepolicy |