Hi Richard, On 17/05/20 6:39 pm, Lokesh Vutla via Linuxptp-devel wrote: > > > On 17/05/20 2:44 AM, Richard Cochran wrote: >> On Fri, Apr 17, 2020 at 10:00:06AM +0530, Lokesh Vutla wrote: >>> Following dependencies are needed in kernel for testing: >>> - Grygorii's series to support HW_TS_PUSH[2] >>> - Add pwm node in BBB DT. >>> All dependencies are available at[3]. >> >>> [3] https://github.com/lokeshvutla/linux.git devel/bbb-pps-generation >> >> So I tried your v2 series with this kernel, omap2_defconfig, and >> am335x-boneblack.dtb. >> >> ./phc2pwm -p /dev/ptp0 -l7 -c 0 -e 0 -w 0 >> >> But it simply blocks in phc_read_extts() in the call to read(). >> >> Is it supposed to work with devel/bbb-pps-generation out of the box? > > Yes, the timer7 used in the above tree is connected to event index 3. So the > command should be > > ./phc2pwm -p /dev/ptp0 -l7 -c 0 -e 3 -w 0
Any luck with the setup? Thanks and regards, Lokesh > > Thanks and regards, > Lokesh > > > > _______________________________________________ > Linuxptp-devel mailing list > Linuxptp-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/linuxptp-devel > _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel