Guest Posted March 9, 2017 Posted March 9, 2017 I try to generate a module but I can't find the .ko in the deb package generated. It would be great to describe how to make a patch too. cd ~/crosscompile/ apt-get -y install git git clonehttps://github.com/igorpecovnik/lib --depth 1 cp lib/compile.sh . cp lib/patch/kernel/sun7i-default/user.patch userpatches/kernel/ Set required modules to "m" in the following config file : cd ~/crosscompile/output/linux-sun8i-default.config ./compile.sh In this script kernel configure = "no" (in order to not erase config file) cd ~/crosscompile/output/debs/ ar vx linux-image-sun8i_5.27_armhf.deb tar -tzvf data.tar.xz ls -al ~/crosscompile/output/debs/lib/modules/3.4.113-sun8i/kernel/drivers/media/rc I have kernel modules but not all modules expected in this folder... Is a command line forgotten? Which one ?
Guest Posted March 9, 2017 Posted March 9, 2017 https://docs.armbian.com/Developer-Guide_Build-Preparation/ https://docs.armbian.com/Developer-Guide_User-Configurations/ https://docs.armbian.com/Developer-Guide_Build-Options/
Guest Posted March 10, 2017 Posted March 10, 2017 I have some problems compiling kernel : [ o.k. ] This script will try to update Already up-to-date. Already on 'master' Your branch is up-to-date with 'origin/master'. /root/crosscompile/lib/general.sh: line 499: syntax error near unexpected token `(' /root/crosscompile/lib/general.sh: line 499: ` grep -q i386 <(dpkg --print-foreign-architectures) || dpkg --add-architecture i386' Yesterday it was compiling well..... I opened an issue, I hope I did a right thing : https://github.com/igorpecovnik/lib/issues
Recommended Posts