[beagleboard] PRU App Loader implementation for golang

2014-04-17 Thread Mike Lewis
Hi All, I reimplemented the prussv2 app loader in go. At first I was just going to wrap it the pru app loader with cgo, but it seemed cumbersome and I felt it would be easier for distributing and the likes with a pure go implementation. Anyways, I got it to a point where it works. You can

[beagleboard] Read() not returning after /dev/uioX is closed

2014-04-16 Thread Mike Lewis
Hi, I am rewriting a lot of the PRU app loader in go. Anyways, to wait for an interrupt one must read from /dev/uioX. I basically have a background thread that is always reading from it, but unfortunately, when I close the file, the read does not return. With normal files, read would return