[08:37] i currently have this kernel 4.15.0-1031-raspi2 , how can i upgrade to https://launchpad.net/ubuntu/+source/linux-raspi2/4.15.0-1041.44 [09:05] waheedi, "sudo apt update; sudo apt upgrade" should bring it in [09:05] it didn't [09:05] ogra: i even tried dist-upgrade [09:05] everything is up to date [09:06] not true :) [09:06] try full-upgrade (though normally upgrade should be sufficient , check if you have security and updates enabled in your /etc/apt/sources.list) [09:10] yes ogra, enabled [09:11] I will try full-upgrade [09:11] same [09:12] what kernel is installed ? [09:13] 4.15.0-1031-raspi2 [09:20] and thats a regular armh 18.04 install ? [09:20] *armhf [09:21] root@bionic:~# egrep "bionic-updates|bionic-security" /etc/apt/sources.list | grep -v ^# [09:21] deb http://ports.ubuntu.com/ubuntu-ports bionic-updates main restricted [09:21] deb http://ports.ubuntu.com/ubuntu-ports bionic-updates universe [09:21] deb http://ports.ubuntu.com/ubuntu-ports bionic-updates multiverse [09:21] deb http://ports.ubuntu.com/ubuntu-ports bionic-security main restricted [09:21] deb http://ports.ubuntu.com/ubuntu-ports bionic-security universe [09:21] deb http://ports.ubuntu.com/ubuntu-ports bionic-security multiverse [09:21] this is what you should have ... [09:21] (in your sources.list) [11:29] thanks ogra: I do have them in my apt sources [11:29] its not armhf its arm64 [11:35] ogra: could this be the reason i don't see it ? sudo apt remove flash-kernel initramfs-tools [11:40] waheedi: what's the name of the kernel pakcga eyou have installed exactly? dpkg -l | grep ^i...linux-image' [11:40] waheedi: what's the name of the kernel pakcga eyou have installed exactly? dpkg -l | grep '^i...linux-image' [11:41] ^typo fixed [11:41] u can remove the quotes :) [11:41] linux-image-4.15.0-1031-raspi2 [11:41] yes, but not have a single only [11:41] sure [11:41] :) [11:41] yeah i do have 4.15.0-1041.44 [11:41] 4.15.0.1041.39 [11:42] do you have linux-image-raspi2 installed? [11:43] yes [11:43] both ii [11:43] but why name -a still shows i: linux-image-4.15.0-1031 [11:43] uname* [11:44] right, linux-image-raspi2 is version 4.15.0.1041.39 for arm64 and depends onlinux-image-4.15.0-1041-raspi2 https://packages.ubuntu.com/bionic-updates/linux-image-raspi2 [11:44] you will need to reboot, and ensure your boot loader will load the newer kernel image [11:45] i did reboot and hard shutdown too [11:45] i'm not sure which boot loader arm32 uses [11:45] *arm64 [11:45] is it gummiboot or something? [11:47] U-Boot apparently [11:48] in my config.txt i see kernel=kernel8.bin [11:48] i'm afraid i know nothing at all about how arm64 boots really, nor what this config.txt is or where it is located, or how it is used. [11:50] thanks tomreyn [11:50] i appreciate the help :) [11:50] using arm64 on a Pi is quite a waste (64bit arm binaries allocate 64bit registers in ram but will only use 32bit variables in it ... you just waste ram that way for o benefit) [11:52] apparently "flash-kernel" is the equivalent to update-grub / grub-install on arm64. [11:52] ... arm64 makes only sense if you actually have more than 4GB ... these pi images we offer on cdimage are great for develping arm64 stuff for big iron machines ... but thats about it [11:52] yes, flash-kernel should set up u-boot to actually pick the right kernel after install [11:52] https://help.ubuntu.com/lts/installation-guide/arm64/ch06s03.html#di-make-bootable [11:53] waheedi: see above [11:54] note that the postinst of the linux-raspi2 package calls flash kernel, so it should be all set-up [11:55] (additionally the installer calls it too during installation) [11:55] thanks ogra [11:56] well, i just stated what "should" happen ... :) [11:56] seems it doesnt or you for some reason [11:58] i sadly havent touched the classic preinstalled images in ages (i' maintaining ubuntu-core for the pi though, but that boots fron snap packages and does not use flash-kernel) [12:00] typically the proprietary botloader would load u-boot which then in turn loads your kernel and initrd based on uEnv.txt ... uEnv.txt should be the file flash-kernel modifies to point to a new kernel binary [12:00] can you "ls -al /boot" and post that to paste.ubuntu.com ? [12:01] (or is it /boot/ubot on classic ? i forgot ... the one that does contain the start.elf file and friends) [12:14] you can install the pastebinit package and pipe into it if you dont use a serial console you can copy/paste from [19:35] ogra: thanks, a lot [19:35] I managed to manually upgrade the kernel [19:36] now name -a shows 4.15.0.1041 [19:36] uname* [19:45] I'm going through this bluetooth notes :) https://bugs.launchpad.net/snappy/+bug/1674509 [19:45] ogra: thanks a lot for that too :) [19:48] im surprised i still see this "Cannot open directory '/etc/firmware': No such file or directory"