Hi, community.
I have custom board with am335x. It is almost the same as beagle-bone, but with NAND and 6xUARTS and without video, mmc, etc.
I decided to build kernel 4.8 from official git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git repository.
Configuration without module support ( completely monolite ).
I do not need dynamic freq scaling and power-save tweaks, only perfomanse governor.
My PMIC is tps65217, but I do not need power button, back-light and charger. My board have no display and battery, it is completly user-less linux box.
Ok, I configure kernel, started with provided omap2plus_defconfig . Wrote my device tree based on EVM and BB.
Linux boots, mounts NFS, it seems all ok, but...
...I see some udev messages. Here they are:
udevd[250]: failed to execute '/sbin/modprobe' '/sbin/modprobe -b platform:Fixed MDIO bus': No such file or directory
udevd[252]: failed to execute '/sbin/modprobe' '/sbin/modprobe -b of:NocpT<NULL>Csimple-bus': No such file or directory
udevd[253]: failed to execute '/sbin/modprobe' '/sbin/modprobe -b of:NusbT<NULL>Cti,am33xx-usb': No such file or directory
udevd[303]: failed to execute '/sbin/modprobe' '/sbin/modprobe -b platform:tps65217-charger': No such file or directory
udevd[304]: failed to execute '/sbin/modprobe' '/sbin/modprobe -b of:Ntps65217-pwrbuttonT<NULL>Cti,tps65217-pwrbutton': No such file or directory
udevd[302]: failed to execute '/sbin/modprobe' '/sbin/modprobe -b platform:tps65217-bl': No such file or directory
udevd[245]: error changing net interface name eth0 to eth88: Device or resource busy
udevd[323]: failed to execute '/sbin/modprobe' '/sbin/modprobe -b of:Nl4_wkupT<NULL>Cti,am3-l4-wkupCsimple-bus': No such file or directory
done.
udevd[324]: failed to execute '/sbin/modprobe' '/sbin/modprobe -b of:NsocT<NULL>Cti,omap-infra': No such file or directory
udevd[326]: failed to execute '/sbin/modprobe' '/sbin/modprobe -b of:Nwkup_m3T<NULL>Cti,am3352-wkup-m3': No such file or directory
udevd[327]: failed to execute '/sbin/modprobe' '/sbin/modprobe -b of:NprcmT<NULL>Cti,am3-prcm': No such file or directory
udevd[328]: failed to execute '/sbin/modprobe' '/sbin/modprobe -b of:NscmT<NULL>Cti,am3-scmCsimple-bus': No such file or directory
udevd[329]: failed to execute '/sbin/modprobe' '/sbin/modprobe -b of:NmpuT<NULL>Cti,omap3-mpu': No such file or directory
udevd[331]: failed to execute '/sbin/modprobe' '/sbin/modprobe -b of:Nscm_confT<NULL>Csyscon': No such file or directory
udevd[332]: failed to execute '/sbin/modprobe' '/sbin/modprobe -b of:Nwkup_m3_ipcT<NULL>Cti,am3352-wkup-m3-ipc': No such file or directory
As I understand, Linux can not find drivers for some devices? Ofcouse, there are no modules! But, I do not need:
tps65217-charger
tps65217-pwrbutton
tps65217-bl
Should I switch-on this subsystems on kernel-config and tow this dead (for my implementation) code? Or, may be, I should write dummy udev rule for this nodes? What is best practice? Is there another way to switch-of unused subsystem so that udev never trigger on it?
Another question...
SoC subsystem, wich trigged by udev like this
soc->mpu
ocp-+->l4_wkup
+->prcm
+->scm->scm_conf
...Surrender, dont shoot! Kernel did not find drivers for Cortex-A8 mpu? Or for power-reset-clock-management? I really thought that ->System Type->TI OMAP/AM/DM/DRA Family ->[*] TI AM33XX brings me all deep magic inside SoC. What I missed?