Hikey960 and screen


#1

Hello everyone

Can I use a screen which is in following link with Hikey960?
https://www.waveshare.com/wiki/10.1inch_HDMI_LCD_(H)_(with_case)

If not, do you suggest screen(s)?


HDMI disabled in Android - how to enable?
#2

We’ve recently added support for some more display modes
including for the linksprite display https://www.arrow.com/en/products/96boards-display-7/linksprite-technologies-inc
but I don’t think we have tested 1024×600
@jstultz any thoughts?


#3

@ric96 I can change resolution. I asked it for his: I can find just these screens in Turkey: https://www.robotistan.com/raspberry-pi-displays


#4

this is the one identical to what we recently added support for https://www.robotistan.com/7-hdmi-capacitive-touch-lcd-display-800x480


#5

thanks @ric96. can I use it when optee is supported for Hikey960 with Android?


#6

Yea… If there’s a 1024x600 mode someone wants to test to add support for I’m open to it, just need to know the request mode->clock is.


#7

Thanks @jstultz.

@ric96 Can you show me how to install firmware(or anything else) of this LCD ? I want to use this LCD with OPTEE+Android. I knwo Hikey960 does not support OPTEE now. In the future I’ll use.


#8

I do not think there should be an issue using the screen with OPTEE.

It should be plug and play out of the box with the latest build of android


#9

@ric96 I thought, it needs to be a firmware or others. Thanks


#10

@ric96 I bought a LCD which you said to me. I connected LCD to Hikey960. But there is a black scene. Is there a thing what I need to do?


#11

looks like the prebuilt kernel has not been updated yet, you will have to compile it
https://source.android.com/source/devices
the kernel sources have been updated to support the display


#12

@ric96
I have done followings:

repo init -u https://android.googlesource.com/platform/manifest -b master
repo sync -j24
wget https://dl.google.com/dl/android/aosp/arm-hikey960-OPR-cf4e0c80.tgz
tar xzf arm-hikey960-OPR-cf4e0c80.tgz
./extract-arm-hikey960.sh
. ./build/envsetup.sh
lunch hikey960-userdebug
make -j32
cd device/linaro/hikey/installer/hikey960
./flash-all.sh

And I have added it in BoardConfig.mk

BOARD_KERNEL_CMDLINE := androidboot.hardware=hikey960 console=ttyFIQ0 androidboot.console=ttyFIQ0
BOARD_KERNEL_CMDLINE += firmware_class.path=/system/etc/firmware loglevel=15
BOARD_KERNEL_CMDLINE += video=HDMI-A-1:800x480@60

But, there is nothing in screen. When I did video as 1024x800, I saw mid-android logo when board is starting.
Is something is wrong?


#13

No need to do this.

no need to do this either

on the https://source.android.com/source/devices page there is a “Building the kernel” section, just follow that as is
and make sure you run make clean before proceeding.
once that is done go to the output folder, which should be out/target/product/hikey960/, and then $sudo fastboot flash boot boot.img


#14

@ric96 what about the others : system, cache, userdata etc for doing fastboot?


#15

Don’t need to modify those, you can download the prebuilt ones.


#16

I got it. But, I flash new on to the prebuilt.

I can do that.
I think, I run this command make bootimage -j24 not in hikey-linaro project. In aosp project?


#17

Yes in aosp project. Also don’t use -j24 necessarily. Replace 24 with the number of cores in your system or use
make -j$(nproc)


#18

@ric96 I have done everything you said to me. Just I used make clean command and I did everthing in Building Kernel section. But there is no boot.img file in ~/aosp/out/target/product/generic/ (Also there is no hikey960 directory in product folder). Just It is created ramdisk.img. Sorry for more question I am newbie in Hikey platform.


#19

can you give me the output of the build command?


#20

@ric96
93% 6542/6978] //bionic/libc:common_libc versioner preprocess include [linux_glibc]
warning: attempted to generate guard with empty availability: obsoleted = 23
warning: attempted to generate guard with empty availability: obsoleted = 21
[ 98% 6891/6978] target Strip (mini debug info):…c/obj/EXECUTABLES/charger_intermediates/charger)
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-nm: out/target/product/generic/symbols/sbin/charger: no symbols
[ 99% 6976/6978] target Strip (mini debug info):…generic/obj/EXECUTABLES/init_intermediates/init)
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-nm: out/target/product/generic/symbols/init: no symbols
[100% 6978/6978] Target ram disk: out/target/product/generic/ramdisk.img