Skip to content

Instantly share code, notes, and snippets.

@lucmann
lucmann / gist:c18ca0996e248a540c37906b822255de
Created March 13, 2026 23:10
hikey970-v4.9-4.9.78-147536-g7304d83b6c94 hdmi flash and make sound
EFI stub: Booting Linux Kernel...
EFI stub: EFI_RNG_PROTOCOL unavailable, no randomness supplied
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services and installing virtual address map...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.78-147536-g7304d83b6c94 (luc@vostro) (gcc version 15.1.0 (GCC) ) #1 SMP PREEMPT Thu Nov 27 21:46:56 CST 2025
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] earlycon: pl11 at MMIO 0x00000000fff32000 (options '115200')
[ 0.000000] bootconsole [pl11] enabled
[ 0.000000] efi: Getting EFI parameters from FDT:
@lucmann
lucmann / hikey970-4.9.78-147541-g16035b0edcf4.log
Created March 11, 2026 23:07
hikey970-4.9.78-147541-g16035b0edcf4 ade ok
EFI stub: Booting Linux Kernel...
EFI stub: EFI_RNG_PROTOCOL unavailable, no randomness supplied
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services and installing virtual address map...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.78-147541-g16035b0edcf4 (root@test) (gcc version 7.3.0 (Ubuntu/Linaro 7.3.0-16ubuntu3) ) #10 SMP PREEMPT Mon Sep 3 13:30:24 UTC 2018
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] earlycon: pl11 at MMIO 0x00000000fff32000 (options '115200')
[ 0.000000] bootconsole [pl11] enabled
[ 0.000000] efi: Getting EFI parameters from FDT:
@lucmann
lucmann / kmstest.log
Last active March 13, 2026 14:40
kmstest log
root@hikey970:/home/hi# ./kmstest
[ 312.244612] [drm:drm_stub_open]
connectors=1 crtcs=1 fbs=0 encoders=1[ 312.244654] kirin9xx-drm e8600000.dpe: [drm:drm_open_helper] comm="kmstest", pid=3441, minor=0
[ 312.244727] kirin9xx-drm e8600000.dpe: [drm:drm_ioctl] comm="kmstest" pid=3441, dev=0xe200, auth=1, DRM_IOCTL_SET_MASTER
[ 312.244740] kirin9xx-drm e8600000.dpe: [drm:drm_ioctl] comm="kmstest" pid=3441, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETRESOURCES
[ 312.270769] kirin9xx-drm e8600000.dpe: [drm:drm_ioctl] comm="kmstest" pid=3441, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETRESOURCES
connector[0] id=37
crtc[0] id=35
[ 312.293743] kirin9xx-drm e8600000.dpe: [drm:drm_ioctl] comm="kmstest" pid=3441, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
root@hikey970:/home/hi# [ 1086.538371] kirin9xx-drm e8600000.dpe: [drm:drm_client_modeset_probe]
[ 1086.538385] kirin9xx-drm e8600000.dpe: [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:37:HDMI-A-1]
[ 1086.546191] kirin9xx-drm e8600000.dpe: [drm:update_display_info.part.0] [CONNECTOR:37:HDMI-A-1] CEA VCDB 0xd5
[ 1086.546207] kirin9xx-drm e8600000.dpe: [drm:update_display_info.part.0] [CONNECTOR:37:HDMI-A-1] HDMI: DVI dual 0, max TMDS clock 360000 kHz
[ 1086.546218] kirin9xx-drm e8600000.dpe: [drm:update_display_info.part.0] [CONNECTOR:37:HDMI-A-1] HDMI sink does deep color 30.
[ 1086.546227] kirin9xx-drm e8600000.dpe: [drm:update_display_info.part.0] [CONNECTOR:37:HDMI-A-1] Assigning HDMI sink color depth as 10 bpc.
[ 1086.546237] kirin9xx-drm e8600000.dpe: [drm:update_display_info.part.0] [CONNECTOR:37:HDMI-A-1] HDMI sink does YCRCB444 in deep color.
[ 1086.546246] kirin9xx-drm e8600000.dpe: [drm:update_display_info.part.0] [CONNECTOR:37:HDMI-A-1] HDMI sink should do DC_36, but does not!
[ 1086.54
@lucmann
lucmann / gist:ed8635bdb7fd735975d4191e3071cb23
Last active March 12, 2026 14:43
hikey970-6.19.0-rc6-g4610541f48c1 dpe not ok
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.19.0-rc6-g4610541f48c1-dirty (luc@vostro) (aarch64-linux-gnu-gcc (GCC) 15.1.0, GNU ld (GNU Binutils) 2.44) #48 SMP PREEMPT Thu Mar 12 22:36:01 CST 2026
[ 0.000000] KASLR disabled due to lack of seed
[ 0.000000] Machine model: HiKey970
[ 0.000000] earlycon: pl11 at MMIO 0x00000000fff32000 (options '115200')
[ 0.000000] printk: legacy bootconsole [pl11] enabled
[ 0.000000] efi: EFI v2.6 by EDK II
[ 0.000000] efi: MEMATTR=0xbe637018 MEMRESERVE=0xba404c18
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000032200000, size 128 MiB
[ 0.000000] OF: reserved mem: initialized node drm_dma_mem_region, compatible id shared-dma-pool
@lucmann
lucmann / gist:a8629f858a3b6e171e079ca77e4345de
Created February 27, 2026 23:35
hikey970-v6.19-kirin9xx-dpe-driver
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.19.0-rc6-gc3d582ecc93e-dirty (luc@vostro) (aarch64-linux-gnu-gcc (GCC) 15.1.0, GNU ld (GNU Binutils) 2.44) #34 SMP PREEMPT Sat Feb 28 06:46:34 CST 2026
[ 0.000000] KASLR disabled due to lack of seed
[ 0.000000] Machine model: HiKey970
[ 0.000000] earlycon: pl11 at MMIO 0x00000000fff32000 (options '115200')
[ 0.000000] printk: legacy bootconsole [pl11] enabled
[ 0.000000] doing early options: loglevel='7'
[ 0.000000] efi: EFI v2.6 by EDK II
[ 0.000000] efi: MEMATTR=0xbe637018 MEMRESERVE=0xba404c18
[ 0.000000] Reserved memory: created DMA memory pool at 0x0000000032200000, size 128 MiB
@lucmann
lucmann / gist:4cd8f78a78cdac2203d57e2b26f3ed5e
Created February 27, 2026 22:39
hikey970-v6.19-dsi-cannot-find-GPIO-chip
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.19.0-rc6-gc3d582ecc93e-dirty (luc@vostro) (aarch64-linux-gnu-gcc (GCC) 15.1.0, GNU ld (GNU Binutils) 2.44) #33 SMP PREEMPT Sat Feb 28 05:49:26 CST 2026
[ 0.000000] KASLR disabled due to lack of seed
[ 0.000000] Machine model: HiKey970
[ 0.000000] earlycon: pl11 at MMIO 0x00000000fff32000 (options '115200')
[ 0.000000] printk: legacy bootconsole [pl11] enabled
[ 0.000000] doing early options: loglevel='7'
[ 0.000000] efi: EFI v2.6 by EDK II
[ 0.000000] efi: MEMATTR=0xbe637018 MEMRESERVE=0xba404c18
[ 0.000000] Reserved memory: created DMA memory pool at 0x0000000032200000, size 128 MiB
@lucmann
lucmann / gist:7ae4bf26d49807a4d951db2e989a271c
Created February 26, 2026 15:55
hikey970-v6.19-regulator_init
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.19.0-rc6-gf2880931939e-dirty (luc@vostro) (aarch64-linux-gnu-gcc (GCC) 15.1.0, GNU ld (GNU Binutils) 2.44) #27 SMP PREEMPT Thu Feb 26 23:00:33 CST 2026
[ 0.000000] KASLR disabled due to lack of seed
[ 0.000000] Machine model: HiKey970
[ 0.000000] earlycon: pl11 at MMIO 0x00000000fff32000 (options '115200')
[ 0.000000] printk: legacy bootconsole [pl11] enabled
[ 0.000000] doing early options: loglevel='7'
[ 0.000000] efi: EFI v2.6 by EDK II
[ 0.000000] efi: MEMATTR=0xbe637018 MEMRESERVE=0xba404c18
[ 0.000000] Reserved memory: created DMA memory pool at 0x0000000032200000, size 128 MiB
@lucmann
lucmann / hikey970-v6.19.boot.log
Created February 25, 2026 23:34
hikey970-v6.19-drm
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.19.0-rc6-gf2880931939e-dirty (luc@vostro) (aarch64-linux-gnu-gcc (GCC) 15.1.0, GNU ld (GNU Binutils) 2.44) #23 SMP PREEMPT Thu Feb 26 06:20:42 CST 2026
[ 0.000000] KASLR disabled due to lack of seed
[ 0.000000] Machine model: HiKey970
[ 0.000000] earlycon: pl11 at MMIO 0x00000000fff32000 (options '115200')
[ 0.000000] printk: legacy bootconsole [pl11] enabled
[ 0.000000] doing early options: loglevel='7'
[ 0.000000] efi: EFI v2.6 by EDK II
[ 0.000000] efi: MEMATTR=0xbe637018 MEMRESERVE=0xba404c18
[ 0.000000] Reserved memory: created DMA memory pool at 0x0000000032200000, size 128 MiB
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.19.0-rc6-gd0a093dbbf24-dirty (luc@vostro) (aarch64-linux-gnu-gcc (GCC) 15.1.0, GNU ld (GNU Binutils) 2.44) #14 SMP PREEMPT Sun Feb 22 22:14:19 CST 2026
[ 0.000000] KASLR disabled due to lack of seed
[ 0.000000] Machine model: HiKey970
[ 0.000000] earlycon: pl11 at MMIO 0x00000000fff32000 (options '115200')
[ 0.000000] printk: legacy bootconsole [pl11] enabled
[ 0.000000] doing early options: loglevel='7'
[ 0.000000] efi: EFI v2.6 by EDK II
[ 0.000000] efi: MEMATTR=0xbe637018 MEMRESERVE=0xba404c18
[ 0.000000] Reserved memory: created DMA memory pool at 0x0000000032200000, size 128 MiB