i.MX6: KGDB is not working on cross UART

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX6: KGDB is not working on cross UART

2,254 Views
dharani_r
Contributor I

Dear All,

             I am trying to debug the kernel with GDB based on below steps.

Boot arguments:

setenv bootargs console=ttymxc1,115200 kgdbwait kgdboc=ttymxc0,115200 root=/dev/nfs nfsroot=<ServerIP>:/nfs-setup/rfs ip=<Target-IP>::<Gateway-IP>:<Netmask-IP>:iMX6:eth0:off rw rootwait

After board boots, the kernel entering in to GDB to debug the kernel as:

imx-sdma 20ec000.sdma: initialized

Serial: IMX driver

2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX

21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 59) is a IMX

console [ttymxc1] enabled

When I run the vmlinux from host, I get the below error:

(gdb) target remote /dev/ttyUSB1

Remote debugging using /dev/ttyUSB1

Ignoring packet error, continuing...

warning: unrecognized item "timeout" in "qSupported" response

Ignoring packet error, continuing...

Ignoring packet error, continuing...

Bogus trace status reply from target: timeout

If I use the same UART port for both console and KGDBOC, I could debug the kernel based on below arguments

setenv bootargs console=ttymxc1,115200 kgdbwait kgdboc=ttymxc1,115200 root=/dev/nfs nfsroot=<ServerIP>:/nfs-setup/rfs ip=<Target-IP>::<Gateway-IP>:<Netmask-IP>:iMX6:eth0:off rw rootwait

and

(gdb) target remote /dev/ttyUSB0

Why can't I debug the kernel, when I use one UART for console and another UART for kgdboc?

Regards,

Dharanendiran.R

Labels (2)
0 Kudos
3 Replies

781 Views
csanchezdll
Contributor I

Hi,

probably your problem is the same as in this other thread:

Kgdbwait into wait state, but GDB timeout, can not connect

Basically, kernels prior to 3.19 do not enable UART clocks until the serial port is enabled. As the second UART was only used for KGDB, that tty was off and thus the clocks never properly set-up.

Try a newer kernel, or applying the patches I refer on that other thread, and it should work.

BR

Carlos

0 Kudos

781 Views
Yuri
NXP Employee
NXP Employee

Please look at my comments below.

In Freescale BSP all the UART ports can be accessed through the device files
/dev/ttymxc0 through /dev/ttymxcX (where X is the maximum UART number supported
by the IC).  /dev/ttymxc0 refers to UART 1.

To use several UART ports it is needed to configure them , in particular corresponding
pins should set via the IOMUXC. Also UARTs should be enabled in Linux kernel.  

Please look at “Registering a New UART Driver” chapter “i.MX_6_BSP_Porting_Guide.pdf”.

In Yocto release many board specific configuration options for the driver are set in Device Tree

file(s).


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

781 Views
fatalfeel
Contributor V

I have on i.mx6 dual question too~

~# echo g > /proc/sysrq-trigger work good

but  Kgdbwait into wait state, but GDB can not connect

of course I exit the mincom~ also try to use

git://git.kernel.org/pub/scm/utils/kernel/kgdb/agent-proxy.git

still can not work

/////gdb message

174,060 &"symbol-file /root/project_board/free_imx/out/matrix_io/kernel/vmlinux\n"

174,060 ~"Reading symbols from /root/project_board/free_imx/out/matrix_io/kernel/vmlinux..."

174,118 12-list-thread-groups

175,042 ~"done.\n"

175,044 11^done

175,044 (gdb)

175,044 &"\n"

175,045 ^done

175,045 (gdb)

175,045 12^done,groups=[{id="i1",type="process"}]

175,045 (gdb)

175,046 13-target-select remote /dev/ttyUSB0

196,053 ~"Ignoring packet error, continuing...\n"

196,053 &"warning: unrecognized item \"timeout\" in \"qSupported\" response\n"

/////bootargs message

boot

booti mmc1

kernel   @ 14008000 (9372264)

ramdisk  @ 15000000 (507162)

fdt      @ 14f00000 (55103)

kernel cmdline:

     use boot.img command line:

     kgdboc=ttymxc0,115200 kgdbwait init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 video=mxcfb2ff video=mxcfb3ff vmalloc=400M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M mem=1G

switch to ldo_bypass mode!

    Using Device Tree in place at 14f00000, end 14f1073e

Starting kernel ...

/////kernel boot message

2.336547] calling  sched_clock_syscore_init+0x0/0x24 @ 1

[    2.336580] initcall sched_clock_syscore_init+0x0/0x24 returned 0 after 2 usecs

[    2.336596] Doing 0

[    2.336623] calling  register_pmu_driver+0x0/0x6c @ 1

[    2.336974] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available

[    2.338491] initcall register_pmu_driver+0x0/0x6c returned 0 after 1789 usecs

[    2.338512] Doing 1

[    2.338542] calling  mxc_epit_driver_init+0x0/0x24 @ 1

[    2.339437] initcall mxc_epit_driver_init+0x0/0x24 returned 0 after 843 usecs

[    2.339458] Doing 2

[    2.339485] calling  ldo2p5_dummy_driver_init+0x0/0x24 @ 1

[    2.340766] initcall ldo2p5_dummy_driver_init+0x0/0x24 returned 0 after 1222 usecs

[    2.340786] Doing 3

[    2.340811] calling  busfreq_init+0x0/0x44 @ 1

[    2.341551] imx6_busfreq busfreq.16: DDR medium rate not supported.

[    2.342400] Bus freq driver module loaded

[    2.342437] initcall busfreq_init+0x0/0x44 returned 0 after 1557 usecs

[    2.342453] Doing 4

[    2.342479] calling  mxc_bt_rfkill_driver_init+0x0/0x24 @ 1

[    2.342991] initcall mxc_bt_rfkill_driver_init+0x0/0x24 returned 0 after 470 usecs

[    2.343009] Doing 5

[    2.343035] calling  mx6_ir_driver_init+0x0/0x24 @ 1

[    2.343503] initcall mx6_ir_driver_init+0x0/0x24 returned 0 after 427 usecs

[    2.343520] Doing 6

[    2.343545] calling  mxc_ramoops_driver_init+0x0/0x24 @ 1

