st.go...@gmail.com writes:
> - echo 6 > /sys/class/gpio/export
Hmmm. This gives me an imprecise external abort:
[ 52.350000] pinctrl-wm8850 d8110000.pinctrl: request pin 6 (extgpio6) for gpio-wmt:6
[ 52.350000] Unhandled fault: imprecise external abort (0x1406) at 0x014073ec
[ 52.350000] Internal error: : 1406 [#1] ARM
[ 52.350000] Modules linked in: uio_pdrv_genirq
[ 52.350000] CPU: 0 PID: 1608 Comm: bash Not tainted 3.13.0-rc8+ #15
[ 52.350000] task: 9ba99880 ti: 9b36a000 task.ti: 9b36a000
[ 52.350000] PC is at gpiod_get_direction+0x5c/0xa4
[ 52.350000] LR is at wmt_gpio_get_direction+0x20/0x54
[ 52.350000] pc : [<802504b0>] lr : [<8024f648>] psr: 20000013
[ 52.350000] sp : 9b36be80 ip : 9b36be68 fp : 9b36be94
[ 52.350000] r10: 9b3e2688 r9 : 9b87e908 r8 : 80854e08
[ 52.350000] r7 : 00000000 r6 : 80b1c998 r5 : 9b9e7634 r4 : 80b1c998
[ 52.350000] r3 : 00000012 r2 : 806ddbbc r1 : f8110000 r0 : 00000001
[ 52.350000] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 52.350000] Control: 10c5387d Table: 1b2b8059 DAC: 00000015
[ 52.350000] Process bash (pid: 1608, stack limit = 0x9b36a238)
[ 52.350000] Stack: (0x9b36be80 to 0x9b36c000)
[ 52.350000] be80: 8024f628 20000013 9b36bebc 9b36be98 8025115c 80250460 80b1c950 00000000
[ 52.350000] bea0: 80b1c998 00000002 9b36bf78 00000000 9b36bee4 9b36bec0 80253244 80251070
[ 52.350000] bec0: 800f5b54 00000006 801fd928 802989b0 9b3e2680 00000002 9b36bef4 9b36bee8
[ 52.350000] bee0: 802989d8 80253204 9b36bf44 9b36bef8 801563e8 802989bc 9b36bf44 9b36bf08
[ 52.350000] bf00: 800f9758 800f9cd4 9b19f9c0 9b3e2140 00000000 00000000 9b36bf44 9b280480
[ 52.350000] bf20: 00000002 013ff408 9b36bf78 00000000 9b36a000 00000002 9b36bf74 9b36bf48
[ 52.350000] bf40: 800f9c10 8015628c 9b36bf74 9b36bf58 00000000 00000000 9b280480 013ff408
[ 52.350000] bf60: 00000000 00000002 9b36bfa4 9b36bf78 800f9ff0 800f9b64 00000000 00000000
[ 52.350000] bf80: 76ee35e0 00000002 013ff408 00000004 8000ebc4 00000000 00000000 9b36bfa8
[ 52.350000] bfa0: 8000e9a0 800f9fb0 76ee35e0 00000002 00000001 013ff408 00000002 00000000
[ 52.350000] bfc0: 76ee35e0 00000002 013ff408 00000004 7eaafabc 000ad08c 00000000 0141e038
[ 52.350000] bfe0: 00000002 7eaafa40 76e5296d 76e8ab9c 40000010 00000001 00000000 00000000
[ 52.350000] [<802504b0>] (gpiod_get_direction+0x5c/0xa4) from [<8025115c>] (gpiod_request+0xf8/0x160)
[ 52.350000] [<8025115c>] (gpiod_request+0xf8/0x160) from [<80253244>] (export_store+0x4c/0xd4)
[ 52.350000] [<80253244>] (export_store+0x4c/0xd4) from [<802989d8>] (class_attr_store+0x28/0x34)
[ 52.350000] [<802989d8>] (class_attr_store+0x28/0x34) from [<801563e8>] (sysfs_write_file+0x168/0x1fc)
[ 52.350000] [<801563e8>] (sysfs_write_file+0x168/0x1fc) from [<800f9c10>] (vfs_write+0xb8/0x190)
[ 52.350000] [<800f9c10>] (vfs_write+0xb8/0x190) from [<800f9ff0>] (SyS_write+0x4c/0x80)
[ 52.350000] [<800f9ff0>] (SyS_write+0x4c/0x80) from [<8000e9a0>] (ret_fast_syscall+0x0/0x30)
[ 52.350000] Code: 0a000012 e12fff32 e3500000 da000007 (e10f3000)
[ 52.350000] ---[ end trace 698e864bc310a9c9 ]---
The gpio6 directory doesn't appear, and trying the export again produces
"device busy". I've tried all pins between 0 and 7, same effect. I also
noticed "setenv wmt.gpo.wifi 6:1:6:d8110040:d8110080:d81100C0" in
various people's wmt_scriptcmd but this doesn't seem to help. Current
.config is attached.
---Dan