Where to find the source of the kernel package on a debian armhf BeagleBone Black build?
Clash Royale CLAN TAG#URR8PPP
up vote
-1
down vote
favorite
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.
debian kernel linux-kernel beagleboneblack
add a comment |Â
up vote
-1
down vote
favorite
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.
debian kernel linux-kernel beagleboneblack
1
Did you just want the kernel source? github.com/beagleboard/linux/releases/tag/4.9.37-ti-r47
â tk421
Jun 22 at 3:03
@tk421 It's interesting that the source does not reside with the released binaries. I'm looking for building the exactly same linux-image-<version> package as installed to the target. If you know how to create the deb, please convert your comment and further information into an answer. That will be great. Thanks!
â minghua
Jun 22 at 15:48
1
I looked but no such luck.
â tk421
Jun 22 at 22:30
I figured the code might not exist as a snapshot. There is a build script which will fetch the code and patch from multiple repos. I'll post an answer if it does show functionally as good as the original.
â minghua
Jun 30 at 4:24
add a comment |Â
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
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.
debian kernel linux-kernel beagleboneblack
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.
debian kernel linux-kernel beagleboneblack
edited Jun 22 at 15:50
asked Jun 22 at 1:36
minghua
1194
1194
1
Did you just want the kernel source? github.com/beagleboard/linux/releases/tag/4.9.37-ti-r47
â tk421
Jun 22 at 3:03
@tk421 It's interesting that the source does not reside with the released binaries. I'm looking for building the exactly same linux-image-<version> package as installed to the target. If you know how to create the deb, please convert your comment and further information into an answer. That will be great. Thanks!
â minghua
Jun 22 at 15:48
1
I looked but no such luck.
â tk421
Jun 22 at 22:30
I figured the code might not exist as a snapshot. There is a build script which will fetch the code and patch from multiple repos. I'll post an answer if it does show functionally as good as the original.
â minghua
Jun 30 at 4:24
add a comment |Â
1
Did you just want the kernel source? github.com/beagleboard/linux/releases/tag/4.9.37-ti-r47
â tk421
Jun 22 at 3:03
@tk421 It's interesting that the source does not reside with the released binaries. I'm looking for building the exactly same linux-image-<version> package as installed to the target. If you know how to create the deb, please convert your comment and further information into an answer. That will be great. Thanks!
â minghua
Jun 22 at 15:48
1
I looked but no such luck.
â tk421
Jun 22 at 22:30
I figured the code might not exist as a snapshot. There is a build script which will fetch the code and patch from multiple repos. I'll post an answer if it does show functionally as good as the original.
â minghua
Jun 30 at 4:24
1
1
Did you just want the kernel source? github.com/beagleboard/linux/releases/tag/4.9.37-ti-r47
â tk421
Jun 22 at 3:03
Did you just want the kernel source? github.com/beagleboard/linux/releases/tag/4.9.37-ti-r47
â tk421
Jun 22 at 3:03
@tk421 It's interesting that the source does not reside with the released binaries. I'm looking for building the exactly same linux-image-<version> package as installed to the target. If you know how to create the deb, please convert your comment and further information into an answer. That will be great. Thanks!
â minghua
Jun 22 at 15:48
@tk421 It's interesting that the source does not reside with the released binaries. I'm looking for building the exactly same linux-image-<version> package as installed to the target. If you know how to create the deb, please convert your comment and further information into an answer. That will be great. Thanks!
â minghua
Jun 22 at 15:48
1
1
I looked but no such luck.
â tk421
Jun 22 at 22:30
I looked but no such luck.
â tk421
Jun 22 at 22:30
I figured the code might not exist as a snapshot. There is a build script which will fetch the code and patch from multiple repos. I'll post an answer if it does show functionally as good as the original.
â minghua
Jun 30 at 4:24
I figured the code might not exist as a snapshot. There is a build script which will fetch the code and patch from multiple repos. I'll post an answer if it does show functionally as good as the original.
â minghua
Jun 30 at 4:24
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
I believe the source code does not exist in a single package/snapshot.
There is a build script from https://eewiki.net/display/linuxonarm/BeagleBone+Black . The script is pulling code in three steps:
- It clones from https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
- Then it fetches from https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
- Finally it pulls from https://github.com/RobertCNelson/ti-linux-kernel.git and applies the patches from this repo.
When all these steps are done, the build script tags and commits the code.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
I believe the source code does not exist in a single package/snapshot.
There is a build script from https://eewiki.net/display/linuxonarm/BeagleBone+Black . The script is pulling code in three steps:
- It clones from https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
- Then it fetches from https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
- Finally it pulls from https://github.com/RobertCNelson/ti-linux-kernel.git and applies the patches from this repo.
When all these steps are done, the build script tags and commits the code.
add a comment |Â
up vote
1
down vote
I believe the source code does not exist in a single package/snapshot.
There is a build script from https://eewiki.net/display/linuxonarm/BeagleBone+Black . The script is pulling code in three steps:
- It clones from https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
- Then it fetches from https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
- Finally it pulls from https://github.com/RobertCNelson/ti-linux-kernel.git and applies the patches from this repo.
When all these steps are done, the build script tags and commits the code.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
I believe the source code does not exist in a single package/snapshot.
There is a build script from https://eewiki.net/display/linuxonarm/BeagleBone+Black . The script is pulling code in three steps:
- It clones from https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
- Then it fetches from https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
- Finally it pulls from https://github.com/RobertCNelson/ti-linux-kernel.git and applies the patches from this repo.
When all these steps are done, the build script tags and commits the code.
I believe the source code does not exist in a single package/snapshot.
There is a build script from https://eewiki.net/display/linuxonarm/BeagleBone+Black . The script is pulling code in three steps:
- It clones from https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
- Then it fetches from https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
- Finally it pulls from https://github.com/RobertCNelson/ti-linux-kernel.git and applies the patches from this repo.
When all these steps are done, the build script tags and commits the code.
answered Jun 30 at 18:27
minghua
1194
1194
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f451213%2fwhere-to-find-the-source-of-the-kernel-package-on-a-debian-armhf-beaglebone-blac%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
Did you just want the kernel source? github.com/beagleboard/linux/releases/tag/4.9.37-ti-r47
â tk421
Jun 22 at 3:03
@tk421 It's interesting that the source does not reside with the released binaries. I'm looking for building the exactly same linux-image-<version> package as installed to the target. If you know how to create the deb, please convert your comment and further information into an answer. That will be great. Thanks!
â minghua
Jun 22 at 15:48
1
I looked but no such luck.
â tk421
Jun 22 at 22:30
I figured the code might not exist as a snapshot. There is a build script which will fetch the code and patch from multiple repos. I'll post an answer if it does show functionally as good as the original.
â minghua
Jun 30 at 4:24