|# Install and compile Caffe on NVIDIA Jetson TK1 Development Kit|
|sudo add-apt-repository universe|
|sudo apt-get update|
|sudo apt-get install libprotobuf-dev protobuf-compiler gfortran \|
|libboost-dev cmake libleveldb-dev libsnappy-dev \|
|libboost-thread-dev libboost-system-dev \|
|libatlas-base-dev libhdf5-serial-dev libgflags-dev \|
|libgoogle-glog-dev liblmdb-dev -y|
|sudo usermod -a -G video $USER|
|# Git clone Caffe|
|sudo apt-get install -y git|
|git clone https://github.com/BVLC/caffe.git|
|cd caffe && git checkout dev|
|cp Makefile.config.example Makefile.config|
|make -j 4 all|
|make -j 4 runtest|
|build/tools/caffe time --model=models/bvlc_alexnet/deploy.prototxt --gpu=0|
Ok finally was able to build the caffe , but not the dev branch, even dev branch does not exist now, They have merged it to master , and master can be only compiled using cuDNN 5+ which require CUDA 7, but currently for Jetson TK1 latest CUDA version is 6.5 and cuDNN last supported version for that is cudnn-6.5-linux-ARMv7-v2.So can't build the master branch in TK1.
I just wrote a GIST on this issue.
In short, download caffe rc2 from releases and compile using this build. You need CUDA 9 and yes it sucks that Kepler GPUs are supported just not this one ( Kepler "GK20a" GPU ) and the last Jetpack release had no updates for TK1.