nerbrume
Debian : using stock kernel July 03, 2016 03:39AM |
Re: Debian : using stock kernel July 03, 2016 04:47AM |
Admin Registered: 13 years ago Posts: 18,558 |
nerbrume
Re: Debian : using stock kernel July 03, 2016 10:35AM |
I'm not sure I perfectly understood that, but I took the plunge anyway, and everything seems to be working.Quote
> - Does it automatically append the dtb file to the
> kernel ?
No, it does not.
#aptitude install flash-kernel #aptitude install linux-headers-kirkwood linux-image-kirkwood linux-modules-3.16.0-4-kirkwood linux-latest-modules-3.16.0-4-kirkwood firmware-linux-free libc6-dev #/usr/bin/mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-3.16.0-4 -d /boot/vmlinuz-3.16.0-4-kirkwood /boot/uImage #/usr/bin/mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs -d /boot/initrd.img-3.16.0-4-kirkwood /boot/uInitrd #rebootHere, somehow, the dockstar properly rebooted in 3.16 (confirmed with uname), but uboot seems to still be loading the old dtb file. Indeed, after purging the 4.4 kernel (and properly triggering flash-kernel), my dockstar wouldn't boot, trying to load a non-existing (or non-necessary ?) dtb. You have to clear the dtb_file env :
#aptitude purge linux-image-4.4 linux-image-4.4.0-kirkwood-tld-1 linux-modules-4.4 (...) Processing triggers for flash-kernel (3.35+deb8u3) ... Installing kirkwood-dockstar.dtb into /boot/dtb-3.16.0-4-kirkwood Installing new dtb-3.16.0-4-kirkwood. flash-kernel: installing version 3.16.0-4-kirkwood (...) #fw_setenv dtb_file
I get security updates for all Debian's packages, but not the kernel, since it's your custom version, ain't I ?Quote
With apt source list set to Debian update security, you don't miss any such update.
I'm well aware of the risks, but I'd rather have a broken system (hopefully not bricked, hence my concerns about mtd1), than an insecure one :)Quote
I would not recommend to do dist-upgrade unattended
Re: Debian : using stock kernel July 03, 2016 01:34PM |
Admin Registered: 13 years ago Posts: 18,558 |