[    2.353513] console [pstore-1] enabled

[    2.353540] ramoops: attached 0x100000@0x4bf00000, ecc: 0/0

[    2.353578] mxc_ramoops device success loaded

[    2.353730] initcall mxc_ramoops_driver_init+0x0/0x24 returned 0 after 9909 usecs

[    2.353752] Doing 7

[    2.353785] calling  proc_execdomains_init+0x0/0x68 @ 1

[    2.353844] initcall proc_execdomains_init+0x0/0x68 returned 0 after 23 usecs

[    2.353862] Doing 8

[    2.353892] calling  ioresources_init+0x0/0xb0 @ 1

[    2.353951] initcall ioresources_init+0x0/0xb0 returned 0 after 26 usecs

[    2.353971] Doing 9

[    2.354000] calling  uid_cache_init+0x0/0x104 @ 1

[    2.354063] initcall uid_cache_init+0x0/0x104 returned 0 after 28 usecs

[    2.354082] Doing 10

[    2.354114] calling  init_posix_timers+0x0/0x538 @ 1

[    2.354242] initcall init_posix_timers+0x0/0x538 returned 0 after 88 usecs

[    2.354342] Doing 11

[    2.354379] calling  init_posix_cpu_timers+0x0/0x200 @ 1

[    2.354418] initcall init_posix_cpu_timers+0x0/0x200 returned 0 after 1 usecs

[    2.354436] Doing 12

[    2.354468] calling  proc_schedstat_init+0x0/0x68 @ 1

[    2.354522] initcall proc_schedstat_init+0x0/0x68 returned 0 after 18 usecs

[    2.354542] Doing 13

[    2.354573] calling  android_power_init+0x0/0x98 @ 1

[    2.354632] initcall android_power_init+0x0/0x98 returned 0 after 24 usecs

[    2.354651] Doing 14

[    2.354684] calling  suspend_time_syscore_init+0x0/0x2c @ 1

[    2.354716] initcall suspend_time_syscore_init+0x0/0x2c returned 0 after 2 usecs

[    2.354735] Doing 15

[    2.354765] calling  timekeeping_init_ops+0x0/0x24 @ 1

[    2.354799] initcall timekeeping_init_ops+0x0/0x24 returned 0 after 1 usecs

[    2.354817] Doing 16

[    2.354847] calling  init_clocksource_sysfs+0x0/0x98 @ 1

[    2.355254] initcall init_clocksource_sysfs+0x0/0x98 returned 0 after 356 usecs

[    2.355277] Doing 17

[    2.355309] calling  init_timer_list_procfs+0x0/0x84 @ 1

[    2.355364] initcall init_timer_list_procfs+0x0/0x84 returned 0 after 15 usecs

[    2.355385] Doing 18

[    2.355416] calling  alarmtimer_init+0x0/0x380 @ 1

[    2.356013] initcall alarmtimer_init+0x0/0x380 returned 0 after 541 usecs

[    2.356037] Doing 19

[    2.356069] calling  init_tstats_procfs+0x0/0x84 @ 1

[    2.356126] initcall init_tstats_procfs+0x0/0x84 returned 0 after 17 usecs

[    2.356147] Doing 20

[    2.356175] calling  futex_init+0x0/0x214 @ 1

[    2.356351] futex hash table entries: 512 (order: 3, 32768 bytes)

[    2.356441] initcall futex_init+0x0/0x214 returned 0 after 219 usecs

[    2.356460] Doing 21

[    2.356489] calling  proc_modules_init+0x0/0x68 @ 1

[    2.356539] initcall proc_modules_init+0x0/0x68 returned 0 after 17 usecs

[    2.356560] Doing 22

[    2.356586] calling  kallsyms_init+0x0/0x68 @ 1

[    2.356628] initcall kallsyms_init+0x0/0x68 returned 0 after 13 usecs

[    2.356650] Doing 23

[    2.356676] calling  audit_init+0x0/0x2ac @ 1

[    2.356697] audit: initializing netlink socket (disabled)

[    2.356786] type=2000 audit(2.270:1): initialized

[    2.356832] initcall audit_init+0x0/0x2ac returned 0 after 120 usecs

[    2.356850] Doing 24

[    2.356877] calling  audit_watch_init+0x0/0x80 @ 1

[    2.356913] initcall audit_watch_init+0x0/0x80 returned 0 after 7 usecs

[    2.356930] Doing 25

[    2.356955] calling  audit_tree_init+0x0/0xc4 @ 1

[    2.356991] initcall audit_tree_init+0x0/0xc4 returned 0 after 7 usecs

[    2.357010] Doing 26

[    2.357035] calling  init_kprobes+0x0/0x1cc @ 1

[    2.794178] initcall init_kprobes+0x0/0x1cc returned 0 after 426854 usecs

[    2.794209] Doing 27

[    2.794238] calling  irq_gc_init_ops+0x0/0x24 @ 1

[    2.794321] initcall irq_gc_init_ops+0x0/0x24 returned 0 after 1 usecs

[    2.794343] Doing 28

[    2.794370] calling  irq_pm_init_ops+0x0/0x24 @ 1

[    2.794401] initcall irq_pm_init_ops+0x0/0x24 returned 0 after 1 usecs

[    2.794419] Doing 29

[    2.794448] calling  utsname_sysctl_init+0x0/0x24 @ 1

[    2.794526] initcall utsname_sysctl_init+0x0/0x24 returned 0 after 45 usecs

[    2.794547] Doing 30

[    2.794582] calling  init_tracepoints+0x0/0x2c @ 1

[    2.794615] initcall init_tracepoints+0x0/0x2c returned 0 after 1 usecs

[    2.794634] Doing 31

[    2.794661] calling  stack_trace_init+0x0/0xf8 @ 1

[    2.794777] initcall stack_trace_init+0x0/0xf8 returned 0 after 80 usecs

[    2.794800] Doing 32

[    2.794832] calling  irq_work_init_cpu_notifier+0x0/0x48 @ 1

[    2.794872] initcall irq_work_init_cpu_notifier+0x0/0x48 returned 0 after 7 usecs

[    2.794890] Doing 33

[    2.794917] calling  perf_event_sysfs_init+0x0/0x148 @ 1

[    2.795692] initcall perf_event_sysfs_init+0x0/0x148 returned 0 after 718 usecs

[    2.795719] Doing 34

[    2.795752] calling  init_per_zone_wmark_min+0x0/0xac @ 1

[    2.797220] initcall init_per_zone_wmark_min+0x0/0xac returned 0 after 1392 usecs

[    2.797247] Doing 35

[    2.797281] calling  kswapd_init+0x0/0x58 @ 1

[    2.797913] initcall kswapd_init+0x0/0x58 returned 0 after 575 usecs

[    2.797940] Doing 36

[    2.797970] calling  extfrag_debug_init+0x0/0xc4 @ 1

[    2.798081] initcall extfrag_debug_init+0x0/0xc4 returned 0 after 75 usecs

[    2.798105] Doing 37

[    2.798139] calling  setup_vmstat+0x0/0x1c8 @ 1

[    2.798244] initcall setup_vmstat+0x0/0x1c8 returned 0 after 69 usecs

[    2.798265] Doing 38

[    2.798293] calling  mm_sysfs_init+0x0/0x60 @ 1

[    2.798352] initcall mm_sysfs_init+0x0/0x60 returned 0 after 26 usecs

[    2.798372] Doing 39

[    2.798404] calling  init_reserve_notifier+0x0/0x30 @ 1

[    2.798437] initcall init_reserve_notifier+0x0/0x30 returned 0 after 1 usecs

[    2.798454] Doing 40

[    2.798486] calling  init_admin_reserve+0x0/0xac @ 1

[    2.798518] initcall init_admin_reserve+0x0/0xac returned 0 after 2 usecs

[    2.798536] Doing 41

[    2.798562] calling  init_user_reserve+0x0/0xac @ 1

[    2.798596] initcall init_user_reserve+0x0/0xac returned 0 after 1 usecs

[    2.798613] Doing 42

[    2.798643] calling  proc_vmalloc_init+0x0/0x68 @ 1

[    2.798693] initcall proc_vmalloc_init+0x0/0x68 returned 0 after 15 usecs

[    2.798712] Doing 43

[    2.798743] calling  memblock_init_debugfs+0x0/0x98 @ 1

[    2.798845] initcall memblock_init_debugfs+0x0/0x98 returned 0 after 63 usecs

[    2.798864] Doing 44

[    2.798895] calling  init_emergency_pool+0x0/0xbc @ 1

[    2.798930] initcall init_emergency_pool+0x0/0xbc returned 0 after 2 usecs

[    2.798950] Doing 45

[    2.798980] calling  procswaps_init+0x0/0x68 @ 1

[    2.799029] initcall procswaps_init+0x0/0x68 returned 0 after 15 usecs

[    2.799049] Doing 46

[    2.799076] calling  ksm_init+0x0/0x11c @ 1

[    2.799455] initcall ksm_init+0x0/0x11c returned 0 after 327 usecs

[    2.799476] Doing 47

[    2.799510] calling  slab_sysfs_init+0x0/0x1c4 @ 1

[    2.809432] initcall slab_sysfs_init+0x0/0x1c4 returned 0 after 9642 usecs

[    2.809456] Doing 48

[    2.809488] calling  fcntl_init+0x0/0x50 @ 1

[    2.809549] initcall fcntl_init+0x0/0x50 returned 0 after 25 usecs

[    2.809570] Doing 49

[    2.809597] calling  proc_filesystems_init+0x0/0x68 @ 1

[    2.809652] initcall proc_filesystems_init+0x0/0x68 returned 0 after 21 usecs

[    2.809673] Doing 50

[    2.809701] calling  dio_init+0x0/0x50 @ 1

[    2.809997] initcall dio_init+0x0/0x50 returned 0 after 258 usecs

[    2.810017] Doing 51

[    2.810045] calling  fsnotify_mark_init+0x0/0x9c @ 1

[    2.810330] initcall fsnotify_mark_init+0x0/0x9c returned 0 after 242 usecs

[    2.810353] Doing 52

[    2.810378] calling  dnotify_init+0x0/0xd0 @ 1

[    2.810753] initcall dnotify_init+0x0/0xd0 returned 0 after 330 usecs

[    2.810774] Doing 53

[    2.810804] calling  inotify_user_setup+0x0/0xb0 @ 1

[    2.810874] initcall inotify_user_setup+0x0/0xb0 returned 0 after 39 usecs

[    2.810896] Doing 54

[    2.810920] calling  aio_setup+0x0/0x8c @ 1

[    2.810993] initcall aio_setup+0x0/0x8c returned 0 after 41 usecs

[    2.811012] Doing 55

[    2.811040] calling  proc_locks_init+0x0/0x68 @ 1

[    2.811091] initcall proc_locks_init+0x0/0x68 returned 0 after 20 usecs

[    2.811110] Doing 56

[    2.811136] calling  init_mbcache+0x0/0x24 @ 1

[    2.811172] initcall init_mbcache+0x0/0x24 returned 0 after 5 usecs

[    2.811189] Doing 57

[    2.811214] calling  dquot_init+0x0/0x248 @ 1

[    2.811234] VFS: Disk quotas dquot_6.5.2

[    2.812017] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

[    2.812056] initcall dquot_init+0x0/0x248 returned 0 after 791 usecs

[    2.812075] Doing 58

[    2.812100] calling  quota_init+0x0/0x58 @ 1

[    2.812174] initcall quota_init+0x0/0x58 returned 0 after 41 usecs

[    2.812195] Doing 59

[    2.812221] calling  proc_cmdline_init+0x0/0x68 @ 1

[    2.812271] initcall proc_cmdline_init+0x0/0x68 returned 0 after 17 usecs

[    2.812290] Doing 60

[    2.812317] calling  proc_consoles_init+0x0/0x68 @ 1

[    2.812361] initcall proc_consoles_init+0x0/0x68 returned 0 after 14 usecs

[    2.812381] Doing 61

[    2.812408] calling  proc_cpuinfo_init+0x0/0x68 @ 1

[    2.812452] initcall proc_cpuinfo_init+0x0/0x68 returned 0 after 14 usecs

[    2.812471] Doing 62

[    2.812497] calling  proc_devices_init+0x0/0x68 @ 1

[    2.812542] initcall proc_devices_init+0x0/0x68 returned 0 after 13 usecs

[    2.812562] Doing 63

[    2.812588] calling  proc_interrupts_init+0x0/0x68 @ 1

[    2.812632] initcall proc_interrupts_init+0x0/0x68 returned 0 after 13 usecs

[    2.812651] Doing 64

[    2.812678] calling  proc_loadavg_init+0x0/0x68 @ 1

[    2.812723] initcall proc_loadavg_init+0x0/0x68 returned 0 after 14 usecs

[    2.812744] Doing 65

[    2.812769] calling  proc_meminfo_init+0x0/0x68 @ 1

[    2.812816] initcall proc_meminfo_init+0x0/0x68 returned 0 after 14 usecs

[    2.812836] Doing 66

[    2.812864] calling  proc_stat_init+0x0/0x68 @ 1

[    2.812943] initcall proc_stat_init+0x0/0x68 returned 0 after 45 usecs

[    2.812963] Doing 67

[    2.812991] calling  proc_uptime_init+0x0/0x68 @ 1

[    2.813038] initcall proc_uptime_init+0x0/0x68 returned 0 after 14 usecs

[    2.813058] Doing 68

[    2.813086] calling  proc_version_init+0x0/0x68 @ 1

[    2.813133] initcall proc_version_init+0x0/0x68 returned 0 after 14 usecs

[    2.813151] Doing 69

[    2.813179] calling  proc_softirqs_init+0x0/0x68 @ 1

[    2.813224] initcall proc_softirqs_init+0x0/0x68 returned 0 after 14 usecs

[    2.813243] Doing 70

[    2.813270] calling  proc_kmsg_init+0x0/0x68 @ 1

[    2.813317] initcall proc_kmsg_init+0x0/0x68 returned 0 after 14 usecs

[    2.813336] Doing 71

[    2.813361] calling  proc_page_init+0x0/0xb0 @ 1

[    2.813419] initcall proc_page_init+0x0/0xb0 returned 0 after 27 usecs

[    2.813438] Doing 72

[    2.813463] calling  configfs_init+0x0/0x148 @ 1

[    2.814148] initcall configfs_init+0x0/0x148 returned 0 after 632 usecs

[    2.814170] Doing 73

[    2.814199] calling  init_devpts_fs+0x0/0xc0 @ 1

[    2.814753] initcall init_devpts_fs+0x0/0xc0 returned 0 after 504 usecs

[    2.814776] Doing 74

[    2.814807] calling  init_ext3_fs+0x0/0x88 @ 1

[    2.815359] initcall init_ext3_fs+0x0/0x88 returned 0 after 504 usecs

[    2.815381] Doing 75

[    2.815410] calling  init_ext2_fs+0x0/0x88 @ 1

[    2.815691] initcall init_ext2_fs+0x0/0x88 returned 0 after 243 usecs

[    2.815714] Doing 76

[    2.815748] calling  ext4_init_fs+0x0/0x298 @ 1

[    2.817225] initcall ext4_init_fs+0x0/0x298 returned 0 after 1402 usecs

[    2.817248] Doing 77

[    2.817281] calling  journal_init+0x0/0x38 @ 1

[    2.817873] initcall journal_init+0x0/0x38 returned 0 after 540 usecs

[    2.817897] Doing 78

[    2.817927] calling  journal_init+0x0/0x40 @ 1

[    2.818087] initcall journal_init+0x0/0x40 returned 0 after 121 usecs

[    2.818107] Doing 79

[    2.818137] calling  init_ramfs_fs+0x0/0x24 @ 1

[    2.818178] initcall init_ramfs_fs+0x0/0x24 returned 0 after 8 usecs

[    2.818196] Doing 80

[    2.818223] calling  init_fat_fs+0x0/0x60 @ 1

[    2.818723] initcall init_fat_fs+0x0/0x60 returned 0 after 452 usecs

[    2.818745] Doing 81

[    2.818774] calling  init_vfat_fs+0x0/0x24 @ 1

[    2.818814] initcall init_vfat_fs+0x0/0x24 returned 0 after 8 usecs

[    2.818833] Doing 82

[    2.818861] calling  init_msdos_fs+0x0/0x24 @ 1

[    2.818901] initcall init_msdos_fs+0x0/0x24 returned 0 after 7 usecs

[    2.818919] Doing 83

[    2.818949] calling  init_iso9660_fs+0x0/0x88 @ 1

[    2.819495] initcall init_iso9660_fs+0x0/0x88 returned 0 after 487 usecs

[    2.819516] Doing 84

[    2.819547] calling  init_nfs_fs+0x0/0x1b0 @ 1

[    2.821193] initcall init_nfs_fs+0x0/0x1b0 returned 0 after 1562 usecs

[    2.821219] Doing 85

[    2.821249] calling  init_nfs_v2+0x0/0x24 @ 1

[    2.821285] initcall init_nfs_v2+0x0/0x24 returned 0 after 2 usecs

[    2.821304] Doing 86

[    2.821332] calling  init_nfs_v3+0x0/0x24 @ 1

[    2.821365] initcall init_nfs_v3+0x0/0x24 returned 0 after 2 usecs

[    2.821384] Doing 87

[    2.821411] calling  init_nfs_v4+0x0/0x6c @ 1

[    2.821432] NFS: Registering the id_resolver key type

[    2.821530] Key type id_resolver registered

[    2.821558] Key type id_legacy registered

[    2.821624] initcall init_nfs_v4+0x0/0x6c returned 0 after 172 usecs

[    2.821645] Doing 88

[    2.821674] calling  init_nlm+0x0/0x9c @ 1

[    2.821756] initcall init_nlm+0x0/0x9c returned 0 after 46 usecs

[    2.821777] Doing 89

[    2.821808] calling  init_nls_cp437+0x0/0x24 @ 1

[    2.821842] initcall init_nls_cp437+0x0/0x24 returned 0 after 2 usecs

[    2.821861] Doing 90

[    2.821890] calling  init_nls_ascii+0x0/0x24 @ 1

[    2.821925] initcall init_nls_ascii+0x0/0x24 returned 0 after 2 usecs

[    2.821943] Doing 91

