I’m trying to make the kernel image file size smaller by disabling unneeded stuff, one of them being the ethernet drivers. Disabling the ethernet device by device tree causes a kernel error. Please see attached file
All I did was this in the device tree imx6ull-colibri.dtsi:
phy-mode = "rmii"; phy-handle = <ðphy1>; phy-supply = <®_eth_phy>; status = "disabled";
Disabling network drivers in the kernel seems to produce the same effect as well. Is there a proper way to disable the ethernet driver and hardware?