3 Replies Latest reply on Dec 10, 2014 9:58 AM by CMata_Intel

    Linux boot stuck after enabling debug symbols

    cooler1989

      I would like to debug and step through driver's source but after enabling in menuconfig debug info in kernel following "Source Level Debug using OpenOCD/GDB/Eclipse on Intel® Quark™ SoC X1000" document (May 2014) instructions I can't boot device. It gets stuck after this trace info:

       

      [    1.534010] pci 0000:00:17.1: PCI bridge to [bus 02]

      [    1.539541] pci 0000:00:17.1:   bridge window [io  0x3000-0x3fff]

      [    1.546390] pci 0000:00:17.1:   bridge window [mem 0x10400000-0x105fffff]

      [    1.554013] pci 0000:00:17.1:   bridge window [mem 0x10600000-0x107fffff 64bit pref]

      [    1.563721] NET: Registered protocol family 2

      [    1.569989] TCP established hash table entries: 2048 (order: 2, 16384 bytes)

      [    1.578018] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

      [    1.585190] TCP: Hash tables configured (established 2048 bind 2048)

      [    1.592522] TCP: reno registered

      [    1.596135] UDP hash table entries: 256 (order: 0, 4096 bytes)

      [    1.602715] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

      [    1.610284] NET: Registered protocol family 1

      [    1.616775] Trying to unpack rootfs image as initramfs...

      [    2.218054] Freeing initrd memory: 1652k freed

      [    2.236983] microcode: Intel CPU family 0x5 not supported

      [    2.250668] HugeTLB registered 2 MB page size, pre-allocated 0 pages

      [    2.318737] msgmni has been set to 464

      [    2.327955] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)

      [    2.336240] io scheduler noop registered

      [    2.340658] io scheduler deadline registered

      [    2.346571] io scheduler cfq registered (default)

      [    2.358621] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0

      [    2.368172] ACPI: Sleep Button [SLPB]

      [    2.373552] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1

      [    2.383099] ACPI: Power Button [PWRB]

      [    2.471225] Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled

      [    2.482926] quark_uart 0000:00:14.1: QUARK UART-DMA : CH 2 base 0 block len 16 per mask 0

      [    2.492433] quark_uart 0000:00:14.1: MDMA: probe for 936

      [    2.498343] quark_uart 0000:00:14.1: MDMA: CH 2, base 0, block len 16, Periphral mask 0

      [    2.507352] quark_uart 0000:00:14.1: Remapped BAR 0x9000e000 to virt 0xe0616000

      [    2.517601] quark_uart 0000:00:14.1: using dma0chan0 for DMA RX dma0chan1 for DMA TX DMA enabled

      [    2.527667] 0000:00:14.1: ttyQRK0 at MMIO 0x9000f000 (irq = 17) is a intel_quark_uart

      [    2.537792] quark_uart 0000:00:14.5: QUARK UART-DMA : CH 2 base 0 block len 16 per mask 0

      [    2.547308] quark_uart 0000:00:14.5: MDMA: probe for 936

      [    2.553298] quark_uart 0000:00:14.5: MDMA: CH 2, base 0, block len 16, Periphral mask 0

      [    2.562297] quark_uart 0000:00:14.5: Remapped BAR 0x9000a000 to virt 0xe061a000

      [    2.572421] quark_uart 0000:00:14.5: using dma1chan0 for DMA RX dma1chan1 for DMA TX DMA disabled

      [    2.582559] 0000:00:14.5: ttyQRK1 at MMIO 0x9000b000 (irq = 17) is a intel_quark_uart

      [    2.599888] brd: module loaded

      [    2.609403] loop: module loaded

      [    2.614064] lpc_sch_probe BIOS_CNTL 0x00000101

      [    2.619005] lpc_sch_probe new BIOS_CNTL 0x00000101

      [    2.624395] lpc_sch_probe RCBA @ 0xfed1c000

      [    2.639267] rtc_cmos 00:01: RTC can wake from S4

      [    2.645952] rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0

      [    2.653064] rtc0: alarms up to one day, 242 bytes nvram, hpet irqs

      [    2.660607] cpuidle: using governor ladder

      [    2.665163] cpuidle: using governor menu

      [    2.679449] eSRAM: CTRL 0x047f3f91 block 0x00000000

      [    2.684947] eSRAM: pages 128

      [    2.698539] intel_qrk_esram_test_probe/Nov 24 2014/08:56:23 complete OK !!

      [    2.708181] THRM: critical reset 104 c hot 95 c hardware failover 105 c

      [    2.718437] TCP: cubic registered

      [    2.722388] NET: Registered protocol family 17

      [    2.728018] ... APIC ID:      00000000 (0)

      [    2.732155] ... APIC VERSION: 00030010

      [    2.732155] 0000000000000000000000000000000000000000000000000000000000000000

      [    2.732155] 0000000000000000000000000000000000000000000000000000000000000000

      [    2.732155] 0000000000000000000000000000000000000000000000000000000000008000

      [    2.732155]

      [    2.762323] testing the IO APIC.......................

      [    2.769407] .................................... done.

      [    2.775165] Using IPI Shortcut mode

      [    2.779088] turn off boot console uart0