How to build HiKey960 Android from ground zero
example here:
Host: Ubuntu 16.04
Board: Hikey960 Ver B.
Target Linux version: v4.9
Target Android version: R
1. Download: download all source in ~/hikey960 folder
1.1 Download AOSP source
mkdir ~/hikey960 cd ~/hikey960 mkdir android export AOSP_ROOTDIR=~/hikey960/android cd ${AOSP_ROOTDIR} git clone "source to be verified again!!" #download vendor patches wget hisilicon-hikey960-OPR-3c243263.tgz tar -xvf hisilicon-hikey960-OPR-3c243263.tgz #extract to vendor folder. key in "I ACCEPT" in the end ./extract-hisilicon-hikey960.sh #now you have full Hikey AOSP BSP
1.2 Download linux kernel source
cd ~/hikey960 git clone https://github.com/96boards-hikey/linux #extrac Linux kernel to ~/hikey960/linux folder tar -xvf hikey-linaro_4.9.tar.gz git clone https://github.com/96boards-hikey/linux -b working-hikey960-v4.14-rc7-2017-11-03
1.3 Download new gcc
http://releases.linaro.org/components/toolchain/binaries/latest-7/aarch64-linux-gnu/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu.tar.xz
cd /opt #install gcc in /opt/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu tar -xvf gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu.tar.xz
1.4 Download tools-images-hikey960
cd ~/hikey960 gitclone https://github.com/96boards-hikey/tools-images-hikey960
2. Build
environment variables
# AOSP root directory: export AOSP_ROOTDIR=~/hikey960/android # AOSP build output directory: export PRODUCT_OUT=${AOSP_ROOTDIR}/out/target/product/hikey960/ # RAMDISK_IMG: export RAMDISK_IMG=${PRODUCT_OUT}/ramdisk.img # Kernel source code directory: export KERNEL_DIR=~/hikey960/linux-hikey960-v4.9 # Tool directory: for mkbootimg and mkdtimg export GEN_IMAGES_DIR=~/hikey960/tools-images-hikey960/build-from-source export PATH=${PATH}:/opt/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu/bin export ARCH=arm64 export CROSS_COMPILE=aarch64-linux-gnu-
2.1 Build AOSP
cd ${AOSP_ROOTDIR} . ./build/envsetup lunch hikey960-userdebug make -j24
產出 ${PRODUCT_OUT}/*.img
要更新kernel 請執行2.2 及 2.3
2.2 Build kernel
cd ${KERNEL_DIR} make distclean make hikey960_defconfig make -j7 Image.gz make hisilicon/hi3660-hikey960.dtb #Check device/linaro/hikey/hikey360/Android.mk for kernel version to build. cp ${KERNEL_DIR}/arch/arm64/boot/Image.gz ${GEN_IMAGES_DIR}/. cp ${KERNEL_DIR}/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dtb ${GEN_IMAGES_DIR}/.
2.3 make dts and boot image
AOSP 的 make bootimage 有問題, 直接使用參考 https://github.com/96boards-hikey/tools-images-hikey960/tree/master/build-from-source
cd $GEN_IMAGES_DIR ./mkbootimg --kernel Image.gz --ramdisk ${RAMDISK_IMG} --cmdline "loglevel=15 androidboot.hardware=hikey960 androidboot.selinux=permissive firmware_class.path=/system/etc/firmware" --base 0x0 --tags-addr 0x07A00000 --kernel_offset 0x00080000 --ramdisk_offset 0x07c00000 --os_version 7.0 --os_patch_level 2016-08-05 --output ${PRODUCT_OUT}/boot.img ./mkdtimg -d hi3660-hikey960.dtb -s 2048 -c -o ${PRODUCT_OUT}/dt.img echo "dt.img boot.img build finished!"
What's the difference of AOSP make bootimage?
defined in build/make/core/Makefile
out/host/linux-x86/bin/mkbootimg --kernel out/target/product/hikey960/kernel --ramdisk out/target/product/hikey960/ramdisk.img --cmdline androidboot.hardware=hikey960 firmware_class.path=/vendor/firmware efi=noruntime init=/init androidboot.boot_devices=soc/ff3b0000.ufs loglevel=15 overlay_mgr.overlay_dt_entry=hardware_cfg_enable_android_fstab buildvariant=userdebug --os_version R --os_patch_level 2019-07-05 --base 0x0 --tags_offset 0x07a00000 --kernel_offset 0x00080000 --ramdisk_offset 0x07c00000 --output out/target/product/hikey960/boot.img
device/linaro/hikey/hikey960/device-hikey960.mk
defined in ./hikey/build/tasks/dtimage.mk
device/linaro/hikey/installer/hikey960/mkdtimg -c -d $(PRODUCT_OUT)/hi3660-hikey960.dtb -o $(PRODUCT_OUT)/dt.img
3. Flash
3.1 Recovery mode
Steps:
(1) Power-off. board switch: on-on-off
(2) Connect UART->USB to PC (/dev/ttyUSB0), connect USB Type-C to PC.
(3) Power on. The board is booting to recovery mode. Type-C will be recognised as /dev/ttyUSB1 in PC.
(4) Type the commands
cd ~/hikey960/tools-images-hikey960 #run sudo ./recovery-flash.sh may fail. Type the command one by one to check the error reason. sudo ./hikey_idt -c config -p /dev/ttyUSB1 ## This tool flash the following images to recovery area ## ./hisi-sec_usb_xloader.img 0x00020000 ## ./hisi-sec_uce_boot.img 0x6A908000 ## ./hisi-sec_fastboot.img 0x1AC00000 ##board will reboot into fastboot mode. Wait few seonds # partition table sudo fastboot flash ptable hisi-ptable.img # bootloader sudo fastboot flash xloader hisi-sec_xloader.img sudo fastboot flash fastboot hisi-fastboot.img # extra images sudo fastboot flash nvme hisi-nvme.img sudo fastboot flash fw_lpm3 hisi-lpm3.img sudo fastboot flash trustfirmware hisi-bl31.bin
3.2 Fastboot mode
If not follow Steps 3.1, need board to on-off-on o enter the fastboot mode.
Connect Type-C USB cable to Host and the board.
Power on by plug the 12V DC adaptor
cd ${PRODUCT_OUT} sudo fastboot devices sudo fastboot flash boot boot.img sudo fastboot flash dts dt.img sudo fastboot flash system system.img sudo fastboot flash userdata userdata.img sudo fastboot flash vendor vendor.img
4. Run
Not the sequence here:
(1) Power off the board. (2) Switch 3 off (3) Remove Type-C USB cable. (4) Power on again.
Note that if Type-C USB cable is connected to host, the USB mouse will not be usable.
- Next: Build Hikey960 on Android 10
- Appendix 1: Some options
Setting the serial number
-To set the random serial number, run:
fastboot getvar nve:SN@16_DIGIT_NUMBER
Bootloader exports the generated serial number to the kernel via androidboot.serialno=.
-Setting monitor resolution
Edit the device/linaro/hikey/hikey960/BoardConfig.mk parameter BOARD_KERNEL_CMDLINE and configure the video setting. For example, the setting for a 24-inch monitor is video=HDMI-A-1:1280x800@60.
- Appendix 2: Boot log
hikey960 boarid:5301 xloader use UART6 scsysstat_value[0]. clear reset source last_keypoint0,reboot_type0 secdbg not DCU. SecDbgVer exit xloader chipid is: 0x36600110, start at 365ms. Build Date: Dec 6 2017, 15:31:59 [clock_init] ++ hikey960 [hikey960_clk_init] hi3660 [clk_setup] [clock_init] -- storage type is UFS ufs retry: 6 count v_tx:0 v_rx:0 ufs set v_tx:0 v_rx:0 Hikey960[5301] no need avs_init. ddr ft:0xf20332a3,mode:1 target:4 UceLdOk density: 0x08080808,0x08080808,0x08080808,0x08080808,0x08080808,0x08080808,0x08080808,0x08080808 ddr info 0x000004ff 400M 685M 1067M C2R,V0x00000031 e:113 C0R,V0x00000031 e:66 C1R,V0x00000031 e:66 C2R,V0x00000032 e:66 C3R,V0x00000032 e:66 C0R,V0x00000032 e:66 C1R,V0x00000032 e:66 C2R,V0x00000033 e:66 C3R,V0x00000033 e:66 C0R,V0x00000033 e:66 C1R,V0x00000033 e:66 C2R,V0x00000034 e:65 C3R,V0x00000034 e:65 C0R,V0x00000031 e:66 C0R,V0x00000032 e:66 C1R,V0x00000031 e:66 C2R,V0x00000031 e:113 C3R,V0x00000031 e:66 C0R,V0x00000033 e:66 C1R,V0x00000032 e:66 C2R,V0x00000032 e:66 C3R,V0x00000032 e:66 C0R,V0x00000034 e:66 C1R,V0x00000033 e:66 C2R,V0x00000033 e:66 C3R,V0x00000033 e:65 1244M 1866M C2R,V0x00000017 e:66 pack0Idx0Dcc:0 pack1Idx0Dcc:0 pack2Idx0Dcc:0 pack3Idx0Dcc:1 iomcu_subsys_init boot_c0 PROFILE 4 slave0 irq0:0x00000004 slave1 irq0:0x00000004 main: ******** Fastboot for Kirin ***************** main: ******** Build Date: Jun 2 2017, 17:34:24 ** main: ******** Fastboot start at 1873 ms ********** main: print soc_id computed in xloader phase, is below: main: 00000000 main: 00000000 main: 00000000 main: 00000000 main: main: 00000000 main: 00000000 main: 00000000 main: 00000000 main: led_alwayson: can't get dtb operators bbox: bbox_register_module_ops success. bfm: : >>>>>enter bfm_init bfm: : [disable_boot_fail_system] boot_fail_system state is 0 clock: PLL Stat clock: PLL2 ctrl0=0x04909604,ctrl1=0x02000000 clock: PLL2 acpu en_stat:0x00000008, acpu gt_stat:0x00040000 clock: PLL2 final en_stat:0x00100000, final gt_stat:0x00020000 clock: PLL3 ctrl0=0x04904005,ctrl1=0x07000000 clock: PLL3 acpu en_stat:0x00000000, acpu gt_stat:0x00000000 clock: PLL3 final en_stat:0x00200000, final gt_stat:0x00040000 clock: clock init OK ufs: ufs start on platform[36600110]ufs: ufs current mode: 0x00000011 ufs: ufs current gear: 0x00000003 ufs: ufs mphy reg 0x4A = 0x00000000 ufs: bUD0BaseOffset: 0x00000010, bUDConfigPLength: 0x00000010 ufs: UFS device manufacturerid = 0x000001ad ufs: UFS device: H**** bfm: : >>>>>enter set_boot_stage bfm: : bootStageCode is 0x02000001, mntnStageCode is 27 bfm: : <<<<<exit set_boot_stage. storage: emmc_ops invalid storage: storage type is UFS bfm: : bfm system is disabled! storage: emmc_init: BL2_STAGE_EMMC_OK is 33554435! bfm: : >>>>>enter set_boot_stage bfm: : bootStageCode is 0x02000003, mntnStageCode is 29 bfm: : <<<<<exit set_boot_stage. bfm: : >>>>>enter set_boot_stage bfm: : bootStageCode is 0x02010001, mntnStageCode is 30 bfm: : <<<<<exit set_boot_stage. ddr: current logic version is lpddr4 verison !!! ddr: ddr size is 4096MB bbox: register modid [0x81fff200] bbox: register exception succeed. bbox: register modid [0x81fff202] bbox: register exception succeed. bbox: register modid [0x81fff20b] bbox: register exception succeed. watchdog: Enable watchdog start boardid: [BDID]boardid: 5301 gpio: hikey960_gpio_init: GPIO 46 202 206 ouput low, GPIO 219 pullup. load_kernel: register_update_dt_ops for usb! secureboot: Enter secboot_init: set pll efuse flag! secureboot: pll efuse flag has been succ set!bbox: register modid [0x81fff20a] bbox: register exception succeed. secureboot: SECBOOT_DEV_INFO_DADDR = 0x1d7fff00, SECBOOT_DEV_INFO_SIZE = 0x00000040! dtimage: number of dtb = 1 dtimage: =========uncompress_dtb_addr=[0x16f00000],====vrl_addr=[0x1b0e64e0]==== dtimage: [device_tree_get_dtb_entry:215] Verify Not Exist dtimage: fdt_init success! dtimage: -----can not find hisilicon,fastboot node by compatible dtimage: -----can not find hisilicon,fastboot node by compatible load_kernel: register_update_dt_ops for led! reboot_reason: scsysstat_value is 0x00000000 pmu: can not find fastboot,hisi-pmic-mntn node1 pmu: pmu_property_read_u32 fastboot,hisi-pmic-mntn, hisilicon,data-width, failed pmu: pmu_mntn_record_dts_parse failed! bbox: save_tempbuffer_to_loop_area():727:storage_read fail[-1] reboot_reason: reboot_reason is AP_S_COLDBOOT reboot_reason: clear_reset_source in! reboot_reason: tmp =0x0effcc70 dtimage: -----can not find fastboot,charger node by compatible power: get_chargerIC_type: getU32byCompatible fastboot,charger, hw_charger_type failed! dtimage: -----can not find fastboot,coul node by compatible power: get_coul_type: get coul_type failed! power: get coul_type failed! power: hi6421v500 register coulometer ops fail! dtimage: -----can not find huawei,hisi_bci_battery node by compatible no_module: [hi6523_get_config_info]: can't get battery board type dtimage: -----can not find fastboot,charger node by compatible no_module: get hi6523 i2c reg num fail! dtimage: -----can not find fastboot,charger node by compatible no_module: [hi6523_start_charging_by_init_params]: get ichrg_pre_limit fail dtimage: -----can not find huawei,hi6523_charger node by compatible no_module: [hi6523_start_charging_by_init_params]: get reg fail dtimage: -----can not find fastboot,buckboost node by compatible max77813: get_buckboost_type: getU32byCompatible fastboot,buckboost, hw_buckboost_type failed! max77813: get dts buckboost type fail! cpu_buck: pmu type3 not registered cpu_buck: Bad cpu buck info:1 bbox: Could not find path /rdr bbox: Could not find status property. mntn: tele_mntn_stat_point_init: can not bbox_ops ! dtimage: -----can not find hisilicon,fastboot node by compatible mntn: [tele_mntn_m3_wdt_config]: getU32byCompatible(hisilicon,fastboot, lpm3-board-type) error! mntn: mntn init mntndump: enable_reserved_ddr_dts: Could not find path /reserved-memory/mntndump mntndump: mntn_dump_init failed mntndump: get_mntn_dump_addr:mid[2] is not init mntn: kernel dump is not available mntn: reboot_type is 0 mntn: no need to dump_mem... mntn: enter [registe_pstore_ramoops_dump] mntndump: get_mntn_dump_addr:mid[5] is not init mntn: no mdump_pstore info mntn: M3_RDR_SYS_CONTEXT_BASE_ADDR is null uart_cfg: [MNTN]:Could not find node. uart_cfg: set_default_uart_cfg: uart_from_dts_read failed! uart_cfg: module_idx 2, uart_no 6 uart_cfg: odule_idx 11, uart_no 15 uart_cfg: module_idx 2, uart_no 6 uart_cfg: getU32byCompatible(hisilicon,fastboot, uart-board-type) error! uart_cfg: boardid: 5301 use uart port: 6 pasr: in pasr_init-43 ...ddr: current logic version is lpddr4 verison !!! ddr: current logic version is lpddr4 verison !!! dtimage: -----can not find huawei,lcd_panel_type node by compatible display: [display]get_detect_type: huawei,lcd_panel_type: get detect_type fail display: lcd:no lcd detect_type no_module: [LOGO] get_logo_buffer_from_dtsi: Could not find path /reserved-memory/logo-buffer. no_module: [LOGO] logo_init: logo init failed!!! used the default fb addr. display: [display]jdi_nt35696_panel_init: lcd type is not JDI_NT35696_5P5_LCD. display: [display]jdi_otm2503b_panel_init: lcd type is not JDI_OTM2503B_5P5_LCD. bfm: : >>>>>enter set_boot_stage bfm: : bootStageCode is 0x02010002, mntnStageCode is 31 bfm: : <<<<<exit set_boot_stage. dtimage: -----can not find huawei,lcd_panel_type node by compatible display: [display]get_dts_value: can not get huawei,lcd_panel_type, bl_bus_id=4! dtimage: -----can not find ti,lm36923 node by compatible display: [display]get_dts_value: can not get ti,lm36923, support=0! display: get lm36923_support failed! Audio_codec: [audio]:Could not find "hisilicon,codec-controller" node. load_teeos: can not find fb node fingerprint load_teeos: failed to find fb node ese_config display: [display]hisi_get_disp_info: hisifb_data is NULL pointer, return! bfm: : >>>>>enter set_boot_stage bfm: : bootStageCode is 0x02010003, mntnStageCode is 32 bfm: : <<<<<exit set_boot_stage. misc: [get_misc_message] mmc_read failed preboot: [fastboot]: check_unlock_misc_info, line:1273 :get misc message failed. preboot: [fastboot]: check_powerkey_misc_info, line:1242 :!!!!CAUTION!!!!:get keypad_operator FAIL! preboot: [fastboot]: check_volumekey_state, line:943 :!!!!CAUTION!!!!:get keypad_operator FAIL! misc: [get_misc_message] mmc_read failed preboot: [fastboot]: comm_read_misc_cmd, line:501 :get misc message failed. power: [check_battery_present]:g_coulometer_ops is null power: [wait_coulometer_work]:g_coulometer_ops is null power: [get_device_power_state]:initial coulometer fail! preboot: [fastboot]: preboot_init, line:1480 :Hikey960 stub: set bootmode to normal_mode! rescue: ^^^^^^^^^[rescue_init] ok ! usbloader: bootmode is 1 bfm: : >>>>>enter set_boot_stage bfm: : bootStageCode is 0x02010004, mntnStageCode is 33 bfm: : <<<<<exit set_boot_stage. load_lpm3: start lpm3 loading load_lpm3: load lpmcu image tm: cluster0 prof0 trim result check fail:0,00000000,00000000 tm: cluster0 prof1 trim result check fail:0,00000000,00000000 tm: cluster0 prof2 trim result check fail:0,00000000,00000000 tm: cluster0 prof3 trim result check fail:0,00000000,00000000 tm: cluster0 prof4 trim result check fail:0,00000000,00000000 tm: cluster1 prof0 trim result check fail:0,00000000,00000000 tm: cluster1 prof1 trim result check fail:0,00000000,00000000 tm: cluster1 prof2 trim result check fail:0,00000000,00000000 tm: cluster1 prof3 trim result check fail:0,00000000,00000000 tm: cluster1 prof4 trim result check fail:0,00000000,00000000 tm: cluster1 prof5 trim result check fail:0,00000000,00000000 tm: cluster2 prof0 trim result check fail:0,00000000,00000000 tm: cluster2 prof1 trim result check fail:0,00000000,00000000 tm: cluster2 prof2 trim result check fail:0,00000000,00000000 tm: cluster2 prof3 trim result check fail:0,00000000,00000000 tm: cluster2 prof4 trim result check fail:0,00000000,00000000 tm: cluster2 prof5 trim result check fail:0,00000000,00000000 tm: cluster2 prof6 trim result check fail:0,00000000,00000000 tm: cluster2 prof7 trim result check fail:0,00000000,00000000 tm: C0 tm: p4 tm: path adjust:00000018 tm: svfd2:00000012 tm: svfd1:00000012 tm: svfd0:00000012 tm: p3 tm: svfd2:00000011 tm: svfd1:00000012 tm: svfd0:00000012 tm: C1 tm: p4 tm: path adjust:00000018 tm: svfd2:00000013 tm: svfd1:00000013 tm: svfd0:00000013 tm: p3 tm: svfd2:00000017 tm: svfd1:00000017 tm: svfd0:00000017 tm: p2 tm: svfd2:0000001a tm: svfd1:0000001a tm: svfd0:0000001a tm: p1 tm: svfd2:0000001a tm: svfd1:0000001a tm: svfd0:0000001a load_lpm3: do_lpnv_acpufreq_papa_option load_lpm3: modify_pmu6422_para no bugfix load_lpm3: LPM3 load success 0x89c80000 load_lpm3: SCPERRSTSTAT4_SEC fffffffc load_lpm3: SCOCBCRSTCTRL 00000000 load_lpm3: SCPERCLKEN2 43e00001 load_lpm3: SCPERSTAT2 c7fa4c4f load_lpm3: SCOCBCSTAT 00007250 load_lpm3: AOCLK_CTRL 00000725 load_lpm3: SCPERSTAT3 000014c7 load_lpm3: SCOCBCSTAT 00007250 load_lpm3: AOCLK_CTRL 00000725 load_lpm3: AOCLK_CTRL 00000225 load_lpm3: CFG_M3_RST_STA 00000000 load_lpm3: load ocbc success! load_kernel: 0xC5 = 00000032 load_kernel: 0xCC = 00000003 bfm: : bfm system is disabled! load_kernel: load_kernel CONFIG_WITHOUT_SECURE_OS is open bfm: : >>>>>enter set_boot_stage bfm: : bootStageCode is 0x02010005, mntnStageCode is 34 bfm: : <<<<<exit set_boot_stage. bfm: : bfm system is disabled! load_kernel: is_system_damaged, the system verify is 1 in nvme! mntn_err: can not get gui_ops! dtimage: -----can not find gpio-leds_v2 node by compatible led: ERROR: Cannot update gpio-leds_v2 info load_kernel: update dt for led err load_kernel: update dt for led suc usb: [usb]usb update hisilicon,gpio_hubv2 info success load_kernel: update dt for usb suc load_kernel: Hikey960: Enable all ip regulator pmu_ip: Hikey960:switch from PPLL0 to PPLL3 pmu_ip: Hikey960:Enable ispfunc pmu_ip: Hikey960:Enable clock-gating pmu_ip: [regulator_power_all_enable] all IP regulator is power on! load_kernel: set ISP_CORE_CTRL_S to unsec, val = 0x00000007 load_kernel: set ISP_SUB_CTRL_S to unsec, val = 0x0000000f bfm: : >>>>>enter set_boot_stage bfm: : bootStageCode is 0x02010006, mntnStageCode is 35 bfm: : <<<<<exit set_boot_stage. load_kernel: __get_cmdline: can not get audio_codec_ops! power: [get_coulometer_nv_address]:g_coulometer_ops is null power: [get_battery_voltage]:g_coulometer_ops is null display: [display]hisi_get_disp_info: hisifb_data is NULL pointer, return! cmdline: can not get display_info! display: [display]hisi_get_disp_info: hisifb_data is NULL pointer, return! cmdline: can not get display_info! display: [display]hisi_get_disp_info: hisifb_data is NULL pointer, return! pasr: info: ddr_die=2048M@0M ddr_die=2048M@2048M cmdline: create_last_bootup_keypoint_cmdline,last_bootup_keypoint is invalid cmdline: g_memdump_addr is 0 dtimage: -----can not find hisilicon,fastboot node by compatible cmdline: bsp_need_loadmodem: getU32byCompatible hisilicon,fastboot, is_fpga failed! cmdline: [ddr]: cmdline add ddr_density 0x00000002! no_module: create_mdmlog_cmdline: ret = 0 or nve bit[0] = 48, would't create cmdline!! display: [display]hisi_get_disp_info: hisifb_data is NULL pointer, return! cmdline: can not get display_info! reboot_reason: set_reboot_type is 0x000000ff. dtimage: -----can not find hisilicon,fastboot node by compatible mntn: [mntnops_before_boot_kernel]: getU32byCompatible error! mntn: apwatchdog_status_is_ok: cannot find amba/watchdog0, ret=-1 watchdog: Disable watchdog start ddr: current logic version is lpddr4 verison !!! mem_cfg: memory section - 0000000000000000 : 0000000080000000 - mem_cfg: memory section + 0000000000000000 : 0000000080000000 + mem_cfg: memory section - 0000000080000000 : 0000000080000000 - mem_cfg: memory section + 0000000080000000 : 0000000060000000 + mem_cfg: memory section + 0000000200000000 : 0000000020000000 + mem_cfg: Could not find /reserved-memory/ddr-training2. mem_cfg: update_sec_mem_bl31_ddrc_info: Could not find path /reserved-memory/hisi_cma. mem_cfg: update_bl31_ddrc_info: secmem return wrong,may not a failure. mem_cfg: update_fastboot_cma_bl31_ddrc_info: base 0x0000000016c00003 size 0x0000000004000000 usbloader: iddq is 0x0000000000000000 usbloader: hpm is 0x0000000000000000 usbloader: dieid is 0x0a048009d1170d0a8308c7122100ef1c06d65993 load_kernel: Hikey960: Enable all ip regulator pmu_ip: Hikey960:switch from PPLL0 to PPLL3 pmu_ip: Hikey960:Enable ispfunc pmu_ip: Hikey960:Enable clock-gating pmu_ip: [regulator_power_all_enable] all IP regulator is power on! load_kernel: set ISP_CORE_CTRL_S to unsec, val = 0x00000007 load_kernel: set ISP_SUB_CTRL_S to unsec, val = 0x0000000f load_kernel: ----boot time is 3640 ms---- load_kernel: boot_from_bl31: boot to trusted firmware. addr=0x00000000 [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.14.101-g56136f5a7cad (android-build@abfarm772) (Android (5271481 based on r349610) clang version 8.0.8 (https://android.googlesource.com/toolchain/clang 4dba9ad555eabb40b39dc53c12d09423e9faea7b) (https://android.googlesource.com/toolchain/llvm ab552995647d484a712bf15f77e6c6f4e8ac532b) (based on LLVM 8.0.8svn)) #1 SMP PREEMPT Wed Mar 27 01:29:07 UTC 2019 [ 0.000000] Boot CPU: AArch64 Processor [410fd034] [ 0.000000] Machine model: HiKey960 [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000016c00000, size 64 MiB [ 0.000000] OF: reserved mem: initialized node fastboot-cma-mem, compatible id shared-dma-pool [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000020c00000, size 64 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] On node 0 totalpages: 1048063 [ 0.000000] DMA zone: 14328 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 916991 pages, LIFO batch:31 [ 0.000000] Normal zone: 2048 pages used for memmap [ 0.000000] Normal zone: 131072 pages, LIFO batch:31 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.0 [ 0.000000] random: get_random_bytes called from start_kernel+0x8c/0x46c with crng_init=0 [ 0.000000] percpu: Embedded 23 pages/cpu @ffffffc21feea000 s55960 r8192 d30056 u94208 [ 0.000000] pcpu-alloc: s55960 r8192 d30056 u94208 alloc=23*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: enabling workaround for ARM erratum 845719 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1031687 [ 0.000000] Kernel command line: androidboot.hardware=hikey960 firmware_class.path=/vendor/firmware efi=noruntime init=/init androidboot.boot_devices=soc/ff3b0000.ufs loglevel=15 overlay_mgr.overlay_dt_entry=hardware_cfg_enable_android_fstab buildvariant=userdebug androidboot.swtype=normal fastboot_version=DailyBuild_201706021648_FASTBOOT setup_logctl=1 fastbootdmd=0 enter_recovery=0 androidboot.mode=normal low_volt_flag=1 boardid=0x000014b5 normal_reset_type=coldboot ddr_die=2048M@0M ddr_die=2048M@2048M efuse_status=2 androidboot.serialno=4895095250000000 himntn=111111111111111010111111101001100010001 boot_slice=0x0001ac1d reboot_reason=AP_S_COLDBOOT recovery_update=0 userlock=locked bootlock=unlocked hw_bfm_enable=0 ddr_density=2 swiotlb=2 mdmreglogbase=0x00000000 mdmreglogsize=0x00000000 modem_socp_enable=0 androidboot.hardware=HiKey960 androidboot.veritymode=enforcing androidboot.verifiedbootstate=ORANGE ufs_product_name=hB8aL1 format_data=1 cpu_buck_reg=0x;; androidboot.ddrsize=4 [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.000000] software IO TLB: mapped [mem 0xdffbf000-0xdffff000] (0MB) [ 0.000000] Memory: 3945872K/4192252K available (13884K kernel code, 1370K rwdata, 4544K rodata, 3136K init, 912K bss, 115308K reserved, 131072K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB) [ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000 ( 250 GB) [ 0.000000] .text : 0xffffff8008080000 - 0xffffff8008e10000 ( 13888 KB) [ 0.000000] .rodata : 0xffffff8008e10000 - 0xffffff8009290000 ( 4608 KB) [ 0.000000] .init : 0xffffff8009290000 - 0xffffff80095a0000 ( 3136 KB) [ 0.000000] .data : 0xffffff80095a0000 - 0xffffff80096f6a00 ( 1371 KB) [ 0.000000] .bss : 0xffffff80096f6a00 - 0xffffff80097daa18 ( 913 KB) [ 0.000000] fixed : 0xffffffbefe7fb000 - 0xffffffbefec00000 ( 4116 KB) [ 0.000000] PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000 ( 16 MB) [ 0.000000] vmemmap : 0xffffffbf00000000 - 0xffffffc000000000 ( 4 GB maximum) [ 0.000000] 0xffffffbf00000000 - 0xffffffbf08800000 ( 136 MB actual) [ 0.000000] memory : 0xffffffc000000000 - 0xffffffc220000000 ( 8704 MB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=8. [ 0.000000] Tasks RCU enabled. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] arch_timer: cp15 timer(s) running at 1.92MHz (virt). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1c570327e, max_idle_ns: 1763180809505 ns [ 0.000005] sched_clock: 56 bits at 1920kHz, resolution 520ns, wraps every 4398046510977ns [ 0.000098] clocksource: arm,sp804: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58334160866034 ns [ 0.000692] Calibrating delay loop (skipped), value calculated using timer frequency.. 3.84 BogoMIPS (lpj=7680) [ 0.000704] pid_max: default: 32768 minimum: 301 [ 0.000834] Security Framework initialized [ 0.000847] SELinux: Initializing. [ 0.000901] SELinux: Starting in permissive mode [ 0.001002] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) [ 0.001019] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes) [ 0.016045] ASID allocator initialised with 32768 entries [ 0.024021] Hierarchical SRCU implementation. [ 0.032851] EFI services will not be available. [ 0.040061] smp: Bringing up secondary CPUs ... [ 0.068604] Detected VIPT I-cache on CPU1 [ 0.068689] CPU1: Booted secondary processor [410fd034] [ 0.096528] Detected VIPT I-cache on CPU2 [ 0.096559] CPU2: Booted secondary processor [410fd034] [ 0.124539] Detected VIPT I-cache on CPU3 [ 0.124558] CPU3: Booted secondary processor [410fd034] [ 0.154134] CPU features: enabling workaround for ARM erratum 858921 [ 0.154140] Detected VIPT I-cache on CPU4 [ 0.154147] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU4: 0x00000000101122 [ 0.154156] CPU features: Unsupported CPU feature variation detected. [ 0.154169] arch_timer: Enabling local workaround for ARM erratum 858921 [ 0.154180] arch_timer: CPU4: Trapping CNTVCT access [ 0.154186] CPU4: Booted secondary processor [410fd091] [ 0.180562] Detected VIPT I-cache on CPU5 [ 0.180567] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU5: 0x00000000101122 [ 0.180577] arch_timer: Enabling local workaround for ARM erratum 858921 [ 0.180582] arch_timer: CPU5: Trapping CNTVCT access [ 0.180586] CPU5: Booted secondary processor [410fd091] [ 0.208606] Detected VIPT I-cache on CPU6 [ 0.208611] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU6: 0x00000000101122 [ 0.208620] arch_timer: Enabling local workaround for ARM erratum 858921 [ 0.208625] arch_timer: CPU6: Trapping CNTVCT access [ 0.208629] CPU6: Booted secondary processor [410fd091] [ 0.236647] Detected VIPT I-cache on CPU7 [ 0.236652] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU7: 0x00000000101122 [ 0.236661] arch_timer: Enabling local workaround for ARM erratum 858921 [ 0.236666] arch_timer: CPU7: Trapping CNTVCT access [ 0.236670] CPU7: Booted secondary processor [410fd091] [ 0.236740] smp: Brought up 1 node, 8 CPUs [ 0.236790] SMP: Total of 8 processors activated. [ 0.236797] CPU features: detected feature: 32-bit EL0 Support [ 0.236802] CPU features: detected feature: Kernel page table isolation (KPTI) [ 0.239515] CPU: All CPU(s) started at EL1 [ 0.239543] alternatives: patching kernel code [ 0.239793] CPU7: update max cpu_capacity 1024 [ 0.244631] CPU3: update max cpu_capacity 592 [ 0.246444] Registered cp15_barrier emulation handler [ 0.246456] Registered setend emulation handler [ 0.246596] CPU5: update max cpu_capacity 1024 [ 0.246640] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.246652] futex hash table entries: 2048 (order: 6, 262144 bytes) [ 0.247960] xor: measuring software checksum speed [ 0.284408] 8regs : 5019.000 MB/sec [ 0.324440] 8regs_prefetch: 4600.000 MB/sec [ 0.364470] 32regs : 5629.000 MB/sec [ 0.404502] 32regs_prefetch: 5442.000 MB/sec [ 0.404506] xor: using function: 32regs (5629.000 MB/sec) [ 0.404517] pinctrl core: initialized pinctrl subsystem [ 0.405167] DMI not present or invalid. [ 0.405399] NET: Registered protocol family 16 [ 0.405727] schedtune: configured to support 5 boost groups [ 0.406396] cpuidle: using governor ladder [ 0.406411] cpuidle: using governor menu [ 0.406650] vdso: 2 pages (1 code @ ffffff8008e17000, 1 data @ ffffff80095a4000) [ 0.406656] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.407259] DMA: preallocated 256 KiB pool for atomic allocations [ 0.407417] Serial: AMBA PL011 UART driver [ 0.407709] pstore: using zlib compression [ 0.408079] console [pstore-1] enabled [ 0.408084] pstore: Registered ramoops as persistent store backend [ 0.408091] ramoops: attached 0x100000@0x20a00000, ecc: 0/0 [ 0.429758] hi3660-mbox e896b000.mailbox: Mailbox enabled [ 0.430463] uart-pl011 ffd74000.serial: could not find pctldev for node /soc/pinmux@e896c000/uart3_pmx_func, deferring probe [ 0.430588] uart-pl011 fdf01000.serial: could not find pctldev for node /soc/pinmux@e896c000/uart4_pmx_func, deferring probe [ 0.430708] uart-pl011 fff32000.serial: could not find pctldev for node /soc/pinmux@e896c000/uart6_pmx_func, deferring probe [ 0.443154] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.516714] raid6: int64x1 gen() 1393 MB/s [ 0.584757] raid6: int64x1 xor() 781 MB/s [ 0.652781] raid6: int64x2 gen() 1726 MB/s [ 0.720847] raid6: int64x2 xor() 1000 MB/s [ 0.788910] raid6: int64x4 gen() 1868 MB/s [ 0.856957] raid6: int64x4 xor() 1100 MB/s [ 0.925017] raid6: int64x8 gen() 1771 MB/s [ 0.993050] raid6: int64x8 xor() 1056 MB/s [ 1.061116] raid6: neonx1 gen() 2042 MB/s [ 1.129163] raid6: neonx1 xor() 1920 MB/s [ 1.197216] raid6: neonx2 gen() 2990 MB/s [ 1.265266] raid6: neonx2 xor() 2803 MB/s [ 1.333321] raid6: neonx4 gen() 4262 MB/s [ 1.401366] raid6: neonx4 xor() 3549 MB/s [ 1.469428] raid6: neonx8 gen() 4470 MB/s [ 1.537472] raid6: neonx8 xor() 3465 MB/s [ 1.537478] raid6: using algorithm neonx8 gen() 4470 MB/s [ 1.537482] raid6: .... xor() 3465 MB/s, rmw enabled [ 1.537488] raid6: using neon recovery algorithm [ 1.537663] ACPI: Interpreter disabled. [ 1.538166] vgaarb: loaded [ 1.538464] SCSI subsystem initialized [ 1.538659] libata version 3.00 loaded. [ 1.538731] ssp-pl022 ffd68000.spi: could not find pctldev for node /soc/pinmux@fff11000/spi2_pmx_func, deferring probe [ 1.538753] ssp-pl022 ff3b3000.spi: could not find pctldev for node /soc/pinmux@ff3b6000/spi3_pmx_func, deferring probe [ 1.539114] usbcore: registered new interface driver usbfs [ 1.539174] usbcore: registered new interface driver hub [ 1.539262] usbcore: registered new device driver usb [ 1.539306] tcpc_class_init_1.1.1_G [ 1.539348] TCPC class init OK [ 1.539358] Init Richtek RegMap [ 1.539525] i2c_designware ffd71000.i2c: could not find pctldev for node /soc/pinmux@fff11000/i2c0_pmx_func, deferring probe [ 1.539546] i2c_designware ffd72000.i2c: could not find pctldev for node /soc/pinmux@fff11000/i2c1_pmx_func, deferring probe [ 1.539567] i2c_designware fdf0b000.i2c: could not find pctldev for node /soc/pinmux@fff11000/i2c7_pmx_func, deferring probe [ 1.539636] Linux video capture interface: v2.00 [ 1.539955] dmi: Firmware registration failed. [ 1.540022] overlay_mgr: apply hardware_cfg_enable_android_fstab dt entry [ 1.540094] overlay_mgr: overlay_0 overlay applied [ 1.540441] Advanced Linux Sound Architecture Driver Initialized. [ 1.540672] Bluetooth: Core ver 2.22 [ 1.540696] NET: Registered protocol family 31 [ 1.540701] Bluetooth: HCI device and connection manager initialized [ 1.540710] Bluetooth: HCI socket layer initialized [ 1.540716] Bluetooth: L2CAP socket layer initialized [ 1.540735] Bluetooth: SCO socket layer initialized [ 1.540966] NetLabel: Initializing [ 1.540971] NetLabel: domain hash size = 128 [ 1.540976] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 1.541011] NetLabel: unlabeled traffic allowed by default [ 1.541372] clocksource: Switched to clocksource arch_sys_counter [ 1.585845] VFS: Disk quotas dquot_6.6.0 [ 1.585894] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 1.586151] pnp: PnP ACPI: disabled [ 1.587042] NET: Registered protocol family 2 [ 1.587341] TCP established hash table entries: 32768 (order: 6, 262144 bytes) [ 1.587456] TCP bind hash table entries: 32768 (order: 7, 524288 bytes) [ 1.587648] TCP: Hash tables configured (established 32768 bind 32768) [ 1.587725] UDP hash table entries: 2048 (order: 4, 65536 bytes) [ 1.587754] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes) [ 1.587908] NET: Registered protocol family 1 [ 1.587928] PCI: CLS 0 bytes, default 128 [ 1.588057] Trying to unpack rootfs image as initramfs... [ 1.607638] Freeing initrd memory: 776K [ 1.608577] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available [ 1.608863] kvm [1]: HYP mode not available [ 1.611557] audit: initializing netlink subsys (disabled) [ 1.611639] audit: type=2000 audit(1.603:1): state=initialized audit_enabled=0 res=1 [ 1.612004] Initialise system trusted keyrings [ 1.612078] workingset: timestamp_bits=46 max_order=20 bucket_order=0 [ 1.612597] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 1.612617] Registering sdcardfs 0.1 [ 1.612744] fuse init (API version 7.26) [ 1.612940] 9p: Installing v9fs 9p2000 file system support [ 1.613089] SELinux: Registering netfilter hooks [ 1.615976] Key type asymmetric registered [ 1.615983] Asymmetric key parser 'x509' registered [ 1.615996] io scheduler noop registered [ 1.616028] io scheduler cfq registered (default) [ 1.616033] io scheduler mq-deadline registered [ 1.616039] io scheduler kyber registered [ 1.616858] pinctrl-single e896c000.pinmux: 124 pins at pa ffffff8009965000 size 496 [ 1.617103] pinctrl-single ff37e000.pinmux: 6 pins at pa ffffff800996d000 size 24 [ 1.617253] pinctrl-single ff3b6000.pinmux: 12 pins at pa ffffff8009975000 size 48 [ 1.617416] pinctrl-single ff3fd000.pinmux: 6 pins at pa ffffff800997d000 size 24 [ 1.617586] pinctrl-single fff11000.pinmux: 42 pins at pa ffffff8009985000 size 168 [ 1.617831] pinctrl-single e896c800.pinmux: 128 pins at pa ffffff800998d800 size 512 [ 1.617977] pinctrl-single ff3b6800.pinmux: 6 pins at pa ffffff8009995800 size 24 [ 1.618116] pinctrl-single ff3fd800.pinmux: 6 pins at pa ffffff800999d800 size 24 [ 1.618252] pinctrl-single ff37e800.pinmux: 6 pins at pa ffffff80099a5800 size 24 [ 1.618426] pinctrl-single fff11800.pinmux: 47 pins at pa ffffff80099ad800 size 188 [ 1.618930] pl061_gpio e8a0b000.gpio: PL061 GPIO chip @0x00000000e8a0b000 registered [ 1.619167] pl061_gpio e8a0c000.gpio: PL061 GPIO chip @0x00000000e8a0c000 registered [ 1.619413] pl061_gpio e8a0d000.gpio: PL061 GPIO chip @0x00000000e8a0d000 registered [ 1.619650] pl061_gpio e8a0e000.gpio: PL061 GPIO chip @0x00000000e8a0e000 registered [ 1.619886] pl061_gpio e8a0f000.gpio: PL061 GPIO chip @0x00000000e8a0f000 registered [ 1.620118] pl061_gpio e8a10000.gpio: PL061 GPIO chip @0x00000000e8a10000 registered [ 1.620357] pl061_gpio e8a11000.gpio: PL061 GPIO chip @0x00000000e8a11000 registered [ 1.620592] pl061_gpio e8a12000.gpio: PL061 GPIO chip @0x00000000e8a12000 registered [ 1.620829] pl061_gpio e8a13000.gpio: PL061 GPIO chip @0x00000000e8a13000 registered [ 1.621063] pl061_gpio e8a14000.gpio: PL061 GPIO chip @0x00000000e8a14000 registered [ 1.621298] pl061_gpio e8a15000.gpio: PL061 GPIO chip @0x00000000e8a15000 registered [ 1.621545] pl061_gpio e8a16000.gpio: PL061 GPIO chip @0x00000000e8a16000 registered [ 1.621781] pl061_gpio e8a17000.gpio: PL061 GPIO chip @0x00000000e8a17000 registered [ 1.622004] pl061_gpio e8a18000.gpio: PL061 GPIO chip @0x00000000e8a18000 registered [ 1.622244] pl061_gpio e8a19000.gpio: PL061 GPIO chip @0x00000000e8a19000 registered [ 1.622482] pl061_gpio e8a1a000.gpio: PL061 GPIO chip @0x00000000e8a1a000 registered [ 1.622713] pl061_gpio e8a1b000.gpio: PL061 GPIO chip @0x00000000e8a1b000 registered [ 1.622939] pl061_gpio e8a1c000.gpio: PL061 GPIO chip @0x00000000e8a1c000 registered [ 1.623186] pl061_gpio ff3b4000.gpio: PL061 GPIO chip @0x00000000ff3b4000 registered [ 1.623421] pl061_gpio ff3b5000.gpio: PL061 GPIO chip @0x00000000ff3b5000 registered [ 1.623652] pl061_gpio e8a1f000.gpio: PL061 GPIO chip @0x00000000e8a1f000 registered [ 1.623884] pl061_gpio e8a20000.gpio: PL061 GPIO chip @0x00000000e8a20000 registered [ 1.624125] pl061_gpio fff0b000.gpio: PL061 GPIO chip @0x00000000fff0b000 registered [ 1.624358] pl061_gpio fff0c000.gpio: PL061 GPIO chip @0x00000000fff0c000 registered [ 1.624600] pl061_gpio fff0d000.gpio: PL061 GPIO chip @0x00000000fff0d000 registered [ 1.624845] pl061_gpio fff0e000.gpio: PL061 GPIO chip @0x00000000fff0e000 registered [ 1.625088] pl061_gpio fff0f000.gpio: PL061 GPIO chip @0x00000000fff0f000 registered [ 1.625327] pl061_gpio fff10000.gpio: PL061 GPIO chip @0x00000000fff10000 registered [ 1.625571] pl061_gpio fff1d000.gpio: PL061 GPIO chip @0x00000000fff1d000 registered [ 1.664158] OF: PCI: host bridge /soc/pcie@f4000000 ranges: [ 1.664171] OF: PCI: MEM 0xf6000000..0xf7ffffff -> 0x00000000 [ 2.670763] kirin-pcie f4000000.pcie: Link Fail [ 2.670881] kirin-pcie f4000000.pcie: PCI host bridge to bus 0000:00 [ 2.670892] pci_bus 0000:00: root bus resource [bus 00-01] [ 2.670901] pci_bus 0000:00: root bus resource [mem 0xf6000000-0xf7ffffff] (bus address [0x00000000-0x01ffffff]) [ 2.670933] pci 0000:00:00.0: [19e5:3660] type 01 class 0x060400 [ 2.670980] pci 0000:00:00.0: reg 0x10: [mem 0xf6000000-0xf6ffffff 64bit] [ 2.671073] pci 0000:00:00.0: supports D1 D2 [ 2.671080] pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot [ 2.671327] pci_bus 0000:01: busn_res: can not insert [bus 01-ff] under [bus 00-01] (conflicts with (null) [bus 00-01]) [ 2.671371] pci 0000:00:00.0: BAR 0: assigned [mem 0xf6000000-0xf6ffffff 64bit] [ 2.671390] pci 0000:00:00.0: PCI bridge to [bus 01-ff] [ 2.671627] pcieport 0000:00:00.0: Signaling PME with IRQ 69 [ 2.671777] pcieport 0000:00:00.0: AER enabled with IRQ 69 [ 2.674604] k3-dma fdf30000.dma: initialized [ 2.674693] k3-dma e804b000.dma-controller: dma-avail-chan doesn't exist, considering all as available. [ 2.676573] k3-dma e804b000.dma-controller: initialized [ 2.677112] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 2.678795] [drm] +. [ 2.678815] [drm] wait for external HDMI bridge driver. [ 2.679053] mali e82c0000.mali: Continuing without Mali regulator control [ 2.679363] mali e82c0000.mali: GPU identified as 0x0 arch 6.0.10 r0p0 status 2 [ 2.679887] mali e82c0000.mali: Using configured power model mali-simple-power-model, and fallback mali-simple-power-model [ 2.679975] Error reading temperature for gpu thermal zone: -22 [ 2.680200] mali e82c0000.mali: Probed as mali0 [ 2.685506] brd: module loaded [ 2.689040] loop: module loaded [ 2.689272] [I/GPIO_HUB] gpio_hub_probe: step in [ 2.689493] [I/GPIO_HUB] gpio_hub_init:gpio hub init status:0 [ 2.690889] ufshcd-hi3660 ff3b0000.ufs: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled [ 2.690899] ufshcd-hi3660 ff3b0000.ufs: ufshcd_populate_vreg: Unable to find vcc-supply regulator, assuming enabled [ 2.690906] ufshcd-hi3660 ff3b0000.ufs: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled [ 2.690913] ufshcd-hi3660 ff3b0000.ufs: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled [ 2.712319] scsi host0: ufshcd [ 2.722578] libphy: Fixed MDIO Bus: probed [ 2.722585] tun: Universal TUN/TAP device driver, 1.6 [ 2.722980] PPP generic driver version 2.4.2 [ 2.723093] PPP BSD Compression module registered [ 2.723099] PPP Deflate Compression module registered [ 2.723128] PPP MPPE Compression module registered [ 2.723133] NET: Registered protocol family 24 [ 2.723138] PPTP driver version 0.8.5 [ 2.723393] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver [ 2.723479] usbcore: registered new interface driver pegasus [ 2.723533] usbcore: registered new interface driver rtl8150 [ 2.723593] usbcore: registered new interface driver r8152 [ 2.723648] usbcore: registered new interface driver asix [ 2.723702] usbcore: registered new interface driver ax88179_178a [ 2.723756] usbcore: registered new interface driver cdc_ether [ 2.723805] usbcore: registered new interface driver dm9601 [ 2.723865] usbcore: registered new interface driver CoreChips [ 2.723923] usbcore: registered new interface driver smsc75xx [ 2.723982] usbcore: registered new interface driver smsc95xx [ 2.724038] usbcore: registered new interface driver net1080 [ 2.724090] usbcore: registered new interface driver plusb [ 2.724141] usbcore: registered new interface driver cdc_subset [ 2.724198] usbcore: registered new interface driver zaurus [ 2.724252] usbcore: registered new interface driver MOSCHIP usb-ethernet driver [ 2.724307] usbcore: registered new interface driver cdc_ncm [ 2.724603] [USB3][hisi_dwc3_probe]+ [ 2.724715] [USB3][get_phy_param]eye diagram param: 0x1c466e3 [ 2.724721] [USB3][get_phy_param]eye diagram host param: 0x1c466e3 [ 2.724728] [USB3][get_phy_param]usb3_phy_cr_param: 0xb80 [ 2.724733] [USB3][get_phy_param]usb3_phy_host_cr_param: 0x980 [ 2.724738] [USB3][get_phy_param]usb3_phy_tx_vboost_lvl: 5 [ 2.724757] [USB3][get_resource]this is asic platform (fpga flag 0) [ 2.724762] [USB3][create_attr_file]+ [ 2.724882] [USB3][create_attr_file]- [ 2.724889] [USB3][hi3660_usb3phy_init]+ [ 2.749503] [USB3][config_femtophy_param]set hs phy param 0x1c466e3 for device [ 2.750153] [USB3][config_femtophy_param]set ss phy rx equalization 0xb80 [ 2.751120] [USB3][config_femtophy_param]set ss RX_SCOPE_VDCC 0x1 [ 2.751126] [USB3][config_femtophy_param]set ss phy tx vboost lvl 0x5 [ 2.751131] [USB3][set_hisi_dwc3_power_flag]set hisi_dwc3_power_flag 1 [ 2.751135] [USB3][hi3660_usb3phy_init]- [ 2.751530] [dwc3_otg_init]+ [ 2.751538] DWC3_OCFG: 0x0 [ 2.751543] DWC3_OCTL: 0x40 [ 2.751547] DWC3_OEVT: 0x80000000 [ 2.751552] DWC3_OEVTEN: 0x0 [ 2.751557] DWC3_OSTS: 0x19 [ 2.751561] DWC3_BCFG: 0x0 [ 2.751566] DWC3_BCEVT: 0x0 [ 2.751570] DWC3_BCEVTEN: 0x0 [ 2.751575] [dwc3_otg_init]- [ 2.751597] dwc3 ff100000.dwc3: dwc3_host_init if otg, otg will do device_add. [ 2.753304] [USB3][hisi_dwc3_wake_lock]usb otg wake lock [ 2.753313] [USB3][hisi_dwc3_probe]init state: OFF [ 2.753318] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in:1 [ 2.753323] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in otg:1 [ 2.753328] [USB3][hisi_usb_otg_event]event: 1 [ 2.753338] [USB3][hisi_dwc3_probe]- [ 2.753343] [USB3][event_work]+ [ 2.753350] [USB3][handle_event][handle_event] type: 1 [ 2.753355] [dwc3_otg_work]+ [ 2.753355] evt = 4 [ 2.753358] [dwc3_otg_stop_peripheral]+ [ 2.753375] [dwc3_otg_stop_peripheral]- [ 2.753379] [dwc3_suspend_device] + [ 2.753407] [dwc3_suspend_device] - [ 2.753413] [dwc3_otg_work]- [ 2.753418] [USB3][hisi_dwc3_wake_unlock]usb otg wake unlock [ 2.753423] [USB3][handle_event]hisi usb status: DEVICE -> OFF [ 2.753428] [USB3][event_work]- [ 2.753652] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.753658] ehci-pci: EHCI PCI platform driver [ 2.753685] ehci-platform: EHCI generic platform driver [ 2.753766] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 2.753778] ohci-pci: OHCI PCI platform driver [ 2.753803] ohci-platform: OHCI generic platform driver [ 2.754032] usbcore: registered new interface driver cdc_acm [ 2.754036] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 2.754066] usbcore: registered new interface driver usb-storage [ 2.754117] usbcore: registered new interface driver usbserial [ 2.754138] usbcore: registered new interface driver usbserial_generic [ 2.754156] usbserial: USB Serial support registered for generic [ 2.754178] usbcore: registered new interface driver ftdi_sio [ 2.754197] usbserial: USB Serial support registered for FTDI USB Serial Device [ 2.754218] usbcore: registered new interface driver option [ 2.754236] usbserial: USB Serial support registered for GSM modem (1-port) [ 2.754263] usbcore: registered new interface driver pl2303 [ 2.754281] usbserial: USB Serial support registered for pl2303 [ 2.754303] usbcore: registered new interface driver qcserial [ 2.754321] usbserial: USB Serial support registered for Qualcomm USB modem [ 2.754343] usbcore: registered new interface driver usb_serial_simple [ 2.754360] usbserial: USB Serial support registered for carelink [ 2.754377] usbserial: USB Serial support registered for zio [ 2.754391] usbserial: USB Serial support registered for funsoft [ 2.754404] usbserial: USB Serial support registered for flashloader [ 2.754418] usbserial: USB Serial support registered for google [ 2.754432] usbserial: USB Serial support registered for libtransistor [ 2.754446] usbserial: USB Serial support registered for vivopay [ 2.754460] usbserial: USB Serial support registered for moto_modem [ 2.754473] usbserial: USB Serial support registered for motorola_tetra [ 2.754487] usbserial: USB Serial support registered for novatel_gps [ 2.754501] usbserial: USB Serial support registered for hp4x [ 2.754515] usbserial: USB Serial support registered for suunto [ 2.754528] usbserial: USB Serial support registered for siemens_mpi [ 2.754576] gadgetfs: USB Gadget filesystem, version 24 Aug 2004 [ 2.754581] [I/hisi_pd] pd_dpm_init [ 2.754636] [I/hisi_pd] pd_dpm_probe : +++++++++ [ 2.754669] [I/hisi_pd] pd_dpm_probe ++++ [ 2.754669] [ 2.754840] rt1711h_init (1.1.8_G): initializing... [ 2.754856] rt1711h node found... [ 2.754990] usbcore: registered new interface driver xpad [ 2.755016] usbcore: registered new interface driver usb_acecad [ 2.755040] usbcore: registered new interface driver aiptek [ 2.755063] usbcore: registered new interface driver gtco [ 2.755088] usbcore: registered new interface driver hanwang [ 2.755110] usbcore: registered new interface driver kbtab [ 2.755525] rtc-pl031 fff04000.rtc: rtc core: registered pl031 as rtc0 [ 2.755652] i2c /dev entries driver [ 2.755852] IR NEC protocol handler initialized [ 2.755857] IR RC5(x/sz) protocol handler initialized [ 2.755862] IR RC6 protocol handler initialized [ 2.755866] IR JVC protocol handler initialized [ 2.755871] IR Sony protocol handler initialized [ 2.755876] IR SANYO protocol handler initialized [ 2.755880] IR Sharp protocol handler initialized [ 2.755884] IR MCE Keyboard/mouse protocol handler initialized [ 2.755888] IR XMP protocol handler initialized [ 2.756729] sp805-wdt e8a06000.watchdog: registration successful [ 2.756818] sp805-wdt e8a07000.watchdog: registration successful [ 2.756887] device-mapper: uevent: version 1.0.3 [ 2.756951] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com [ 2.757066] Bluetooth: HCI UART driver ver 2.3 [ 2.757075] Bluetooth: HCI UART protocol H4 registered [ 2.757105] Bluetooth: HCI UART protocol LL registered [ 2.758049] sched-energy: Sched-energy-costs installed from DT [ 2.758220] WARN: cpu=4, domain=DIE: incr. energy eff 3915[0]->5078[1] [ 2.758229] WARN: cpu=0, domain=DIE: incr. energy eff 11349[0]->11636[1] [ 2.759575] sdhci: Secure Digital Host Controller Interface driver [ 2.759580] sdhci: Copyright(c) Pierre Ossman [ 2.759595] Synopsys Designware Multimedia Card Interface Driver [ 2.759971] dwmmc_k3 ff37f000.dwmmc1: 'num-slots' was deprecated. [ 2.759978] dwmmc_k3 ff37f000.dwmmc1: fifo-depth property not found, using value of FIFOTH register as default [ 2.761439] dwmmc_k3 ff37f000.dwmmc1: IDMAC supports 64-bit address mode. [ 2.761528] dwmmc_k3 ff37f000.dwmmc1: Using internal DMA controller. [ 2.761541] dwmmc_k3 ff37f000.dwmmc1: Version ID is 270a [ 2.761583] dwmmc_k3 ff37f000.dwmmc1: DW MMC controller at irq 59,32 bit host data width,256 deep fifo [ 2.761791] dwmmc_k3 ff37f000.dwmmc1: Got CD GPIO [ 2.765484] CPU1: update max cpu_capacity 462 [ 2.784321] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ 2.802050] CPU6: update max cpu_capacity 1024 [ 2.803950] dwmmc_k3 ff3ff000.dwmmc2: 'num-slots' was deprecated. [ 2.803963] dwmmc_k3 ff3ff000.dwmmc2: fifo-depth property not found, using value of FIFOTH register as default [ 2.805410] dwmmc_k3 ff3ff000.dwmmc2: IDMAC supports 64-bit address mode. [ 2.805476] dwmmc_k3 ff3ff000.dwmmc2: Using internal DMA controller. [ 2.805489] dwmmc_k3 ff3ff000.dwmmc2: Version ID is 270a [ 2.805523] dwmmc_k3 ff3ff000.dwmmc2: DW MMC controller at irq 60,32 bit host data width,256 deep fifo [ 2.805694] sdhci-pltfm: SDHCI platform and OF driver helper [ 2.807767] ledtrig-cpu: registered to indicate activity on CPUs [ 2.807848] hidraw: raw HID events driver (C) Jiri Kosina [ 2.809239] usbcore: registered new interface driver usbhid [ 2.809246] usbhid: USB HID core driver [ 2.809508] ashmem: initialized [ 2.809842] hisi_ddr_devfreq ddr_devfreq: init success [ 2.812754] coresight-etm4x ecc40000.etm: CPU0: ETM v4.0 initialized [ 2.813259] coresight-etm4x ecd40000.etm: CPU1: ETM v4.0 initialized [ 2.813648] coresight-etm4x ece40000.etm: CPU2: ETM v4.0 initialized [ 2.813989] coresight-etm4x ecf40000.etm: CPU3: ETM v4.0 initialized [ 2.814327] coresight-etm4x ed440000.etm: CPU4: ETM v4.0 initialized [ 2.814657] coresight-etm4x ed540000.etm: CPU5: ETM v4.0 initialized [ 2.814996] coresight-etm4x ed640000.etm: CPU6: ETM v4.0 initialized [ 2.815398] coresight-etm4x ed740000.etm: CPU7: ETM v4.0 initialized [ 2.815714] optee: probing for conduit method from DT. [ 2.815727] optee: api uid mismatch [ 2.815917] usbcore: registered new interface driver snd-usb-audio [ 2.816864] hisi_i2s e804f800.hisi_i2s: Registered as hisi_i2s [ 2.817057] netem: version 1.3 [ 2.817067] u32 classifier [ 2.817074] Actions configured [ 2.817093] Netfilter messages via NETLINK v0.30. [ 2.817222] nf_conntrack version 0.5.0 (16384 buckets, 65536 max) [ 2.817389] ctnetlink v0.93: registering with nfnetlink. [ 2.817614] xt_time: kernel timezone is -0000 [ 2.817732] gre: GRE over IPv4 demultiplexor driver [ 2.817740] IPv4 over IPsec tunneling driver [ 2.818203] ip_tables: (C) 2000-2006 Netfilter Core Team [ 2.818618] arp_tables: arp_tables: (C) 2002 David S. Miller [ 2.818695] Initializing XFRM netlink socket [ 2.818718] IPsec XFRM device driver [ 2.818803] NET: Registered protocol family 10 [ 2.819551] Segment Routing with IPv6 [ 2.819617] mip6: Mobile IPv6 [ 2.819647] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 2.820379] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 2.821043] NET: Registered protocol family 17 [ 2.821063] NET: Registered protocol family 15 [ 2.821102] Bridge firewalling registered [ 2.821234] Bluetooth: RFCOMM TTY layer initialized [ 2.821250] Bluetooth: RFCOMM socket layer initialized [ 2.821275] Bluetooth: RFCOMM ver 1.11 [ 2.821290] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 2.821319] Bluetooth: HIDP socket layer initialized [ 2.821345] l2tp_core: L2TP core driver, V2.0 [ 2.821358] l2tp_ppp: PPPoL2TP kernel driver, V2.0 [ 2.821386] 8021q: 802.1Q VLAN Support v1.8 [ 2.821520] 9pnet: Installing 9P2000 support [ 2.822116] registered taskstats version 1 [ 2.822125] Loading compiled-in X.509 certificates [ 2.823896] Loaded X.509 cert 'Android: 7e4333f9bba00adfe0ede979e28ed1920492b40f' [ 2.824320] Btrfs loaded, crc32c=crc32c-generic [ 2.828925] ufshcd-hi3660 ff3b0000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[1, 1], lane[1, 1], pwr[SLOWAUTO_MODE, SLOWAUTO_MODE], rate = 0 [ 2.831413] ffd74000.serial: ttyAMA3 at MMIO 0xffd74000 (irq = 21, base_baud = 0) is a PL011 rev2 [ 2.832021] fdf01000.serial: ttyAMA4 at MMIO 0xfdf01000 (irq = 22, base_baud = 0) is a PL011 rev2 [ 2.832097] serial serial0: tty port ttyAMA4 registered [ 2.832242] fff32000.serial: ttyAMA6 at MMIO 0xfff32000 (irq = 23, base_baud = 0) is a PL011 rev2 [ 2.832764] uart-pl011 fdf01000.serial: DMA channel TX dma0chan7 [ 2.836776] console [ttyAMA6] enabled [ 2.837175] ssp-pl022 ffd68000.spi: ARM PL022 driver, device ID: 0x00041022 [ 2.870670] uart-pl011 fdf01000.serial: DMA channel RX dma0chan6 [ 2.875523] ssp-pl022 ffd68000.spi: mapped registers from 0x00000000ffd68000 to ffffff8009e75000 [ 2.959508] ufs final power mode: gear = 3, lane = 2, pwr = 1, rate = 2 [ 2.962346] ssp-pl022 ffd68000.spi: setup for DMA on RX dma0chan0, TX dma0chan1 [ 2.963191] ssp-pl022 ff3b3000.spi: ARM PL022 driver, device ID: 0x00041022 [ 2.967200] ufshcd-hi3660 ff3b0000.ufs: set TX_EQUALIZER 3.5db [ 2.971564] ssp-pl022 ff3b3000.spi: mapped registers from 0x00000000ff3b3000 to ffffff8009e8d000 [ 2.979779] ufs flash device must set VS_DebugSaveConfigTime 0x10 [ 2.987681] ssp-pl022 ff3b3000.spi: setup for DMA on RX dma0chan2, TX dma0chan3 [ 2.988772] rt1711_i2c_probe [ 2.996288] ufshcd-hi3660 ff3b0000.ufs: check TX_EQUALIZER DB value lane0 = 0x1 [ 3.000400] I2C functionality : OK... [ 3.011271] hci-ti serial0-0: Direct firmware load for ti-connectivity/TIInit_11.8.32.bts failed with error -2 [ 3.017837] ufshcd-hi3660 ff3b0000.ufs: TX_EQUALIZER DB value lane1 = 0x1 [ 3.105293] hci-ti serial0-0: Falling back to user helper [ 3.111289] ufshcd-hi3660 ff3b0000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[3, 3], lane[2, 2], pwr[FAST MODE, FAST MODE], rate = 2 [ 3.125918] rt_parse_dt [ 3.132194] ufshcd-hi3660 ff3b0000.ufs: ufshcd_find_max_sup_active_icc_level: Regulator capability was not set, actvIccLevel=0 [ 3.146276] rt1711h_chipID = 0x2171 [ 3.151995] scsi 0:0:0:49488: Well-known LUN SKhynix H28U62301AMR H109 PQ: 0 ANSI: 6 [ 3.157598] regmap_device_register: name = rt1711-4e [ 3.157626] rt_regmap_rt1711-4e: rt register cache data init [ 3.157631] rt_regmap_rt1711-4e: cache cata init successfully [ 3.157710] tcpc_device_register register tcpc device (type_c_port0) [ 3.165983] scsi 0:0:0:49456: Well-known LUN SKhynix H28U62301AMR H109 PQ: 0 ANSI: 6 [ 3.172386] [I/hisi_pd] tcpc_device_register register_pd_wake_unlock_notifier OK [ 3.180592] scsi 0:0:0:49476: Well-known LUN SKhynix H28U62301AMR H109 PQ: 0 ANSI: 6 [ 3.186922] PD Timer number = 37 [ 3.187069] tcpci_timer_init : init OK [ 3.195595] scsi 0:0:0:0: Direct-Access SKhynix H28U62301AMR H109 PQ: 0 ANSI: 6 [ 3.201899] pd_parse_pdata [ 3.210238] scsi 0:0:0:1: Direct-Access SKhynix H28U62301AMR H109 PQ: 0 ANSI: 6 [ 3.216248] pd_parse_pdata src pdo data = [ 3.216252] pd_parse_pdata 0: 0x00019064 [ 3.216256] pd_parse_pdata snk pdo data = [ 3.216259] pd_parse_pdata 0: 0x000190c8 [ 3.216262] pd_parse_pdata 1: 0x0002d0c8 [ 3.216266] pd_parse_pdata id vdos data = [ 3.216272] pd_parse_pdata 0: 0xd00029cf [ 3.224801] sd 0:0:0:0: [sda] 1024 4096-byte logical blocks: (4.19 MB/4.00 MiB) [ 3.225620] scsi 0:0:0:2: Direct-Access SKhynix H28U62301AMR H109 PQ: 0 ANSI: 6 [ 3.226306] sd 0:0:0:1: [sdb] 1024 4096-byte logical blocks: (4.19 MB/4.00 MiB) [ 3.226381] sd 0:0:0:1: [sdb] Write Protect is off [ 3.226391] sd 0:0:0:1: [sdb] Mode Sense: 00 32 00 10 [ 3.226547] sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA [ 3.226763] scsi 0:0:0:3: Direct-Access SKhynix H28U62301AMR H109 PQ: 0 ANSI: 6 [ 3.229047] sd 0:0:0:1: [sdb] Attached SCSI disk [ 3.229839] sd 0:0:0:2: [sdc] 2048 4096-byte logical blocks: (8.39 MB/8.00 MiB) [ 3.229898] sd 0:0:0:2: [sdc] Write Protect is off [ 3.229904] sd 0:0:0:2: [sdc] Mode Sense: 00 32 00 10 [ 3.230001] sd 0:0:0:2: [sdc] Write cache: enabled, read cache: enabled, supports DPO and FUA [ 3.231625] sd 0:0:0:3: [sdd] 7805952 4096-byte logical blocks: (32.0 GB/29.8 GiB) [ 3.231753] sd 0:0:0:3: [sdd] Write Protect is off [ 3.231758] sd 0:0:0:3: [sdd] Mode Sense: 00 32 00 10 [ 3.231939] sd 0:0:0:3: [sdd] Write cache: enabled, read cache: enabled, supports DPO and FUA [ 3.232220] pd_parse_pdata 1: 0x00000000 [ 3.232222] pd_parse_pdata 2: 0x00010000 [ 3.232226] dpm_caps: local_dr_power [ 3.232228] dpm_caps: local_dr_data [ 3.232234] dpm_caps: local_ext_power [ 3.232264] Alternate GPT is invalid, using primary GPT. [ 3.232283] sdc: sdc1 [ 3.233351] sd 0:0:0:2: [sdc] Attached SCSI disk [ 3.235415] random: fast init done [ 3.235441] Alternate GPT is invalid, using primary GPT. [ 3.235471] sdd: sdd1 sdd2 sdd3 sdd4 sdd5 sdd6 sdd7 sdd8 sdd9 sdd10 sdd11 sdd12 sdd13 [ 3.238397] sd 0:0:0:3: [sdd] Attached SCSI disk [ 3.239634] sd 0:0:0:0: [sda] Write Protect is off [ 3.244907] dpm_caps: local_usb_comm [ 3.251117] sd 0:0:0:0: [sda] Mode Sense: 00 32 00 10 [ 3.251311] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA [ 3.254256] dpm_caps: local_usb_suspend [ 3.254259] dpm_caps: local_high_cap [ 3.268233] sd 0:0:0:0: [sda] Attached SCSI disk [ 3.272438] dpm_caps: local_give_back [ 3.272439] dpm_caps: local_no_suspend [ 3.272440] dpm_caps: local_vconn_supply [ 3.272442] dpm_caps: attemp_discover_cable_dfp [ 6.295011] dpm_caps: attemp_enter_dp_mode [ 6.299109] dpm_caps: attemp_discover_cable [ 6.303288] dpm_caps: attemp_discover_id [ 6.307209] dpm_caps: pr_reject_as_source [ 6.311214] dpm_caps: pr_reject_as_sink [ 6.315043] dpm_caps: pr_check_gp_source [ 6.318960] dpm_caps: pr_check_gp_sink [ 6.322704] dpm_caps: dr_reject_as_dfp [ 6.326448] dpm_caps: dr_reject_as_ufp [ 6.330193] dpm_caps: snk_prefer_low_voltage [ 6.334459] dpm_caps: snk_ignore_mismatch_current [ 6.339160] dpm_caps = 0xc010c10b [ 6.342471] [I/hisi_pd] PE:pd_core_init [ 6.347983] rt1711_init_alert name = type_c_port0 [ 6.352694] rt1711_init_alert gpio # = 291 [ 6.356800] GPIO requested... [ 6.359788] rt1711_init_alert : IRQ number = 105 [ 6.364405] rt1711_init_alert : irq initialized... [ 6.369915] IRQF_NO_THREAD Test [ 6.384911] [I/hisi_pd] TPC-I:typec_init: DRP [ 6.390706] [I/GPIO_HUB] gpio_hub_change_typec_power: set typec vbus gpio to 0 [ 6.397936] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in:1 [ 6.403686] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in otg:1 [ 6.409792] [E/GPIO_HUB] gpio_hub_switch_to_hub: switch to hub [ 6.415625] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in:2 [ 6.421371] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in otg:2 [ 6.427468] [USB3][hisi_usb_otg_event]event: 2 [ 6.431915] [I/hisi_pd] TPC-I:** Unattached.SNK [ 6.432133] [USB3][event_work]+ [ 6.436531] [E/hisi_pd] typec_wait_ps_change: typec_wait_ps_change!!!+++++++++++ [ 6.436532] [E/hisi_pd] typec_wait_ps_change: typec_wait_ps_change!!!----------- [ 6.437730] tcpc_device_irq_enable : tcpc irq enable OK! [ 6.438745] [I/hisi_pd] TPC-I:[CC_Alert] 5/5 [ 6.438755] [I/hisi_pd] TPC-I:** AttachWait.SNK [ 6.439679] [USB3][handle_event][handle_event] type: 2 [ 6.447063] rt1711_i2c_probe probe OK! [ 6.454474] [USB3][set_vbus_power]set port power 1 [ 6.459984] adv7511 1-0039: 1-0039 supply avdd not found, using dummy regulator [ 6.464226] [dwc3_otg_work]+ [ 6.464226] evt = 2 [ 6.468814] adv7511 1-0039: 1-0039 supply dvdd not found, using dummy regulator [ 6.473919] [dwc3_resume_device] + [ 6.477706] adv7511 1-0039: 1-0039 supply pvdd not found, using dummy regulator [ 6.482637] [dwc3_resume_device] - [ 6.489831] adv7511 1-0039: 1-0039 supply a2vdd not found, using dummy regulator [ 6.494866] [dwc3_otg_start_host]+ [ 6.502221] adv7511 1-0039: 1-0039 supply v3p3 not found, using dummy regulator [ 6.505674] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 6.524340] [drm] +. [ 6.527117] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [ 6.534606] [drm] +. [ 6.540163] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe65 hci version 0x110 quirks 0x0000000000010010 [ 6.542309] [drm] +. [ 6.549850] xhci-hcd xhci-hcd.0.auto: irq 102, io mem 0xff100000 [ 6.552126] [drm] +. [ 6.559054] [I/hisi_pd] TPC-I:[CC_Change] 5/5 [ 6.559062] [E/hisi_pd] typec_wait_ps_change: typec_wait_ps_change!!!+++++++++++ [ 6.559069] [E/hisi_pd] typec_wait_ps_change: typec_wait_ps_change!!!----------- [ 6.559075] [I/hisi_pd] TPC-I:** Custom.SRC [ 6.559089] [I/GPIO_HUB] gpio_hub_power_off: gpio hub hub vbus no power set success [ 6.559098] [I/GPIO_HUB] gpio_hub_change_typec_power: typec power no change [ 6.559106] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in:3 [ 6.559113] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in otg:3 [ 6.559120] [USB3][hisi_usb_otg_event]event: 3 [ 6.559149] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in:0 [ 6.559156] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in otg:0 [ 6.559162] [USB3][hisi_usb_otg_event]event: 0 [ 6.559168] [USB3][hisi_dwc3_wake_lock]usb otg wake lock [ 6.559177] [USB3][hisi_usb_otg_event]schedule event_work wait:0] [ 6.559183] [I/hisi_pd] TPC-I:Attached-> CUSTOM_SRC [ 6.559191] [E/hisi_pd] pd_dpm_handle_pe_event:!!!,event=7,+++ [ 6.559198] [I/hisi_pd] pd_dpm_handle_pe_event can not detect typec state [ 6.559204] [I/hisi_pd] pd_dpm_set_typec_state = 0 [ 6.559210] [I/hisi_pd] [TCPC-I]usb_port_attached [ 6.561553] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 6.563761] [drm] dss irq = 68. [ 6.569685] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 6.571861] [drm] dss_pri_clk:[400000000]->[400000000]. [ 6.576302] usb usb1: Product: xHCI Host Controller [ 6.583792] [drm] dss_pxl0_clk:[144000000]->[144000000]. [ 6.591095] usb usb1: Manufacturer: Linux 4.14.101-g56136f5a7cad xhci-hcd [ 6.595378] [drm] -. [ 6.603022] usb usb1: SerialNumber: xhci-hcd.0.auto [ 6.609986] [drm] +. [ 6.610094] [drm] host attach, client name=[adv7533], id=0 [ 6.615972] hub 1-0:1.0: USB hub found [ 6.621973] [drm] -. [ 6.626295] hub 1-0:1.0: 1 port detected [ 6.632039] kirin-drm e8600000.dpe: bound e8601000.dsi (ops dsi_ops) [ 6.638238] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 6.642558] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 6.642560] [drm] No driver support for vblank timestamp query. [ 6.647873] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2 [ 6.654596] [drm] cma_init!!!!!! [ 6.658923] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed [ 6.664752] [drm] -. [ 6.671675] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 6.676672] [drm] Initialized kirin 1.0.0 20170309 for e8600000.dpe on minor 0 [ 6.681304] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003 [ 6.688015] [drm] Initialized kirin 1.0.0 20170309 on minor 0 [ 6.691150] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 6.691152] usb usb2: Product: xHCI Host Controller [ 6.698369] [drm] -. [ 6.698370] [drm] -. [ 6.698631] dwmmc_k3 ff3ff000.dwmmc2: 'num-slots' was deprecated. [ 6.703605] usb usb2: Manufacturer: Linux 4.14.101-g56136f5a7cad xhci-hcd [ 6.708476] dwmmc_k3 ff3ff000.dwmmc2: fifo-depth property not found, using value of FIFOTH register as default [ 6.713779] usb usb2: SerialNumber: xhci-hcd.0.auto [ 6.722665] dwmmc_k3 ff3ff000.dwmmc2: IDMAC supports 64-bit address mode. [ 6.722847] hub 2-0:1.0: USB hub found [ 6.727650] dwmmc_k3 ff3ff000.dwmmc2: Using internal DMA controller. [ 6.729888] hub 2-0:1.0: 1 port detected [ 6.735381] dwmmc_k3 ff3ff000.dwmmc2: Version ID is 270a [ 6.739340] [dwc3_otg_start_host]- [ 6.741415] dwmmc_k3 ff3ff000.dwmmc2: DW MMC controller at irq 60,32 bit host data width,128 deep fifo [ 6.745328] [dwc3_otg_work]- [ 6.751843] mmc_host mmc1: card is non-removable. [ 6.757170] [USB3][handle_event]hisi usb_status: OFF -> HOST [ 6.863672] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ 6.868678] [USB3][handle_event][handle_event] type: 3 [ 6.890116] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: no source widget found for Playback [ 6.891293] [USB3][set_vbus_power]set port power 0 [ 6.900500] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: Failed to add route Playback -> direct -> TX [ 6.903375] [I/hisi_pd] pd_dpm_report_bc12 : PD_WAKE_UNLOCK [ 6.903380] [I/hisi_pd] pd_dpm_report_bc12 : event (4) [ 6.908302] hisi_i2s e804f800.hisi_i2s: Failed to get DMA channel capabilities, falling back to period counting: -6 [ 6.913757] [E/hisi_pd] pd_dpm_vbus_notifier_call: pd_dpm_vbus_notifier_call!!!,++++ [ 6.922966] asoc-simple-card soc:sound: i2s-hifi <-> e804f800.hisi_i2s mapping ok [ 6.928115] [dwc3_otg_work]+ [ 6.928115] evt = 1 [ 6.936806] asoc-simple-card soc:sound: ASoC: no DMI vendor name! [ 6.941599] [dwc3_otg_stop_host]+ [ 6.959407] dwmmc_k3 ff3ff000.dwmmc2: card claims to support voltages below defined range [ 6.961822] xhci-hcd xhci-hcd.0.auto: remove, state 4 [ 6.973850] otg_wakelock_init: No USB transceiver found [ 6.979962] usb usb2: USB disconnect, device number 1 [ 6.985212] mmc_host mmc1: Bus speed (slot 0) = 25000000Hz (slot req 25000000Hz, actual 25000000HZ div = 0) [ 6.987700] input: keys as /devices/platform/keys/input/input0 [ 6.987984] mmc1: new SDIO card at address 0001 [ 6.988552] wl18xx_driver wl18xx.2.auto: Direct firmware load for ti-connectivity/wl1271-nvs.bin failed with error -2 [ 6.988554] wl18xx_driver wl18xx.2.auto: Falling back to user helper [ 6.992665] xhci-hcd xhci-hcd.0.auto: USB bus 2 deregistered [ 7.001903] rtc-pl031 fff04000.rtc: setting system clock to 1970-01-01 00:00:13 UTC (13) [ 7.010096] xhci-hcd xhci-hcd.0.auto: remove, state 4 [ 7.015301] ALSA device list: [ 7.020341] usb usb1: USB disconnect, device number 1 [ 7.025385] #0: hikey-hdmi [ 7.035435] xhci-hcd xhci-hcd.0.auto: USB bus 1 deregistered [ 7.097991] [dwc3_otg_stop_host]- [ 7.097994] [dwc3_suspend_device] + [ 7.098035] [dwc3_suspend_device] - [ 7.098038] [dwc3_otg_work]- [ 7.098041] [USB3][hisi_dwc3_wake_unlock]usb otg wake unlock [ 7.098046] [USB3][handle_event]hiusb_status: HOST -> OFF [ 7.098050] [USB3][handle_event][handle_event] type: 0 [ 7.127841] uart-pl011 fff32000.serial: no DMA platform data [ 7.134610] Freeing unused kernel memory: 3136K [ 7.147125] init: init first stage started! [ 7.152473] init: Using Android DT directory /proc/device-tree/firmware/android/ [ 7.191900] init: [libfs_mgr]superblock s_max_mnt_count:65535,/dev/block/platform/soc/ff3b0000.ufs/by-name/system [ 7.204599] EXT4-fs (sdd10): mounted filesystem without journal. Opts: [ 7.211397] init: [libfs_mgr]__mount(source=/dev/block/platform/soc/ff3b0000.ufs/by-name/system,target=/system,type=ext4)=0: Success [ 7.223598] init: Switching root to '/system' [ 7.230244] init: [libfs_mgr]superblock s_max_mnt_count:65535,/dev/block/platform/soc/ff3b0000.ufs/by-name/vendor [ 7.243900] EXT4-fs (sdd11): mounted filesystem without journal. Opts: [ 7.250541] init: [libfs_mgr]__mount(source=/dev/block/platform/soc/ff3b0000.ufs/by-name/vendor,target=/vendor,type=ext4)=0: Success [ 7.263119] init: Skipped setting INIT_AVB_VERSION (not in recovery mode) [ 7.278448] random: init: uninitialized urandom read (40 bytes read) [ 7.346126] random: init: uninitialized urandom read (40 bytes read) [ 7.364635] init: Loading SELinux policy [ 7.380572] SELinux: 8192 avtab hash slots, 21916 rules. [ 7.390543] SELinux: 8192 avtab hash slots, 21916 rules. [ 7.395866] SELinux: 1 users, 4 roles, 1357 types, 0 bools, 1 sens, 1024 cats [ 7.403095] SELinux: 97 classes, 21916 rules [ 7.408963] SELinux: policy capability network_peer_controls=1 [ 7.413706] [USB3][detect_charger_type]DCD done [ 7.414886] SELinux: policy capability open_perms=1 [ 7.424384] SELinux: policy capability extended_socket_class=1 [ 7.430302] SELinux: policy capability always_check_network=0 [ 7.436132] SELinux: policy capability cgroup_seclabel=0 [ 7.441527] SELinux: policy capability nnp_nosuid_transition=1 [ 7.447444] SELinux: Completing initialization. [ 7.449698] [USB3][detect_charger_type]Primary Detection done [ 7.452059] SELinux: Setting up existing superblocks. [ 7.457840] [USB3][detect_charger_type]Secondary Detection done [ 7.493697] [USB3][detect_charger_type]type: 0 [ 7.498188] [I/hisi_pd] pd_dpm_report_bc12 : event (0) [ 7.503355] [E/hisi_pd] pd_dpm_vbus_notifier_call: pd_dpm_vbus_notifier_call!!!,++++ [ 7.511171] [dwc3_otg_work]+ [ 7.511171] evt = 3 [ 7.511179] [dwc3_resume_device] + [ 7.519915] [dwc3_resume_device] - [ 7.523372] [dwc3_otg_start_peripheral]+ [ 7.525724] selinux: SELinux: Loaded policy from /vendor/etc/selinux/precompiled_sepolicy [ 7.525724] [ 7.527379] audit: type=1403 audit(14.023:2): policy loaded auid=4294967295 ses=4294967295 [ 7.545277] [dwc3_otg_start_peripheral]- [ 7.549213] [dwc3_otg_work]- [ 7.552133] audit: type=1404 audit(14.035:3): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295 [ 7.553978] [USB3][hisi_dwc3_wake_lock]usb otg wake lock [ 7.566989] [USB3][handle_event]hisi usb status: OFF -> DEVICE [ 7.572666] selinux: SELinux: Loaded file_contexts [ 7.572666] [ 7.572830] [USB3][event_work]- [ 7.582258] [USB3][event_work]+ [ 7.584503] random: init: uninitialized urandom read (40 bytes read) [ 7.585409] [USB3][event_work]- [ 7.611995] init: init second stage started! [ 7.628585] init: Using Android DT directory /proc/device-tree/firmware/android/ [ 7.636598] init: Init cannot set 'ro.boot.hardware' to 'HiKey960': Read-only property was already set [ 7.647107] selinux: SELinux: Loaded file_contexts [ 7.647107] [ 7.653385] init: Running restorecon... [ 7.663871] selinux: avc: denied { set } for property=qemu.hw.mainkeys pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0 [ 7.663871] [ 7.682457] init: Do not have permissions to set 'qemu.hw.mainkeys' to '0' in property file '/vendor/build.prop': SELinux permission check failed [ 7.695527] selinux: avc: denied { set } for property=wifi.supplicant_scan_interval pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0 [ 7.695527] [ 7.715211] init: Do not have permissions to set 'wifi.supplicant_scan_interval' to '15' in property file '/vendor/build.prop': SELinux permission check failed [ 7.730259] init: Couldn't load property file '/factory/factory.prop': open() failed: No such file or directory: No such file or directory [ 7.877262] ueventd: ueventd started! [ 7.882538] selinux: SELinux: Loaded file_contexts [ 7.882538] [ 7.889044] ueventd: Parsing file /ueventd.rc... [ 7.894567] ueventd: Parsing file /vendor/ueventd.rc... [ 7.900149] ueventd: Parsing file /odm/ueventd.rc... [ 7.905152] ueventd: Unable to read config file '/odm/ueventd.rc': open() failed: No such file or directory [ 7.907889] apexd: Bootstrap subcommand detected [ 7.914920] ueventd: Parsing file /ueventd.hikey960.rc... [ 7.924980] ueventd: Unable to read config file '/ueventd.hikey960.rc': open() failed: No such file or directory [ 8.000864] apexd: wait for '/dev/loop-control' took 71ms [ 8.006693] apexd: Pre-allocated 8 loopback devices [ 8.011781] apexd: Scanning /system/apex for embedded keys [ 8.014043] ueventd: firmware: loading 'ti-connectivity/TIInit_11.8.32.bts' for '/devices/platform/soc/fdf01000.serial/serial0/serial0-0/firmware/ti-connectivity!TIInit_11.8.32.bts' [ 8.016105] ueventd: firmware: loading 'ti-connectivity/wl1271-nvs.bin' for '/devices/platform/soc/ff3ff000.dwmmc2/mmc_host/mmc1/mmc1:0001/mmc1:0001:2/wl18xx.2.auto/firmware/ti-connectivity!wl1271-nvs.bin' [ 8.018546] apexd: Scanning /system/apex looking for APEX packages. [ 8.034707] Bluetooth: hci0: change remote baud rate command in firmware [ 8.051957] apexd: Found /system/apex/com.android.conscrypt.apex [ 8.071116] apexd: Skipped when bootstrapping [ 8.075550] apexd: Found /system/apex/com.android.resolv.apex [ 8.081569] apexd: Skipped when bootstrapping [ 8.085981] apexd: Found /system/apex/com.android.tzdata.apex [ 8.153400] EXT4-fs (loop0): mounted filesystem without journal. Opts: (null) [ 8.238722] EXT4-fs (loop1): mounted filesystem without journal. Opts: (null) [ 8.254888] apexd: 9 output lines suppressed due to ratelimiting [ 8.310757] Registered swp emulation handler [ 8.355680] EXT4-fs (sdd13): Ignoring removed nomblk_io_submit option [ 8.359240] watchdogd: watchdogd started (interval 10, margin 20)! [ 8.368342] logd.auditd: start [ 8.371477] logd.klogd: 8366109373 [ 8.371529] binder: 2415:2415 ioctl 4018620d 7fe416dcc0 returned -22 [ 8.430909] EXT4-fs (sdd13): recovery complete [ 8.435923] EXT4-fs (sdd13): mounted filesystem with ordered data mode. Opts: errors=remount-ro,nomblk_io_submit [ 8.504630] type=1400 audit(14.999:4): avc: denied { read } for comm="e2fsck" name="sdd13" dev="tmpfs" ino=4452 scontext=u:r:fsck:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file permissive=0 [ 8.504946] e2fsck: e2fsck 1.44.4 (18-Aug-2018) [ 8.504946] [ 8.523358] type=1400 audit(14.999:5): avc: denied { read write } for comm="e2fsck" name="sdd13" dev="tmpfs" ino=4452 scontext=u:r:fsck:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file permissive=0 [ 8.528279] e2fsck: /system/bin/e2fsck: Permission denied while trying to open /dev/block/by-name/userdata [ 8.528279] [ 8.528286] e2fsck: [ 8.528286] [ 8.528293] e2fsck: You must have r/w access to the filesystem or be root [ 8.528293] [ 8.528304] e2fsck: e2fsck terminated by exit(8) [ 8.528304] [ 8.534439] EXT4-fs (sdd13): mounted filesystem with ordered data mode. Opts: discard,noauto_da_alloc,data=ordered,user_xattr,barrier=1 [ 8.661565] type=1400 audit(15.155:6): avc: denied { write } for comm="init" name="sched_features" dev="debugfs" ino=4000 scontext=u:r:vendor_init:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=0 [ 8.686101] type=1400 audit(15.175:7): avc: denied { write } for comm="init" name="sched_cstate_aware" dev="proc" ino=4504 scontext=u:r:vendor_init:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=0 [ 8.704514] type=1400 audit(15.175:8): avc: denied { write } for comm="init" name="sched_sync_hint_enable" dev="proc" ino=4505 scontext=u:r:vendor_init:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=0 [ 8.814051] apexd: Marking APEXd as starting [ 8.818993] apexd: Scanning /system/apex for embedded keys [ 8.824870] apexd: Found bundled key in package /system/apex/com.android.conscrypt.apex [ 8.833888] apexd: Found bundled key in package /system/apex/com.android.resolv.apex [ 8.842056] apexd: Found bundled key in package /system/apex/com.android.tzdata.apex [ 8.850022] apexd: Found bundled key in package /system/apex/com.android.neuralnetworks.apex [ 8.858744] apexd: Found bundled key in package /system/apex/com.android.runtime.debug.apex [ 8.867380] apexd: Found bundled key in package /system/apex/com.android.apex.cts.shim.apex [ 8.875933] apexd: Scanning /product/apex for embedded keys [ 8.881603] apexd: ... does not exist. Skipping [ 8.961781] EXT4-fs (loop2): mounted filesystem without journal. Opts: (null) [ 9.041963] EXT4-fs (loop3): mounted filesystem without journal. Opts: (null) [ 9.118332] EXT4-fs (loop4): mounted filesystem without journal. Opts: (null) [ 9.205163] EXT4-fs (loop5): mounted filesystem without journal. Opts: (null) [ 9.281545] EXT4-fs (loop6): mounted filesystem without journal. Opts: (null) [ 9.369745] EXT4-fs (loop7): mounted filesystem without journal. Opts: (null) [ 9.440555] vdc: Waited 0ms for vold [ 9.623047] type=1400 audit(16.119:9): avc: denied { setattr } for comm="init" name="media" dev="sdd13" ino=1103761 scontext=u:r:vendor_init:s0 tcontext=u:object_r:media_rw_data_file:s0 tclass=dir permissive=0 [ 9.641892] type=1400 audit(16.119:10): avc: denied { write } for comm="init" name="misc" dev="sdd13" ino=1218225 scontext=u:r:vendor_init:s0 tcontext=u:object_r:system_data_file:s0 tclass=dir permissive=0 [ 9.660219] logd.daemon: reinit [ 9.726134] healthd: No battery devices found [ 9.726634] wl18xx_driver wl18xx.2.auto: loading /vendor/firmware/ti-connectivity/wl18xx-conf.bin failed with error -13 [ 9.734843] healthd: battery none chg= [ 9.741834] wl18xx_driver wl18xx.2.auto: Direct firmware load for ti-connectivity/wl18xx-conf.bin failed with error -2 [ 9.757185] wl18xx_driver wl18xx.2.auto: Falling back to user helper [ 9.760066] hisi_thermal fff30000.tsensor: THERMAL ALARM: 65575 > 65000 [ 9.785387] file system registered console:/ $ [ 9.846952] read descriptors [ 9.851371] read strings [ 10.006204] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11) [ 10.018314] [drm] client change to HDMI [ 10.019372] wlcore: loaded [ 10.022200] [drm] hotplug_event!!!!!! [ 10.221019] hisi_thermal fff30000.tsensor: THERMAL ALARM stopped: 60860 < 65000 [ 11.129136] capability: warning: `main' uses 32-bit capabilities (legacy support in use) [ 11.168293] hisi_thermal fff30000.tsensor: THERMAL ALARM: 65780 > 65000 [ 11.236345] hisi_thermal fff30000.tsensor: THERMAL ALARM stopped: 60860 < 65000 [ 11.354977] [drm] mode->clock(org) = 148500 [ 11.359209] [drm] dss_pxl0_clk = 144000 [ 11.415765] hisi_thermal fff30000.tsensor: THERMAL ALARM: 65370 > 65000 [ 11.441417] [drm] Expected : lane_clock = 864 M [ 11.445970] [drm] Config : lane_clock = 864000000 [ 11.450684] [drm] PHY clock_lane and data_lane config : [ 11.450684] rg_vrefsel_vcm=85 [ 11.450684] clk_pre_delay=0 [ 11.450684] clk_post_delay=41 [ 11.450684] clk_t_hs_prepare=10 [ 11.450684] clk_t_lpx=13 [ 11.450684] clk_t_hs_zero=27 [ 11.450684] clk_t_hs_trial=10 [ 11.450684] data_pre_delay=61 [ 11.450684] data_post_delay=0 [ 11.450684] data_t_hs_prepare=9 [ 11.450684] data_t_lpx=13 [ 11.450684] data_t_hs_zero=12 [ 11.450684] data_t_hs_trial=12 [ 11.450684] data_t_ta_go=4 [ 11.450684] data_t_ta_get=5 [ 11.499354] hisi_thermal fff30000.tsensor: THERMAL ALARM stopped: 58605 < 65000 [ 11.499667] [drm] clk_lane_lp2hs_time=63 [ 11.499667] clk_lane_hs2lp_time=58 [ 11.499667] data_lane_lp2hs_time=104 [ 11.499667] data_lane_hs2lp_time=19 [ 11.499667] phy_stop_wait_time=53 [ 11.524579] [drm] hsa_time=33, hbp_time=111, hline_time=1650 [ 11.530275] [drm] lane_byte_clk=108000000, pixel_clk=144000000 [ 11.536115] [drm] dsi_mipi_init ok [ 12.221365] random: crng init done [ 12.224784] random: 7 urandom warning(s) missed due to ratelimiting [ 12.651815] healthd: battery none chg= [ 12.655940] healthd: battery none chg= [ 12.686422] healthd: battery none chg= [ 12.729694] hisi_thermal fff30000.tsensor: THERMAL ALARM: 65370 > 65000 [ 12.845888] init: processing action (sys.sysctl.extra_free_kbytes=*) from (/init.rc:804) [ 13.090312] read descriptors [ 13.093198] read strings [ 13.095805] read descriptors [ 13.098702] read strings [ 13.107481] acc_open [ 13.109700] acc_release [ 13.295566] sdcardfs version 2.0 [ 13.298880] sdcardfs: dev_name -> /data/media [ 13.303336] sdcardfs: options -> fsuid=1023,fsgid=1023,multiuser,derive_gid,default_normal,mask=6,userid=0,gid=1015 [ 13.313904] sdcardfs: mnt -> ffffffc0dc2e1e20 [ 13.318585] sdcardfs: mounted on top of /data/media type ext4 [ 13.325275] Remount options were mask=23,gid=9997 for vfsmnt ffffffc0d97dbaa0. [ 13.332753] sdcardfs : options - debug:1 [ 13.337461] sdcardfs : options - gid:9997 [ 13.341617] sdcardfs : options - mask:23 [ 13.347130] Remount options were mask=7,gid=9997 for vfsmnt ffffffc20c834c60. [ 13.354341] sdcardfs : options - debug:1 [ 13.358337] sdcardfs : options - gid:9997 [ 13.362375] sdcardfs : options - mask:7 [ 13.368367] Remount options were mask=7,gid=9997 for vfsmnt ffffffc20c834020. [ 13.374063] type=1400 audit(1574834554.631:25): avc: denied { read } for comm="system_server" name="android.hardware.gnss@1.0-impl.so" dev="sdd11" ino=372 scontext=u:r:system_server:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0 [ 13.375621] sdcardfs : options - debug:1 [ 13.401189] sdcardfs : options - gid:9997 [ 13.405454] sdcardfs : options - mask:7 [ 13.817031] binder_alloc: 3056: binder_alloc_buf, no vma [ 13.823630] binder: 2955:2955 transaction failed 29189/-3, size 80-0 line 3135 [ 13.961383] CPU6: update max cpu_capacity 915 [ 13.983852] binder_alloc: 3251: binder_alloc_buf, no vma [ 13.991693] binder: 2741:2769 transaction failed 29189/-3, size 108-0 line 3135 [ 13.993381] CPU5: update max cpu_capacity 1024 [ 14.009911] binder: send failed reply for transaction 12746 to 2873:3297 [ 14.450327] binder: 2741:2769 transaction failed 29189/-22, size 280-8 line 3012
At this point, you will see Android desktop on the HDMI output
References:
Android prebuilt image: http://www.lemaker.org/cn/product-hikey960-download-60.html