townie Posted January 30 Posted January 30 Hi, Im trying to install a driver for a usb wifi dongle. Im getting the error below. Can I compile the driver with the older linux-header? Is there somewhere where I can get the current linux-headers? I tried adding --kernelsourcedir but it keeps asking for the same version. I used armbian-config to install the headers and source Kernel upgrades are frozen due to hardware 0 Quote
Solution Werner Posted January 30 Solution Posted January 30 You need the kernel headers matching your kernel version. Older headers will not work. However we had (have?) some issues with the repository so you may need to switch to a different kernel version which also has the matching headers in the repo. 0 Quote
townie Posted January 30 Author Posted January 30 Thankyou for the reply. Will this version have headers bookworm_edge_6.6.9 and if I install this version can I update to the 6.1.70 via CLI or do I need to reflash the image? 0 Quote
Werner Posted January 30 Posted January 30 5 minutes ago, townie said: Will this version have headers bookworm_edge_6.6.9 I don't know. You can check by yourself (something like apt-cache search linux*current-rockchip64) 6 minutes ago, townie said: an I update to the 6.1.70 via CLI Well that would rather be a downgrade than an upgrade Anyway while switching kernel again would work the module you want to build and need the headers for will not. 0 Quote
townie Posted January 31 Author Posted January 31 How do I execute this command to import python module? // this is necessary for oragepi5 sed -i '31i MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);' os_dep/linux/os_intfs.c 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.