Hi, William - version 4.9.2. I've isolated the problem to the buffer argument passed into dev_write(). Using printk() I can see that the address of the buffer is befffadc (though I have no idea whether that's a valid address or not). When I attempt to dereference it, though, it seems to fail, as my printk that dereferences buffer never appears.
I was able to debug the test program (running from user space) and I get a segmentation fault on the write to the devices fd. That's about where I was when I got your message. Not sure what to make of all of this. On Thursday, June 22, 2017 at 12:20:16 PM UTC-6, William Hermans wrote: > > mzimmers, Which version of gcc are you using ? > -- 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/e7c14f74-5429-431d-9bdb-2d7cae63e7e3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
