This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/am3351: Kernel crash at UART initialization

Part Number: AM3351

Tool/software: Linux

hi, i am using UART0 only, but evm have 6 uarts in dts file, i want to disable remaining uarts(1-5) after commenting in dts file i am getting below error, please suggest me what are the other places need to change.

aliases {
        i2c0 = &i2c0;
        i2c1 = &i2c1;
        i2c2 = &i2c2;
        serial0 = &uart0;
        /*serial1 = &uart1; 06-11-17
        serial2 = &uart2;
        serial3 = &uart3;
        serial4 = &uart4;
        serial5 = &uart5;*/
        d_can0 = &dcan0;
        d_can1 = &dcan1;
        usb0 = &usb0;
        usb1 = &usb1;
        phy0 = &usb0_phy;
        phy1 = &usb1_phy;
        ethernet0 = &cpsw_emac0;
        ethernet1 = &cpsw_emac1;
    };

///////error log//////

  0.060009] CPU: Testing write buffer coherency: ok
[    0.060809] Setting up static identity map for 0x80008200 - 0x80008258
[    0.066004] devtmpfs: initialized
[    0.092005] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.109784] omap_hwmod: uart2: no dt node
[    0.109830] ------------[ cut here ]------------
[    0.109894] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2533 _init.constprop.22+0x1fc/0x424()
[    0.109913] omap_hwmod: uart2: doesn't have mpu register target base
[    0.109928] Modules linked in:
[    0.109970] CPU: 0 PID: 1 Comm: swapper Not tainted 4.4.12-g3639bea54a #9
[    0.109991] Hardware name: Generic AM33XX (Flattened Device Tree)
[    0.110006] Backtrace:
[    0.110076] [<c00134e0>] (dump_backtrace) from [<c00136dc>] (show_stack+0x18/0x1c)
[    0.110096]  r7:c0770ad4 r6:000009e5 r5:00000009 r4:00000000
[    0.110164] [<c00136c4>] (show_stack) from [<c02450a8>] (dump_stack+0x24/0x28)
[    0.110212] [<c0245084>] (dump_stack) from [<c0031b4c>] (warn_slowpath_common+0x88/0xb4)
[    0.110248] [<c0031ac4>] (warn_slowpath_common) from [<c0031bb0>] (warn_slowpath_fmt+0x38/0x40)
[    0.110265]  r8:00000081 r7:cf0b2380 r6:00000000 r5:00000000 r4:c06c6674
[    0.110330] [<c0031b7c>] (warn_slowpath_fmt) from [<c0770ad4>] (_init.constprop.22+0x1fc/0x424)
[    0.110347]  r3:c06c7924 r2:c06c6674
[    0.110371]  r4:c07ac918
[    0.110409] [<c07708d8>] (_init.constprop.22) from [<c0770e2c>] (__omap_hwmod_setup_all+0x48/0x98)
[    0.110427]  r10:00000000 r9:c0765600 r8:00000081 r7:cf0b2380 r6:c07a8ca0 r5:c07aab98
[    0.110473]  r4:c07ac918
[    0.110510] [<c0770de4>] (__omap_hwmod_setup_all) from [<c00096bc>] (do_one_initcall+0x98/0x1e4)
[    0.110527]  r5:c0770de4 r4:c07a8ca0
[    0.110591] [<c0009624>] (do_one_initcall) from [<c0765e80>] (kernel_init_freeable+0x138/0x1cc)
[    0.110608]  r10:00000002 r9:c0765600 r8:00000081 r7:c079681c r6:c07a2334 r5:c07db000
[    0.110653]  r4:c07db000
[    0.110708] [<c0765d48>] (kernel_init_freeable) from [<c0582590>] (kernel_init+0x18/0xf4)
[    0.110725]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0582578
[    0.110769]  r4:c07db000
[    0.110806] [<c0582578>] (kernel_init) from [<c000fab8>] (ret_from_fork+0x14/0x3c)
[    0.110823]  r5:c0582578 r4:00000000
[    0.110923] ---[ end trace e261df2aa2e3c1db ]---
[    0.111520] omap_hwmod: uart3: no dt node
[    0.111539] ------------[ cut here ]------------
[    0.111582] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2533 _init.constprop.22+0x1fc/0x424()
[    0.111600] omap_hwmod: uart3: doesn't have mpu register target base
[    0.111614] Modules linked in:
[    0.111645] CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.4.12-g3639bea54a #9
[    0.111664] Hardware name: Generic AM33XX (Flattened Device Tree)
[    0.111677] Backtrace:
[    0.111721] [<c00134e0>] (dump_backtrace) from [<c00136dc>] (show_stack+0x18/0x1c)
[    0.111739]  r7:c0770ad4 r6:000009e5 r5:00000009 r4:00000000
[    0.111797] [<c00136c4>] (show_stack) from [<c02450a8>] (dump_stack+0x24/0x28)
[    0.111835] [<c0245084>] (dump_stack) from [<c0031b4c>] (warn_slowpath_common+0x88/0xb4)
[    0.111870] [<c0031ac4>] (warn_slowpath_common) from [<c0031bb0>] (warn_slowpath_fmt+0x38/0x40)
[    0.111887]  r8:00000081 r7:cf0b2380 r6:00000000 r5:00000000 r4:c06c6674
[    0.111950] [<c0031b7c>] (warn_slowpath_fmt) from [<c0770ad4>] (_init.constprop.22+0x1fc/0x424)
[    0.111967]  r3:c06c791c r2:c06c6674
[    0.111990]  r4:c07ac99c
[    0.112028] [<c07708d8>] (_init.constprop.22) from [<c0770e2c>] (__omap_hwmod_setup_all+0x48/0x98)
[    0.112046]  r10:00000000 r9:c0765600 r8:00000081 r7:cf0b2380 r6:c07a8ca0 r5:c07aab98
[    0.112090]  r4:c07ac99c
[    0.112126] [<c0770de4>] (__omap_hwmod_setup_all) from [<c00096bc>] (do_one_initcall+0x98/0x1e4)
[    0.112143]  r5:c0770de4 r4:c07a8ca0
[    0.112190] [<c0009624>] (do_one_initcall) from [<c0765e80>] (kernel_init_freeable+0x138/0x1cc)
[    0.112207]  r10:00000002 r9:c0765600 r8:00000081 r7:c079681c r6:c07a2334 r5:c07db000
[    0.112252]  r4:c07db000
[    0.112296] [<c0765d48>] (kernel_init_freeable) from [<c0582590>] (kernel_init+0x18/0xf4)
[    0.112313]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0582578
[    0.112357]  r4:c07db000
[    0.112394] [<c0582578>] (kernel_init) from [<c000fab8>] (ret_from_fork+0x14/0x3c)
[    0.112411]  r5:c0582578 r4:00000000
[    0.112437] ---[ end trace e261df2aa2e3c1dc ]---
[    0.112985] omap_hwmod: uart4: no dt node
[    0.113001] ------------[ cut here ]------------
[    0.113038] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2533 _init.constprop.22+0x1fc/0x424()
[    0.113057] omap_hwmod: uart4: doesn't have mpu register target base
[    0.113070] Modules linked in:
[    0.113099] CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.4.12-g3639bea54a #9
[    0.113117] Hardware name: Generic AM33XX (Flattened Device Tree)
[    0.113130] Backtrace:
[    0.113175] [<c00134e0>] (dump_backtrace) from [<c00136dc>] (show_stack+0x18/0x1c)
[    0.113192]  r7:c0770ad4 r6:000009e5 r5:00000009 r4:00000000
[    0.113248] [<c00136c4>] (show_stack) from [<c02450a8>] (dump_stack+0x24/0x28)
[    0.113285] [<c0245084>] (dump_stack) from [<c0031b4c>] (warn_slowpath_common+0x88/0xb4)
[    0.113321] [<c0031ac4>] (warn_slowpath_common) from [<c0031bb0>] (warn_slowpath_fmt+0x38/0x40)
[    0.113337]  r8:00000081 r7:cf0b2380 r6:00000000 r5:00000000 r4:c06c6674
[    0.113400] [<c0031b7c>] (warn_slowpath_fmt) from [<c0770ad4>] (_init.constprop.22+0x1fc/0x424)
[    0.113418]  r3:c06c7914 r2:c06c6674
[    0.113441]  r4:c07aca20
[    0.113479] [<c07708d8>] (_init.constprop.22) from [<c0770e2c>] (__omap_hwmod_setup_all+0x48/0x98)
[    0.113496]  r10:00000000 r9:c0765600 r8:00000081 r7:cf0b2380 r6:c07a8ca0 r5:c07aab98
[    0.113541]  r4:c07aca20
[    0.113577] [<c0770de4>] (__omap_hwmod_setup_all) from [<c00096bc>] (do_one_initcall+0x98/0x1e4)
[    0.113594]  r5:c0770de4 r4:c07a8ca0
[    0.113639] [<c0009624>] (do_one_initcall) from [<c0765e80>] (kernel_init_freeable+0x138/0x1cc)
[    0.113656]  r10:00000002 r9:c0765600 r8:00000081 r7:c079681c r6:c07a2334 r5:c07db000
[    0.113700]  r4:c07db000
[    0.113739] [<c0765d48>] (kernel_init_freeable) from [<c0582590>] (kernel_init+0x18/0xf4)
[    0.113756]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0582578
[    0.113800]  r4:c07db000
[    0.113836] [<c0582578>] (kernel_init) from [<c000fab8>] (ret_from_fork+0x14/0x3c)
[    0.113853]  r5:c0582578 r4:00000000
[    0.113878] ---[ end trace e261df2aa2e3c1dd ]---
[    0.114412] omap_hwmod: uart5: no dt node
[    0.114428] ------------[ cut here ]------------
[    0.114463] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2533 _init.constprop.22+0x1fc/0x424()
[    0.114481] omap_hwmod: uart5: doesn't have mpu register target base
[    0.114493] Modules linked in:
[    0.114522] CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.4.12-g3639bea54a #9
[    0.114539] Hardware name: Generic AM33XX (Flattened Device Tree)
[    0.114552] Backtrace:
[    0.114594] [<c00134e0>] (dump_backtrace) from [<c00136dc>] (show_stack+0x18/0x1c)
[    0.114611]  r7:c0770ad4 r6:000009e5 r5:00000009 r4:00000000
[    0.114666] [<c00136c4>] (show_stack) from [<c02450a8>] (dump_stack+0x24/0x28)
[    0.114702] [<c0245084>] (dump_stack) from [<c0031b4c>] (warn_slowpath_common+0x88/0xb4)
[    0.114738] [<c0031ac4>] (warn_slowpath_common) from [<c0031bb0>] (warn_slowpath_fmt+0x38/0x40)
[    0.114754]  r8:00000081 r7:cf0b2380 r6:00000000 r5:00000000 r4:c06c6674
[    0.114818] [<c0031b7c>] (warn_slowpath_fmt) from [<c0770ad4>] (_init.constprop.22+0x1fc/0x424)
[    0.114835]  r3:c06c790c r2:c06c6674
[    0.114858]  r4:c07acaa4
[    0.114896] [<c07708d8>] (_init.constprop.22) from [<c0770e2c>] (__omap_hwmod_setup_all+0x48/0x98)
[    0.114913]  r10:00000000 r9:c0765600 r8:00000081 r7:cf0b2380 r6:c07a8ca0 r5:c07aab98
[    0.114958]  r4:c07acaa4
[    0.114994] [<c0770de4>] (__omap_hwmod_setup_all) from [<c00096bc>] (do_one_initcall+0x98/0x1e4)
[    0.115011]  r5:c0770de4 r4:c07a8ca0
[    0.115056] [<c0009624>] (do_one_initcall) from [<c0765e80>] (kernel_init_freeable+0x138/0x1cc)
[    0.115073]  r10:00000002 r9:c0765600 r8:00000081 r7:c079681c r6:c07a2334 r5:c07db000
[    0.115118]  r4:c07db000
[    0.115157] [<c0765d48>] (kernel_init_freeable) from [<c0582590>] (kernel_init+0x18/0xf4)
[    0.115174]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0582578
[    0.115218]  r4:c07db000
[    0.115254] [<c0582578>] (kernel_init) from [<c000fab8>] (ret_from_fork+0x14/0x3c)
[    0.115270]  r5:c0582578 r4:00000000
[    0.115295] ---[ end trace e261df2aa2e3c1de ]---
[    0.115814] omap_hwmod: uart6: no dt node
[    0.115829] ------------[ cut here ]------------
[    0.115864] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2533 _init.constprop.22+0x1fc/0x424()
[    0.115882] omap_hwmod: uart6: doesn't have mpu register target base
[    0.115895] Modules linked in:
[    0.115923] CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.4.12-g3639bea54a #9
[    0.115941] Hardware name: Generic AM33XX (Flattened Device Tree)
[    0.115954] Backtrace:
[    0.115996] [<c00134e0>] (dump_backtrace) from [<c00136dc>] (show_stack+0x18/0x1c)
[    0.116013]  r7:c0770ad4 r6:000009e5 r5:00000009 r4:00000000
[    0.116068] [<c00136c4>] (show_stack) from [<c02450a8>] (dump_stack+0x24/0x28)
[    0.116104] [<c0245084>] (dump_stack) from [<c0031b4c>] (warn_slowpath_common+0x88/0xb4)
[    0.116139] [<c0031ac4>] (warn_slowpath_common) from [<c0031bb0>] (warn_slowpath_fmt+0x38/0x40)
[    0.116156]  r8:00000081 r7:cf0b2380 r6:00000000 r5:00000000 r4:c06c6674
[    0.116219] [<c0031b7c>] (warn_slowpath_fmt) from [<c0770ad4>] (_init.constprop.22+0x1fc/0x424)
[    0.116236]  r3:c06c78f0 r2:c06c6674
[    0.116259]  r4:c07acb28
[    0.116297] [<c07708d8>] (_init.constprop.22) from [<c0770e2c>] (__omap_hwmod_setup_all+0x48/0x98)
[    0.116313]  r10:00000000 r9:c0765600 r8:00000081 r7:cf0b2380 r6:c07a8ca0 r5:c07aab98
[    0.116359]  r4:c07acb28
[    0.116394] [<c0770de4>] (__omap_hwmod_setup_all) from [<c00096bc>] (do_one_initcall+0x98/0x1e4)
[    0.116411]  r5:c0770de4 r4:c07a8ca0
[    0.116455] [<c0009624>] (do_one_initcall) from [<c0765e80>] (kernel_init_freeable+0x138/0x1cc)
[    0.116472]  r10:00000002 r9:c0765600 r8:00000081 r7:c079681c r6:c07a2334 r5:c07db000
[    0.116517]  r4:c07db000
[    0.116557] [<c0765d48>] (kernel_init_freeable) from [<c0582590>] (kernel_init+0x18/0xf4)
[    0.116574]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0582578
[    0.116618]  r4:c07db000
[    0.116654] [<c0582578>] (kernel_init) from [<c000fab8>] (ret_from_fork+0x14/0x3c)
[    0.116671]  r5:c0582578 r4:00000000
[    0.116695] ---[ end trace e261df2aa2e3c1df ]---
[    0.129527] omap_hwmod: debugss: _wait_target_disable failed
[    0.134474] omap_hwmod: d_can0: _wait_target_ready failed: -16
[    0.134498] omap_hwmod: d_can0: cannot be enabled for reset (3)
[    0.138424] omap_hwmod: d_can1: _wait_target_ready failed: -16
[    0.138444] omap_hwmod: d_can1: cannot be enabled for reset (3)
[    0.207577] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.212242] pinctrl core: initialized pinctrl subsystem
[    0.215165] NET: Registered protocol family 16
[    0.220504] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.247850] cpuidle: using governor ladder
[    0.277829] cpuidle: using governor menu
[    0.289180] OMAP GPIO hardware version 0.1
[    0.292240] omap_gpio 481ac000.gpio: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_gpio2_pins, deferrie
[    0.292996] omap_gpio 481ae000.gpio: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_gpio3_pins, deferrie
[    0.311253] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.368323] edma 49000000.edma: TI EDMA DMA engine driver
[    0.375875] usbcore: registered new interface driver usbfs
[    0.376065] usbcore: registered new interface driver hub
[    0.376328] usbcore: registered new device driver usb