[meta-ti] [EXTERNAL] icss-emac-lld: how is /dev/uio_pruss_mem created?

Daniel Gorsulowski daniel.gorsulowski at esd.eu
Thu Oct 18 02:36:19 PDT 2018


Hi Hongmei,

thanks! Your clue let me find my mistake. I added the missing

&pruss_soc_bus {
	status = "okay";
};

to my .dts and now it works!

Kind regards,
Daniel


Gou, Hongmei wrote:
> Hi Daniel,
> 
> In order to get /dev/uio_pruss_mem, we need to use am335x-icev2-pru-excl-uio.dtb as the default dtb. Details can be found from PSDK documentation:
> 
> http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Industrial_Protocols_PRU-ICSS.html#linux-user-space-drivers-and-application
> "On the filesystem under /boot directory, link am335x-icev2-pru-excl-uio.dtb as the default dtb to support PRUSS Ethernet ports, i.e., am335x-icev2-prueth.dtb."
> 
> Thanks,
> Hongmei
> 
> -----Original Message-----
> From: meta-ti-bounces at yoctoproject.org [mailto:meta-ti-bounces at yoctoproject.org] On Behalf Of Daniel Gorsulowski
> Sent: Wednesday, October 17, 2018 8:43 AM
> To: meta-ti at yoctoproject.org
> Subject: [EXTERNAL] [meta-ti] icss-emac-lld: how is /dev/uio_pruss_mem created?
> 
> Hello!
> 
> I have baked the recipes icss-emac-lld and icss-emac-lld-test. When I
> now start the resulting binary /usr/bin/icss_emacMainTest_am335x.out, I
> get a segmentation fault when opening /dev/uio_pruss_mem. This node does
> not exist.
> How do I create this node, or for which recipe are there dependencies,
> so that this node is created automatically?
> 
> PS: My .dts has been patched with the
> recipes-kernel/linux/files/ti33x/am335x-pru-uio.dtsi. Is there anything
> else to do?
> 
> Kind regards,
> Daniel Gorsulowski
> 


More information about the meta-ti mailing list