Why not use modprobe so you don’t have to bother with paths and dependencies?

To install
modprobe pru_rproc

To remove
modprobe -r pru_rproc

Regards,
John




> On May 28, 2016, at 6:40 AM, Greg <[email protected]> wrote:
> 
> Hi Torben, I'm puzzled by the extra steps with the stubs.h and err.h include 
> files.
> I did not have to do this.
> 
> Which distribution are you using and which kernel is installed?
> 
> I recommend creating these two simple scripts:
> This one I call prumodin:
> 
> #!/bin/bash
> insmod /lib/modules/4.1.18-ti-r53/kernel/drivers/remoteproc/pru_rproc.ko
> 
> This one I call prumodout:
> 
> #!/bin/bash
> rmmod -f /lib/modules/4.1.18-ti-r53/kernel/drivers/remoteproc/pru_rproc.ko
> 
> Of course you will probably have to modify the paths to the kernel modules.
> I have found the above is all that is required to re-start after modifying 
> and copying
> the am335x-pruX-fw firmwares to /lib/firmware.  Copy new firmwares, then 
> prumodout and then prumodin
> and the remoteproc loads the firmwares to the PRUs and starts them.  Other 
> modules like the rpmsg
> get loaded automatically.
> 
> Regards,
> Greg
> 
> 
> 
> 
> -- 
> For more options, visit http://beagleboard.org/discuss 
> <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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/cd96dc91-60ec-4763-aaf0-45c66b575ff3%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/beagleboard/cd96dc91-60ec-4763-aaf0-45c66b575ff3%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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/03C5D4B5-F890-4BDE-8779-59F9539EB884%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to