You would need a modified overlay that doesn't claim those pins. Alternatively, don't use the overlay and do it all using gpio declarations in config.txt.How to make sure gpio=2,3=ip can no be overwritten by the kernel?
Code: Select all
$ sudo dd if=/dev/whatever of=backup.img bs=128k(at the point of probing, which is after the "gpio ..." handling)