Age | Commit message (Collapse) | Author |
|
Bug: 38204302
Test: Manual
Change-Id: I73eb02358ebd57533a8e76e0fcd74e67d153e53b
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
current sources"
|
|
This updates the fip.bin and l-loader.bin to builds from the
latest sources.
Notable changes:
* Disable VBUS_DET interrupt for PMIC
* Configure 4 MB of secure DRAM for OP-TEE Secure Data Path
* Resolve GCC6.x build errors
* Enable debug when CPU core is brought up
* bl1_plat_setup: enable ldo21
* fastboot: fix handling command line larger than 256 symbols
Built from the following trees:
https://android.googlesource.com/device/linaro/bootloader/arm-trusted-firmware 4120b1ce3cb867662505d21be55284f19eae2611
https://android.googlesource.com/device/linaro/bootloader/edk2 b26de945921c8045494d7817e2c962b2b73c80dc
https://android.googlesource.com/device/linaro/bootloader/OpenPlatformPkg 71183d6eabb1f91198f1bd3705a85b419cfd4685
Signed-off-by: John Stultz <john.stultz@linaro.org>
Bug: 63630289
Change-Id: I18ed724dab36763020c4e16f5ab7e4c67fe7514a
|
|
Bug: 64314259
Test: Manual
Change-Id: If4503721fedb1c25452c511623da749c7d5bf4d4
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
Make sure we also clean out the edk BaseTools dir.
Change-Id: I38b92148f8f0e2735ddb93853b46253d2467fa6b
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
Test: Manual (make clean)
Change-Id: Ie44c93ec393b6b0674dd0dbbd2219b8395e197b9
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
|
|
Bug: 34706230
Test: Manual
Change-Id: Ia68dac31570309cd69160e425e50cf15ab28443c
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
|
|
With 4.9+ we should be able to use the common linux bluetooth HAL
instead of the legacy TI one with hikey960.
Change-Id: I8dda8029079098f99a960a4a068023a126dfae4b
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
|
|
Somehow the path for usb mass storage devices changed, so
use a path with wildcards to make sure we find the right
sysfs node.
Change-Id: Ic748b57b4a5ec849735cdf0b150a5d91f1da3613
Reported-by: Sahaj Sarup <sahajsarup@gmail.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
|
|
|
|
|
|
Allowing system_server to write to apps' timerslack_ns file
is moving to core policy therefore does not need to be granted
in device specific policy.
Bug: 30675296
Test: build
Change-Id: I14ef463f078daab74f3f2a5dfd1b58f6df8fc0d8
|
|
Bug: 38204302
Test: Manual
Change-Id: Iffb7da6846a66a0bd5cba0507303b08b54fb974d
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
Kernel 3.18 doesn't have default settings for these
CGROUPS causing system crash before setting sys.boot_completed
Bug: 64023829
Test: Manual
Change-Id: I4d0200b1bfbf5a3c58a90d4fb0d48d8674360b78
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
When constructing the image, by using sparse we do not place too
much stress on the /tmp/ filesystem.
Test: manual, ensure all images compare before and after
Bug: 38446744
Change-Id: I72593e2a5176b7a8f0373ed54d2e626220373307
|
|
Partition Name Block Device Size blocks & bytes Start block
vrl /dev/block/mmcblk0p1 2048 1MB 2048
vrl_backup /dev/block/mmcblk0p2 2048 1MB 4096
mcuimage /dev/block/mmcblk0p3 2048 1MB 6144
fastboot /dev/block/mmcblk0p4 16384 8MB 8192
nvme /dev/block/mmcblk0p5 4096 2MB 24576
---- below differs from aosp-8g ----
boot /dev/block/mmcblk0p6 131072 64MB 28672
cache /dev/block/mmcblk0p7 524288 256MB 159744
swap /dev/block/mmcblk0p8 3145728 1.5GB 684032
system /dev/block/mmcblk0p9 3145728 1.5GB 3829760
userdata /dev/block/mmcblk0p10 8294367 4.0GB 6975488
If flashing over from aosp-8g with flashall, make sure cache is
flashed first since it changed location and would otherwise be
untouched. userdata image is constructed correctly for the smaller
with: make TARGET_WITH_SWAP=true.
Test: manual flash ptable and flashall -w, hikey boots.
Bug: 38446744
Change-Id: Ib27f4d8ab9c756f220bc7da049e550e6c7d46dfc
|
|
the same trigger of "on property:init.svc.adbd=stopped"
is defined in the file of system/core/rootdir/init.usb.configfs.rc here:
https://android.googlesource.com/platform/system/core/+/master/rootdir/init.usb.configfs.rc#15
Test: manually with hikey
Change-Id: I05348ceab39a7090135d59e54df77a818149b88e
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
Bug: 62222821
Test: boots
Change-Id: I61ae68b3772b22e174aa8a0f7114ecf5f3a2dc14
|
|
This makes private_handle_t native_handle_clone friendly.
Bug: 62222821
Test: boots
Change-Id: I658a0448efd61a4ce8ec60b1e10e582bb5678c0e
|
|
We never free private_module_t::framebuffer once it is initialized.
We can use a shallow copy of the fbdev fd.
Bug: 62222821
Test: boots
Change-Id: Id35641fa183993ce36a3c0ec7b7f4121bfdf36c4
|
|
hikey960/device-hikey960.mk:
Changes to define Vulkan Hardware Level 0 and Vulkan Version 1.0.3
self-extractors_hikey960/arm/staging/device-partial.mk:
Changes to copy libGLES_mali.so binaries as vulkan.hikey960.so
vendor_owner_info.txt:
Update to include vulkan binaries
Test: Demos from https://github.com/SaschaWillems/Vulkan
Change-Id: I3bea2de62737d29b325ec228f79d310e68db346c
Signed-off-by: Sahaj Sarup <sahajsarup@gmail.com>
|
|
to common bluetooth HAL"
|
|
Update sec_xloader.img and fastboot.img for two issues:
1. UART4 use clk_320m_ini as clock source. With this, UART4 can work at
3Mbps, so the bluetooth.
It fixes issue
- https://bugs.96boards.org/show_bug.cgi?id=507
2. Move iomcu initialization from fastboot to xloader
This patch delete iomcu initializtion in fastboot, and move iomcu subsys
initializtion to xloader. Modules impacted by this including uart3, spi2,
i2c0, i2c2.
With iomcu initialization in xloader, there is no need to do this in UEFI.
Thus save some effort.
This patch also fix the bug of SPI2 not initialized correctly. See:
- https://bugs.96boards.org/show_bug.cgi?id=512
Signed-off-by: Zhong Kaihua <zhongkaihua@huawei.com>
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
|
|
common bluetooth HAL
This patch, a reworked version of changes from Satish Patel
adds a build option to enable the common generic linux bluetooth
HAL vs the legacy TI HAL.
The legacy TI HAL is only needed on 4.4 and older kernels.
NOTE: One needs to be using a kernel that supports the standard
linux hci0 interface to successfully use this.
Change-Id: I74927aa651b184fdb65957fcb54c4c0afffbfa7c
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
|
|
Also ENABLE_SCHED_BOOST, which was just a typo.
Bug: N/A
Test: builds
Change-Id: I8ad0104c346578e561484d10f96d3489623f9441
|
|
So it will be included into hikey960-img.zip.
Bug: 62195105
Test: lunch hikey960-userdebug; m dist. Check hikey960-img.zip.
Change-Id: I3309da84ea66b101daa2b84fcfeb4d71bf6b35d1
|
|
current sources"
|
|
This updates the fip.bin and l-loader.bin to builds from the
latest sources.
Notable changes:
* Support "fastboot boot <Image-dtb>" command
* Fix uSD boot hang from redundent ReadBlock call
* Reload partition list after flashing ptable
* Fix IS_ALPHA calculation
* Add ReadPartition functionality
Built from the following trees:
https://android.googlesource.com/device/linaro/bootloader/arm-trusted-firmware 36aa82dda56169333aba6b2c55341404c1d631f0
https://android.googlesource.com/device/linaro/bootloader/edk2 02a0d1e313dc6e4d9e136f651c107f0533f34324
https://android.googlesource.com/device/linaro/bootloader/OpenPlatformPkg 71183d6eabb1f91198f1bd3705a85b419cfd4685
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I089d97db0d326251b42ae97ffd56c88979b1364a
|
|
hikey has A53 cores, while hikey960 has A73 and A53 cores. Bionic
now has A73-specific configuration, so this CL uses the optimal
CPU configuration for both targets.
Change-Id: I5f15c8fdc43fcab5e4f01b3685f3e19b9916c0bf
|
|
Change-Id: I5705a281232b2a19e4f727704ed8d0b29d65a277
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
|
|
This fixes the denial messages for surfaceflinger
Change-Id: Ib177417a64a6c6cec7a6f4ed818e0260c1a92e29
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
|
|
Bug: 62222787
Test: Manual
Change-Id: I0ad1e1f6e9edfa2b3cbc27c33a5ea1f1032679aa
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
|
|
|
|
|
|
|
|
* changes:
powerHAL: Parameterize lowpower cpufreq code
powerHAL: Parameterize schedtune boost values
|
|
With mali binaries updated to mali-DDK-r4p0-01rel0, we
can boot Android without hisilicon proprietary blobs
and with opensource gralloc implementation. hence we are
dropping hisilicon binaries.
Change-Id: I08ce05c70fd25a2f8196b58a3944d0eba940f568
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
This properly integrates the mali bifrost gralloc implementation
for HiKey960.
This change depends on a pristine libGLES_mali.so which needs an
updated arm vendor package.
However, after this change, the hisi vendor package is no longer
necessary.
Change-Id: I7a01911a911525ba6f2dae6cfb0adc1d22412c06
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
This integrates the BX304L01B-SW-99005-r4p0-01rel0
mali bifrost package from ARM available here:
https://developer.arm.com/products/software/mali-drivers/android-gralloc-module
Change-Id: I737bce784d21d1a870229a16bcddd3668738405a
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
Hikey960 has different CPU architecture with Hikey, these two platforms
should use their own dedicate configurations for power, especially for
EAS related settings.
This patch is to split the power related settings into two files, one
is init.hikey.power.rc and another is init.hikey960.power.rc. The main
different setting for power setting is related with EAS parameters in
proc nodes.
For Hikey we set the parameters as below:
write /proc/sys/kernel/sched_is_big_little 0
write /proc/sys/kernel/sched_cstate_aware 1
write /proc/sys/kernel/sched_sync_hint_enable 1
write /proc/sys/kernel/sched_initial_task_util 0
For Hikey960 we set the parameters as below:
write /sys/kernel/debug/sched_features "ENERGY_AWARE"
write /proc/sys/kernel/sched_is_big_little 1
write /proc/sys/kernel/sched_cstate_aware 1
write /proc/sys/kernel/sched_sync_hint_enable 0
write /proc/sys/kernel/sched_initial_task_util 0
On Hikey960 we also set default boost margin to 50%, and
touch-boost to 100%. This will let the CPU frequency to reach
highest OPP so can reduce scheduling latency; this is used to
improve the GPU rendering performance.
write /dev/stune/top-app/schedtune.boost 50
write /dev/stune/foreground/schedtune.boost 50
Change-Id: I641f5c78075012153fb73e830cb31dfc8dfd6e87
Signed-off-by: Leo Yan <leo.yan@linaro.org>
[jstultz: Added and tweaked some of the parameters to work with
the parameterized powerHAL]
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
Since we're sharing this powerHAL between the HiKey and
HiKey960, use some property parameters for some of the
previously hard-coded lowpower cpufreq values.
Change-Id: I35fbf555054c24f27f7f33f82665a048dabc2a02
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
Since we're sharing this powerHAL between the
HiKey and HiKey960, use some property parameters
for some of the previously hard-coded schedtune
boost values.
Change-Id: Id436471b044e20b4db2191e657f073b94f64719e
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
Bug: 38041758
Test: Manual
Change-Id: Ie28bfa601f2de2d05aae6e1f5b4f5b84e5b90ff4
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
* changes:
gralloc: fix numFds for framebuffer handles
gralloc: make register framebuffer no-op
|
|
* changes:
gralloc: do not use private_handle_t::ion_hnd
gralloc: make fbdev fd a shallow copy
|