* icss-emac-lld: how is /dev/uio_pruss_mem created?
@ 2018-10-17 12:43 Daniel Gorsulowski
2018-10-17 14:17 ` [EXTERNAL] " Gou, Hongmei
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Gorsulowski @ 2018-10-17 12:43 UTC (permalink / raw)
To: meta-ti
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [EXTERNAL] icss-emac-lld: how is /dev/uio_pruss_mem created?
2018-10-17 12:43 icss-emac-lld: how is /dev/uio_pruss_mem created? Daniel Gorsulowski
@ 2018-10-17 14:17 ` Gou, Hongmei
2018-10-18 9:36 ` Daniel Gorsulowski
0 siblings, 1 reply; 3+ messages in thread
From: Gou, Hongmei @ 2018-10-17 14:17 UTC (permalink / raw)
To: Daniel Gorsulowski, meta-ti
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@yoctoproject.org [mailto:meta-ti-bounces@yoctoproject.org] On Behalf Of Daniel Gorsulowski
Sent: Wednesday, October 17, 2018 8:43 AM
To: meta-ti@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
--
_______________________________________________
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [EXTERNAL] icss-emac-lld: how is /dev/uio_pruss_mem created?
2018-10-17 14:17 ` [EXTERNAL] " Gou, Hongmei
@ 2018-10-18 9:36 ` Daniel Gorsulowski
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Gorsulowski @ 2018-10-18 9:36 UTC (permalink / raw)
To: Gou, Hongmei, meta-ti
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@yoctoproject.org [mailto:meta-ti-bounces@yoctoproject.org] On Behalf Of Daniel Gorsulowski
> Sent: Wednesday, October 17, 2018 8:43 AM
> To: meta-ti@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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-10-18 9:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-17 12:43 icss-emac-lld: how is /dev/uio_pruss_mem created? Daniel Gorsulowski
2018-10-17 14:17 ` [EXTERNAL] " Gou, Hongmei
2018-10-18 9:36 ` Daniel Gorsulowski
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.