On a BeagleBone Black the Linux release installed is a bone-debian-9.2-iot-armhf-2017-10-10-4gb.img. After booting the stock system, it is updated to the
Linux 4.9.37-ti-r47 image by:
apt-get update apt-get install linux-image-4.9.37-ti-r47 apt-get install linux-firmware-image-4.9.37-ti-r47
Everything works fine. Now I uncommented all the
deb-src line in
/etc/apt/sources.list file. Did a
apt-get update. And followed the steps in the related SO: how to know the source repository of a package in debian, to find out where to get the source code. Unfortunately it turns up an error:
root@beaglebone:/home/debian# apt-cache showsrc linux-image-4.9.37-ti-r47 W: Unable to locate package linux-image-4.9.37-ti-r47 N: No packages found
Where to find the source package that can be used to build the binary kernel?
I did the same for the
bash package. It works fine.