hypriot / rpi-kernel

Build a Linux kernel for Raspberry Pi 0/1/2/3/3B+
MIT License
134 stars 46 forks source link

Update kernel to 4.4.10 with Docker settings #20

Closed DieterReuter closed 8 years ago

DieterReuter commented 8 years ago
StefanScherer commented 8 years ago

@DieterReuter the problem with the CircleCI timeout can be fixed with https://github.com/hypriot/rpi-kernel/commit/d95161bfc94f2c0cf9750b88d7558683d69ff801 We should cherry-pick that into this PR.

DieterReuter commented 8 years ago

Thanks, I'm testing it locally right now.

DieterReuter commented 8 years ago

@StefanScherer your fix works great. A local build which needs 72min before is now down to 25min.

StefanScherer commented 8 years ago

Oh, build https://circleci.com/api/v1/project/hypriot/rpi-kernel/17/output/10/0?file=true had problems.

dpkg-source: info: building linux-4.4.10-hypriotos-v7+ in linux-4.4.10-hypriotos-v7+_4.4.10-hypriotos-v7+-1.dsc
dpkg-genchanges: including full source code in upload
+ /var/kernel_build/cache/tools/mkimage/mkknlimg /var/kernel_build/cache/linux-kernel/arch/arm/boot/Image /var/kernel_build/results/kernel-20160519-200324/rpi2_3/kernel7.img
scripts/compile_kernel.sh: line 141: /var/kernel_build/cache/tools/mkimage/mkknlimg: No such file or directory
StefanScherer commented 8 years ago

https://github.com/raspberrypi/tools/tree/master/mkimage tools has been removed.

StefanScherer commented 8 years ago
The mkknlimg and knlinfo utilities are now found in the scripts directory
of the Linux tree, where they are covered by the kernel licence.

Note also that the firmware shipped with 4.4 kernels now assumes the kernel
is Device Tree-capable unless there is a trailer to say otherwise, meaning
that these tools aren't needed for most situations.
StefanScherer commented 8 years ago

LGTM