January 30, 20242 yr 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
January 30, 20242 yr Solution 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.
January 30, 20242 yr Author 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?
January 30, 20242 yr 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.
January 31, 20242 yr Author 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
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.