[    2.821972] calling  init_nls_iso8859_1+0x0/0x24 @ 1

[    2.822007] initcall init_nls_iso8859_1+0x0/0x24 returned 0 after 2 usecs

[    2.822025] Doing 92

[    2.822054] calling  init_nls_iso8859_15+0x0/0x24 @ 1

[    2.822089] initcall init_nls_iso8859_15+0x0/0x24 returned 0 after 2 usecs

[    2.822108] Doing 93

[    2.822138] calling  init_nls_utf8+0x0/0x6c @ 1

[    2.822175] initcall init_nls_utf8+0x0/0x6c returned 0 after 6 usecs

[    2.822193] Doing 94

[    2.822220] calling  init_ntfs_fs+0x0/0x32c @ 1

[    2.822239] NTFS driver 2.1.30 [Flags: R/W DEBUG].

[    2.822899] initcall init_ntfs_fs+0x0/0x32c returned 0 after 623 usecs

[    2.822922] Doing 95

[    2.822953] calling  init_jffs2_fs+0x0/0x124 @ 1

[    2.822974] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.

[    2.825337] initcall init_jffs2_fs+0x0/0x124 returned 0 after 2279 usecs

[    2.825365] Doing 96

[    2.825397] calling  init_autofs4_fs+0x0/0x44 @ 1

[    2.825840] initcall init_autofs4_fs+0x0/0x44 returned 0 after 392 usecs

[    2.825864] Doing 97

[    2.825895] calling  fuse_init+0x0/0xf0 @ 1

[    2.825918] fuse init (API version 7.22)

[    2.826833] initcall fuse_init+0x0/0xf0 returned 0 after 875 usecs

[    2.826858] Doing 98

[    2.826887] calling  init_udf_fs+0x0/0x68 @ 1

[    2.827199] initcall init_udf_fs+0x0/0x68 returned 0 after 274 usecs

[    2.827221] Doing 99

[    2.827247] calling  init_pstore_fs+0x0/0xa4 @ 1

[    2.827306] initcall init_pstore_fs+0x0/0xa4 returned 0 after 27 usecs

[    2.827326] Doing 100

[    2.827351] calling  ipc_init+0x0/0x30 @ 1

[    2.827406] msgmni has been set to 1965

[    2.827468] initcall ipc_init+0x0/0x30 returned 0 after 84 usecs

[    2.827487] Doing 101

[    2.827515] calling  ipc_sysctl_init+0x0/0x24 @ 1

[    2.827607] initcall ipc_sysctl_init+0x0/0x24 returned 0 after 58 usecs

[    2.827627] Doing 102

[    2.827654] calling  key_proc_init+0x0/0x88 @ 1

[    2.827703] initcall key_proc_init+0x0/0x88 returned 0 after 19 usecs

[    2.827726] Doing 103

[    2.827753] calling  selinux_nf_ip_init+0x0/0xac @ 1

[    2.827773] SELinux:  Registering netfilter hooks

[    2.827806] initcall selinux_nf_ip_init+0x0/0xac returned 0 after 24 usecs

[    2.827823] Doing 104

[    2.827848] calling  init_sel_fs+0x0/0x150 @ 1

[    2.829091] initcall init_sel_fs+0x0/0x150 returned 0 after 1179 usecs

[    2.829113] Doing 105

[    2.829140] calling  selnl_init+0x0/0xd4 @ 1

[    2.829202] initcall selnl_init+0x0/0xd4 returned 0 after 29 usecs

[    2.829224] Doing 106

[    2.829251] calling  sel_netif_init+0x0/0xcc @ 1

[    2.829295] initcall sel_netif_init+0x0/0xcc returned 0 after 12 usecs

[    2.829314] Doing 107

[    2.829341] calling  sel_netnode_init+0x0/0xf8 @ 1

[    2.829383] initcall sel_netnode_init+0x0/0xf8 returned 0 after 13 usecs

[    2.829402] Doing 108

[    2.829428] calling  sel_netport_init+0x0/0xf8 @ 1

[    2.829471] initcall sel_netport_init+0x0/0xf8 returned 0 after 14 usecs

[    2.829490] Doing 109

[    2.829516] calling  aurule_init+0x0/0x50 @ 1

[    2.829546] initcall aurule_init+0x0/0x50 returned 0 after 3 usecs

[    2.829565] Doing 110

[    2.829590] calling  crypto_algapi_init+0x0/0x1c @ 1

[    2.829647] initcall crypto_algapi_init+0x0/0x1c returned 0 after 24 usecs

[    2.829666] Doing 111

[    2.829692] calling  skcipher_module_init+0x0/0x78 @ 1

[    2.829724] initcall skcipher_module_init+0x0/0x78 returned 0 after 1 usecs

[    2.829742] Doing 112

[    2.829768] calling  chainiv_module_init+0x0/0x24 @ 1

[    2.829803] initcall chainiv_module_init+0x0/0x24 returned 0 after 6 usecs

[    2.829822] Doing 113

[    2.829847] calling  eseqiv_module_init+0x0/0x24 @ 1

[    2.829879] initcall eseqiv_module_init+0x0/0x24 returned 0 after 3 usecs

[    2.829898] Doing 114

[    2.829923] calling  seqiv_module_init+0x0/0x24 @ 1

[    2.829958] initcall seqiv_module_init+0x0/0x24 returned 0 after 4 usecs

[    2.829975] Doing 115

[    2.830004] calling  crypto_user_init+0x0/0xcc @ 1

[    2.830055] initcall crypto_user_init+0x0/0xcc returned 0 after 20 usecs

[    2.830079] Doing 116

[    2.830106] calling  hmac_module_init+0x0/0x24 @ 1

[    2.830139] initcall hmac_module_init+0x0/0x24 returned 0 after 4 usecs

[    2.830160] Doing 117

[    2.830188] calling  crypto_null_mod_init+0x0/0x88 @ 1

[    2.831507] initcall crypto_null_mod_init+0x0/0x88 returned 0 after 1247 usecs

[    2.831534] Doing 118

[    2.831563] calling  md4_mod_init+0x0/0x24 @ 1

[    2.831849] initcall md4_mod_init+0x0/0x24 returned 0 after 244 usecs

[    2.831872] Doing 119

