raspberry specific kernel version

Shell
$ sudo rm /boot/.firmware_revision
$ yes | sudo rpi-update <commit-id>

# Get <commit-id> here:
# https://github.com/Hexxeh/rpi-firmware/commits/master
Source

Also in Shell: