This is a cache of https://discuss.96boards.org/t/hikey960-and-screen/3116. It is a snapshot of the page at 2024-10-31T10:22:11.661+0000.
Hikey960 and screen - HiKey 960 - 96Boards Forum

Hikey960 and screen

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)?

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?

@ric96 I can change resolution. I asked it for his: I can find just these screens in Turkey: Raspberry Pi Secreens - Displays, LCD, Touchscreen

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

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

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.

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.

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

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

@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?

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

@ric96
I have done followings:

repo init -u platform/manifest - Git at Google -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?

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

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

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

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?

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)

@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.

can you give me the output of the build command?

@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