[    2.831900] calling  md5_mod_init+0x0/0x24 @ 1

[    2.832184] initcall md5_mod_init+0x0/0x24 returned 0 after 242 usecs

[    2.832207] Doing 120

[    2.832234] calling  rmd128_mod_init+0x0/0x24 @ 1

[    2.832513] initcall rmd128_mod_init+0x0/0x24 returned 0 after 237 usecs

[    2.832537] Doing 121

[    2.832564] calling  rmd160_mod_init+0x0/0x24 @ 1

[    2.832846] initcall rmd160_mod_init+0x0/0x24 returned 0 after 240 usecs

[    2.832869] Doing 122

[    2.832898] calling  rmd256_mod_init+0x0/0x24 @ 1

[    2.833176] initcall rmd256_mod_init+0x0/0x24 returned 0 after 238 usecs

[    2.833199] Doing 123

[    2.833226] calling  rmd320_mod_init+0x0/0x24 @ 1

[    2.833503] initcall rmd320_mod_init+0x0/0x24 returned 0 after 234 usecs

[    2.833527] Doing 124

[    2.833554] calling  sha1_generic_mod_init+0x0/0x24 @ 1

[    2.833833] initcall sha1_generic_mod_init+0x0/0x24 returned 0 after 236 usecs

[    2.833860] Doing 125

[    2.833891] calling  sha256_generic_mod_init+0x0/0x28 @ 1

[    2.834564] initcall sha256_generic_mod_init+0x0/0x28 returned 0 after 618 usecs

[    2.834590] Doing 126

[    2.834622] calling  sha512_generic_mod_init+0x0/0x28 @ 1

[    2.835184] initcall sha512_generic_mod_init+0x0/0x28 returned 0 after 512 usecs

[    2.835208] Doing 127

[    2.835235] calling  wp512_mod_init+0x0/0x28 @ 1

[    2.836049] initcall wp512_mod_init+0x0/0x28 returned 0 after 758 usecs

[    2.836073] Doing 128

[    2.836101] calling  tgr192_mod_init+0x0/0x28 @ 1

[    2.836869] initcall tgr192_mod_init+0x0/0x28 returned 0 after 712 usecs

[    2.836894] Doing 129

[    2.836924] calling  crypto_ecb_module_init+0x0/0x24 @ 1

[    2.836962] initcall crypto_ecb_module_init+0x0/0x24 returned 0 after 5 usecs

[    2.836981] Doing 130

[    2.837008] calling  crypto_cbc_module_init+0x0/0x24 @ 1

[    2.837041] initcall crypto_cbc_module_init+0x0/0x24 returned 0 after 3 usecs

[    2.837061] Doing 131

[    2.837088] calling  crypto_cts_module_init+0x0/0x24 @ 1

[    2.837122] initcall crypto_cts_module_init+0x0/0x24 returned 0 after 4 usecs

[    2.837141] Doing 132

[    2.837166] calling  crypto_module_init+0x0/0x24 @ 1

[    2.837198] initcall crypto_module_init+0x0/0x24 returned 0 after 3 usecs

[    2.837219] Doing 133

[    2.837245] calling  crypto_module_init+0x0/0x24 @ 1

[    2.837278] initcall crypto_module_init+0x0/0x24 returned 0 after 4 usecs

[    2.837296] Doing 134

[    2.837321] calling  crypto_ctr_module_init+0x0/0x74 @ 1

[    2.837358] initcall crypto_ctr_module_init+0x0/0x74 returned 0 after 7 usecs

[    2.837376] Doing 135

[    2.837402] calling  crypto_gcm_module_init+0x0/0x14c @ 1

[    2.837451] initcall crypto_gcm_module_init+0x0/0x14c returned 0 after 18 usecs

[    2.837470] Doing 136

[    2.837496] calling  crypto_ccm_module_init+0x0/0xa4 @ 1

[    2.837537] initcall crypto_ccm_module_init+0x0/0xa4 returned 0 after 11 usecs

[    2.837556] Doing 137

[    2.837583] calling  des_generic_mod_init+0x0/0x28 @ 1

[    2.838115] initcall des_generic_mod_init+0x0/0x28 returned 0 after 483 usecs

[    2.838140] Doing 138

[    2.838169] calling  blowfish_mod_init+0x0/0x24 @ 1

[    2.838530] initcall blowfish_mod_init+0x0/0x24 returned 0 after 317 usecs

[    2.838555] Doing 139

[    2.838584] calling  twofish_mod_init+0x0/0x24 @ 1

[    2.838875] initcall twofish_mod_init+0x0/0x24 returned 0 after 244 usecs

[    2.838899] Doing 140

[    2.838926] calling  aes_init+0x0/0x24 @ 1

[    2.839207] initcall aes_init+0x0/0x24 returned 0 after 239 usecs

[    2.839230] Doing 141

[    2.839259] calling  camellia_init+0x0/0x24 @ 1

[    2.839548] initcall camellia_init+0x0/0x24 returned 0 after 246 usecs

[    2.839571] Doing 142

[    2.839599] calling  arc4_init+0x0/0x28 @ 1

[    2.840128] initcall arc4_init+0x0/0x28 returned 0 after 480 usecs

[    2.840152] Doing 143

[    2.840180] calling  deflate_mod_init+0x0/0x24 @ 1

[    2.840463] initcall deflate_mod_init+0x0/0x24 returned 0 after 239 usecs

[    2.840488] Doing 144

[    2.840517] calling  michael_mic_init+0x0/0x24 @ 1

[    2.840804] initcall michael_mic_init+0x0/0x24 returned 0 after 244 usecs

[    2.840828] Doing 145

[    2.840856] calling  crc32c_mod_init+0x0/0x24 @ 1

[    2.841196] initcall crc32c_mod_init+0x0/0x24 returned 0 after 295 usecs

[    2.841219] Doing 146

[    2.841251] calling  crypto_authenc_module_init+0x0/0x24 @ 1

[    2.841291] initcall crypto_authenc_module_init+0x0/0x24 returned 0 after 8 usecs

[    2.841311] Doing 147

[    2.841338] calling  crypto_authenc_esn_module_init+0x0/0x24 @ 1

