Checking out any specific kernel branch for development - Raspberry Pi Forums


hi ,
trying checkout rpi4.8.y branch :

git clone https://github.com/raspberrypi/linux
checkout origin/rpi-4.8.y -b tmp

says :
did intend checkout 'rpi-4.8.y' ca not resolved commit.

how can checkout specific version branch rpi 2 kernel sources.

on issuing git branch command :

* rpi-4.4.y
branch existing?

can can see rpi-4.8 branch .
https://github.com/raspberrypi/linux/tree/rpi-4.8.y

please assit .my intention flash custom kernel rpi2 branch

in advance !

what's git version?

code: select all

git checkout -b rpi-4.8.y --track origin/rpi-4.8.y
works fine here

view available branches (local , remote):

code: select all

git branch -a 
if still failing try

code: select all

git fetch origin
before checkout

make sure have enough space - current rpi kernel git 1.7gb on dev machine.


raspberrypi



Comments