On Mon, Jan 30, 2017 at 1:02 PM, Drew Fustini <[email protected]> wrote:
> Thanks for the assistance, Franklin. Here is the patch that is applied:
> https://github.com/RobertCNelson/ti-linux-kernel-dev/tree/ti-linux-4.9.y/patches/drivers/ti/eqep
>
> The boot log is in this gist and also attached:
> https://gist.github.com/pdp7/0df175876304e30e8971c2aadb7493c7/
I just found that I can avoid the abort by setting runtime power
control to "on" instead of "auto" through sysfs.
# uname -r
4.9.6-ti-r17
# config-pin p8.11 qep
# config-pin p8.12 qep
# echo on >
/sys/devices/platform/ocp/48300000.epwmss/48300180.eqep/power/control
# echo on >
/sys/devices/platform/ocp/48302000.epwmss/48302180.eqep/power/control
# echo on >
/sys/devices/platform/ocp/48304000.epwmss/48304180.eqep/power/control
# cat
/sys/devices/platform/ocp/48300000.epwmss/48300180.eqep/power/runtime_status
active
# cat
/sys/devices/platform/ocp/48302000.epwmss/48302180.eqep/power/runtime_status
active
# cat
/sys/devices/platform/ocp/48304000.epwmss/48304180.eqep/power/runtime_status
active
# cat /sys/devices/platform/ocp/48300000.epwmss/48300180.eqep/position
0
# cat /sys/devices/platform/ocp/48302000.epwmss/48302180.eqep/position
0
# cat /sys/devices/platform/ocp/48304000.epwmss/48304180.eqep/position
-1
I'm guessing this is probably not a real solution, but it seems
promising to finally avoid that unhandled fault ("external abort on
non-linefetch") upon reading position.
-Drew
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/CAPgEAj7DbRuS48KEt8C2nB6Bv801xAujL_7cr_VGULmoMBpxOA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.