summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-07-13flash-all.sh: Allow flashing uefi built from sourceandroid-wear-n-preview-2android-wear-7.1.1_r1android-n-preview-5android-n-iot-preview-2nougat-mr1-wear-releasen-iot-preview-2Vishal 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-11hikey: 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-20Merge "init.hikey.rc: set right user and group for uim service"Dmitry Shmidt
2016-06-16init.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-15init.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-15sepolicy: 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-07Merge changes Ia61aab73,Ic5c00211android-n-preview-4Dmitry Shmidt
* changes: hikey: Fix README about kernel version hikey: Use Image-dtb-4.1 for kernel 4.1
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-30boot_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-25Merge "hikey: flash-all.sh: Update flash-all script to use boot.img, since ↵Dmitry Shmidt
its the new default"
2016-05-24hikey: 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-23hikey: 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-23hikey: 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-23hikey: 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-18HACK: hikey: Set dhcpcd service parameters explicitelyDmitry Shmidt
init doesn't support parameters anymore Change-Id: Ib71680f92bb974fc6026f043a9bf8a60ea8e35b1 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-05-12hikey: Enable fiq_debugger supportandroid-wear-n-preview-3android-wear-n-preview-1android-n-preview-3linaro-n-previewDmitry Shmidt
Change-Id: I58f2d285aaf30021436ca981c3f4e3c9b0cc0304 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-04-25Merge "Add Audio HAL"opteeDmitry Shmidt
2016-04-22Add 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
Enable USB tethering on Hikey with WiFi (wlan0) interface. Change-Id: I039339cb92b92fe59ba431c54894902245e97181 Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
2016-04-19init.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-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-06hikey: Firmware update for wl18xx wireless for 4.4 kernelJohn Stultz
Change-Id: I0085b79a09295f30a539340c6a775de0a286a3d2 Signed-off-by: John Stultz <john.stultz@linaro.org>
2016-04-05hikey: 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-03Add 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-17Revert "Remove references to deleted dhcpcd"Dmitry Shmidt
This reverts commit 7b2cbd478e94f28b2fa7e7ff355366dc5146f4f2.
2016-03-16hikey: wifi: Set config_wifi_framework_scan_interval to 10 secDmitry Shmidt
Change-Id: I7ce864fb9693221e7997d0811f5d0a9fa074d990 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-03-16hikey: Clean wifi-related settingsDmitry Shmidt
Change-Id: Ibec66972a34d43cd69f43f0b3a73ad7fe35438e5 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-03-16hikey: Set disable_scan_offload=1 for wifiDmitry Shmidt
Change-Id: I1588dbd982c5fc7d63bda8b90f76e0ada912c165 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-03-16Remove references to deleted dhcpcdPierre Imai
Change-Id: I5e214232d59bdaaa9268735e00bbc9f937bf7d12 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-03-03hikey: Set board name as reported by bootloaderDmitry Shmidt
Change-Id: I13c6fb060addecf416c86083ee6daa0ab1db1d0d Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-03-01grub: Change default boot resolution from 720p to EDID detectedVishal Bhoj
Change-Id: I79b4db7471b0e6316ecead4f900bae38b71a0b23 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2016-02-29hikey: add mtools installation to READMEDmitry Shmidt
Change-Id: I8a1f561ff27193aee673ed166076e13ca5637cc4 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2016-02-29hikey: Update HDMI binary extraction in READMEDmitry Shmidt
Change-Id: Ia00e88086e7172b48e9f5f725f014c416b074a44 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>