Starting from the colibri evaluation board image, I can disable all the ports as suggested in the linked question, but how can I modify my device tree in order to have USBs disabled at bootstrap?
For security reason, I would like to have USBs and Ethernet disabled at bootstrap, enabling them through my application.
Starting from the colibri evaluation board image, I can disable all the ports as suggested in the linked question, but how can I modify my device tree in order to have USBs disabled at bootstrap?
If you disable a device in devicetree then it cannot be enabled from Linux. The best would be disable the USBs and Ethernet at startup with a service and enable it using your application.