Jump to content

dudeiot

Members
  • Posts

    2
  • Joined

  • Last visited

  1. https://paste.armbian.com/apusitudaq I did not mention that. However, I executed depmod -a sync reboot It did not help Good catch ! If the module is loaded from the initrd it explains everything. It seems to solve my problem it is necessary to change "devspi" module source in Linux source tree and regenerate all images. Is there a simple way to generate uInitrd-5.15.85-sunxi only? Thanks
  2. Hi, I could enable "spidev" support by armbian-config -> system -> hardware (enable spidev) . Everything worked fine. However, the original spidev module supports messages only up to 4096 bytes. I compiled a new version of custom spidev.ko with the 32,768 buffer size. Then, converted it to spidev.ko.xz ( xz -v spidev.ko) and replaced the original file under /lib/modules/5.15.85-sunxi/kernel/drivers/spi/spidev.ko.xz The new module works fine when I install it manually: insmod /lib/modules/5.15.85-sunxi/kernel/drivers/spi/spidev.ko.xz However, after the reboot the original 4096-byte version of "spidev" module is loaded magically. It is loaded even if I remove the /lib/modules/5.15.85-sunxi/kernel/drivers/spi/spidev.ko.xz file. I searched through the whole micro-SD partition and cound not find any copy of spidev.ko.xz or spidev.ko Would you please explaine the mystery ? Thanks in advance
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines