summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-07-28hikey: wl18xx-fw: Update wifi firmwareandroid-cts_7.1_r1android-cts-7.1_r9android-cts-7.1_r8android-cts-7.1_r7android-cts-7.1_r6android-cts-7.1_r5android-cts-7.1_r4android-cts-7.1_r3android-cts-7.1_r29android-cts-7.1_r28android-cts-7.1_r27android-cts-7.1_r26android-cts-7.1_r25android-cts-7.1_r24android-cts-7.1_r23android-cts-7.1_r22android-cts-7.1_r21android-cts-7.1_r20android-cts-7.1_r2android-cts-7.1_r19android-cts-7.1_r18android-cts-7.1_r17android-cts-7.1_r16android-cts-7.1_r15android-cts-7.1_r14android-cts-7.1_r13android-cts-7.1_r12android-cts-7.1_r11android-cts-7.1_r10android-cts-7.1_r1android-7.1.1_r9android-7.1.1_r8android-7.1.1_r7android-7.1.1_r61android-7.1.1_r60android-7.1.1_r6android-7.1.1_r59android-7.1.1_r58android-7.1.1_r57android-7.1.1_r56android-7.1.1_r55android-7.1.1_r54android-7.1.1_r53android-7.1.1_r52android-7.1.1_r51android-7.1.1_r50android-7.1.1_r49android-7.1.1_r48android-7.1.1_r47android-7.1.1_r46android-7.1.1_r45android-7.1.1_r44android-7.1.1_r43android-7.1.1_r42android-7.1.1_r41android-7.1.1_r40android-7.1.1_r4android-7.1.1_r39android-7.1.1_r38android-7.1.1_r35android-7.1.1_r33android-7.1.1_r32android-7.1.1_r31android-7.1.1_r3android-7.1.1_r28android-7.1.1_r27android-7.1.1_r26android-7.1.1_r25android-7.1.1_r24android-7.1.1_r23android-7.1.1_r22android-7.1.1_r21android-7.1.1_r20android-7.1.1_r2android-7.1.1_r17android-7.1.1_r16android-7.1.1_r15android-7.1.1_r14android-7.1.1_r13android-7.1.1_r12android-7.1.1_r11android-7.1.1_r10android-7.1.1_r1android-7.1.0_r7android-7.1.0_r6android-7.1.0_r5android-7.1.0_r4android-7.1.0_r3android-7.1.0_r2android-7.1.0_r1nougat-mr1.8-releasenougat-mr1.7-releasenougat-mr1.6-releasenougat-mr1.5-releasenougat-mr1.4-releasenougat-mr1.3-releasenougat-mr1.2-releasenougat-mr1.1-releasenougat-mr1-volantis-releasenougat-mr1-security-releasenougat-mr1-releasenougat-mr1-flounder-releasenougat-mr1-devnougat-mr1-cts-releasenougat-dr1-releaseJohn Stultz
With v4.8-rc and above kernels, the wlcore driver requires a newer version of the wifi firmware. Thus this patch updates the firmware file to what is found via: git://git.ti.com/wilink8-wlan/wl18xx_fw.git 9d054faf26f9ea166b925fca230d5c9784c553e4 ("Updated to FW 8.9.0.0.69"). Change-Id: Idcbff9e7c32267fa30542bfdc77d6b687cb9a26b Signed-off-by: John Stultz <john.stultz@linaro.org>
2016-07-28hikey: Fix serial console for kernel 4.1Dmitry Shmidt
Change-Id: I51ca9d5861119f3894446656c467a08188827a81 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-07-28enable SELinux for hikeyYongqin Liu
2 types remaining avc denials are mentioned here: 1. init domain on android0 file https://android-review.googlesource.com/#/c/239530/ 2. sys_module denial on netd domain https://android-review.googlesource.com/#/c/239514/ Change-Id: I2623742ea10261908b1ab3ed7f999c5b8a8a6fb7 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-07-25suppress netd sys_module denialNick Kralevich
Netd triggers sys_module denials, but the kernel has CONFIG_MODULES=n. This denial is harmless, and is likely a result of a permission check before verifying whether the kernel even has module support. Suppress these denials. Change-Id: I8b2a7e3a1cdd7ae2f064ba952c110e0e2ead7fcc
2016-07-21init.hikey.rc: remove permission setting on /dev/cpuctlYongqin Liu
If not, it will cause dac_override avc denial warnings for logd and healthd since they need to access the file /dev/cpuctl/tasks in their source Change-Id: If65d11e7122ef197ba43012c890637df835ce544 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-07-21flash-all.sh: support for case that not run lunchYongqin Liu
In the cases that we build in a script or built several days before, we don't want to run "lunch hikey-userdebug" before run flash-all.sh ANDROID_BUILD_TOP will be only availbe after run lunch command Change-Id: I06c9479cd05a5178b6d1444eedbc67d743db28ae Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-07-13flash-all.sh: Allow flashing uefi built from sourceVishal Bhoj
Now that we have support to build uefi from source, we allow user to choose which one to flash. Minor cleanup: Remove ANDROID_OUT which will be same as ANDROID_PRODUCT_OUT Fixed shellcheck errors Change-Id: I9e45b2970a481df085222ecd240e367cef75889c Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2016-07-13hikey: Add wrapper script to build uefiVishal Bhoj
Booloader sources are located under device/linaro/bootloader Change-Id: I8b35f9a292f5037eac2e0a281f5345921a313b93 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2016-06-20HiKey: Add initial powerHALJohn Stultz
Mostly copied over from the flounder powerHAL, this patch adds a basic powerHAL to include interactivty boosting via the interactive cpufreq gov Change-Id: I691d5874c7c61479aa4629fb2ae5dd83d52f4e4b Signed-off-by: John Stultz <john.stultz@linaro.org>
2016-06-20init.hikey.rc: set right user and group for uim serviceYongqin Liu
to avoid the following SELinux avc dac_override denial: avc: denied { dac_override } for pid=1790 comm="uim" capability=1 scontext=u:r:hci_attach:s0 tcontext=u:r:hci_attach:s0 tclass=capability permissive=1 Change-Id: Ia0ff7ffbeac155fbc43b52c2ddc880d35c52a654 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-06-20init.te: allow create sdcard link in /mntYongqin Liu
to avoid avc like following: avc: denied { create } for pid=1 comm="init" name="sdcard" scontext=u:r:init:s0 tcontext=u:object_r:tmpfs:s0 tclass=lnk_file permissive=1 Change-Id: I8d8adbf2819f5b6e09a1dae95816c731e495cbac Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-06-20sepolicy: update some selinux related rulesYongqin Liu
1. set security context for /dev/ttyFIQ0 and /dev/ttyAMA1 2. allow init to have more permissions for configfs dir and lnk_file Change-Id: I388c0447a0ca915944bffd8c70a048bc945226a9 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-06-10use default google audio codecs listEric Laurent
include media_codecs_google_audio.xml in media_codecs.xml instead of listing audio codecs. Bug: 29025520 Change-Id: Ie699a25692154dce5f2046b7394d26faf13e4d52
2016-06-06hikey: Fix README about kernel versionDmitry Shmidt
Change-Id: Ia61aab7324d72e14f472274ede23c67ad8cdda53 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-06-06hikey: Use Image-dtb-4.1 for kernel 4.1Dmitry Shmidt
Change-Id: Ic5c002112822e2cc1500973c5661710ee4d81504 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-06-03hikey: Enable usb audio supportJohn Stultz
It was noticed on the 96boards forum by user "niruyadla" that USB audio support was missing, so this patch enables it along with adding tinyplay for help w/ testing. Also adds r_submix and tweaks audio policy to be consistent Change-Id: Ia65468ddd2144b2cba3304fefcefbe01574ab772 Signed-off-by: John Stultz <john.stultz@linaro.org>
2016-05-31installer/flash-all.sh: add sudo to run hisi-idt.pyYongqin Liu
so that we don't need to run flash-all.sh with sudo command Change-Id: Ic9610dffebad2f8a5e8f08992de981bb121964ad Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-05-31boot_fat.mk: update to use predefined variablesYongqin Liu
$(PRODUCT_OUT)/kernel and $(PRODUCT_OUT)/ramdisk.img are already defined in build as INSTALLED_KERNEL_TARGET and INSTALLED_RAMDISK_TARGET, so better to use them in the mk file Change-Id: I26c49fdbfde922b4af661ef036ce584e4011769f Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-05-25hikey: README: Update documentation to use boot.img instead of boot_fat.uefi.imgJohn Stultz
Update the README file to use the boot.img output rather then the boot_fat.uefi.img Change-Id: Ice7cc25925c7865d5962c1c5cbbac29ce947a621 Signed-off-by: John Stultz <john.stultz@linaro.org>
2016-05-25hikey: hisi-idt.py: remove deprecated setTimeoutSumit Semwal
Replace Serial.setTimeout method with Serial.timeout property as setTimeout is deprecated. Caught and tested with python v2.7.11 on ubuntu 16.04lts update. This is also tested OK with ubuntu 14.04lts, python version 2.7.6. Change-Id: Ie68449500aff7aaa906830a222db89fd9fa7c540 Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
2016-05-25hikey: flash-all.sh: Update flash-all script to use boot.img, since its the ↵John Stultz
new default Since the build now produces just a boot.img by default, update the flash-all.sh script to flash that instead of the boot_fat.uefi.img Change-Id: Iad9ba135021132cc96c50243ef4ad1f0e0b5ffc9 Signed-off-by: John Stultz <john.stultz@linaro.org>
2016-05-24hikey: Set board name as reported by current bootloader: Hisilicon HiKeyDmitry Shmidt
Change-Id: I986e314182fc5a9ed8ee1c06b9b4762b89d96ef5 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-05-24hikey: Build boot_fat.uefi.img only if TARGET_BOOTIMAGE_USE_FAT=trueDmitry Shmidt
Change-Id: If3719b9412a4ea4aced2a16150c46cb86b8be185 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-05-24hikey: Use Image-dtb instead of ImageJohn Stultz
Switch over to using Image-dtb for abootimg support NOTE: This patch depends on the appended dtb Image-dtb prebuilt kernel existing. Change-Id: I9850957aa7e44f95d88ee88abcf2e329007cfd14 Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org> [jstultz: Reworked and split out from Haojian's original patch] Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-05-24hikey: Remove obsolete cmdline fileDmitry Shmidt
Change-Id: I089dc4a22ce959c82769cae3f5020e4a2e25948f Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-05-24hikey: BoardConfig.mk: Set command line properly for abootimg supportHaojian Zhuang
In prep for abootimg support, set the kernel command line properly. Change-Id: I5a0ab9b7342c45c0f3529cd70c38d1ace940ce5f Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org> [jstultz: Reworked and split out from Haojian's original patch] Signed-off-by: John Stultz <john.stultz@linaro.org>
2016-05-24hikey: bootloader: Update prebuilt fip.bin and l-loader.bin to current sources.John Stultz
This updates the fip.bin and l-loader.bin to builds from the latest sources. Notable changes: * Adds abootimg support. * Updated l-loader to BSD licensed version Built from the following trees: https://github.com/96boards-hikey/edk2.git 76c7cfcc22c7448638acb6f904088b2ff3f79f63 https://github.com/96boards-hikey/OpenPlatformPkg.git 45bd0c0bcd50d4072d5b522eb4ce0adf09123374 https://github.com/96boards/arm-trusted-firmware.git 7fb9b0e1bf90d167ba451fa3d1485ad07ca5c1da https://github.com/96boards-hikey/l-loader.git 9f30cbc20027abd7d4e76f49e02fe435a496827a https://github.com/96boards/LinaroPkg.git eb3535cef2323ed9a5106dbe5074303959af7daf git://git.linaro.org/uefi/uefi-tools.git facd96a99028d4178d27ba5e50a349cdf5ba2f6d Change-Id: I71346c878d51d99d3e68383b36db115d3cc81fd2 Signed-off-by: John Stultz <john.stultz@linaro.org>
2016-05-24hikey: booloader: Cleanup unused bl1.binJohn Stultz
The bl1.bin is an intermediate build object that is wrapped up in the l-loader.bin so, it should not be included here. Remove it. Change-Id: I50bf70260e8cffdbd5e0ad0ab231512591d6215b Signed-off-by: John Stultz <john.stultz@linaro.org>
2016-05-12hikey: Enable fiq_debugger supportDmitry Shmidt
am: 57eabe0db2 * commit '57eabe0db29ebe810887d9c6cd37ea41b99927d7': hikey: Enable fiq_debugger support Change-Id: I97ccc20c8b85c8b8b53d44592fb6e90c1ca55fbe
2016-05-12hikey: Enable fiq_debugger supportnougat-devDmitry Shmidt
Change-Id: I58f2d285aaf30021436ca981c3f4e3c9b0cc0304 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-04-25Add Audio HALVishal Bhoj
am: 7697047 * commit '7697047996c3c9fca39c133da470348055f5d59e': Add Audio HAL Change-Id: I4782a64c694fd675bef2a2322082aaf2b457c687
2016-04-25Add Audio HALVishal Bhoj
The Audio hal has been tested with 4.4 kernel. The HAL fails to work whenever there is DMA err due to which audio is working occassionally with the HAL. Change-Id: I6e99225bd3edb249b9c01848f5df5aa20a91ed35 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2016-04-20hikey: Enable USB tethering supportAmit Pundir
am: d606563 * commit 'd606563d79dd1e2abaf9361bbeed138bfc8dbab5': hikey: Enable USB tethering support Change-Id: I15aada4c00b7ff0d58787acf13878dd349f01d7b
2016-04-20hikey: Enable USB tethering supportAmit Pundir
Enable USB tethering on Hikey with WiFi (wlan0) interface. Change-Id: I4231f444a8464c4e659bb9822bf205a0ddf7051c Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
2016-04-20init.hikey.rc: remove insmod lines for wifi modulesYongqin Liu
am: 7ce29db * commit '7ce29db9c04f78b6b8d589f03df2af9024c82974': init.hikey.rc: remove insmod lines for wifi modules Change-Id: Ieb571ea0f157380b24471544b2f1c52bfdaea97b
2016-04-20init.hikey.rc: remove insmod lines for wifi modulesYongqin Liu
These insmod lines are not necessary any more. Change-Id: I43fc1e23bfa88e5abe42ca8e600104eafb34c659 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-04-20hikey: Fix sepolicy for configfsDmitry Shmidt
am: de1ebc72c5 * commit 'de1ebc72c5e1cd57964649dab9c5568802da797c': hikey: Fix sepolicy for configfs Change-Id: I502601ff126f74ddbd5fbb96adca60ea2b2a28ee
2016-04-19hikey: Fix sepolicy for configfsDmitry Shmidt
Bug: 28274351 Change-Id: I6a02ceb1270845f7bca197aa51a8ac7bbbb86796 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-04-12Delete /mnt/sdcard symlinkNick Kralevich
Bug: 28108983 Change-Id: Ib90a0afc66123587c1ebfd31f282e56e21ab21be
2016-04-07hikey: Change fstab.hikey to handle path changes in 4.4 kernelsJohn Stultz
With 4.4 kernels the path for block devices changes slightly. So this patch address this so that the initrd can find the various filesystems. This also copies the existing fstab for 4.1 kernels so that folks can still create 4.1 based boot images. Change-Id: I8f2f079d804cd9acf6a2588c3cd628137a2822d3 Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-04-07hikey: Firmware update for wl18xx wireless for 4.4 kernelJohn Stultz
Change-Id: I0085b79a09295f30a539340c6a775de0a286a3d2 Signed-off-by: John Stultz <john.stultz@linaro.org>
2016-04-06hikey: Add SoftAP supportDmitry Shmidt
Change-Id: Ic2005af18165af6b65a38afd0082d280bde79051 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-04-05Cleanup: Fix entries for wifi and BTVishal Bhoj
We have references to 3.18 wifi module related files which are no more present. Fixed reference to BT files as well. Issue: https://bugs.96boards.org/show_bug.cgi?id=310 Change-Id: I519fbdb17c632f5060f56c673834c619ec1717e2 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2016-04-04Add option to flash images from differen out directorySatish Patel
To make build faster sometime, developer uses "OUT_DIR_COMMON_BASE" variable to change build out directory (i.e. putting out directory on separate ssd/X volume) For such case, option is added to specify out directory path as a argument to script e.g. if out directory is at - /mnt/ssd_1/build_out/out/target/product/hikey then run script with additional out parameter: sudo ./flash_all.sh /dev/ttyUSBX --out \ /mnt/ssd_1/build_out/out/target/product/hikey Testing Done: Flash & boot with both the options Change-Id: I9f9b8d57c8f35f03f429e942b05e2b0b8a4ffb60 Signed-off-by: Satish Patel <satish.patel@linaro.org>
2016-03-23hikey: Move TARGET_KERNEL_USE_4_1 check to hikey.mkDmitry Shmidt
device.mk is loaded before BoadConfig.mk, therefore TARGET_KERNEL_USE_4_1 should be checked earlier. Change-Id: I1a273b07042fcd519e6d1b2c7a55ed4540341200 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-03-23init.hikey.rc & BoardConfig.mk: enable cpuset correctlyYongqin Liu
set the cpu cores for cpuset correctly, otherwise there will be only cpu0 used for foreground tasks Change-Id: Ia6c951649a17f2dbd5fcf828d60ac787fb61f10f Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-03-23hikey: Allow different kernel use by TARGET_KERNEL_USE_4_1Dmitry Shmidt
Change-Id: I6d6cdc0d0ab86f12660cf8f8107d729a78a537ef Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-03-23init.hikey.rc & ueventd.hikey.rc: move owner and permission setting to ↵Yongqin Liu
ueventd file move the settings of owner and permission from init.hikey.rc to ueventd.hikey.rc to make use of the ueventd feature Change-Id: I4f6e94e116f3ce2c32c81f5718127edfd28365de Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-03-23init.hikey.rc: move link creation of sdcard to post-fs sectionYongqin Liu
Since /storage is mounted on post-fs in the default init.rc file. Or we will see warnings like this: audit: type=1400 audit(14.079:3): avc: denied { create } for pid=1 comm="init" name="sdcard" scontext=u:r:init:s0 tcontext=u:object_r:tmpfs:s0 tclass=lnk_file permissive=1 Change-Id: If11fc448ff2d81247a677fd825e974476be653a5 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-03-17hikey: wifi: Set config_wifi_framework_scan_interval to 10 secDmitry Shmidt
Change-Id: I7ce864fb9693221e7997d0811f5d0a9fa074d990 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>