Using a linaro kernel branch for Android on DB845c

With resent android, mainline kernels are used, but in this case I would like to build my kernel from source and use the latest generic kernels from linaro to get the latest updates.

https://git.linaro.org/landing-teams/working/qualcomm/kernel.git/log/?h=integration-linux-qcomlt

Howerver my kernels fails to boot in android, any idea why?

[    2.068456] arm-smmu 15000000.iommu: Unhandled context fault: fsr=0x402, iova=0x9d400000, fsynr=0x1d0020, cbfrsynra=0x880, cb=0
[    2.085685] arm-smmu 15000000.iommu: Unhandled context fault: fsr=0x402, iova=0x9d400000, fsynr=0x1d0020, cbfrsynra=0x880, cb=0
[    2.086311] arm-smmu 15000000.iommu: Unhandled context fault: fsr=0x402, iova=0x9d415400, fsynr=0x1d0020, cbfrsynra=0xc88, cb=0
[    2.110171] arm-smmu 15000000.iommu: Unhandled context fault: fsr=0x402, iova=0x9d73e700, fsynr=0x1d0020, cbfrsynra=0xc88, cb=0
[    2.110194] arm-smmu 15000000.iommu: Unhandled context fault: fsr=0x402, iova=0x9d741a00, fsynr=0x1d0020, cbfrsynra=0x880, cb=0
[    2.110215] arm-smmu 15000000.iommu: Unhandled context fault: fsr=0x402, iova=0x9d744800, fsynr=0x1d0020, cbfrsynra=0x880, cb=0
[    2.110237] arm-smmu 15000000.iommu: Unhandled context fault: fsr=0x402, iova=0x9d746f00, fsynr=0x1d0020, cbfrsynra=0xc88, cb=0
[    2.110258] arm-smmu 15000000.iommu: Unhandled context fault: fsr=0x402, iova=0x9d749b00, fsynr=0x1d0020, cbfrsynra=0x880, cb=0
[    2.110278] arm-smmu 15000000.iommu: Unhandled context fault: fsr=0x402, iova=0x9d74c500, fsynr=0x1d0020, cbfrsynra=0xc88, cb=0
[    2.110299] arm-smmu 15000000.iommu: Unhandled context fault: fsr=0x402, iova=0x9d74ea00, fsynr=0x1d0020, cbfrsynra=0x880, cb=0
[    2.113894] random: fast init done
[    2.208325] msm ae00000.mdss: bound ae01000.mdp (ops dpu_ops)
[    2.215290] msm_dsi ae94000.dsi: supply gdsc not found, using dummy regulator
[    2.222985] msm_dsi_manager_register: failed to register mipi dsi host for DSI 0
[    2.230567] msm ae00000.mdss: failed to bind ae94000.dsi (ops dsi_ops): -517
[    2.237773] msm ae00000.mdss: master bind failed: -517
[    2.250380] loop: module loaded
[    2.254880] ufshcd-qcom 1d84000.ufshc: Adding to iommu group 2
[    2.261244] ufshcd-qcom 1d84000.ufshc: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled
[    2.272200] ufshcd-qcom 1d84000.ufshc: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled
[    2.282739] ufshcd-qcom 1d84000.ufshc: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled
[    2.293551] ldo20: supplied by bob
[    2.297388] ufshcd-qcom 1d84000.ufshc: ufs_qcom_init: required phy device. hasn't probed yet. err = -517
[    2.306971] ufshcd-qcom 1d84000.ufshc: ufshcd_variant_hba_init: variant qcom init failed err -517
[    2.316088] ufshcd-qcom 1d84000.ufshc: Initialization failed
[    2.321910] ufshcd-qcom 1d84000.ufshc: ufshcd_pltfrm_init() failed -517
[    2.332197] spmi spmi-0: PMIC arbiter version v5 (0x50000000)
[    2.348561] gpio gpiochip2: (c440000.spmi:pmic@2:gpios@c000): detected irqchip that is shared with multiple gpiochips: please fix the driver.
[    2.362248] qcom,slim-ngd-ctrl 171c0000.slim: Adding to iommu group 3
[    2.370375] libphy: Fixed MDIO Bus: probed
[    2.374775] tun: Universal TUN/TAP device driver, 1.6
[    2.380794] thunder_xcv, ver 1.0
[    2.384125] thunder_bgx, ver 1.0
[    2.387424] nicpf, ver 1.0
[    2.390880] hclge is initializing
[    2.394284] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    2.401590] hns3: Copyright (c) 2017 Huawei Corporation.
[    2.407008] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    2.412907] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    2.418922] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
[    2.425964] igb: Copyright (c) 2007-2014 Intel Corporation.
[    2.431625] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    2.439536] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    2.445892] sky2: driver version 1.30
[    2.450304] usbcore: registered new interface driver ath10k_usb
[    2.456586] ath10k_snoc 18800000.wifi: Adding to iommu group 4
[    2.463765] ldo25: supplied by bob
[    2.469038] usbcore: registered new interface driver rt2500usb
[    2.474974] usbcore: registered new interface driver rt73usb
[    2.480729] usbcore: registered new interface driver rt2800usb
[    2.486658] usbcore: registered new interface driver rtl8150
[    2.492412] usbcore: registered new interface driver r8152
[    2.497995] usbcore: registered new interface driver asix
[    2.503488] usbcore: registered new interface driver ax88179_178a
[    2.509826] VFIO - User Level meta-driver version: 0.3
[    2.518954] dwc3 a600000.dwc3: Adding to iommu group 5
[    2.527388] dwc3 a800000.dwc3: Adding to iommu group 6
[    2.534029] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.540674] ehci-pci: EHCI PCI platform driver
[    2.545215] ehci-platform: EHCI generic platform driver
[    2.550663] ehci-orion: EHCI orion driver
[    2.554845] ehci-exynos: EHCI Exynos driver
[    2.559191] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.565455] ohci-pci: OHCI PCI platform driver
[    2.569994] ohci-platform: OHCI generic platform driver
[    2.575413] ohci-exynos: OHCI Exynos driver
[    2.580109] usbcore: registered new interface driver usb-storage
[    2.586262] usbcore: registered new interface driver usbserial_generic
[    2.592879] usbserial: USB Serial support registered for generic
[    2.602240] i2c /dev entries driver
[    2.608703] VK: in lt9611_probe
[    2.783676] VK: in lt9611_read_device_rev
[    2.789038] lt9611 10-003b: LT9611 revision: 0xe1
[    2.796988] geni_i2c a8c000.i2c: Bus frequency not specified, default to 100kHz.
[    2.804951] geni_i2c a98000.i2c: Bus frequency not specified, default to 100kHz.
[    2.814628] ov8856 16-0010: failed to get HW configuration: -517
[    2.821165] qcom-camss ac65000.camss: Adding to iommu group 7
[    2.827264] duplicated lane 1 in clock-lanes, using defaults
[    2.833566] __video_try_fmt() width        1920
[    2.838166] __video_try_fmt() height       1080
[    2.842761] __video_try_fmt() num_planes   0
[    2.847084] __video_try_fmt() field        0
[    2.851412] __video_try_fmt() pixelformat  UYVY 4:2:2 (0x59565955)
[    2.857658] __video_try_fmt() looking for pixelformat:  UYVY 4:2:2 (0x59565955)
[    2.865049] __video_try_fmt() found pixelformat:  UYVY 4:2:2 (0x59565955)
[    2.872061] media_create_pad_link 1
[    2.875602] media_create_pad_link 1.1
[    2.879320] media_create_pad_link 1.2 sink=(____ptrval____)
[    2.884955] media_create_pad_link 1.3
[    2.888667] media_create_pad_link 1.4
[    2.892379] media_create_pad_link 2
[    2.895924] media_create_pad_link 3
[    2.899462] media_create_pad_link 4
[    2.903013] media_create_pad_link 5
[    2.906558] media_create_pad_link 6
[    2.910102] media_create_pad_link 7
[    2.913651] media_create_pad_link 8
[    2.917196] media_create_pad_link 9
[    2.920743] media_create_pad_link done
[    2.924567] __video_try_fmt() width        1920
[    2.929154] __video_try_fmt() height       1080
[    2.933739] __video_try_fmt() num_planes   0
[    2.938062] __video_try_fmt() field        0
[    2.942385] __video_try_fmt() pixelformat  UYVY 4:2:2 (0x59565955)
[    2.948642] __video_try_fmt() looking for pixelformat:  UYVY 4:2:2 (0x59565955)
[    2.956030] __video_try_fmt() found pixelformat:  UYVY 4:2:2 (0x59565955)
[    2.963001] media_create_pad_link 1
[    2.966550] media_create_pad_link 1.1
[    2.970263] media_create_pad_link 1.2 sink=(____ptrval____)
[    2.975896] media_create_pad_link 1.3
[    2.979601] media_create_pad_link 1.4
[    2.983312] media_create_pad_link 2
[    2.986856] media_create_pad_link 3
[    2.990400] media_create_pad_link 4
[    2.993948] media_create_pad_link 5
[    2.997495] media_create_pad_link 6
[    3.001039] media_create_pad_link 7
[    3.004587] media_create_pad_link 8
[    3.008131] media_create_pad_link 9
[    3.011677] media_create_pad_link done
[    3.015493] __video_try_fmt() width        1920
[    3.020080] __video_try_fmt() height       1080
[    3.024664] __video_try_fmt() num_planes   0
[    3.028986] __video_try_fmt() field        0
[    3.033309] __video_try_fmt() pixelformat  UYVY 4:2:2 (0x59565955)
[    3.039566] __video_try_fmt() looking for pixelformat:  UYVY 4:2:2 (0x59565955)
[    3.046953] __video_try_fmt() found pixelformat:  UYVY 4:2:2 (0x59565955)
[    3.053929] media_create_pad_link 1
[    3.057478] media_create_pad_link 1.1
[    3.061191] media_create_pad_link 1.2 sink=(____ptrval____)
[    3.066823] media_create_pad_link 1.3
[    3.070536] media_create_pad_link 1.4
[    3.074248] media_create_pad_link 2
[    3.077792] media_create_pad_link 3
[    3.081336] media_create_pad_link 4
[    3.084885] media_create_pad_link 5
[    3.088429] media_create_pad_link 6
[    3.091973] media_create_pad_link 7
[    3.095515] media_create_pad_link 8
[    3.099058] media_create_pad_link 9
[    3.102602] media_create_pad_link done
[    3.106427] __video_try_fmt() width        1920
[    3.111051] __video_try_fmt() height       1080
[    3.115638] __video_try_fmt() num_planes   0
[    3.119991] __video_try_fmt() field        0
[    3.124344] __video_try_fmt() pixelformat  Y/CbCr 4:2:0 (0x3231564e)
[    3.130775] __video_try_fmt() looking for pixelformat:  Y/CbCr 4:2:0 (0x3231564e)
[    3.138336] __video_try_fmt() found pixelformat:  Y/CbCr 4:2:0 (0x3231564e)
[    3.145479] media_create_pad_link 1
[    3.149028] media_create_pad_link 1.1
[    3.152742] media_create_pad_link 1.2 sink=(____ptrval____)
[    3.158375] media_create_pad_link 1.3
[    3.162086] media_create_pad_link 1.4
[    3.165797] media_create_pad_link 2
[    3.169341] media_create_pad_link 3
[    3.172884] media_create_pad_link 4
[    3.176433] media_create_pad_link 5
[    3.179978] media_create_pad_link 6
[    3.183515] media_create_pad_link 7
[    3.187064] media_create_pad_link 8
[    3.190608] media_create_pad_link 9
[    3.194152] media_create_pad_link done
[    3.197954] media_create_pad_link 1
[    3.201497] media_create_pad_link 1.1
[    3.205209] media_create_pad_link 1.2 sink=(____ptrval____)
[    3.210841] media_create_pad_link 1.3
[    3.214551] media_create_pad_link 1.4
[    3.218262] media_create_pad_link 2
[    3.221806] media_create_pad_link 3
[    3.225350] media_create_pad_link 4
[    3.228899] media_create_pad_link 5
[    3.232443] media_create_pad_link 6
[    3.235987] media_create_pad_link 7
[    3.239530] media_create_pad_link 8
[    3.243073] media_create_pad_link 9
[    3.246616] media_create_pad_link done
[    3.250418] media_create_pad_link 1
[    3.253961] media_create_pad_link 1.1
[    3.257673] media_create_pad_link 1.2 sink=(____ptrval____)
[    3.263305] media_create_pad_link 1.3
[    3.267016] media_create_pad_link 1.4
[    3.270727] media_create_pad_link 2
[    3.274271] media_create_pad_link 3
[    3.277814] media_create_pad_link 4
[    3.281363] media_create_pad_link 5
[    3.284907] media_create_pad_link 6
[    3.288450] media_create_pad_link 7
[    3.292000] media_create_pad_link 8
[    3.295538] media_create_pad_link 9
[    3.299087] media_create_pad_link done
[    3.302890] media_create_pad_link 1
[    3.306433] media_create_pad_link 1.1
[    3.310145] media_create_pad_link 1.2 sink=(____ptrval____)
[    3.315777] media_create_pad_link 1.3
[    3.319482] media_create_pad_link 1.4
[    3.323193] media_create_pad_link 2
[    3.326736] media_create_pad_link 3
[    3.330280] media_create_pad_link 4
[    3.333828] media_create_pad_link 5
[    3.337372] media_create_pad_link 6
[    3.340915] media_create_pad_link 7
[    3.344463] media_create_pad_link 8
[    3.348006] media_create_pad_link 9
[    3.351544] media_create_pad_link done
[    3.355345] media_create_pad_link 1
[    3.358888] media_create_pad_link 1.1
[    3.362600] media_create_pad_link 1.2 sink=(____ptrval____)
[    3.368232] media_create_pad_link 1.3
[    3.371943] media_create_pad_link 1.4
[    3.375648] media_create_pad_link 2
[    3.379191] media_create_pad_link 3
[    3.382734] media_create_pad_link 4
[    3.386282] media_create_pad_link 5
[    3.389826] media_create_pad_link 6
[    3.393369] media_create_pad_link 7
[    3.396917] media_create_pad_link 8
[    3.400461] media_create_pad_link 9
[    3.404004] media_create_pad_link done
[    3.407805] media_create_pad_link 1
[    3.411342] media_create_pad_link 1.1
[    3.415054] media_create_pad_link 1.2 sink=(____ptrval____)
[    3.420686] media_create_pad_link 1.3
[    3.424397] media_create_pad_link 1.4
[    3.428108] media_create_pad_link 2
[    3.431645] media_create_pad_link 3
[    3.435189] media_create_pad_link 4
[    3.438736] media_create_pad_link 5
[    3.442280] media_create_pad_link 6
[    3.445823] media_create_pad_link 7
[    3.449371] media_create_pad_link 8
[    3.452915] media_create_pad_link 9
[    3.456458] media_create_pad_link done
[    3.460574] usbcore: registered new interface driver uvcvideo
[    3.466399] USB Video Class driver (1.1.1)
[    3.470557] gspca_main: v2.14.0 registered
[    3.476666] input: pm8941_pwrkey as /devices/platform/soc@0/c440000.spmi/spmi-0/0-00/c440000.spmi:pmic@0:pon@800/c440000.spmi:pmic@0:pon@800:pwrkey/input/input0
[    3.492457] input: pm8941_pwrkey as /devices/platform/soc@0/c440000.spmi/spmi-0/0-00/c440000.spmi:pmic@0:pon@800/c440000.spmi:pmic@0:pon@800:resin/input/input1
[    3.515633] Bluetooth: HCI UART driver ver 2.3
[    3.520166] Bluetooth: HCI UART protocol H4 registered
[    3.525369] Bluetooth: HCI UART protocol BCSP registered
[    3.530775] Bluetooth: HCI UART protocol LL registered
[    3.535993] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    3.542422] Bluetooth: HCI UART protocol Broadcom registered
[    3.548188] Bluetooth: HCI UART protocol QCA registered
[    3.554801] Bluetooth: hci0: setting up wcn399x
[    3.559531] sdhci: Secure Digital Host Controller Interface driver
[    3.565783] sdhci: Copyright(c) Pierre Ossman
[    3.570683] Synopsys Designware Multimedia Card Interface Driver
[    3.577876] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.585176] sdhci_msm 8804000.sdhci: Adding to iommu group 8
[    3.591151] sdhci_msm 8804000.sdhci: Got CD GPIO
[    3.595928] sdhci_msm 8804000.sdhci: TCXO clk not present (-2)
[    3.602348] ldo21: supplied by bob
[    3.605933] ldo13: supplied by bob
[    3.647098] mmc0: SDHCI controller on 8804000.sdhci [8804000.sdhci] using ADMA 64-bit
[    3.659657] ledtrig-cpu: registered to indicate activity on CPUs
[    3.670197] usbcore: registered new interface driver usbhid
[    3.675850] usbhid: USB HID core driver
[    3.682711] remoteproc remoteproc0: 4080000.remoteproc is available
[    3.689861] qcom_q6v5_pas remoteproc-adsp: supply cx not found, using dummy regulator
[    3.697861] qcom_q6v5_pas remoteproc-adsp: supply px not found, using dummy regulator
[    3.706686] remoteproc remoteproc1: remoteproc-adsp is available
[    3.712890] remoteproc remoteproc1: Direct firmware load for qcom/sdm845/adsp.mdt failed with error -2
[    3.722306] remoteproc remoteproc1: Falling back to sysfs fallback for: qcom/sdm845/adsp.mdt
[    3.731065] qcom_q6v5_pas remoteproc-cdsp: supply cx not found, using dummy regulator
[    3.739065] qcom_q6v5_pas remoteproc-cdsp: supply px not found, using dummy regulator
[    3.744742] Bluetooth: hci0: QCA controller version 0x02140201
[    3.752888] Bluetooth: hci0: QCA Downloading qca/crbtfw21.tlv
[    3.758717] remoteproc remoteproc2: remoteproc-cdsp is available
[    3.758759] bluetooth hci0: Direct firmware load for qca/crbtfw21.tlv failed with error -2
[    3.764885] remoteproc remoteproc2: Direct firmware load for qcom/sdm845/cdsp.mdt failed with error -2
[    3.773173] bluetooth hci0: Falling back to sysfs fallback for: qca/crbtfw21.tlv
[    3.780653] usbcore: registered new interface driver snd-usb-audio
[    3.782564] remoteproc remoteproc2: Falling back to sysfs fallback for: qcom/sdm845/cdsp.mdt
[    3.782582] msm-snd-sdm845 soc@0:sound: MultiMedia1: error getting cpu dai name
[    3.783716] NET: Registered protocol family 10
[    3.785065] Segment Routing with IPv6
[    3.785128] NET: Registered protocol family 17
[    3.785700] Bluetooth: RFCOMM TTY layer initialized
[    3.785709] Bluetooth: RFCOMM socket layer initialized
[    3.785721] Bluetooth: RFCOMM ver 1.11
[    3.785731] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.785733] Bluetooth: BNEP filters: protocol multicast
[    3.785739] Bluetooth: BNEP socket layer initialized
[    3.785743] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.785747] Bluetooth: HIDP socket layer initialized
[    3.785872] 9pnet: Installing 9P2000 support
[    3.785921] Key type dns_resolver registered
[    3.787190] registered taskstats version 1
[    3.787195] Loading compiled-in X.509 certificates
[    3.804185] CAM0_DVDD_1V2: supplied by VBAT
[    3.804286] ldo24: supplied by bob
[    3.804656] CAM0_AVDD_2V8: supplied by VBAT
[    3.895583] qcom-qmp-phy 1c06000.phy: Registered Qcom-QMP phy
[    3.901774] qcom-qmp-phy 1c0a000.phy: Registered Qcom-QMP phy
[    3.907833] qcom-qmp-phy 1d87000.phy: Registered Qcom-QMP phy
[    3.913949] qcom-qmp-phy 88e9000.phy: Registered Qcom-QMP phy
[    3.920026] qcom-qmp-phy 88eb000.phy: Registered Qcom-QMP phy
[    3.926348] qcom-pcie 1c00000.pci: Adding to iommu group 9
[    3.932162] qcom-pcie 1c00000.pci: supply vdda not found, using dummy regulator
[    3.939715] qcom-pcie 1c00000.pci: host bridge /soc@0/pci@1c00000 ranges:
[    3.946577] qcom-pcie 1c00000.pci:       IO 0x0060200000..0x00602fffff -> 0x0060200000
[    3.954576] qcom-pcie 1c00000.pci:      MEM 0x0060300000..0x0060ffffff -> 0x0060300000
[    4.178938] qcom-pcie 1c00000.pci: Link up
[    4.183172] qcom-pcie 1c00000.pci: PCI host bridge to bus 0000:00
[    4.189339] pci_bus 0000:00: root bus resource [bus 00-ff]
[    4.194895] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0x60200000-0x602fffff])
[    4.204552] pci_bus 0000:00: root bus resource [mem 0x60300000-0x60ffffff]
[    4.211515] pci 0000:00:00.0: [17cb:0106] type 01 class 0x060400
[    4.217607] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x00000fff]
[    4.223992] pci 0000:00:00.0: PME# supported from D0 D3hot D3cold
[    4.233068] pci 0000:01:00.0: [1912:0014] type 00 class 0x0c0330
[    4.239349] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00001fff 64bit]
[    4.246911] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    4.266401] pci 0000:00:00.0: BAR 14: assigned [mem 0x60300000-0x603fffff]
[    4.273352] pci 0000:00:00.0: BAR 0: assigned [mem 0x60400000-0x60400fff]
[    4.280220] pci 0000:01:00.0: BAR 0: assigned [mem 0x60300000-0x60301fff 64bit]
[    4.287671] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    4.292954] pci 0000:00:00.0:   bridge window [mem 0x60300000-0x603fffff]
[    4.299903] pcieport 0000:00:00.0: Adding to iommu group 9
[    4.306124] pcieport 0000:00:00.0: PME: Signaling with IRQ 173
[    4.313228] pcieport 0000:00:00.0: AER: enabled with IRQ 173
[    4.319096] pci 0000:01:00.0: enabling device (0000 -> 0002)
[    4.324975] xhci_hcd 0000:01:00.0: Adding to iommu group 9
[    4.330728] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    4.336031] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    4.343545] xhci_hcd 0000:01:00.0: Zeroing 64bit base registers, expecting fault
[    4.372505] xhci_hcd 0000:01:00.0: hcc params 0x014051cf hci version 0x100 quirks 0x0000000100000410
[    4.383004] hub 1-0:1.0: USB hub found
[    4.386822] hub 1-0:1.0: 4 ports detected
[    4.391114] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    4.396402] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    4.403871] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    4.410261] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.419081] hub 2-0:1.0: USB hub found
[    4.422892] hub 2-0:1.0: 4 ports detected
[    4.427729] qcom-pcie 1c08000.pci: Adding to iommu group 10
[    4.433635] qcom-pcie 1c08000.pci: supply vdda not found, using dummy regulator
[    4.441042] qcom-pcie 1c08000.pci: supply vddpe-3v3 not found, using dummy regulator
[    4.448915] qcom-pcie 1c08000.pci: host bridge /soc@0/pci@1c08000 ranges:
[    4.455782] qcom-pcie 1c08000.pci:       IO 0x0040200000..0x00402fffff -> 0x0040200000
[    4.463783] qcom-pcie 1c08000.pci:      MEM 0x0040300000..0x005fffffff -> 0x0040300000
[    4.761635] usb 2-3: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[    5.176879] ax88179_178a 2-3:1.0 eth0: register 'ax88179_178a' at usb-0000:01:00.0-3, ASIX AX88179 USB 3.0 Gigabit Ethernet, 00:0e:c6:81:79:01
[    5.597976] qcom-pcie 1c08000.pci: Phy link never came up
[    5.605114] qcom-pcie 1c08000.pci: cannot initialize host
[    5.610808] qcom-pcie: probe of 1c08000.pci failed with error -110
[    5.618441] bam-dma-engine 17184000.dma: Adding to iommu group 3
[    5.630258] msm ae00000.mdss: bound ae01000.mdp (ops dpu_ops)
[    5.636172] msm_dsi ae94000.dsi: supply gdsc not found, using dummy regulator
[    5.643830] msm ae00000.mdss: bound ae94000.dsi (ops dsi_ops)
[    5.650118] adreno 5000000.gpu: supply vdd not found, using dummy regulator
[    5.657221] adreno 5000000.gpu: supply vddcx not found, using dummy regulator
[    5.664553] msm ae00000.mdss: [drm:msm_gpu_init] A630: using IOMMU
[    5.672099] platform 506a000.gmu: Adding to iommu group 11
[    5.678075] msm ae00000.mdss: bound 5000000.gpu (ops a3xx_ops)
[    5.684058] msm_dpu ae01000.mdp: [drm:msm_ioremap] *ERROR* failed to get memory resource: vbif_nrt
[    5.693101] msm_dpu ae01000.mdp: [drm:msm_ioremap] *ERROR* failed to get memory resource: regdma
[    5.701999] [drm:dpu_kms_hw_init:886] dpu hardware revision:0x40000000
[    5.709923] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    5.718558] [drm] Initialized msm 1.5.0 20130625 for ae00000.mdss on minor 1
[    5.725766] msm ae00000.mdss: Direct firmware load for qcom/a630_sqe.fw failed with error -2
[    5.734300] msm ae00000.mdss: Falling back to sysfs fallback for: qcom/a630_sqe.fw
[    5.741989] Bluetooth: hci0: command 0xfc00 tx timeout
[    6.460435] lt9611_irq_thread_handler() irq_flag0: 0x0 irq_flag3: 0x80
[    6.467063] lt9611 10-003b: hdmi cable disconnected
[    6.548505] lt9611_irq_thread_handler() irq_flag0: 0x0 irq_flag3: 0x40
[    6.555113] lt9611 10-003b: hdmi cable connected
[   64.484868] remoteproc remoteproc2: powering up remoteproc-cdsp
[   64.490884] remoteproc remoteproc2: Direct firmware load for qcom/sdm845/cdsp.mdt failed with error -2
[   64.490904] Bluetooth: hci0: QCA Failed to request file: qca/crbtfw21.tlv (-11)
[   64.500286] remoteproc remoteproc2: Falling back to sysfs fallback for: qcom/sdm845/cdsp.mdt
[   64.507666] Bluetooth: hci0: QCA Failed to download patch (-11)
[   64.522188] remoteproc remoteproc1: powering up remoteproc-adsp
[   64.528198] remoteproc remoteproc1: Direct firmware load for qcom/sdm845/adsp.mdt failed with error -2
[   64.537590] remoteproc remoteproc1: Falling back to sysfs fallback for: qcom/sdm845/adsp.mdt
[   66.532550] msm ae00000.mdss: [drm:adreno_request_fw] *ERROR* failed to load a630_sqe.fw
[   66.598140] Bluetooth: hci0: QCA preshutdown_cmd failed (-56)
[   66.677417] random: crng init done
[   69.506548] lt9611 10-003b: video check: h_act_a=0, h_act_b=0, v_act=0, v_total=0, h_total_sysclk=0
[   69.539693] Console: switching to colour frame buffer device 240x67
[   69.605276] msm ae00000.mdss: fb0: msmdrmfb frame buffer device
[   69.616030] ufshcd-qcom 1d84000.ufshc: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled
[   69.626855] ufshcd-qcom 1d84000.ufshc: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled
[   69.637431] ufshcd-qcom 1d84000.ufshc: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled
[   69.651166] scsi host0: ufshcd
[   69.665033] duplicated lane 1 in clock-lanes, using defaults
[   69.670801] link-frequencies 0 value 360000000
[   69.675328] link-frequencies 1 value 180000000
[   69.683082] ufshcd-qcom 1d84000.ufshc: ufshcd_print_pwr_info:[RX, TX]: gear=[1, 1], lane[1, 1], pwr[SLOWAUTO_MODE, SLOWAUTO_MODE], rate = 0
[   69.685487] ov8856 16-0010: failed to find sensor: -5
[   69.701559] ov8856: probe of 16-0010 failed with error -5
[   69.710384] msm-snd-sdm845 soc@0:sound: MultiMedia1: error getting cpu dai name
[   69.719351] msm-snd-sdm845 soc@0:sound: MultiMedia1: error getting cpu dai name
[   69.729313] input: gpio_keys as /devices/platform/gpio_keys/input/input2
[   69.737295] msm-snd-sdm845 soc@0:sound: MultiMedia1: error getting cpu dai name
[   69.740291] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   69.744957] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   69.745618] ALSA device list:
[   69.745622]   No soundcards found.
[   69.745692] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   69.745694] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[   69.810150] ufshcd-qcom 1d84000.ufshc: ufshcd_print_pwr_info:[RX, TX]: gear=[3, 3], lane[2, 2], pwr[FAST MODE, FAST MODE], rate = 2
[   69.823206] ufshcd-qcom 1d84000.ufshc: ufshcd_find_max_sup_active_icc_level: Regulator capability was not set, actvIccLevel=0
[   69.836390] scsi 0:0:0:49488: Well-known LUN    SKhynix  H28S7Q302BMR     A002 PQ: 0 ANSI: 6
[   69.849738] scsi 0:0:0:49476: Well-known LUN    SKhynix  H28S7Q302BMR     A002 PQ: 0 ANSI: 6
[   69.862380] scsi 0:0:0:49456: Well-known LUN    SKhynix  H28S7Q302BMR     A002 PQ: 0 ANSI: 6
[   69.874953] scsi 0:0:0:0: Direct-Access     SKhynix  H28S7Q302BMR     A002 PQ: 0 ANSI: 6
[   69.886713] scsi 0:0:0:1: Direct-Access     SKhynix  H28S7Q302BMR     A002 PQ: 0 ANSI: 6
[   69.896900] sd 0:0:0:0: [sda] 14145536 4096-byte logical blocks: (57.9 GB/54.0 GiB)
[   69.905202] sd 0:0:0:0: [sda] Write Protect is off
[   69.906250] scsi 0:0:0:2: Direct-Access     SKhynix  H28S7Q302BMR     A002 PQ: 0 ANSI: 6
[   69.908824] scsi 0:0:0:3: Direct-Access     SKhynix  H28S7Q302BMR     A002 PQ: 0 ANSI: 6
[   69.911128] sd 0:0:0:2: [sdc] 1024 4096-byte logical blocks: (4.19 MB/4.00 MiB)
[   69.911470] sd 0:0:0:2: [sdc] Write Protect is off
[   69.911514] sd 0:0:0:3: [sdd] 32768 4096-byte logical blocks: (134 MB/128 MiB)
[   69.911590] sd 0:0:0:3: [sdd] Write Protect is off
[   69.911782] scsi 0:0:0:4: Direct-Access     SKhynix  H28S7Q302BMR     A002 PQ: 0 ANSI: 6
[   69.911809] sd 0:0:0:3: [sdd] Write cache: enabled, read cache: enabled, supports DPO and FUA
[   69.911917] sd 0:0:0:3: [sdd] Optimal transfer size 786432 bytes
[   69.912214] sd 0:0:0:2: [sdc] Write cache: enabled, read cache: enabled, supports DPO and FUA
[   69.912561] sd 0:0:0:2: [sdc] Optimal transfer size 786432 bytes
[   69.914718] scsi 0:0:0:5: Direct-Access     SKhynix  H28S7Q302BMR     A002 PQ: 0 ANSI: 6
[   69.915903] sd 0:0:0:4: [sde] 1048576 4096-byte logical blocks: (4.29 GB/4.00 GiB)
[   69.915969] sd 0:0:0:4: [sde] Write Protect is off
[   69.916100] sd 0:0:0:4: [sde] Write cache: enabled, read cache: enabled, supports DPO and FUA
[   69.916177] sd 0:0:0:4: [sde] Optimal transfer size 786432 bytes
[   69.918392] sd 0:0:0:5: [sdf] 393216 4096-byte logical blocks: (1.61 GB/1.50 GiB)
[   69.918686] sd 0:0:0:5: [sdf] Write Protect is off
[   69.920739] sd 0:0:0:1: [sdb] 1024 4096-byte logical blocks: (4.19 MB/4.00 MiB)
[   69.921066] sd 0:0:0:1: [sdb] Write Protect is off
[   69.921502] sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
[   69.921720] sd 0:0:0:1: [sdb] Optimal transfer size 786432 bytes
[   69.927282] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
[   69.927500] sd 0:0:0:0: [sda] Optimal transfer size 786432 bytes
[   69.935087] sd 0:0:0:5: [sdf] Write cache: enabled, read cache: enabled, supports DPO and FUA
[   69.945860] Alternate GPT is invalid, using primary GPT.
[   69.945871]  sdb: sdb1 sdb2
[   69.946075]  sdc: sdc1 sdc2
[   69.946431] sd 0:0:0:5: [sdf] Optimal transfer size 786432 bytes
[   69.946544] Alternate GPT is invalid, using primary GPT.
[   69.946607]  sde: sde1 sde2 sde3 sde4 sde5 sde6 sde7 sde8 sde9 sde10 sde11 sde12 sde13 sde14 sde15 sde16 sde17 sde18 sde19 sde20 sde21 sde22 sde23 sde24 sde25 sde26 sde27 sde28 sde29 sde30 sde31 sde32 sde33 sde34 sde35 sde36 sde37 sde38 sde39 sde40 sde41 sde42 sde43 sde44 sde45 sde46 sde47 sde48
[   69.947910] sd 0:0:0:2: [sdc] Attached SCSI disk
[   69.948164] sd 0:0:0:1: [sdb] Attached SCSI disk
[   69.949834] msm-snd-sdm845 soc@0:sound: MultiMedia1: error getting cpu dai name
[   69.954494] Alternate GPT is invalid, using primary GPT.
[   69.954510]  sda: sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8
[   69.957648] sd 0:0:0:0: [sda] Attached SCSI disk
[   69.959440] msm-snd-sdm845 soc@0:sound: MultiMedia1: error getting cpu dai name
[   69.959542] sd 0:0:0:4: [sde] Attached SCSI disk
[   70.303127]  sdf: sdf1 sdf2 sdf3 sdf4 sdf5 sdf6 sdf7 sdf8 sdf9
[   70.312422]  sdd: sdd1 sdd2 sdd3
[   70.312468] msm-snd-sdm845 soc@0:sound: MultiMedia1: error getting cpu dai name
[   70.331246] sd 0:0:0:5: [sdf] Attached SCSI disk
[   70.341287] sd 0:0:0:3: [sdd] Attached SCSI disk
[   70.354132] msm-snd-sdm845 soc@0:sound: MultiMedia1: error getting cpu dai name
[   70.355992] Freeing unused kernel memory: 6656K
[   70.375203] msm-snd-sdm845 soc@0:sound: MultiMedia1: error getting cpu dai name
[   70.400670] Run /init as init process
[   70.409487] init: mount("selinuxfs", "/sys/fs/selinux", "selinuxfs", 0, NULL) failed Invalid argument
[   70.420707] init: Init encountered errors starting first stage, aborting
[   70.429049] init: InitFatalReboot: signal 6
[   70.442552] init: #00 pc 0000000000314990  /init (UnwindStackCurrent::UnwindFromContext(unsigned long, void*)+96)
[   70.454084] init: #01 pc 000000000027d1e0  /init (android::init::InitFatalReboot(int)+208)
[   70.463440] init: #02 pc 000000000027d5c8  /init (android::init::InstallRebootSignalHandlers()::$_22::__invoke(int)+32)
[   70.475296] init: #03 pc 0000000000000588  [vdso:0000ffff928f8000] (__kernel_rt_sigreturn)
[   70.484641] init: #04 pc 000000000039f3d0  /init (abort+176)
[   70.491357] init: #05 pc 000000000028006c  /init (android::init::InitAborter(char const*)+44)
[   70.500972] init: #06 pc 00000000002d60b8  /init (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+80)
[   70.515512] init: #07 pc 00000000002d58b0  /init (android::base::LogMessage::~LogMessage()+320)
[   70.525314] init: #08 pc 0000000000274bc0  /init (android::init::FirstStageMain(int, char**)+5552)
[   70.535386] init: #09 pc 000000000039e3b0  /init (__real_libc_init(void*, void (*)(), int (*)(int, char**, char**), structors_array_t const*, bionic_tcb*)+584)
[   70.550809] init: Reboot ending, jumping to kernel
[   70.556828] cfg80211: failed to load regulatory.db
[   70.557077] remoteproc remoteproc2: request_firmware failed: -11
[   70.569931] remoteproc remoteproc1: request_firmware failed: -11
[   70.612228] sd 0:0:0:5: [sdf] Synchronizing SCSI cache
[   70.619140] sd 0:0:0:4: [sde] Synchronizing SCSI cache
[   70.625925] sd 0:0:0:3: [sdd] Synchronizing SCSI cache
[   70.632664] sd 0:0:0:2: [sdc] Synchronizing SCSI cache
[   70.639948] sd 0:0:0:1: [sdb] Synchronizing SCSI cache
[   70.646707] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[   70.667687] arm-smmu 15000000.iommu: removing device with active domains!
[   70.675636] arm-smmu 5040000.iommu: removing device with active domains!
[   70.685483] reboot: Restarting system with command 'bootloader'

Full log here:

It looks like the kernel isn’t built with selinux enabled. Are you using the Kconfig options suggested by Google?

https://source.android.com/devices/architecture/kernel/config

https://wiki.linaro.org/AOSP/db845c might be of some interest to you as well.

Mainline (ie kernel.org) kernels can work but you’ll likely need a patch or two.

What platform are you using when developing the kernel features at linaro? Are you running some GNU/Linux variant instead of Android/Linux or AOSP/Linux?

Most of the features we develop & platforms we support are usable for both Embedded, Desktop and AOSP userspaces. Naturally some features are specific to either of those, but mostly we want to see the same kernel used for all userspaces.

Personally I’ve been using a Debian based userspace for the last few months, but that’s mostly because it is something I’m used to and can be productive in.

1 Like