Age | Commit message (Collapse) | Author |
|
Bug: 77971261
Test: Manual
Change-Id: I78c9ad66fc5fac1151c436e3bd055c1d4779b68e
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
Add logic to add vndk-sp libraries in order to
get ready to switch to FULL_TREBLE.
Credit for this patch goes to Vishal Bhoj <vishal.bhoj@linaro.org>
who basically was the original author and magician
who got things working.
I've only refactored and split up his changes to help
with the submissions.
Change-Id: I99a5f75f7589f0fb591a5f8b4c2b982b2dc1e300
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
In preparation for transitioning to FULL_TREBLE,
this patch corrects a few manifest.xml entries to
use hwbinder instead of passthrough.
Credit for this patch goes to Vishal Bhoj <vishal.bhoj@linaro.org>
who basically was the original author and magician
who got things working.
I've only refactored and split up his changes to help
with the submissions.
Change-Id: Ic84fa80078aaff4f3682decadf32c1db86f2f683
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
treble
In preparation for transitioning to FULL_TREBLE, switch
to copying files to TARGET_COPY_OUT_VENDOR rather then system/
Credit for this patch goes to Vishal Bhoj <vishal.bhoj@linaro.org>
who basically was the original author and magician
who got things working.
I've only refactored and split up his changes to help
with the submissions.
Change-Id: Ie48c8a57767ae7becb75016148e90405cc916cf4
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
When enabling FULL_TREBLE, libmemtrack starts
having build issues. So this patch fixes it
by adding libhardware to the build.
Credit for this patch goes to Vishal Bhoj <vishal.bhoj@linaro.org>
who basically was the original author and magician
who got things working.
I've only refactored and split up his changes to help
with the submissions.
Change-Id: Ifc6bc29231a9f7ffeffbeace2c8506d2364ad293
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
In preparation for the transition to FULL_TREBLE,
add some missing services to the product packages.
Credit for this patch goes to Vishal Bhoj <vishal.bhoj@linaro.org>
who basically was the original author and magician
who got things working.
I've only refactored and split up his changes to help
with the submissions.
Change-Id: I8adb8f0c1f76bfdda6efd85446ba6daf7ce58fcc
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
In building for treble I started noticing deprecation
warnings on cutils/log.h. So switch to log/log.h.
Change-Id: Id08ebd0adb00b3ae50875776883fa4104ebb2992
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
version_defaults.mk is part of the core build system, and not
intended for including by modules. It is guaranteed to have
already been included before any Android.mk files have been
read. Including it twice causes HAS_BUILD_NUMBER to be set
to true which causes incremental rebuilds to reread all the
makefiles:
$(file <out/build_number.txt) was changed, regenerating...
Also fix the unnecessary $(info) messages that clutter the
build output.
Test: m nothing && m nothing
Change-Id: I9476642c65c6223af99761fdb8c89fb0b53198c7
|
|
Bug: 77854862, 75288279
Test: Manual
Change-Id: I293b7245635b4ea4f151552906057868f62f583f
Signed-off-by: vishal <vishal.bhoj@linaro.org>
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
Generate partition table by:
$ PTABLE=aosp-8g SECTOR_SIZE=512 bash -x generate_ptable.sh
$ PTABLE=aosp-4g SECTOR_SIZE=512 bash -x generate_ptable.sh
Bug: 75288279
Test: Manual
Change-Id: I4fb780e3d47bbc4b0468a75f97e09ca6dd3cccef
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
|
|
The Vulkan runtime only looks in /vendor/lib[64]/hw for the Vulkan HAL,
not in /vendor/lib[64]/ where it was being installed.
The current driver supports the features required by
FEATURE_VULKAN_HARDWARE_LEVEL=1, so advertise it as required by CTS
VulkanFeaturesTest.
Test: adb shell cmd gpu vkjson
Test: cts-tradefed run cts -m CtsGraphicsTestCases -t android.graphics.cts.VulkanFeaturesTest
Change-Id: I6fccf8a34da9ba303be698032c49b7211f9d3d89
|
|
The factory image script has never been updated to
match the changed path names for the hisi bootloader
objects.
NOTE: This does not update the flashall.sh script to
flash UEFI, as we haven't finished the transition yet.
Change-Id: Ic3d921f0df124f54b0f5aeda1a33f5c72615b7cd
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
Make sure new vendor partition is flashed in flashall scripts
Bug: 77684218
Test: Manual
Change-Id: I8cebbd506f8810ec2912b2fa5572ecc0df05e64d
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
Bug: 75290651
Test: Manual
Change-Id: I21939c7b290775ae492acb02dea485dfebba130e
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
|
|
Bug: 77599627
Test: lunch [see entries in list]
Change-Id: I8f1972344d04e0534ebb7f4a0c309e37fdc942c6
|
|
|
|
Document the known error w/ flashing over the HiSi bootloader.
Change-Id: I8533671dda75afcd2023b04bc0c0d0d8b12205c8
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
|
|
This updates the UEFI bootloader binaries to the latest build,
which resolves a number of recently seen issues:
* fastboot flash/fastboot reboot flushing issues
* fastboot reboot-bootloader regression
* corrected product name
* validated "fastboot oem serialno set" as working
Binaries are from the following build:
https://snapshots.linaro.org/96boards/reference-platform/components/uefi-staging/65/hikey960/release/
Build Description:
Build URL: https://ci.linaro.org/job/96boards-reference-uefi-staging/MX_PLATFORM=hikey960,MX_TYPE=RELEASE,label=docker-stretch-amd64/65/
UEFI Tools: https://github.com/fboudra/uefi-tools.git
UEFI Tools head: 3513957bf916ead9f79a7d045804bc3fdcf6ccf1
EDK2: https://github.com/96boards-hikey/edk2.git
EDK2 head: b2dba4b52d95bf6fd669e6f854f17927745a65a5
OpenPlatformPkg: https://github.com/96boards-hikey/OpenPlatformPkg.git
OpenPlatformPkg branch: testing/hikey960_v1.3.4
OpenPlatformPkg head: 5a1d3c645f509b7b82709f82ca363cbdb6d1fa83
ARM Trusted Firmware: https://github.com/ARM-software/arm-trusted-firmware.git
ARM Trusted Firmware head: 02f8c03884d69c5915f07b82851f72fbacb448bd
OP-TEE OS: https://github.com/OP-TEE/optee_os.git
OP-TEE OS head: 94ee4938f7f544d07d11721a355f445c020663ca
Change-Id: I5eec0b6cf260985158b2b952ee26bd6c8fe9c84f
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
With new licence terms, we can now redistribute mali blobs
without the vendor package type-through license. Instead
the EULA just has to be included with the blobs.
So switch to using included r8p1 binaries rather then
using the vendor package.
Change-Id: I080410e250b662e99eb6277de9957027baf26d65
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
libion adds a temporary header for 4.12 headers with new ION
ABI interface. Since it's internal to libion being temporary,
for now, copy it here.
This will need to be removed once header situation in libion is
sorted.
Test: tested with both new and old kernels.
Change-Id: I7a81deaeb143b39ab1697ea90b670a65bf597084
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
|
|
4.12+ kernels have an updated ION interface; this adapts hikey's gralloc
to work seemlessly with both old and new kernels' interfaces.
Test: validated with both new and old kernels on hikey, with aosp master
Change-Id: Ia019fd7f3f5b3e9765c8f26032ff0063e5391f56
Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
[sumits: maintain compatibility with older kernels]
|
|
so that we could have CtsNativeHardwareTestCases pass
Test: manually cts with hikey
Change-Id: Ia5b3fec3f11f3c0e94e4d5208bb9d04ef872e2ad
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
Apply some changes to the r8p1 gralloc code
to get it building for hikey and silence warnings.
Change-Id: Iaf8dfc13f7922d7ca850acacf2856a9302ed3f09
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
This imports the utgard r8p1 gralloc update.
No changes made, so its not expected to build
properly
Change-Id: I7c8948f36fe2d6b265eaad9f23bcb9a1a28be08f
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
|
|
as it is reported by cts test:
android.os.cts.EnvironmentTest.testNoAtime junit.framework.AssertionFailedError: Found device mounted at /dev/block/platform/soc/f723d000.dwmmc0/by-name/cache without 'noatime' option, which can cause unnecessary flash churn; please update your fstab.
Test: manually with cts android.os.cts.EnvironmentTest#testNoAtime test
Change-Id: Id9f6c7a5cbb74888805047c7da172c1db10f737d
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
With new licence terms, we can now redistribute mali blobs
without the vendor package type-through license. Instead
the EULA just has to be included with the blobs.
So switch to using included r9p0 binaries rather then
using the vendor package.
Change-Id: If16cd4fbeb317c146d3c90c93cce6a73a6530dd0
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
Reimplements Sumit's changes to support the new ION interface
ontop of the ARM r9p0 reference gralloc implementation.
Change-Id: Ib699658f68bec84767ff1045f75e457d39b68e7c
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
This is necessary in order to support r9p0 libGLES_mali.so binaries.
NOTE: This unfortunately drops recent changes like v4.12+ ION abi
compatibility, which will need to be re-implemented and re-added.
NOTE: This change requires both kernel changes for the r9p0 driver
as well as binariy r9p0 libGLES_mali.so libraries. Don't merge until
those are all lined up to land.
Change-Id: I6c7fdf7585edea08196d1a323db3ec0629883311
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
New UEFI knows how to support compressed and non-compressed
images. To use non-compressed one define
TARGET_COMPRESSED_KERNEL=false
Bug: 72826137
Test: Manual
Change-Id: Ifc54401096c241fca138d7e6e50329eb2e72b901
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
Bug: 76019495
Test: Manual
Change-Id: I1399cd89caec21e47a27f7a491b91939c1ccdb40
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
Change-Id: If726b0690119b06b858461157f330469ccbed5fd
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
|
|
When this is not enforced (required for devices launched >= O,
so it makes sense on this line of reference devices), there can
be a race condition where if a service is hwbinder (not passthrough)
and it starts up late, the system will assume it is missing.
Test: boot hikey960 to start, no crashes, lshal
Bug: 67974785
Merged-In: If14c758bf59109340b1744feecdc9c05bde11dfc
Change-Id: If14c758bf59109340b1744feecdc9c05bde11dfc
|
|
This adds the prebuilt UEFI bootloader bineries,
so we can test and validate the UEFI bootloader
transition.
Prebuilt URL:
https://snapshots.linaro.org/96boards/reference-platform/components/uefi-staging/57/hikey960/release/
Build URL: https://ci.linaro.org/job/96boards-reference-uefi-staging/MX_PLATFORM=hikey960,MX_TYPE=RELEASE,label=docker-stretch-amd64/57/
UEFI Tools: https://git.linaro.org/uefi/uefi-tools.git
UEFI Tools head: 7e9ec1ebb8cd5a7a7902216c6e227803df4f12fa
EDK2: https://github.com/96boards-hikey/edk2.git
EDK2 head: e36b8fce23cd4a1ed0151093b86ef092283f9d47
OpenPlatformPkg: https://github.com/96boards-hikey/OpenPlatformPkg.git
OpenPlatformPkg branch: testing/hikey960_v1.3.4
OpenPlatformPkg head: f686ca6485c73efd8a257e919f64b84772d331d5
ARM Trusted Firmware: https://github.com/ARM-software/arm-trusted-firmware.git
ARM Trusted Firmware head: dbf9f283163e1575fbcd25a64c2313771dfe3bb4
OP-TEE OS: https://github.com/OP-TEE/optee_os.git
OP-TEE OS head: 6d57389f9eec0c213da917e35861a8eca4b205b3
Change-Id: I22825659b46f241ec6ac2e3358f073d04006c2a6
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
This patch changes the flash-all script to flash the UEFI
binaries.
It first checks whether the partition type is 1MB aligned. If
not, it will upgrade old fastboot bootloader from using 512KB
ptable to using 1MB ptable.
Then, once the 1MB aligned ptable is installed, it upgrades to
ATF/UEFI bootloader.
And to better distinguish echo messages from fastboot command
output, define ${ECHO_PREFIX} and use it with all echo commands.
NOTE: This change depends on the boot.img being created uses a
Image-dtb style kernel, rathern then an Image.gz.
Originally by Guodong Xu
Change-Id: Id9a39c318e3c7d07a3e865d617d2cc4465e581a2
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
For the UEFI transition we need to move to Image.gz-dtb kernels,
instead of using the separate dts partition as used w/ the HiSi
bootloader.
This patch depends on a Image.gz-dtb-hikey960-4.9/4 kernel to be
in hikey-kernel, but can be used with HiSi bootloader as long
as the dt.img is still flashed.
Change-Id: I8c9ab8a7df516c84c6c5dac57e80388d4d2e40a0
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
This patch provides support to Hynix UFS device, which is used on
HiKey960 boards manufactured after 2018 April. Not updating binary
in time will block booting of these new HiKey960 boards.
Signed-off-by: Kaihua Zhong <zhongkaihua@huawei.com>
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
|
|
To make it more clear in the future when we're using UEFI,
label the hisi bootloader components as such so one can
easily descern which are provided blobs vs binaries built
from source.
Change-Id: I0b24777bfea9212538a5ee514687b17f68115428
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
gralloc is not expected to see them (yet).
Bug: 70526789
Test: none
Merged-In: If5b0635e54f380950abcbe6f814932992ae49bec
Change-Id: If5b0635e54f380950abcbe6f814932992ae49bec
|
|
|
|
Also restructure some of the current make files:
- make a hikey-common.mk instead of importing hikey.mk and overriding
- don't set ro.zygote etc directly, import the helper makefiles instead
This new product avoids building all the 32 bit native executables and
libraries that gets built for the 'hikey' product. Sample benefits:
- makes the build faster
- saves ram and cpu, because there is no 32 bit zygote created
- frees up space on the system partition
Test: lunch hikey && m -j
Test: lunch hikey32 && m -j
Test: lunch hikey64_only && m -j
Bug: 72810053
Change-Id: I0d40b1c1c4e763b14258df7034921e0a3dc12208
|
|
Bug: 73171425
Test: Manual
Change-Id: I0a96d5e0e928f1de411e29e23f97c6a059ebda74
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
Change-Id: I120ce8d70034f7e7f28627c92da9deae497f3ca8
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
Change-Id: I3be4c31ea553393663c298279eb7f07e4b037f86
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
Bug: 72776421
Test: Manual
Change-Id: I9a23df7efdfd4e2efcca302cd9cf40b3fba1ea6a
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
Image.gz-dtb kernels"
|