View Single Post
Old 06-11-2018, 04:17 AM   #325
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by NiLuJe View Post
It of course would be so much simpler if they shipped a depmod and we could simply modprobe it, but, oh, well .

And now that I'm writing that, I get the urge to double-check... I think I remember modprobe being fubar, but depmod? Hmm...

EDIT: Yep, also insmod or whatever in disguise... Will try building one, FOR SCIENCE!

EDITē: Yup, definitely better:


Code:
env PLATFORM="mx50-ntx" ./busybox depmod -n | ./depmod_process.sh | sort
alias sdio:c*v02D0d0000* dhd
alias sdio:c*v02D0d0492* dhd
alias sdio:c*v02D0d0493* dhd
alias sdio:c*v02D0d4319* dhd
alias sdio:c*v02D0d4329* dhd
alias sdio:c00v*d* dhd
alias symbol:usb_gadget_register_driver arcotg_udc
alias symbol:usb_gadget_unregister_driver arcotg_udc
misc/lowmem.ko: 
usb/gadget/arcotg_udc.ko: 
usb/gadget/g_ether.ko: usb/gadget/arcotg_udc.ko
usb/gadget/g_file_storage.ko: usb/gadget/arcotg_udc.ko
wifi/dhd.ko: 
wifi/sdio_wifi_pwr.ko:
EDIT^3: Binary & patch attached.

EDIT^4: This is purely to compute the depgraph (hence the -n flag, meaning dry-run), don't let this actually generate modsym/modver/modalias stuff!
Because yeah, I enabled *all* modutils. One safe thing to try is the prettier lsmod, though.
Thank you, this looks really useful.
tshering is offline   Reply With Quote