Hikey970 kernel problem


#1

I downloaded the kernel from 96 boards website:https://github.com/96boards-hikey/linux/tree/hikey970-v4.9 and compiled it by giving hikey970_defconfig. I then put the Kernel in the Lebian rfs. I do not get any GUI now. Is there anything missing in the source or defconfig. Here is the logs.
Booting `Lebian 9 (HiKey970 Lebian)’

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 (jude@ubuntu) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #1 SMP PREEMPT Thu Sep 13 10:27:39 IST 2018
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] earlycon: pl11 at MMIO 0x00000000fff32000 (options ‘115200’)
[ 0.000000] bootconsole [pl11] enabled
[ 0.000000] Ion: insert heap-name carveout_gralloc
[ 0.031939] /soc/interrupt-controller@0xf4000000: Unable to locate ITS domain
[ 0.039258] /soc/interrupt-controller@0xf4000000: unable to locate ITS domain
[ 0.424788] dmi: Firmware registration failed.
[ 0.429444] Ion: invalid heap-name in node iommu_info, please check the name
[ 0.436619] Ion: invalid heap-name in node linear, please check the name
[ 0.443423] Ion: node name [heap_sys_user], heap-name [sys_heap]
[ 0.449436] Ion: heap index 0 : name sys_heap base 0x0 size 0x0 id 0 type 0
[ 0.456404] Ion: heap sys_heap base =0, try to find dynamic area
[ 0.462495] Ion: name = sys_heap, table name carveout_gralloc
[ 0.468322] Ion: name = sys_heap, table name
[ 0.472761] Ion: name = sys_heap, table name
[ 0.477200] Ion: name = sys_heap, table name
[ 0.481639] Ion: name = sys_heap, table name
[ 0.486083] Ion: node name [heap_carveout_gralloc], heap-name [carveout_gralloc]
[ 0.493478] Ion: heap index 1 : name carveout_gralloc base 0x0 size 0x0 id 2 type 2
[ 0.501129] Ion: heap carveout_gralloc base =0, try to find dynamic area
[ 0.507911] Ion: name = carveout_gralloc, table name carveout_gralloc
[ 0.514434] Ion: have found heap name carveout_gralloc base = 0xbc800000, size 31457280
[ 0.522445] of_get_iova_info:start_addr 0x40000, size 0xbffc0000 align 0x8000
[ 0.533916] no hisilicon,hisi-pmic-irq-num1 property set
[ 0.539226] hisi_pmic 2-00: the platform don’t support ext-interrupt.
[ 0.550847] <[hisi_dt_parse_ip_atf]: regulator_id=0, ppll0_clock_set_rate_flag=0>
[ 0.558470] <[hisi_dt_parse_ip_atf]: regulator_id=1, ppll0_clock_set_rate_flag=0>
[ 0.565993] <[hisi_ip_to_atf_is_enabled]:regulator_id=1>
[ 0.571403] <[hisi_dt_parse_ip_atf]: regulator_id=8, ppll0_clock_set_rate_flag=0>
[ 0.579010] <[hisi_dt_parse_ip_atf]: regulator_id=2, ppll0_clock_set_rate_flag=0>
[ 0.586523] <[hisi_ip_to_atf_is_enabled]:regulator_id=2>
[ 0.591931] <[hisi_dt_parse_ip_atf]: regulator_id=3, ppll0_clock_set_rate_flag=0>
[ 0.599444] <[hisi_ip_to_atf_is_enabled]:regulator_id=3>
[ 0.604846] <[hisi_dt_parse_ip_atf]: regulator_id=4, ppll0_clock_set_rate_flag=0>
[ 0.612358] <[hisi_ip_to_atf_is_enabled]:regulator_id=4>
[ 0.617776] <[hisi_dt_parse_ip_atf]: regulator_id=5, ppll0_clock_set_rate_flag=0>
[ 0.625289] <[hisi_ip_to_atf_is_enabled]:regulator_id=5>
[ 0.630697] <[hisi_dt_parse_ip_atf]: regulator_id=6, ppll0_clock_set_rate_flag=0>
[ 0.638209] <[hisi_ip_to_atf_is_enabled]:regulator_id=6>
[ 0.643615] <[hisi_dt_parse_ip_atf]: regulator_id=7, ppll0_clock_set_rate_flag=0>
[ 0.651128] <[hisi_ip_to_atf_is_enabled]:regulator_id=7>
[ 0.665712] Kirin-pcie f4000000.pcie: eye_param_vboost = [0xffffffff]
[ 0.672167] Kirin-pcie f4000000.pcie: eye_param_iboost = [0xffffffff]
[ 0.678607] Kirin-pcie f4000000.pcie: eye_param_pre = [0xffffffff]
[ 0.684794] Kirin-pcie f4000000.pcie: eye_param_post = [0xffffffff]
[ 0.691059] Kirin-pcie f4000000.pcie: eye_param_main = [0xffffffff]
[ 0.795282] ion domain already init return domain
[ 0.800113] [drm:drm_helper_disable_unused_functions] ERROR Called for atomic driver, this is not what you want.
[ 1.012008] [drm:adv7511_detect.isra.2] ERROR Read connector status timout, time = 10
[ 1.538907] mali e82c0000.mali: Failed to soft-reset GPU (timed out after 500 ms), now attempting a hard reset
[ 2.048919] mali e82c0000.mali: Failed to hard-reset the GPU (timed out after 500 ms)
[ 2.056790] mali e82c0000.mali: Late backend initialization failed
[ 2.141545] mcp251x spi32766.0: Cannot initialize MCP2515. Wrong wiring?
[ 2.148255] mcp251x spi32766.0: Probe failed, err=19
[ 2.178901] gpio_hub_power_on:regulator_enable
[ 2.238990] [E/hisi_pd] typec_wait_ps_change: typec_wait_ps_change!!!+++++++++++
[ 2.246383] [E/hisi_pd] typec_wait_ps_change: typec_wait_ps_change!!!-----------
[ 2.253774] [E/hisi_pd] typec_unattached_power_entry:!!!+++++++++++
[ 2.260277] [E/hisi_pd] tcpci_disable_vbus_control: !!!++++++++
[ 2.264364] [drm:adv7511_detect.isra.2] ERROR Read connector status timout, time = 10
[ 2.274278] [E/hisi_pd] pd_dpm_handle_pe_event:!!!,event=0,+++
[ 2.280106] [E/hisi_pd] typec_unattached_power_entry:!!!-----------
[ 2.357088] ufshcd-hisi ff3c0000.ufs: ufshcd_find_max_sup_active_icc_level: Regulator capability was not set, actvIccLevel=0
[ 2.481029] hifi pdev name[hifidsp].
[ 2.484906] DRV_IPCIntInit begin.
[ 2.487247] wlcore: ERROR could not get configuration binary ti-connectivity/wl18xx-conf.bin: -2
[ 2.497214] DRV_IPCIntInit line = 220
[ 2.501063] BSP_DRV_IPCIntInit end.
[ 2.506219] of_get_iova_info:start_addr 0x40000, size 0x80000000 align 0x40000
[ 2.513831] IFO:<493:VENC_DRV_ModInit>enter VENC_DRV_ModInit()
[ 2.513831]
[ 2.521846] IFO:<429:VENC_DRV_Probe>omxvenc prepare to probe
[ 2.521846]
[ 2.529119] IFO:<368:VENC_DRV_SetupCdev>enter VENC_DRV_SetupCdev()
[ 2.529119]
[ 2.537188] IFO:<399:VENC_DRV_SetupCdev>exit VENC_DRV_SetupCdev()
[ 2.537188]
[ 2.544976] ion domain already init return domain
[ 2.549880] IFO:<131:Venc_GetDtsConfigInfo>venc_clk_rate: highRate:554000000, normalRate:450000000, lowRate:238000000
[ 2.549880]
[ 2.562099] ERR:<137:Venc_GetDtsConfigInfo>get venc qos mode failed set default
[ 2.562099]
[ 2.570976] IFO:<143:Venc_GetDtsConfigInfo>SmmuPageBaseAddr is 0xffff000008dfe608
[ 2.570976]
[ 2.580021] IFO:<458:VENC_DRV_Probe>omxvenc probe successfully
[ 2.580021]
[ 2.587442] IFO:<429:VENC_DRV_Probe>omxvenc prepare to probe
[ 2.587442]
[ 2.594663] IFO:<432:VENC_DRV_Probe>venc device detected already
[ 2.594663]
[ 2.602248] IFO:<506:VENC_DRV_ModInit>success
[ 2.602248]
[ 2.608166] IFO:<510:VENC_DRV_ModInit>exit VENC_DRV_ModInit()
[ 2.608166]
[ 2.615879] ion domain already init return domain
[ 2.885119] [ISP] isp_i2c_read_clear_intrbits: ABRT_SOURCE 0x1000001
[ 2.891490] [ISP] isp_i2c_xfer: I2C abort
[ 2.895498] [ISP] isp_i2c_write_reg: write reg fail
[ 2.900377] [ISP] ov5640_main_power: could not set init registers
[ 2.906473] [ISP] isp_i2c_read_reg: read[0x300a]
[ 2.914114] [ISP] isp_i2c_read_clear_intrbits: ABRT_SOURCE 0x1000001
[ 2.920466] [ISP] isp_i2c_xfer: I2C abort
[ 2.924474] [ISP] isp_i2c_read_reg: read reg fail[ 2.929002] [ISP] ov5640_main_get_chip_id: get chip id high[255] fail
[ 2.935465] [ISP] ov5640_main_probe: chip id is 0x0
[ 2.940339] [ISP] ov5640_main_probe: chip id is 0x0, probe failed
[ 3.197109] [ISP] isp_i2c_read_clear_intrbits: ABRT_SOURCE 0x1000001
[ 3.203481] [ISP] isp_i2c_xfer: I2C abort
[ 3.207494] [ISP] isp_i2c_write_reg: write reg fail
[ 3.212376] [ISP] ov5640_sub_power: could not set init registers
[ 3.218389] [ISP] isp_i2c_read_reg: read[0x300a]
[ 3.226027] [ISP] isp_i2c_read_clear_intrbits: ABRT_SOURCE 0x1000001
[ 3.232394] [ISP] isp_i2c_xfer: I2C abort
[ 3.236403] [ISP] isp_i2c_read_reg: read reg fail[ 3.240934] [ISP] ov5640_sub_get_chip_id: get chip id high[255] fail
[ 3.247308] [ISP] ov5640_sub_probe: chip id is 0x0, probe failed
[ 3.253655] <[hisi_ip_to_atf_is_enabled]:regulator_id=0>
[ 3.258970] <[hisi_ip_to_atf_is_enabled]:regulator_id=1>
[ 3.264302] <[hisi_ip_to_atf_is_enabled]:regulator_id=8>
[ 3.269616] <[hisi_ip_to_atf_is_enabled]:regulator_id=2>
[ 3.274952] <[hisi_ip_to_atf_is_enabled]:regulator_id=3>
[ 3.280264] <[hisi_ip_to_atf_is_enabled]:regulator_id=4>
[ 3.285591] <[hisi_ip_to_atf_is_enabled]:regulator_id=5>
[ 3.290906] <[hisi_ip_to_atf_is_enabled]:regulator_id=6>
[ 3.296226] <[hisi_ip_to_atf_is_enabled]:regulator_id=7>
[ 3.305236] EXT4-fs (sdd15): couldn’t mount as ext3 due to feature incompatibilities
SELinux: Could not open policy file <= /etc/selinux/targeted/policy/policy.30: No such file or directory
[ 3.430109] (stk) :ldisc installation timeout[FAILED] Failed to start Hostname Service.
See ‘systemctl status systemd-hostnamed.service’ for details.
[ OK ] Started OpenBSD Secure Shell server.
[ OK ] Started Light Display Manager.
[ OK ] Stopped Light Display Manager.
Starting Light Display Manager…
[ 4.454354] (stk) : timed out waiting for ldisc to be un-installed[ OK ] Started Light Display Manager.
[ OK ] Stopped Light Display Manager.
Starting Light Display Manager…
[ OK ] Started Light Display Manager.
[ OK ] Stopped Light Display Manager.
Starting Light Display Manager…
[ OK ] Started Light Display Manager.
(stk) :ldisc installation timeout[ OK ] Stopped Light Display Manager.
Starting Light Display Manager…
[ OK ] Started Light Display Manager.
[ OK ] Stopped Light Display Manager.
[FAILED] Failed to start Light Display Manager.
See ‘systemctl status lightdm.service’ for details.
(stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc installation timeout(stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc installation timeout(stk) : timed out waiting for ldisc to be un-installed[* ] A start job is running for dev-ttyAMA6.device (8s[ ***] A start job is running for dev-ttyAMA6.device (11s / 1min 30s)(stk) : timed out waiting for ldisc to be un-installed[ 15.180854] Bluetooth: st_register failed -22
Starting WPA supplicant…
Starting Authorization Manager…
[ OK ] Started WPA supplicant.
[ OK ] Started Authorization Manager.
[ TIME ] Timed out waiting for device dev-ttyAMA6.device.
[DEPEND] Dependency failed for Serial Getty on ttyAMA6.
[ OK ] Reached target Login Prompts.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
Starting Update UTMP about System Runlevel Changes…
[ OK ] Started Update UTMP about System Runlevel Changes.
[ 242.662788] INFO: task mailboxNormal:1699 blocked for more than 120 seconds.
[ 242.669941] Tainted: G S 4.9.78 #1
[ 242.676007] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
[ 242.684256] INFO: task mailboxHigh:1700 blocked for more than 120 seconds.
[ 242.693319] Tainted: G S 4.9.78 #1
[ 242.698670] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
[ 363.494568] INFO: task mailboxNormal:1699 blocked for more than 120 seconds.
[ 363.501714] Tainted: G S 4.9.78 #1
[ 363.509813] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
[ 363.518571] INFO: task mailboxHigh:1700 blocked for more than 120 seconds.
[ 363.528864] Tainted: G S 4.9.78 #1
[ 363.534555] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
[ 484.326779] INFO: task mailboxNormal:1699 blocked for more than 120 seconds.
[ 484.333928] Tainted: G S 4.9.78 #1
[ 484.339521] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
[ 484.347680] INFO: task mailboxHigh:1700 blocked for more than 120 seconds.
[ 484.354977] Tainted: G S 4.9.78 #1
[ 484.360199] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.