summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-03-07hikey: Make the Hikey Bluetooth HAL independentlinaro-opteeMyles Watson
Test: Bluetooth starts/stops Change-Id: I8a8b113f3edcdb092c36fd7822aeabf900c0f0b3
2017-02-23hikey: Move uim (Bluetooth daemon) to /vendorandroid-o-preview-1o-previewMyles Watson
Test: VtsHalBluetoothV1_0TargetTest passes Change-Id: I31612e9511d3e80e02fd19e2a258fe187d90337c
2017-02-23hikey: Add the vintf.xml manifest fileMyles Watson
Bluetooth should default to the binderized HAL on hikey. Bug: 34645666 Bug: 33755377 Test: bluetooth_hidl_hal_test opens the manifest file Change-Id: Ia942d165e7be1e34d9a0a5d18bd575046707f5d9
2017-02-23hikey: Remove the old Bluetooth HALMyles Watson
Test: Bluetooth starts/stops, VtsHalBluetoothV1_0TargetTest passes Change-Id: I344dc2b93b6f2ed3a9610c403c548414a5b92826
2017-02-23hikey: Add a HIDL HAL for BluetoothMyles Watson
The hikey HCI tty driver needs FIONREAD to be called before every read. Add an HciPacketizerHikey class to make sure that FIONREAD is called. Test: Bluetooth starts/stops, VtsHalBluetoothV1_0TargetTest passes Change-Id: I9e9260337108c93cae66b89e21c3561916f42f54
2017-02-21hikey: Fix README for kernel 4.9Dmitry Shmidt
Test: Manual Change-Id: Ib0a8c1d707727b127110d18afec193d35acb12bb Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2017-02-21Merge "hikey: Switch to kernel prebuilt 4.9"Treehugger Robot
2017-02-17Switch Bluetooth HAL policy to _client/_serverAlex Klyubin
hal_server_domain must now be used instead of hal_impl_domain. Test: Add bluetooth_hidl_hal_test to device.mk, build & add to device, adb shell stop, adb shell /data/nativetest64/bluetooth_hidl_hal_test/bluetooth_hidl_hal_test as crashy as before this commit Bug: 34170079 Change-Id: I0731ce997721294fadd708f0351f40b681f4303a
2017-02-17hikey: Switch to kernel prebuilt 4.9Dmitry Shmidt
Test: Manual Change-Id: I25574ee3fc76d4f00114cf42f884457af628e1cc Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2017-02-16hikey: Add Bluetooth HAL sepolicyMyles Watson
Test: builds, files are labeled correctly Change-Id: Ie14ca17d7c152a02a738bac0f42a0d94e26cfb60
2017-02-15Merge "hikey: Change TARGET_KERNEL_USE to access kernel version"Treehugger Robot
2017-02-14Do not clobber existing BOARD_SEPOLICY_DIRSTrevor Drake
Append to the BOARD_SEPOLICY_DIRS variable to remain consistant with other device BoardConfigs. An issue was observed when creating a derived device which made use of the BoardConfigCommon.mk file in the BoardConfig chain. This resulting in very "weird" behaviour when the device was booted Most apperent was wifi scan returned no networks and wps connections would instantly disconnect after making a succesfull coonection Test: sepolicy is intact Use the following derived device repository to make an hikeytv-eng system image git clone https://github.com/trevd/android_device_linaro_hikeytv \ device/linaro/hikeytv Observe wifi scanning issues create image with change applied The wifi scanning should function as normal Change-Id: I068c2282556dadf812eee75940aad5f2192a2eb2 Signed-off-by: Trevor Drake <trevd1234@gmail.com>
2017-02-13hikey: Change TARGET_KERNEL_USE to access kernel versionDmitry Shmidt
Test: Manual Change-Id: I52445dd512e7bcc5f30e8bf83cd6ae00da828f11 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2017-02-08hikey: factory-images: Fix logic errorJohn Stultz
Seems like the eq should be ne, since we're testing if a file is present and should only take the first path if it is. Change-Id: Iabb982a7487fec5b0aed15b0066487df7d5166ad Signed-off-by: John Stultz <john.stultz@linaro.org>
2017-02-08hikey: factory-images: Remove ANDROID_TOP_DIR assignmentJohn Stultz
The script here incorrectly sets the ANDROID_TOP_DIR assignment, which breaks the use case documented in README. For building with a pre-built image, one should have the ANDROID_TOP_DIR set by build/setenv.sh Change-Id: If1caa3edad3ab597534a379e8952c7c6621dd2d8 Signed-off-by: John Stultz <john.stultz@linaro.org>
2017-02-08hikey: factory-images: Fix up firmware binary pathsJohn Stultz
Since the installer directory was reworked, update the paths for the factory image generator. Change-Id: I9a96a410e75ef80bf3769049464b497ed8f64ac6 Signed-off-by: John Stultz <john.stultz@linaro.org>
2017-02-08hikey: restructure hikey installerAmit Pundir
Move hikey installer files to device/linaro/hikey/installer/hikey/ Fixed ANDROID_BUILD_TOP path and hikey-userdebug typo in installer/hikey/flash-all.sh script. Changes to be committed: rename installer/{ => hikey}/README (100%) rename installer/{ => hikey}/fip.bin (100%) rename installer/{ => hikey}/flash-all.sh (95%) rename installer/{ => hikey}/hisi-idt.py (100%) rename installer/{ => hikey}/l-loader.bin (100%) rename installer/{ => hikey}/nvme.img (100%) rename installer/{ => hikey}/ptable-aosp-4g.img (100%) rename installer/{ => hikey}/ptable-aosp-8g.img (100%) Change-Id: Ibd222c49a33d9ba1c28e8fc64c83e4e413a1ecae Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
2017-02-08hikey: Build the new Bluetooth HALMyles Watson
Test: builds Change-Id: I4ca151f7184cd3bedfb6b4c4bbbd3dd2491697b7
2017-01-12Fix build for hikeyandroid-n-mr2-preview-1Jack He
* BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR should be assigned to path without quote. hikey assigns to a path with quote, causing its build to break after I94cad65c77464e5b467abee05951ddfd35b9f27d Test: Code compilation Bug: 32958753 Change-Id: Ia839f606d0079d39ea624a6fccb9f830810556b3
2017-01-06hikey: Use python from envLuca Stefani
* This allow to call the scripts from a virtualenv workspace targeting a different python version than the one installed on the system Change-Id: I756f5510bf46275661331357bc8e6d84b691a186
2016-12-14hikey: bootloader: Update prebuilt fip.bin and l-loader.bin to current sourcesJohn Stultz
This updates the fip.bin and l-loader.bin to builds from the latest sources. Notable changes: * hikey: Add fastboot reboot-bootloader support Built from the following trees: https://android.googlesource.com/device/linaro/bootloader/arm-trusted-firmware 36aa82dda56169333aba6b2c55341404c1d631f0 https://android.googlesource.com/device/linaro/bootloader/edk2 50b0c33452d080ad9faf4e57006bb09933f77850 https://android.googlesource.com/device/linaro/bootloader/OpenPlatformPkg 6f399d2f9be9ae6ccd4f7a84bc25cef503561a33 Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: If728922cba3758b2c000fb6a3b938af24a29b04b
2016-12-12hikey: Fix hci_attach sepolicyDmitry Shmidt
Bug: 33551674 Test: Manual Change-Id: I21404981e62148fbb6b2c5f08ad54b85fbffca17 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-12-09Move hci_attach to hikey specific policyNick Kralevich
Move hci_attach from core SELinux policy to hikey specific SELinux policy. hci_attach is only ever used on hikey. Change-Id: If26ac80e7051db7b2020ce4992b8a7637b5bb907 Test: policy compiles.
2016-12-07 hikey: bootloader: Update prebuilt fip.bin and l-loader.bin to current sourcesJohn Stultz
This updates the fip.bin and l-loader.bin to builds from the latest sources. Notable changes: * hikey: Add android.serialno= for boot from RAM Built from the following trees: https://android.googlesource.com/device/linaro/bootloader/arm-trusted-firmware 36aa82dda56169333aba6b2c55341404c1d631f0 https://android.googlesource.com/device/linaro/bootloader/edk2 adb90c297827e785b638122b72a638fb3b200ba8 https://android.googlesource.com/device/linaro/bootloader/OpenPlatformPkg 6f399d2f9be9ae6ccd4f7a84bc25cef503561a33 Change-Id: I43de840249b056902d2f0b4c77404074af79deb5 Signed-off-by: John Stultz <john.stultz@linaro.org>
2016-12-06hikey: restructure hikey device configurationAmit Pundir
am: af628c2c2e Change-Id: I4c915955ca3c0dc0d7556dbb09c4c5fa34a3d218
2016-12-03Add all audio HIDL *-impl libraries to the list of product packagesMikhail Naganov
am: cff48dd3ba Change-Id: Ie9107db8ddda62fd28d32ec1266c1649c8539ae3
2016-12-03Add android.hardware.audio.effect@2.0-impl (default server implementation)Mikhail Naganov
am: 692a6d7856 Change-Id: I09ee1218853688b67de2bd7221a7cf1069421d60
2016-12-02device.mk: Add android.hardware.power@1.0-implRuchi Kandoi
am: bb36ee24ea Change-Id: I22ad23c14f973eed097f38ec773e96dbcd7d0617
2016-12-02hikey: restructure hikey device configurationAmit Pundir
No functional changes. Just moved around the configuration files and restructured them to support future hikey family devices. Similar to how Marlin and Sailfish devices are configured. Split the board configuration into BoardConfigCommon.mk (for common configuration) and hikey/BoardConfig.mk (for hikey specific configuration e.g. Image sizes and kernel commandline). Similarly split device.mk into device-common.mk and hikey/device-hikey.mk. Updated hikey.mk to include both device-common.mk and hikey/device-hikey.mk. Renamed init.hikey.rc to init.common.rc and modified it to import init.${ro.hardware}.usb.rc and mount fstab.${ro.hardware} instead. Changes to be committed: renamed: BoardConfig.mk => BoardConfigCommon.mk (68%) renamed: hikey.kl => common.kl (100%) renamed: device.mk => device-common.mk (74%) modified: hikey.mk new file: hikey/BoardConfig.mk renamed: board-info.txt => hikey/board-info.txt (100%) new file: hikey/device-hikey.mk renamed: fstab.hikey => hikey/fstab.hikey (100%) renamed: fstab.hikey-4.1 => hikey/fstab.hikey-4.1 (100%) renamed: init.hikey.rc => init.common.rc (97%) renamed: init.hikey.usb.rc => init.common.usb.rc (100%) renamed: ueventd.hikey.rc => ueventd.common.rc (100%) Test: Manual Change-Id: I032323aa8846a3bc144e40b4b5e5348c8f8d11c5 Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-12-02Add all audio HIDL *-impl libraries to the list of product packagesMikhail Naganov
As *-impl.so files are loaded via dlopen, they don't get added automatically with the audio HAL server. Test: check files on the device Change-Id: If39927a90a8b520ce482fb762a76a63f38b1d707
2016-12-02Add android.hardware.audio.effect@2.0-impl (default server implementation)Mikhail Naganov
This is needed for running VTS tests and will be needed for the new audio HAL server. Bug: 32022706 Change-Id: I2b0168875b4ce3c1044be8218b8d12a2e260b81e Test: build & run test
2016-12-02device.mk: Add android.hardware.power@1.0-implRuchi Kandoi
Also adds the open method for the power HAL, so that it can be dl-opened. Test: No Bug: 31177288 Change-Id: Iec2562dc978bfe0f2f563168a05b054033bb0090 Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2016-11-09hikey: Fix wpan warning including BOTHER redefinitionDmitry Shmidt
am: 395b044f65 Change-Id: I763efb4b77b5810f24d820a1c37a4cf8801294d0
2016-11-08hikey: Fix wpan warning including BOTHER redefinitionDmitry Shmidt
Test: Manual Bug: 32713438 Change-Id: Ie6518fbb5e7594fa2d08078375ff7bcf92533a16 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-11-08hikey: Check if governor is interactive to avoid errorsDmitry Shmidt
am: cc14758ff0 Change-Id: I50ad0f4323a1598d211ad7259aa5594278a5363f
2016-11-08hikey: Remove Power HAL compile warningsDmitry Shmidt
am: 0ea8f4dfe2 Change-Id: Iedb3698b4f1660da2d2d75b94d3af957778189cf
2016-11-07hikey: Add open function to power HALRuchi Kandoi
am: 96c621c19a Change-Id: I20d2b89fccb906ab47a93c811c60576818515c18
2016-11-07hikey: Check if governor is interactive to avoid errorsDmitry Shmidt
Test: manual Bug: 32705488 Change-Id: I003b327a68471d42da1ef889a0a047419f1cf146 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-11-07hikey: Remove Power HAL compile warningsDmitry Shmidt
Test: Compilation Change-Id: Ief2dfee10743892c985eb88294b72eb92dccfa32 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-11-07hikey: Add open function to power HALRuchi Kandoi
Also adds the open method for the power HAL, so that it can be dl-opened. Test: No Bug: 31177288 Change-Id: Ic2aba1867f6cc6df796fd04620413a479ff2c330 Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2016-10-27hikey: bootloader: Update prebuilt fip.bin and l-loader.bin to current sourcesJohn Stultz
am: 33e98f5ea1 Change-Id: I8c40288b13ae8ba1fb626afa83572ae7e10c1c00
2016-10-26hikey: bootloader: Update prebuilt fip.bin and l-loader.bin to current sourcesJohn Stultz
This updates the fip.bin and l-loader.bin to builds from the latest sources. Notable changes: * HiKeyFastboot: Add short delay after flush to avoid reboot hang Built from the following trees: https://android.googlesource.com/device/linaro/bootloader/arm-trusted-firmware 1f3ebb070b810262b7fd0538bf5eab2ccabc83a1 https://android.googlesource.com/device/linaro/bootloader/edk2 0b5d535b3ac38d5a49326843d51f8e15c32345a9 https://android.googlesource.com/device/linaro/bootloader/OpenPlatformPkg 911a23ccd8744303788510039026b836f919262e Change-Id: I7ec0c4d328d844fc97bbf4e062424e37be23affa Signed-off-by: John Stultz <john.stultz@linaro.org>
2016-10-21bootloader: add DEBUG make flagGreg Hackmann
am: 85085c5279 Change-Id: I4464e8f50e7ead5fd923150de5dbf138d2dde6c5
2016-10-20bootloader: add DEBUG make flagGreg Hackmann
make DEBUG=1 tells uefi-build.sh to build the DEBUG target, which adds lots of diagnostic messages that can be useful for people debugging firmware or early-boot issues (e.g. register dumps in the default exception handler). Test: build and flash bootloader images built with and without DEBUG=1 Change-Id: Ic34f5dcc24336a166f15e260ebc88796f8701291 Signed-off-by: Greg Hackmann <ghackmann@google.com>
2016-10-06Add wifilogd to hikey image am: 2b2f7d3551 am: 618b5d9f6fmukesh agrawal
am: b5f03008ab Change-Id: I909587ea581851dc8fe37c9bf5cc72749db4539a
2016-10-06Add wifilogd to hikey image am: 2b2f7d3551mukesh agrawal
am: 618b5d9f6f Change-Id: I2142538db3c15c2ed46b86200e266c839f126f8f
2016-10-06Add wifilogd to hikey imagemukesh agrawal
am: 2b2f7d3551 Change-Id: I576e80402f319ec1ff63c8e4d16d5bb1f2ecbb7e
2016-10-05Add wifilogd to hikey imageandroid-n-mr1-preview-2android-n-mr1-preview-1mukesh agrawal
wifilogd is a new native daemon. It should be installed on all devices that run have the Wifi framework. Bug: 31971726 Test: none Change-Id: I5719b91f0f45cb466ac784ccbec17807a5dab113
2016-09-22Remove net_bt_stack group and replace it with bluetooth am: a771b13ba0 am: ↵Ajay Panicker
f225fa0f95 am: 5bd9e29719 Change-Id: I53eccc8ff15f60bdeea170bcdeac42c66b213692
2016-09-22Remove net_bt_stack group and replace it with bluetooth am: a771b13ba0Ajay Panicker
am: f225fa0f95 Change-Id: I5885e0c124257c2d5f301f938c0ef3c73838f08d