Jimmy Raymond Belanger Posted July 11, 2018 Share Posted July 11, 2018 Hello everybody, I have a orange pi zero h2 and when I connect the gpio on some pcb, sometime the pcb inject file inside the linux and create dpkg error. is it possible to enable something to protect the system. thx you Link to comment Share on other sites More sharing options...
martinayotte Posted July 11, 2018 Share Posted July 11, 2018 Euuh ??? How a GPIO connection could interact with a Linux filesystem ? Maybe you should explain in more details your observations ... Link to comment Share on other sites More sharing options...
Jimmy Raymond Belanger Posted July 11, 2018 Author Share Posted July 11, 2018 hi martinayotte, I remember you in the past, this is my new account but we have work 4 year on this forum in stratup of armbian. So in clear trust me when I insert the orange pi zero on a specify pcb , the pcb have arm chip on it. I just start the linux and everything is working well but the second we do apt-get update, the "dpkg configure " is broken. When I go the dpkg configure -a for fix the issue, who 6 new library forced to be installed Link to comment Share on other sites More sharing options...
martinayotte Posted July 11, 2018 Share Posted July 11, 2018 As I said "How a GPIO connection could interact with a Linux filesystem ?" ... Impossible ! Believe me, your issue must be somewhere else : bad PSU or bad SDCard ! Link to comment Share on other sites More sharing options...
Jimmy Raymond Belanger Posted July 11, 2018 Author Share Posted July 11, 2018 orange pi zero - usb 4 pin gpio - exploit buffer overlow inject file by usb gpio voila Link to comment Share on other sites More sharing options...
Jimmy Raymond Belanger Posted July 11, 2018 Author Share Posted July 11, 2018 ok psu not issue we allready know this part of think we work with orange pi lol bad sdcard ... yes we have more 10 sdcard with the same issue, i dont think so Link to comment Share on other sites More sharing options...
Jimmy Raymond Belanger Posted July 11, 2018 Author Share Posted July 11, 2018 I anwser my proper question, I going to turn off usb port gpio, I give you reply Link to comment Share on other sites More sharing options...
chwe Posted July 11, 2018 Share Posted July 11, 2018 3 minutes ago, Jimmy Raymond Belanger said: orange pi zero - usb 4 pin gpio - exploit buffer overlow inject file by usb gpio voila Then you talk about an USB issue, not a GPIO issue.. (a pin on a board doesn't mean it's a gpio - general purpose input/output). If you don't want that something on the USB pins on pinheader happens, I think (didn't test) it should be sufficient to just disable the device tree overlay which activate those USBs (as a 'hot fix'), and then probably report it to the sunxi mailing list in case it turns out to be a kernel-issue. Link to comment Share on other sites More sharing options...
Jimmy Raymond Belanger Posted July 11, 2018 Author Share Posted July 11, 2018 seriouly.... the orange pi zero have 4 GPIO PIN = USB.... usb or gpio same think for me it 4 pin... my research is private, no information about security is provided. it just look like the driver send by the controler board have malisious software.... I give you feedback after disable usb gpio port Link to comment Share on other sites More sharing options...
martinayotte Posted July 11, 2018 Share Posted July 11, 2018 6 minutes ago, Jimmy Raymond Belanger said: it just look like the driver send by the controler board have malisious software... You should detailed what is that famous board and how it is connected to OPi headers. If you have it connected only on dual-header, there is no USB there, so no injection possible on those pins ... Link to comment Share on other sites More sharing options...
Jimmy Raymond Belanger Posted July 11, 2018 Author Share Posted July 11, 2018 famous board = sorry private information yes every pin of the orange pi on it, I disable the usb port by removing the 4 port physicaly with my power left hand. the software come from (gpio) usb port. thx you Link to comment Share on other sites More sharing options...
chwe Posted July 11, 2018 Share Posted July 11, 2018 14 minutes ago, Jimmy Raymond Belanger said: seriouly.... the orange pi zero have 4 GPIO PIN = USB.... usb or gpio same think for me it 4 pin... And that's where your thinking goes wrong and why @martinayotte immediately thought you must be wrong. Pin != GPIO, otherwise you could argue that the 5V Pin on the pinheader must also be a GPIO. Nevertheless, it might be interesting which 'HAT' you stick to your OPi-Zero (even when it's not a GPIO issue it might be an USB issue, or an issue where this "HAT" doesn't do sane things) and for: 1 hour ago, Jimmy Raymond Belanger said: sometime the pcb inject file inside the linux and create dpkg error. it might be interesting to see some logs so that others can have a look whats going on here.. e.g. an 'armbianmonitor -u' could be a good starter? Link to comment Share on other sites More sharing options...
Recommended Posts