Other Parts Discussed in Thread: BEAGLEBOARD-X15
Tool/software: Linux
Hello,
I need GPIO access for one PRU of the AM572x (Beagleboard X15). I'm using PROCESSOR-SDK-LINUX-RT-AM57X 05_03_00_07.
I used the Pinmux Tool to add the PRU GPI/GPO and the Pearl script to create the output for editing U-Boot. After that I edited the existing lines and added non-existing lines in mux_data.h (iodelay.txt to iodelay_cfg_array_x15_sr2_0[] and iopad.txt to core_padconf_array_essential_x15[]) .
I then recompiled U-Boot and copied the new MLO and u-boot.img to the boot partition.
I also added the content of devicetree.txt:
&dra7_pmx_core { }; &dra7_iodelay_core { // for linux kernel 4.4 / processor sdk 3.x };
to am57xx-beagle-x15-revc.dts and recompiled linux-dtbs, but I think that does not effect anything. I then renamed the dtb to am57xx-beagle-x15-revc-new.dtb and added a line fdtfile=am57xx-beagle-x15-revc-new.dtb to uEnv.txt to be sure it is used (and it seems to work).
I booted Linux to let u-boot make the pinmux config and used the XDS110 and CCS to run a simple assembly programm on PR1_PRU0 to set and reset R30 for testing the pins. But I don't see any changes on the GPOs after writing to R30.
I think there is something wrong with my pinmux configuration. For my programm I assume that pin pr_1_pru0_gpo1 is position 1 << 1 in R30.
Is there any point that I am missing?
I attached the Pinmux project and the created files.