Correction:
root@beaglebone:/sys/kernel/debug/pinctrl/44e10800.pinmux# more pins | grep 
87c
pin 31 (PIN31) 44e1087c 00000007 pinctrl-single

Am Samstag, 17. Februar 2018 10:18:06 UTC+1 schrieb Karl Jacobs:
>
> Hello,
>
> I am trying to setup my Kossel mini printer with  Replicape version 0B3A 
> on a BBB with machinekit.
> I used https://github.com/sam0737/machinekit-replicape in its 
> ARM.Replicape.B3 version adapted to the newest
> stretch machinekit package 
> bone-debian-9.3-machinekit-armhf-2018-02-11-4gb.img.xz (the changes being 
> to adapt to the 
> "slotless" cape loading and to correct the .icomp components). 
>
> The BB-BONE-REPLICAP-0B3A.dtbo is loaded via u-boot load as you can see 
> from the attached file
> giving the details on version.sh, dmesg and uEnv , where you can see that 
> I disabled HDMI, EMMC and 
> cape-universal.
>
> Machinekit starts up fine, I can see the extruder and hotbed temperatures, 
> pwm working, endstops working etc.
> so it seems that the cape is loaded allright. I can also read the cape 
> eeprom.
> The only thing not working is that the output pins of the pru (like x-dir 
> on P8.26) do not show any signal
> but stay low. I have to manually set
>
> echo "61" > /sys/class/gpio/export
> echo "out" > /sys/class/gpio/gpio61/direction
>
> to have the pru toggle the x-direction pin on P8.26 (with kernel gpio 
> number 61) as an example.
> pru itself (with uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo) 
> obviously works.
> In the code of sam0737 the hpg.stepgen.00.dirpin is set to 826, and that 
> is confirmed with halshow.
>
> I was expecting that the overlay would set the outputs for the pru, as in 
> BB-BONE-REPLICAP-0B3A.dts
>
> pruicss_stepper_pins: pinmux_pruicss_stepper_pins{
>                 pinctrl-single,pins = <
>                     0x038 0x07 // P8_16 (3)  = DIR_H            = GPIO1_14
>                     0x03C 0x07 // P8_15 (4)  = DIR_E            = GPIO1_15
>                     0x028 0x07 // P8_14 (5)  = DIR_Z            = GPIO0_26
>                     0x02C 0x07 // P8_17 (6)  = STEP_X           = GPIO0_27
>                     0x034 0x07 // P8_11 (22) = step_H           = GPIO1_13
>                     0x030 0x07 // P8_12 (23) = Step_y           = GPIO1_12
>                     0x024 0x07 // P8_13 (24) = Step_z           = GPIO0_23
>                     0x020 0x07 // P8_19 (25) = Dir_y            = GPIO0_22
>                     0x07C 0x07 // P8_26      = Dir_x            = GPIO1_29
>                     0x078 0x07 // P9_12      = step E           = GPIO1_28
>                 >;
>             };
>
> cat /sys/kernel/debug/pinctrl/44e10800.pinmux/pinmux-pins | grep 7C comes 
> up empty.
> Everything described above also happens when I use the 4.9.81-bone-rt-r9 
> kernel on jessie (which still uses the slots).
> Interestingly, the same BBB/Replicape hardware runs flawlessly with 
> redeem/kamikaze which
> uses the same overlay, on a non-rt 4.1.38-bone24 kernel.
> What am I missing?
> Karl
>

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to