On Mon, Jan 30, 2017 at 3:40 PM, Drew Fustini <[email protected]> wrote: > 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.
Nice find Drew! Once you enable the power control, it's it acting the same as v4.4.x was? Regards, -- Robert Nelson https://rcn-ee.com/ -- 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/CAOCHtYi32UQNHOK%3DH8xu0nTFD00U5_JY65Vy4opaeD_%2BOoOuvg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
