Compiling from source


(Martin Oprešnik) #1

Hello,

I’m working on a project, where we need to change driver (module) in order to get some devices work. If I compile just the module, I get error “invalid module format”. Some people suggest to build kernel from source. I tried that following your tutorial (https://bananapi.gitbooks.io/bpi-m3/zh/bpi-m3crosscompileteach.html). After compiling there is no “download” directory. There is an “output” directory, but there is missing boot.fex. Instead boot.fex is symbolic link to file which does not exist.

Can you please help me with this problem or give reference to some reading.

Best regards, Martin


(bpi team) #2

you also can read this documents:

BPI-M3& M2Plus compile source SOP

https://drive.google.com/file/d/0B4PAo2nW2KfnYVRsbC14U25oRlk/view?usp=sharing