Rock 5C not booting after kernel update

After installing Rock 5C on NVME disk using the B1 CLI Image everything works as expected.

After running:

sudo apt update
sudo apt upgrade

the kernel gets updated from 6.1.43-15 to 6.1.43-20. After doing so the device doesn’t boot anymore. Modifying /boot/extlinux/extlinux.conf to use the old kernel makes the device boot sucessfully again.

I tried the same thing with an SD card and after updating the kernel it still boots. Are there any additional steps to take when updating the kernel if booting from NVME disk?

Output after updating kernel on NVME disk:

I would really like to fix this issue because it is a pain to have a bricked device just by running a regular apt update / upgrade.

It seems like your Guid changed. Use blkid to identify new id and change it.

Swapping back kernel version makes the device boot again, and blkid still shows the UUID as

a59c0a30-df88-45a2-ad0e-3eb1711ff8a8

So the UUID seems to still be correct.

Ohh… you told it was NVME. Maybe its the same problem as this? https://github.com/radxa-build/rock-5b/issues/22

Do you have anything in SPI? Nvm. rock 5c doesn’t have one xD

Thanks for linking to the Github issue! It seems to contain some good pointers.

As for the SPI module, the 5C has it on the EMMC slot.

So it is actually booting and working from NVME until after the kernel update.

Hi Mathijs,

There is no need to create a GitHub issue. If you want to report to us directly, you can @radxa in the forum.

apt upgrade is not a supported update method, and a broken system is possible with it. The only supported method is via rsetup.

1 Like

I tested it again after flashing the B1 CLI Image on my NVME drive, and after updating with rsetup it gets in the same broken state.

@ChenJaly please see if you can reproduce this.

I can’t reproduce this, I suspect it might be caused by a mix of sdcard, emmc and pcie @Mathijs Could you please show the results of running lspci and lsblk in the terminal in your picture?

1 Like

Both commands don’t work there unfortunately.

I did get the output of /proc/partitions

In my setup I have:

  • No SD Card inserted
  • Radxa SPI flash module in Emmc slot
  • NVME drive connected with FPC cable

It is working fine from the NVME after the initial boot and after restarts.

If I boot from SD Card, mount the NVME disk and change the extlinux.conf to use the old kernel it boots again from NVME.

I reap this phenomenon, please wait for my investigation.

1 Like

I have found the key to the problem, please keep using the 15-rk2312 kernel version until we wait for a solution, thanks for the feedback and understanding!

Yes will do, thanks a lot!