> Am 12.08.2016 um 05:30 schrieb John Kasunich <[email protected]>:
> 
> 
> 
> On Sun, Jul 31, 2016, at 10:42 PM, Charles Steinkuehler wrote:
>> Sorry about your issues.  I'm 99.9% sure you're hitting an ARM SoC
>> issue.  On the ARM in general and the BBB specifically, the GPIO banks
>> are not enabled at power-up.  If you do not export a GPIO pin from a
>> bank (and there are four unique GPIO banks for the BBB), it will not
>> be powered on or have a clock routed to it, so any accesses to the
>> physical address of the GPIO bank will cause a bus exception.
> 
> That is exactly what was happening.
> 
> I've written and tested a patch that prevents the crash and gives
> a meaningful error message in this situation.
> https://github.com/jmkasunich/linuxcnc/commit/aae652ee94f2000e2b9c626723afeb647b856615
> 
> I also found a minor typo in the data for P8 pin 6.  Apparently nobody
> noticed because that pin is shared with the MMC interface and rarely
> or never gets used as GPIO.  Patch to fix:
> https://github.com/jmkasunich/linuxcnc/commit/8ae1d7e8bd92914fb490bdea8cf966a445d3592e
> 
> I can't submit regular pull requests because of a github idiosyncrasy:
> I'm working in a personal fork of LinuxCNC/linuxcnc (they can now 
> build for the beaglebone).  Because Github considers machinekit to
> be a fork of linuxcnc, it won't let me have personal forks of both repos.
> 
> Hopefully someone in the machinekit project can pull and merge these
> commits.

The 'forked from' attribute is not relevant as is the repo name

you'd go about it like so:

cd <local clone of https://github.com/jmkasunich/linuxcnc>
git remote add machinekit https://github.com/machinekit/machinekit
git checkout -b work machinekit/master
git cherry-pick aae652ee94f2000e2b9c626723afeb647b856615
git cherry-pick 8ae1d7e8bd92914fb490bdea8cf966a445d3592e

now your two patches are ontop of machinekit/master: try 'git log work'

git push origin work:work
now prepare a PR against machinekit/machinekit from 
https://github.com/jmkasunich/linuxcnc branch work

-m

> 
> -- 
>  John Kasunich
>  [email protected]
> 
> -- 
> website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
> https://github.com/machinekit
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Machinekit" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> Visit this group at https://groups.google.com/group/machinekit.
> For more options, visit https://groups.google.com/d/optout.

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to