Hi,
I’m a newcomer to kernel compilation. I had the latest Debian 9.5 2018-10-07 4GB SD LXQT installed on my BeagleBone Black Wireless.
Doing uname -r, I discovered that Kernel 4.14.71-ti-r80 is part of this Debian image.
I followed some instructions:
https://elinux.org/EBC_Installing_Kernel_Source
In a nutshell, the instructions state to do this on a Linux PC:
git clone https://github.com/RobertCNelson/bb-kernel.git
cd bb-kernel
git tag
I couldn’t find 4.14.71-ti-r80 in the tag list, but the latest in the list for release 4.14.71 seemed to be patch ‘bone17’, i.e:
4.14.71-bone17
So, I did:
git checkout 4.14.71-bone17 -b 4.14.71-bone17
./build_kernel.sh
A Kernel Configuration text window appeared partway, and I clicked on Exit as mentioned in the instructions, and ultimately everything compiled.
To copy it across to the BBB, I put the micro SD card into the Linux PC, edited the system.sh file to set MMC variable to point to the disk name (/dev/sdb in my case) and then typed
./tools/install_kernell.sh
All seemed to go fine, and I put it into my BBB-Wireless, and powered up.
My problem is, although it is running, I can only access it via the serial console pins (using a USB UART cable). There is no 192.168.7.0 network any more, nor is there any wlan any more. If I type ifconfig -a, all I see is interface ‘lo’.
I have two main questions.
Firstly, where did I go wrong? Should I have done something extra for BBB-Wireless?
Secondly, if I wanted to build the exact same kernel version as in the Debian 9.5 2018-10-07 4GB SD LXQT image, how do I know which tag to use? I presume the tag I used is not the same as 4.14.71-ti-r80
The reason I’m building the kernel, is as a test prior to attempting to build it with Xenomai patches (another thing I’ve never done before : (
Many thanks in advance for your help.