raspberry pi os kernel version code example
Example: raspberry specific kernel version
$ sudo rm /boot/.firmware_revision
$ yes | sudo rpi-update <commit-id>
# Get <commit-id> here:
# https://github.com/Hexxeh/rpi-firmware/commits/master
$ sudo rm /boot/.firmware_revision
$ yes | sudo rpi-update <commit-id>
# Get <commit-id> here:
# https://github.com/Hexxeh/rpi-firmware/commits/master