Hello,
does anyone know a seamless method for upgrading the mainline linux kernel of a debian buster distro (installed on the EMMC, if that does matter) ?
I know that a kernel built as a .deb package is a solution, but I never was able to build or find those .deb and use them.
Else a tool like ukuu on x86 would be the best (if can run from command line, an some cloud service can make the updates available not too long after new kernels are released)
@hyphop, please tell us in this thread how to build just an uptodate linux mainline kernel and deploy it on a distro already running on a vim (vim1 in my case, running debian buster)
build kernel on your host machine (i think crosscompilation more easy and fast and not recommended build kernels on same vim device - more slow …) with prefered config
copy new kernel image to /boot same plase as vmlinuz-5.5.0-rc2 copy new kernel to zImage
PS: 5.x.x - is just example u must change it to your values
PSS: if u need more detailed manual plz tell me which step (becouse i dont know you skills level )
@chewitt, how to build vim1 kernel simply out of your 5.6 linux branch ?my idea is to get a vim1 config file from khadas fenix 5.5 build scripts… hope that will work
I’ll get around to rebasing and updating some things in the next couple of days … some work things have priority for me right now. It should be trivial for you to do the same.
In manjaro, users get updated kernel once they are released. While users can also try pure mainline and rc releases.
For Vim’s I update kernel from @balbes150 branch.
We have linux-vim package and linux-aarch64' which is pure mainline while linux-aarch64-rc` which is pure mainline rc releases.
If anyone want to try updated kernel regularly then please try it on manjaro, it is always helpful for us to have extra testing users.
so, in manjaro server, how would you know when a new kernel is available ?
and then how to you get your distro’s kernel updated then ?
my experience is only wiht ukuu on x86 (in GUI mode) : you get a popup notifying you automatically, you click in it and after a few other steps, the newest kernel in installed (and also added as an option to grub2), then you reboot you boot by default into the newly installed kernel;
my current tentative is to compile in docker chewitt’s kernel 5.6rc7 using fenix’s 5.5rc2 defconfig, we’lle see if the resulting kernel and modules and dtbs can make sense …
I hope that all needed patches for VIMs have already been applied in his 5.6 branch
Yes use the master as its the same but stable version.
5.6.0-rc6
In server you can just run sudo pacman -syyu and this will sync to repo and check for updates if there is any then it will show you.
In Ui there is Pamac which will alert automatically when there is any update using the pamac ui you can update. As Manjaro is a rolling release you will always get updates without the need to installing the new release image.
usually I also install new built initramfs and dtbs as follows
# export ARCH=arm64
# export LINUX=5.6.0-rc4 <<-- example
... build and install everything
# cp -p arch/$ARCH/boot/dts/amlogic/*.dtb /boot/dtb-$LINUX/amlogic
# update-initramfs -c -k $LINUX -b $PWD
# cp -p initrd.img-$LINUX initrd.img
# mkimage -A $ARCH -O linux -T ramdisk -C none -a 0 -e 0 -n uinitrd -d initrd.img uInitrd
# cp -p uInitrd /boot
... the other files in /boot with -$LINUX appended are just copies of what was built