Through some educated bit fiddling I managed to get the PRUSS module to be io mapped correctly and thereby able to read and write to it.
For those who may try to get the PRUSS module on a TI AM335x working on the base-hw kernel, the module is sitting by default in a power reset state. It requires that the Pru_icss_lrst bit in the RM_PER_RSTCTL register be cleared before doing any operations on the module Section 8.1.13.2 in the TRM contains the register definitions.
Thanks again to Stefan and Martin for their help.
Bob
Sent from my android device.
-----Original Message----- From: robjsstewart@...196... To: Genode OS Framework Mailing List genode-main@lists.sourceforge.net Sent: Tue, 14 Apr 2015 9:37 AM Subject: Re: Data Abort MMU exception on mapped IO register read
Good idea, Martin. I'll dig through the u-boot source for the AM335x. I sent a message to Robert C Nelson who maintains an excellent wiki on various ARM processors to see what he did to get the Linux driver working.
Bob
Sent from my android device.
-----Original Message----- From: Martin Stein <martin.stein@...1...> To: Genode OS Framework Mailing List genode-main@lists.sourceforge.net Sent: Tue, 14 Apr 2015 8:30 AM Subject: Re: Data Abort MMU exception on mapped IO register read
Hi Bob,
On 14.04.2015 14:19, robjsstewart@...196... wrote:
Linux has a UIO driver for this particular peripheral but the only configuration that driver did was to enable the clock to the module, which a necessary step for most peripherals on this SoC.
As you can see from my reply to Stefan, the real error is related to bus access.
If Linux does merely this clock config, different boot loaders could cause the different bus configs. Thus, if you don't find documentation on the bus controllers, maybe the boot loader source of your Linux scenario gives you further hints.
Cheers, Martin
------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main