This is a cache of https://discuss.96boards.org/t/create-debian-image-which-have-hdmi-usb-hub-gpu-driver/9283. It is a snapshot of the page at 2024-10-31T12:32:18.312+0000.
Create Debian image which have HDMI + USB hub + GPU driver? - HiKey 960 - 96Boards Forum

Create Debian image which have HDMI + USB hub + GPU driver?

I want to create a Debian image which can use

  • HDMI output
  • USB hub
  • “/dev/mali0”

Now I am trying to

I successfully boot the image with EFI but have the following problems

  • cannot finish the job Getty on ttyAM6
    [ TIME ] Timed out waiting for device dev-ttyAMA6.device.
    [DEPEND] Dependency failed for Serial Getty on ttyAMA6.
    [ TIME ] Timed out waiting for device sys-subsystem-net-devices-wlan0.device.
    [DEPEND] Dependency failed for ifup for wlan0.
    
  • Then, I cannot log in the shell via a serial console…

Any suggestion to archive my goal or does anyone have an idea to solve the problem?

To build linux kernel, I almost follow AOSP instruction:
https://source.android.com/setup/build/devices#960kernel

The exceptions are:

  • User branch android-hikey-linaro-4.19
  • Enable CONFIG_DEVTMPFS
  • Enable FRAMEBUFFER_CONSOLE

All the initialization log is attached here.
https://gist.github.com/nomaddo/3fd4aba0f390c0cb840a41dce0551e90

Thanks.

This comes from disabling CONFIG_FHANDLE in default defconfig.
Systemd seems heavily depends on the function.