Dear Robert, dear all, compiling the kernel directly on the BBB took the whole last day (maybe also because of some errors during build: missing packages & some file where corrupted or missing).
For all which also want to do that these are the required steps: Prerequirements (at least): * apt-get install ncurses-dev * apt-get install bc * apt-get install lzop 1.) Download kernel source from: https://github.com/RobertCNelson/linux-stable-rcn-ee 2.) load def-config make ARCH=arm LOCALVERSION=1.0 CROSS_COMPILE= rcn-ee_defconfig 2.) make menuconfig -> I wanted to enable the debugfs option for the ATH9k driver module (see link below). But you have A LOT possibilities to change your kernel here. https://wireless.wiki.kernel.org/en/users/Drivers/ath9k/debug compiling the kernel 3.) make ARCH=arm LOCALVERSION=1.0 CROSS_COMPILE= KBUILD_DEBARCH=armhf deb-pkg @Robert or other experts: are the commands and the order correct? Now I have four deb files: * linux-firmware-image-XYZ.deb * linux-headers-XYZ.deb * linux-image-XYZ.deb * linux-libc-dev-XYZ.deb To install the new kernel I think I will just have to use dpkg --install *.deb (in the subdirectory where the .deb files are located). Is this ok? Or do I have to think about the right order when installing the deb files? Or something else to think about after installing the deb files? Will this also install all the driver modules (the main reason while I'm doing all this)? (on my linux PC I installed my kernel AND had to use 'make module_install') I hope you can help me with that once again! Thanks in advance and best regards, Marco 2015-02-17 20:39 GMT+01:00 Marco Steger <[email protected]>: > Hi Robert, > thank you - I will try To compile the kernel tomorrow. > > Backports: https://backports.wiki.kernel.org/index.php/Documentation > > I'm not sure if it is also part of the Debian backport repo. It's mainly > about wireles: 80211, Bluetooth, ... > > Thanks again and besteht regards, > Marco > Am 17.02.2015 18:42 schrieb "Robert Nelson" <[email protected]>: > > On Tue, Feb 17, 2015 at 11:39 AM, Marco Steger <[email protected]> >> wrote: >> > Dear Robert, >> > thanks for your help - again! :) >> > >> >>Yeap, all the patches are in the tag... The default config is: >> >> rcn-ee_defconfig >> > This is great! Makes things much easier! >> > >> >> make ARCH=arm LOCALVERSION=-<some value> CROSS_COMPILE= >> > KBUILD_DEBARCH=armhf deb-pkg >> > >> > I'm not really sure here: Does this mean that the compiling will be >> done on >> > the BBB or crosscompile on another PC? But I will need to install a >> > toolchain for that rigth? This one: 'gcc-arm-linux-gnueabi'? >> >> If on the "BBB" just use: CROSS_COMPILE= >> >> If on an x86, use: CROSS_COMPILE=/path/to/bin/gcc >> >> > I also tried to comple my backports (directly on the BBB). Therefore, I >> used >> > KLIB and KLIB_BUILD to point to the kernel source. But this didn't >> worked >> > for me. But maybe also a problem with missing tools / toolchain. Has >> anyone >> > expiriences with backports on BBB? >> >> debian backport repo? >> >> Regards, >> >> -- >> Robert Nelson >> http://www.rcn-ee.com/ >> >> -- >> For more options, visit http://beagleboard.org/discuss >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "BeagleBoard" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/beagleboard/WFlb_7dzwi0/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
