It's also important to keep the bootloader updated as there're several fixes regarding to SD card.
rpi-eeprom/release-notes.md at master · raspberrypi/rpi-eeprom · GitHub
There's an example how to easily upgrade the bootloader to latest one:
RE: Is it possible already to set up a rpi4 with kernel 5.4?
Also make sure you don't use any suspicious / banned add-ons which seems to be the quite often reason of such issues.
See here: Official:Forum rules/Banned add-ons - Official Kodi Wiki
Edit - Arghh, sorry - I have overlooked it's RPi 2B so my post is a bit irrelevant regarding to bootloader update (which is valid for RPi 4B)... ![]()