I currently have:
Linux taz 4.4.132-1075-rockchip-ayufan-ga83beded8524 #1 SMP Thu Jul 26 08:22:22 UTC 2018 aarch64 GNU/Linux
Debian 9
Root is on sda2
Boot is on the sd card (/dev/mmcblk0p*)
I am trying to upgrade it to a later release so I can get fan control (I have no pwm device). I've used aptitude to jump to 5.4.0-rc1-1120 but I don't seem to get it to reboot to it. I see a number of files on /boot (on the SD card) and I'm not sure if I need to change any of them (the efi is not something I've figured out yet).
So you have a new kernel installed but it doesn't boot? Do you have any logs via serial console or on screen?
12-11-2019, 01:23 PM
(This post was last modified: 12-11-2019, 01:32 PM by dukla2000.)
You need to get the new kernel back on the SDcard to boot it. Something like
Code:
sudo mount /dev/mmcblk0p7 /mnt/
sudo rsync -ax --delete /boot/ /mnt/boot/
ps - good luck with 5.4 - be ready to manually edit your SDcard to revert to 4.4 if your luck is anything like mine,
see this thread.
* ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Started Bionic minimal - now "groovy", Openbox desktop for general purpose daily PC.
* PinePhone BraveHeart now v1.2b 3/32Gb daily driver with Mobian on encrypted SDcard, Arch/f2fs/Phosh on eMMC
* PinePhone v1.2a 2G/16Gb that needs USB board replaced
12-12-2019, 04:43 AM
(This post was last modified: 12-12-2019, 05:22 AM by dukla2000.
Edit Reason: add my extlinux.conf
)
(12-11-2019, 11:40 PM)linuxha Wrote: I'll set up a second SD and try that out.
You don't need a second SDcard: if it fails then you just need another PC you can edit the /boot/extlinux/extlinux.conf file on. Either add a efaultt line or make sure the 4.4 section is the first one.
e.g. with the file below I boot 4.4.197
Code:
$ cat /boot/extlinux/extlinux.conf
timeout 10
menu title select kernel
default kernel-4.4.197
label kernel-4.4.202
kernel /boot/vmlinuz-4.4.202-1237-rockchip-ayufan-gfd4492386213
initrd /boot/initrd.img-4.4.202-1237-rockchip-ayufan-gfd4492386213
devicetreedir /boot/dtbs/4.4.202-1237-rockchip-ayufan-gfd4492386213
append rw panic=10 init=/sbin/init coherent_pool=1M ethaddr=${ethaddr} eth1addr=${eth1addr} serial=${serial#} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 root=LABEL=linux-root rootwait rootfstype=ext4
label kernel-4.4.197
kernel /boot/vmlinuz-4.4.197-1236-rockchip-ayufan-g30faab37e339
initrd /boot/initrd.img-4.4.197-1236-rockchip-ayufan-g30faab37e339
devicetreedir /boot/dtbs/4.4.197-1236-rockchip-ayufan-g30faab37e339
append rw panic=10 init=/sbin/init coherent_pool=1M ethaddr=${ethaddr} eth1addr=${eth1addr} serial=${serial#} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 root=LABEL=linux-root rootwait rootfstype=ext4
* ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Started Bionic minimal - now "groovy", Openbox desktop for general purpose daily PC.
* PinePhone BraveHeart now v1.2b 3/32Gb daily driver with Mobian on encrypted SDcard, Arch/f2fs/Phosh on eMMC
* PinePhone v1.2a 2G/16Gb that needs USB board replaced