I have a USB modem driver for linux. Can I convert it to loadable kernel modules? I am thinking of loading it in android kernel and importing to a AMD machine. Please help. Thanks for helping.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The answer is simple, you need to cross compile your module if you want to run it in your specific machine-architecture. I mean if you want to load on ARM then you need to cross compile with
make ARCH=arm CROSS_COMPILE=”toolchain path”.
Similarly you can do for the rest of the machines.
NOTE: If you are compiling on the machine where you need to load then you need not do this. just compile and load with insmod.