Advertisement
Guest User

Untitled

a guest
Apr 7th, 2013
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.98 KB | None | 0 0
  1. /*
  2. * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. /dts-v1/;
  9. /plugin/;
  10.  
  11. / {
  12. compatible = "ti,beaglebone", "ti,beaglebone-black";
  13.  
  14. part-number = "pwm_P8_13";
  15. version = "00A0";
  16. fragment@0 {
  17. target = <&am33xx_pinmux>;
  18. __overlay__ {
  19. pwm_P8_13: pinmux_pwm_P8_13 {
  20. pinctrl-single,pins = <
  21. 0x024 0x4 /* gpmc_ad9 = ehrpwm2B | MODE 4 */
  22. >;
  23. };
  24. };
  25. };
  26.  
  27. fragment@1 {
  28. target = <&ehrpwm2>;
  29. __overlay__ {
  30. status = "okay";
  31. };
  32. };
  33.  
  34. fragment@2 {
  35. target = <&ocp>;
  36. __overlay__ {
  37. #address-cells = <1>;
  38. #size-cells = <0>;
  39.  
  40. P8_13 {
  41. compatible = "pwm_test";
  42. pinctrl-names = "default";
  43. pinctrl-0 = <&pwm_P8_13>;
  44. pwms = <&ehrpwm2 1 500000 1>;
  45. pwm-names = "P8_13";
  46. enabled = <1>;
  47. duty = <0>;
  48. status = "okay";
  49. };
  50. };
  51. };
  52. };
  53.  
  54.  
  55. produces:
  56.  
  57. [ 3798.409849] ehrpwm 48304200.ehrpwm: unable to select pin group
  58. [ 3798.410027] Unable to handle kernel NULL pointer dereference at virtual address 00000008
  59. [ 3798.418474] pgd = d7854000
  60. [ 3798.421296] [00000008] *pgd=97aa6831, *pte=00000000, *ppte=00000000
  61. [ 3798.427852] Internal error: Oops: 17 [#1] SMP THUMB2
  62. [ 3798.433027] Modules linked in: pwm_test bone_iio_helper fuse ip_tables x_tables g_multi libcomposite rfcomm ircomm_tty ircomm irda ipv6 hidp bluetooth rfkill autofs4
  63. [ 3798.448537] CPU: 0 Not tainted (3.8.5 #1)
  64. [ 3798.453102] PC is at __mutex_lock_slowpath+0x40/0x204
  65. [ 3798.458374] LR is at mutex_lock+0xf/0x20
  66. [ 3798.462469] pc : [<c036d148>] lr : [<c036d31b>] psr: 000001b3
  67. [ 3798.462469] sp : d7847d60 ip : 00000000 fp : df652884
  68. [ 3798.474447] r10: 00000000 r9 : 00000000 r8 : df652884
  69. [ 3798.479900] r7 : dcdb5ac0 r6 : 00000113 r5 : 00000008 r4 : 00000004
  70. [ 3798.486705] r3 : 00000000 r2 : 00000000 r1 : 00000100 r0 : 00000004
  71. [ 3798.493523] Flags: nzcv IRQs off FIQs on Mode SVC_32 ISA Thumb Segment user
  72. [ 3798.501237] Control: 50c5387d Table: 97854019 DAC: 00000015
  73. [ 3798.507231] Process sh (pid: 776, stack limit = 0xd7846240)
  74. [ 3798.513037] Stack: (0xd7847d60 to 0xd7848000)
  75. [ 3798.517586] 7d60: 00000004 00000100 d7847d88 d7846000 00000004 00000004 00000100 df7a7400
  76. [ 3798.526110] 7d80: df652884 00000000 00000000 c036d31b 00000000 c01cfb6b df7a7410 df66f750
  77. [ 3798.534635] 7da0: 00000000 c01cf7ff c01cf6e9 df7a7410 d7847de0 c065b460 c0217f79 c02188a5
  78. [ 3798.543169] 7dc0: c0218899 c0217e53 c0217f79 00000000 d7847de0 df7a7410 c0217f79 c0216f27
  79. [ 3798.551696] 7de0: df044498 df2e2f04 df7a7410 df7a7410 00000000 df7a7410 df7a7444 c0217dbb
  80. [ 3798.560237] 7e00: 00000001 c0662ee8 80000000 df7a7410 00000000 c02177c1 df7a7410 00000000
  81. [ 3798.568777] 7e20: df7a7418 c0216985 00000200 c0647390 00000000 c003114b 00000000 df7a7400
  82. [ 3798.577308] 7e40: 0000001c ffffffff 00000000 df7a7400 00000000 df652884 df652854 00000003
  83. [ 3798.585850] 7e60: df652884 c02c3651 00000000 d7844400 00000000 00000000 00000001 c02c42c3
  84. [ 3798.594378] 7e80: d7844400 df65284c 00000000 00000001 df652800 c02c47bd d7844900 df65284c
  85. [ 3798.602906] 7ea0: d7847e8c dcc76010 00000000 df10d410 df32b054 df32b04c dcc76268 c0b07440
  86. [ 3798.611443] 7ec0: df32b010 c02263ed dcc76231 dcc76252 10000000 d7844480 c0b07ec8 00000000
  87. [ 3798.619969] 7ee0: d7844480 dcc76010 00000000 df10d410 df59e000 c0b07440 df32b010 c0226e8f
  88. [ 3798.628499] 7f00: c067f300 00000000 c0f83d90 c0f83d5c 22222222 c0226c85 d78a9ec0 d78a9ed8
  89. [ 3798.637035] 7f20: d7847f80 0000000a df10d418 c03b74a0 00000000 c0215aab df336b48 c00e2819
  90. [ 3798.645567] 7f40: dcff5440 000d6408 0000000a d7847f80 000d6408 0000000a 00000000 c00a7497
  91. [ 3798.654103] 7f60: dcff5440 000d6408 00000000 00000000 dcff5440 00000000 000d6408 c00a76a3
  92. [ 3798.662630] 7f80: 00000000 00000000 0000000a 0000000a 000d6408 b6f5ca80 00000004 c000c244
  93. [ 3798.671150] 7fa0: d7846000 c000c0a1 0000000a 000d6408 00000001 000d6408 0000000a 00000000
  94. [ 3798.679672] 7fc0: 0000000a 000d6408 b6f5ca80 00000004 0000000a 0000000a 000d6408 00000000
  95. [ 3798.688202] 7fe0: 00000000 be8fe9b4 b6e98b2c b6eeb30c 600f0010 00000001 9fefe821 9fefec21
  96. [ 3798.696747] [<c036d148>] (__mutex_lock_slowpath+0x40/0x204) from [<c036d31b>] (mutex_lock+0xf/0x20)
  97. [ 3798.706200] [<c036d31b>] (mutex_lock+0xf/0x20) from [<c01cfb6b>] (pwmss_submodule_state_change+0x13/0x50)
  98. [ 3798.716183] [<c01cfb6b>] (pwmss_submodule_state_change+0x13/0x50) from [<c01cf7ff>] (ehrpwm_pwm_probe+0x117/0x190)
  99. [ 3798.726985] [<c01cf7ff>] (ehrpwm_pwm_probe+0x117/0x190) from [<c02188a5>] (platform_drv_probe+0xd/0xe)
  100. [ 3798.736709] [<c02188a5>] (platform_drv_probe+0xd/0xe) from [<c0217e53>] (driver_probe_device+0x67/0x144)
  101. [ 3798.746606] [<c0217e53>] (driver_probe_device+0x67/0x144) from [<c0216f27>] (bus_for_each_drv+0x27/0x4c)
  102. [ 3798.756520] [<c0216f27>] (bus_for_each_drv+0x27/0x4c) from [<c0217dbb>] (device_attach+0x3d/0x56)
  103. [ 3798.765783] [<c0217dbb>] (device_attach+0x3d/0x56) from [<c02177c1>] (bus_probe_device+0x19/0x60)
  104. [ 3798.775044] [<c02177c1>] (bus_probe_device+0x19/0x60) from [<c0216985>] (device_add+0x2a1/0x3b8)
  105. [ 3798.784228] [<c0216985>] (device_add+0x2a1/0x3b8) from [<c02c3651>] (of_platform_device_create_pdata+0x39/0x4c)
  106. [ 3798.794761] [<c02c3651>] (of_platform_device_create_pdata+0x39/0x4c) from [<c02c42c3>] (of_overlay_device_entry_change.isra.0+0x47/0xd8)
  107. [ 3798.807561] [<c02c42c3>] (of_overlay_device_entry_change.isra.0+0x47/0xd8) from [<c02c47bd>] (of_overlay+0x89/0x114)
  108. [ 3798.818556] [<c02c47bd>] (of_overlay+0x89/0x114) from [<c02263ed>] (bone_capemgr_load+0x1b3/0x2a2)
  109. [ 3798.827896] [<c02263ed>] (bone_capemgr_load+0x1b3/0x2a2) from [<c0226e8f>] (slots_store+0x20b/0x250)
  110. [ 3798.837432] [<c0226e8f>] (slots_store+0x20b/0x250) from [<c0215aab>] (dev_attr_store+0xb/0x12)
  111. [ 3798.846426] [<c0215aab>] (dev_attr_store+0xb/0x12) from [<c00e2819>] (sysfs_write_file+0x9d/0xd8)
  112. [ 3798.855699] [<c00e2819>] (sysfs_write_file+0x9d/0xd8) from [<c00a7497>] (vfs_write+0x63/0x104)
  113. [ 3798.864688] [<c00a7497>] (vfs_write+0x63/0x104) from [<c00a76a3>] (sys_write+0x27/0x44)
  114. [ 3798.873051] [<c00a76a3>] (sys_write+0x27/0x44) from [<c000c0a1>] (ret_fast_syscall+0x1/0x46)
  115. [ 3798.881858] Code: f3ef 8600 b672 1d25 (e855) 2f00
  116. [ 3798.886864] ---[ end trace e086f151c48f73bb ]---
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement