This is a cache of https://discuss.96boards.org/t/how-do-i-build-little-kernel-for-linux-instead-of-android/441. It is a snapshot of the page at 2024-11-04T10:15:27.867+0000.
How do I build little <strong>kernel</strong> for Linux instead of Android - DragonBoard410c - 96Boards Forum

How do I build little kernel for Linux instead of Android

Hello everyone,

I am using DragonBoard 410c, and I am trying to use the little kernel for Ubuntu. I followed this manual (little kernel for Android), and tried to burn a Linux kernel image (mkbootimg --kernel arch/arm64/boot/Image --ramdisk initrd.img-4.2.0-linaro-lt-qcom --output boot-db410c.img --dt dt.img …)

https://www.google.co.il/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&uact=8&ved=0ahUKEwiPmcPPhIHLAhVCbRQKHVrwA24QFgghMAE&url=https%3A%2F%2Fdeveloper.qualcomm.com%2Fqfile%2F28821%2Flm80-p0436-1_little_kernel_boot_loader_overview.pdf&usg=AFQjCNETLHNfBfgBGLvIiEVcnS-J7KYOYQ&sig2=MFE7Ygtt0pGTu6MAUFduTg&bvm=bv.114733917,d.d24

I downloaded the little kernel source code, (for aboot) from git (git://codeaurora.org/kernel/lk.git) as the manual says

I then compiled and created a Linux kernel image and device tree. I used a ramfs from the release notes http://builds.96boards.org/releases/dragonboard410c/linaro/ubuntu/latest

kernel using aboot.

The aboot loads the boot but fails, and the Linux does not load properly. The output below…

I bet it has to do something with the little kernel version, which makes it work for Android only. It fails recognizing some of the partitions. How do I get an aboot for Linux instead of Android ?

S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.0-00261
S - IMAGE_VARIANT_STRING=HAAAANAAA
S - OEM_IMAGE_VERSION_STRING=C-BPATTH
S - Boot Config, 0x000002e1
S - Core 0 Frequency, 0 MHz
B -      1545 - PBL, Start
B -      3490 - bootable_media_detect_entry, Start
B -    101049 - bootable_media_detect_success, Start
B -    101054 - elf_loader_entry, Start
B -    102728 - auth_hash_seg_entry, Start
B -    102937 - auth_hash_seg_exit, Start
B -    118065 - elf_segs_hash_verify_entry, Start
B -    177297 - PBL, End
B -    183183 - SBL1, Start
B -    245891 - pm_device_init, Start
D -     14762 - pm_device_init, Delta
B -    261263 - boot_flash_init, Start
D -         0 - boot_flash_init, Delta
B -    265289 - boot_config_data_table_init, Start
D -    273798 - boot_config_data_table_init, Delta - (0 Bytes)
B -    543632 - CDT version:3,Platform ID:24,Major ID:1,Minor ID:0,Subtype:0
B -    549854 - sbl1_ddr_set_params, Start
B -    553544 - cpr_init, Start
D -         0 - cpr_init, Delta
B -    559156 - Pre_DDR_clock_init, Start
D -       183 - Pre_DDR_clock_init, Delta
D -         0 - sbl1_ddr_set_params, Delta
B -    571661 - pm_driver_init, Start
D -      6832 - pm_driver_init, Delta
B -    587155 - clock_init, Start
D -        61 - clock_init, Delta
B -    597281 - Image Load, Start
D -     24644 - QSEE Image Loaded, Delta - (460664 Bytes)
B -    621956 - Image Load, Start
D -       396 - SEC Image Loaded, Delta - (2048 Bytes)
B -    629184 - sbl1_efs_handle_cookies, Start
D -        61 - sbl1_efs_handle_cookies, Delta
B -    636962 - Image Load, Start
D -     13450 - QHEE Image Loaded, Delta - (51952 Bytes)
B -    650443 - Image Load, Start
D -     12993 - RPM Image Loaded, Delta - (149492 Bytes)
B -    663466 - Image Load, Start
D -     13115 - APPSBL Image Loaded, Delta - (530344 Bytes)
B -    676612 - QSEE Execution, Start
D -        61 - QSEE Execution, Delta
B -    682285 - SBL1, End
D -    501481 - SBL1, Delta
S - Flash Throughput, 108000 KB/s  (1194500 Bytes,  10980 us)
S - DDR Frequency, 400 MHz
Android Bootloader - UART_DM Initialized!!!
[0] welcome to lk

[10] platform_init()
[10] target_init()
[40] SDHC Running in HS200 mode
[50] Done initialization of the card
[50] pm8x41_get_is_cold_boot: cold boot
[50] Neither &#039;config&#039; nor &#039;frp&#039; partition found
[60] Not able to search the panel:
[60] ADV7533 Rev ID: 0x14
[70] ERROR: splash Partition invalid
[170] Config MIPI_VIDEO_PANEL.
[170] Turn on MIPI_VIDEO_PANEL.
[190] Video lane tested successfully
[190] pm8x41_get_is_cold_boot: cold boot
[200] misc: Partition not found
[200] error in emmc_recovery_init
[200] Unable to locate /bootselect partition
[210] No &#039;misc&#039; partition found
[210] Error reading MISC partition
[210] failed to get ffbm cookie[220] Loading (boot) image (11970560): start
[290] Loading (boot) image (11970560): done
[300] use_signed_kernel=0, is_unlocked=0, is_tampered=0.
[310] DTB Total entry: 15, DTB version: 2
[320] Using DTB entry 0x000000f7/00000000/0x00010018/0 for device 0x000000f7/00010000/0x00010018/0
[320] Using pmic info 0x2000b/0x0/0x0/0x0 for device 0x2000b/0x0/0x0/0x0
[330] cmdline: root=/dev/disk/by-partlabel/rootfs rw rootwait console=ttyMSM0,115200n8 androidboot.emmc=true androidboot.serialno=b8622290 androidbooi
[350] Updating device tree: start
[410] Updating device tree: done
[410] Turn off MIPI_VIDEO_PANEL.
[480] booting linux @ 0x80080000, ramdisk @ 0x82000000 (20), tags/device tree @ 0x81e00000
[480] Jumping to kernel via monitor
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.2.0-linaro-lt-qcom (alon@alon-Latitude-E6430) (gcc version 4.9.3 20141031 (prerelease) (Linaro GCC 2014.11) ) #4 SMP P6
[    0.000000] CPU: AArch64 Processor [410fd030] revision 0
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] alternatives: enabling workaround for ARM errata 826319, 827319, 824069
[    0.000000] alternatives: enabling workaround for ARM erratum 845719
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 64 MiB at 0x00000000bc000000
[    0.000000] PERCPU: Embedded 16 pages/cpu @ffffffc03bf61000 s26880 r8192 d30464 u65536
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 234864
[    0.000000] kernel command line: root=/dev/disk/by-partlabel/rootfs rw rootwait console=ttyMSM0,115200n8 androidboot.emmc=true androidboot.serialni
[    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 12288 bytes
[    0.000000] log_buf_len min size: 16384 bytes
[    0.000000] log_buf_len: 32768 bytes
[    0.000000] early log buf free: 14668(89%)
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] software IO TLB [mem 0xb6c00000-0xbac00000] (64MB) mapped at [ffffffc036c00000-ffffffc03abfffff]
[    0.000000] Memory: 779324K/954368K available (7419K kernel code, 645K rwdata, 3036K rodata, 472K init, 13252K bss, 109508K reserved, 65536K cma-r)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vmalloc : 0xffffff8000000000 - 0xffffffbdbfff0000   (   246 GB)
[    0.000000]     vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000   (     8 GB maximum)
[    0.000000]               0xffffffbdc2000000 - 0xffffffbdc3000000   (    16 MB actual)
[    0.000000]     fixed   : 0xffffffbffa7fd000 - 0xffffffbffac00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffffffbffae00000 - 0xffffffbffbe00000   (    16 MB)
[    0.000000]     modules : 0xffffffbffc000000 - 0xffffffc000000000   (    64 MB)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc040000000   (  1024 MB)
[    0.000000]       .init : 0xffffffc000ab8000 - 0xffffffc000b2e000   (   472 KB)
[    0.000000]       .text : 0xffffffc000080000 - 0xffffffc000ab7cd4   ( 10464 KB)
[    0.000000]       .data : 0xffffffc000b35000 - 0xffffffc000bd6400   (   645 KB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Running RCU self tests
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU lockdep checking is enabled.
[    0.000000]  Additional per-CPU info printed with stalls.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] Architected cp15 and mmio timer(s) running at 19.20MHz (virt/virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000005] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000339] Console: colour dummy device 80x25
[    0.000363] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.000371] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.000378] ... MAX_LOCK_DEPTH:          48
[    0.000385] ... MAX_LOCKDEP_KEYS:        8191
[    0.000392] ... CLASSHASH_SIZE:          4096
[    0.000400] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.000407] ... MAX_LOCKDEP_CHAINS:      65536
[    0.000415] ... CHAINHASH_SIZE:          32768
[    0.000422]  memory used by lock dependency info: 8159 kB
[    0.000430]  per task-struct memory footprint: 1920 bytes
[    0.000452] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.000466] pid_max: default: 32768 minimum: 301
[    0.000712] Security Framework initialized
[    0.000813] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000825] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.002350] Initializing cgroup subsys blkio
[    0.002393] Initializing cgroup subsys memory
[    0.002462] Initializing cgroup subsys devices
[    0.002504] Initializing cgroup subsys hugetlb
[    0.003286] hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 7 counters available
[    0.003341] EFI services will not be available.
[    0.040861] CPU1: Booted secondary processor
[    0.040884] Detected VIPT I-cache on CPU1
[    0.050657] CPU2: Booted secondary processor
[    0.050670] Detected VIPT I-cache on CPU2
[    0.060713] CPU3: Booted secondary processor
[    0.060727] Detected VIPT I-cache on CPU3
[    0.060958] Brought up 4 CPUs
[    0.060988] SMP: Total of 4 processors activated.
[    0.060995] CPU: All CPU(s) started at EL1
[    0.061164] alternatives: patching kernel code
[    0.063142] devtmpfs: initialized
[    0.099257] DMI not present or invalid.
[    0.100470] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.103112] pinctrl core: initialized pinctrl subsystem
[    0.107056] NET: Registered protocol family 16
[    0.140115] cpuidle: using governor ladder
[    0.180132] cpuidle: using governor menu
[    0.180426] vdso: 2 pages (1 code @ ffffffc000b3d000, 1 data @ ffffffc000b3c000)
[    0.180525] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.183349] DMA: preallocated 256 KiB pool for atomic allocations
[    0.183902] Serial: AMBA PL011 UART driver
[    0.195004] qcom-smd soc:smd: new channel &#039;rpm_requests&#039; info-size: 88 fifo-size: 1024
[    0.223375] irq: no irq domain found for /soc/wcnss-smp2p/slave-kernel !
[    0.226020] irq: no irq domain found for /soc/qcom,mdss_mdp@1a00000 !
[    0.285454] msm_iommu 1f00000.qcom,iommu: invalid resource
[    0.285625] msm_iommu 1f00000.qcom,iommu: iface: 0, core: 0
[    0.285701] msm_iommu 1f00000.qcom,iommu: device gfx_iommu (model: 500) mapped at ffffff80003a0000, with 2 ctx banks
[    0.285963] genirq: Setting trigger mode 1 for irq 149 failed (gic_set_type+0x0/0x5c)
[    0.286250] msm_iommu 1f00000.qcom,iommu: Request Global CFG IRQ 149 failed with ret=-22
[    0.287822] msm_iommu 1e00000.qcom,iommu: iface: 0, core: 0
[    0.287894] msm_iommu 1e00000.qcom,iommu: device apps_iommu (model: 500) mapped at ffffff8000680000, with 20 ctx banks
[    0.288154] genirq: Setting trigger mode 1 for irq 149 failed (gic_set_type+0x0/0x5c)
[    0.288268] msm_iommu 1e00000.qcom,iommu: Request Global CFG IRQ 149 failed with ret=-22
[    0.300596] msm_iommu_ctx 1f09000.qcom,iommu-ctx: context gfx3d_user using bank 1
[    0.301089] msm_iommu_ctx 1f0a000.qcom,iommu-ctx: context gfx3d_priv using bank 2
[    0.301533] msm_iommu_ctx 1e22000.qcom,iommu-ctx: context jpeg_enc0 using bank 2
[    0.301928] msm_iommu_ctx 1e23000.qcom,iommu-ctx: context vfe using bank 3
[    0.302304] msm_iommu_ctx 1e24000.qcom,iommu-ctx: context mdp_0 using bank 4
[    0.302676] msm_iommu_ctx 1e25000.qcom,iommu-ctx: context venus_ns using bank 5
[    0.303040] msm_iommu_ctx 1e26000.qcom,iommu-ctx: context cpp using bank 6
[    0.303407] msm_iommu_ctx 1e27000.qcom,iommu-ctx: context mDSP using bank 7
[    0.303772] msm_iommu_ctx 1e28000.qcom,iommu-ctx: context gss using bank 8
[    0.304151] msm_iommu_ctx 1e29000.qcom,iommu-ctx: context a2 using bank 9
[    0.304537] msm_iommu_ctx 1e32000.qcom,iommu-ctx: context mdp_1 using bank 18
[    0.304903] msm_iommu_ctx 1e33000.qcom,iommu-ctx: context venus_sec_pixel using bank 19
[    0.305273] msm_iommu_ctx 1e34000.qcom,iommu-ctx: context venus_sec_bitstream using bank 20
[    0.305639] msm_iommu_ctx 1e35000.qcom,iommu-ctx: context venus_sec_non_pixel using bank 21
[    0.306001] msm_iommu_ctx 1e36000.qcom,iommu-ctx: context venus_fw using bank 22
[    0.306379] msm_iommu_ctx 1e37000.qcom,iommu-ctx: context periph_rpm using bank 23
[    0.306752] msm_iommu_ctx 1e38000.qcom,iommu-ctx: context periph_CE using bank 24
[    0.307113] msm_iommu_ctx 1e39000.qcom,iommu-ctx: context periph_BLSP using bank 25
[    0.307474] msm_iommu_ctx 1e3a000.qcom,iommu-ctx: context periph_SDC1 using bank 26
[    0.307837] msm_iommu_ctx 1e3b000.qcom,iommu-ctx: context periph_SDC2 using bank 27
[    0.308197] msm_iommu_ctx 1e3c000.qcom,iommu-ctx: context periph_audio using bank 28
[    0.308570] msm_iommu_ctx 1e3d000.qcom,iommu-ctx: context periph_USB_HS1 using bank 29
[    0.309179] qcom_iommu: iommu sec: psize[0]: 94208, psize[1]: 0
[    0.310566] vgaarb: loaded
[    0.311158] SCSI subsystem initialized
[    0.312374] usbcore: registered new interface driver usbfs
[    0.312521] usbcore: registered new interface driver hub
[    0.312690] usbcore: registered new device driver usb
[    0.313012] Linux video capture interface: v2.00
[    0.313468] dmi: Firmware registration failed.
[    0.314272] Advanced Linux Sound Architecture Driver Initialized.
[    0.317007] clocksource: Switched to clocksource arch_sys_counter
[    0.342826] NET: Registered protocol family 2
[    0.344507] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.344625] TCP bind hash table entries: 8192 (order: 7, 524288 bytes)
[    0.347366] TCP: Hash tables configured (established 8192 bind 8192)
[    0.347554] UDP hash table entries: 512 (order: 4, 81920 bytes)
[    0.347919] UDP-Lite hash table entries: 512 (order: 4, 81920 bytes)
[    0.348987] NET: Registered protocol family 1
[    0.349873] RPC: Registered named UNIX socket transport module.
[    0.349885] RPC: Registered udp transport module.
[    0.349894] RPC: Registered tcp transport module.
[    0.349903] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.350563] Unpacking initramfs...
[    0.350595] Initramfs unpacking failed: junk in compressed archive
[    0.351400] kvm [1]: HYP mode not available
[    0.355910] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.356377] audit: initializing netlink subsys (disabled)
[    0.356575] audit: type=2000 audit(0.339:1): initialized
[    0.358418] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.393763] VFS: Disk quotas dquot_6.6.0
[    0.394384] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.407103] NFS: Registering the id_resolver key type
[    0.407349] Key type id_resolver registered
[    0.407361] Key type id_legacy registered
[    0.408061] fuse init (API version 7.23)
[    0.409398] 9p: Installing v9fs 9p2000 file system support
[    0.411617] io scheduler noop registered
[    0.412725] io scheduler cfq registered (default)
[    0.429436] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.434535] msm_serial 78b0000.serial: msm_serial: detected port #0
[    0.434716] msm_serial 78b0000.serial: uartclk = 3686400
[    0.434839] 78b0000.serial: ttyMSM0 at MMIO 0x78b0000 (irq = 132, base_baud = 230400) is a MSM
[    0.435005] msm_serial: console setup on port #0
[    1.443658] console [ttyMSM0] enabled
[    1.449819] msm_serial: driver initialized
[    1.453034] [drm] Initialized drm 1.1.0 20060810
[    1.456657] msm_dsi_phy 1a98300.qcom,mdss_dsi_phy: Failed to get supply &#039;vddio&#039;: -517
[    1.460473] msm_dsi_phy 1a98300.qcom,mdss_dsi_phy: dsi_phy_regulator_init: failed to init regulator, ret=-517
[    1.468196] msm_dsi_phy 1a98300.qcom,mdss_dsi_phy: dsi_phy_driver_probe: failed to init regulator
[    1.486359] 1a98000.qcom,mdss_dsi supply gdsc not found, using dummy regulator
[    1.487723] 1a98000.qcom,mdss_dsi supply gdsc not found, using dummy regulator
[    1.494264] msm_dsi 1a98000.qcom,mdss_dsi: Failed to get supply &#039;vdd&#039;: -517
[    1.501432] dsi_regulator_init: failed to init regulator, ret=-517
[    1.508115] msm_dsi_host_init: regulator init failed
[    1.514419] msm 1a00000.qcom,mdss_mdp: failed to bind 1a98000.qcom,mdss_dsi (ops dsi_ops): -517
[    1.523495] msm 1a00000.qcom,mdss_mdp: master bind failed: -517
[    1.548497] loop: module loaded
[    1.566459] spmi spmi-0: PMIC Arb Version-2 (0x20010000)
[    1.590471] tun: Universal TUN/TAP device driver, 1.6
[    1.590497] tun: (C) 1999-2004 Max Krasnyansky &lt;maxk@qualcomm.com&gt;
[    1.595575] sky2: driver version 1.30
[    1.601976] usbcore: registered new interface driver asix
[    1.604427] usbcore: registered new interface driver ax88179_178a
[    1.609819] usbcore: registered new interface driver cdc_ether
[    1.615869] usbcore: registered new interface driver dm9601
[    1.621618] usbcore: registered new interface driver net1080
[    1.627090] usbcore: registered new interface driver plusb
[    1.632972] usbcore: registered new interface driver cdc_subset
[    1.638305] usbcore: registered new interface driver zaurus
[    1.644142] usbcore: registered new interface driver cdc_ncm
[    1.653269] ehci_hcd: USB 2.0 &#039;Enhanced&#039; Host Controller (EHCI) Driver
[    1.655439] ehci-pci: EHCI PCI platform driver
[    1.661932] ehci-platform: EHCI generic platform driver
[    1.666646] ehci-msm: Qualcomm On-Chip EHCI Host Controller
[    1.671788] msm_hsusb_host 78d9000.ehci: unable to find transceiver
[    1.677292] ohci_hcd: USB 1.1 &#039;Open&#039; Host Controller (OHCI) Driver
[    1.683162] ohci-pci: OHCI PCI platform driver
[    1.689517] ohci-platform: OHCI generic platform driver
[    1.694326] usbcore: registered new interface driver cdc_acm
[    1.698943] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.704985] usbcore: registered new interface driver usblp
[    1.712683] usbcore: registered new interface driver cdc_wdm
[    1.718237] usbcore: registered new interface driver uas
[    1.724073] usbcore: registered new interface driver usb-storage
[    1.729488] usbcore: registered new interface driver usbserial
[    1.735293] usbcore: registered new interface driver usbserial_generic
[    1.741341] usbserial: USB Serial support registered for generic
[    1.758157] usb3503 usb2513: switched to HUB mode
[    1.758183] usb3503 usb2513: usb3503_probe: probed in hub mode
[    1.764400] usbip_core: USB/IP Core v1.0.0
[    1.767713] usbcore: registered new device driver usbip-host
[    1.771663] usbip_host: USB/IP Host Driver v1.0.0
[    1.778728] mousedev: PS/2 mouse device common for all mice
[    1.784886] i2c_qup 78b8000.i2c: 
[    1.784886]  tx channel not available
[    1.789258] l3: supplied by s3
[    1.798406] qcom-tsens 4a8000.thermal-sensor: tsens calibration failed
[    1.799613] sdhci: Secure Digital Host Controller Interface driver
[    1.804018] sdhci: Copyright(c) Pierre Ossman
[    1.810396] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.822721] l5: supplied by s4
[    1.823046] sdhci_msm 7824900.sdhci: Failed getting OCR mask: 0
[    1.867092] mmc0: SDHCI controller on 7824900.sdhci [7824900.sdhci] using ADMA 64-bit
[    1.872965] sdhci_msm 7864900.sdhci: Got CD GPIO
[    1.883508] sdhci_msm 7864900.sdhci: Failed getting OCR mask: 0
[    1.935085] mmc0: MAN_BKOPS_EN bit is not set
[    1.937364] mmc1: SDHCI controller on 7864900.sdhci [7864900.sdhci] using ADMA 64-bit
[    1.940316] mmc0: new high speed MMC card at address 0001
[    1.943348] ledtrig-cpu: registered to indicate activity on CPUs
[    1.944763] usbcore: registered new interface driver usbhid
[    1.944766] usbhid: USB HID core driver
[    1.965205] mmcblk0: mmc0:0001 DS2008 7.28 GiB 
[    1.966074] l7: supplied by s4
[    1.966845] l7: operation not allowed
[    1.974801] mmcblk0boot0: mmc0:0001 DS2008 partition 1 4.00 MiB
[    1.975499] qcom-tz-pil soc:pronto_rproc: Found relocation area 6291456@0x000000008b600000
[    1.975698]  remoteproc0: soc:pronto_rproc is available
[    1.975702]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[    1.975707]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn&#039;t yet guaranteed.
[    1.978846]  remoteproc0: Direct firmware load for wcnss.mdt failed with error -2
[    1.978857]  remoteproc0: failed to load soc:pronto_rproc
[    1.982364] usbcore: registered new interface driver snd-usb-audio
[    1.984574] apq8016-lpass-cpu 7708000.lpass-cpu: asoc_qcom_lpass_cpu_platform_probe() error getting mi2s-osr-clk: -2
[    1.984658] apq8016-lpass-cpu 7708000.lpass-cpu: asoc_qcom_lpass_cpu_platform_probe() error getting mi2s-osr-clk: -2
[    1.984751] apq8016-lpass-cpu 7708000.lpass-cpu: asoc_qcom_lpass_cpu_platform_probe() error getting mi2s-osr-clk: -2
[    1.984855] apq8016-lpass-cpu 7708000.lpass-cpu: asoc_qcom_lpass_cpu_platform_probe() error getting mi2s-osr-clk: -2
[    1.987852] qcom-apq8016-sbc 7702000.sound: error getting codec dai name
[    1.987859] qcom-apq8016-sbc 7702000.sound: Error resolving dai links: -517
[    1.991782] NET: Registered protocol family 10
[    1.994920] sit: IPv6 over IPv4 tunneling driver
[    1.996488] NET: Registered protocol family 17
[    1.996759] 9pnet: Installing 9P2000 support
[    1.997033] Key type dns_resolver registered
[    1.999131] registered taskstats version 1
[    2.001121] l6: supplied by s4
[    2.013367] 1a98000.qcom,mdss_dsi supply gdsc not found, using dummy regulator
[    2.014275] 1a98000.qcom,mdss_dsi supply gdsc not found, using dummy regulator
[    2.014686] l2: supplied by s3
[    2.135631] mmcblk0boot1: mmc0:0001 DS2008 partition 2 4.00 MiB
[    2.138190] mmcblk0rpmb: mmc0:0001 DS2008 partition 3 4.00 MiB
[    2.140307] msm 1a00000.qcom,mdss_mdp: bound 1a98000.qcom,mdss_dsi (ops dsi_ops)
[    2.140353] msm 1a00000.qcom,mdss_mdp: bound 1c00000.qcom,adreno-3xx (ops a3xx_ops)
[    2.140444] 1a00000.qcom,mdss_mdp supply vdd not found, using dummy regulator
[    2.159431] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.159435] [drm] No driver support for vblank timestamp query.
[    2.185320]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10
[    2.248477] mmc1: new high speed SDHC card at address aaaa
[    2.249388] mmcblk1: mmc1:aaaa SE16G 14.8 GiB 
[    2.263128]  mmcblk1: p1
[    2.323362] l17: operation not allowed
[    2.323374] l2: operation not allowed
[    2.323384] l6: operation not allowed
[    2.326549] l6: operation not allowed
[    2.382547] Console: switching to colour frame buffer device 240x67
[    2.445937] msm 1a00000.qcom,mdss_mdp: fb0: msm frame buffer device
[    2.452007] msm 1a00000.qcom,mdss_mdp: registered panic notifier
[    2.487146] [drm] Initialized msm 1.0.0 20130625 on minor 0
[    2.488493] msm_otg 78d9000.phy: OTG regs = ffffff8000512000
[    2.492036] msm_otg 78d9000.phy: no vddcx
[    2.498429] l7: operation not allowed
[    2.501321] l13: operation not allowed
[    2.618782] cpu cpu0: _opp_add_dynamic: duplicate OPPs detected. Existing: freq: 200000000, volt: 1050000, enabled: 1. New: freq: 200000000, volt:1
[    2.618834] cpu cpu0: _opp_add_dynamic: duplicate OPPs detected. Existing: freq: 400000000, volt: 1050000, enabled: 1. New: freq: 400000000, volt:1
[    2.632575] cpu cpu0: _opp_add_dynamic: duplicate OPPs detected. Existing: freq: 533330000, volt: 1112500, enabled: 1. New: freq: 533330000, volt:1
[    2.647418] cpu cpu0: _opp_add_dynamic: duplicate OPPs detected. Existing: freq: 800000000, volt: 1112500, enabled: 1. New: freq: 800000000, volt:1
[    2.662255] cpu cpu0: _opp_add_dynamic: duplicate OPPs detected. Existing: freq: 998400000, volt: 1250000, enabled: 1. New: freq: 998400000, volt:1
[    2.677103] cpu cpu0: _opp_add_dynamic: duplicate OPPs detected. Existing: freq: 1094400000, volt: 1250000, enabled: 1. New: freq: 1094400000, vol1
[    2.691942] cpu cpu0: _opp_add_dynamic: duplicate OPPs detected. Existing: freq: 1152000000, volt: 1250000, enabled: 1. New: freq: 1152000000, vol1
[    2.707272] cpu cpu0: _opp_add_dynamic: duplicate OPPs detected. Existing: freq: 1209600000, volt: 1250000, enabled: 1. New: freq: 1209600000, vol1
[    2.722534] CPR closed loop is enabled
[    2.738227] CPR is enabled!
[    2.745634] Set corner to 6
[    2.752647] qcom-apq8016-sbc 7702000.sound: adv7511 &lt;-&gt; Quatenary MI2S mapping ok
[    2.757340] hctosys: unable to open rtc device (rtc0)
[    2.784689] ALSA device list:
[    2.784710]   #�[    2.789470] Waiting for root device /dev/disk/by-partlabel/rootfs...
[    2.897988] Set corner to 3
[    3.047558] Set corner to 3
[    4.801031] msm_hsusb_host 78d9000.ehci: EHCI Host Controller
[    4.810244] msm_hsusb_host 78d9000.ehci: new USB bus registered, assigned bus number 1
[    4.812750] msm_hsusb_host 78d9000.ehci: irq 141, io mem 0x078d9000
[    4.837281] msm_hsusb_host 78d9000.ehci: USB 2.0 started, EHCI 1.00
[    4.842091] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.842396] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.847314] Set corner to 3
[    4.856433] usb usb1: Product: EHCI Host Controller
[    4.859154] usb usb1: Manufacturer: Linux 4.2.0-linaro-lt-qcom ehci_hcd
[    4.863989] usb usb1: SerialNumber: 78d9000.ehci
[    4.878236] hub 1-0:1.0: USB hub found
[    4.878900] hub 1-0:1.0: 1 port detected
[    5.197115] usb 1-1: new high-speed USB device number 2 using msm_hsusb_host
[    5.257588] Set corner to 3
[    5.348869] usb 1-1: New USB device found, idVendor=0424, idProduct=2513
[    5.348944] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    5.367165] hub 1-1:1.0: USB hub found
[    5.367751] hub 1-1:1.0: 3 ports detected
[    5.477357] Set corner to 3
[    5.647558] Set corner to 3
[    5.657225] usb 1-1.1: new low-speed USB device number 3 using msm_hsusb_host
[    5.774467] usb 1-1.1: New USB device found, idVendor=045e, idProduct=07b9
[    5.774543] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    5.780336] usb 1-1.1: Product: USB Keyboard
[    5.787532] usb 1-1.1: Manufacturer: LITEON Technology
[    5.819950] input: LITEON Technology USB Keyboard as /devices/platform/soc/78d9000.ehci/usb1/1-1/1-1.1/1-1.1:1.0/0003:045E:07B9.0001/input/input0
[    5.847435] Set corner to 3
[    5.883759] hid-generic 0003:045E:07B9.0001: input: USB HID v1.10 Keyboard [LITEON Technology USB Keyboard] on usb-78d9000.ehci-1.1/input0
[    5.958298] msm_hsusb_host 78d9000.ehci: remove, state 1
[    5.958963] usb 1-1: USB disconnect, device number 2
[    5.959118] usb usb1: USB disconnect, device number 1
[    5.977103] usb 1-1.2: new low-speed USB device number 4 using msm_hsusb_host
[    5.978239] usb 1-1.1: USB disconnect, device number 3
[    6.191005] msm_hsusb_host 78d9000.ehci: USB bus 1 deregistered
[    6.527583] Set corner to 3
[  117.735575] random: nonblocking pool is initialized

hi,

instructions to build/replace LK in the Linux image are included in the release notes (corresponding to the Linux release you flashed). Can you please try these instructions instead?

thanks

Hi,

I tried flashing the boot.img, guess my minimal boot loader as been corrupted so i cannot flash SD card with andorid image or cannot get into fastboot access to flash my images again, cannot get debug prints to debug, can you please help me to flash my minimal bootloader into snap dragon board 410c.

Waiting for your reply.

Regards,
Chaithra