abody Posted November 6, 2022 Posted November 6, 2022 I would like to make myself more familiar with the early linx boot process on ARM (u-boot, device trees and co.) and my idea was that I will start tweaking with something which actually works. I tried to figure out how to obtain the source package for u-boot (in my case for linux-u-boot-orangepi3-lts-current) but the armbian package repository seem to contain obly binaries. Any idea wherethe source packages for this binaries are located (e.g. what deb-src line do I need to add to the armbian.list to make "apt-get source" to work)? 0 Quote
Igor Posted November 8, 2022 Posted November 8, 2022 On 11/6/2022 at 9:34 AM, abody said: Any idea wherethe source packages for this binaries are located The only source package that we pack is kernel. U-boot is at Git attached to some TAG + patches. If you want to understand things, dive into https://github.com/armbian/build ... 0 Quote
abody Posted November 18, 2022 Author Posted November 18, 2022 I am actually referring to package sources ( https://wiki.debian.org/Packaging/SourcePackage ) which you can feed into dpkg-buildpackage to create a .deb 0 Quote
Igor Posted November 18, 2022 Posted November 18, 2022 Just now, abody said: I am actually referring to package sources If you check your /etc/apt/sources.list you can see that deb-src repository is not enabled by default. Enable it. Basically just follow instructions on this Debian wiki. We are not changing userland packages - we use Debian packages assembled in our way + additional packages. We don't build vim, but ship Debian package ... Only the critical things are ours: kernel, u-boot, hardware support package, tools for handling hardware, ZSH package, firmware, ... If you want to change ours, except kernel, you need to use build tools as those are n/a in a standard deb-src form. 0 Quote
abody Posted November 19, 2022 Author Posted November 19, 2022 Quote Only the critical things are ours: kernel, u-boot, Yes, and I would like to get the source package of linux-u-boot-orangepi3-lts-current to see how it is being built. 0 Quote
Werner Posted November 19, 2022 Posted November 19, 2022 There are no source packages [in nice debian dpkg format] for u-boot. Sources are pulled from upstream. Everything including all applied patches are there: https://github.com/armbian/build 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.