96boards-hikey / aosp-device-linaro-hikey Goto Github PK
View Code? Open in Web Editor NEWThis repository is based off https://android.googlesource.com/device/linaro/hikey/
This repository is based off https://android.googlesource.com/device/linaro/hikey/
hello,
I flashed Android 8.1.0 on my Hikey960. The result is that I have a slow display.. probably, the hardware acceleration is not supported by the Kernel 4.4.
I would like to update the kernel. When I do it (with v4.9), the system is not booting anymore.
Do you have any solution on this ?
The kernel 4.9 is working well with Android P but I prefer Android 8.1.0 for my development.
Lunch Details:
$ lunch hikey970-userdebug
============================================
PLATFORM_VERSION_CODENAME=Q
PLATFORM_VERSION=Q
TARGET_PRODUCT=hikey970
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a73
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=cortex-a73
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.19.6-300.fc29.x86_64-x86_64-Ubuntu-16.04.5-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PI
OUT_DIR=out
============================================
ERROR:
[ 34% 30771/88593] build out/target/product/hikey970/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverallows
FAILED: out/target/product/hikey970/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverallows
/bin/bash -c "(ASAN_OPTIONS=detect_leaks=0 out/host/linux-x86/bin/checkpolicy -M -c 30 -o out/target/product/hikey970/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverallows.tmp out/target/product/hikey970/obj/ETC/sepolicy_neverallows_intermediates/policy.conf ) && (out/host/linux-x86/bin/sepolicy-analyze out/target/product/hikey970/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverallows.tmp neverallow -w -f out/target/product/hikey970/obj/ETC/sepolicy_neverallows_intermediates/policy_2.conf || ( echo \"\" 1>&2; echo \"sepolicy-analyze failed. This is most likely due to the use\" 1>&2; echo \"of an expanded attribute in a neverallow assertion. Please fix\" 1>&2; echo \"the policy.\" 1>&2; exit 1 ) ) && (touch out/target/product/hikey970/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverallows.tmp ) && (mv out/target/product/hikey970/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverallows.tmp out/target/product/hikey970/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverallows )"
device/linaro/hikey/sepolicy/hostapd.te:4:ERROR 'unknown type hostapd' at token ';' on line 48765:
# hostapd no longer directly accesses /data outside /data/vendor.
typeattribute hostapd data_between_core_and_vendor_violators;
checkpolicy: error(s) encountered while parsing configuration
12:25:38 ninja failed with: exit status 1
#### failed to build some targets (29:48 (mm:ss)) ####
$ make -j$(nproc)
============================================
PLATFORM_VERSION_CODENAME=S
PLATFORM_VERSION=S
TARGET_PRODUCT=hikey970
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a73
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=cortex-a73
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.3.0-53-generic-x86_64-Ubuntu-18.04.4-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=AOSP.MASTER
OUT_DIR=out
============================================
The error:
[ 0% 207/77199] Copy non-ELF: out/target/product/hikey970/system/vendor/lib/egl
FAILED: out/target/product/hikey970/system/vendor/lib/egl/libGLES_mali.so
/bin/bash -c "(if prebuilts/clang/host/linux-x86/clang-r383902/bin/llvm-readobj -h device/linaro/hikey/hikey970/hisilicon_libs/lib/libGLES_mali.so >/dev/null 2>&1; then echo -e \"\\033[1mout/target/product/hikey970/system/vendor/lib/egl/libGLES_mali.so: \\033[31merror:\\033[0m\\033[1m\" 'found ELF prebuilt in PRODUCT_COPY_FILES, use cc_prebuilt_binary / cc_prebuilt_library_shared instead.' \"\\033[0m\" >&2; echo -e \"\\033[1mout/target/product/hikey970/system/vendor/lib/egl/libGLES_mali.so: \\033[31merror:\\033[0m\\033[1m\" 'found ELF file: device/linaro/hikey/hikey970/hisilicon_libs/lib/libGLES_mali.so' \"\\033[0m\" >&2; false; fi ) && (mkdir -p out/target/product/hikey970/system/vendor/lib/egl/ ) && (rm -f out/target/product/hikey970/system/vendor/lib/egl/libGLES_mali.so ) && (cp \"device/linaro/hikey/hikey970/hisilicon_libs/lib/libGLES_mali.so\" \"out/target/product/hikey970/system/vendor/lib/egl/libGLES_mali.so\" )"
out/target/product/hikey970/system/vendor/lib/egl/libGLES_mali.so: error: found ELF prebuilt in PRODUCT_COPY_FILES, use cc_prebuilt_binary / cc_prebuilt_library_shared instead.
out/target/product/hikey970/system/vendor/lib/egl/libGLES_mali.so: error: found ELF file: device/linaro/hikey/hikey970/hisilicon_libs/lib/libGLES_mali.so
23:10:46 ninja failed with: exit status 1
The gralloc can only handle framebuffer?
Can it use drm driver directly?
Hi
I build AOSP 13 for hikey960.
But it shows Device must be bootloader unlocked when adb remount.
I tried fastboot flashing unlock but failed.
Is there any other way to unlock the BootLoader in UEFI?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.