[    2.841372] initcall crypto_authenc_esn_module_init+0x0/0x24 returned 0 after 3 usecs

[    2.841391] Doing 148

[    2.841416] calling  lzo_mod_init+0x0/0x24 @ 1

[    2.841698] initcall lzo_mod_init+0x0/0x24 returned 0 after 240 usecs

[    2.841723] Doing 149

[    2.841751] calling  krng_mod_init+0x0/0x24 @ 1

[    2.842071] initcall krng_mod_init+0x0/0x24 returned 0 after 276 usecs

[    2.842094] Doing 150

[    2.842123] calling  ghash_mod_init+0x0/0x24 @ 1

[    2.842419] initcall ghash_mod_init+0x0/0x24 returned 0 after 250 usecs

[    2.842442] Doing 151

[    2.842473] calling  proc_genhd_init+0x0/0xb0 @ 1

[    2.842551] initcall proc_genhd_init+0x0/0xb0 returned 0 after 43 usecs

[    2.842573] Doing 152

[    2.842602] calling  noop_init+0x0/0x24 @ 1

[    2.842625] io scheduler noop registered

[    2.842654] initcall noop_init+0x0/0x24 returned 0 after 22 usecs

[    2.842672] Doing 153

[    2.842699] calling  deadline_init+0x0/0x24 @ 1

[    2.842721] io scheduler deadline registered

[    2.842752] initcall deadline_init+0x0/0x24 returned 0 after 23 usecs

[    2.842773] Doing 154

[    2.842798] calling  cfq_init+0x0/0x108 @ 1

[    2.843228] io scheduler cfq registered (default)

[    2.843266] initcall cfq_init+0x0/0x108 returned 0 after 423 usecs

[    2.843286] Doing 155

[    2.843317] calling  libcrc32c_mod_init+0x0/0x84 @ 1

[    2.843371] initcall libcrc32c_mod_init+0x0/0x84 returned 0 after 21 usecs

[    2.843390] Doing 156

[    2.843416] calling  init_kmp+0x0/0x24 @ 1

[    2.843448] initcall init_kmp+0x0/0x24 returned 0 after 2 usecs

[    2.843466] Doing 157

[    2.843492] calling  init_bm+0x0/0x24 @ 1

[    2.843523] initcall init_bm+0x0/0x24 returned 0 after 2 usecs

[    2.843541] Doing 158

[    2.843567] calling  init_fsm+0x0/0x24 @ 1

[    2.843597] initcall init_fsm+0x0/0x24 returned 0 after 2 usecs

[    2.843616] Doing 159

[    2.843644] calling  percpu_counter_startup+0x0/0x28 @ 1

[    2.843682] initcall percpu_counter_startup+0x0/0x28 returned 0 after 7 usecs

[    2.843702] Doing 160

[    2.843729] calling  audit_classes_init+0x0/0x68 @ 1

[    2.843775] initcall audit_classes_init+0x0/0x68 returned 0 after 13 usecs

[    2.843795] Doing 161

[    2.843825] calling  weim_driver_init+0x0/0x24 @ 1

[    2.844472] imx-weim 21b8000.weim: WEIM driver registered.

[    2.844769] initcall weim_driver_init+0x0/0x24 returned 0 after 883 usecs

[    2.844792] Doing 162

[    2.844825] calling  imx_pwm_driver_init+0x0/0x24 @ 1

[    2.846388] initcall imx_pwm_driver_init+0x0/0x24 returned 0 after 1484 usecs

[    2.846411] Doing 163

[    2.846443] calling  pci_proc_init+0x0/0xd4 @ 1

[    2.846551] initcall pci_proc_init+0x0/0xd4 returned 0 after 68 usecs

[    2.846571] Doing 164

[    2.846602] calling  pcie_portdrv_init+0x0/0xb4 @ 1

[    2.847531] initcall pcie_portdrv_init+0x0/0xb4 returned 0 after 868 usecs

[    2.847555] Doing 165

[    2.847587] calling  aer_service_init+0x0/0x50 @ 1

[    2.847854] aer 0000:00:00.0:pcie02: service driver aer loaded

[    2.847948] initcall aer_service_init+0x0/0x50 returned 0 after 318 usecs

[    2.847969] Doing 166

[    2.848002] calling  pcie_pme_service_init+0x0/0x24 @ 1

[    2.848171] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt

[    2.848212] pcie_pme 0000:00:00.0:pcie01: service driver pcie_pme loaded

[    2.848306] initcall pcie_pme_service_init+0x0/0x24 returned 0 after 258 usecs

[    2.848328] Doing 167

[    2.848358] calling  fb_console_init+0x0/0x114 @ 1

[    2.848559] initcall fb_console_init+0x0/0x114 returned 0 after 162 usecs

[    2.848581] Doing 168

[    2.848615] calling  l4f00242t03_driver_init+0x0/0x24 @ 1

[    2.848714] initcall l4f00242t03_driver_init+0x0/0x24 returned 0 after 63 usecs

[    2.848735] Doing 169

[    2.848765] calling  platform_lcd_driver_init+0x0/0x24 @ 1

[    2.849304] initcall platform_lcd_driver_init+0x0/0x24 returned 0 after 487 usecs

[    2.849327] Doing 170

[    2.849358] calling  genericbl_driver_init+0x0/0x24 @ 1

[    2.849610] initcall genericbl_driver_init+0x0/0x24 returned 0 after 208 usecs

[    2.849632] Doing 171

[    2.849662] calling  pwm_backlight_driver_init+0x0/0x24 @ 1

[    2.851550] imx-pwm 2084000.pwm: pwm enabled

[    2.904465] initcall pwm_backlight_driver_init+0x0/0x24 returned 0 after 53472 usecs

[    2.904492] Doing 172

[    2.904521] calling  ldb_driver_init+0x0/0x24 @ 1

[    2.906488] initcall ldb_driver_init+0x0/0x24 returned 0 after 1879 usecs

[    2.906511] Doing 173

[    2.906543] calling  mipi_dsi_init+0x0/0x5c @ 1

[    2.907254] MIPI DSI driver module loaded

[    2.907293] initcall mipi_dsi_init+0x0/0x5c returned 0 after 697 usecs

[    2.907313] Doing 174

[    2.907343] calling  mxc_hdmi_i2c_init+0x0/0x28 @ 1

[    2.907615] initcall mxc_hdmi_i2c_init+0x0/0x28 returned 0 after 226 usecs

[    2.907638] Doing 175

[    2.907667] calling  mxc_hdmi_init+0x0/0x24 @ 1

[    2.909310] initcall mxc_hdmi_init+0x0/0x24 returned 0 after 1562 usecs

[    2.909336] Doing 176

[    2.909365] calling  mxc_lcdif_init+0x0/0x24 @ 1

[    2.909895] initcall mxc_lcdif_init+0x0/0x24 returned 0 after 480 usecs

[    2.909918] Doing 177

[    2.909949] calling  mxcfb_init+0x0/0x24 @ 1

[    2.910597] mxc_sdc_fb fb.24: registered mxc display driver ldb

[    2.954454] imx-ipuv3 2800000.ipu: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)

[    3.172492] Console: switching to colour frame buffer device 128x37

[    3.210270] mxc_hdmi 20e0000.hdmi_video: Detected HDMI controller 0x13:0xa:0xa0:0xc1

[    3.210326] fbcvt: 1920x1080@60: CVT Name - 2.073M9

[    3.210515] mxc_sdc_fb fb.25: registered mxc display driver hdmi

[    3.320320] mxc_sdc_fb fb.26: Can't get fb option for mxcfb2!

[    3.320521] mxc_sdc_fb fb.27: Can't get fb option for mxcfb3!

[    3.320699] initcall mxcfb_init+0x0/0x24 returned 0 after 401079 usecs

[    3.320722] Doing 178

[    3.320755] calling  mxc_epdc_fb_driver_init+0x0/0x24 @ 1

[    3.321365] initcall mxc_epdc_fb_driver_init+0x0/0x24 returned 0 after 558 usecs

[    3.321388] Doing 179

[    3.321419] calling  sii902x_driver_init+0x0/0x28 @ 1

[    3.321589] initcall sii902x_driver_init+0x0/0x28 returned 0 after 131 usecs

[    3.321611] Doing 180

[    3.321641] calling  cabc_driver_init+0x0/0x24 @ 1

[    3.322098] initcall cabc_driver_init+0x0/0x24 returned 0 after 411 usecs

[    3.322118] Doing 181

[    3.322148] calling  mx3fb_init+0x0/0x4c @ 1

[    3.322398] initcall mx3fb_init+0x0/0x4c returned 0 after 210 usecs

[    3.322418] Doing 182

[    3.322446] calling  mxsfb_driver_init+0x0/0x24 @ 1

[    3.323124] initcall mxsfb_driver_init+0x0/0x24 returned 0 after 627 usecs

[    3.323144] Doing 183

[    3.323174] calling  pxp_driver_init+0x0/0x24 @ 1

[    3.323665] initcall pxp_driver_init+0x0/0x24 returned 0 after 445 usecs

[    3.323687] Doing 184

[    3.323716] calling  sdma_module_init+0x0/0x2c @ 1

[    3.324406] imx-sdma 20ec000.sdma: no iram assigned, using external mem

[    3.329132] imx-sdma 20ec000.sdma: loaded firmware 1.1

[    3.336107] imx-sdma 20ec000.sdma: initialized

[    3.336612] initcall sdma_module_init+0x0/0x2c returned 0 after 12549 usecs

[    3.336634] Doing 185

[    3.336667] calling  pfuze_driver_init+0x0/0x28 @ 1

[    3.338582] pfuze100-regulator 1-0008: Full lay: 2, Metal lay: 1

[    3.339328] pfuze100-regulator 1-0008: FAB: 0, FIN: 0

[    3.339361] pfuze100-regulator 1-0008: pfuze100 found.

[    3.341469] SW1AB: 300 <--> 1875 mV at 1150 mV

[    3.343964] SW1C: 300 <--> 1875 mV at 1175 mV

[    3.346466] SW2: 800 <--> 3300 mV at 3300 mV

[    3.348991] SW3A: 400 <--> 1975 mV at 1350 mV

[    3.351468] SW3B: 400 <--> 1975 mV at 1350 mV

[    3.354056] SW4: 800 <--> 1975 mV at 1800 mV

[    3.355891] SWBST: 5000 <--> 5150 mV at 5000 mV

[    3.357639] VSNVS: 1000 <--> 3000 mV at 3000 mV

[    3.358704] VREFDDR: 750 mV

[    3.359735] VGEN1: 800 <--> 1550 mV at 1200 mV

[    3.361530] VGEN2: 800 <--> 1550 mV at 1500 mV

[    3.364167] VGEN3: 1800 <--> 3300 mV at 2800 mV

[    3.366740] VGEN4: 1800 <--> 3300 mV at 3300 mV

[    3.369245] VGEN5: 1800 <--> 3300 mV at 3300 mV

[    3.371714] VGEN6: 1800 <--> 3300 mV at 3000 mV

[    3.375737] VCOIN: 3000 mV                                      

[    3.376800] initcall pfuze_driver_init+0x0/0x28 returned 0 after     | usecs

[    3.376825] Doing 186                                               |

[    3.376858] calling  pty_init+0x0/0x1c @ 1                      

[    3.377261] initcall pty_init+0x0/0x1c returned 0 after 355 usecs

[    3.377286] Doing 187

[    3.377317] calling  sysrq_init+0x0/0x104 @ 1

[    3.377392] initcall sysrq_init+0x0/0x104 returned 0 after 40 usecs

[    3.377411] Doing 188

[    3.377441] calling  imx_serial_init+0x0/0x78 @ 1

[    3.377459] Serial: IMX driver

[    3.378182] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX

[    9.706144] console [ttymxc0] enabled

[    9.711306] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 60) is a IMX

[    9.719339] 21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 61) is a IMX

[    9.727160] 21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 62) is a IMX

[    9.734940] initcall imx_serial_init+0x0/0x78 returned 0 after 6208452 usecs

[    9.742022] Doing 189

[    9.744384] calling  init_kgdboc+0x0/0x38 @ 1

[    9.748800] kgdb: Registered I/O driver kgdboc.

[    9.753371] kgdb: Waiting for connection from remote gdb...

0 Kudos