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.

Thanks.

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