Installing the latest kernel (Debian Stretch) + configuring the bootloader?
#1
Question 
Greetings,

Does anyone have any idea how exactly to go about this procedure? I mean, I managed to build kernel 4.15.5 from the vanilla sources, and I'm aware of what I'd do next on an x86-64 machine (make a .deb package, install it)...but, and this is the part that throws me for a loop, I'd normally just run update grub and reboot. I've looked in the /boot partition, and I'm feeling the process might be a little more complex here...I see a label for kernel-4.4 in extlinux.conf, but nothing immediately in the way of tools for adding to this file a new image...
  Reply
#2
The 'correct' way to do this is like ayufan does to make a debian package and then use flash-kernel to update the things in /boot and /lib/modules... I usually do it quick and dirty when I try things out and just copy Image to /boot/efi and the modules to /lib/modules manually... but make backups before you do that in case your new kernel doesn't work as expected or something goes wrong while moving the files around... 

I guess with more and more people building their own configs and kernel versions, we need to write some tutorial on how to do that on ARM boards, but it's not really different from PC's, just that usually there is u-boot instead of grub and the additional issue of updating the dtb (devicetree) in case there were changes in the hardware config...
Come have a chat in the Pine A64 IRC channel >>
  Reply
#3
(02-25-2018, 03:42 PM)xalius Wrote: The 'correct' way to do this is like ayufan does to make a debian package and then use flash-kernel to update the things in /boot and /lib/modules... I usually do it quick and dirty when I try things out and just copy Image to /boot/efi and the modules to /lib/modules manually... but make backups before you do that in case your new kernel doesn't work as expected or something goes wrong while moving the files around... 

I guess with more and more people building their own configs and kernel versions, we need to write some tutorial on how to do that on ARM boards, but it's not really different from PC's, just that usually there is u-boot instead of grub and the additional issue of updating the dtb (devicetree) in case there were changes in the hardware config...

Hmm. Will do. On another note, how does one manually create / install a new initrd image? The usual tools seem to be missing from the depo.

Normally, I'd just:
Code:
make-kpkg --initrd --revision=1.0.custom kernel_image


But make-kpkg seems to be missing.
  Reply
#4
(02-25-2018, 03:42 PM)xalius Wrote: The 'correct' way to do this is like ayufan does to make a debian package and then use flash-kernel to update the things in /boot and /lib/modules...

I know is a dummy question (sorry), but can you explain how to do "like ayufan does"?
Thanks!
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Fedora 31 crosscompilation fdt problem mimics debian 888789 kf5zmi 2 46 6 hours ago
Last Post: kf5zmi
  Help troubleshooting kernel panic gabrielfin 2 71 12-16-2019, 06:50 PM
Last Post: gabrielfin
  Any advantages to using the mainline kernel dkebler 0 97 11-16-2019, 12:17 PM
Last Post: dkebler
  5.3 kernel support? csrf 4 333 11-11-2019, 01:02 AM
Last Post: suberimakuri
  Does anybody run the mainline kernel? CameronNemo 3 304 09-09-2019, 07:56 PM
Last Post: CameronNemo
  Upgrading Debian Stretch image to Buster cosuhi 2 338 08-27-2019, 02:42 AM
Last Post: Malmgren
  Can Anyone help me install Wine latest on Rock64 Rock90 1 327 08-10-2019, 06:18 AM
Last Post: OnyxxOr
  Underclocking the Rock64 (latest stable linux image) va88 2 205 08-07-2019, 05:39 PM
Last Post: evilbunny
  Debian build from mrfixit2001 Luke 11 1,958 06-21-2019, 01:20 PM
Last Post: JCMPine64
  Ayufan Debian Stretch Openmediavault 4 5G Wifi Not Connecting Poincare 0 189 03-26-2019, 07:28 PM
Last Post: Poincare

Forum Jump:


Users browsing this thread: 1 Guest(s)