On Mon, Jul 04, 2016 at 05:37:05AM -0400, Ian Sutton wrote: > I have written some software to support the PRU (Programmable Realtime > Unit) integrated in Texas Instrument's line of ARM SoCs, specifically > the am335x chips. The PRU is a 32-bit realtime processor that exists as > a subsystem on the SoC. You can read more about it in the linked man > pages. > > Included below is a omap/am335x/sitara-specific device driver [tipru(4)] > and userspace utility [pructl(1)]. Both are complete and fully > documented in their respective man pages which I have also uploaded for > convenience: > > http://ce.gl/tipru.4.html > http://ce.gl/pructl.1.html > > You can find the userspace utility at http://ce.gl/pructl.tar.gz > > A simple demonstration of the driver in action, after loading and > executing code that generates a 129KHz square wave: > > http://ce.gl/tipru.jpg > > I have done my best to make this code as palpable as possible but I'm > sure there are still outstanding issues. Any advice/pointers are > welcome, I have both the time and the inclination to get this code > tree-ready. > > Ian
Lack of fdt use aside, we don't want to enable something that allows userspace access to system memory like this. There aren't any suser checks either. The toolchain to create code for it would be a port?
