Hello,
we are working with BeagleBone Black . HW engineers observed P8/P9 pin behavior and designed the hardware to match with default pin config in then shipped debian distribution. Since we moved to new debian version with 4.1.15-ti-rt-r43 kernel, some of the gpios changed. I managed to change the dts and dtsi files, recompile them and copy them to the dtbs folder to match our demands. I also modifed pin setting in u-boot /board/ti/am335x/mux.c and rebuilded u-boot. Everything looks good (all the pins are set correctly 500ms after reset), but the problem is that some pins get temporarily reconfigured during BBB startup. They are reconfigured after approx 7,5s after reset around the time when "starting kernel" appears in console. They all get back in 3,2s to the right setting - probably when dtb is loaded by kernel. See the attached figure (P9_23 is set as output, init value low and is temporarily set probably as input no pull during startup - I checked and we don't set the mmc2, pru or any other modes in our dts files on this pin with offset 0x044).
Here are my questions:
1 - can the initial setting be applied faster then these 500ms in u-boot?
2 - is the temporarily reconfiguration caused by end of u-boot process or by our particular kernel (perhaps some default cpu setting in kernel source code)?
3 - in any of these two possibilities - what should I change or what src to modify to get rid of this 3,2s gap?
Best regards
Jan