Am Mittwoch, 5. Februar 2020 16:03:26 UTC+1 schrieb [email protected]: > > To reply to myself: After looking at it again and reading through other > people's pages, I managed to get the CAN device working with this DTS > (after cloning the `BeagleBoard-DeviceTrees` repo): > > #include "am5729-beagleboneai.dts" > > / { > chosen { > base_dtb = "am5729-beagleboneai-kitepower.dts"; > base_dtb_timestamp = __TIMESTAMP__; > }; > }; > > // The second name (pinmux_dcan2_pins) seems not used > &dra7_pmx_core { > dcan2_pins: pinmux_dcan2_pins { > pinctrl-single,pins = < > /* P9_24: uart1_txd.d_can2_rx */ > DRA7XX_CORE_IOPAD(0x368C, PIN_INPUT_PULLUP | MUX_MODE2) > /* P9_26: uart1_rxd.d_can2_tx */ > DRA7XX_CORE_IOPAD(0x3688, PIN_OUTPUT_PULLUP | MUX_MODE2) > >; > }; > }; > > // Initially defined in dra7 (which is included through multiple layers) > as disabled > &dcan2 { > pinctrl-names = "default"; // Not sure what this is used for > pinctrl-0 = <&dcan2_pins>; > status = "okay"; > }; >
Did you do any further changes on your BBAI to make this device tree run? I just want to do a simple pinmux to give PRU1_0 some gpio's, but everytime I edit my uEnv.txt, the kernel does not load after reboot. So I was looking around and found this thread. I tried to copy your .dts, compiled it and copied it to /boot/dtbs/4.14xxxx. However, the kernel does not load. (Btw. I am using the 4.14.108-ti-xenomai-r127 kernel, didn't test with normal ti kernel yet) Another dts I tried is descriped here: https://www.element14.com/community/community/project14/visionthing/blog/2019/11/16/beagleboard-ai-brick-recovery-procedure#jive_content_id_BBAI_SETUP_CHECKLIST Still no success. The only other device tree that worked for me, is the am5729-beagleboneai-roboticscape.dtb Any any ideas on this? -- 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/4fbf80d7-186b-4f39-bd80-e2e88cb61822%40googlegroups.com.
