IRC log of #cubox of Wed 04 Apr 2018. All times are in CEST < Back to index

08:12 suihkulokki> Artox: there are indeed, quite a few steps in making the kernel package
08:12 suihkulokki> Artox: and d-i is even worse :(
08:15 suihkulokki> Artox: generally the steps for kernel after git clone
08:16 suihkulokki> ./debian/bin/genorig.py ../path-to-linux-stable-git-checkout
08:16 suihkulokki> fakeroot debian/rules orig
08:16 suihkulokki> fakeroot debian/rules debian/control
08:17 suihkulokki> nice dpkg-buildpackage -a arm64 -P=cross,nopython,nodoc,pkg.linux.notools -d -B -j18
08:19 suihkulokki> where the first two commands build the orig.tag.xz matching the kernel version - can be skipped by dowloading existing tar from debian archive if exists
08:19 suihkulokki> third command generates debian/control file matching kernel version
08:20 suihkulokki> and the finally a cross-build command
18:52 Artox> suihkulokki: thanks a lot!
18:52 Artox> just booted 4.16.0-rc6-armmp on the dove cubox :)
18:53 Artox> now I want to figure out if any modules need adding to the udebs. We want mmc, usb and sata to work with d-i
19:01 Artox> checked the existing wildcards, and all of those 3 are included in the *-modules packages, perfect
21:35 Artox> sooo, I can boot into d-i, yay
21:36 Artox> but of course it does not know where to fetch the module packages I built
21:55 suihkulokki> Artox: cool :)
21:55 suihkulokki> Artox: how much bigger is the kernel with dove arch added?
21:55 Artox> idk how much bigger
21:55 Artox> but UI can tell you the sizes of what I compiled
21:56 Artox> right now I am in the process of documenting how to boot d-i, as in u-boot commands
21:56 Artox> then plan is to open a bug about it
21:56 Artox> -rw-r--r-- 1 0 0 4088320 Mar 23 13:10 vmlinuz-4.16.0-rc6-armmp
21:57 Artox> if you have a build of that without dove, you will know how much bigger
21:59 suihkulokki> I can get that from the debian archive
22:00 suihkulokki> -rw-r--r-- 1 voipio voipio 4084224 Mar 20 15:52 vmlinuz-4.16.0-rc6-armmp
22:01 suihkulokki> totally reasonable
22:04 Artox> I added the config patch to the bug report about it
22:32 Artox> and I have created a d-i bug
22:36 Artox> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894849
22:36 Artox> lets hope that one will shed light on the last pieces