Age | Commit message (Collapse) | Author |
|
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>
|
|
Change-Id: I51ca9d5861119f3894446656c467a08188827a81
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
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>
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
Booloader sources are located under device/linaro/bootloader
Change-Id: I8b35f9a292f5037eac2e0a281f5345921a313b93
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
include media_codecs_google_audio.xml in media_codecs.xml
instead of listing audio codecs.
Bug: 29025520
Change-Id: Ie699a25692154dce5f2046b7394d26faf13e4d52
|
|
Change-Id: Ia61aab7324d72e14f472274ede23c67ad8cdda53
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
Change-Id: Ic5c002112822e2cc1500973c5661710ee4d81504
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
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>
|
|
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>
|
|
$(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>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I986e314182fc5a9ed8ee1c06b9b4762b89d96ef5
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
Change-Id: If3719b9412a4ea4aced2a16150c46cb86b8be185
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
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>
|
|
Change-Id: I089dc4a22ce959c82769cae3f5020e4a2e25948f
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
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>
|
|
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>
|
|
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>
|
|
am: 57eabe0db2
* commit '57eabe0db29ebe810887d9c6cd37ea41b99927d7':
hikey: Enable fiq_debugger support
Change-Id: I97ccc20c8b85c8b8b53d44592fb6e90c1ca55fbe
|
|
Change-Id: I58f2d285aaf30021436ca981c3f4e3c9b0cc0304
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
am: 7697047
* commit '7697047996c3c9fca39c133da470348055f5d59e':
Add Audio HAL
Change-Id: I4782a64c694fd675bef2a2322082aaf2b457c687
|
|
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>
|
|
am: d606563
* commit 'd606563d79dd1e2abaf9361bbeed138bfc8dbab5':
hikey: Enable USB tethering support
Change-Id: I15aada4c00b7ff0d58787acf13878dd349f01d7b
|
|
Enable USB tethering on Hikey with WiFi (wlan0) interface.
Change-Id: I4231f444a8464c4e659bb9822bf205a0ddf7051c
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|
|
am: 7ce29db
* commit '7ce29db9c04f78b6b8d589f03df2af9024c82974':
init.hikey.rc: remove insmod lines for wifi modules
Change-Id: Ieb571ea0f157380b24471544b2f1c52bfdaea97b
|
|
These insmod lines are not necessary any more.
Change-Id: I43fc1e23bfa88e5abe42ca8e600104eafb34c659
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
am: de1ebc72c5
* commit 'de1ebc72c5e1cd57964649dab9c5568802da797c':
hikey: Fix sepolicy for configfs
Change-Id: I502601ff126f74ddbd5fbb96adca60ea2b2a28ee
|
|
Bug: 28274351
Change-Id: I6a02ceb1270845f7bca197aa51a8ac7bbbb86796
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
Bug: 28108983
Change-Id: Ib90a0afc66123587c1ebfd31f282e56e21ab21be
|
|
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>
|
|
Change-Id: I0085b79a09295f30a539340c6a775de0a286a3d2
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
Change-Id: Ic2005af18165af6b65a38afd0082d280bde79051
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I6d6cdc0d0ab86f12660cf8f8107d729a78a537ef
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
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>
|
|
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>
|
|
Change-Id: I7ce864fb9693221e7997d0811f5d0a9fa074d990
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|